Re: [PATCH v9a 10/14] x86/cpu/keylocker: Check Gather Data Sampling mitigation

From: Chang S. Bae
Date: Mon Apr 22 2024 - 03:50:01 EST


On 4/18/2024 5:01 PM, Pawan Gupta wrote:

Repurposing gds_ucode_mitigated() to check for the locked state is
adding a bit of a churn. We can introduce gds_mitigation_locked()
instead.

I thought this option but I was less convinced about adding a new function for every new but slightly different check.

Thanks,
Chang