From: Cornelia Huck <cohuck@redhat.com>
To: David Hildenbrand <david@redhat.com>
Cc: qemu-s390x@nongnu.org, qemu-devel@nongnu.org,
Richard Henderson <rth@twiddle.net>,
Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH v1] s390x/tcg: fix disabling/enabling DAT
Date: Tue, 13 Feb 2018 18:57:45 +0100 [thread overview]
Message-ID: <20180213185745.6f695120.cohuck@redhat.com> (raw)
In-Reply-To: <20180213161240.19891-1-david@redhat.com>
On Tue, 13 Feb 2018 17:12:40 +0100
David Hildenbrand <david@redhat.com> wrote:
> Currently, all memory accesses go via the MMU of the address space
> (primary, secondary, ...). This is bad, because we don't flush the TLB
> when disabling/enabling DAT. So we could add a tlb flush. However it
> is easier to simply select the MMU we already have in place for real
> memory access.
>
> All we have to do is point at the right MMU and allow to execute these
> pages.
>
> Signed-off-by: David Hildenbrand <david@redhat.com>
> ---
>
> This is necessary to make the upcomming kvm-unit-tests with vmalloc support
> pass under TCG.
>
> target/s390x/cpu.h | 7 ++++++-
> target/s390x/mmu_helper.c | 2 +-
> target/s390x/translate.c | 10 +++++++---
> 3 files changed, 14 insertions(+), 5 deletions(-)
Thanks, applied (with tabs removed).
prev parent reply other threads:[~2018-02-13 17:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-13 16:12 [Qemu-devel] [PATCH v1] s390x/tcg: fix disabling/enabling DAT David Hildenbrand
2018-02-13 16:24 ` Richard Henderson
2018-02-13 16:31 ` no-reply
2018-02-13 17:47 ` Cornelia Huck
2018-02-13 17:57 ` Cornelia Huck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180213185745.6f695120.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=agraf@suse.de \
--cc=david@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.