qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-6.2 16/43] target/xtensa: Implement do_unaligned_access f


From: Richard Henderson
Subject: Re: [PATCH for-6.2 16/43] target/xtensa: Implement do_unaligned_access for user-only
Date: Thu, 29 Jul 2021 08:22:33 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 7/29/21 4:55 AM, Peter Maydell wrote:
On Thu, 29 Jul 2021 at 02:03, Richard Henderson
<richard.henderson@linaro.org> wrote:

Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  target/xtensa/cpu.c    |  2 +-
  target/xtensa/helper.c | 30 +++++++++++++++---------------
  2 files changed, 16 insertions(+), 16 deletions(-)

The xtensa kernel has a CONFIG_XTENSA_UNALIGNED_USER option to
make the kernel silently fix up unaligned userspace accesses,
and most of the defconfigs for xtensa set it to 'y'.

I believe the load/store-exclusive instructions should still fault.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]