qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: deller@gmx.de, svens@stackframe.org
Subject: [PATCH for-9.0 0/2] target/hppa: two more simple fixes
Date: Thu, 21 Mar 2024 09:28:11 -1000	[thread overview]
Message-ID: <20240321192813.371526-1-richard.henderson@linaro.org> (raw)

Using the correct space for BE,L linkage might make the difference
for a cpu stress test.  I believe triggering this would require
something like

					f=(seg,ofs), b=(seg,ofs+4)
	be	0(sr1,r1)		f=(seg,ofs+4), b=(sr1,r1)
	be,l,n	0(sr2,r2),sr0,r31	f=(sr1,r1), b=(sr2,r2)

and then validating the contents of sr0 on return.

Linux only places B,GATE in the zero page, so amusingly there were
never any high bits to clobber.  But I can imagine HP-UX making
more use of gateway pages, and certainly a cpu stress test would.


r~


Richard Henderson (2):
  target/hppa: Fix BE,L set of sr0
  target/hppa: Fix B,GATE for wide mode

 target/hppa/translate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1



             reply	other threads:[~2024-03-21 19:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 19:28 Richard Henderson [this message]
2024-03-21 19:28 ` [PATCH 1/2] target/hppa: Fix BE,L set of sr0 Richard Henderson
2024-03-21 19:28 ` [PATCH 2/2] target/hppa: Fix B,GATE for wide mode Richard Henderson
2024-03-21 19:34   ` Philippe Mathieu-Daudé
2024-03-21 20:05     ` Richard Henderson
2024-03-22  6:57   ` Helge Deller

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=20240321192813.371526-1-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=deller@gmx.de \
    --cc=qemu-devel@nongnu.org \
    --cc=svens@stackframe.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).