diff options
author | Georgi Djakov <[email protected]> | 2024-07-03 18:07:59 -0700 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-07-04 13:33:10 +0100 |
commit | 0b4eeee2876f2b08442eb32081451bf130e01a4c (patch) | |
tree | 769678139d8e648231662872d9026285f6bb70ae /lib/test_printf.c | |
parent | 25c776dd03b3e3ee16ad3402feabe20d811c7cb2 (diff) |
iommu/arm-smmu-qcom: Register the TBU driver in qcom_smmu_impl_init
Currently the TBU driver will only probe when CONFIG_ARM_SMMU_QCOM_DEBUG
is enabled. The driver not probing would prevent the platform to reach
sync_state and the system will remain in sub-optimal power consumption
mode while waiting for all consumer drivers to probe. To address this,
let's register the TBU driver in qcom_smmu_impl_init(), so that it can
probe, but still enable its functionality only when the debug option in
Kconfig is enabled.
Reported-by: Dmitry Baryshkov <[email protected]>
Closes: https://lore.kernel.org/r/CAA8EJppcXVu72OSo+OiYEiC1HQjP3qCwKMumOsUhcn6Czj0URg@mail.gmail.com
Fixes: 414ecb030870 ("iommu/arm-smmu-qcom-debug: Add support for TBUs")
Signed-off-by: Georgi Djakov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions