From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
linux-m68k@lists.linux-m68k.org, linux-block@vger.kernel.org
Subject: add a bvec_phys helper
Date: Fri, 5 Jul 2024 10:14:32 +0200 [thread overview]
Message-ID: <20240705081508.2110169-1-hch@lst.de> (raw)
Hi Jens,
this series adds a bvec_phys helper to get the physical address
of a bio_vec so that callers don't have to poke into bvec internals.
There aren't a whole lot of user of it yet, but with the new proposed
DMA mapping API we might grow a lot more soon.
Diffstat:
arch/m68k/emu/nfblock.c | 2 +-
block/bio.c | 2 +-
block/blk-merge.c | 22 +++++++++-------------
block/blk.h | 4 ++--
include/linux/bvec.h | 15 +++++++++++++++
5 files changed, 28 insertions(+), 17 deletions(-)
next reply other threads:[~2024-07-05 8:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-05 8:14 Christoph Hellwig [this message]
2024-07-05 8:14 ` [PATCH 1/2] block: pass a phys_addr_t to get_max_segment_size Christoph Hellwig
2024-07-05 8:41 ` Geert Uytterhoeven
2024-07-05 8:14 ` [PATCH 2/2] block: add a bvec_phys helper Christoph Hellwig
2024-07-05 8:50 ` Geert Uytterhoeven
2024-07-05 11:22 ` Christoph Hellwig
2024-07-05 11:30 ` Geert Uytterhoeven
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=20240705081508.2110169-1-hch@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=geert@linux-m68k.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
/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