Message ID | 1519633227-29832-51-git-send-email-alex.shi@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3359792lja; Mon, 26 Feb 2018 00:27:51 -0800 (PST) X-Google-Smtp-Source: AH8x227qmjbGCz4fNoiDPGY++cGNHrGCd3SOEqoaCRvz9pYzD6dCjhkarQADsuj4hlWs8QVOq7iB X-Received: by 10.98.204.69 with SMTP id a66mr9833394pfg.33.1519633670892; Mon, 26 Feb 2018 00:27:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519633670; cv=none; d=google.com; s=arc-20160816; b=IE0Z9jrpEGgpflnYGBjY6rmAJkdSqWxMiRecrsPIpKYqXXoKeuhK5DE3+1EObbFigZ VWrH52UK+esz+DhUQoixR6J0I8f1Vfe8+xGXNGW3fjRwEEYLfQ/Rwx2H12KlhtlvbbRJ jYDJjZ6shdtfe+R3mAu/PMT8ghBWHQdgr6BrjN+TIBR0dL2IwFHlWFt8of1EUtz3th8+ F6K6Vk15z6soK/qUn5WS6s8Jxdy4ft9HtdhVkk42uyc8eR30bddRFEw0sstLaoUWNz9H Yymkj4ISoR0dSS7jXizgthcrIuJzbYc30wKHq6HyuQ8ilQjEd71evqSaWuWoZWxHFZPG n8ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:arc-authentication-results; bh=TZy7LbCE06w5P4ocO94iT/5aR/zA6c96V+vApCDKSFE=; b=P8s3b+Zkub02Ceg3dAsvGhia81q6uIWQBbhOhdXMYO2KqQ9fc2KBa4zN3FCBbJWVPR DhssfOLCX995qCpRRE4r30c5NmzRKv8ycNIm3WHaoRmrfSdLk3ZXo/Hw6wX3dt4Giyz5 zEMbOW1Al2c4bqUWWqHqD15EV2TWDKyc3QrZ0HZO+G6Rgy+r0E1o24XT0Pb2pL47Ov2s l3c+PPg61jHAVvjS71aIcQk8cVG/bDRXoD5k6SwXX2HBquJ5l5ConN0Zq6/q3p7PxwU5 2aIkoTUuSU3nglchfqfcZzdLCqk5gVg3ykj/JZ9pxbNmi/VhGIskltpLNvqyfu/iBhld znvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OfTMe6MG; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23-v6si6600728plk.810.2018.02.26.00.27.50; Mon, 26 Feb 2018 00:27:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OfTMe6MG; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752879AbeBZI1n (ORCPT <rfc822;anders.roxell@linaro.org> + 10 others); Mon, 26 Feb 2018 03:27:43 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:44756 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752205AbeBZI1k (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 26 Feb 2018 03:27:40 -0500 Received: by mail-pg0-f67.google.com with SMTP id l4so5908959pgp.11 for <stable@vger.kernel.org>; Mon, 26 Feb 2018 00:27:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=TZy7LbCE06w5P4ocO94iT/5aR/zA6c96V+vApCDKSFE=; b=OfTMe6MGoKUHFGHU9OxUtwkc8u9CS1aPau9TvxDAM3avnGYMHCgq0SDhAXDKkBwTwF 3HYJUrBFoBQh+OKmL1Xr3bomSyAxicLHBH3dPXAIhyp9NLaQELuePug3yhfuIHa9ScuH TO7tnHEAri4iGkfFggSbD3jz9wOYXqOeyQSs4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=TZy7LbCE06w5P4ocO94iT/5aR/zA6c96V+vApCDKSFE=; b=LTSdPiz/8MQGV2yReBVTe/YaJtYF03AAh2An4DiMP+CkLjFf7pZ5nMiVLwbqSbehxc 1lkIPnX/MGtoxTTXkXFDvZmI1lsV8vJyGN4334gvZxORsUZKnQn1qnGER5OeXaHDHnVJ qaGlPHMghrxsmYQ/lPCPShk2WxtpShoAchpsxJWPU8PdetidT1da8RKIY0rjLkC2QzWO tQ3NbNYypiP/omp/AIFq341nkL2uqwzog7nEvfi9Zbb9/w1XwmELu0wzdF6E0ROslF8P a0EsulJk7OILROAPw/e2ABb7+P8DbeuW5DHf+1yklnt+OoSHFEahnZ0EYxxl5uwnBFTs OBug== X-Gm-Message-State: APf1xPBjLULZHbsumDgyFL4TxktehYMI/yYKpJL2Wd7+rupD9KRVFOcz 7/w/TOjHtJ+bwZBRzIoyk8oM2Q== X-Received: by 10.99.150.2 with SMTP id c2mr7981687pge.424.1519633659812; Mon, 26 Feb 2018 00:27:39 -0800 (PST) Received: from localhost.localdomain (176.122.172.82.16clouds.com. [176.122.172.82]) by smtp.gmail.com with ESMTPSA id o86sm1422706pfi.87.2018.02.26.00.27.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Feb 2018 00:27:39 -0800 (PST) From: Alex Shi <alex.shi@linaro.org> To: Marc Zyngier <marc.zyngier@arm.com>, Will Deacon <will.deacon@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, stable@vger.kernel.org, Russell King <linux@armlinux.org.uk>, linux-arm-kernel@lists.infradead.org (moderated list:ARM PORT), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 50/52] arm: Invalidate icache on prefetch abort outside of user mapping on Cortex-A15 Date: Mon, 26 Feb 2018 16:20:24 +0800 Message-Id: <1519633227-29832-51-git-send-email-alex.shi@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519633227-29832-1-git-send-email-alex.shi@linaro.org> References: <1519633227-29832-1-git-send-email-alex.shi@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
[01/52] mm: Introduce lm_alias
|
expand
|
diff --git a/arch/arm/include/asm/cp15.h b/arch/arm/include/asm/cp15.h index 0672ddc..b74b174 100644 --- a/arch/arm/include/asm/cp15.h +++ b/arch/arm/include/asm/cp15.h @@ -65,6 +65,7 @@ #define write_sysreg(v, ...) __write_sysreg(v, __VA_ARGS__) #define BPIALL __ACCESS_CP15(c7, 0, c5, 6) +#define ICIALLU __ACCESS_CP15(c7, 0, c5, 0) extern unsigned long cr_alignment; /* defined in entry-armv.S */ diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 17fd0c7..a9c924b 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -409,6 +409,10 @@ do_pabt_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) case ARM_CPU_PART_CORTEX_A17: write_sysreg(0, BPIALL); break; + + case ARM_CPU_PART_CORTEX_A15: + write_sysreg(0, ICIALLU); + break; } } #endif