Message ID | 20240228000016.1685518-1-david.e.box@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-84243-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3104264dyb; Tue, 27 Feb 2024 19:00:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWy6WeA8pYtJuHYo49wGEJvjpt4hAZjWK0s82Af4VXQdvY4UQjr8gD/CLrFp2EX6gkAtyjhahmdgCgABWUJahya7gkF3Q== X-Google-Smtp-Source: AGHT+IG4u1iDfmAmXNvETeL+Jl5jaUTkPV+PHj0oMXXE0L6DjY6Pnc/YXtV6dOPjKGgPGnpsNRbB X-Received: by 2002:ac8:5c10:0:b0:42e:586d:1234 with SMTP id i16-20020ac85c10000000b0042e586d1234mr13208733qti.28.1709089248342; Tue, 27 Feb 2024 19:00:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709089248; cv=pass; d=google.com; s=arc-20160816; b=K12y+6Uf5oLZXQMM496e/n7r6gCtSiHJFWnRHQ5zTgMNREQvL0/W4dPqjJIiycinrm t4Rc+RH3fdxfHxvjkPfyxEfUvGuIiNVRcTM4L2MNh0ROwPTEXvjHhk5Prwev7BIACQx/ yDfjaPHw4uYatpFicpx6zVOe0NS0GaOtsxzVdSA4DCgLcHlFcisA2Mzip0ge/tCRCqTX bGeY43SxEe1Bgknk+VfYr8XJBJ4JmEG5EtOqWjjQh8sp1W/CEr714rap2EJvR1HRLD/y DuP1aIAcbhYiBgMA/KyQCU5USzhrAcy8wDB+4+Uk6nwLTVwcf6KOv60UYdn9r3ypGzaO U52w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=JXdcQpQSPOIfXBGghVzTJaXQbP220q1reeHgpA/TWC8=; fh=x4bFVqj5qD52f35ITnpIMR9XPjt+nAjpv5WW2CLFX0Q=; b=PyNx/i8RihQPUc0XgnsEfEV0rHvTVxjuFvnESONpF74E5/nXdt7YlcN/1P4CqnE8tG Caiff/d0aZDBQ058t+Xg6rFSXR95ZWUyYGaCO4OxsamdALOHtzQlwXFRlknQWaqAzu0b 9Jt/WezL0YNths0OrI5/Tvzgf53GF89uUseb+ZXLnd0Qmr7M47tDuJA19vSKOmpqyTIV 1EPPTmgBYyYxrWotHfp3CsJq2czD+45d2sxNRt1N0YBNFVTEwGhXDhyoI374lIHoe1rd TuSU71ohKmVQdDjld25hz9HaFFkyPOSGR98tvsy6OToLx5JHgoHxk9BNSm3jq3sBkmln QX2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VpmFLmrR; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-84243-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84243-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i2-20020ac85c02000000b0042eaff991bcsi9145qti.680.2024.02.27.19.00.48 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 19:00:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84243-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VpmFLmrR; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-84243-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84243-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EB0191C259A4 for <ouuuleilei@gmail.com>; Wed, 28 Feb 2024 00:01:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 613F32D047; Wed, 28 Feb 2024 00:00:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VpmFLmrR" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E818383AC; Wed, 28 Feb 2024 00:00:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709078419; cv=none; b=QvEGM5SnNWsG1RddYaRRapJEjGbSZF02ixvpeqzbOM+RvdrlcoUeVa+wa+UK6pw39eS1/+Qu4xi/Bgp4tmRjupH5fR4M5O5XV622narWyunaDbEJSdHRjz8M7R467XA7j/cREJ9f0TCHWa+NBw7fSoijQFeNOogNEZSkf81YShw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709078419; c=relaxed/simple; bh=GXtl60Mymou2ZsPjCKtOv1efRkD66Z31CIFOkvncFhg=; h=From:To:Subject:Date:Message-Id:MIME-Version:Content-Type; b=sko4OLwmf8isSCe2ecJPsapLrK9u6FnaFd9OXD8OrbmQ9wslz2v5aK1qhsgH646Zc9uJpBQwsEfa2b3M8ubDVVuiwIkHdMuBVMPuI2hJprVurZbrFOArLpxsQiwWF3eujkhkLk1G+qzOk0EhvabOQNrLjoBRrA3Q8VsKfET2ZeE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=VpmFLmrR; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709078418; x=1740614418; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=GXtl60Mymou2ZsPjCKtOv1efRkD66Z31CIFOkvncFhg=; b=VpmFLmrRm8uAJSt6D7KeLzL5+m+KmjlPhtiuWrhL1ZXBZvD48Awha3xJ fW/RerVkABz6GFtmz4JwNpqhi7NJUZSmCxrm7P6KNGPlrzBNwlRJV8bD4 F2jSiJyyDtDWrZopIdzUmLajjjBp9hlf0I78K4pAJHudP7fLDdO1ILCqr G8WmGTIUBwSIPmQ8tKL7XuMYKfcwScaoshk3xosHC6KNWAkOk1RFLOM8m wMVd84zlyUqIjaPpeDXV4FmToi0UI7IMxSTtuisskTgMUgdlNofsbiWg6 imEX+sjeatLouGGApCR64yrautLLd+4v3/G2UZfECPfyDfAA8G8Mu48FS g==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="14604933" X-IronPort-AV: E=Sophos;i="6.06,189,1705392000"; d="scan'208";a="14604933" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 16:00:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,189,1705392000"; d="scan'208";a="7176938" Received: from linux.intel.com ([10.54.29.200]) by orviesa010.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 16:00:17 -0800 Received: from debox1-desk4.lan (unknown [10.251.6.149]) by linux.intel.com (Postfix) with ESMTP id 39CD8580B9A; Tue, 27 Feb 2024 16:00:16 -0800 (PST) From: "David E. Box" <david.e.box@linux.intel.com> To: david.e.box@linux.intel.com, rajvi.jingar@linux.intel.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com Subject: [PATCH V2 0/9] Intel On Demand changes Date: Tue, 27 Feb 2024 16:00:07 -0800 Message-Id: <20240228000016.1685518-1-david.e.box@linux.intel.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792109967895017584 X-GMAIL-MSGID: 1792109967895017584 |
Series |
Intel On Demand changes
|
|
Message
David E. Box
Feb. 28, 2024, midnight UTC
V2 removes the Attestation support while is it reworked into a separate series. This series now focuses on smaller changes that address firmware changes and makes fixes in the tool. David E. Box (8): platform/x86/intel/sdsi: Set message size during writes platform/x86/intel/sdsi: Combine read and write mailbox flows platform/x86/intel/sdsi: Add attribute to read the current meter state tools/arch/x86/intel_sdsi: Fix maximum meter bundle length tools/arch/x86/intel_sdsi: Add missing version field tools/arch/x86/intel_sdsi: Fix meter_certificate decoding platform/x86/intel/sdsi: Simplify ascii printing tools: intel_sdsi: Add current meter support Kuppuswamy Sathyanarayanan (1): platform/x86/intel/sdsi: Add in-band BIOS lock support drivers/platform/x86/intel/sdsi.c | 118 ++++++++++++++++--------- tools/arch/x86/intel_sdsi/intel_sdsi.c | 100 ++++++++++++--------- 2 files changed, 138 insertions(+), 80 deletions(-) base-commit: d206a76d7d2726f3b096037f2079ce0bd3ba329b
Comments
On 2/27/24 4:00 PM, David E. Box wrote: > New mailbox commands will support sending multi packet writes and updated > firmware now requires that the message size be written for all commands > along with the packet size. Since the driver doesn't perform writes larger > than the packet size, set the message size to the same value. > > Signed-off-by: David E. Box <david.e.box@linux.intel.com> > Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> > --- Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> > > V2 - no changes > > drivers/platform/x86/intel/sdsi.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/platform/x86/intel/sdsi.c b/drivers/platform/x86/intel/sdsi.c > index 556e7c6dbb05..a70c071de6e2 100644 > --- a/drivers/platform/x86/intel/sdsi.c > +++ b/drivers/platform/x86/intel/sdsi.c > @@ -252,6 +252,7 @@ static int sdsi_mbox_cmd_write(struct sdsi_priv *priv, struct sdsi_mbox_info *in > FIELD_PREP(CTRL_SOM, 1) | > FIELD_PREP(CTRL_RUN_BUSY, 1) | > FIELD_PREP(CTRL_READ_WRITE, 1) | > + FIELD_PREP(CTRL_MSG_SIZE, info->size) | > FIELD_PREP(CTRL_PACKET_SIZE, info->size); > writeq(control, priv->control_addr); >