summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2020-05-18 17:16:56 +0300
committerJoerg Roedel <jroedel@suse.de>2020-05-19 15:20:45 +0300
commit5bc1cf1466f635682c3e26eb4179541feeefb1be (patch)
tree6c6e98fce1b38c583b97d0404a7270c7346aff89 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent6a8b55ed4056ea5559ebe4f6a4b247f627870d4c (diff)
downloadlinux-5bc1cf1466f635682c3e26eb4179541feeefb1be.tar.xz
iommu/qcom: add optional 'tbu' clock for TLB invalidate
On some SoCs like MSM8939 with A405 adreno, there is a gfx_tbu clock needs to be on while doing TLB invalidate. Otherwise, TLBSYNC status will not be correctly reflected, causing the system to go into a bad state. Add it as an optional clock, so that platforms that have this clock can pass it over DT. While adding the third clock, let's switch to bulk clk API to simplify the enable/disable calls. clk_bulk_get() cannot used because the existing two clocks are required while the new one is optional. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20200518141656.26284-1-shawn.guo@linaro.org Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions