qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 04/13] s390x/tcg: check for addressing exceptions for RRBE


From: Thomas Huth
Subject: Re: [PATCH v3 04/13] s390x/tcg: check for addressing exceptions for RRBE, SSKE and ISKE
Date: Mon, 6 Sep 2021 12:06:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

On 03/09/2021 17.55, David Hildenbrand wrote:
Let's replace the ram_size check by a proper physical address space
check (for example, to prepare for memory hotplug), trigger addressing
exceptions and trace the return value of the storage key getter/setter.

Provide an helper mmu_absolute_addr_valid() to be used in other context
soon. Always test for "read" instead of "write" as we are not actually
modifying the page itself.

Signed-off-by: David Hildenbrand <david@redhat.com>
---
  target/s390x/helper.h         |  6 +++---
  target/s390x/mmu_helper.c     |  8 ++++++++
  target/s390x/s390x-internal.h |  1 +
  target/s390x/tcg/mem_helper.c | 36 ++++++++++++++++++++++-------------
  4 files changed, 35 insertions(+), 16 deletions(-)

Acked-by: Thomas Huth <thuth@redhat.com>




reply via email to

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