Re: [PATCH] powerpc/pseries/iommu: memory notifier incorrectly adds TCEs for pmemory

2025-02-05 Thread Donet Tom
On 2/5/25 19:28, Gaurav Batra wrote: On 2/5/25 6:43 AM, Donet Tom wrote: On 1/31/25 00:08, Gaurav Batra wrote: iommu_mem_notifier() is invoked when RAM is dynamically added/removed. This notifier call is responsible to add/remove TCEs from the Dynamic DMA Window (DDW) when TCEs are pre

Re: [PATCH] powerpc/pseries/iommu: memory notifier incorrectly adds TCEs for pmemory

2025-02-05 Thread Donet Tom
On 1/31/25 00:08, Gaurav Batra wrote: iommu_mem_notifier() is invoked when RAM is dynamically added/removed. This notifier call is responsible to add/remove TCEs from the Dynamic DMA Window (DDW) when TCEs are pre-mapped. TCEs are pre-mapped only for RAM and not for persistent memory (pmemory).

[PATCH 1/1] selftests: mm: hugepage-vmemmap fails on 64K page size systems.

2024-01-10 Thread Donet Tom
whose pfn is 600 *# Result on x86 with patch (page size 4K) *# ./hugepage-vmemmap Returned address is 0x7fc7c2c0 whose pfn is 1dac00 *# Signed-off-by: Donet Tom Reported-by : Geetika Moolchandani (geet...@linux.ibm.com) Tested-by : Geetika Moolchandani (geet...@linux.ibm.com) --- tools/testing