]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbfa5d73ca81412bb6ff450da97277cdffeb0a64e
treecbc1a45963c89449e96593cd82b0bfeec989cbb8
parent7b935181c92e7eef02d9892d34e6ffaad33e841f
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