Thread (10 messages) 10 messages, 6 authors, 2020-09-03

Re: [PATCH 0/2] dma-mapping: update default segment_boundary_mask

From: Nicolin Chen <nicoleotsuka@gmail.com>
Date: 2020-09-03 03:26:52
Also in: linux-alpha, linux-s390, lkml, sparclinux

On Wed, Sep 02, 2020 at 10:13:12AM +0200, Niklas Schnelle wrote:
On 9/2/20 12:16 AM, Nicolin Chen wrote:
quoted
These two patches are to update default segment_boundary_mask.

PATCH-1 fixes overflow issues in callers of dma_get_seg_boundary.
Previous version was a series: https://lkml.org/lkml/2020/8/31/1026

Then PATCH-2 sets default segment_boundary_mask to ULONG_MAX.

Nicolin Chen (2):
  dma-mapping: introduce dma_get_seg_boundary_nr_pages()
  dma-mapping: set default segment_boundary_mask to ULONG_MAX
I gave both of your patches a quick test ride on a couple of dev mainframes,
both NVMe, ConnectX and virtio-pci devices all seems to work fine.
I already commented on Christoph's mail that I like the helper approach,
so as for s390 you can add my

Acked-by: Niklas Schnelle <schnelle@linux.ibm.com>
 
Thanks for testing and the ack! 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help