diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-14 08:02:57 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-04-18 07:21:13 +0200 |
commit | 7374153d294eb51de5a81ac38ff1c4fef8927bec (patch) | |
tree | d16ca1fc86fa89880cd0e9482118b5faf58ad403 /drivers/xen | |
parent | swiotlb: pass a gfp_mask argument to swiotlb_init_late (diff) | |
download | linux-7374153d294eb51de5a81ac38ff1c4fef8927bec.tar.xz linux-7374153d294eb51de5a81ac38ff1c4fef8927bec.zip |
swiotlb: provide swiotlb_init variants that remap the buffer
To shared more code between swiotlb and xen-swiotlb, offer a
swiotlb_init_remap interface and add a remap callback to
swiotlb_init_late that will allow Xen to remap the buffer without
duplicating much of the logic.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions