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)
commitda631f7fd623b6c180c8d93a93040d1e0d61291f
tree180b2b205e3ba6b0a91eec963761bfb77b0984ab
parent0d239f3b03efc78fb5b290aff6c747fecd3b98cb
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