Return-Path: Received: from mail.linutronix.de (193.142.43.55:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 22 Oct 2019 14:38:28 -0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iMvIp-0008NL-6A for speck@linutronix.de; Tue, 22 Oct 2019 16:38:27 +0200 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B4ECDB0BA for ; Tue, 22 Oct 2019 14:38:19 +0000 (UTC) Date: Tue, 22 Oct 2019 16:38:18 +0200 From: Borislav Petkov Subject: [MODERATED] Re: [PATCH v7 03/10] TAAv7 3 Message-ID: <20191022143818.GE31458@zn.tnic> References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: speck@linutronix.de List-ID: 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()? --=20 Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Felix Imend=C3=B6rffer, HRB 36809, = AG N=C3=BCrnberg --=20