Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp566753yba; Wed, 3 Apr 2019 14:35:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIRRetegDNirqGwGldNako8nPs7up0fUX2UDBacNcQMcZn/QRiLHoilQwCXxCLSDWFADNw X-Received: by 2002:aa7:8096:: with SMTP id v22mr1887617pff.94.1554327344486; Wed, 03 Apr 2019 14:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554327344; cv=none; d=google.com; s=arc-20160816; b=cbp78nyx4s/EqPB9TTTJr/MOyPuaTqwvH/P71G5buaBKt3o9Upoyi6tJ/0SXZQuyxr 4PxWk8jfj1nvCS9eIqudIVnEeehjisLJ5KcGEwkcRt30PqPBkz8ECS2I2IpbFdDXj0Lg eNxJvD/LnQ2uwY3YUYepLoOrmm/AkHDi6tiqOAGP79Xo+MsyQsri8FMP3TxqOBJ7mH3u cYIZWSP7B8rLOxbgkRHrKWee28ixGk0G/cAbvtSwq5zJJ361rUrX87VC+HAR0nq2tM9u +/VaLs4h98UHf/14+Zi2uF/ssVa8HJglIHhbLkIsGJPWiLC4sxeTVL08RlREtaJLbW8C s99A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=uNAcWZNimaUTdoXa2kUqNmWHMTFCIjx0OnFar9CdwEA=; b=Yut2EVVBNDIWLkU9FxX5C+IYKtKligmjp9tF1td8b5sAlThe2ZP2m4Ggr8DxONWi7Q pFPjeVYgT6mXGnF//P6NZ98xnmAH5MrXB5YMZiFsbZdE7o6fxDJVWNiGZXI59u5R1PyM /s9y14/1V8et0aUqyC7o1WsTuqpd6UpXaK9H3dNPyu0yFGhJO2Rc1ve3Qv+WzxByjgra 2g27fRBuh4BDZki1Xg/kkWlt7OV/pqbTZqiCVrbKDETv/vmaUNONaEEChJJgIN6DoERF XMgdP/gs7ugyA2Zpj1HQDkUvuMvmJpUCQK+W4AkbmdlLjtPyBFgiCGiGXkEMQlraubmC ln+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si14524536pls.29.2019.04.03.14.35.29; Wed, 03 Apr 2019 14:35:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728046AbfDCVdG (ORCPT + 99 others); Wed, 3 Apr 2019 17:33:06 -0400 Received: from mga05.intel.com ([192.55.52.43]:37323 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726580AbfDCVaS (ORCPT ); Wed, 3 Apr 2019 17:30:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2019 14:30:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,306,1549958400"; d="scan'208";a="334754270" Received: from romley-ivt3.sc.intel.com ([172.25.110.60]) by fmsmga005.fm.intel.com with ESMTP; 03 Apr 2019 14:30:12 -0700 From: Fenghua Yu To: "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "H Peter Anvin" , "Dave Hansen" , "Paolo Bonzini" , "Ashok Raj" , "Peter Zijlstra" , "Kalle Valo" , "Xiaoyao Li " , "Michael Chan" , "Ravi V Shankar" Cc: "linux-kernel" , "x86" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kvm@vger.kernel.org, Fenghua Yu Subject: [PATCH v6 15/20] x86/split_lock: Document the new sysfs file for split lock detection Date: Wed, 3 Apr 2019 14:22:01 -0700 Message-Id: <1554326526-172295-16-git-send-email-fenghua.yu@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1554326526-172295-1-git-send-email-fenghua.yu@intel.com> References: <1554326526-172295-1-git-send-email-fenghua.yu@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add an ABI document entry for /sys/devices/system/cpu/split_lock_detect. Signed-off-by: Fenghua Yu --- .../ABI/testing/sysfs-devices-system-cpu | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 9605dbd4b5b5..a4e8c2e2e1ac 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -67,6 +67,21 @@ Description: Discover NUMA node a CPU belongs to /sys/devices/system/cpu/cpu42/node2 -> ../../node/node2 +What: /sys/devices/system/cpu/split_lock_detect +Date: March 2019 +Contact: Linux kernel mailing list +Description: Control split lock detection on Intel Tremont and future CPUs + + Read/write interface to control split lock detection: + "0" disable split lock detection on all CPUs + "1" enable split lock detection on all CPUs + + Please note the interface only shows or controls global setting. + During run time, split lock detection on one CPU may be + disabled if split lock operation in kernel code happens on + the CPU. The interface doesn't show or control split lock + detection on individual CPU. + What: /sys/devices/system/cpu/cpu#/topology/core_id /sys/devices/system/cpu/cpu#/topology/core_siblings /sys/devices/system/cpu/cpu#/topology/core_siblings_list -- 2.19.1