Re: [RFC PATCH v2 0/3] prerequisites for device reserved local mem rework

2019-05-21 Thread h...@lst.de
On Mon, May 20, 2019 at 05:41:56PM +0200, Fredrik Noring wrote: > 2. A device address is supplied as phys_addr_t phys to gen_pool_add_virt(). >This seems to work in this particular DMA application, but there will be >problems if someone does phys_to_virt() or suchlike. Can this be improved

Re: [RFC PATCH v2 0/3] prerequisites for device reserved local mem rework

2019-05-20 Thread Fredrik Noring
Hi Laurentiu, > Wow, that's excellent news! Thanks a lot for looking into this. You are welcome! > Are you ok if I add your Signed-Off-by and maybe also Tested-by in the > first patch of the series? Yes, but I have two comments: 1. ohci_mem_init() allocates two DMA pools that are no longer re

Re: [RFC PATCH v2 0/3] prerequisites for device reserved local mem rework

2019-05-20 Thread Laurentiu Tudor
Hello Fredrik, On 17.05.2019 20:41, Fredrik Noring wrote: > Hi Laurentiu, > >>> that I tracked down to the calls >>> >>>hub_port_init >>> -> usb_control_msg >>> -> usb_internal_control_msg >>> -> usb_start_wait_urb >>> -> usb_submit_urb >>> -> usb_hcd_submit_urb >>>