Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4952597iob; Mon, 9 May 2022 05:38:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV7uCRUgh2k+a30lqJy3aYcSK9gxGJrtfaGGkipNV4gQUOPxXCKSUjyxiSedJ9Ykd1cQWu X-Received: by 2002:a05:6a00:16c7:b0:4f7:e497:69b8 with SMTP id l7-20020a056a0016c700b004f7e49769b8mr15878940pfc.6.1652099883241; Mon, 09 May 2022 05:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652099883; cv=none; d=google.com; s=arc-20160816; b=xxgnjmdZYcNbmLx8DKn5gZATVVuDOfZLpOmRvjwpQ3q/0XLuw49XZazi9uYWXS9oDJ aMPVoL2xE/kqkzqcJCh8smquKZPGoWDsCiQY/m0wI2Flxf7IquMxfTptwHPbqhgtgMQL kOtucWqQCqRc7EGpVtV1RZQALYUv6G2yLddbifwfKITJf2Q43PtEUSK+cN2RREAi5UaQ bVf4apF0uR+F+aBfspMy94FTpk8in7lc+CJVT3oB0rQaD7kbAz56DhFvKzDJNoKIt90U J6SXWZqUCa5cNauohea5sOmkGh9JyV2gNOZliR9ePOx2jZNtENuvgmG4P7o+ymWj2UuR ApfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=srsynYuBpe8e28DoE8JdVL1cys9Y1o9AwvMFSnIsIfQ=; b=PLviCWrmfRF28By4A1gTCeMWguQ3ykfHLiFj2dAAJ/xwpH0DtbZffr7EL+dRkvrrZ7 ITWq++9AjMRdg6ftmfqc3EvGN5WL2iOkYxAK+k3AmrgflCspLLfOsg6ytOLkE3FRcq8g +72mc7fk6jzSmTF00Su1LAdSgqBu4dZKekRn69676l/4CyIxvcr6DZ8gLVEdIq9svOqP doEiMUJhzSrc4TaEK/74lkGEef98SZKiJjv8IUaGT7WdmSp5TnniD/VKb50ubZs2LlbT g16XGsd4jT+Qg2DejFfng/xxqS8SlYrS6JPKk3AiML7ZQ+FaGKNGDEMHtIDvY7lRrz5o wWCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OFA8QOSV; 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l63-20020a638842000000b0039e592ec1a7si13912496pgd.497.2022.05.09.05.38.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 05:38:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OFA8QOSV; 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:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 17B881D6227; Mon, 9 May 2022 05:12:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234060AbiEIMQW (ORCPT + 99 others); Mon, 9 May 2022 08:16:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233823AbiEIMQM (ORCPT ); Mon, 9 May 2022 08:16:12 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00F0B24F0C; Mon, 9 May 2022 05:12:18 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1652098337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=srsynYuBpe8e28DoE8JdVL1cys9Y1o9AwvMFSnIsIfQ=; b=OFA8QOSVTQ+hT7lcy5Ybp/F+7o/kCZtozbzATnblIZ4ALc9fjHFlabtwKXW34AYHXVuD8K qa4j3YI7mI8KJXl+xE9u/8ZSAaGs221b6DhHCabeKJBDtRVZbRxqdKnZNVn0p6Aboj1wt4 DXaxjqGESKSMxd9Slcav5dfaSVF9FqUoIk/9Y3mp26voUhL4LKGkZdEBnQD6sM5r1d39W/ p7Y79x6/rAw/9qow5Rjg6QFbunCHE3hfkXcvBcEMvUmFCvUDXQl0PvhuKcVr/HvKvRPQBd GLxL1jHysWCcfeP3V6j8AdYMz82/m4CZnm4IMb5LlYeLMun6N3BxTCxdi7WKWQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1652098337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=srsynYuBpe8e28DoE8JdVL1cys9Y1o9AwvMFSnIsIfQ=; b=X2n3wm36y9cSAsKWfZVzmKtJuTc4pxZ7p30ZG04EmnHzCkHRiOpVjJX+/wKjNdl9rCaqxG 1XMTA/DwhKIb/tBw== To: Tony Luck , hdegoede@redhat.com, markgross@kernel.org Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, corbet@lwn.net, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, jithu.joseph@intel.com, ashok.raj@intel.com, tony.luck@intel.com, rostedt@goodmis.org, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com Subject: Re: [PATCH v7 09/12] platform/x86/intel/ifs: Add IFS sysfs interface In-Reply-To: <20220506225410.1652287-10-tony.luck@intel.com> References: <20220506014035.1173578-1-tony.luck@intel.com> <20220506225410.1652287-1-tony.luck@intel.com> <20220506225410.1652287-10-tony.luck@intel.com> Date: Mon, 09 May 2022 14:12:17 +0200 Message-ID: <87tu9yrjku.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, May 06 2022 at 15:54, Tony Luck wrote: > Implement sysfs interface to trigger ifs test for a specific cpu. > Additional interfaces related to checking the status of the > scan test and seeing the version of the loaded IFS binary > are also added. > > The basic usage is as below. > - To start test, for example on cpu5: > echo 5 > /sys/devices/platform/intel_ifs/run_test > - To see the status of the last test > cat /sys/devices/platform/intel_ifs/status > - To see the version of the loaded scan binary > cat /sys/devices/platform/intel_ifs/image_version > > Reviewed-by: Dan Williams > Signed-off-by: Jithu Joseph > Co-developed-by: Tony Luck > Signed-off-by: Tony Luck > Acked-by: Hans de Goede > Reviewed-off-by: Greg Kroah-Hartman Reviewed-by: Thomas Gleixner