]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/cacheinfo: Warn if cache object chain becomes unordered
authorNathan Lynch <nathanl@linux.ibm.com>
Thu, 27 Jun 2019 05:15:37 +0000 (00:15 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 30 Jul 2020 12:53:48 +0000 (22:53 +1000)
commitd300e8e5a93d65a79be7d16a840286ef252ec300
treeab59f468333813fb0173e69c0744dccd42d4c477
parent037fdbcc04dc359fb9d884f5490248c3235916e6
powerpc/cacheinfo: Warn if cache object chain becomes unordered

This can catch cases where the device tree has gotten mishandled into
an inconsistent state at runtime, e.g. the cache nodes for both the
source and the destination are present after a 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/20190627051537.7298-5-nathanl@linux.ibm.com
arch/powerpc/kernel/cacheinfo.c