|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC][PATCH] xen/apic: refactor error_interrupt
On 2015/5/4 16:07, Jan Beulich wrote: On 04.05.15 at 04:03, <tiejun.chen@xxxxxxxxx> wrote:--- a/xen/arch/x86/apic.c +++ b/xen/arch/x86/apic.c @@ -1319,28 +1319,37 @@ out: ; * This interrupt should never happen with our APIC/SMP architecture */ +static const char *apic_fault_reasons[] =If at all, then this should be const. But... I just think APIC shouldn't record these multiple errors at the same time because these kinds of errors seem be exclusive... But I don't find this is described in SDM so I think you're right. Fortunately, looks Andrew guides me a approach to cover this point, so just let me go there. Thanks Tiejun These errors should be rare enough to warrant manually looking up the individual bits' meanings. Jan- /* Here is what the APIC error bits mean: - 0: Send CS error - 1: Receive CS error - 2: Send accept error - 3: Receive accept error - 4: Reserved - 5: Send illegal vector - 6: Received illegal vector - 7: Illegal register address - */ - printk (KERN_DEBUG "APIC error on CPU%d: %02lx(%02lx)\n", - smp_processor_id(), v , v1); + printk (KERN_DEBUG "APIC error on CPU%d: %02lx(%02lx):%s.\n", + smp_processor_id(), v , v1, reason); } /* _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |