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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no 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 5AD80C2BB85 for ; Wed, 15 Apr 2020 06:40:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 44A2420775 for ; Wed, 15 Apr 2020 06:40:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2634918AbgDOGkP (ORCPT ); Wed, 15 Apr 2020 02:40:15 -0400 Received: from foss.arm.com ([217.140.110.172]:38144 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393565AbgDOGkO (ORCPT ); Wed, 15 Apr 2020 02:40:14 -0400 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 9FFDD31B; Tue, 14 Apr 2020 23:40:12 -0700 (PDT) Received: from p8cg001049571a15.arm.com (unknown [10.163.1.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3062E3F73D; Tue, 14 Apr 2020 23:44:16 -0700 (PDT) From: Anshuman Khandual To: linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org Cc: akpm@linux-foundation.org, catalin.marinas@arm.com, will@kernel.com, mark.rutland@arm.com, Anshuman Khandual , Michal Hocko , Dan Williams , David Hildenbrand , Yu Zhao , Hsin-Yi Wang , Thomas Gleixner , Steve Capper , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] arm64/hotplug: Process MEM_OFFLINE and MEM_CANCEL_OFFLINE events Date: Wed, 15 Apr 2020 12:09:42 +0530 Message-Id: <1586932784-16315-1-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series improves arm64 memory event notifier (hot remove) robustness by enabling it to detect potential problems (if any) in the future. But first it enumerates memory isolation failure reasons that can be sent across a notifier. This series does not go beyond arm64 to explore if these failure reason codes could be used in other existing registered memory notifiers. Please do let me know if there is any other potential use cases, will be happy to incorporate next time around. Also should we add similar failure reasons for online_pages() as well ? This series has been tested on arm64, boot tested on x86 and build tested on multiple other platforms. This series applies on v5.7-rc1. Cc: Andrew Morton Cc: Michal Hocko Cc: Dan Williams Cc: David Hildenbrand Cc: Yu Zhao Cc: Hsin-Yi Wang Cc: Thomas Gleixner Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Steve Capper Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Anshuman Khandual (2): mm/hotplug: Enumerate memory range offlining failure reasons arm64/hotplug: Process MEM_OFFLINE and MEM_CANCEL_OFFLINE arch/arm64/mm/mmu.c | 52 ++++++++++++++++++++++++++++++++++++++---- drivers/base/memory.c | 9 ++++++++ include/linux/memory.h | 27 ++++++++++++++++++++++ mm/memory_hotplug.c | 24 ++++++++++++------- 4 files changed, 99 insertions(+), 13 deletions(-) -- 2.20.1 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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no 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 14F76C2BA2B for ; Wed, 15 Apr 2020 06:40:20 +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 D0A65206F9 for ; Wed, 15 Apr 2020 06:40:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jGVjyysK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D0A65206F9 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=vGcsJ4Hr8Bukp5BtkQo3fShBUGzLRINw0GDxLd3y/T4=; b=jGV jyysKffLbTePMcTGeUL/1SCTKObDOhxb0UbIeZuc70VUaM296dUH2ut8u6A8KDjkaScNTW3ZYcEMm RsmFAoFAhEzNEBLh9SPz/5pR5TULQKiVN3rcmW9Na1wmrpH+nZKYlXMBYfRuZYPomkbT70zvvOpUe iWrWaIJgILjXqS6wfdfhEgUm6drxacouxkYaCJXNQqMy1NUH5Q8MkGhh0oiReflf3vAOhhG5lutMD JP4jBe+neTiWRo9Psrv4ERZeTnCK+A4ut0GJUijqgWDefqw1GdT5YCUHVLwLhFs0OVGBWH8fiCeJ8 jrzu6fWIvs69E+hMkeGyLKhH4EC3AsA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jObia-00007e-NN; Wed, 15 Apr 2020 06:40:16 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jObiY-00006w-5J for linux-arm-kernel@lists.infradead.org; Wed, 15 Apr 2020 06:40:15 +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 9FFDD31B; Tue, 14 Apr 2020 23:40:12 -0700 (PDT) Received: from p8cg001049571a15.arm.com (unknown [10.163.1.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3062E3F73D; Tue, 14 Apr 2020 23:44:16 -0700 (PDT) From: Anshuman Khandual To: linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] arm64/hotplug: Process MEM_OFFLINE and MEM_CANCEL_OFFLINE events Date: Wed, 15 Apr 2020 12:09:42 +0530 Message-Id: <1586932784-16315-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-20200414_234014_246913_844F1A47 X-CRM114-Status: GOOD ( 12.30 ) 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@arm.com, Michal Hocko , will@kernel.com, Anshuman Khandual , catalin.marinas@arm.com, David Hildenbrand , Steve Capper , linux-kernel@vger.kernel.org, Thomas Gleixner , Hsin-Yi Wang , akpm@linux-foundation.org, Dan Williams , Yu Zhao 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 series improves arm64 memory event notifier (hot remove) robustness by enabling it to detect potential problems (if any) in the future. But first it enumerates memory isolation failure reasons that can be sent across a notifier. This series does not go beyond arm64 to explore if these failure reason codes could be used in other existing registered memory notifiers. Please do let me know if there is any other potential use cases, will be happy to incorporate next time around. Also should we add similar failure reasons for online_pages() as well ? This series has been tested on arm64, boot tested on x86 and build tested on multiple other platforms. This series applies on v5.7-rc1. Cc: Andrew Morton Cc: Michal Hocko Cc: Dan Williams Cc: David Hildenbrand Cc: Yu Zhao Cc: Hsin-Yi Wang Cc: Thomas Gleixner Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Steve Capper Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Anshuman Khandual (2): mm/hotplug: Enumerate memory range offlining failure reasons arm64/hotplug: Process MEM_OFFLINE and MEM_CANCEL_OFFLINE arch/arm64/mm/mmu.c | 52 ++++++++++++++++++++++++++++++++++++++---- drivers/base/memory.c | 9 ++++++++ include/linux/memory.h | 27 ++++++++++++++++++++++ mm/memory_hotplug.c | 24 ++++++++++++------- 4 files changed, 99 insertions(+), 13 deletions(-) -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel