From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 345E0C2BA2B for ; Thu, 16 Apr 2020 20:57:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 18FCF206D5 for ; Thu, 16 Apr 2020 20:57:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729042AbgDPU54 (ORCPT ); Thu, 16 Apr 2020 16:57:56 -0400 Received: from mga03.intel.com ([134.134.136.65]:8859 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728315AbgDPU5z (ORCPT ); Thu, 16 Apr 2020 16:57:55 -0400 IronPort-SDR: F+Z2xSN60pUi54Wqzi+G3UreIE3Jof/2ifk5FwKC/EQ+s1T7VNh5o0L762RMDyA0RHfAMO7Wux Oi9s/MEXA0VA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 13:57:55 -0700 IronPort-SDR: KEnMPUa8lLPqN/XcA4I6zbWBmIj2gzdK42iYgWFpbb1YDwxynCERlGv1Xf/WDh9SLwwzR5IZRb 2JyZFBjFdD3w== X-IronPort-AV: E=Sophos;i="5.72,392,1580803200"; d="scan'208";a="427982519" Received: from agluck-desk2.sc.intel.com ([10.3.52.68]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 13:57:54 -0700 From: Tony Luck To: Thomas Gleixner Cc: Tony Luck , Ingo Molnar , Fenghua Yu , Borislav Petkov , H Peter Anvin , Ashok Raj , Ravi V Shankar , Sean Christopherson , Andy Lutomirski , linux-kernel@vger.kernel.org, x86@kernel.org Subject: [PATCH 0/3] Split lock enumeration cleanup and fixes Date: Thu, 16 Apr 2020 13:57:51 -0700 Message-Id: <20200416205754.21177-1-tony.luck@intel.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Need to revisit the sequence of operations when testing for the split lock detect feature. It is model specific, so we must check the model number before looking at CORE_CAPABILITIES. I marked it all for stable ... some tweaking would be needed if the X86_MATCH_INTEL stuff from v5.7 doesn't get backported. Tony Luck (3): x86/split_lock: Update to use X86_MATCH_INTEL_FAM6_MODEL() x86/split_lock: Bits in IA32_CORE_CAPABILITIES are not architectural x86/split_lock: Add Tremont family CPU models arch/x86/kernel/cpu/intel.c | 41 +++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 18 deletions(-) -- 2.21.1