
31 Mar
2020
31 Mar
'20
9:34 p.m.
Hi Simon,
-----"Simon Glass" sjg@chromium.org schrieb: -----
Betreff: [PATCH v3 20/29] acpi: Add support for DMAR
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@gmail.com Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3:
- Add missing error check in acpi_create_dmar()
- Drop duplicate assert
- Fix DMA_ typo
- Make use of BIT()
Changes in v2:
- Drop two unnecessary __packed
- Move __packed to after struct
include/acpi/acpi_table.h | 57 +++++++++++++++++++++++++++++++++++++++ lib/acpi/acpi_table.c | 28 +++++++++++++++++++ test/dm/acpi.c | 13 +++++++++ 3 files changed, 98 insertions(+)
Reviewed-by: Wolfgang Wallner wolfgang.wallner@br-automation.com