# US 2017/0255567 A1 · Systems And Methods For Secure Multi-Access Of System Firmware During Pre-Boot

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0255567 A1
- Document ID: US20170255567A1
- Status: Published application
- Kind: A1
- Application number: 15/058,754
- Filed: 2016-03-02
- Published: 2017-09-07
- Earliest claimed: 2016-03-02
- Assignees: Dell Products L.P.
- Inventors: Sumanth Vidyadhara; Vijay B. Nijhawan
- Web page: https://patentgrep.com/patent/US20170255567A1

## CPC

- G06F 12/1081: for peripheral access to main memory, e.g. direct memory access [DMA]
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 13/1668: {Details of memory controller}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 13/42: Bus transfer protocol, e.g. handshake; Synchronisation
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/575: {Secure boot}
- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 2212/1052: Security improvement
- G06F 2221/034: Test or assess a computer or a system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are provided that may be implemented to systems and methods that may be implemented to utilize direct memory access (DMA) remapping to control firmware updates and/or other configuration changes or device access control protocol for devices of an information handling system during the Unified Extensible Firmware Interface (UEFI) pre-boot phase before the booting the operating system (OS). The disclosed systems and methods may use DMA remapping during UEFI pre-boot to determine whether to allow or disallow pre-boot firmware updates and/or device configuration for hardware devices, and may be performed in the presence or absence of UEFI Secure Boot.

## Claims

### Claim 1

An information handling system, comprising:
at least one processing device configured to execute a host operating system (OS); and
at least one given hardware device coupled in data communication with the processing device;
where the processing device is configured to access and utilize stored direct memory access (DMA) remapping information stored in memory of the information handling system to translate a firmware-requested memory address to an actual hardware IO device address for the given hardware device coupled to the processing device to perform a requested firmware update or other requested device access control protocol for the given hardware device prior to loading a host operating system (OS) for the information handling system.

### Claim 2 (depends on 1)

The system of claim 1, where the stored DMA remapping information includes a translation between the firmware-requested memory address and an actual hardware IO device address for the given hardware device within a system memory of the information handling system; and where the processing device is further configured to perform the following steps prior to loading the host OS:
receive an access request for the firmware update or other device access control protocol for the given hardware device and a firmware-requested memory address associated with the access request;
respond to the access request by accessing the stored DMA remapping information; and
use the DMA remapping information to translate the firmware-requested memory address to the actual hardware IO device address for the given hardware device to perform the requested firmware update or other requested device access control protocol for the given hardware device.

### Claim 3 (depends on 2)

The system of claim 2, where the processing device is further configured to perform the following steps prior to loading the host OS:
respond to the access request by accessing stored direct memory access (DMA) remapping information to determine if the given hardware device has been assigned a translation between a firmware-requested memory address and actual hardware IO device address for the given hardware device within the system memory of the information handling system; and then:
not access the system memory to perform the requested firmware update or other requested device access control protocol for the given hardware device if the given hardware device has not been assigned a translation between a firmware-requested memory address and actual hardware IO device address for the given hardware device; and
use the DMA remapping information to translate the firmware-requested memory address to the actual hardware IO device address to access the system memory to perform the requested firmware update or other requested device access control protocol for the given hardware device if the given hardware device has been assigned a translation between a firmware-requested memory address and actual hardware IO device address for the given hardware device.

### Claim 4 (depends on 1)

The system of claim 1, where the processing device is further configured to access and utilize stored direct memory access (DMA) remapping information to translate the firmware-requested memory address to an actual hardware IO device address for the given hardware device and to perform the requested firmware update or other requested device access control protocol for the given hardware device during a Driver Execution Environment (DXE) phase of Unified Extensible Firmware Interface (UEFI) pre-boot environment executing on the processing device.

### Claim 5 (depends on 1)

The system of claim 1, where the given hardware device comprises at least one of a basic input/output system (BIOS) flash memory device, non-volatile dual inline memory module (NVDIMM), volatile dual inline memory module (DIMM) device, power supply unit (PSU), complex programmable logic device (CPLD), or Peripheral Component Interconnect Express (PCIe) device.

### Claim 6 (depends on 1)

The system of claim 1, where the processing device is further configured to identify the presence of hardware devices coupled in data communication with the processing device and including the given hardware device during manufacture or assembly of the information handling system; and to then create DMA mapping for the identified hardware devices to control access to the identified hardware devices prior to loading the host OS.

### Claim 7 (depends on 6)

The system of claim 6, where the processing device is further configured to register each identified hardware device including coupled in data communication with the processing device and including the given hardware device; and to use the created DMA mapping to assign the DMA remapping information to translate a firmware-requested memory address to an actual hardware IO device address to control attempted accesses to the each identified hardware device.

### Claim 8 (depends on 1)

The system of claim 1, where the processing device is further configured to use the processing device during a UEFI non-Secure Boot pre-boot environment executing on the processing device to employ the DMA remapping information to prevent an attempted access to a particular hardware device when the attempted access does not provide a correct DMA address translation for the particular hardware device.

### Claim 9 (depends on 1)

The system of claim 1, where the processing device is further configured to process the requested firmware update or other requested device access control protocol using firmware management protocol (FMP) executing on the at least one processing device.

### Claim 10 (depends on 1)

The system of claim 1, where the processing device is coupled in data communication with the given hardware device through a host bridge of the information handling system.

### Claim 11

A method, comprising using at least one processing device of an information handling system to access and utilize stored direct memory access (DMA) remapping information to translate a firmware-requested memory address to an actual hardware IO device address for a given hardware device coupled to the processing device to perform a requested firmware update or other requested device access control protocol for the given hardware device prior to loading a host operating system (OS) for the information handling system.

### Claim 12 (depends on 11)

The method of claim 11, where the stored DMA remapping information includes a translation between the firmware-requested memory address and an actual hardware IO device address for the given hardware device within a system memory of the information handling system; and where the method further comprises using the processing device to perform the following steps prior to loading the host OS:
receiving an access request for the firmware update or other device access control protocol for the given hardware device and a firmware-requested memory address associated with the access request;
responding to the access request by accessing the stored DMA remapping information; and
using the DMA remapping information to translate the firmware-requested memory address to the actual hardware IO device address for the given hardware device to perform the requested firmware update or other requested device access control protocol for the given hardware device.

### Claim 13 (depends on 12)

The method of claim 12, further comprising performing the following steps prior to loading an operating system (OS):
responding to the access request by accessing stored direct memory access (DMA) remapping information to determine if the given hardware device has been assigned a translation between a firmware-requested memory address and actual hardware IO device address for the given hardware device within the system memory of the information handling system; and then:
not accessing the system memory to perform the requested firmware update or other requested device access control protocol for the given hardware device if the given hardware device has not been assigned a translation between a firmware-requested memory address and actual hardware IO device address for the given hardware device; and
using the DMA remapping information to translate the firmware-requested memory address to the actual hardware IO device address to access the system memory to perform the requested firmware update or other requested device access control protocol for the given hardware device if the given hardware device has been assigned a translation between a firmware-requested memory address and actual hardware IO device address for the given hardware device.

### Claim 14 (depends on 11)

The method of claim 11, further comprising using the processing device to access and utilize stored direct memory access (DMA) remapping information to translate the firmware-requested memory address to an actual hardware IO device address for the given hardware device and to perform the requested firmware update or other requested device access control protocol for the given hardware device during a Driver Execution Environment (DXE) phase of Unified Extensible Firmware Interface (UEFI) pre-boot environment executing on the processing device.

### Claim 15 (depends on 11)

The method of claim 11, where the given hardware device comprises at least one of a basic input/output system (BIOS) flash memory device, non-volatile dual inline memory module (NVDIMM), volatile dual inline memory module (DIMM) device, power supply unit (PSU), complex programmable logic device (CPLD), or Peripheral Component Interconnect Express (PCIe) device.

### Claim 16 (depends on 11)

The method of claim 11, further comprising using the processing device to identify the presence of hardware devices including the given hardware device during manufacture or assembly of the information handling system; and to then create DMA mapping for the identified hardware devices to control access to the identified hardware devices prior to loading the host OS.

### Claim 17 (depends on 16)

The method of claim 16, further comprising using the processing device to register each identified hardware device including the given hardware device with the created DMA mapping for the identified hardware device; and to use the created DMA mapping to assign the DMA remapping information to translate a firmware-requested memory address to an actual hardware IO device address to control attempted accesses to the each identified hardware device.

### Claim 18 (depends on 11)

The method of claim 11, further comprising using the processing device during a UEFI non-Secure Boot pre-boot environment executing on the processing device to employ the DMA remapping information to prevent an attempted access to a particular hardware device when the attempted access does not provide a correct DMA address translation for the particular hardware device.

### Claim 19 (depends on 11)

The method of claim 11, further comprising further comprising using the processing device to process the requested firmware update or other requested device access control protocol through firmware management protocol (FMP) executing on the at least one processing device.

### Claim 20 (depends on 11)

The method of claim 11, where the processing device is coupled in data communication with the given hardware device through a host bridge of the information handling system.
