summary refs log tree commit diff
path: root/drivers/thermal/cpuidle_cooling.c
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2021-01-11 19:18:52 +0800
committerWill Deacon <will@kernel.org>2021-02-01 11:31:17 +0000
commit00ab6f2d61583e072a0cced0420ee1134d853a35 (patch)
tree7cd5d0ba1649f00175dc9c73466a294c393c35b7 /drivers/thermal/cpuidle_cooling.c
parent40596d2f2b6075f6c33180b2f55c814ff4885475 (diff)
downloadlinux-00ab6f2d61583e072a0cced0420ee1134d853a35.tar.gz
iommu/io-pgtable-arm-v7s: Clarify LVL_SHIFT/BITS macro
The current _ARM_V7S_LVL_BITS/ARM_V7S_LVL_SHIFT use a formula to calculate
the corresponding value for level1 and level2 to pretend the code sane.
Actually their level1 and level2 values are different from each other.
This patch only clarify the two macro. No functional change.

Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Link: https://lore.kernel.org/r/20210111111914.22211-12-yong.wu@mediatek.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/thermal/cpuidle_cooling.c')
0 files changed, 0 insertions, 0 deletions