]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/hibernation: remove redundant cacheinfo update
authorNathan Lynch <nathanl@linux.ibm.com>
Mon, 7 Dec 2020 21:51:56 +0000 (15:51 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Dec 2020 10:41:02 +0000 (21:41 +1100)
commit3517668ad46ff6394ceb6b73b146402956ee7351
tree86529ec3ff2c0da53664d2a9b7ff454e7ac10893
parentfa22b347571e00268d7f10c64cb53f3c2b1c9273
powerpc/pseries/hibernation: remove redundant cacheinfo update

Partitions with cache nodes in the device tree can encounter the
following warning on resume:

CPU 0 already accounted in PowerPC,POWER9@0(Data)
WARNING: CPU: 0 PID: 3177 at arch/powerpc/kernel/cacheinfo.c:197 cacheinfo_cpu_online+0x640/0x820

These calls to cacheinfo_cpu_offline/online have been redundant since
commit 84865c1a1a81 ("powerpc/pseries/mobility: rebuild cacheinfo
hierarchy post-migration").

Fixes: 84865c1a1a81 ("powerpc/pseries/mobility: rebuild cacheinfo hierarchy post-migration")
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201207215200.1785968-25-nathanl@linux.ibm.com
arch/powerpc/platforms/pseries/suspend.c