[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 3/5] x86: Fix APIC MSR constant names
> From: Andrew Cooper [mailto:andrew.cooper3@xxxxxxxxxx] > Sent: Thursday, March 8, 2018 2:59 AM > > We currently have MSR_IA32_APICBASE and MSR_IA32_APICBASE_MSR > which are > synonymous from a naming point of view, but refer to very different things. > > Rename the x2APIC MSRs to MSR_X2APIC_*, which are shorter constants > and > visually separate the register function from the generic APIC name. For the > case ranges, introduce MSR_X2APIC_LAST, rather than relying on the > knowledge > that there are 0x3ff MSRs architecturally reserved for x2APIC functionality. > > For functionality relating to the APIC_BASE MSR, use MSR_APIC_BASE for > the MSR > itself, but drop the MSR prefix from the other constants to shorten the > names. > In all cases, the fact that we are dealing with the APIC_BASE MSR is obvious > from the context. > > No functional change (the combined binary is identical). > > Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> > --- > CC: Jan Beulich <JBeulich@xxxxxxxx> > CC: Roger Pau Monné <roger.pau@xxxxxxxxxx> > CC: Wei Liu <wei.liu2@xxxxxxxxxx> > CC: Jun Nakajima <jun.nakajima@xxxxxxxxx> > CC: Kevin Tian <kevin.tian@xxxxxxxxx> > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |