diff options
author | David Hildenbrand <david@redhat.com> | 2019-08-16 10:47:05 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-08-22 14:53:49 +0200 |
commit | 3096ffd3684684a91a9190d3f93c0fc45dd2b856 (patch) | |
tree | 7cbf5391a1355bf94c0833f48e15ac285386639d /linux-user/flat.h | |
parent | c36709e45d5f636bcdf6bfb78f95e27260018ef5 (diff) |
s390x/tcg: Rework MMU selection for instruction fetches
Instructions are always fetched from primary address space, except when
in home address mode. Perform the selection directly in cpu_mmu_index().
get_mem_index() is only used to perform data access, instructions are
fetched via cpu_lduw_code(), which translates to cpu_mmu_index(env, true).
We don't care about restricting the access permissions of the TLB
entries anymore, as we no longer enter PRIMARY entries into the
SECONDARY MMU. Cleanup related code a bit.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190816084708.602-4-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'linux-user/flat.h')
0 files changed, 0 insertions, 0 deletions