Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

From: Waiman Long
Date: Thu Jul 02 2020 - 20:18:07 EST


On 7/2/20 6:12 PM, Abhishek Bhardwaj wrote:
This change adds a new kernel configuration that sets the l1d cache
flush setting at compile time rather than at run time.

Signed-off-by: Abhishek Bhardwaj <abhishekbh@xxxxxxxxxx>

Can you explain in the commit log why you need a compile time option whereas the desired mitigation can also be set via a boot command line option?

The code looks OK, but the question I have is why.

Cheers,
Longman