aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2017-10-15 18:43:41 +0000
committerMichael Ellerman <[email protected]>2017-11-22 01:24:46 +0000
commitf3f1dfd600ff82b18b7ea73d80eb27f476a6aa97 (patch)
tree5ece696e86f5b89c26a3517aebb8ff5a8bf7106d /net/lapb/lapb_iface.c
parentpowerpc/vas: Export chip_to_vas_id() (diff)
downloadkernel-f3f1dfd600ff82b18b7ea73d80eb27f476a6aa97.tar.gz
kernel-f3f1dfd600ff82b18b7ea73d80eb27f476a6aa97.zip
powerpc/perf/imc: Use cpu_to_node() not topology_physical_package_id()
init_imc_pmu() uses topology_physical_package_id() to detect the node id of the processor it is on to get local memory, but that's wrong, and can lead to crashes. Fix it to use cpu_to_node(). Fixes: 885dcd709ba9 ("powerpc/perf: Add nest IMC PMU support") Cc: [email protected] # v4.14+ Reported-By: Rob Lippert <[email protected]> Tested-By: Madhavan Srinivasan <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions