[PATCH v5 20/29] acpi: Add support for DMAR

Bin Meng bmeng.cn at gmail.com
Thu Apr 16 08:17:15 CEST 2020


On Thu, Apr 9, 2020 at 6:58 AM Simon Glass <sjg at chromium.org> wrote:
>
> The DMA Remapping Reporting (DMAR) table contains information about DMA
> remapping.
>
> Add a version simple version of this table with only the minimum fields
> filled out. i.e. no entries.
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v5:
> - Add #ifndef CONFIG_SANDBOX to maintain bisectability without merging patches
>
> Changes in v4:
> - Drop ASL_REVISION
>
> Changes in v3:
> - Make use of BIT()
> - Fix DMA_ typo
> - Add missing error check in acpi_create_dmar()
> - Drop duplicate assert
>
> Changes in v2:
> - Drop two unnecessary __packed
> - Move __packed to after struct
>
>  include/acpi/acpi_table.h | 54 +++++++++++++++++++++++++++++++++++++++
>  lib/acpi/acpi_table.c     | 31 ++++++++++++++++++++++
>  test/dm/acpi.c            | 16 ++++++++++++
>  3 files changed, 101 insertions(+)
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list