[MODERATED] Re: [PATCH v7 03/10] TAAv7 3

Pawan Gupta <[email protected]>
Newsgroups org.kernel.lore.historical-speck
Message-ID <[email protected]>
On Tue, Oct 22, 2019 at 04:38:18PM +0200, speck for Borislav Petkov wrote:
> On Mon, Oct 21, 2019 at 01:25:02PM -0700, speck for Pawan Gupta wrote:
> > diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
> > index 897c8302d982..885d4ac2111a 100644
> > --- a/arch/x86/kernel/cpu/common.c
> > +++ b/arch/x86/kernel/cpu/common.c
> > @@ -1561,6 +1561,8 @@ void __init identify_boot_cpu(void)
> >  #endif
> >  	cpu_detect_tlb(&boot_cpu_data);
> >  	setup_cr_pinning();
> > +
> > +	tsx_init();
> >  }
> >
> 
> Why is this called here instead of in check_bugs()?

As this as per the feedback, because TSX is actually a feature.

Thanks,
Pawan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.