Daniel Axtens <d...@axtens.net> writes: > Michael Ellerman <m...@ellerman.id.au> writes: >> diff --git a/arch/powerpc/include/asm/security_features.h >> b/arch/powerpc/include/asm/security_features.h >> new file mode 100644 >> index 000000000000..3b690de8b0e8 >> --- /dev/null >> +++ b/arch/powerpc/include/asm/security_features.h >> @@ -0,0 +1,65 @@ ... >> +// Features indicating support for Spectre/Meltdown mitigations >> + >> +// The L1-D cache can be flushed with ori r30,r30,0 >> +#define SEC_FTR_L1D_FLUSH_ORI30 0x0000000000000001ull >> + >> +// The L1-D cache can be flushed with mtspr 882,r0 (aka SPRN_TRIG2ull > This looks like some sort of search-replace gone wrong? ------------^^^^
Sure is! Oops. Thanks for reviewing. cheers