summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-07-06 19:37:59 +0300
committerWill Deacon <will@kernel.org>2020-07-08 23:57:51 +0300
commit97884ca8c2925d14c32188e865069f21378b4b4f (patch)
treeb9ac51db97d88b22b5bb36e8ed35fcbb718e9eb2 /drivers/clocksource
parentb8c1c9fe6a042dfbb169d14ab2000d9163f06d10 (diff)
downloadlinux-97884ca8c2925d14c32188e865069f21378b4b4f.tar.xz
arm64: Introduce a way to disable the 32bit vdso
We have a class of errata (grouped under the ARM64_WORKAROUND_1418040 banner) that force the trapping of counter access from 32bit EL0. We would normally disable the whole vdso for such defect, except that it would disable it for 64bit userspace as well, which is a shame. Instead, add a new vdso_clock_mode, which signals that the vdso isn't usable for compat tasks. This gets checked in the new vdso_clocksource_ok() helper, now provided for the 32bit vdso. Signed-off-by: Marc Zyngier <maz@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20200706163802.1836732-2-maz@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions