diff options
| author | Nathan Lynch <[email protected]> | 2019-06-07 00:04:07 -0500 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-06-14 15:36:33 +1000 |
| commit | 0aa82c482ab2ece530a6f44897b63b274bb43c8e (patch) | |
| tree | ab2a3c9ec73a676ff0d3a2bbdbff38bc0727ea68 /tools/perf/scripts/python/bin | |
| parent | 934bda59f286d0221f1a3ebab7f5156a996cc37d (diff) | |
powerpc/pseries: Fix oops in hotplug memory notifier
During post-migration device tree updates, we can oops in
pseries_update_drconf_memory() if the source device tree has an
ibm,dynamic-memory-v2 property and the destination has a
ibm,dynamic_memory (v1) property. The notifier processes an "update"
for the ibm,dynamic-memory property but it's really an add in this
scenario. So make sure the old property object is there before
dereferencing it.
Fixes: 2b31e3aec1db ("powerpc/drmem: Add support for ibm, dynamic-memory-v2 property")
Cc: [email protected] # v4.16+
Signed-off-by: Nathan Lynch <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions