qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cornelia Huck <cohuck@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-s390x@nongnu.org,
	Richard Henderson <richard.henderson@linaro.org>,
	qemu-devel@nongnu.org, David Hildenbrand <david@redhat.com>
Subject: [Qemu-devel] [PULL 1/6] tests/tcg/s390x: Fix alignment of csst parameter list
Date: Mon,  1 Jul 2019 13:17:17 +0200	[thread overview]
Message-ID: <20190701111722.32068-2-cohuck@redhat.com> (raw)
In-Reply-To: <20190701111722.32068-1-cohuck@redhat.com>

From: Richard Henderson <richard.henderson@linaro.org>

The parameter list given in general register 1 shall be aligned
on a quadword boundary.  This test currently succeeds or fails
depending on the compiler version used and the accidential layout
of the function's stack frame.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
---
 tests/tcg/s390x/csst.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tcg/s390x/csst.c b/tests/tcg/s390x/csst.c
index 1dae9071fbd5..084d80af49f3 100644
--- a/tests/tcg/s390x/csst.c
+++ b/tests/tcg/s390x/csst.c
@@ -3,7 +3,7 @@
 
 int main(void)
 {
-    uint64_t parmlist[] = {
+    uint64_t parmlist[] __attribute__((aligned(16))) = {
         0xfedcba9876543210ull,
         0,
         0x7777777777777777ull,
-- 
2.20.1



  reply	other threads:[~2019-07-01 11:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-01 11:17 [Qemu-devel] [PULL 0/6] final s390x patches for 4.1 softfreeze Cornelia Huck
2019-07-01 11:17 ` Cornelia Huck [this message]
2019-07-01 11:17 ` [Qemu-devel] [PULL 2/6] s390x/cpumodel: Rework CPU feature definition Cornelia Huck
2019-07-01 11:17 ` [Qemu-devel] [PULL 3/6] s390x/cpumodel: Prepend KDSA features with "KDSA" Cornelia Huck
2019-07-01 11:17 ` [Qemu-devel] [PULL 4/6] vfio-ccw: use vfio_set_irq_signaling Cornelia Huck
2019-07-02 18:36   ` Peter Maydell
2019-07-01 11:17 ` [Qemu-devel] [PULL 5/6] vfio-ccw: support async command subregion Cornelia Huck
2019-07-01 11:17 ` [Qemu-devel] [PULL 6/6] s390x: add cpu feature/model files to KVM section Cornelia Huck
2019-07-01 12:59 ` [Qemu-devel] [PULL 0/6] final s390x patches for 4.1 softfreeze no-reply
2019-07-02 11:58 ` Peter Maydell

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=20190701111722.32068-2-cohuck@redhat.com \
    --to=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=richard.henderson@linaro.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).