From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id DDD9BAC0855 for ; Wed, 7 Feb 2024 01:29:27 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=I7Dg/4jI+b87P68JbGfG0JpEbAxwA3B9XN8/aH31GzA=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1707269366; v=1; b=Cel+7WIdP7sEag+yfM9Ukc4ciz9eQPwkUio1T1Q1W8H0uXMGGeiOsN5ZP4ttEeEg8MZPNpm+ sxaM9hoQZXBrkcddfFRa31c5BfPgx7azh/NHF49u6RpxDOh+3PaSawRStLOfhZ1l5ztSqgDtXOQ 6Y8+ldkasyYIuWO7r/hUwN40= X-Received: by 127.0.0.2 with SMTP id pA3LYY7687511x9d1VI2aDqi; Tue, 06 Feb 2024 17:29:26 -0800 X-Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web10.10820.1707269365404309549 for ; Tue, 06 Feb 2024 17:29:25 -0800 X-Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e04e7b687bso99956b3a.0 for ; Tue, 06 Feb 2024 17:29:25 -0800 (PST) X-Gm-Message-State: BfSvFZ85ybgbHaUATaMwfwDUx7686176AA= X-Google-Smtp-Source: AGHT+IGh+bDdDSIkhoeJ9OIIs3sIr4lSgYrjjm076MvShCtj2HqyjfhMCBDQ566aKjuFZR0ZB8u48A== X-Received: by 2002:a05:6a00:1a90:b0:6e0:49fc:d379 with SMTP id e16-20020a056a001a9000b006e049fcd379mr1502770pfv.12.1707269364590; Tue, 06 Feb 2024 17:29:24 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVpR5kO3WkDDTnjZvugqRM9n2vH1bJEXQJ4gQD6RlrN4byxocAPGOi/Rc0no0h7S982j23DrKO1uTq95e0QCas9TnJyFVZpyZDrapmfX2M5oDih6bCM4D4K5nb9nLTwvdAniUlQTg8DOAAOQehUT3etgUFUXNRmAGU4UjYesppkzLU1ZTh9yjEUsoKEXtnmep545FSrn+dxHIYwA+nFLUUgSEcm58rn4QwXosKk1T1fDiD7jOoD2aVCoo77BjKUUJAvlBeZKJKgpGpqh927+k7wbwOBnndc/fxmks7Cfmi26Da/PsIdg8pQ3x1k1ePwgVALkg3HYuy0UW2ZHZohEvhEBohZMDh7y7sxZTEy6+hYbbC3JRs8m5t9+LQIpiTe4HWaNravI4gS3KW11C5R9Ao= X-Received: from localhost.localdomain (52.sub-174-249-152.myvzw.com. [174.249.152.52]) by smtp.gmail.com with ESMTPSA id c9-20020a6566c9000000b005d748902a01sm112903pgw.43.2024.02.06.17.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 17:29:24 -0800 (PST) From: "Tuan Phan" To: devel@edk2.groups.io Cc: michael.d.kinney@intel.com, gaoliming@byosoft.com.cn, zhiguang.liu@intel.com, kraxel@redhat.com, lersek@redhat.com, rahul1.kumar@intel.com, ray.ni@intel.com, sunilvl@ventanamicro.com, jiewen.yao@intel.com, andrei.warkentin@intel.com, ardb+tianocore@kernel.org, Tuan Phan Subject: [edk2-devel] [PATCH v2 0/3] RISC-V: Support Svpbmt extension Date: Tue, 6 Feb 2024 17:29:07 -0800 Message-Id: <20240207012910.2133-1-tphan@ventanamicro.com> MIME-Version: 1.0 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 Reply-To: devel@edk2.groups.io,tphan@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Cel+7WId; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This patchset adds support for RISC-V Svpbmt extension. The GCD EFI_MEMORY_UC and EFI_MEMORY_WC attributes will be mapped to IO and NC mode defined in PBMT field. v2: - Generated patch for each package. Tuan Phan (3): MdePkg.dec: RISC-V: Define override bit for Svpbmt extension UefiCpuPkg: RISC-V: MMU: Support Svpbmt extension OvmfPkg/RiscVVirt: Override Svpbmt extension MdePkg/MdePkg.dec | 2 ++ OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc | 2 +- .../Library/BaseRiscVMmuLib/BaseRiscVMmuLib.c | 25 ++++++++++++++++++- .../BaseRiscVMmuLib/BaseRiscVMmuLib.inf | 1 + 4 files changed, 28 insertions(+), 2 deletions(-) -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115216): https://edk2.groups.io/g/devel/message/115216 Mute This Topic: https://groups.io/mt/104211191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-