From patchwork Tue Nov 1 19:10:20 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: 13845 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3155051wru; Tue, 1 Nov 2022 12:13:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7gy/X/rZWimFPC8g1qbSLtKXiGcxqV26MnSA/ZK689e/YhAOA5juEdlwzhkBvHM/6FAQqy X-Received: by 2002:a17:902:ec01:b0:186:748f:e8b6 with SMTP id l1-20020a170902ec0100b00186748fe8b6mr20758162pld.131.1667329998274; Tue, 01 Nov 2022 12:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667329998; cv=none; d=google.com; s=arc-20160816; b=taxZjbn5zexVziUS/zhHwMw4pysuqsPEDXIgJBIgoX39PQLd/zzSNOHqTmOn65ES+3 Ozuomc0Ro242MUENOBsjI0F5hcCo72Z1TV/yZg0qdMldiuKXkRS9O3qqmHf2lpgqSqlw xEB6bLqe9CA6Ns3qdKzhUqc8zF/tU12w4uGBR6IcdFpHFk/6/QH/FuvNRZXxR5XZJeMO O+j2MHwGZCrbJCMg0eVbPAJmi/cG2H51wVQq30S9MavRfAfXTtpW+IHmf5CW0A9a6TVT W9R27TFIMcphQrHEND8qhMbR5tV4li0Hpfg9W+Fag8MAmzWhwKltaUXQ92Q4mQuBed9K w3xw== 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=5ePQ/1XuK4o1UGN+ucVSQR/q6+X93DiiubmfRezFInk=; b=JyxYpGLnPoXpptFBUS+hpLvVFXi/QEs4IVmsVs5qZVxJxKLCUZgsVoV2cEauvPzdHk YRIWD1L/by48SUXs8ztctNntzXLOUIGL+JZslvv6K/v2hpFtPwYqr4MZLPGTT8J0+Mtq P3JQmF+pWgcMl5wBAjACLX8CxNxx4KYXGn+IMAjuS8sO3tAX5V6vOrWc3gfAIxSbbbW4 LNLrH99MAwUWfYKBzcgwE7B3Pyz+M2VGMym2jG536saaoEFkkYuxUBQ8JvFdi5vhRnWr qYng6wXGaaQdy/wf7B2aAWbFac6zh2uRiYVNhaCtBMcWXPyfUKowe082oVXKt/DIL0yp ItLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OpfCuFBS; 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 p13-20020a170902e74d00b00176a116a20csi15159793plf.567.2022.11.01.12.13.01; Tue, 01 Nov 2022 12:13:18 -0700 (PDT) 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=OpfCuFBS; 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 S230379AbiKATLO (ORCPT + 99 others); Tue, 1 Nov 2022 15:11:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230336AbiKATK6 (ORCPT ); Tue, 1 Nov 2022 15:10:58 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAC611E71D; Tue, 1 Nov 2022 12:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667329857; x=1698865857; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=l9kRG3w3jGLZontziusyMLJGEXBiEEFAIDr6h2pUM40=; b=OpfCuFBSU35tXNFhJKAzWZFfW7ru2/Tz+kL/qbpBPIUftFBGva+bNY53 lwfddZCJsSSkuqz14h7FDu7gJ5j1QH30O5g2N+GtgPC32GagMhUYjpMD/ ryXCtXVsPcnPmoIbt5cHlV9udH54Ksw0dQma97PELyFIJmFX7qJFZ3Z/B ogE3ijVI1b4uqQeIlNKGB6sqrQB3qC3x+SO4J2K5nbMlJUpAx4mSSIb47 IZBlFv/N2FIyqk4EUAN19TLfpPLM5ZGGPB8nI9DXOlsIhuPkoWLXaidRO fk0fCvxc5/Gb7xpIVKMBn2QJqGj/bBDrgi98FvxYUlnv4iJsk+iEdS06e w==; X-IronPort-AV: E=McAfee;i="6500,9779,10518"; a="373440766" X-IronPort-AV: E=Sophos;i="5.95,231,1661842800"; d="scan'208";a="373440766" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2022 12:10:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10518"; a="776605731" X-IronPort-AV: E=Sophos;i="5.95,231,1661842800"; d="scan'208";a="776605731" Received: from linux.intel.com ([10.54.29.200]) by fmsmga001.fm.intel.com with ESMTP; 01 Nov 2022 12:10:27 -0700 Received: from debox1-desk4.intel.com (unknown [10.212.195.64]) by linux.intel.com (Postfix) with ESMTP id 08D9A580AA7; Tue, 1 Nov 2022 12:10:27 -0700 (PDT) From: "David E. Box" To: hdegoede@redhat.com, markgross@kernel.org, andriy.shevchenko@linux.intel.com, srinivas.pandruvada@intel.com Cc: "David E. Box" , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/9] tools/arch/x86: intel_sdsi: Add Intel On Demand text Date: Tue, 1 Nov 2022 12:10:20 -0700 Message-Id: <20221101191023.4150315-7-david.e.box@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221101191023.4150315-1-david.e.box@linux.intel.com> References: <20221101191023.4150315-1-david.e.box@linux.intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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?1748322219867733023?= X-GMAIL-MSGID: =?utf-8?q?1748322219867733023?= 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 --- 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; }