From: Marc Zyngier <maz@kernel.org>
To: Zenghui Yu <yuzenghui@huawei.com>,
Richard Henderson <richard.henderson@linaro.org>
Cc: <qemu-devel@nongnu.org>, <qemu-arm@nongnu.org>
Subject: Re: [PATCH] target/arm: Use the max page size in a 2-stage ptw
Date: Wed, 28 Sep 2022 07:52:58 +0100 [thread overview]
Message-ID: <874jwshtx1.wl-maz@kernel.org> (raw)
In-Reply-To: <06d21135-7114-a848-1a49-d0aec16597a8@huawei.com>
On Wed, 28 Sep 2022 05:34:53 +0100,
Zenghui Yu <yuzenghui@huawei.com> wrote:
>
> [ Fix Marc's email address ]
Ah, many thanks Zenghui! I was wondering whether my discussion with
Richard had any result. As it turns out, it had an almost immediate
result!
>
> On 2022/9/13 21:56, Richard Henderson wrote:
> > We had only been reporting the stage2 page size. This causes
> > problems if stage1 is using a larger page size (16k, 2M, etc),
> > but stage2 is using a smaller page size, because cputlb does
> > not set large_page_{addr,mask} properly.
> >
> > Fix by using the max of the two page sizes.
> >
> > Reported-by: Marc Zyngier <marc.zyngier@arm.com>
This is no longer a thing (and hasn't been for over 3 years! ;-).
maz@kernel.org is the canonical address.
> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> > ---
> >
> > Hi Mark, I think this will fix the issue that you mentioned on Monday.
> > It certainly appears to fit the bill vs the described symptoms.
> >
> > This is based on my ptw.c rewrite, full tree at
> >
> > https://gitlab.com/rth7680/qemu/-/tree/tgt-arm-rme
> >
> > Based-on: 20220822152741.1617527-1-richard.henderson@linaro.org
> > ("[PATCH v2 00/66] target/arm: Implement FEAT_HAFDBS")
Thanks Richard. I'll try and give it a spin shortly.
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
prev parent reply other threads:[~2022-09-28 7:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-13 13:56 [PATCH] target/arm: Use the max page size in a 2-stage ptw Richard Henderson
2022-09-28 4:34 ` Zenghui Yu via
2022-09-28 4:34 ` Zenghui Yu via
2022-09-28 6:52 ` Marc Zyngier [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=874jwshtx1.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=yuzenghui@huawei.com \
/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.