xhci: Add command completion parameter support
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 27 Dec 2024 12:01:41 +0000 (14:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 12:06:10 +0000 (13:06 +0100)
commit3ac820f9d422fb3b8a130b94e0e2a2cf429fcca1
tree6efccc684454938997ee95d0e71c5067171fd4f6
parent1e0a19912adb68a4b2b74fd77001c96cd83eb073
xhci: Add command completion parameter support

xHC hosts can pass 24 bits of data with a command completion event TRB
as the completion code only uses 8 bits of the 32 bit status field.

Only Configure Endpoint, and Get Extended Property commands utilize
this "command completion parameter" 24 bit field.
For other command completion events the xHC should keep it RsvdZ.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241227120142.1035206-5-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.h