aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorKonstantin Aladyshev <[email protected]>2023-12-06 08:07:44 +0000
committerGreg Kroah-Hartman <[email protected]>2023-12-07 01:12:05 +0000
commit61890dc28f7d9e9aac8a9471302613824c22fae4 (patch)
treea6c6e097f7b60cbc36b3afc1878befe7895f34db /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentRevert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1" (diff)
downloadkernel-61890dc28f7d9e9aac8a9471302613824c22fae4.tar.gz
kernel-61890dc28f7d9e9aac8a9471302613824c22fae4.zip
usb: gadget: f_hid: fix report descriptor allocation
The commit 89ff3dfac604 ("usb: gadget: f_hid: fix f_hidg lifetime vs cdev") has introduced a bug that leads to hid device corruption after the replug operation. Reverse device managed memory allocation for the report descriptor to fix the issue. Tested: This change was tested on the AMD EthanolX CRB server with the BMC based on the OpenBMC distribution. The BMC provides KVM functionality via the USB gadget device: - before: KVM page refresh results in a broken USB device, - after: KVM page refresh works without any issues. Fixes: 89ff3dfac604 ("usb: gadget: f_hid: fix f_hidg lifetime vs cdev") Cc: [email protected] Signed-off-by: Konstantin Aladyshev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions