diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2025-01-02 11:32:54 -0700 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2025-01-03 08:49:05 -0700 |
commit | 09dfc8a5f2ce897005a94bf66cca4f91e4e03700 (patch) | |
tree | 728fa79fd664ef7a24ae1593114d6c196e1aec52 /fs/cachefiles/internal.h | |
parent | fc033cf25e612e840e545f8d5ad2edd6ba613ed5 (diff) | |
download | linux-09dfc8a5f2ce897005a94bf66cca4f91e4e03700.tar.gz linux-09dfc8a5f2ce897005a94bf66cca4f91e4e03700.tar.bz2 linux-09dfc8a5f2ce897005a94bf66cca4f91e4e03700.zip |
vfio/pci: Fallback huge faults for unaligned pfn
The PFN must also be aligned to the fault order to insert a huge
pfnmap. Test the alignment and fallback when unaligned.
Fixes: f9e54c3a2f5b ("vfio/pci: implement huge_fault support")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219619
Reported-by: Athul Krishna <athul.krishna.kr@protonmail.com>
Reported-by: Precific <precification@posteo.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Tested-by: Precific <precification@posteo.de>
Link: https://lore.kernel.org/r/20250102183416.1841878-1-alex.williamson@redhat.com
Cc: stable@vger.kernel.org
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'fs/cachefiles/internal.h')
0 files changed, 0 insertions, 0 deletions