Message ID | 20230707080112.1722827-1-kah.jing.lee@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp3111161vqx; Fri, 7 Jul 2023 01:34:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlHEqrOgzyhedWN0WINoKzh2vUofmraY/yuazax75xbrNieRqZ2UIG27oncQD9D6Vaax/7Al X-Received: by 2002:a05:6358:9910:b0:134:ddad:2b4f with SMTP id w16-20020a056358991000b00134ddad2b4fmr5209387rwa.18.1688718888812; Fri, 07 Jul 2023 01:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688718888; cv=none; d=google.com; s=arc-20160816; b=uHQmCshNR5wvWqSUxPV+fzNEq0xOvYLE5pndzVmgBLdGPNGbraZ+KoTN/QSJbBoF70 u+qf0WpJOCCeHlT4yxPBmSkZpn4QwL+xUB0NXqn2L2rtF7Tb91xfXV4eRVThNR4olB/h 5mI7ln6R1Eypr6CyVxOKa9yfyY6gLJDbM7kGHLbvmQ0IDfGn9vwVdGpaplQTXzlJEacY +OlNzlkkcM5Irj4+KnIluXwmixTpGJDiMoZSOdNjXo0Pm6dk8bMgzG1kYWJk3dZ/0/El waXC+XE/W9bL/+RZ+J2iuUKOV11jF+XeeDRpHA5LtxPwSLHKzoGO1PAvnvvnq2yZY3H9 VIuw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=FXLRbIVLUf7nTjV4VPTBfmCCcmDozl38/zOgcABL9bM=; fh=M8JEvLWIcsunHoO97L4UkAx3HF9Ty+6j85QHG/TkO8Q=; b=anvPlIPPNmEqHauWWphocn+p/m+aVTr7iCTV+hfVwMRHZYH8+n3+YXg2RbTVuFsPd1 xxeuImOjYRlXHvPsi4MDwt3uJanCUmDUZqnH78qBEmwwebBZz8r2KH9S9SKQAh/pJZKn cW6crRNT/rxiGcq6+cBXdgd7gt0uwkpNaFh3tjd1cIQzspL1sM5xzSWxiKiCgXTvOo+v bLEqoMQhiFLIkxhqEghjNVE9kKUcthbIO7mOeWUZRQNybzRCMSyrYxnQSxWL2FcdWBxz jpJBqd/oZy5tG/AYvoMQ/JfIfyZJGAYUfNAtglomYqHa3VZJyMzsGoo+ZidDeBbX7GEH /SzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BxHvRWl+; 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 r9-20020aa79889000000b006825e2dba7asi3218020pfl.254.2023.07.07.01.34.36; Fri, 07 Jul 2023 01:34:48 -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=BxHvRWl+; 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 S232789AbjGGIDX (ORCPT <rfc822;daweilics@gmail.com> + 99 others); Fri, 7 Jul 2023 04:03:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229642AbjGGIDW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 7 Jul 2023 04:03:22 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3219A10F5 for <linux-kernel@vger.kernel.org>; Fri, 7 Jul 2023 01:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688717001; x=1720253001; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=NhpaMvrGZ88hT0IQeDSciWmgaq3CRcYsQQIzgl3HcaU=; b=BxHvRWl+YssVIS8y0Pywa2xNCo9JsUzcWpL4RCZsPqVaQG96fPYzPqSZ M6qRF3KlqC3TFy2/Vv2o8ajJTITI3ja6VuPl+fNqOI8HjTv1Hz5AiNj2v N79gb+3iq2ApFHdUwtisji1DhCSyJXb3mQXjv066ukE6Pa6ECY1D3xBt7 zgHh74a5c8OiHpyxP6QjuhQtQ7ScwuCUlAgmWuYMw6z1cgEXXrBI3oYwu sqLPqOv0t5JXhJ7Ne9tPViF3wCf4x7bWSSg09Ehy9Nafrht8aWbGqFVBD hNLOsnGz3xp8GhVQN+PacKechEvUyw1PFXyCZBXhfZDYfGtN7FvIfA0W3 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10763"; a="363869954" X-IronPort-AV: E=Sophos;i="6.01,187,1684825200"; d="scan'208";a="363869954" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2023 01:03:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10763"; a="670073868" X-IronPort-AV: E=Sophos;i="6.01,187,1684825200"; d="scan'208";a="670073868" Received: from unknown (HELO localhost.localdomain) ([10.226.216.117]) by orsmga003.jf.intel.com with ESMTP; 07 Jul 2023 01:03:18 -0700 From: kah.jing.lee@intel.com To: dinguyen@kernel.org Cc: linux-kernel@vger.kernel.org, radu.bacrau@intel.com, tien.sung.ang@intel.com, Kah Jing Lee <kah.jing.lee@intel.com> Subject: [PATCH 0/2] Query the RSU SPT table offset to determine RSU page size Date: Fri, 7 Jul 2023 16:01:14 +0800 Message-Id: <20230707080112.1722827-1-kah.jing.lee@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770750097187074970?= X-GMAIL-MSGID: =?utf-8?q?1770750097187074970?= |
Series |
Query the RSU SPT table offset to determine RSU page size
|
|
Message
Lee, Kah Jing
July 7, 2023, 8:01 a.m. UTC
From: Kah Jing Lee <kah.jing.lee@intel.com>
Hi,
This patchset is to add the generic mailbox command in the svc driver
to enable the rsu driver to query spt address.
SPT0 address - lower range & SPT1 address - upper range address will be
queried in order to determine the page size of RSU, whether it is
32kB or 64kB that is supported.
Thanks,
KJ
Radu Bacrau (1):
firmware: stratix10-rsu: query spt addresses
Teh Wen Ping (1):
firmware: stratix10-svc: Generic Mailbox Command
drivers/firmware/stratix10-rsu.c | 100 +++++++++++++++++-
drivers/firmware/stratix10-svc.c | 18 ++++
include/linux/firmware/intel/stratix10-smc.h | 25 +++++
.../firmware/intel/stratix10-svc-client.h | 5 +
4 files changed, 147 insertions(+), 1 deletion(-)
base-commit: 5133c9e51de41bfa902153888e11add3342ede18