From patchwork Sat Nov 19 16:23:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 23278 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp779588wrr; Sat, 19 Nov 2022 08:24:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf7wvYhoWzHbz78oyb4cznjk39Fxg/yvsmjPj9FLMP/vp4+wp1Sjzo+lTkag7pvJAVGHnCBK X-Received: by 2002:a63:114b:0:b0:46a:e00b:ada0 with SMTP id 11-20020a63114b000000b0046ae00bada0mr382168pgr.409.1668875092268; Sat, 19 Nov 2022 08:24:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668875092; cv=none; d=google.com; s=arc-20160816; b=M/7kzWCbgTWCybpPleRlvVs454WkxA9MJK0/PQq0QLRb7IeX6asXlj9DEKPMfsfxLR wdo6xVlpQ+zCbJM1DwUIMkqFV1uD+T5lVuaM+RCdrstT+JTKi0pArAvPsarqyfBUPvwO ip3IOOWmxbJB9/bj+PBdtWSO0f4tJ95M49ERv/TuLlgL7EojmY4nebbcCcRSyLcVszd1 WwyXRGjOPaKISDXbnQXNJybkeKy8Ik++L8haDCJ+ZBZFKGkO80O204zvyfY44a0Q7fQM gHpB4aK+25j+jL+Jhg2tiWtPY+tgxPh3/tSzb7z9vTWGuJ82CCYR66R0xL2eMpUDtn7Z BdEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=XAPdjN5/N/OGC+H5XcA7O43gh7b6fe9xTAcrAoEmJNM=; b=bMprP2cCTI9rOQ1gzWqGDS+w3Ha/uKxnhsotOFzUpvHdq63AdUfR8rS72rRFEi40u1 ehE5KXAe6tbFMMKAMmrRwyQjoQKNiwYy0DqwYmOwdQlVzhQu/GKQU3TvYN370TNhQrov BUZI57+t9ix1LloLleRtE1cBv7xqXnPuGC6LHjji3lpFHnG/pmkBE9Gfqitl4VrSR3oM KlthwzbChmHcZDU1yiFsgQdNldOC+FSs4kYwe8Aw1eAyWcmhXVoHb2S2jgvEuAD8DcKV V6UEeQHuEbScBzwXBOtW4imR3dib5O/jpSZGAUy3CS9EZEuOHIU90+Bba4g5nF+dhn9L K1kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=K0irHBUR; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a63d750000000b0046fe973600dsi1728583pgi.355.2022.11.19.08.24.38; Sat, 19 Nov 2022 08:24:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=K0irHBUR; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234048AbiKSQYN (ORCPT + 99 others); Sat, 19 Nov 2022 11:24:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231865AbiKSQYE (ORCPT ); Sat, 19 Nov 2022 11:24:04 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98764317F1; Sat, 19 Nov 2022 08:24:02 -0800 (PST) Date: Sat, 19 Nov 2022 16:23:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668875040; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XAPdjN5/N/OGC+H5XcA7O43gh7b6fe9xTAcrAoEmJNM=; b=K0irHBUR+ByKZF1VDEuAC59nICj8IOynsab+xXQxiuGO4q0kvTfy3SAHJNxIgmPXLM9jtm xLKFojCXlmXO46FMqcx97H4APVWceXt5fEEnun08DAXlYhRwTbBTI3ufjoBuOfivTY396I NaAG1T7Wm85IToJCeJy+gAgCvcYUD43+ZSL6+K1I/zDIiUIChy6CZSEQSf9n4nA9xspXqh ANvwNORrChZ1BKhq8xSZ1L/wQae/9v/xghs/j+vTfOAoy1HyH+4zrwOnieFXyU1acbEEz9 3gqEKmLoC3xwjIB7hT/LZbNIfjIe0Zsb8+RymMKyKIIs7ETdiN734DeoceA+0A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668875040; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XAPdjN5/N/OGC+H5XcA7O43gh7b6fe9xTAcrAoEmJNM=; b=PvVZCupVu/OXQbB1pJAGfq7uF7PlCmOy8v00UuFwEfbHDJ5AxKSQLYVeDBGoXaZdH9KU1R UlCRmiy2HNSW3ZBQ== From: "tip-bot2 for Jithu Joseph" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/microcode] Documentation/ABI: Update IFS ABI doc Cc: Jithu Joseph , Borislav Petkov , Tony Luck , Sohil Mehta , Hans de Goede , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20221117035935.4136738-16-jithu.joseph@intel.com> References: <20221117035935.4136738-16-jithu.joseph@intel.com> MIME-Version: 1.0 Message-ID: <166887503889.4906.10128020775936056075.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747331321314782951?= X-GMAIL-MSGID: =?utf-8?q?1749942368738509587?= The following commit has been merged into the x86/microcode branch of tip: Commit-ID: 72a0f445fc091bd18873b10b9ab56573e490f00d Gitweb: https://git.kernel.org/tip/72a0f445fc091bd18873b10b9ab56573e490f00d Author: Jithu Joseph AuthorDate: Wed, 16 Nov 2022 19:59:34 -08:00 Committer: Borislav Petkov CommitterDate: Sat, 19 Nov 2022 11:30:00 +01:00 Documentation/ABI: Update IFS ABI doc Remove reload documentation and add current_batch documentation. Update the kernel version and date for all the entries. Signed-off-by: Jithu Joseph Signed-off-by: Borislav Petkov Reviewed-by: Tony Luck Reviewed-by: Sohil Mehta Reviewed-by: Hans de Goede Link: https://lore.kernel.org/r/20221117035935.4136738-16-jithu.joseph@intel.com --- Documentation/ABI/testing/sysfs-platform-intel-ifs | 30 ++++++------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-platform-intel-ifs b/Documentation/ABI/testing/sysfs-platform-intel-ifs index 486d6d2..5599198 100644 --- a/Documentation/ABI/testing/sysfs-platform-intel-ifs +++ b/Documentation/ABI/testing/sysfs-platform-intel-ifs @@ -1,39 +1,41 @@ What: /sys/devices/virtual/misc/intel_ifs_/run_test -Date: April 21 2022 -KernelVersion: 5.19 +Date: Nov 16 2022 +KernelVersion: 6.2 Contact: "Jithu Joseph" Description: Write to trigger IFS test for one online core. Note that the test is per core. The cpu# can be for any thread on the core. Running on one thread completes the test for the core containing that thread. Example: to test the core containing cpu5: echo 5 > - /sys/devices/platform/intel_ifs./run_test + /sys/devices/virtual/misc/intel_ifs_/run_test What: /sys/devices/virtual/misc/intel_ifs_/status -Date: April 21 2022 -KernelVersion: 5.19 +Date: Nov 16 2022 +KernelVersion: 6.2 Contact: "Jithu Joseph" Description: The status of the last test. It can be one of "pass", "fail" or "untested". What: /sys/devices/virtual/misc/intel_ifs_/details -Date: April 21 2022 -KernelVersion: 5.19 +Date: Nov 16 2022 +KernelVersion: 6.2 Contact: "Jithu Joseph" Description: Additional information regarding the last test. The details file reports the hex value of the SCAN_STATUS MSR. Note that the error_code field may contain driver defined software code not defined in the Intel SDM. What: /sys/devices/virtual/misc/intel_ifs_/image_version -Date: April 21 2022 -KernelVersion: 5.19 +Date: Nov 16 2022 +KernelVersion: 6.2 Contact: "Jithu Joseph" Description: Version (hexadecimal) of loaded IFS binary image. If no scan image is loaded reports "none". -What: /sys/devices/virtual/misc/intel_ifs_/reload -Date: April 21 2022 -KernelVersion: 5.19 +What: /sys/devices/virtual/misc/intel_ifs_/current_batch +Date: Nov 16 2022 +KernelVersion: 6.2 Contact: "Jithu Joseph" -Description: Write "1" (or "y" or "Y") to reload the IFS image from - /lib/firmware/intel/ifs/ff-mm-ss.scan. +Description: Write a number less than or equal to 0xff to load an IFS test image. + The number written treated as the 2 digit suffix in the following file name: + /lib/firmware/intel/ifs_/ff-mm-ss-02x.scan + Reading the file will provide the suffix of the currently loaded IFS test image.