Re: [Qemu-devel] [PATCH v4 2/4] linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI

2019-04-30 Thread Richard Henderson
On 4/30/19 3:40 AM, Peter Maydell wrote: > On Mon, 29 Apr 2019 at 21:13, Richard Henderson > wrote: >> >> On 4/29/19 9:21 AM, Peter Maydell wrote: >>> This looks ok code-wise, but we'd need to hide it behind >>> a defaults-to-off x-something property if we wanted to >>> commit it before the kernel

Re: [Qemu-devel] [PATCH v4 2/4] linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI

2019-04-30 Thread Peter Maydell
On Mon, 29 Apr 2019 at 21:13, Richard Henderson wrote: > > On 4/29/19 9:21 AM, Peter Maydell wrote: > > This looks ok code-wise, but we'd need to hide it behind > > a defaults-to-off x-something property if we wanted to > > commit it before the kernel ABI is fixed. > > I'm not intending to change

Re: [Qemu-devel] [PATCH v4 2/4] linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI

2019-04-29 Thread Richard Henderson
On 4/29/19 9:21 AM, Peter Maydell wrote: > This looks ok code-wise, but we'd need to hide it behind > a defaults-to-off x-something property if we wanted to > commit it before the kernel ABI is fixed. I'm not intending to change the user-level abi, only the internal abi within qemu, for handling o

Re: [Qemu-devel] [PATCH v4 2/4] linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI

2019-04-29 Thread Peter Maydell
On Sat, 30 Mar 2019 at 00:59, Richard Henderson wrote: > > There is agreement that there will be a mmap/mprotect bit, > although no word yet on the value or the name. Invent a > name to make forward progress. > > The PAGE_TARGET_1 bit, is qemu internal, and allows the > target something to query

[Qemu-devel] [PATCH v4 2/4] linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI

2019-03-29 Thread Richard Henderson
There is agreement that there will be a mmap/mprotect bit, although no word yet on the value or the name. Invent a name to make forward progress. The PAGE_TARGET_1 bit, is qemu internal, and allows the target something to query from the guest page tables. Signed-off-by: Richard Henderson ---