diff options
author | Michael Kelley <mikelley@microsoft.com> | 2021-02-24 01:44:54 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-17 07:04:40 +0300 |
commit | 3d9c3dcc58e968403f29767726407bc680e087b5 (patch) | |
tree | 5fb4eeaecd3eeb00281c0037eb07bfbbcef805ec /Documentation/devicetree/bindings/ufs | |
parent | 471ee95ccca9c417344453f73a39681cfde39af1 (diff) | |
download | linux-3d9c3dcc58e968403f29767726407bc680e087b5.tar.xz |
scsi: storvsc: Enable scatterlist entry lengths > 4Kbytes
storvsc currently sets .dma_boundary to limit scatterlist entries to 4
Kbytes, which is less efficient with huge pages that offer large chunks of
contiguous physical memory. Improve the algorithm for creating the Hyper-V
guest physical address PFN array so that scatterlist entries with lengths >
4Kbytes are handled. As a result, remove the .dma_boundary setting.
The improved algorithm also adds support for scatterlist entries with
offsets >= 4Kbytes, which is supported by many other SCSI low-level
drivers. And it retains support for architectures where possibly PAGE_SIZE
!= HV_HYP_PAGE_SIZE (such as ARM64).
Link: https://lore.kernel.org/r/1614120294-1930-1-git-send-email-mikelley@microsoft.com
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Documentation/devicetree/bindings/ufs')
0 files changed, 0 insertions, 0 deletions