Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp910627pxb; Wed, 29 Sep 2021 12:18:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSa25W9qeThYAaj7M7c9QZR9Lebj3y4S/Zt8FOuWxEuXUbQxXvkDvAfWDetiHwtTcTZEHk X-Received: by 2002:a62:cf02:0:b0:447:d4d5:db39 with SMTP id b2-20020a62cf02000000b00447d4d5db39mr226238pfg.67.1632943084414; Wed, 29 Sep 2021 12:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632943084; cv=none; d=google.com; s=arc-20160816; b=tj37BNR3DOCWwGSxivs/SbTQi4uCuRjVfJWSWHJW4/FyUdpkTonDEkrNynWbxH5mF1 FyTPW6BaNvJygs5AQQ4kzipAMNa6XhmKTtGQGSSIBEbqa56QnF17R9VEimz/eJqz7iwq IVq6GjRs847Tz/5MTiE0xVDMvd1buL1cxIUhnixZ2oPyjGueEpimEuVqbjN0V0d/ov5z Zc61c/P3Raaj7I+7HZfTVeMttcQBI6dl49aq6kx/fUmnk1j7cegYZ7545dEYwHvi5EST D2ePAPLclBYjUKXL98RZnNAtB/ZjWoU2WcEkl6ja/xmgGuD0Kd1euaskVxztJbis+OwW ex+g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Gc4PzT7G+xDAiPvfwC/aZmEGcGjPoF8dm2iqvodzF+s=; b=oXAVnh4ZoKQdk3C51U3vhw1mpAtwfzQuN5qT7VLVOUDgksSpbohCTnkgBzFqDmKxIe k8FdNFepvKox5EAeG5aAL/BmSthSybPw7xku3eK/MH2qSOyhiw1UKaYrhspL9XcIlqk+ uCmyNxuaXtBg4KrgJtT3e94BiQQ+Ogr7yEy6CMs/Se+SvImLzCumJANtWZiOS9i8AASY IbL3gC6jD1tCu2ABdLW2cDD2XhUED09WLrR08D0GBy12I8qvgnI1kzrSVk92I6Xr8MTg bLn/HEQZUrWunJi+CekXI8rBr5meoN/H3+okpMiaHmBzq+QHQb8+gW+It8qmHrdLRVWF KiBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gCWrNKDY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x8si877774plv.121.2021.09.29.12.17.51; Wed, 29 Sep 2021 12:18:04 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gCWrNKDY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345414AbhI2Ru0 (ORCPT + 99 others); Wed, 29 Sep 2021 13:50:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:45374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345291AbhI2RuZ (ORCPT ); Wed, 29 Sep 2021 13:50:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A106061361; Wed, 29 Sep 2021 17:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632937724; bh=8bRYESk7HoGUvf9Wpc7n6mnuhVchTufCacY+5UOqb+8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gCWrNKDYN2tVGmGm/R5uQbR9+/fg9Hxov0AMyAFqH2pHKkR7FgZ7D8dn57oxNIm3M yWGFUpVTH08UEho9S2pnYuPP9I/5RZzt9/hA64oxMsQElA37NGiFq5iYkZm24CnT2h wAj4Rrul1Znn9xfjPevJGdb1Q4j3c9GWkfp1fLfGca+aGXg1Yhg37a5bCsohODIXSM kI/ZXRzyFTq2Y6UMNur36cp2nP60DJAxkmIvXzDK+r6xvZQFNNcfGOhtmWVjDWIXGE p+sLpU6zxXW9GFqgo04F7vktnHV44OY7f8705koWFEop7rh1aQIO5rOX9//ATHd0Rg o85PxjL4H0FRg== From: Will Deacon To: Chris Goldsworthy , Andrew Morton Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, Georgi Djakov , Sudarshan Rajagopalan , David Hildenbrand Subject: Re: arm64: mm: update max_pfn after memory hotplug Date: Wed, 29 Sep 2021 18:48:27 +0100 Message-Id: <163293186685.928897.8618689831730989496.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Sep 2021 11:51:48 -0700, Chris Goldsworthy wrote: > Follow up of RFC patch: > > https://lore.kernel.org/linux-mm/a3bf84c4-8f35-f273-145c-55928a06f332@quicinc.com/T/#m219937b1acdd40318bbe90ab39f187804775eb74 > > On arm64 we set max_pfn at boot in arch/arm64/mm/init.c. If you > hotplug in memory after booting up, max_pfn is not updated. This > breaks diagnostic functions executed from user space like > read_page_owner(): > > [...] Applied to arm64 (for-next/mm), thanks! [1/1] arm64: mm: update max_pfn after memory hotplug https://git.kernel.org/arm64/c/8fac67ca236b Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev