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

2020-08-16 Thread Borislav Petkov
+ Masami. On Thu, Jul 09, 2020 at 12:51:34PM +0200, Thomas Gleixner wrote: > Abhishek Bhardwaj writes: > > This change adds a new kernel configuration that sets the l1d cache > > flush setting at compile time rather than at run time. > > > > The reasons for this change are as follows - > > > > -

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

2020-07-17 Thread Doug Anderson
Hi, On Fri, Jul 17, 2020 at 9:22 AM Thomas Gleixner wrote: > > Doug, > > Doug Anderson writes: > > On Thu, Jul 9, 2020 at 3:51 AM Thomas Gleixner wrote: > >> TBH, I don't see why this is a good idea. > >> > >> 1) I'm not following your argumentation that the command line option is > >> a p

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

2020-07-17 Thread Thomas Gleixner
Doug, Doug Anderson writes: > On Thu, Jul 9, 2020 at 3:51 AM Thomas Gleixner wrote: >> TBH, I don't see why this is a good idea. >> >> 1) I'm not following your argumentation that the command line option is >> a poor Kconfig replacement. The L1TF mode is a boot time (module >> load time

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

2020-07-09 Thread Doug Anderson
Hi, On Thu, Jul 9, 2020 at 4:05 PM Abhishek Bhardwaj wrote: > > > > On Thu, Jul 9, 2020 at 3:43 PM mark gross wrote: >> >> On Thu, Jul 09, 2020 at 12:42:57PM -0700, Doug Anderson wrote: >> > Hi, >> > >> > On Thu, Jul 9, 2020 at 3:51 AM Thomas Gleixner wrote: >> > > >> > > Abhishek Bhardwaj wri

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

2020-07-09 Thread mark gross
On Thu, Jul 09, 2020 at 12:42:57PM -0700, Doug Anderson wrote: > Hi, > > On Thu, Jul 9, 2020 at 3:51 AM Thomas Gleixner wrote: > > > > Abhishek Bhardwaj writes: > > > This change adds a new kernel configuration that sets the l1d cache > > > flush setting at compile time rather than at run time.

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

2020-07-09 Thread Doug Anderson
Hi, On Thu, Jul 9, 2020 at 3:51 AM Thomas Gleixner wrote: > > Abhishek Bhardwaj writes: > > This change adds a new kernel configuration that sets the l1d cache > > flush setting at compile time rather than at run time. > > > > The reasons for this change are as follows - > > > > - Kernel comman

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

2020-07-09 Thread Thomas Gleixner
Abhishek Bhardwaj writes: > This change adds a new kernel configuration that sets the l1d cache > flush setting at compile time rather than at run time. > > The reasons for this change are as follows - > > - Kernel command line arguments are getting unwieldy. These parameters > are not a scalabl

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

2020-07-08 Thread Abhishek Bhardwaj
This change adds a new kernel configuration that sets the l1d cache flush setting at compile time rather than at run time. The reasons for this change are as follows - - Kernel command line arguments are getting unwieldy. These parameters are not a scalable way to set the kernel config. They're