projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb44f1
)
x86/xen/apic: WARN with details.
author
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Tue, 3 Mar 2015 21:12:12 +0000
(16:12 -0500)
committer
David Vrabel
<david.vrabel@citrix.com>
Mon, 16 Mar 2015 14:49:14 +0000
(14:49 +0000)
We should not be writting to the APIC registers under
Xen PV. But if we do instead of just giving an blanket
warning - include some details to help troubleshoot.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/apic.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/apic.c
b/arch/x86/xen/apic.c
index 5e0ecaf4c336a08cddfe31d382fd826447b3db67..70e060ad879a129effcbc1043222162f5429b7e6 100644
(file)
--- a/
arch/x86/xen/apic.c
+++ b/
arch/x86/xen/apic.c
@@
-73,7
+73,7
@@
static u32 xen_apic_read(u32 reg)
static void xen_apic_write(u32 reg, u32 val)
{
/* Warn to see if there's any stray references */
- WARN
_ON(1
);
+ WARN
(1,"register: %x, value: %x\n", reg, val
);
}
static u64 xen_apic_icr_read(void)