From: Christoph Hellwig <hch@infradead.org>
To: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Doug Ledford <dledford@redhat.com>,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
Christian Borntraeger <borntraeger@de.ibm.com>,
Joerg Roedel <jroedel@suse.de>, Andy Lutomirski <luto@kernel.org>,
"Michael S . Tsirkin" <mst@redhat.com>
Subject: Re: [PATCH 3/9] dma: Add dma_virt_ops
Date: Wed, 11 Jan 2017 00:56:25 -0800 [thread overview]
Message-ID: <20170111085625.GA15575@infradead.org> (raw)
In-Reply-To: <20170111005648.14988-4-bart.vanassche@sandisk.com>
> +lib-$(CONFIG_HAS_DMA) += dma-virt.o
There probably should be a config option for it for two reasons:
- do not bloat kernels that don't need it.
- the feature can only work for 32-bit architectures or for
64-bit architectures that set ARCH_DMA_ADDR_T_64BIT…
Altenatiely this option would have to force
ARCH_DMA_ADDR_T_64BIT when not yet set for 64-bit architectures.
And yes, this is currently broken already for, but we'd better fix it.
next prev parent reply other threads:[~2017-01-11 8:56 UTC|newest]
Thread overview: 101+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-11 0:56 [PATCH 0/9] IB: Optimize DMA mapping Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` [PATCH 1/9] treewide: Constify most dma_map_ops structures Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` [OpenRISC] " Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` [PATCH 2/9] Move dma_ops from archdata into struct device Bart Van Assche
2017-01-11 0:56 ` [OpenRISC] " Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
[not found] ` <20170111005648.14988-3-bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-11 6:46 ` Greg Kroah-Hartman
2017-01-11 6:46 ` [OpenRISC] " Greg Kroah-Hartman
2017-01-11 6:46 ` Greg Kroah-Hartman
2017-01-11 6:46 ` Greg Kroah-Hartman
2017-01-11 6:46 ` Greg Kroah-Hartman
[not found] ` <20170111064624.GA26893-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2017-01-11 18:03 ` Bart Van Assche
2017-01-11 18:03 ` Bart Van Assche
2017-01-11 18:03 ` [OpenRISC] " Bart Van Assche
2017-01-11 18:03 ` Bart Van Assche
2017-01-11 18:03 ` Bart Van Assche
2017-01-11 18:03 ` Bart Van Assche
2017-01-11 18:03 ` Bart Van Assche
2017-01-11 18:03 ` Bart Van Assche
[not found] ` <1484157772.2619.12.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-11 20:29 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
2017-01-11 20:29 ` [OpenRISC] " gregkh
2017-01-11 20:29 ` gregkh
2017-01-11 20:29 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
2017-01-11 20:29 ` gregkh
2017-01-11 20:29 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
2017-01-11 6:48 ` Greg Kroah-Hartman
2017-01-11 6:48 ` [OpenRISC] " Greg Kroah-Hartman
2017-01-11 6:48 ` Greg Kroah-Hartman
2017-01-11 6:48 ` Greg Kroah-Hartman
2017-01-11 6:48 ` Greg Kroah-Hartman
[not found] ` <20170111064803.GB26893-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2017-01-11 18:17 ` Bart Van Assche
2017-01-11 18:17 ` Bart Van Assche
2017-01-11 18:17 ` [OpenRISC] " Bart Van Assche
2017-01-11 18:17 ` Bart Van Assche
2017-01-11 18:17 ` Bart Van Assche
2017-01-11 18:17 ` Bart Van Assche
2017-01-11 18:17 ` Bart Van Assche
2017-01-11 18:17 ` Bart Van Assche
[not found] ` <1484158589.2619.14.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-11 20:31 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
2017-01-11 20:31 ` [OpenRISC] " gregkh
2017-01-11 20:31 ` gregkh
2017-01-11 20:31 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
2017-01-11 20:31 ` gregkh
2017-01-11 20:31 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
[not found] ` <20170111203100.GB17895-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2017-01-11 22:28 ` Bart Van Assche
2017-01-11 22:28 ` [OpenRISC] " Bart Van Assche
2017-01-11 22:28 ` Bart Van Assche
2017-01-11 22:28 ` Bart Van Assche
2017-01-11 22:28 ` Bart Van Assche
2017-01-11 22:28 ` Bart Van Assche
[not found] ` <1484173670.2619.28.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-12 7:35 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
2017-01-12 7:35 ` [OpenRISC] " gregkh
2017-01-12 7:35 ` gregkh
2017-01-12 7:35 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
2017-01-12 7:35 ` gregkh
2017-01-12 7:35 ` gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
2017-01-11 0:56 ` [PATCH 3/9] dma: Add dma_virt_ops Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 8:56 ` Christoph Hellwig [this message]
[not found] ` <20170111085625.GA15575-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2017-01-12 0:07 ` Bart Van Assche
2017-01-12 0:07 ` Bart Van Assche
2017-01-11 0:56 ` [PATCH 5/9] IB/qib: Remove DMA mapping code Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-12 13:15 ` Leon Romanovsky
2017-01-11 0:56 ` [PATCH 6/9] IB: Use dma_virt_ops instead of duplicating it Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
[not found] ` <20170111005648.14988-7-bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-12 13:17 ` Leon Romanovsky
2017-01-12 13:17 ` Leon Romanovsky
2017-01-11 0:56 ` [PATCH 7/9] RDS: IB: Remove an unused structure member Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
[not found] ` <20170111005648.14988-8-bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-11 1:21 ` santosh.shilimkar-QHcLZuEGTsvQT0dZR+AlfA
2017-01-11 1:21 ` santosh.shilimkar
2017-01-11 0:56 ` [PATCH 8/9] IB: Convert ib_dma_*_coherent() argument type from u64 into dma_addr_t Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
[not found] ` <20170111005648.14988-9-bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-12 13:12 ` Leon Romanovsky
2017-01-12 13:12 ` Leon Romanovsky
2017-01-11 0:56 ` [PATCH 9/9] treewide: Inline ib_dma_map_*() functions Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 0:56 ` [lustre-devel] " Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-12 11:45 ` Sagi Grimberg
2017-01-12 11:45 ` [lustre-devel] " Sagi Grimberg
2017-01-12 11:45 ` Sagi Grimberg
2017-01-12 11:45 ` Sagi Grimberg
2017-01-12 13:09 ` Leon Romanovsky
2017-01-12 13:09 ` [lustre-devel] " Leon Romanovsky
2017-01-12 13:09 ` Leon Romanovsky
2017-01-12 13:09 ` Leon Romanovsky
[not found] ` <20170111005648.14988-1-bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-11 0:56 ` [PATCH 4/9] IB/hf1: Remove DMA mapping code Bart Van Assche
2017-01-11 0:56 ` Bart Van Assche
2017-01-11 1:28 ` [PATCH 0/9] IB: Optimize DMA mapping santosh.shilimkar-QHcLZuEGTsvQT0dZR+AlfA
2017-01-11 1:28 ` santosh.shilimkar
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=20170111085625.GA15575@infradead.org \
--to=hch@infradead.org \
--cc=bart.vanassche@sandisk.com \
--cc=borntraeger@de.ibm.com \
--cc=dledford@redhat.com \
--cc=jroedel@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mst@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.