s390x/mmu: Factor out storage key handling
commit065fe80fe03ff0f36a0cbebbd2d4b3c05110d96d
authorDavid Hildenbrand <david@redhat.com>
Fri, 16 Aug 2019 08:47:08 +0000 (16 10:47 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 22 Aug 2019 12:53:49 +0000 (22 14:53 +0200)
treea74aca0a19ec58439183e1350166d1cbbbbf554b
parent2d3bb388ad93dce9a9454af67f43d3aaaa5b9b1a
s390x/mmu: Factor out storage key handling

Factor it out, add a comment how it all works, and also use it in the
REAL MMU.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190816084708.602-7-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/mmu_helper.c