From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 207AB9412BC for ; Wed, 1 May 2024 09:46:21 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=w9vz6S54M8qqh327Dqxge9nF1ABJJRYll2a2NShXNs4=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1714556780; v=1; b=aRtXsnWjWWJfri3tQ4k4PzSNG1cbjTLNvp00GcN8pHkb+iN5+kcTWJwC6rZxfpOx90f5bXmJ 2SORMFEh8+89VxnyK/HEuGVdu3frKJJtF5I3MQ+xXVMNllHfEQ4Zeg38T2mxb08EUJk4L+Biw6P gc0iXNnktU2u9u9K8Tqi+yB0nVQ7AvhKuUbZM54R6hIGEfzCI8LvAM2Cln0E4MHbPPhUG4ZtWpk X7Z/mv5ODeeftcybJrxNRM884IlsM+VIVBmfmlBUwJ6g0l0FYHLAOOn9uu+obb4TPBOvPZDHf2S eGjHS4s8yhp5Yi6qufaOPqeVzl28OmjOCUxqSxvXHbcLQ== X-Received: by 127.0.0.2 with SMTP id RTWcYY7687511xgNA3egIzom; Wed, 01 May 2024 02:46:20 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.68]) by mx.groups.io with SMTP id smtpd.web11.8670.1714556779848875267 for ; Wed, 01 May 2024 02:46:20 -0700 X-Received: from LV8PR12MB9452.namprd12.prod.outlook.com (2603:10b6:408:200::8) by MN0PR12MB5835.namprd12.prod.outlook.com (2603:10b6:208:37a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Wed, 1 May 2024 09:46:15 +0000 X-Received: from LV8PR12MB9452.namprd12.prod.outlook.com ([fe80::e006:4173:de2c:aca0]) by LV8PR12MB9452.namprd12.prod.outlook.com ([fe80::e006:4173:de2c:aca0%5]) with mapi id 15.20.7519.031; Wed, 1 May 2024 09:46:15 +0000 From: "Chang, Abner via groups.io" To: "Chesley, Brit" , "devel@edk2.groups.io" CC: Liming Gao , Ray Ni , "Attar, AbdulLateef (Abdul Lateef)" Subject: Re: [edk2-devel] [PATCH 0/5] SPI Driver Stack Thread-Topic: [PATCH 0/5] SPI Driver Stack Thread-Index: AQHamweJowd8mWuolk+xw0puywywkbGCIq+Q Date: Wed, 1 May 2024 09:46:14 +0000 Message-ID: References: <20240430140536.4252-1-brit.chesley@amd.com> In-Reply-To: <20240430140536.4252-1-brit.chesley@amd.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=96f1b05d-d8fc-4f55-8cc7-df1676cd10cf;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2024-05-01T09:45:59Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LV8PR12MB9452:EE_|MN0PR12MB5835:EE_ x-ms-office365-filtering-correlation-id: 823a48b5-43ab-4c18-d6db-08dc69c38aeb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?dgqRSlbaUiiO7/GJAUaxRMcb1m3rKAqsjYSs9i63WB2fuJrbMwt3JcbgHwIg?= =?us-ascii?Q?ptXgSd09e6/m5mSL6DOGLkBqBkRXz8mYtW7zeC8CyDVPLa5dIcG8oPvcONVa?= =?us-ascii?Q?tmzzu75slNO00Cxh/dJ3XoiBp8IA3nkeJbAvIR0JeCyquQvQ+jbbsvwWf2uk?= =?us-ascii?Q?USxvi08RHpJMByHwEjuJWkB8FtBD/2LWjEvgmXm3enUP77MeYZJvCqmT089m?= =?us-ascii?Q?c6K7a7D8CQw6U1Rcj/w1WQL4jw1jF49TsoNeEpcdbiIkdxWFgeNlzVZ7jiq/?= =?us-ascii?Q?klXx1+5atmeDQ1UIkl99CPrf1HB8W+z6ijQKGHptnc4rK52VEh6LFC65lyY6?= =?us-ascii?Q?DfFs9TFHWK8As9h2kCaprkX63fgPhYREgpOFGtZujD+K6vhK6s1/6peTCcTl?= =?us-ascii?Q?R8D8kuUUv6TZQPXPjFYcy1wGxSs2AWhnT0xe6lgY+NvP38grnYUmWPEOnK7+?= =?us-ascii?Q?VLtez0AerYaKaRaslA14Z69aiobq3nrr5aikkUcDCtZM55KyFRYpkoWzhUyn?= =?us-ascii?Q?iT9MYS2P72qMQd1pPTeXhphlmKNsVONqWyt4j1qUWu5NMhqD95YVb42s7Qjy?= =?us-ascii?Q?x27I2imBnx20PlaxF0622oSTUW7gDYFRLzS+aAROPpRbVead/AmyFieu64HP?= =?us-ascii?Q?4FkOT7zy2xUWPLLtqVQ+LcAfTFNXrJAFlyszLKL2/40O1k6zmZJ/dX5Y4/GT?= =?us-ascii?Q?CGWrR+ASBP11o8axWPO4A3euYEqFfh5hqYaA9w0tUeMatKwoMx8uunZTkmza?= =?us-ascii?Q?L06+ADMhZMohwowQfjOv45yYfmftcMZhP9c0duNEPiibIuS5fMWesBmvfkNc?= =?us-ascii?Q?gGeBAHGzO7Uxp1J2uggMn05x9+XhvHg140VxNxlReiOvLJmH6yp2b+nP+NlE?= =?us-ascii?Q?1BS0YCLl03SmjpLV3tqgE0NIyBs0UVBjzquCI2ZstkNCZjYhUbNDIL1Uy5Cx?= =?us-ascii?Q?r8v/+1wsB4SzSc4D1swKh4wPu4lbUTysA68mMKp2mZo1A3p1KG2FZAWYqFn6?= =?us-ascii?Q?cPGvw2Cth2a1BPfbAckwrXm/YWorephBJkKJ8VIGiKespcXmwQR1QkAmZcrP?= =?us-ascii?Q?yioLoJ7cKrbWlIkC9MpjZZRHhizp9SFEF6pXy36vmFbD+tsbmIEqDx/MiMXL?= =?us-ascii?Q?dahe92HFVQBnWdby48r/n2aKmWdciRYKFkeQcxAwlnSi1LNSHe91FaMRznd7?= =?us-ascii?Q?tNL5rCqhNW5CJSeeK4Mj1+TMIgHmMZFHKRiPDvDhZsvXjThjFhPY+cFzECTc?= =?us-ascii?Q?4YnLhQbLbGpb2HwWobhGzn9IclDUkPKe6XFRr0BS+qGKFJsLnEASKrXr2WnA?= =?us-ascii?Q?s72u2dFIvkWbKgMznYfRdDS2uRAAtSOjUaO4xtvHPZVf3w=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/nGZBwDpr5fRaF/7/2op2T4OzYeMXIk8CtnX1PHz+UGUqNGfuOKwagZEeGPG?= =?us-ascii?Q?/7BNbQvwqwbAhjVnoGDckF5D6O+hDeRe0oOoOEPpG26yrP5IVxmmTA3+PgL6?= =?us-ascii?Q?8bmruPysWvbCUfLXxq59TwA/NVnsVt0/2fZwWjz400jkHoa9J5MYEZzhqaWY?= =?us-ascii?Q?1B1q7HpTjnp+Fon9ktDgqYTNTF0OdX42MrK2O/JAHfI3fe0+YkpGMm4XOuNk?= =?us-ascii?Q?RtjscHLlVBhkcLX6VupPHO8nOv2WQL9vvDqoECgeKWAIAudLUPaSVwdcBRi6?= =?us-ascii?Q?cSp75w59nSGztX0+iY+qFBtkvqR6Pbh5tMK7yn/DT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8yGSQ4gRKNbvznEkZ6JKFrxahAwyrsXQ2xKYFq0UzXz/ZqNmLLtx?= =?us-ascii?Q?9EIY03ARDhACV2NhQ41L8Z8ti4jg0FFPN6KrHC/W/jRoE+/tL4xZCjJhbGcs?= =?us-ascii?Q?hlv7VhOkrYKZNYoz8uewc87W08Y3MSkSIU2YdnkyCSl6QII2crqgsDXB8sJn?= =?us-ascii?Q?jaR2GGbLD2O18TL4FOlfymPLVcul0lTgrt95uS7mZZ91Tx+wJj25+qmrR5JR?= =?us-ascii?Q?g/9U/Fap+aPJi/maGzFErK23D0cEUAhTrK1Id3U9roA9J2t6esMlNgl2q2GK?= =?us-ascii?Q?nUknt8jygqeb1b7nXnCm3hdZNkU0oDFShQw1+G73lbqOsfGD9NlqwfZyuwsp?= =?us-ascii?Q?HK4XmeIeQZB6hdKJjHc=3D?= MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LV8PR12MB9452.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 823a48b5-43ab-4c18-d6db-08dc69c38aeb X-MS-Exchange-CrossTenant-originalarrivaltime: 01 May 2024 09:46:14.9414 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: m8W7+1Udu/0Xy2XOY7s3zf+qQf+7b76vp94xypme5W/B21zMeJber4ESrKhSe51UrvjCDS0xTLgXOgwcxa/IUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5835 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 01 May 2024 02:46:20 -0700 Resent-From: abner.chang@amd.com Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: OMAQwpdUGQ9wv5Ge3Oqi68Fxx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=aRtXsnWj; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io [AMD Official Use Only - General] Hi Brit, We have to fix the CI failure. Thanks Abner > -----Original Message----- > From: Chesley, Brit > Sent: Tuesday, April 30, 2024 10:06 PM > To: devel@edk2.groups.io > Cc: Liming Gao ; Ray Ni ; > Chang, Abner ; Attar, AbdulLateef (Abdul Lateef) > > Subject: [PATCH 0/5] SPI Driver Stack > > From: Brit Chesley > > This patchset introduces the SPI driver stack as defined in the Platform > Initialization specification Volume 5 chapter 18 (DXE) and Volume 4 chapt= er > 12 (SMM). The SPI stack decouples the SPI chip details from the SPI > controller and SPI bus configuration details to enable silicon vendors > to write drivers effectively. This patchset also introduces the > SpiHcPlatformLib, which allows for OEMs to handle low level SPI host > controller details while using the generic SPI bus/hc drivers. > > https://github.com/BritChesley/edk2/tree/SpiBusStack > > Cc: Liming Gao > Cc: Ray Ni > Cc: Abner Chang > Cc: Abdul Lateef Attar > > Brit Chesley (5): > MdeModulePkg/Bus/Spi/SpiBus: Adding SpiBus Drivers > MdeModulePkg: Adding SpiBus Drivers > MdeModulePkg:BaseSpiHcPlatformLib: Adding NULL lib instance > MdeModulePkg: SpiHc: SpiHc Drivers > MdeModulePkg: Adding SpiHc Drivers > > MdeModulePkg/MdeModulePkg.dec | 5 + > MdeModulePkg/MdeModulePkg.dsc | 5 + > MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.inf | 42 ++ > MdeModulePkg/Bus/Spi/SpiBus/SpiBusSmm.inf | 42 ++ > MdeModulePkg/Bus/Spi/SpiHc/SpiHcDxe.inf | 46 ++ > MdeModulePkg/Bus/Spi/SpiHc/SpiHcSmm.inf | 44 ++ > .../BaseSpiHcPlatformLibNull.inf | 35 ++ > MdeModulePkg/Bus/Spi/SpiBus/SpiBus.h | 167 +++++++ > MdeModulePkg/Bus/Spi/SpiHc/SpiHc.h | 111 +++++ > .../Include/Library/SpiHcPlatformLib.h | 148 ++++++ > MdeModulePkg/Bus/Spi/SpiBus/SpiBus.c | 433 ++++++++++++++++++ > MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.c | 198 ++++++++ > MdeModulePkg/Bus/Spi/SpiBus/SpiBusSmm.c | 162 +++++++ > MdeModulePkg/Bus/Spi/SpiHc/SpiHc.c | 115 +++++ > MdeModulePkg/Bus/Spi/SpiHc/SpiHcDxe.c | 101 ++++ > MdeModulePkg/Bus/Spi/SpiHc/SpiHcSmm.c | 79 ++++ > .../BaseSpiHcPlatformLibNull.c | 145 ++++++ > MdeModulePkg/Bus/Spi/SpiBus/SpiBus.uni | 10 + > MdeModulePkg/Bus/Spi/SpiHc/SpiHc.uni | 10 + > .../BaseSpiHcPlatformLibNull.uni | 11 + > 20 files changed, 1909 insertions(+) > create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.inf > create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBusSmm.inf > create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHcDxe.inf > create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHcSmm.inf > create mode 100644 > MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull. > inf > create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.h > create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.h > create mode 100644 MdeModulePkg/Include/Library/SpiHcPlatformLib.h > create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.c > create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.c > create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBusSmm.c > create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.c > create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHcDxe.c > create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHcSmm.c > create mode 100644 > MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull. > c > create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.uni > create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.uni > create mode 100644 > MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull. > uni > > -- > 2.42.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118454): https://edk2.groups.io/g/devel/message/118454 Mute This Topic: https://groups.io/mt/105821487/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-