Files
linux/drivers
Ankit Agrawal ebb9aeb980 vfio/nvgrace-gpu: register device memory for poison handling
The nvgrace-gpu-vfio-pci module [1] maps the device memory to the user VA
(Qemu) using remap_pfn_range() without adding the memory to the kernel. 
The device memory pages are not backed by struct page.  The previous patch
implements the mechanism to handle ECC/poison on memory page without
struct page.  This new mechanism is being used here.

The module registers its memory region and the address_space with the
kernel MM for ECC handling using the register_pfn_address_space()
registration API exposed by the kernel.

Link: https://lore.kernel.org/all/[email protected]/ [1]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ankit Agrawal <[email protected]>
Acked-by: Alex Williamson <[email protected]>
Cc: Aniket Agashe <[email protected]>
Cc: Borislav Betkov <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Hanjun Guo <[email protected]>
Cc: Ira Weiny <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Joanthan Cameron <[email protected]>
Cc: Kevin Tian <[email protected]>
Cc: Kirti Wankhede <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Liam Howlett <[email protected]>
Cc: Lorenzo Stoakes <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Cc: Matthew R. Ochs <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Miaohe Lin <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Neo Jia <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Shuai Xue <[email protected]>
Cc: Smita Koralahalli Channabasappa <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Tarun Gupta <[email protected]>
Cc: Uwe Kleine-König <[email protected]>
Cc: Vikram Sethi <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Zhi Wang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
2025-11-16 17:28:30 -08:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-10-19 18:56:14 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…