Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2059864rwb; Thu, 17 Nov 2022 06:06:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf6JhrKHbAkcXNLER0xqcP9VAsmNqT2QW/dNMT4+nn63G7rro5uYTvK/ihmGcrHBKaXsLwW8 X-Received: by 2002:a05:6402:1202:b0:466:1bfa:c39e with SMTP id c2-20020a056402120200b004661bfac39emr2281434edw.240.1668694005411; Thu, 17 Nov 2022 06:06:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668694005; cv=none; d=google.com; s=arc-20160816; b=MLOXPL1G0YiisLpLB5/ZzFStMYpipsFcV0g0tVVAHgaYEW9GiUws9ILm11SJWaaWHT M8k4fFllJG/5QbiTu4TtqRFBpyxEYfCnI6wjKwLdzfgGptHwnsVlDl9Y+uISlvZvdcZ+ 3ARfU9D3GUmKe/bez/pqXtLy0NjvvgB37KwFPQ4AwIhp3CUcwobExkrL63ofyPyc329L nUUqw3aO3f2pkmIIrzajx5GXeWE4iKxDRsHdT/vIREul4xsqARyOOzMTUp3vGM+03bC7 V+WU2IH1uBd53NSVXHnbWtp4TcbeXCMD5Enr7Q8sN+GHjGFX4vgp4dHZoqbfl/p8Scwg 9Fnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=C9MvW9IGfYbs61wyWaxjLg53zmskvKkolKu8014WW3k=; b=tRCeQUXetvAPQbPwiJnnOUUI4DrbxlJEK9IFLHAWrrb/jpY/IGlj94E1SiiqZhJ81t +f6mz7EU/AZkk9pyVHnne3BydRMOwB6ovRKd4E+5e23HPA4ry9J55ZtrNy9RL1fEjq+l MKpI6xVnQnwy8hc+kpXeJML9db+MRIjG9IuU0b/S1ebj/EaSA3a4DGg0IOOdcHpV5HtU nDGyyPSHhk/PvNeO6zifYvyGl6G++RDGQOw/I+TwyGmmNR8wedp58IXipAi2Kmt6mhnu wk+ePiT17/PhqhR1voPsmv6/CddTVLJY2QV72UKwD5WHvY9Vis0dJb4z3tttrzkxO3Yb AaSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=c4VMVsTd; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js19-20020a17090797d300b007ae545e330csi801509ejc.218.2022.11.17.06.06.23; Thu, 17 Nov 2022 06:06:45 -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=@redhat.com header.s=mimecast20190719 header.b=c4VMVsTd; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239908AbiKQNSr (ORCPT + 92 others); Thu, 17 Nov 2022 08:18:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239861AbiKQNSp (ORCPT ); Thu, 17 Nov 2022 08:18:45 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 360C61C40A for ; Thu, 17 Nov 2022 05:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668691064; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C9MvW9IGfYbs61wyWaxjLg53zmskvKkolKu8014WW3k=; b=c4VMVsTdmg+szOVsuNXogZtEitXr179gYgaY2YUVAdUMEYTtxU9WuZkG1tRziARdq7A1Yd ctUxzt7UFIV4pJcuFJoAgodw7gQrsAIreoVdTLyqJLLXYP0/h6/Cpn5ZqEmupxi26lLq8s Ou2JLxTklfHiNMrON/M6PpM3wEMF9sA= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-207-PkG1YeceM9yR-Hbn7xBvCw-1; Thu, 17 Nov 2022 08:17:43 -0500 X-MC-Unique: PkG1YeceM9yR-Hbn7xBvCw-1 Received: by mail-ed1-f69.google.com with SMTP id f17-20020a056402355100b00466481256f6so1194957edd.19 for ; Thu, 17 Nov 2022 05:17:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C9MvW9IGfYbs61wyWaxjLg53zmskvKkolKu8014WW3k=; b=b3e/j9XPb7wP5PNZWAlKOb85J7pxhJfy2v+PmIFRngyNG76m+1YWDhgWO4AkvW4YW2 GieAd0QFLAmGMYhDVklICjeMjKmlEzlM5CR3xDkFs4SGq8GaS3IdVE2yF5lW2B0M8R9j KiO7Qe9pe98+qAEOq+I66YK8MsUgvE/e+R9lG/LhoPMSa57J6YQPRiJ3TKXqY1la3CFC ssWWqv4xoJLLOKDje7eyA2A8R07nmHrXbHIOtizNzI6bOwU2wDiTgvjQyppu6w/Ruy0w v7nBbgxj2E94RAejLATKS/3QTIN/lRm6y4kn/Wwoo7WUqmZKEgvKj6xfgq/7vroKotKQ XquQ== X-Gm-Message-State: ANoB5pkkr2IdQiQU1BEyGLWV3ZHlcWKWahqFrcrKOXZTm8L8w9M+x+uU SzWIbbWz0y1zPpPMSyLNdPzXyb9V8g0UYvHNvKlDGzhJURKVJ2o/X6x1FDI/p4ts0ERPv/f037f vbGR+00cdHq4roe+IvPRA6v0o X-Received: by 2002:aa7:cb96:0:b0:461:bacd:c85d with SMTP id r22-20020aa7cb96000000b00461bacdc85dmr2026216edt.278.1668691061721; Thu, 17 Nov 2022 05:17:41 -0800 (PST) X-Received: by 2002:aa7:cb96:0:b0:461:bacd:c85d with SMTP id r22-20020aa7cb96000000b00461bacdc85dmr2026196edt.278.1668691061537; Thu, 17 Nov 2022 05:17:41 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:d69d:5353:dba5:ee81? (2001-1c00-0c1e-bf00-d69d-5353-dba5-ee81.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:d69d:5353:dba5:ee81]) by smtp.gmail.com with ESMTPSA id f26-20020a17090631da00b007b27aefc578sm353430ejf.126.2022.11.17.05.17.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Nov 2022 05:17:40 -0800 (PST) Message-ID: <05c77221-7457-7829-e5ab-f6115a0dd452@redhat.com> Date: Thu, 17 Nov 2022 14:17:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH 1/9] platform/x86/intel/sdsi: Add Intel On Demand text To: "David E. Box" , markgross@kernel.org, andriy.shevchenko@linux.intel.com, srinivas.pandruvada@intel.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221101191023.4150315-1-david.e.box@linux.intel.com> <20221101191023.4150315-2-david.e.box@linux.intel.com> Content-Language: en-US, nl From: Hans de Goede In-Reply-To: <20221101191023.4150315-2-david.e.box@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 Hi, On 11/1/22 20:10, David E. Box wrote: > Intel Software Defined Silicon (SDSi) is now officially known as Intel > On Demand. Add On Demand to the description in the kconfig, documentation, > and driver source. > > Signed-off-by: David E. Box Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > .../ABI/testing/sysfs-driver-intel_sdsi | 37 ++++++++++--------- > drivers/platform/x86/intel/Kconfig | 8 ++-- > drivers/platform/x86/intel/sdsi.c | 4 +- > 3 files changed, 25 insertions(+), 24 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-driver-intel_sdsi b/Documentation/ABI/testing/sysfs-driver-intel_sdsi > index 96b92c105ec4..9d77f30d9b9a 100644 > --- a/Documentation/ABI/testing/sysfs-driver-intel_sdsi > +++ b/Documentation/ABI/testing/sysfs-driver-intel_sdsi > @@ -4,21 +4,21 @@ KernelVersion: 5.18 > Contact: "David E. Box" > Description: > This directory contains interface files for accessing Intel > - Software Defined Silicon (SDSi) features on a CPU. X > - represents the socket instance (though not the socket ID). > - The socket ID is determined by reading the registers file > - and decoding it per the specification. > + On Demand (formerly Software Defined Silicon or SDSi) features > + on a CPU. X represents the socket instance (though not the > + socket ID). The socket ID is determined by reading the > + registers file and decoding it per the specification. > > - Some files communicate with SDSi hardware through a mailbox. > - Should the operation fail, one of the following error codes > - may be returned: > + Some files communicate with On Demand hardware through a > + mailbox. Should the operation fail, one of the following error > + codes may be returned: > > ========== ===== > Error Code Cause > ========== ===== > EIO General mailbox failure. Log may indicate cause. > EBUSY Mailbox is owned by another agent. > - EPERM SDSI capability is not enabled in hardware. > + EPERM On Demand capability is not enabled in hardware. > EPROTO Failure in mailbox protocol detected by driver. > See log for details. > EOVERFLOW For provision commands, the size of the data > @@ -54,8 +54,8 @@ KernelVersion: 5.18 > Contact: "David E. Box" > Description: > (WO) Used to write an Authentication Key Certificate (AKC) to > - the SDSi NVRAM for the CPU. The AKC is used to authenticate a > - Capability Activation Payload. Mailbox command. > + the On Demand NVRAM for the CPU. The AKC is used to authenticate > + a Capability Activation Payload. Mailbox command. > > What: /sys/bus/auxiliary/devices/intel_vsec.sdsi.X/provision_cap > Date: Feb 2022 > @@ -63,17 +63,18 @@ KernelVersion: 5.18 > Contact: "David E. Box" > Description: > (WO) Used to write a Capability Activation Payload (CAP) to the > - SDSi NVRAM for the CPU. CAPs are used to activate a given CPU > - feature. A CAP is validated by SDSi hardware using a previously > - provisioned AKC file. Upon successful authentication, the CPU > - configuration is updated. A cold reboot is required to fully > - activate the feature. Mailbox command. > + On Demand NVRAM for the CPU. CAPs are used to activate a given > + CPU feature. A CAP is validated by On Demand hardware using a > + previously provisioned AKC file. Upon successful authentication, > + the CPU configuration is updated. A cold reboot is required to > + fully activate the feature. Mailbox command. > > What: /sys/bus/auxiliary/devices/intel_vsec.sdsi.X/state_certificate > Date: Feb 2022 > KernelVersion: 5.18 > Contact: "David E. Box" > Description: > - (RO) Used to read back the current State Certificate for the CPU > - from SDSi hardware. The State Certificate contains information > - about the current licenses on the CPU. Mailbox command. > + (RO) Used to read back the current state certificate for the CPU > + from On Demand hardware. The state certificate contains > + information about the current licenses on the CPU. Mailbox > + command. > diff --git a/drivers/platform/x86/intel/Kconfig b/drivers/platform/x86/intel/Kconfig > index 794968bda115..d5a33473e838 100644 > --- a/drivers/platform/x86/intel/Kconfig > +++ b/drivers/platform/x86/intel/Kconfig > @@ -157,13 +157,13 @@ config INTEL_RST > as usual. > > config INTEL_SDSI > - tristate "Intel Software Defined Silicon Driver" > + tristate "Intel On Demand (Software Defined Silicon) Driver" > depends on INTEL_VSEC > depends on X86_64 > help > - This driver enables access to the Intel Software Defined Silicon > - interface used to provision silicon features with an authentication > - certificate and capability license. > + This driver enables access to the Intel On Demand (formerly Software > + Defined Silicon) interface used to provision silicon features with an > + authentication certificate and capability license. > > To compile this driver as a module, choose M here: the module will > be called intel_sdsi. > diff --git a/drivers/platform/x86/intel/sdsi.c b/drivers/platform/x86/intel/sdsi.c > index c830e98dfa38..32793919473d 100644 > --- a/drivers/platform/x86/intel/sdsi.c > +++ b/drivers/platform/x86/intel/sdsi.c > @@ -1,6 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0 > /* > - * Intel Software Defined Silicon driver > + * Intel On Demand (Software Defined Silicon) driver > * > * Copyright (c) 2022, Intel Corporation. > * All Rights Reserved. > @@ -586,5 +586,5 @@ static struct auxiliary_driver sdsi_aux_driver = { > module_auxiliary_driver(sdsi_aux_driver); > > MODULE_AUTHOR("David E. Box "); > -MODULE_DESCRIPTION("Intel Software Defined Silicon driver"); > +MODULE_DESCRIPTION("Intel On Demand (SDSi) driver"); > MODULE_LICENSE("GPL");