From: Christoph Hellwig <hch@lst.de>
To: Jia He <justin.he@arm.com>
Cc: Christoph Hellwig <hch@lst.de>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Robin Murphy <robin.murphy@arm.com>,
iommu@lists.linux.dev, linux-kernel@vger.kernel.org, nd@arm.com
Subject: Re: [PATCH v4 1/2] dma-mapping: move dma_addressing_limited() out of line
Date: Mon, 6 Nov 2023 08:37:24 +0100 [thread overview]
Message-ID: <20231106073724.GA17734@lst.de> (raw)
In-Reply-To: <20231028102059.66891-2-justin.he@arm.com>
> +bool dma_addressing_limited(struct device *dev)
> +{
> + return min_not_zero(dma_get_mask(dev), dev->bus_dma_limit) <
> + dma_get_required_mask(dev);
> +}
> +EXPORT_SYMBOL(dma_addressing_limited);
I've changed this to an EXPORT_SYMBOL_GPL to match dma_get_required_mask.
next prev parent reply other threads:[~2023-11-06 7:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-28 10:20 [PATCH v4 0/2] fix dma_addressing_limited() if dma_range_map Jia He
2023-10-28 10:20 ` [PATCH v4 1/2] dma-mapping: move dma_addressing_limited() out of line Jia He
2023-11-06 7:37 ` Christoph Hellwig [this message]
2023-10-28 10:20 ` [PATCH v4 2/2] dma-mapping: fix dma_addressing_limited() if dma_range_map can't cover all system RAM Jia He
2023-11-06 7:37 ` Christoph Hellwig
2023-11-06 7:36 ` [PATCH v4 0/2] fix dma_addressing_limited() if dma_range_map Christoph Hellwig
2023-11-06 9:11 ` Justin He
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231106073724.GA17734@lst.de \
--to=hch@lst.de \
--cc=iommu@lists.linux.dev \
--cc=justin.he@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=nd@arm.com \
--cc=robin.murphy@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox