[{"id":1771299,"web_url":"http://patchwork.ozlabs.org/comment/1771299/","msgid":"<0414513a-a050-f16c-94b4-24da7dd49972@linaro.org>","list_archive_url":null,"date":"2017-09-19T18:59:58","subject":"Re: [Qemu-devel] [PATCH 14/19] nvic: Disable the non-secure\n\tHardFault if AIRCR.BFHFNMINS is clear","submitter":{"id":72104,"url":"http://patchwork.ozlabs.org/api/people/72104/","name":"Richard Henderson","email":"richard.henderson@linaro.org"},"content":"On 09/12/2017 01:14 PM, Peter Maydell wrote:\n> If AIRCR.BFHFNMINS is clear, then although NonSecure HardFault\n> can still be pended via SHCSR.HARDFAULTPENDED it mustn't actually\n> preempt execution. The simple way to achieve this is to clear the\n> enable bit for it, since the enable bit isn't guest visible.\n> \n> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>\n> ---\n>  hw/intc/armv7m_nvic.c | 12 ++++++++++--\n>  1 file changed, 10 insertions(+), 2 deletions(-)\n\nReviewed-by: Richard Henderson <richard.henderson@linaro.org>\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=\"CDeRGKfB\"; 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 3xxXJR2CSXz9s7p\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 05:00:38 +1000 (AEST)","from localhost ([::1]:44898 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 1duNl5-0003yo-Oh\n\tfor incoming@patchwork.ozlabs.org; Tue, 19 Sep 2017 15:00:35 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:44077)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1duNkf-0003wK-VG\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 15:00:10 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1duNkc-0004Ld-Mh\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 15:00:10 -0400","from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:51087)\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 1duNkc-0004LH-Gu\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 15:00:06 -0400","by mail-io0-x22c.google.com with SMTP id w94so1408119ioi.7\n\tfor <qemu-devel@nongnu.org>; Tue, 19 Sep 2017 12:00:06 -0700 (PDT)","from bigtime.twiddle.net (162.189-204-159.bestel.com.mx.\n\t[189.204.159.162])\n\tby smtp.gmail.com with ESMTPSA id r5sm9258oia.16.2017.09.19.12.00.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 19 Sep 2017 12:00:01 -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=YgA7wiQCdqLVqmj6dARbExycL4RfW7cQIjtFbvLZ/8M=;\n\tb=CDeRGKfBHOQCVSfnBTnOTWGyU8JnL9he+GVieApyhaNrBx3+ExudQnyiJzvppenyPG\n\te0OIB8KdAamPLwEshx99U/+LbAx5XlpI4ZoJ0q0wnJl6yyNm5+IY7bLZ3vjiUH2smHlv\n\t3W8cXdJir2Cw3er1ZKucDufivYmFZhRsh/Els=","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=YgA7wiQCdqLVqmj6dARbExycL4RfW7cQIjtFbvLZ/8M=;\n\tb=j9YeOAE8NKdhRYfxkUtgrxw28rP1A1d1GotZidtKVx8oHhAGVumuF302TthdzzrEyT\n\tTTAuYxCIcBveWkDMbUDAUqCv+PoCq7mNKeJabM1qS9syTt2hsyl2k+K3+c5AtMnlRQKR\n\t51trFbZqW/7snhnMt7xJLM7VwciyPdgZA7ZqeYFYPmR0Q7+k86vkHoO5GB+QGTdw54i5\n\tGKhEdaT44H963231bzMmB5BUVuP7396iPialbXENrTvWkrTDpEiF7XefM4XinerwYQ3e\n\tzV5784uGaoMIgtHE9QqmCdoZiCc4PzY7JS8SPsA2l6Ej7Is2MVl4SBq6zoleg50EAXmj\n\tYErA==","X-Gm-Message-State":"AHPjjUhAC5FWJn7Lt97ilrd7DHjl6y2fAzyp3jnoRHH7YiltI3dAoYI0\n\tcda3Ln5ZdM/FyXY3VcR1PPGL9g==","X-Google-Smtp-Source":"AOwi7QAlP6se6aZDc3j9E0ghk8TrlpGs8CydK9CQKrgmQHH/xHCOe76QzqD+XHQ1/WQg4TTiajuTJQ==","X-Received":"by 10.202.234.3 with SMTP id i3mr2564121oih.318.1505847602430;\n\tTue, 19 Sep 2017 12:00:02 -0700 (PDT)","To":"Peter Maydell <peter.maydell@linaro.org>, qemu-arm@nongnu.org,\n\tqemu-devel@nongnu.org","References":"<1505240046-11454-1-git-send-email-peter.maydell@linaro.org>\n\t<1505240046-11454-15-git-send-email-peter.maydell@linaro.org>","From":"Richard Henderson <richard.henderson@linaro.org>","Message-ID":"<0414513a-a050-f16c-94b4-24da7dd49972@linaro.org>","Date":"Tue, 19 Sep 2017 13:59:58 -0500","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":"<1505240046-11454-15-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:4001:c06::22c","Subject":"Re: [Qemu-devel] [PATCH 14/19] nvic: Disable the non-secure\n\tHardFault if AIRCR.BFHFNMINS is clear","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>"}}]