[{"id":1780802,"web_url":"http://patchwork.ozlabs.org/comment/1780802/","msgid":"<021427db-f8cb-9416-31bb-85f0bbb80e2d@linaro.org>","list_archive_url":null,"date":"2017-10-05T16:28:13","subject":"Re: [Qemu-devel] [PATCH 07/20] target/arm: Warn about restoring to\n\tunaligned stack","submitter":{"id":72104,"url":"http://patchwork.ozlabs.org/api/people/72104/","name":"Richard Henderson","email":"richard.henderson@linaro.org"},"content":"On 09/22/2017 10:59 AM, Peter Maydell wrote:\n> Attempting to do an exception return with an exception frame that\n> is not 8-aligned is UNPREDICTABLE in v8M; warn about this.\n> (It is not UNPREDICTABLE in v7M, and our implementation can\n> handle the merely-4-aligned case fine, so we don't need to\n> do anything except warn.)\n> \n> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>\n> ---\n>  target/arm/helper.c | 7 +++++++\n>  1 file changed, 7 insertions(+)\n\nReviewed-by: Richard Henderson <richard.henderson@linaro.org>\n\n\nr~","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"G34mMNU0\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y7JZc6pnvz9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  6 Oct 2017 03:46:47 +1100 (AEDT)","from localhost ([::1]:40886 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1e09IK-0004I8-NB\n\tfor incoming@patchwork.ozlabs.org; Thu, 05 Oct 2017 12:46:44 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:46600)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1e090T-0005lB-G1\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 12:28:18 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1e090S-0006JV-Lo\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 12:28:17 -0400","from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]:48426)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <richard.henderson@linaro.org>)\n\tid 1e090S-0006J8-GZ\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 12:28:16 -0400","by mail-qt0-x231.google.com with SMTP id d13so25757735qta.5\n\tfor <qemu-devel@nongnu.org>; Thu, 05 Oct 2017 09:28:16 -0700 (PDT)","from bigtime.twiddle.net ([2606:a000:7a4a:b100::1b])\n\tby smtp.gmail.com with ESMTPSA id\n\ts38sm4341633ywa.92.2017.10.05.09.28.14\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 05 Oct 2017 09:28:15 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=d+Mrh6lDG0sMM0BrAULdE+H0Yn2hapTvR3zDqOXsNB0=;\n\tb=G34mMNU0MIkUT0kpmlEmI2HqTiwT+rlWCbqvZ/cTAH/7eC0FdJ6uftP+ajD40AJtK4\n\tLpFBEvhs8q7szRZsLzi8F+3wfga9XWNzagCrqfTbensjth5Av4k0xKcF1lr812gPeUjI\n\t0dEi98z9tgrmzQ4waEJTFoQFtzwZ6PxGlbAuY=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=d+Mrh6lDG0sMM0BrAULdE+H0Yn2hapTvR3zDqOXsNB0=;\n\tb=qQ1ZIFrT0Lpu1QkO8kyUJ+Qw7K+xWGLLxzEYFnc65pAJdmVUwQojN2p/SayW1W+Cgt\n\t2Nk2QBUZAwooKwKaPJJu9tByk4BPmElaXi3HNEpdDkewqaozsIo0pTW6v95qzIyunMQq\n\t8UiEho+f71i8wLYIYRUSsN6aBicWCfWW6LRkoiFqsVByb0oa0q46B3WtY7whtzoTYhRU\n\tTnG84jeiPr32RKbpRR9rbRbdrJRNYWnJAz0nZjj+WvyGGircmEtfPhedeazj1NywbH52\n\t9cvm47qhPIkf0l6pANM8vIr0ee8i++oyyvv3JHFTTj31a5DV1TIWEDaBQlCRYcLVIUoB\n\tLAHA==","X-Gm-Message-State":"AHPjjUi4NYSWh263cgzS4efePN4e1Q4fE7hha+Hs80EwG/k0V3PJT4zN\n\to3W8OgiVclSx1nYUTkpUrvS77w==","X-Google-Smtp-Source":"AOwi7QCYSu4jnBZVPob8Gib4RoSi4znXaHdGA3SzqxXpWYyXSRXER58oQyM0tdYxZza0TGZQYOmGUg==","X-Received":"by 10.129.173.99 with SMTP id l35mr20648198ywk.322.1507220895880;\n\tThu, 05 Oct 2017 09:28:15 -0700 (PDT)","To":"Peter Maydell <peter.maydell@linaro.org>, qemu-arm@nongnu.org,\n\tqemu-devel@nongnu.org","References":"<1506092407-26985-1-git-send-email-peter.maydell@linaro.org>\n\t<1506092407-26985-8-git-send-email-peter.maydell@linaro.org>","From":"Richard Henderson <richard.henderson@linaro.org>","Message-ID":"<021427db-f8cb-9416-31bb-85f0bbb80e2d@linaro.org>","Date":"Thu, 5 Oct 2017 12:28:13 -0400","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<1506092407-26985-8-git-send-email-peter.maydell@linaro.org>","Content-Type":"text/plain; charset=utf-8","Content-Language":"en-US","Content-Transfer-Encoding":"7bit","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2607:f8b0:400d:c0d::231","Subject":"Re: [Qemu-devel] [PATCH 07/20] target/arm: Warn about restoring to\n\tunaligned stack","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"patches@linaro.org","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]