Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Step:FrontRunner
ovmf
ovmf-MdeModulePkg-NvmExpressPei-fix-check-for-N...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ovmf-MdeModulePkg-NvmExpressPei-fix-check-for-NVM-command.patch of Package ovmf
From 69218d5d2854acaa7a11c777244de4a297d2fbb9 Mon Sep 17 00:00:00 2001 From: "Mara Sophie Grosch via groups.io" <littlefox=lf-net.org@groups.io> Date: Wed, 23 Mar 2022 18:22:34 +0800 Subject: [PATCH] MdeModulePkg/NvmExpressPei: fix check for NVM command set Previous commit fixed that check in DXE, this one now for PEI. Signed-off-by: Mara Sophie Grosch <littlefox@lf-net.org> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Acked-by: Lee, Chun-Yi <jlee@suse.com> --- MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c b/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c index ac956bdce4..bff5cfd0d5 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c +++ b/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c @@ -571,7 +571,7 @@ NvmeControllerInit ( // Read the controller Capabilities register and verify that the NVM command set is supported // NVME_GET_CAP (Private, &Private->Cap); - if (Private->Cap.Css != 0x01) { + if ((Private->Cap.Css & BIT0) == 0) { DEBUG ((DEBUG_ERROR, "%a: The NVME controller doesn't support NVMe command set.\n", __FUNCTION__)); return EFI_UNSUPPORTED; } -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor