diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2020-04-07 09:13:09 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-04 19:16:51 +0300 |
commit | 637543a8d61c6afe4e9be64bfb43c78701a83375 (patch) | |
tree | 452ea29f0768a9b6d12589f4f70011d7e675895d /arch/x86/crypto/crc32c-pcl-intel-asm_64.S | |
parent | 7134fa0709d5939bafacffe4c0e7ab02356d0903 (diff) | |
download | linux-637543a8d61c6afe4e9be64bfb43c78701a83375.tar.xz |
KVM: x86: Fixes posted interrupt check for IRQs delivery modes
Current logic incorrectly uses the enum ioapic_irq_destination_types
to check the posted interrupt destination types. However, the value was
set using APIC_DM_XXX macros, which are left-shifted by 8 bits.
Fixes by using the APIC_DM_FIXED and APIC_DM_LOWEST instead.
Fixes: (fdcf75621375 'KVM: x86: Disable posted interrupts for non-standard IRQs delivery modes')
Cc: Alexander Graf <graf@amazon.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Message-Id: <1586239989-58305-1-git-send-email-suravee.suthikulpanit@amd.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Tested-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/crypto/crc32c-pcl-intel-asm_64.S')
0 files changed, 0 insertions, 0 deletions