diff options
author | Sean Christopherson <seanjc@google.com> | 2025-03-15 05:41:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-20 11:23:15 +0300 |
commit | e287a497b6382218d6944882266b17ad9648e1c5 (patch) | |
tree | 4557c2145c287f5427894aacfd0183a3de77b9e3 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 67fa180f4caba21aae622c527bc9de5bc9f0d154 (diff) | |
download | linux-e287a497b6382218d6944882266b17ad9648e1c5.tar.xz |
KVM: x86: Explicitly zero-initialize on-stack CPUID unions
commit bc52ae0a708cb6fa3926d11c88e3c55e1171b4a1 upstream.
Explicitly zero/empty-initialize the unions used for PMU related CPUID
entries, instead of manually zeroing all fields (hopefully), or in the
case of 0x80000022, relying on the compiler to clobber the uninitialized
bitfields.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Message-ID: <20250315024102.2361628-1-seanjc@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions