ACPI / tables: Add IORT to injectable table list
authorShunyong Yang <shunyong.yang@hxt-semitech.com>
Tue, 6 Feb 2018 06:37:12 +0000 (14:37 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Feb 2018 10:06:48 +0000 (11:06 +0100)
commit890674343bb2d546825f713542b1e199f0728732
treecbc1a45963c89449e96593cd82b0bfeec989cbb8
parent1a9a126b5098160ca934a352617e9e65dbfa679d
ACPI / tables: Add IORT to injectable table list

Loading IORT table from initrd can be used to fix severe firmware
IORT defects temporarily before platform/BIOS vendor releases an
upgraded BIOS binary.

Moreover, it is very powerful to debug SMMU node/device probe, MSI
allocation, stream id translation and IORT table from firmware.

It is also very useful to enable SMMU and devices behind SMMU before
firmware is ready.

This patch adds ACPI_SIG_IORT to the table, which enables IORT
from initrd to override which from firmware.

Signed-off-by: Yang Shunyong <shunyong.yang@hxt-semitech.com>
Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/tables.c