Re: [Qemu-devel] [PATCH v2 22/27] target/arm: Implement pauth_addpac

2019-01-07 Thread Richard Henderson
On 1/7/19 11:31 PM, Peter Maydell wrote: >> +/* Preserve the determination between upper and lower at bit 55, >> + * and insert pointer authentication code. >> + */ >> +if (param.tbi) { >> +ptr &= ~MAKE_64BIT_MASK(bot_bit, 55 - bot_bit + 1); >> +pac &= MAKE_64BIT_MAS

Re: [Qemu-devel] [PATCH v2 22/27] target/arm: Implement pauth_addpac

2019-01-07 Thread Peter Maydell
On Fri, 14 Dec 2018 at 05:24, Richard Henderson wrote: > > This is not really functional yet, because the crypto is not yet > implemented. This, however follows the AddPAC pseudo function. > > Signed-off-by: Richard Henderson > --- > target/arm/helper-a64.c | 40

[Qemu-devel] [PATCH v2 22/27] target/arm: Implement pauth_addpac

2018-12-13 Thread Richard Henderson
This is not really functional yet, because the crypto is not yet implemented. This, however follows the AddPAC pseudo function. Signed-off-by: Richard Henderson --- target/arm/helper-a64.c | 40 +++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git