diff options
author | Shawn Guo <[email protected]> | 2021-05-09 10:26:07 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-06-08 11:03:09 +0100 |
commit | a51627c5df58480543b0feefbde27d622a49361f (patch) | |
tree | d030e1105b66cc8b6f0f187ffb9c7e139625bdd9 /lib/mpi/mpi-sub-ui.c | |
parent | c4681547bcce777daf576925a966ffa824edd09d (diff) |
iommu/arm-smmu-qcom: hook up qcom_smmu_impl for ACPI boot
The hookup with qcom_smmu_impl is required to do ACPI boot on SC8180X
based devices like Lenovo Flex 5G laptop and Microsoft Surface Pro X.
Define acpi_platform_list for these platforms and match them using
acpi_match_platform_list() call, and create qcom_smmu_impl accordingly.
(np == NULL) is used to check ACPI boot, because fwnode of SMMU device
is a static allocation and thus helpers like has_acpi_companion() don't
work here.
Signed-off-by: Shawn Guo <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions