Searched hist:"8 d7c7c0eeb74281c846ef9231ce20536c79a99b4" (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_qp_rx.c | diff 8d7c7c0eeb74281c846ef9231ce20536c79a99b4 Fri Apr 14 08:58:29 CDT 2023 Jason Gunthorpe <jgg@nvidia.com> RDMA: Add ib_virt_dma_to_page()
Make it clearer what is going on by adding a function to go back from the "virtual" dma_addr to a kva and another to a struct page. This is used in the ib_uses_virt_dma() style drivers (siw, rxe, hfi, qib).
Call them instead of a naked casting and virt_to_page() when working with dma_addr values encoded by the various ib_map functions.
This also fixes the virt_to_page() casting problem Linus Walleij has been chasing.
Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/0-v2-05ea785520ed+10-ib_virt_page_jgg@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
|
H A D | siw_qp_tx.c | diff 8d7c7c0eeb74281c846ef9231ce20536c79a99b4 Fri Apr 14 08:58:29 CDT 2023 Jason Gunthorpe <jgg@nvidia.com> RDMA: Add ib_virt_dma_to_page()
Make it clearer what is going on by adding a function to go back from the "virtual" dma_addr to a kva and another to a struct page. This is used in the ib_uses_virt_dma() style drivers (siw, rxe, hfi, qib).
Call them instead of a naked casting and virt_to_page() when working with dma_addr values encoded by the various ib_map functions.
This also fixes the virt_to_page() casting problem Linus Walleij has been chasing.
Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/0-v2-05ea785520ed+10-ib_virt_page_jgg@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
|
H A D | siw_verbs.c | diff 8d7c7c0eeb74281c846ef9231ce20536c79a99b4 Fri Apr 14 08:58:29 CDT 2023 Jason Gunthorpe <jgg@nvidia.com> RDMA: Add ib_virt_dma_to_page()
Make it clearer what is going on by adding a function to go back from the "virtual" dma_addr to a kva and another to a struct page. This is used in the ib_uses_virt_dma() style drivers (siw, rxe, hfi, qib).
Call them instead of a naked casting and virt_to_page() when working with dma_addr values encoded by the various ib_map functions.
This also fixes the virt_to_page() casting problem Linus Walleij has been chasing.
Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/0-v2-05ea785520ed+10-ib_virt_page_jgg@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_mr.c | diff 8d7c7c0eeb74281c846ef9231ce20536c79a99b4 Fri Apr 14 08:58:29 CDT 2023 Jason Gunthorpe <jgg@nvidia.com> RDMA: Add ib_virt_dma_to_page()
Make it clearer what is going on by adding a function to go back from the "virtual" dma_addr to a kva and another to a struct page. This is used in the ib_uses_virt_dma() style drivers (siw, rxe, hfi, qib).
Call them instead of a naked casting and virt_to_page() when working with dma_addr values encoded by the various ib_map functions.
This also fixes the virt_to_page() casting problem Linus Walleij has been chasing.
Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/0-v2-05ea785520ed+10-ib_virt_page_jgg@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
|
H A D | rxe_verbs.c | diff 8d7c7c0eeb74281c846ef9231ce20536c79a99b4 Fri Apr 14 08:58:29 CDT 2023 Jason Gunthorpe <jgg@nvidia.com> RDMA: Add ib_virt_dma_to_page()
Make it clearer what is going on by adding a function to go back from the "virtual" dma_addr to a kva and another to a struct page. This is used in the ib_uses_virt_dma() style drivers (siw, rxe, hfi, qib).
Call them instead of a naked casting and virt_to_page() when working with dma_addr values encoded by the various ib_map functions.
This also fixes the virt_to_page() casting problem Linus Walleij has been chasing.
Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/0-v2-05ea785520ed+10-ib_virt_page_jgg@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
|
/openbmc/linux/include/rdma/ |
H A D | ib_verbs.h | diff 8d7c7c0eeb74281c846ef9231ce20536c79a99b4 Fri Apr 14 08:58:29 CDT 2023 Jason Gunthorpe <jgg@nvidia.com> RDMA: Add ib_virt_dma_to_page()
Make it clearer what is going on by adding a function to go back from the "virtual" dma_addr to a kva and another to a struct page. This is used in the ib_uses_virt_dma() style drivers (siw, rxe, hfi, qib).
Call them instead of a naked casting and virt_to_page() when working with dma_addr values encoded by the various ib_map functions.
This also fixes the virt_to_page() casting problem Linus Walleij has been chasing.
Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/0-v2-05ea785520ed+10-ib_virt_page_jgg@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
|