[{"id":1773787,"web_url":"http://patchwork.ozlabs.org/comment/1773787/","msgid":"<CAFEAcA8n+M1hA3SKVJr-pEEaB5hJ_aKS6UK_wJ1g46rmjmHpMA@mail.gmail.com>","list_archive_url":null,"date":"2017-09-22T17:18:26","subject":"Re: [Qemu-devel] [Qemu-arm] [PATCH 17/20] target/arm: Implement SG\n\tinstruction","submitter":{"id":5111,"url":"http://patchwork.ozlabs.org/api/people/5111/","name":"Peter Maydell","email":"peter.maydell@linaro.org"},"content":"On 22 September 2017 at 16:00, Peter Maydell <peter.maydell@linaro.org> wrote:\n> Implement the SG instruction, which we emulate 'by hand' in the\n> exception handling code path.\n\nI've just realised that this patch is correct as far as it goes\nbut it only implements the common path case for SG (where it is\nin S&NSC memory and executed by a CPU in NS state). There is\nalso defined behaviour for:\n * SG in NS memory (behaves as a NOP)\n * SG in S memory and CPU already secure (clears IT bits and\n   does nothing else)\n\nThose can be implemented in translate.c in the usual way;\nI'll put a patch for that in the next set (or in a respin\nof this set).\n\nthanks\n-- PMM","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;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"jmc7KF41\"; 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 3xzKwN1MC4z9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 03:19:31 +1000 (AEST)","from localhost ([::1]:60304 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 1dvRbt-0008Hp-Em\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 13:19:29 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:60771)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <peter.maydell@linaro.org>) id 1dvRbF-0008GF-VN\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 13:18:50 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <peter.maydell@linaro.org>) id 1dvRbF-0006GW-1v\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 13:18:49 -0400","from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:46613)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <peter.maydell@linaro.org>)\n\tid 1dvRbE-0006FI-PN\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 13:18:48 -0400","by mail-wm0-x22f.google.com with SMTP id m72so5751402wmc.1\n\tfor <qemu-devel@nongnu.org>; Fri, 22 Sep 2017 10:18:48 -0700 (PDT)","by 10.223.139.215 with HTTP; Fri, 22 Sep 2017 10:18:26 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=fVPlhoLvnPfyWM2OvGoT3y03V67w7GUjZr96dSxnCpI=;\n\tb=jmc7KF41GIEtzRro3139BtSnvJi6DNqhfB3G1gJXqVNWq5zudOuQiGCxk5bc8dkjvb\n\tQg05XGRt9qCf06awetz1DCUtu8s7CTNU7624P6Z43ClJqoGldS4fFPkxar3/BQPc0NRb\n\t5tJrRDr54rYZMSUWhnSYAznsPxKKHJnRt/ppA=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=fVPlhoLvnPfyWM2OvGoT3y03V67w7GUjZr96dSxnCpI=;\n\tb=Jj6btG18uoRl8APlW6Fc6TE/tl95CEqTzH8WikEZvz4CGL4ZFJAoKWkYOlpti0zI0U\n\tgnwtR4DfNu92QvmpWL+SVsoXsRidQdJzDmIlLeJVXGp7Mu5VEJMkOteJQYcr9fyTLhtY\n\ts8QCnIUQLvmJpZQ4uFArgrPk89vze1nEx8CYdTJqQ/+lqDY8gdvLVI7XyEnw9YEXrqMZ\n\tETQECTLXL1CXmWhZKat3RTGLlYBVt+ObXBz6kg1WuVUO+fRXPJti59jH28cj59GsTOJK\n\tlx7RA3GIb/gr2a2wD0IT2QyI3gdYfkJiEpLpWv9bbG6g/Ivp2iASVlR6yaIu2NDlwxSP\n\to7sA==","X-Gm-Message-State":"AHPjjUhx+G63OqKgAA0JHCDKjLJn5VHB1opOlKRlqrq0/skzfEqy3aTj\n\tb/9qj3ISCPXEF+njngV+7GyNHRxAtxsw+CEXhZLtrg==","X-Google-Smtp-Source":"AOwi7QBfC4VellGQf6u14sdpCKsvfNW+MplOCpKoAvDzp/mFmT1RgRk8+H6IvpXYNGtPf1zjg04xCoGNwHOvHvgpfsU=","X-Received":"by 10.28.103.195 with SMTP id b186mr4406509wmc.101.1506100727615;\n\tFri, 22 Sep 2017 10:18:47 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1506092407-26985-18-git-send-email-peter.maydell@linaro.org>","References":"<1506092407-26985-1-git-send-email-peter.maydell@linaro.org>\n\t<1506092407-26985-18-git-send-email-peter.maydell@linaro.org>","From":"Peter Maydell <peter.maydell@linaro.org>","Date":"Fri, 22 Sep 2017 18:18:26 +0100","Message-ID":"<CAFEAcA8n+M1hA3SKVJr-pEEaB5hJ_aKS6UK_wJ1g46rmjmHpMA@mail.gmail.com>","To":"qemu-arm <qemu-arm@nongnu.org>, QEMU Developers <qemu-devel@nongnu.org>","Content-Type":"text/plain; charset=\"UTF-8\"","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2a00:1450:400c:c09::22f","Subject":"Re: [Qemu-devel] [Qemu-arm] [PATCH 17/20] target/arm: Implement SG\n\tinstruction","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\" <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>"}},{"id":1780910,"web_url":"http://patchwork.ozlabs.org/comment/1780910/","msgid":"<cd16f792-28a0-95b8-6a68-73f1427e6d38@linaro.org>","list_archive_url":null,"date":"2017-10-05T18:50:17","subject":"Re: [Qemu-devel] [PATCH 17/20] target/arm: Implement SG instruction","submitter":{"id":72104,"url":"http://patchwork.ozlabs.org/api/people/72104/","name":"Richard Henderson","email":"richard.henderson@linaro.org"},"content":"On 09/22/2017 11:00 AM, Peter Maydell wrote:\n> Implement the SG instruction, which we emulate 'by hand' in the\n> exception handling code path.\n> \n> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>\n> ---\n>  target/arm/helper.c | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++--\n>  1 file changed, 124 insertions(+), 5 deletions(-)\n> \n> diff --git a/target/arm/helper.c b/target/arm/helper.c\n> index b1ecb66..8df819d 100644\n> --- a/target/arm/helper.c\n> +++ b/target/arm/helper.c\n> @@ -41,6 +41,10 @@ typedef struct V8M_SAttributes {\n>      bool irvalid;\n>  } V8M_SAttributes;\n>  \n> +static void v8m_security_lookup(CPUARMState *env, uint32_t address,\n> +                                MMUAccessType access_type, ARMMMUIdx mmu_idx,\n> +                                V8M_SAttributes *sattrs);\n> +\n>  /* Definitions for the PMCCNTR and PMCR registers */\n>  #define PMCRD   0x8\n>  #define PMCRC   0x4\n> @@ -6724,6 +6728,123 @@ static void arm_log_exception(int idx)\n>      }\n>  }\n>  \n> +static bool v7m_read_half_insn(ARMCPU *cpu, ARMMMUIdx mmu_idx, uint16_t *insn)\n> +{\n\nThis function doesn't take an address ...\n\n> +    if (get_phys_addr(env, env->regs[15], MMU_INST_FETCH, mmu_idx,\n> +                      &physaddr, &attrs, &prot, &page_size, &fsr, &fi)) {\n\n... reading it directly from r15 ...\n\n> +    if (insn != 0xe97f) {\n> +        /* Not an SG instruction first half (we choose the IMPDEF\n> +         * early-SG-check option).\n> +         */\n> +        goto gen_invep;\n> +    }\n> +\n> +    if (!v7m_read_half_insn(cpu, mmu_idx, &insn)) {\n> +        return false;\n> +    }\n> +\n> +    if (insn != 0xe97f) {\n> +        /* Not an SG instruction second half */\n> +        goto gen_invep;\n> +    }\n\n... but somehow expects to get two different values read from the same address?\n\nCertainly you'd get the wrong exception frame if you incremented r15 in between.\n\n> +    env->regs[15] += 4;\n\n... that make this right and the implicit address to the readers wrong.\n\nI don't see anything else amiss in the patch.\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=\"VQFixHVy\"; 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 3y7MKn21m7z9sNw\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  6 Oct 2017 05:50:51 +1100 (AEDT)","from localhost ([::1]:41595 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 1e0BEO-0001fe-Fw\n\tfor incoming@patchwork.ozlabs.org; Thu, 05 Oct 2017 14:50:48 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:49103)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1e0BDy-0001Zp-0U\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:50:23 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1e0BDw-0006Go-SQ\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:50:22 -0400","from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]:47974)\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 1e0BDw-0006Fj-Ne\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:50:20 -0400","by mail-qt0-x233.google.com with SMTP id z50so22221351qtj.4\n\tfor <qemu-devel@nongnu.org>; Thu, 05 Oct 2017 11:50:20 -0700 (PDT)","from bigtime.twiddle.net ([2606:a000:7a4a:b100::1b])\n\tby smtp.gmail.com with ESMTPSA id\n\tq5sm7027004ywf.11.2017.10.05.11.50.18\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 05 Oct 2017 11:50:19 -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=+cFXmJhIlReTxPVdshXryv49li1stPw6y2csrm2f1jU=;\n\tb=VQFixHVyEdUfNKbpyPga70CVmXYvC8toWUGLZJ9sSB6w4t+jdftDDcqk81nE2p/P4L\n\t6O8O9pYklx+6qZFyyqtwRfjKquRV93mAiez05LivZvpTmg2ah6Wf9NzIKXPl4YNjM1oe\n\th4/bEb0vntJLrZF+VtezeGS7EeAjfbADlfxIA=","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=+cFXmJhIlReTxPVdshXryv49li1stPw6y2csrm2f1jU=;\n\tb=hAS5NhXoScugGutE5Mg5Xzzfi0Oawd7/fjcM7t4nis3ms32/Y3Z8jLrdaDZddnDITK\n\tZGyqGleWomUiPkdnDNRKZOBLY+2CjYmpOvrXmhgwTG6I9UJ2TsbhgMflL3SDQPaeE4IE\n\t8i694V021CqwxsJBjdzf0SSksZtq7joDBDkb11wsYen0hQpmy9i87jQ7SpIl7YUpCYIr\n\tl/hVmr8kWZ2357ylWeHeWlIb8NVBQhXJNlUpm3jX86osRvrEgHFyRZL9WiZtYw5TMe0t\n\tZXP/MKygJPZg2ZkisNtNFWXzWdqFQoFnaR2TAkZ7ihGia1KGDUNVriH7BSUJmGpvuKGk\n\t8CVQ==","X-Gm-Message-State":"AMCzsaWb76I0FgNA2wQRX4h3uBIg0NVo/zh2WlakRvXCUojI16Kn0KhQ\n\toWQrMXVGIzkLLseyDJya6sQryw==","X-Google-Smtp-Source":"AOwi7QDhI9LQMLHJJaAh2eWotj3r2MLEVM7BYU5FcHoelyYZ3Gp85kT3yoOOhq5JQ+LUx1dffk6NPw==","X-Received":"by 10.129.173.12 with SMTP id l12mr401264ywh.138.1507229419815; \n\tThu, 05 Oct 2017 11:50:19 -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-18-git-send-email-peter.maydell@linaro.org>","From":"Richard Henderson <richard.henderson@linaro.org>","Message-ID":"<cd16f792-28a0-95b8-6a68-73f1427e6d38@linaro.org>","Date":"Thu, 5 Oct 2017 14:50:17 -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-18-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::233","Subject":"Re: [Qemu-devel] [PATCH 17/20] target/arm: Implement SG instruction","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>"}},{"id":1780912,"web_url":"http://patchwork.ozlabs.org/comment/1780912/","msgid":"<CAFEAcA8y8f27o=c_Cpox8KZWGZshER5PrztorPZUf+RFnAHrAg@mail.gmail.com>","list_archive_url":null,"date":"2017-10-05T18:55:53","subject":"Re: [Qemu-devel] [PATCH 17/20] target/arm: Implement SG instruction","submitter":{"id":5111,"url":"http://patchwork.ozlabs.org/api/people/5111/","name":"Peter Maydell","email":"peter.maydell@linaro.org"},"content":"On 5 October 2017 at 19:50, Richard Henderson\n<richard.henderson@linaro.org> wrote:\n> On 09/22/2017 11:00 AM, Peter Maydell wrote:\n>> Implement the SG instruction, which we emulate 'by hand' in the\n>> exception handling code path.\n>>\n>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>\n>> ---\n>>  target/arm/helper.c | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++--\n>>  1 file changed, 124 insertions(+), 5 deletions(-)\n>>\n>> diff --git a/target/arm/helper.c b/target/arm/helper.c\n>> index b1ecb66..8df819d 100644\n>> --- a/target/arm/helper.c\n>> +++ b/target/arm/helper.c\n>> @@ -41,6 +41,10 @@ typedef struct V8M_SAttributes {\n>>      bool irvalid;\n>>  } V8M_SAttributes;\n>>\n>> +static void v8m_security_lookup(CPUARMState *env, uint32_t address,\n>> +                                MMUAccessType access_type, ARMMMUIdx mmu_idx,\n>> +                                V8M_SAttributes *sattrs);\n>> +\n>>  /* Definitions for the PMCCNTR and PMCR registers */\n>>  #define PMCRD   0x8\n>>  #define PMCRC   0x4\n>> @@ -6724,6 +6728,123 @@ static void arm_log_exception(int idx)\n>>      }\n>>  }\n>>\n>> +static bool v7m_read_half_insn(ARMCPU *cpu, ARMMMUIdx mmu_idx, uint16_t *insn)\n>> +{\n>\n> This function doesn't take an address ...\n>\n>> +    if (get_phys_addr(env, env->regs[15], MMU_INST_FETCH, mmu_idx,\n>> +                      &physaddr, &attrs, &prot, &page_size, &fsr, &fi)) {\n>\n> ... reading it directly from r15 ...\n>\n>> +    if (insn != 0xe97f) {\n>> +        /* Not an SG instruction first half (we choose the IMPDEF\n>> +         * early-SG-check option).\n>> +         */\n>> +        goto gen_invep;\n>> +    }\n>> +\n>> +    if (!v7m_read_half_insn(cpu, mmu_idx, &insn)) {\n>> +        return false;\n>> +    }\n>> +\n>> +    if (insn != 0xe97f) {\n>> +        /* Not an SG instruction second half */\n>> +        goto gen_invep;\n>> +    }\n>\n> ... but somehow expects to get two different values read from the same address?\n>\n> Certainly you'd get the wrong exception frame if you incremented r15 in between.\n\nOops. I missed this in my testing because it happens that the\ntwo halves of an SG instruction are the same value :-)\n\nthanks\n-- PMM","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=\"Cqq9zSXF\"; 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 3y7MSg6rg0z9sRm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  6 Oct 2017 05:56:50 +1100 (AEDT)","from localhost ([::1]:41622 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 1e0BKC-0003o8-64\n\tfor incoming@patchwork.ozlabs.org; Thu, 05 Oct 2017 14:56:48 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:50590)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <peter.maydell@linaro.org>) id 1e0BJg-0003n2-G5\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:56:17 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <peter.maydell@linaro.org>) id 1e0BJf-0004lw-LG\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:56:16 -0400","from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:47510)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <peter.maydell@linaro.org>)\n\tid 1e0BJf-0004kp-Dt\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:56:15 -0400","by mail-wm0-x235.google.com with SMTP id t69so3787887wmt.2\n\tfor <qemu-devel@nongnu.org>; Thu, 05 Oct 2017 11:56:15 -0700 (PDT)","by 10.223.128.207 with HTTP; Thu, 5 Oct 2017 11:55:53 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=tdCHoxfI67I5+7Zgmrpx4IodMKUBY05vefaUyWuEYtE=;\n\tb=Cqq9zSXFA59J0GGrvrGHqDQRykprnYzCs89VhVjWR1vQ8ADc9Yd7LUOCbUlra461lY\n\tl+uvaIjhEUoWgKAhxvoyoq+hF+288SjtX1N39IBm0lPWedQN73m0NohhHs5Sj1QzfEu+\n\tB9N/wrH8AOjhEuB9Asia2Zjx3Dto6ZN/+8xa8=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=tdCHoxfI67I5+7Zgmrpx4IodMKUBY05vefaUyWuEYtE=;\n\tb=dlBe5s9x7EenC6aBB+lBo9uIYtuPnZuVxd2IL+UOnkQExvHe2ENf7KIdTCv8zxSPNg\n\teZT6pNpigSYYiamw1p0dHkE2K98Mh2ibvfJF3/pp2cwYkBd35RCTB7IT7kKxXCfPdVdX\n\tTdBG7hwwn1bgsliLHM/YTagbPw8C/n8EDq92oKjtXHKrBowxBOdu7v5X41wsoGa49xiY\n\tMq0kPr+A0R8UfObRLtHOYNipkAsAdqHRDKVbQRuXME0ssoprB+H27W3KnCCCub4M9A21\n\txM7yAhcsAZXwYLfktIg9fX47PEbdMg+AeEMa9GqQ1HLQ0dR4d7rDVXJAA6maqkkTR4xu\n\t6VeA==","X-Gm-Message-State":"AMCzsaXNk4GnJcHL+r31fzVZGlZQlBQLD1VTeWyEmucgYUKXYqhDZLKl\n\tPV8uLmP48nT3c+E4fSRHiO3J2Klci3kG9IkEed+ivg==","X-Google-Smtp-Source":"AOwi7QBgaNjO1zGwnJjqNnXQlKQsPDQ/KhdZFezt1WpYrsFW0KV6L9YunCuKGHj0Eztx+jmlwcViUkAmauO0rLX4+2I=","X-Received":"by 10.28.236.203 with SMTP id h72mr63495wmi.147.1507229774012;\n\tThu, 05 Oct 2017 11:56:14 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<cd16f792-28a0-95b8-6a68-73f1427e6d38@linaro.org>","References":"<1506092407-26985-1-git-send-email-peter.maydell@linaro.org>\n\t<1506092407-26985-18-git-send-email-peter.maydell@linaro.org>\n\t<cd16f792-28a0-95b8-6a68-73f1427e6d38@linaro.org>","From":"Peter Maydell <peter.maydell@linaro.org>","Date":"Thu, 5 Oct 2017 19:55:53 +0100","Message-ID":"<CAFEAcA8y8f27o=c_Cpox8KZWGZshER5PrztorPZUf+RFnAHrAg@mail.gmail.com>","To":"Richard Henderson <richard.henderson@linaro.org>","Content-Type":"text/plain; charset=\"UTF-8\"","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2a00:1450:400c:c09::235","Subject":"Re: [Qemu-devel] [PATCH 17/20] target/arm: Implement SG instruction","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":"qemu-arm <qemu-arm@nongnu.org>, QEMU Developers <qemu-devel@nongnu.org>, \n\t\"patches@linaro.org\" <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>"}},{"id":1780913,"web_url":"http://patchwork.ozlabs.org/comment/1780913/","msgid":"<f02972aa-e79c-e40c-c679-d1438f4b5308@linaro.org>","list_archive_url":null,"date":"2017-10-05T18:57:08","subject":"Re: [Qemu-devel] [PATCH 17/20] target/arm: Implement SG instruction","submitter":{"id":72104,"url":"http://patchwork.ozlabs.org/api/people/72104/","name":"Richard Henderson","email":"richard.henderson@linaro.org"},"content":"On 10/05/2017 02:55 PM, Peter Maydell wrote:\n> Oops. I missed this in my testing because it happens that the\n> two halves of an SG instruction are the same value :-)\n\nHah.  I didn't notice that either.\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=\"Em0ttd5T\"; 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 3y7MTr134Rz9s4s\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  6 Oct 2017 05:57:52 +1100 (AEDT)","from localhost ([::1]:41625 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 1e0BLC-0004Sw-6z\n\tfor incoming@patchwork.ozlabs.org; Thu, 05 Oct 2017 14:57:50 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:50863)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1e0BKa-0004RR-QV\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:57:13 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1e0BKa-0005ct-4D\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:57:12 -0400","from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:46517)\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 1e0BKZ-0005cK-V7\n\tfor qemu-devel@nongnu.org; Thu, 05 Oct 2017 14:57:12 -0400","by mail-qt0-x22f.google.com with SMTP id 6so18183522qtw.3\n\tfor <qemu-devel@nongnu.org>; Thu, 05 Oct 2017 11:57:11 -0700 (PDT)","from bigtime.twiddle.net ([2606:a000:7a4a:b100::1b])\n\tby smtp.gmail.com with ESMTPSA id\n\ts187sm9032034yws.55.2017.10.05.11.57.10\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 05 Oct 2017 11:57:10 -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=VxQ5h7Z62FM3zcw7/x6JJMkZgaOypQSZj6tBXPlZH2E=;\n\tb=Em0ttd5TBgjRRoYSaE5YXGev8D2CmGqQRYJb6xHR2DR2qitufZsRTO5g2126+eWUu5\n\tq974cfXb/isrx0pTC7Zzj54PzbVqV6EJMwcLXz1ReKYGh8MEqs74f8Fknq83OwKRhZlz\n\tuXk+38ezvM7pn1gtS050iROsSYz0FaPkTsmRk=","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=VxQ5h7Z62FM3zcw7/x6JJMkZgaOypQSZj6tBXPlZH2E=;\n\tb=cc2ZZV6+0Wm2fK+0s8M+3+oANpct83J9azCQXQ166Ytw6W0p8EvH4hWrJwk3ld73IJ\n\tK9HxoRaTqoJzm32jLjeSFFl/yNv4H0+Kd4X9kfDRQ0Ty/a3yZiRpB4MVN2n14a1trZiE\n\tB++6GRZ6fOylnGYbfCkhzO9v7uOnPJATzJmS8O4pgM4NQUFUEaCNxmgQdLeWPcju1I6v\n\tNP7EKMy66blLXF5Yk1+ZPtzVUndCNh9zvEHBDF1cuUhWoRQ+RbjiQlizyNkzRv/+xHmp\n\t0G9CHdKWhc4EsY1AZxHqr0EoE37+o6OdGeWKamd7OK4SoSNJwZLBg+6Fj3CNyD7OwGXl\n\tIldg==","X-Gm-Message-State":"AMCzsaVbF/XGfYrVfUwl/IcuyaKoRYPllbkt3WIxAANUiQYoRXV/82A0\n\twzBenFIa4iUL+sJej4HA2KFsEg==","X-Google-Smtp-Source":"AOwi7QDN+jQv3+E71ao2zoUdbIMbczenJc/3Nm3tPpLK4NKZcR5h+hwNOkw0wXz9EXJXbljJ1pntww==","X-Received":"by 10.37.65.148 with SMTP id o142mr7475233yba.275.1507229831331; \n\tThu, 05 Oct 2017 11:57:11 -0700 (PDT)","To":"Peter Maydell <peter.maydell@linaro.org>","References":"<1506092407-26985-1-git-send-email-peter.maydell@linaro.org>\n\t<1506092407-26985-18-git-send-email-peter.maydell@linaro.org>\n\t<cd16f792-28a0-95b8-6a68-73f1427e6d38@linaro.org>\n\t<CAFEAcA8y8f27o=c_Cpox8KZWGZshER5PrztorPZUf+RFnAHrAg@mail.gmail.com>","From":"Richard Henderson <richard.henderson@linaro.org>","Message-ID":"<f02972aa-e79c-e40c-c679-d1438f4b5308@linaro.org>","Date":"Thu, 5 Oct 2017 14:57:08 -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":"<CAFEAcA8y8f27o=c_Cpox8KZWGZshER5PrztorPZUf+RFnAHrAg@mail.gmail.com>","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::22f","Subject":"Re: [Qemu-devel] [PATCH 17/20] target/arm: Implement SG instruction","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":"qemu-arm <qemu-arm@nongnu.org>, QEMU Developers <qemu-devel@nongnu.org>, \n\t\"patches@linaro.org\" <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>"}}]