acrn-hypervisor/hypervisor/arch/x86
Junjie Mao 211fcd4f40 HV: ioapic: number of interrupt pins should be max_rte + 1
The 23:16 bits in the IOAPIC version register is the highest entry in the I/O
redirection table, which is 1 smaller than the number of interrupt input
pins. But currently we use these bits directly as the number of pins.

This patch abstracts the pin count calculation code and adds 1 to the max rte
entry number to get the right pin count.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2018-07-09 09:26:41 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
guest hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
assign.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
cpu_primary.S init: separate init function based on different stack 2018-06-25 17:29:11 +08:00
cpu_state_tbl.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
cpu.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
cpuid.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
ept.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
gdt.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
idt.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
ioapic.c HV: ioapic: number of interrupt pins should be max_rte + 1 2018-07-09 09:26:41 +08:00
irq.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
Kconfig HV: correct loglevel definitions and default values 2018-06-20 13:23:46 +08:00
lapic.c HV:treewide:Update cpu_id type as uint_16 2018-07-04 16:39:26 +08:00
mmu.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
mtrr.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
notify.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
pm.c HV: cleanup coding style violation 2018-07-05 10:00:14 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
timer.c HV:misc:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
trampoline.S HV: rename functions in cpu.c 2018-07-05 12:45:44 +08:00
trusty.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
virq.c HV: Make all trace event prefix consist with TRACE 2018-07-02 10:46:41 +08:00
vmexit.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
vmx_asm.S HV:CPU:Constant values replace with CPU MACRO 2018-07-09 09:24:56 +08:00
vmx.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
vtd.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
wakeup.S HV:CPU:Constant values replace with CPU MACRO 2018-07-09 09:24:56 +08:00