diff options
| author | Jue Wang <juew@google.com> | 2022-06-10 10:11:31 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-24 04:52:02 -0400 |
| commit | 087acc4e1847993a66f43128e40be0ab2244c98f (patch) | |
| tree | 2659f8f099b1b63bf80914f64617d0284cb485c5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | KVM: x86: Add Corrected Machine Check Interrupt (CMCI) emulation to lapic. (diff) | |
| download | linux-087acc4e1847993a66f43128e40be0ab2244c98f.tar.gz linux-087acc4e1847993a66f43128e40be0ab2244c98f.zip | |
KVM: x86: Use kcalloc to allocate the mce_banks array.
This patch updates the allocation of mce_banks with the array allocation
API (kcalloc) as a precedent for the later mci_ctl2_banks to implement
per-bank control of Corrected Machine Check Interrupt (CMCI).
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Jue Wang <juew@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220610171134.772566-6-juew@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
