Re: [RFC PATCH v2 07/26] KVM: arm64: Introduce a BSS section for use at Hyp

2021-02-01 Thread Will Deacon
On Fri, Jan 08, 2021 at 12:15:05PM +, Quentin Perret wrote: > Currently, the hyp code cannot make full use of a bss, as the kernel > section is mapped read-only. > > While this mapping could simply be changed to read-write, it would > intermingle even more the hyp and kernel state than they

[RFC PATCH v2 07/26] KVM: arm64: Introduce a BSS section for use at Hyp

2021-01-08 Thread Quentin Perret
Currently, the hyp code cannot make full use of a bss, as the kernel section is mapped read-only. While this mapping could simply be changed to read-write, it would intermingle even more the hyp and kernel state than they currently are. Instead, introduce a __hyp_bss section, that uses reserved