Message ID | cover.1690347245.git.kah.jing.lee@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp187059vqo; Tue, 25 Jul 2023 22:24:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlHJslbScPcf3JSC0+cCGTf/9Romnk9S9Otvdk7TNsVmOEExfcaEUvz4H3WfmsbnxzwW0vbR X-Received: by 2002:a17:906:53d7:b0:99b:4ce9:c27e with SMTP id p23-20020a17090653d700b0099b4ce9c27emr607599ejo.44.1690349086048; Tue, 25 Jul 2023 22:24:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690349086; cv=none; d=google.com; s=arc-20160816; b=xShbj15ujGqpBq4GBL0MO4cMPnb8pnEFLaEQm2ZeR+VhcN7TkyELA/rVQnCaIlcN7u s9r8oobpDMpDFTtwICcCmygvALWodqTCKBV0g2mMO5egs1TCzAPbRJpHSgvYx9+/rPUu DPKBNUXazN6vCk0X4obTotwEWgqT50nBU0e0YZr7o8Duspow+UsljTk+g5z5sPKosf9R knd1DVV8FDU/bY9PU2DEoAnRu0aoE9fGerEf9V/H34cfcR/8v83xME3tw/Vm9fgengSK s4CueMnd96WQJhlJNn9HGDYpb94jij0y8CoS0H06OOZERjqAamtnJ0ej6uWnqaXEmJKU 7mjw== 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=xp9/6O2toCnmYh+RsaugwNKzDaix2aKb+fsCB0iqDqI=; fh=M8JEvLWIcsunHoO97L4UkAx3HF9Ty+6j85QHG/TkO8Q=; b=ONJiFiazSIgXXXuJU1+XjCAnjUlBgtu3bZDjPX1qP/+/rq3l1CxfZHKNuYh5Ri1o2e V588P5HLoNqh+fRQxAv/gj41Fzw9kFM1wmYt2h3B3lVo9PVKsUEcfcOGMbsa/KjzbYlx 9qiHTEwuYNHv3T7CJmtX5ZrUtNFYRnXiWAgppKA0Twxvl/TEv1RlzRVMgrMUsfVtcWB+ 5UC0E4lWRTW3uc/9sNRM7quSlKsdoJtKsKBRHNOmXT4MjOxWaiXXJEfvxz7PdB5eBuDk WEETrldmIuj0E/RylVvIq/6+ISCp5MolPK2hBShkNjqeFiXz6kVkZbRn3GQBhbEMmD3g m2ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J5ATywCa; 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 ga8-20020a170906b84800b009827e183e9fsi9234773ejb.636.2023.07.25.22.24.20; Tue, 25 Jul 2023 22:24:46 -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=J5ATywCa; 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 S231442AbjGZE71 (ORCPT <rfc822;kloczko.tomasz@gmail.com> + 99 others); Wed, 26 Jul 2023 00:59:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbjGZE7S (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Jul 2023 00:59:18 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0581D1FC2 for <linux-kernel@vger.kernel.org>; Tue, 25 Jul 2023 21:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690347556; x=1721883556; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=TTQweHb9px5w+WSSg/IXmEMaMZomGcINs6qdcew+w+k=; b=J5ATywCaCoyfxMootTvKWlF7/Tb+4IVoQYGnFY/DjyK2dYIBgKo5IV4P DR+i1v/I5m7towtLnv9HNvch7GWsvKYJY+x9QSD6I/9lefdxR5Y/puOeP oz9g6Vw8MgmD+cjD94C4g5SMTGt9IBpSiRcVNdvhEPE2I2IiJReAHZTWx H6hte+4tAwD3PNWWceVxHFrtDttziwlkxz+PfB3g0aj5o6e9mDwsJ/Imf lPchiP9r15Dv8eHotyejMFwFw/loIADpBOw6jEz35s28EirqHQLAeNZJu w/B6DhG0dJOT9yjGMbPiqw4uIZoYk2RppqPnT9tjbe++aOliq4sPht3aK w==; X-IronPort-AV: E=McAfee;i="6600,9927,10782"; a="365371841" X-IronPort-AV: E=Sophos;i="6.01,231,1684825200"; d="scan'208";a="365371841" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2023 21:59:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10782"; a="756047739" X-IronPort-AV: E=Sophos;i="6.01,231,1684825200"; d="scan'208";a="756047739" Received: from unknown (HELO localhost.localdomain) ([10.226.216.117]) by orsmga008.jf.intel.com with ESMTP; 25 Jul 2023 21:59:14 -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 v4 0/2] Query the RSU SPT table offset to determine RSU page size Date: Wed, 26 Jul 2023 12:57:19 +0800 Message-Id: <cover.1690347245.git.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: INBOX X-GMAIL-THRID: 1772459483001959191 X-GMAIL-MSGID: 1772459483001959191 |
Series |
Query the RSU SPT table offset to determine RSU page size
|
|
Message
Lee, Kah Jing
July 26, 2023, 4:57 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
changelog v2:
- Update the comment on svc COMMAND_MBOX_SEND_CMD
- Update the rsu mailbox cmd ret_val to use already defined ret
changelog v3:
- Check for IS_ERR on stratix10_svc_allocate_memory return
changelog v4:
- Fix checkpatch alignment issue
Radu Bacrau (1):
firmware: stratix10-rsu: query spt addresses
Teh Wen Ping (1):
firmware: stratix10-svc: Generic Mailbox Command
drivers/firmware/stratix10-rsu.c | 102 +++++++++++++++++-
drivers/firmware/stratix10-svc.c | 18 ++++
include/linux/firmware/intel/stratix10-smc.h | 25 +++++
.../firmware/intel/stratix10-svc-client.h | 5 +
4 files changed, 148 insertions(+), 2 deletions(-)
base-commit: 0b5547c51827e053cc754db47d3ec3e6c2c451d2