aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJeremy Kerr <[email protected]>2017-09-27 04:55:51 +0000
committerMichael Ellerman <[email protected]>2017-10-03 05:16:55 +0000
commit3b7af5c0fd9631762d1c4d7b4cee76f571dd3c2c (patch)
tree8ca48a102f0bef6b4e2e5f1ffa9eb326f76a19ef /scripts/gcc-plugins/cyc_complexity_plugin.c
parentcxl: Fix memory page not handled (diff)
downloadkernel-3b7af5c0fd9631762d1c4d7b4cee76f571dd3c2c.tar.gz
kernel-3b7af5c0fd9631762d1c4d7b4cee76f571dd3c2c.zip
powerpc: Fix action argument for cpufeatures-based TLB flush
Commit 41d0c2ecde19 ("powerpc/powernv: Fix local TLB flush for boot and MCE on POWER9") introduced calls to __flush_tlb_power[89] from the cpufeatures code, specifying the number of sets to flush. However, these functions take an action argument, not a number of sets. This means we hit the BUG() in __flush_tlb_{206,300} when using cpufeatures-style configuration. This change passes TLB_INVAL_SCOPE_GLOBAL instead. Fixes: 41d0c2ecde19 ("powerpc/powernv: Fix local TLB flush for boot and MCE on POWER9") Cc: [email protected] # v4.13+ Signed-off-by: Jeremy Kerr <[email protected]> Reviewed-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions