Re: [PATCH 1/2] usb: tegra: Fix allocation for the FPCI context

2020-07-14 Thread Thierry Reding
On Sun, Jul 12, 2020 at 11:28:36AM +0100, Jon Hunter wrote: > Commit 5c4e8d3781bc ("usb: host: xhci-tegra: Add support for XUSB > context save/restore") is using the IPFS 'num_offsets' value when > allocating memory for FPCI context instead of the FPCI 'num_offsets'. > We have not observed any spec

[PATCH 1/2] usb: tegra: Fix allocation for the FPCI context

2020-07-12 Thread Jon Hunter
Commit 5c4e8d3781bc ("usb: host: xhci-tegra: Add support for XUSB context save/restore") is using the IPFS 'num_offsets' value when allocating memory for FPCI context instead of the FPCI 'num_offsets'. We have not observed any specific issues because of this, but could cause too much memory or too