From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3E55C28CC3 for ; Fri, 7 Jun 2019 09:13:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B59DD20B7C for ; Fri, 7 Jun 2019 09:13:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="f+BL9+KO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B59DD20B7C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=vzn48vJYueiC8r4VanBwUCqSBBvMFEHpS4vAv0X+J2w=; b=f+B L9+KOAI6L7oibwDAQPvDJixQjcHT6LOxjYiCune6bcMnUG6A0FzfYHmFlcuHNpvH5n4C7sX/FuU6K Im07hQcAYtS6ElBr3VlNyaNueclRwYbc0haf9TmNW6GVvMV+1oTKBNNKIjQ1qWG8/vrq27OPxEl3O p4U/kjb53mrTXvu9VyXzBCQRdlru5nal2ankk9p/jeFgdNIdReoqUNeMHTzs1xRg9e8077pC2oEEB VkIG11mEAvoEgrj+l8Z3WXhLuOp1P5vHg55iEAEI334CbEoAGvTvuVoA4sB91z6MHWjrLyjL1Px0Z 9q5si6TswCsESHHvCHBCiPGbwJXXgbw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hZAvy-0008DE-6l; Fri, 07 Jun 2019 09:13:14 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hZAvv-0008CL-K8 for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2019 09:13:13 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 386C0337; Fri, 7 Jun 2019 02:13:09 -0700 (PDT) Received: from p8cg001049571a15.blr.arm.com (p8cg001049571a15.blr.arm.com [10.162.42.131]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CB33E3F96A; Fri, 7 Jun 2019 02:13:05 -0700 (PDT) From: Anshuman Khandual To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH V3 0/2] arm64/mm: Clean ups for do_page_fault() Date: Fri, 7 Jun 2019 14:43:04 +0530 Message-Id: <1559898786-28530-1-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190607_021311_708309_22641922 X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Anshuman Khandual , Catalin Marinas , Will Deacon , Christoph Hellwig , James Morse , Andrey Konovalov MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This contains some clean ups for page fault handling in do_page_fault(). This has been boot tested on arm64 platform along with some stress tests but just build tested on others. Contains remaining two patches from v3 series after the first two patches were merged. This series applies on arm64 tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git (for-next/core) Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: James Morse Cc: Andrey Konovalov Cc: Christoph Hellwig Changes in V3: - Dropped first two patches which got queued up for 5.3 - Rebased on branch for-next/core on arm64 tree - s/is_el0_write_abort/is_write_abort/ with a comment per Mark and Catalin - s/is_el0_write/is_write following the above change - Updated commit message on [PATCH V3 2/2] per Catalin Changes in V2: (https://lkml.org/lkml/2019/6/3/79) - s/is_write_abort()/is_el0_write_abort() with a comment per Mark Rutland - s/is_write/is_el0_write/ & updated commit message as required - s/argument/local variable/ per Christoph Hellwig - Preserved VMA check order for VM_FAULT_BADMAP & VM_FAULT_BADACCESS per Mark - Preserved all existing __do_page_fault() in code comments per Mark - Dropped 'fixes' from the series's subject line per Will Deacon V1: https://lkml.org/lkml/2019/5/29/431 Anshuman Khandual (2): arm64/mm: Consolidate page fault information capture arm64/mm: Refactor __do_page_fault() arch/arm64/mm/fault.c | 56 +++++++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 26 deletions(-) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel