aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <[email protected]>2020-04-07 06:13:09 +0000
committerPaolo Bonzini <[email protected]>2020-05-04 16:16:51 +0000
commit637543a8d61c6afe4e9be64bfb43c78701a83375 (patch)
tree452ea29f0768a9b6d12589f4f70011d7e675895d /tools/perf/scripts/python
parentMerge tag 'kvmarm-fixes-5.7-2' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-637543a8d61c6afe4e9be64bfb43c78701a83375.tar.gz
kernel-637543a8d61c6afe4e9be64bfb43c78701a83375.zip
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 <[email protected]> Signed-off-by: Suravee Suthikulpanit <[email protected]> Message-Id: <[email protected]> Reviewed-by: Maxim Levitsky <[email protected]> Tested-by: Maxim Levitsky <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions