]> 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)
commit6c2391b16e095f1ef26ccb2fcbbb811388d10371
treeab59f468333813fb0173e69c0744dccd42d4c477
parent67612a0f49ee7f1f90deb3451c8168443ea2a53c
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