Message ID | 15279465405393@kroah.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | Patch "powerpc/powernv: Support firmware disable of RFI flush" has been added to the 4.9-stable tree | expand |
--- a/arch/powerpc/platforms/powernv/setup.c +++ b/arch/powerpc/platforms/powernv/setup.c @@ -79,6 +79,10 @@ static void pnv_setup_rfi_flush(void) if (np && of_property_read_bool(np, "disabled")) enable--; + np = of_get_child_by_name(fw_features, "speculation-policy-favor-security"); + if (np && of_property_read_bool(np, "disabled")) + enable = 0; + of_node_put(np); of_node_put(fw_features); }