Re: [PATCH v2 1/1] s390/pv: fix the forcing of the swiotlb

2021-07-27 Thread Christian Borntraeger
On 27.07.21 14:57, Will Deacon wrote: On Tue, Jul 27, 2021 at 02:54:14PM +0200, Christian Borntraeger wrote: On 24.07.21 02:27, Konrad Rzeszutek Wilk wrote: On Sat, Jul 24, 2021 at 01:17:46AM +0200, Halil Pasic wrote: Since commit 903cd0f315fe ("swiotlb: Use is_swiotlb_force_bounce for swi

Re: [PATCH v2 1/1] s390/pv: fix the forcing of the swiotlb

2021-07-27 Thread Will Deacon
On Tue, Jul 27, 2021 at 02:54:14PM +0200, Christian Borntraeger wrote: > > On 24.07.21 02:27, Konrad Rzeszutek Wilk wrote: > > On Sat, Jul 24, 2021 at 01:17:46AM +0200, Halil Pasic wrote: > > > Since commit 903cd0f315fe ("swiotlb: Use is_swiotlb_force_bounce for > > > swiotlb data bouncing") if co

Re: [PATCH v2 1/1] s390/pv: fix the forcing of the swiotlb

2021-07-27 Thread Christian Borntraeger
On 24.07.21 02:27, Konrad Rzeszutek Wilk wrote: On Sat, Jul 24, 2021 at 01:17:46AM +0200, Halil Pasic wrote: Since commit 903cd0f315fe ("swiotlb: Use is_swiotlb_force_bounce for swiotlb data bouncing") if code sets swiotlb_force it needs to do so before the swiotlb is initialised. Otherwise io

Re: [PATCH v2 1/1] s390/pv: fix the forcing of the swiotlb

2021-07-26 Thread Halil Pasic
On Fri, 23 Jul 2021 20:27:56 -0400 Konrad Rzeszutek Wilk wrote: > On Sat, Jul 24, 2021 at 01:17:46AM +0200, Halil Pasic wrote: > > Since commit 903cd0f315fe ("swiotlb: Use is_swiotlb_force_bounce for > > swiotlb data bouncing") if code sets swiotlb_force it needs to do so > > before the swiotlb i

Re: [PATCH v2 1/1] s390/pv: fix the forcing of the swiotlb

2021-07-23 Thread Konrad Rzeszutek Wilk
On Sat, Jul 24, 2021 at 01:17:46AM +0200, Halil Pasic wrote: > Since commit 903cd0f315fe ("swiotlb: Use is_swiotlb_force_bounce for > swiotlb data bouncing") if code sets swiotlb_force it needs to do so > before the swiotlb is initialised. Otherwise > io_tlb_default_mem->force_bounce will not get s

[PATCH v2 1/1] s390/pv: fix the forcing of the swiotlb

2021-07-23 Thread Halil Pasic
Since commit 903cd0f315fe ("swiotlb: Use is_swiotlb_force_bounce for swiotlb data bouncing") if code sets swiotlb_force it needs to do so before the swiotlb is initialised. Otherwise io_tlb_default_mem->force_bounce will not get set to true, and devices that use (the default) swiotlb will not bounc