[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 19/45] ARM: new VGIC: Add IRQ sync/flush framework
Hi, On 19/03/18 14:17, Julien Grall wrote: > Hi, > > On 03/15/2018 08:30 PM, Andre Przywara wrote: >> Implement the framework for syncing IRQs between our emulation and the >> list registers, which represent the guest's view of IRQs. >> This is done in vgic_sync_from_lrs() and vgic_sync_to_lrs(), which >> get called on guest entry and exit, respectively. >> The code talking to the actual GICv2/v3 hardware is added in the >> following patches. >> >> This is based on Linux commit 0919e84c0fc1, written by Marc Zyngier. >> >> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxxxxx> >> --- >> Changelog v1 ... v2: >> - make functions void > > Hmmm, the function were already void in the previous version. However, > you switch from static inline to static. Did I miss anything? Ah right, I just saw the diff hitting on the prototype line ;-) For the records: static inline in a .c file is a red herring: https://www.kernel.org/doc/local/inline.html summary: Use static inline in header files, just static in .c files. inline is a hint, and the compiler knows best what to do. Really. Will adjust the change log. Cheers, Andre. > > [...] > >> +static void vgic_set_underflow(struct vcpu *vcpu) >> +{ >> + ASSERT(vcpu == current); >> + >> + gic_hw_ops->update_hcr_status(GICH_HCR_UIE, 1); > > The second is a boolean, so please use true. > > Cheers, > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |