From patchwork Sat Nov 19 00:23:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "David E. Box" X-Patchwork-Id: 23160 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp501814wrr; Fri, 18 Nov 2022 17:25:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf6C75BoYcl+Lr5Jb+tXDy6D+ZZRa0XMrttiKPcaVBowScfS6Xao/TlJZTYSfSyy/fJvZr2L X-Received: by 2002:a17:902:d051:b0:189:f86:f0f with SMTP id l17-20020a170902d05100b001890f860f0fmr172741pll.129.1668821102028; Fri, 18 Nov 2022 17:25:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668821102; cv=none; d=google.com; s=arc-20160816; b=RTEGRnAsjCjsfIC4n+plpA228Mcn8KFoG8en8V4g37Nir+F13hJC2w2h/Do2jXhi8K 5iCpZro/RpFBmQYN3di67CjJOY7F850pBMXN/lRvURRMp+gONKfdrqWKLuHMj0s2GruA J4+avdOWHSnLHqDFCvtPwOXm4z+My2u+FU/29e6zSKJl0VrBXc9kHco/btsg5RCPy001 xvXq8mXNK9+bZbSwvP/n3KwT54+pKThUrUvxj5pBhBLHpkytZwYX9jetcXjoS36mWlPu CsujI2+DjbKbqslJBzBwtLzMBmdUbq9c4Efqa/MblxxvccRo0T0BffVfy9mPmLn8XJ1n HjKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=faj1SkW+K0PI5czGxB01LfG19KQGRxaiPWX4xK5nVKc=; b=nvI79a7K8LniWCtfyEMEVJyJ5PfTsOFxoTe9hlnla7NkF9a/YzO/2mMA+FwBf0MTw3 T2qgnEpK4oGdNNyICE4fxCKo6KIykCC0UO+r48aQ3EezGx6U7wouD3CVl+9sKhsRtYBU xQI1qIb77fsN3TcnePph95NQoGt2TSujrGitRGislZMnVyxIHcKi4zniX2Fu6cBge6Zi BGMBhGEkP5PaqnB+yTpVVIMbws2oHTKhp+njHtmPEiYu/iY1E59HmnmLBWM2fwpD0VMm 9wJdjOOpZt9x53HZPlCZGbAOl0JpF1SeJu/Qp6xALgLA/aehgh5UxrOuCcLpp6beeqbc ENTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=APrjwxj4; 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=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d26-20020a630e1a000000b0046edec119f6si5121037pgl.227.2022.11.18.17.24.48; Fri, 18 Nov 2022 17:25:01 -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=@intel.com header.s=Intel header.b=APrjwxj4; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229803AbiKSBXc (ORCPT + 99 others); Fri, 18 Nov 2022 20:23:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbiKSBW5 (ORCPT ); Fri, 18 Nov 2022 20:22:57 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0973E53ECC; Fri, 18 Nov 2022 16:23:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668817435; x=1700353435; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gLAOje8+qf/k9AwPKuFwEIgMMpE2A7PEtqaQD09hAq8=; b=APrjwxj43tL5ikMNH92H5XKs3StcsNvAYrc7CrSlV6OTC3odjksVgw0y BBCKiL0hgnLbeOY184Yb7+EGeqQfcMy1xtwM4Xfbm646dLitMgrxp8lde 3f2yt3FhqpB6PLZza5e28jKgydKh7lmftWzlU2drSKXN0/sOWyO4vFmwk dbmtbf+cU+5U5KGJV+loK74d50QQ7yk+q5Crw2J1wt8JKAS9IMx/QPl2I h2Zt/t1PB9KTz4GVKvdAlWuGlpP1qqqTMS0uKzXGpgD+6J2EkNZ+TgK9s GZ2U5jehy8ruNVkH11WBvhWNY0/b1kw3SE70Te2TQz5QUGr9PQzfEuUWt Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10535"; a="314418973" X-IronPort-AV: E=Sophos;i="5.96,175,1665471600"; d="scan'208";a="314418973" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2022 16:23:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10535"; a="765349181" X-IronPort-AV: E=Sophos;i="5.96,175,1665471600"; d="scan'208";a="765349181" Received: from linux.intel.com ([10.54.29.200]) by orsmga004.jf.intel.com with ESMTP; 18 Nov 2022 16:23:46 -0800 Received: from debox1-desk4.lan (unknown [10.252.138.169]) by linux.intel.com (Postfix) with ESMTP id 758BA580DFA; Fri, 18 Nov 2022 16:23:46 -0800 (PST) From: "David E. Box" To: david.e.box@linux.intel.com, hdegoede@redhat.com, markgross@kernel.org, andriy.shevchenko@linux.intel.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 6/9] tools/arch/x86: intel_sdsi: Add Intel On Demand text Date: Fri, 18 Nov 2022 16:23:40 -0800 Message-Id: <20221119002343.1281885-7-david.e.box@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221119002343.1281885-1-david.e.box@linux.intel.com> References: <20221119002343.1281885-1-david.e.box@linux.intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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?1749885755417930515?= X-GMAIL-MSGID: =?utf-8?q?1749885755417930515?= Intel Software Defined Silicon (SDSi) is now officially known as Intel On Demand. Change text in tool to indicate this. Signed-off-by: David E. Box Reviewed-by: Hans de Goede --- V2 - No change tools/arch/x86/intel_sdsi/intel_sdsi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/arch/x86/intel_sdsi/intel_sdsi.c b/tools/arch/x86/intel_sdsi/intel_sdsi.c index 9dd94014a672..3718bd0c05cb 100644 --- a/tools/arch/x86/intel_sdsi/intel_sdsi.c +++ b/tools/arch/x86/intel_sdsi/intel_sdsi.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 /* - * sdsi: Intel Software Defined Silicon tool for provisioning certificates - * and activation payloads on supported cpus. + * sdsi: Intel On Demand (formerly Software Defined Silicon) tool for + * provisioning certificates and activation payloads on supported cpus. * * See https://github.com/intel/intel-sdsi/blob/master/os-interface.rst * for register descriptions. @@ -150,7 +150,7 @@ static void sdsi_list_devices(void) } if (!found) - fprintf(stderr, "No sdsi devices found.\n"); + fprintf(stderr, "No On Demand devices found.\n"); } static int sdsi_update_registers(struct sdsi_dev *s) @@ -206,7 +206,7 @@ static int sdsi_read_reg(struct sdsi_dev *s) printf("\n"); printf("PPIN: 0x%lx\n", s->regs.ppin); printf("Enabled Features\n"); - printf(" SDSi: %s\n", !!s->regs.en_features.sdsi ? "Enabled" : "Disabled"); + printf(" On Demand: %s\n", !!s->regs.en_features.sdsi ? "Enabled" : "Disabled"); printf("Authorization Failure Count\n"); printf(" AKC Failure Count: %d\n", s->regs.auth_fail_count.key_failure_count); printf(" AKC Failure Threshold: %d\n", s->regs.auth_fail_count.key_failure_threshold); @@ -428,7 +428,7 @@ static int sdsi_provision_akc(struct sdsi_dev *s, char *bin_file) return ret; if (!s->regs.en_features.sdsi) { - fprintf(stderr, "SDSi feature is present but not enabled. Unable to provision"); + fprintf(stderr, "On Demand feature is present but not enabled. Unable to provision"); return -1; } @@ -458,7 +458,7 @@ static int sdsi_provision_cap(struct sdsi_dev *s, char *bin_file) return ret; if (!s->regs.en_features.sdsi) { - fprintf(stderr, "SDSi feature is present but not enabled. Unable to provision"); + fprintf(stderr, "On Demand feature is present but not enabled. Unable to provision"); return -1; }