[PATCH v2 2/8] usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses

2020-08-19 Thread Stefan Roese
Octeon uses mapped addresses for virtual and physical memory. Its not that easy to calculate the resulting addresses here. So lets remove this BUG_ON() completely, as its not really helpful. Please also note, that BUG_ON() is not recommended any more in the Linux kernel. Signed-off-by: Stefan Roe

Re: [PATCH v2 2/8] usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses

2020-08-20 Thread Bin Meng
Hi Stefan, On Thu, Aug 20, 2020 at 1:35 PM Stefan Roese wrote: > > Octeon uses mapped addresses for virtual and physical memory. Its not nits: It's > that easy to calculate the resulting addresses here. So lets remove let's > this BUG_ON() completely, as its not really helpful. it's > > Ple

Re: [PATCH v2 2/8] usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses

2020-08-20 Thread Stefan Roese
Hi Bin, On 20.08.20 10:58, Bin Meng wrote: Hi Stefan, On Thu, Aug 20, 2020 at 1:35 PM Stefan Roese wrote: Octeon uses mapped addresses for virtual and physical memory. Its not nits: It's that easy to calculate the resulting addresses here. So lets remove let's this BUG_ON() completel