From 80a91987f4d93d44e745eec96b0e639857b69965 Mon Sep 17 00:00:00 2001 From: Sainath Grandhi Date: Wed, 24 Feb 2021 11:24:38 -0800 Subject: [PATCH] hv: Fix incorrect struct definition for ir_bits Fixing an incorrect struct definition for ir_bits in ioapic_rte. Since bits after the delivery status in the lower 32 bits are not touched by code, this has never showed up as an issue. And the higher 32 bits in the RTE are aligned by the compiler. Tracked-On: #5773 Signed-off-by: Sainath Grandhi --- hypervisor/include/arch/x86/apicreg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/hypervisor/include/arch/x86/apicreg.h b/hypervisor/include/arch/x86/apicreg.h index b00b487c8..74cd0e071 100644 --- a/hypervisor/include/arch/x86/apicreg.h +++ b/hypervisor/include/arch/x86/apicreg.h @@ -213,6 +213,7 @@ union ioapic_rte { uint32_t vector:8; uint32_t constant:3; uint32_t intr_index_high:1; + uint32_t delivery_status:1; uint32_t intr_polarity:1; uint32_t remote_irr:1; uint32_t trigger_mode:1;