]> git.baikalelectronics.ru Git - kernel.git/commit
soc: qcom-geni-se: Cleanup the code to remove proxy votes
authorRoja Rani Yarubandi <rojay@codeaurora.org>
Wed, 24 Mar 2021 10:18:35 +0000 (15:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Mar 2021 14:16:05 +0000 (15:16 +0100)
commitf52a6271b29f41225218a3ccd052ef954d1b3bbb
tree7c70b70799ea5ea786f29919a7df23d87384e1bb
parent4f0be5a267ce1c80d673727864ba230cec2dd40b
soc: qcom-geni-se: Cleanup the code to remove proxy votes

This reverts commit b622b16743f1 ("soc: qcom-geni-se: Add interconnect
support to fix earlycon crash")

ICC core and platforms drivers supports sync_state feature, which
ensures that the default ICC BW votes from the bootloader is not
removed until all it's consumers are probes.

The proxy votes were needed in case other QUP child drivers
I2C, SPI probes before UART, they can turn off the QUP-CORE clock
which is shared resources for all QUP driver, this causes unclocked
access to HW from earlycon.

Given above support from ICC there is no longer need to maintain
proxy votes on QUP-CORE ICC node from QUP wrapper driver for early
console usecase, the default votes won't be removed until real
console is probed.

Cc: stable@vger.kernel.org
Fixes: c18ced9e1f85 ("interconnect: qcom: Ensure that the floor bandwidth value is enforced")
Fixes: eb72fdbfe2c5 ("interconnect: qcom: Use icc_sync_state")
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lore.kernel.org/r/20210324101836.25272-2-rojay@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/soc/qcom/qcom-geni-se.c
drivers/tty/serial/qcom_geni_serial.c
include/linux/qcom-geni-se.h