ACPI/IORT: Add a helper to retrieve RMR info directly
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Wed, 15 Jun 2022 10:10:40 +0000 (11:10 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 6 Jul 2022 10:51:11 +0000 (12:51 +0200)
commite302eea8f49717253ac64fd45b7cc719e87fa010
treeb92a0df7c1babba47912b3cd8e128b39ee08ef02
parent491cf4a6735a957cd0733365f8d17e0f4308f5a4
ACPI/IORT: Add a helper to retrieve RMR info directly

This will provide a way for SMMU drivers to retrieve StreamIDs
associated with IORT RMR nodes and use that to set bypass settings
for those IDs.

Tested-by: Steven Price <steven.price@arm.com>
Tested-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Tested-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20220615101044.1972-6-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/acpi/arm64/iort.c
include/linux/acpi_iort.h