]> 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)
commitc1f9c82938ee557b4a8cb296b1b4109013e26f1b
tree180b2b205e3ba6b0a91eec963761bfb77b0984ab
parentd0438bb327d5521507c991ffe08939b08826fce4
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