Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 22 Jul 2018 22:02:46 -0000 Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fhMRA-00079l-HJ for speck@linutronix.de; Mon, 23 Jul 2018 00:02:45 +0200 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1F885401DEA8 for ; Sun, 22 Jul 2018 22:02:37 +0000 (UTC) Received: from treble (ovpn-121-44.rdu2.redhat.com [10.10.121.44]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D6835111E3FE for ; Sun, 22 Jul 2018 22:02:36 +0000 (UTC) Date: Sun, 22 Jul 2018 17:02:35 -0500 From: Josh Poimboeuf Subject: [MODERATED] BUG: disabling SMT from BIOS Message-ID: <20180722220201.usehg7du4krlmmvf@treble> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: When SMT is disabled from BIOS, sysfs confusingly reports that SMT is enabled: $ cat /sys/devices/system/cpu/smt/control on And it allows turning it 'off' and 'on', though those don't seem to have any effect. (Though at least the 'active' file always shows '0'.) And the 'l1tf' file reports that SMT is vulnerable: $ cat /sys/devices/system/cpu/vulnerabilities/l1tf Mitigation: PTE Inversion; VMX: SMT vulnerable, L1D conditional cache flushes which is obviously incorrect. -- Josh