aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic_64.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2008-07-10 14:16:49 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-12 02:44:59 -0400
commit1b374e4d6f8b3eb2fcd034fcc24ea8ba1dfde7aa (patch)
treefaf5aa00e344e473957206bc82ffbb746e438d0b /arch/x86/kernel/io_apic_64.c
parent2d7a66d02e11af9ab8e16c76d22767e622b4e3d7 (diff)
x64, x2apic/intr-remap: basic apic ops support
Introduce basic apic operations which handle the apic programming. This will be used later to introduce another specific operations for x2apic. For the perfomance critial accesses like IPI's, EOI etc, we use the native operations as they are already referenced by different indirections like genapic, irq_chip etc. 64bit Paravirt ops can also define their apic operations accordingly. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: akpm@linux-foundation.org Cc: arjan@linux.intel.com Cc: andi@firstfloor.org Cc: ebiederm@xmission.com Cc: jbarnes@virtuousgeek.org Cc: steiner@sgi.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic_64.c')
-rw-r--r--arch/x86/kernel/io_apic_64.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c
index 84dd63c13d63..b62d42ef9283 100644
--- a/arch/x86/kernel/io_apic_64.c
+++ b/arch/x86/kernel/io_apic_64.c
@@ -1157,6 +1157,7 @@ static __apicdebuginit void print_APIC_bitfield (int base)
1157void __apicdebuginit print_local_APIC(void * dummy) 1157void __apicdebuginit print_local_APIC(void * dummy)
1158{ 1158{
1159 unsigned int v, ver, maxlvt; 1159 unsigned int v, ver, maxlvt;
1160 unsigned long icr;
1160 1161
1161 if (apic_verbosity == APIC_QUIET) 1162 if (apic_verbosity == APIC_QUIET)
1162 return; 1163 return;
@@ -1200,10 +1201,9 @@ void __apicdebuginit print_local_APIC(void * dummy)
1200 v = apic_read(APIC_ESR); 1201 v = apic_read(APIC_ESR);
1201 printk(KERN_DEBUG "... APIC ESR: %08x\n", v); 1202 printk(KERN_DEBUG "... APIC ESR: %08x\n", v);
1202 1203
1203 v = apic_read(APIC_ICR); 1204 icr = apic_icr_read();
1204 printk(KERN_DEBUG "... APIC ICR: %08x\n", v); 1205 printk(KERN_DEBUG "... APIC ICR: %08x\n", icr);
1205 v = apic_read(APIC_ICR2); 1206 printk(KERN_DEBUG "... APIC ICR2: %08x\n", icr >> 32);
1206 printk(KERN_DEBUG "... APIC ICR2: %08x\n", v);
1207 1207
1208 v = apic_read(APIC_LVTT); 1208 v = apic_read(APIC_LVTT);
1209 printk(KERN_DEBUG "... APIC LVTT: %08x\n", v); 1209 printk(KERN_DEBUG "... APIC LVTT: %08x\n", v);