[MODERATED] Re: The Annoying Affair - Bulletin #1

Pawan Gupta <[email protected]>
Newsgroups org.kernel.lore.historical-speck
Message-ID <[email protected]>
On Tue, Oct 29, 2019 at 09:14:27AM -0700, speck for mark gross wrote:
> On Mon, Oct 28, 2019 at 09:31:40AM +0100, speck for Thomas Gleixner wrote:
> > Folks,
> > 
> > I've merged the V2 of Boris' cleaned up variant of the TAA series. Thanks
> > Boris for handling that!
> > 
> > The master branch is based on v5.4-rc5 and the commits are considered
> > stable from now on. Any further tweaks need to go on top.
> > 
> > The stable branches linux-5.3.y, linux-4.19.y and linix-4.14.y have the
> > backports. These need some careful inspection and testing.
> Neelima, our testing lead, is getting her spec-list access enabled so I'm
> sending this quick note on the testing so far:
> 5.3.y backport checked out.
> 4.19.y backport is showing some issues with disabling TSX.  We are
> investigating and will report out more detail / patch update ASAP.

4.14 and 4.19 needs this change as well, 5.3 is fine.

---
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 97f79547782e..a05637f6d95b 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1497,6 +1497,7 @@ void __init identify_boot_cpu(void)
        enable_sep_cpu();
 #endif
        cpu_detect_tlb(&boot_cpu_data);
+       tsx_init();
 }
 
 void identify_secondary_cpu(struct cpuinfo_x86 *c)
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.