Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp55533pxy; Fri, 30 Jul 2021 23:44:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeSpQMwMiriigJhuSq/Gf+T5TZdPlX+j2+llQgs0fUWQerC41JzZS4Ak3E52UmkVwHXAfG X-Received: by 2002:a50:ff03:: with SMTP id a3mr7564201edu.0.1627713864069; Fri, 30 Jul 2021 23:44:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627713864; cv=none; d=google.com; s=arc-20160816; b=kGbE4qwYaqyRvONjhBOoinYGCgDHZzytyiuLWs0ndtaqSKnBY3S0xkQNzDOYwQnNJR 34o7h4Nd2Syq/+PqIkEGNuR0NICsWdZek9z6FNnrPU12repE3Uug5hSmvI2WuZgZ7w06 g7JujD7EQOz6y1Xgs2jelq5rx6ZTyDq/8s+sYuZe4ybqwqSuB3zhezjuS1aA0gmNBgZz 92q3nhuOMkLHhkM2W1ym+1fn8RP96HI2wxCDcQ96D/SYeHDvwb2r5beJET16BfUNeHkh nm8BiecEHZ7IJpKQq4vpNk/YWKYZ8mwGXIZXHo/7X1bYs2mdzT3J7ubd5iqYXgMBzD1m MDSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=90QPEc3DThfwbNGDiFK08A4luYPcCxkcPo+A6E0GkaM=; b=vewd8DeuKrJIjDOd1VCTfvB7Mh54yGsPDJWfteZDzFJukSn5QHgZ2bp7NGOY8D4wgF iyCGRyz1ZIz9Lv88oS71ai88ufEp3cS4ALwdfYRurH+iN0jkUEuccDGfBz8HmOoGnUu9 E0vubA9KxyEC/lSgrQ8Ffl9oO15iIHboxEMRZKoSYDHFEwpJBazc/KxxrkbH3/o5XmIn m/1iyjRBaffpp6AWOXDE04pux75W+VEaaGDmEEkakcjlDbj5KIk8EeT1hMVZM7aH1UQV RsGRTjBt+KuPVWgOwWkxPmhn56s85EFYPQj0KX47pWUacq0eM3G8elJfNEyHONBVXogE mSnQ== 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 f19si3874485ejb.459.2021.07.30.23.44.00; Fri, 30 Jul 2021 23:44:24 -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 S236895AbhGaGmx (ORCPT + 99 others); Sat, 31 Jul 2021 02:42:53 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:13218 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232079AbhGaGmx (ORCPT ); Sat, 31 Jul 2021 02:42:53 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4GcF0t1VP7z1CQwP; Sat, 31 Jul 2021 14:36:46 +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, 31 Jul 2021 14:42:45 +0800 Received: from [10.174.177.243] (10.174.177.243) 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, 31 Jul 2021 14:42:45 +0800 Subject: Re: [PATCH v3 0/6] ARM: mm: cleanup page fault and fix pxn process issue To: Russell King , CC: Catalin Marinas , , Andrew Morton , Jungseung Lee , Will Deacon References: <20210610123556.171328-1-wangkefeng.wang@huawei.com> From: Kefeng Wang Message-ID: Date: Sat, 31 Jul 2021 14:42:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20210610123556.171328-1-wangkefeng.wang@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.174.177.243] 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 On 2021/6/10 20:35, Kefeng Wang wrote: > The patchset cleanup ARM page fault handle to improve readability, > fix the page table entries printing and fix infinite loop in the > page fault handler when user code execution with privilege mode if > ARM_LPAE enabled. Hi  Russell, I make some changes according your advise, could you give me some comments about this patchset, I want to make sure that whether they can be sent to  the ARM patch system,  many thanks. > v3: > - drop the fix about page table printing > - kill page table base print instead of printing the physical address > - only die when permission fault both kernel-mode and user code execution > with privilege mode > - drop LPAE specific >