Message ID | e344c6fa-58be-615f-8d93-70f6f4e8ae89@nokia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8274560756 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 2 Sep 2016 11:19:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7327329794 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 2 Sep 2016 11:19:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6795529796; Fri, 2 Sep 2016 11:19:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DF5DD29794 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 2 Sep 2016 11:19:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfmTn-0006wR-Oy; Fri, 02 Sep 2016 11:17:51 +0000 Received: from mail-db5eur01on0124.outbound.protection.outlook.com ([104.47.2.124] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfmTi-0006uM-S1 for linux-arm-kernel@lists.infradead.org; Fri, 02 Sep 2016 11:17:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sMi8uqsSmEMvl+8fwdn+Ewi5jWFRsP5uT3H+fWLQtK4=; b=TWVUGkfH8kZyflx6xN3KOCFz0e+4qtPIT7UwQeUnykg+8ChExcbVGOhd8iq6rOe7zDgaMIoE7v88qBqhYmGwk/IF+w4hAXo1DGhD9XqRFVQuKD+H+dcbH5Y/6HvvazVjV7CMjByeiZJf/UKPw1dyufJ/T2G6IHHbpMGtZaPAE34= Received: from AM2PR07CA0035.eurprd07.prod.outlook.com (10.163.24.173) by AM4PR0701MB1988.eurprd07.prod.outlook.com (10.168.4.146) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13; Fri, 2 Sep 2016 11:17:21 +0000 Received: from AM1FFO11OLC003.protection.gbl (2a01:111:f400:7e00::177) by AM2PR07CA0035.outlook.office365.com (2a01:111:e400:8448::45) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Fri, 2 Sep 2016 11:17:21 +0000 Authentication-Results: spf=pass (sender IP is 131.228.2.241) smtp.mailfrom=nokia.com; armlinux.org.uk; dkim=none (message not signed) header.d=none; armlinux.org.uk; dmarc=pass action=none header.from=nokia.com; Received-SPF: Pass (protection.outlook.com: domain of nokia.com designates 131.228.2.241 as permitted sender) receiver=protection.outlook.com; client-ip=131.228.2.241; helo=fihe3nok0735.emea.nsn-net.net; Received: from fihe3nok0735.emea.nsn-net.net (131.228.2.241) by AM1FFO11OLC003.mail.protection.outlook.com (10.174.65.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.587.6 via Frontend Transport; Fri, 2 Sep 2016 11:17:21 +0000 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id u82BGu1i003301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Sep 2016 14:16:56 +0300 Received: from [10.151.38.184] ([10.151.38.184]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id u82BGtcM003273; Fri, 2 Sep 2016 14:16:56 +0300 X-HPESVCS-Source-Ip: 10.151.38.184 To: <linux-arm-kernel@lists.infradead.org> From: Alexander Sverdlin <alexander.sverdlin@nokia.com> Subject: [PATCH] ARM: LPAE: catch pending imprecise abort on unmask Message-ID: <e344c6fa-58be-615f-8d93-70f6f4e8ae89@nokia.com> Date: Fri, 2 Sep 2016 13:16:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.241; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(2906002)(19580405001)(356003)(229853001)(19580395003)(106466001)(2351001)(86362001)(626004)(5660300001)(33646002)(83506001)(4326007)(4001350100001)(16796002)(87936001)(305945005)(11100500001)(81166006)(81156014)(586003)(189998001)(50466002)(92566002)(23676002)(36756003)(110136002)(65826007)(65806001)(77096005)(7846002)(31696002)(68736007)(50986999)(230700001)(65956001)(31686004)(97736004)(47776003)(8936002)(8676002)(54356999)(64126003); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0701MB1988; H:fihe3nok0735.emea.nsn-net.net; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11OL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HmSyfi9qcsd1fQu9UgMflJOLVphGS5BWgVCKFmq2geZZRL4T9kQItohf5hTN6j3ixgqpaLtqgsfxhqaoVXkv7kdWFSGCOx0Xc/1SxottBUfq7z+73w8Mid8DFHZqxNg+hXxBPjj/rFc6a5Cqd6jgi7416xYGpWDV6ithf8yHmLod3Cr9pazRsJH4M+7irsDYukinI3lpdpMTYQIuj9ht0WHCp2bswRaABgVyUJ+gxFzNdsOY+ii+I6GJXqxVJUEL9QlxJTGiuF0P88H9rONvx673iPy8ZtGY+4Rg8qHefzxeFvfXu9n6joZaobIyRlmU31Yi7iJFFWP9e+W69g07Q4Xx+7dXn/W3DR0vRwNM1rIHtzV9fytIwJRr3IlEKYIlaMMCqKknJjAIWDC894HgFewjM= X-Microsoft-Antispam-PRVS: <AM4PR0701MB19882B1F9F0592772658CA8E88E50@AM4PR0701MB1988.eurprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(82608151540597); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(10201501046)(3002001)(6055026); SRVR:AM4PR0701MB1988; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0701MB1988; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB1988; 4:zVmza6XI7WADZRUI4X6QfYWPgORTVSN4/eIw0ytQYuPnRpHYQTDsIhfDGwuCRzhy2NLIrpQqyuIF/6Ri8lBtdIiLt6PhGyRAbfV1QY10KgbeipyhwAxFHTlUxd0G0mm1UFZfG0sXMlsl/ZFNetZbIuwVlvr5c99Sz1k/ApPdFKZxEpIs3p8k8G4LvKY053qhv7M65cUHHh5Q19tYPXj6yqPdzVt/2KcUpeJPLmHN0EnMxBihBAv7tbTmEoDZwyrD8o+ShPGaYM+T0YyObH/l+hbIAG4HBAYG8Ht85wSj6JxfZ0hU69Nff+Gpay0a4nR8NHBiKkcznoLoocvqu9PBWfnfCGzGlrpgP+iLk7FaAu9dA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klwQ05ReCtu?= =?utf-8?Q?t+CN28NmFvtzKoXsLG/Au+?= X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB1988; 6:ZYSqVDoxNhZbBaj3yOw7xoyBRJ9n/bXmOnIobKZFst6+HTKpQA0erAhn9js6RNqAvvt5Y5t8fv5jQ3yaTGIYLyg03R4CmF0OHSGspn5A2L2ChkAVZm0zhQZ4xLw7KhKDsvhcHu0DoS6/uGM+2zoEbSV9GFh46YuyPg4feMXJQg3zpwACAyQNUNkgL6lEc7UeQzfgmcnCOWjhIN8NcJzO/rQYIDomtfIgMQxJ5d+DUeJLsbZt2KKBJ81qe/IweTiBIVqOansyWIxtd4n98XgjGZ4zoXFJSzsM2v5iM/INCDJ1pv6SzgQQhoCVmvatFj9Wz4O0Jn1uWJ5fHuv//ChMww==; 5:ehgF9ytKmIsoEn/oJwbOc2ATXcFmffbcQSdndMPhtObnSUTwZM0kHqCxmJk2+pKQSLyMOII4+fRn0yNVi4UTOcyGiB1lHFlnbZoixWmwxFoncgSFCdPOUTMdmQcKi0RdNXXJm7FSq5vE01wUJS8WDg==; 24:6KNaFPHLB4nTvqz3Qgck1qHZ533BdCQHFP0+uFEdm1o0WQA0POeS+pL7ohekjtlz7XhsCyrAT3B+d+Ei+XfohDPf2R7vOzx20qejh42iKEc=; 7:Lmhy7MbvRlMLI+20GV6haryT5eVim6ns8/5LshrM9UcLGHUe1RMJHwE39rGNUJ+p/QwHr/nXWLqtQqWpRFzCuO6dTqOej+/jYRkKtTJDf+TMjp6FFm93k/AgapsWEmZOTeZlZts5Yokoc2mcIGquKRe3HOeWyW6TN3DWjx1TY6RwHjaXE9RM8KsE/wEOtqlfgxQyoHXVxPPAW6Y6UwWo8KeJLl0vyLxKjRgEa3M+bo2fzGSnmkyEZl4Uj12HK9gN SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2016 11:17:21.4224 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.241]; Helo=[fihe3nok0735.emea.nsn-net.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0701MB1988 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160902_041747_351181_C20AD5E7 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Andrew Morton <akpm@linux-foundation.org>, Jan Kara <jack@suse.cz>, Russell King <linux@armlinux.org.uk>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Lucas Stach <l.stach@pengutronix.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 3a2e678..0122ad1 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -610,9 +610,9 @@ static int __init early_abort_handler(unsigned long addr, unsigned int fsr, void __init early_abt_enable(void) { - fsr_info[22].fn = early_abort_handler; + fsr_info[FSR_FS_AEA].fn = early_abort_handler; local_abt_enable(); - fsr_info[22].fn = do_bad; + fsr_info[FSR_FS_AEA].fn = do_bad; } #ifndef CONFIG_ARM_LPAE diff --git a/arch/arm/mm/fault.h b/arch/arm/mm/fault.h index 05ec5e0..7883065 100644 --- a/arch/arm/mm/fault.h +++ b/arch/arm/mm/fault.h @@ -11,11 +11,15 @@ #define FSR_FS5_0 (0x3f) #ifdef CONFIG_ARM_LPAE +#define FSR_FS_AEA 17 + static inline int fsr_fs(unsigned int fsr) { return fsr & FSR_FS5_0; } #else +#define FSR_FS_AEA 22 + static inline int fsr_fs(unsigned int fsr) { return (fsr & FSR_FS3_0) | (fsr & FSR_FS4) >> 6;
Asynchronous external abort is coded differently in DFSR with LPAE enabled. Fixes: 9254970c "ARM: 8447/1: catch pending imprecise abort on unmask". Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> --- arch/arm/mm/fault.c | 4 ++-- arch/arm/mm/fault.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-)