[Stable-5.4][PATCH 1/3] arm64: Introduce a way to disable the 32bit vdso

2020-07-15 Thread Marc Zyngier
Commit 97884ca8c2925d14c32188e865069f21378b4b4f upstream. [this is a redesign rather than a backport] 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,

Re: [PATCH 1/3] arm64: Introduce a way to disable the 32bit vdso

2020-07-02 Thread Mark Rutland
On Wed, Jul 01, 2020 at 05:18:22PM +0100, Marc Zyngier wrote: > 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

[PATCH 1/3] arm64: Introduce a way to disable the 32bit vdso

2020-07-01 Thread Marc Zyngier
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