diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-06-12 00:35:51 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-06-20 23:52:48 +0300 |
| commit | cd9140ad8312234ec296d566a9d9d0b2b437ee7c (patch) | |
| tree | 330784289071bdf7925de7ff4acfccf16a4c9f65 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2c31aa747d789dc895a62efeea13452519184487 (diff) | |
| download | linux-cd9140ad8312234ec296d566a9d9d0b2b437ee7c.tar.xz | |
KVM: x86: Explicitly check for in-kernel PIC when getting ExtINT
Explicitly check for an in-kernel PIC when checking for a pending ExtINT
in the PIC. Effectively swapping the split vs. full irqchip logic will
allow guarding the in-kernel I/O APIC (and PIC) emulation with a Kconfig,
and also makes it more obvious that kvm_pic_read_irq() won't result in a
NULL pointer dereference.
Opportunistically add WARNs in the fallthrough path, mostly to document
that the userspace ExtINT logic is only relevant to split IRQ chips.
Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250611213557.294358-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
