diff options
author | Phil Noh <Phil.Noh@amd.com> | 2025-04-08 15:10:34 -0500 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-04-17 08:15:14 +0000 |
commit | 1f6c875d3711b11115c68b2a5619579ebc429483 (patch) | |
tree | 82ddf4419f6a6c4dc2866785c66946da815af0b0 /UefiPayloadPkg | |
parent | c2d8e9236787270384bab6af9d9db0071468e9e5 (diff) | |
download | edk2-master.tar.gz edk2-master.tar.bz2 edk2-master.zip |
Improve OpalDriverGetDriverDeviceName function that gets device name
through the component name protocol. Currently the function searches for
all handles (as controller handle) to find the right GetControllerName
service for the child handle. The update improves the way to get device
name and supports better performance (e.g. 1681(μs) -> 3(μs) for 1 NVMe
device). This can prevent a compatibility issue for GetControllerName
service of some drivers, which is not flexible for handle parameter
information (e.g. it was found that an EFI driver caused an exception
error/hang when GetControllerName service for the driver is called in
OpalDriverGetDeviceNameByProtocol function).
Signed-off-by: Phil Noh <Phil.Noh@amd.com>
Diffstat (limited to 'UefiPayloadPkg')
0 files changed, 0 insertions, 0 deletions