Re: [PATCH v2] usb: usbfs: correct kernel->user page attribute mismatch

2020-05-06 Thread Peter Chen
On 20-05-04 15:13:48, Jeremy Linton wrote: > On some architectures (e.g. arm64) requests for > IO coherent memory may use non-cachable attributes if > the relevant device isn't cache coherent. If these > pages are then remapped into userspace as cacheable, > they may not be coherent with the

[PATCH v2] usb: usbfs: correct kernel->user page attribute mismatch

2020-05-04 Thread Jeremy Linton
On some architectures (e.g. arm64) requests for IO coherent memory may use non-cachable attributes if the relevant device isn't cache coherent. If these pages are then remapped into userspace as cacheable, they may not be coherent with the non-cacheable mappings. In particular this happens with