Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1756974pxb; Thu, 4 Mar 2021 21:38:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXLsIzgQmSleGe/625J1GPhwL68MpCAC4PB7JHVGuHjpi+rK2en4d80Qw063uso7eVASAb X-Received: by 2002:a05:6e02:586:: with SMTP id c6mr7130923ils.106.1614922694226; Thu, 04 Mar 2021 21:38:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614922694; cv=none; d=google.com; s=arc-20160816; b=U7vYn2wiCQwQa14anX4WoF7ELXifjKjUCujGGpwKycKRREe83TNp9g/PUolCMM58ZM WhzvPIIJ7RsS4ZW6gv9pvsKCgbtrkEKx43TxjRXaKRjStwxkQs3cioi7sFEQwQxQumy9 iIHGdadXNBeQ+ROYl+6/ocfmxf3eMtSYaEJgmiLCmwAQXibD76dALmhB1pQ5R4LJAZw0 55nuSupAF/jzaXZYK/ZQ5YxfwrEIUpjgcBITwbMwZdNGsxL/uwO0kJD6UJsLxBsR8TVe rdP3QP4+j2oId/hNKmyuMjT0zhC7qhComJiq++JWHFSBOevOpxFm7oB3WlmMloMn5VRI gYvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=/uabXkb0TQKRNQrINJAkM1JGIJiRhmmH3U409o5laLo=; b=wyilhz0Dmb4sB6VW4pLp9KzPVuf5Xy9wcHE10JwKuDAfrLd+FVgjVyEbhu6NJxjGna /rQxvj40pIJ6kNwdq1ra14bz0zs2oAF9Ws2grMXl/EX+aucCFYtgnTX3Px0jjguJWesj 26vTU5orTd/wqHrV0Z9bBj7KxvcZwRwWliSAqYYnM10Y4B9dUPuVhqX7DD2Mr39INmGP JfwetwLYY2lw0HYEMtgrTCqspg/ciwgQNPxe2nCy1RsgCBHj+mvdFn5I8swCpYaHYbHt cm/z6zZAf9nTSyadBdguNksJqCt30wyBAdH9ew4phBkGIe7cQkvSPQwUxV9ALMUynVFh oOUw== 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=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s7si1555691jan.4.2021.03.04.21.38.00; Thu, 04 Mar 2021 21:38:14 -0800 (PST) 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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229478AbhCEFhp (ORCPT + 99 others); Fri, 5 Mar 2021 00:37:45 -0500 Received: from foss.arm.com ([217.140.110.172]:48094 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbhCEFhp (ORCPT ); Fri, 5 Mar 2021 00:37:45 -0500 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 DFDB531B; Thu, 4 Mar 2021 21:37:44 -0800 (PST) Received: from [10.163.68.69] (unknown [10.163.68.69]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 43E1B3F73B; Thu, 4 Mar 2021 21:37:39 -0800 (PST) Subject: Re: [PATCH V3 0/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Catalin Marinas , Will Deacon , Ard Biesheuvel , Mark Rutland , James Morse , Robin Murphy , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Dan Williams , David Hildenbrand , Mike Rapoport , Veronika Kabatova References: <1614921898-4099-1-git-send-email-anshuman.khandual@arm.com> From: Anshuman Khandual Message-ID: Date: Fri, 5 Mar 2021 11:08:14 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1614921898-4099-1-git-send-email-anshuman.khandual@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/5/21 10:54 AM, Anshuman Khandual wrote: > This series fixes pfn_valid() for ZONE_DEVICE based memory and also improves > its performance for normal hotplug memory. While here, it also reorganizes > pfn_valid() on CONFIG_SPARSEMEM. This series is based on v5.12-rc1. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Ard Biesheuvel > Cc: Mark Rutland > Cc: James Morse > Cc: Robin Murphy > Cc: Jérôme Glisse > Cc: Dan Williams > Cc: David Hildenbrand > Cc: Mike Rapoport > Cc: Veronika Kabatova > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-mm@kvack.org > Cc: linux-kernel@vger.kernel.org > > Changes in V3: > > - Validate the pfn before fetching mem_section with __pfn_to_section() in [PATCH 2/2] Hello Veronica, Could you please help recreate the earlier failure [1] but with this series applies on v5.12-rc1. Thank you. [1] https://lore.kernel.org/linux-arm-kernel/cki.8D1CB60FEC.K6NJMEFQPV@redhat.com/ - Anshuman