]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
x86: Allow access to Focus Processor Checking bit in APIC SVR
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 1 May 2015 13:04:27 +0000 (15:04 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 6 May 2015 05:33:23 +0000 (07:33 +0200)
The Intel manual says: "In Pentium 4 and Intel Xeon processors, this bit
is reserved and should be cleared to 0." It apparently refers to the
first Xeon series here, not newer ones that support IA32e. Linux sets
this bit on x86-64 unconditionally for more than a decade. There are no
availability restrictions mentioned for AMD at all.

So let's release this bit to the cells because it cannot cause any harm
to the system or the hypervisor.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/apic.c

index 9f88fe63068fe749826ee981dcfdeef829b5e9e7..8a8f8ed85cc2e67f3fa77e85e3412218b9aaff4c 100644 (file)
@@ -33,7 +33,7 @@ static u32 apic_reserved_bits[] = {
        [0x09 ... 0x0a] = -1,
        [0x0b]          = 0,            /* EOI */
        [0x0c ... 0x0e] = -1,
-       [0x0f]          = 0xfffffe00,   /* SVR */
+       [0x0f]          = 0xfffffc00,   /* SVR */
        [0x10 ... 0x2e] = -1,
        [0x2f]          = 0xfffef800,   /* CMCI */
        [0x30]          = 0xfff33000,   /* ICR (0..31) */