aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2022-05-09 09:17:16 -0500
committerJassi Brar <[email protected]>2022-05-21 11:41:30 -0500
commit369e4ef87a8f5da7c348ec2c61ec5cd726e8337a (patch)
treef4341a6bae07dd43d05753c22867d3dacc84fdf8 /tools/perf/scripts
parent9accf46b7fb893a46eff3a57407b02ac227a7cd7 (diff)
mailbox: pcc: Fix an invalid-load caught by the address sanitizer
`pcc_mailbox_probe` doesn't initialize all memory that has been allocated before the first time that one of it's members `txdone_irq` may be accessed. This leads to a an invalid load any time that this member is accessed: [ 2.429769] UBSAN: invalid-load in drivers/mailbox/pcc.c:684:22 [ 2.430324] UBSAN: invalid-load in drivers/mailbox/mailbox.c:486:12 [ 4.276782] UBSAN: invalid-load in drivers/acpi/cppc_acpi.c:314:45 Link: https://bugzilla.kernel.org/show_bug.cgi?id=215587 Fixes: ce028702ddbc ("mailbox: pcc: Move bulk of PCCT parsing into pcc_mbox_probe") Signed-off-by: Mario Limonciello <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions