On 2021-12-21 2:00 a.m., Christoph Hellwig wrote: > On Wed, Nov 17, 2021 at 02:53:48PM -0700, Logan Gunthorpe wrote: >> Convert the sg_is_chain(), sg_is_last() and sg_chain_ptr() macros >> into static inline functions. There's no reason for these to be macros >> and static inline are generally preferred these days. >> >> Also introduce the SG_PAGE_LINK_MASK define so the P2PDMA work, which is >> adding another bit to this mask, can do so more easily. >> >> Suggested-by: Jason Gunthorpe <j...@nvidia.com> >> Signed-off-by: Logan Gunthorpe <log...@deltatee.com> > > Looks fine: > > Reviewed-by: Christoph Hellwig <h...@lst.de> > > scatterlist.h doesn't have a real maintainer, do you want me to pick > this up through the DMA tree? Sure, that would be great! Thanks, Logan _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu
- [PATCH v4 00/23] Userspace P2PDMA with O_DIRE... Logan Gunthorpe
- [PATCH v4 12/23] RDMA/core: introduce ib... Logan Gunthorpe
- [PATCH v4 18/23] lib/scatterlist: add ch... Logan Gunthorpe
- [PATCH v4 17/23] block: add check when m... Logan Gunthorpe
- Re: [PATCH v4 17/23] block: add chec... Christoph Hellwig
- [PATCH v4 08/23] dma-mapping: add flags ... Logan Gunthorpe
- [PATCH v4 01/23] lib/scatterlist: cleanu... Logan Gunthorpe
- Re: [PATCH v4 01/23] lib/scatterlist... Chaitanya Kulkarni via iommu
- Re: [PATCH v4 01/23] lib/scatterlist... Christoph Hellwig
- Re: [PATCH v4 01/23] lib/scatter... Logan Gunthorpe
- Re: [PATCH v4 01/23] lib/sca... Christoph Hellwig
- [PATCH v4 23/23] nvme-pci: allow mmaping... Logan Gunthorpe
- Re: [PATCH v4 23/23] nvme-pci: allow... Christoph Hellwig
- [PATCH v4 02/23] lib/scatterlist: add fl... Logan Gunthorpe
- Re: [PATCH v4 02/23] lib/scatterlist... Chaitanya Kulkarni via iommu
- Re: [PATCH v4 02/23] lib/scatterlist... Christoph Hellwig
- [PATCH v4 14/23] PCI/P2PDMA: Remove pci_... Logan Gunthorpe
- [PATCH v4 19/23] block: set FOLL_PCI_P2P... Logan Gunthorpe
- [PATCH v4 03/23] PCI/P2PDMA: Attempt to ... Logan Gunthorpe
- Re: [PATCH v4 03/23] PCI/P2PDMA: Att... Chaitanya Kulkarni via iommu