[MODERATED] Re: [PATCH 4/9] TAA 4
Pawan Gupta <[email protected]>
| Newsgroups | org.kernel.lore.historical-speck |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 23, 2019 at 11:30:45AM +0200, speck for Pawan Gupta wrote:
> void cpu_bugs_smt_update(void)
> {
> @@ -819,6 +916,19 @@ void cpu_bugs_smt_update(void)
> break;
> }
>
> + switch (taa_mitigation) {
> + case TAA_MITIGATION_VERW:
> + case TAA_MITIGATION_UCODE_NEEDED:
> + if (sched_smt_active())
> + pr_warn_once(TAA_MSG_SMT);
> + /* TSX is enabled, apply MDS idle buffer clearing. */
> + update_mds_branch_idle();
With partial clearing removed, this call can go away.
Thanks,
Pawan