]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: rename pnv|pseries_setup_rfi_flush to _setup_security_mitigations
authorDaniel Axtens <dja@axtens.net>
Tue, 17 Nov 2020 05:59:16 +0000 (16:59 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Nov 2020 12:47:25 +0000 (23:47 +1100)
commit83142691b3536d48f68316620bf6442490045f53
tree180b2b205e3ba6b0a91eec963761bfb77b0984ab
parent9b2d861512a7c9161e3defdbe538c8e02df39b27
powerpc/64s: rename pnv|pseries_setup_rfi_flush to _setup_security_mitigations

pseries|pnv_setup_rfi_flush already does the count cache flush setup, and
we just added entry and uaccess flushes. So the name is not very accurate
any more. In both platforms we then also immediately setup the STF flush.

Rename them to _setup_security_mitigations and fold the STF flush in.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/setup.c
arch/powerpc/platforms/pseries/mobility.c
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/setup.c