From patchwork Fri Jun 21 13:43:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Hildenbrand X-Patchwork-Id: 167391 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp773548ilk; Fri, 21 Jun 2019 06:52:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwX7CQc2C0lsiQ+jTqhHwtMrDpIYm4qsewLBRItkCSbwMsWYPrFGSpZuBSyCeFavwxYdawS X-Received: by 2002:a17:906:27c7:: with SMTP id k7mr1068940ejc.91.1561125124808; Fri, 21 Jun 2019 06:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561125124; cv=none; d=google.com; s=arc-20160816; b=urzv1U8leXx1wv8DIN4df+kO7W1QQZKByUO7S8xFWirwwK3kh4dwKuDLGzRcoF7JPs Mc8sWsRgdRPfs3F/SEI297Wk/IUIXrgSRIkRPT855Shx5QXyfi7mfzvSWp8o9zhJTJXt iTM2ofvLsWP9GSnkMgMXtnhJmvFmUHT6dR/3VPSDat5KECuMRvOSUitNScZn0I2GCxg5 NDC6Wu8DpT6Ma00SlJ+ynKnfiNe60LSZGBUe7egH/tXRgyTTaMhpIKHEVAcKdwV5dkwa 4iG299P/cTYWcppCbRwne//fCE5gMok8ZGlYDw5lu6+nJlWHsdCy0zLbDZqXQTM77Fhk RkCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from; bh=23sqhN2+C93EvxdbczuJQQMXFBaX7xXNRUmI//parc4=; b=rZBJtf7p48pQTJeyRCij9RCzlvrUipKvjBvHTRpTXEMWwAcWj+pZHvV+rJMu+pfkX5 CgSnqmBhVOi3FVqwRhC1kltluCtQ3D0QPAivSEr4EGAtxBnfkwV1kgnRXxVWyztlVVOL JSrmJrACJ0vNAOKudFfkTSP/Nk4OlwS9W6sEB0aEM93SxQiilOMFOxlMrvqD5g4QRxEd /a3IAaSTkKr5Uzz9VDTWb6Ti2/4GbWpsKxLfo6tMkzBvY3qek8vF5AnOeetVjXEv3sFx cjmhf40qNfTg7W3C3C5DaNJUbQbd3015U2Xzs4lwi7Om9SOCRnNO6kwi8xBaV4B21wQ5 inQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s38si2626255eda.105.2019.06.21.06.52.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Jun 2019 06:52:04 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:35164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heJxT-0003nU-P4 for patch@linaro.org; Fri, 21 Jun 2019 09:52:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56398) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heJpa-0007H6-Ft for qemu-devel@nongnu.org; Fri, 21 Jun 2019 09:43:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heJpZ-0003lr-HF for qemu-devel@nongnu.org; Fri, 21 Jun 2019 09:43:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45960) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1heJpX-0003gP-QJ; Fri, 21 Jun 2019 09:43:53 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A2EDD859FC; Fri, 21 Jun 2019 13:43:50 +0000 (UTC) Received: from t460s.redhat.com (unknown [10.36.118.55]) by smtp.corp.redhat.com (Postfix) with ESMTP id 54D565C543; Fri, 21 Jun 2019 13:43:46 +0000 (UTC) From: David Hildenbrand To: qemu-devel@nongnu.org Date: Fri, 21 Jun 2019 15:43:36 +0200 Message-Id: <20190621134338.8425-2-david@redhat.com> In-Reply-To: <20190621134338.8425-1-david@redhat.com> References: <20190621134338.8425-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 21 Jun 2019 13:43:50 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL SUBSYSTEM s390x 1/3] tests/tcg/s390x: Fix alignment of csst parameter list X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , Janosch Frank , David Hildenbrand , Cornelia Huck , Richard Henderson , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson 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 Reviewed-by: David Hildenbrand Signed-off-by: David Hildenbrand --- tests/tcg/s390x/csst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0 diff --git a/tests/tcg/s390x/csst.c b/tests/tcg/s390x/csst.c index 1dae9071fb..084d80af49 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,