Tuan Phan
b7f8779fe1
OvmfPkg/RiscVVirt: Disable Svpbmt extension
...
Disable Svpbmt extension as QEMU not enables it in default config.
Cc: Andrei Warkentin <andrei.warkentin@intel.com >
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Gerd Hoffmann <kraxel@redhat.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Sunil V L <sunilvl@ventanamicro.com >
Signed-off-by: Tuan Phan <tphan@ventanamicro.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-04-08 05:43:59 +00:00
Sunil V L
ebf378a1ad
OvmfPkg/RiscVVirt: Override Sstc extension
...
Override Sstc extension and use SBI calls itself by default for RISC-V
qemu virt platform.
Cc: Andrei Warkentin <andrei.warkentin@intel.com >
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Gerd Hoffmann <kraxel@redhat.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Laszlo Ersek <lersek@redhat.com >
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com >
2024-01-11 12:07:42 +00:00
Dhaval
b1f33cbf81
OvmfPkg/RiscVVirt: Override for RISC-V CPU Features
...
This PCD provides a way for platform to override any
HW features that are default enabled by previous stages
of FW (like OpenSBI). For the case where previous/prev
stage has disabled the feature, this override is not
useful and its usage should be avoided.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Cc: Gerd Hoffmann <kraxel@redhat.com >
Cc: Sunil V L <sunilvl@ventanamicro.com >
Cc: Andrei Warkentin <andrei.warkentin@intel.com >
Cc: Laszlo Ersek <lersek@redhat.com >
Cc: Pedro Falcato <pedro.falcato@gmail.com >
Signed-off-by: Dhaval Sharma <dhaval@rivosinc.com >
Acked-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Andrei Warkentin <andrei.warkentin@...>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2023-12-19 12:48:14 +00:00
Pierre Gondois
2f981bddcb
MdeModulePkg: Duplicate BaseRngLibTimerLib to MdeModulePkg
...
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4504
The BaseRngLibTimerLib allows to generate number based on a timer.
This mechanism allows to have a basic non-secure implementation
for non-production platforms.
To bind and identify Random Number Generators implementations with
a GUID, an unsafe GUID should be added. This GUID cannot be added
to the MdePkg unless it is also added to a specification.
To keep the MdePkg self-contained, copy the BaseRngLibTimerLib to
the MdeModulePkg. This will allow to define an unsafe Rng GUID
in a later patch in the MdeModulePkg.
The MdePkg implementation will be removed later. This allows to give
some time to platform owners to switch to the MdeModulePkg
implementation.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com >
Acked-by: Ard Biesheuvel <ardb@kernel.org >
Tested-by: Kun Qin <kun.qin@microsoft.com >
2023-09-08 09:48:55 +00:00
Tuan Phan
f220dcbba8
UefiCpuPkg: RISC-V: Support MMU with SV39/48/57 mode
...
During CpuDxe initialization, MMU will be setup with the highest
mode that HW supports.
Signed-off-by: Tuan Phan <tphan@ventanamicro.com >
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2023-07-15 14:10:18 +00:00
Sunil V L
92b27c2e6a
OvmfPkg/RiscVVirt: Add build files for Qemu Virt platform
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4076
Add infrastructure files to build edk2 for RISC-V qemu virt machine.
- It follows PEI less design.
- EDK2 for qemu virt is booted in S-mode as a payload for M-mode FW
- Leveraged from ArmVirtQemu
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Cc: Gerd Hoffmann <kraxel@redhat.com >
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com >
Acked-by: Abner Chang <abner.chang@amd.com >
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com >
Acked-by: Ard Biesheuvel <ardb@kernel.org >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2023-02-16 05:53:28 +00:00