[{"id":1771296,"web_url":"http://patchwork.ozlabs.org/comment/1771296/","msgid":"<b80ed6a1-dc49-c5b8-1e76-7afcf1b3d4f2@linaro.org>","list_archive_url":null,"date":"2017-09-19T18:54:49","subject":"Re: [Qemu-devel] [PATCH 13/19] nvic: Implement v8M changes to fixed\n\tpriority exceptions","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> In v7M, the fixed-priority exceptions are:\n>  Reset: -3\n>  NMI: -2\n>  HardFault: -1\n> \n> In v8M, this changes because Secure HardFault may need\n> to be prioritised above NMI:\n>  Reset: -4\n>  Secure HardFault if AIRCR.BFHFNMINS == 1: -3\n>  NMI: -2\n>  Secure HardFault if AIRCR.BFHFNMINS == 0: -1\n>  NonSecure HardFault: -1\n> \n> Make these changes, including support for changing the\n> priority of Secure HardFault as AIRCR.BFHFNMINS changes.\n> \n> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>\n> ---\n>  hw/intc/armv7m_nvic.c | 22 +++++++++++++++++++---\n>  1 file changed, 19 insertions(+), 3 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=\"P9yG2Ev2\"; 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 3xxXBc17Hsz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 04:55:36 +1000 (AEST)","from localhost ([::1]:44872 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 1duNgE-00021R-7y\n\tfor incoming@patchwork.ozlabs.org; Tue, 19 Sep 2017 14:55:34 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:41224)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1duNfd-00020M-9q\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 14:54:58 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1duNfa-0001Aq-5r\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 14:54:57 -0400","from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:55274)\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 1duNfa-0001AU-14\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 14:54:54 -0400","by mail-io0-x22c.google.com with SMTP id h66so1337968ioh.11\n\tfor <qemu-devel@nongnu.org>; Tue, 19 Sep 2017 11:54:53 -0700 (PDT)","from bigtime.twiddle.net (162.189-204-159.bestel.com.mx.\n\t[189.204.159.162]) by smtp.gmail.com with ESMTPSA id\n\tt16sm668231ott.79.2017.09.19.11.54.51\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 19 Sep 2017 11:54:52 -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=2RsdhKkoq1/8F85JrfEyq9TLwjaN4Zz5oIWJlM9ECCc=;\n\tb=P9yG2Ev2s2KBDmUnRjSTWUToJG6xb6lHtbIdDcN85Lui1exd92oB2GMFZP6eql2+K1\n\tyRWNLEqNbPXICm+pFGUyd+0ttdeDvspTd/JyZIk9wdOwJ+B34P13kz9QBHwvO2pgy74W\n\t3IOsKwRe6Lc30ymtBjwOH9mClUpe/ng19lyrA=","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=2RsdhKkoq1/8F85JrfEyq9TLwjaN4Zz5oIWJlM9ECCc=;\n\tb=GvPyG7jrqq51ish9yqF9F0cSQnVjbw+j5iN4/5RAFyxsMN+bb27PEIYmct0spK3LtC\n\t5Tq2y4LsmkLbXG8FRSUrpKXJzNKYuAPBtMoSlV5EnkKzor/DGL7whPVER+bTvDH3l0Vx\n\tKuZAoGPa7ePXhYRZrXW4TjQFy+RaAMkstJ+WN9+fLvwETkSLrVJ/VoQEwAVY7ubitSgJ\n\tcnZYu49H8tKDgN4KT0kFPgXUQxbbi/VxnQlThotrwrClij05lgTLpKoETOZM0nBKwyJQ\n\t5modrQAtqag6s038/8rivPbHL/psPTBNmVUaQ5ZXe+imU/SxY0lOaYkTqi3ry+D3Wulp\n\tBKLw==","X-Gm-Message-State":"AHPjjUgCmOIZdC0W/Ii5bNtz95uKRVT7Wn+rnUXExk1jscqfM3jPvTz2\n\tLXrsBMLamNMn01lNB67UyhcBwQ==","X-Google-Smtp-Source":"AOwi7QA5MFEHbiIONPpT1C9hHh93PuZFGyd5VUuFDpxeyscATEUyuLeCplP6jI49C7LbbPx2E3THWg==","X-Received":"by 10.202.87.208 with SMTP id l199mr2653355oib.225.1505847293169;\n\tTue, 19 Sep 2017 11:54:53 -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-14-git-send-email-peter.maydell@linaro.org>","From":"Richard Henderson <richard.henderson@linaro.org>","Message-ID":"<b80ed6a1-dc49-c5b8-1e76-7afcf1b3d4f2@linaro.org>","Date":"Tue, 19 Sep 2017 13:54:49 -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-14-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 13/19] nvic: Implement v8M changes to fixed\n\tpriority exceptions","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>"}}]