diff options
| author | Steve Rutherford <[email protected]> | 2020-04-16 19:11:52 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-04-17 15:04:01 +0000 |
| commit | 7289fdb5dcdbc5155b5531529c44105868a762f2 (patch) | |
| tree | 3c8061ee42878e133b11a298ed7e53afc8a2c53c /tools/perf/scripts/python/check-perf-trace.py | |
| parent | KVM: SVM: Fix __svm_vcpu_run declaration. (diff) | |
| download | kernel-7289fdb5dcdbc5155b5531529c44105868a762f2.tar.gz kernel-7289fdb5dcdbc5155b5531529c44105868a762f2.zip | |
KVM: Remove CREATE_IRQCHIP/SET_PIT2 race
Fixes a NULL pointer dereference, caused by the PIT firing an interrupt
before the interrupt table has been initialized.
SET_PIT2 can race with the creation of the IRQchip. In particular,
if SET_PIT2 is called with a low PIT timer period (after the creation of
the IOAPIC, but before the instantiation of the irq routes), the PIT can
fire an interrupt at an uninitialized table.
Signed-off-by: Steve Rutherford <[email protected]>
Signed-off-by: Jon Cargille <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
