Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp911649pxj; Fri, 28 May 2021 20:33:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNz9e7x0xoW2sk8wwlPbOjqIA50a1iQPAroxHEgGEDLyGg7o7NisNAh7dEwmMwdE4Luzso X-Received: by 2002:a17:906:4d13:: with SMTP id r19mr11960644eju.496.1622259213764; Fri, 28 May 2021 20:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622259213; cv=none; d=google.com; s=arc-20160816; b=vwDb3aB8Ou++aHFrGNd70foZGk7lJ6Z8qDOnEJ1pK5x10wuTgnAJTaz19tr9qVfAmK YQCgNgqC66OfH4mfhADG2WjeKoSo7n98Ib4hw+RIDIwoIjewtrurgKrRrI/23SqIeOtd wlEkuLOaV7RvlfOyihM2yicySlibLrGzLp4hyQnwP7QcYz5fXx85DHcoSIM5aoRr8oRz atP5e2CQC7un/8ligLWYSxNNgAs7KVTBjjXklgIymyTJeofUNuM+3jV2wHa/GNMh6i6O PMIjw4mZAdsi1UEj/rc9dxNH2kRVnjj/MYQJmYPr8O/PPRSWTXqU2O9uGzEWJG9KLwKw npNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Tzgc90TlbDT91hNDjRFeGVB1OBDsVtvj3ThFHv83Ncw=; b=c/9KbzPVxis2QdPcOtYh2K41HjGQNfkkyukzEmFEReLeWUlCuxhkdGaTi8gnTHRQBT IIXN9A4vPBaIFr/dBDE6XxRX7hNrHQ83MHZ4m41e8Gr3Iy93uTOo9vf5m2E2sWHE9okX hPp5OI7yU0VluOOfpOWZP2SxKJ3VjEEYXD8qxPViwTGG1tmWBB+lDMDuGDQVCudLZ8/u 0iocP+Gw1TH0MfO7ww0PrWs9Upo+/EWXeTt17ME4/bR5IwhHRxH7jCvMqqAqoMs9QHaw uSa5mA+f3ngAdIZPAHic05CPN3gAcODqB4iMz27dSM+bfQ0YE5GQX6E114NxyM0ibvoD jQag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz18si6638499ejc.147.2021.05.28.20.33.11; Fri, 28 May 2021 20:33:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229597AbhE2Dd6 (ORCPT + 99 others); Fri, 28 May 2021 23:33:58 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2085 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbhE2Dd6 (ORCPT ); Fri, 28 May 2021 23:33:58 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FsRnq3MMbzWpTM; Sat, 29 May 2021 11:27:43 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 29 May 2021 11:32:20 +0800 Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 29 May 2021 11:32:19 +0800 From: Kefeng Wang To: Russell King , CC: Catalin Marinas , , Andrew Morton , Jungseung Lee , Kefeng Wang Subject: [PATCH 0/2] ARM: fix PXN process with LPAE feature Date: Sat, 29 May 2021 11:41:36 +0800 Message-ID: <20210529034138.83384-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org refactor and cleanup [__do|do]_page_fault, then fix the pxn process when lpae feature enabled. Kefeng Wang (2): ARM: mm: Refactor __do_page_fault() ARM: mm: Fix PXN process when ARM_LPAE enabled arch/arm/mm/fault.c | 78 +++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 48 deletions(-) -- 2.26.2