hv: vioapic: remove EOI register support

The IOAPIC specification defined EOI register for 0x20 version. The
original vioapic code implemented this register but the version was
still export as 0x11.

Tried to set 0x20, the Linux kernel has't access this EOI register,
still rely on lapic to send eoi.

From Linux ioapic driver comments, it says that only send EOI via EOI
register when met IOAPIC hardware bug.

This patch removes all 0x20 IOAPIC code to reduce the code size.

Signed-off-by: Yu Wang <yu1.wang@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yu Wang
2018-08-02 09:58:24 +00:00
committed by lijinxia
parent f96f048f71
commit 1e1886794e
2 changed files with 3 additions and 43 deletions

View File

@@ -451,7 +451,6 @@ union ioapic_rte {
/* window register offset */
#define IOAPIC_REGSEL 0x00U
#define IOAPIC_WINDOW 0x10U
#define IOAPIC_EOIR 0x40U
/* indexes into IO APIC */
#define IOAPIC_ID 0x00U