Thread (13 messages) 13 messages, 5 authors, 2021-03-08

Re: [PATCH V3 0/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory

From: Veronika Kabatova <hidden>
Date: 2021-03-05 18:17:40
Also in: linux-mm, lkml


----- Original Message -----
From: "Veronika Kabatova" <redacted>
To: "Anshuman Khandual" <redacted>
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Catalin Marinas"
[off-list ref], "Will Deacon" [off-list ref], "Ard Biesheuvel" [off-list ref], "Mark Rutland"
[off-list ref], "James Morse" [off-list ref], "Robin Murphy" [off-list ref], "Jérôme Glisse"
[off-list ref], "Dan Williams" [off-list ref], "David Hildenbrand" [off-list ref], "Mike
Rapoport" [off-list ref]
Sent: Friday, March 5, 2021 1:28:40 PM
Subject: Re: [PATCH V3 0/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory



----- Original Message -----
quoted
From: "Anshuman Khandual" <redacted>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-mm@kvack.org
Cc: "Catalin Marinas" <catalin.marinas@arm.com>, "Will Deacon"
[off-list ref], "Ard Biesheuvel" [off-list ref],
"Mark Rutland" [off-list ref], "James Morse" [off-list ref],
"Robin Murphy" [off-list ref],
"Jérôme Glisse" [off-list ref], "Dan Williams"
[off-list ref], "David Hildenbrand"
[off-list ref], "Mike Rapoport" [off-list ref], "Veronika
Kabatova" [off-list ref]
Sent: Friday, March 5, 2021 6:38:14 AM
Subject: Re: [PATCH V3 0/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based
memory


On 3/5/21 10:54 AM, Anshuman Khandual wrote:
quoted
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 <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Jérôme Glisse <redacted>
Cc: Dan Williams <redacted>
Cc: David Hildenbrand <redacted>
Cc: Mike Rapoport <redacted>
Cc: Veronika Kabatova <redacted>
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.
Hello Anshuman,

the machine in question is currently loaned to a developer. I'll reach
out to them and will let you know once I have any results.
Hi,

I'm happy to report the kernel boots with these new patches. I used the
5.12.0-rc1 kernel (commit 280d542f6ffac0) as a base. The full console log
from the boot process is available at

https://gitlab.com/-/snippets/2086833

in case you want to take a look. Note that there are some call traces
starting around line 3220, but they are NOT introduced by these two
patches and are also present with the base mainline kernel.


Veronika
Veronika
quoted
[1]
https://lore.kernel.org/linux-arm-kernel/cki.8D1CB60FEC.K6NJMEFQPV@redhat.com/ (local)

- Anshuman

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help