acrn-hypervisor/devicemodel/hw/pci
Long Liu 03fdb297d6 DM: xHCI: Implement reset/stop endpiont error handler
Add Null pointer check in reset and stop endpoint command handle
function to avoid Null pointer exception. Fllow xHCI spec 4.6.8 and
4.6.9, for stop and reset endpoint command, when the slot state is
Disabled the error code should be Slot Not Enabled Error, when the
slot have been enabled by an Enable Slot Command the error code should
be Context State Error.

Tracked-On: #5066
Signed-off-by: Long Liu <long.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>

Signed-off-by: Long Liu <long.liu@intel.com>
2020-07-23 21:55:21 +08:00
..
virtio DM: Add macvtap support to virtio-net 2020-07-14 13:02:21 +08:00
ahci.c dm: refine the check of return value of snprintf 2019-10-15 13:53:58 +08:00
core.c dm: remove vdev_update_bar_map callback for PCIe device 2020-03-02 16:42:17 +08:00
gsi_sharing.c dm: reduce potential crash caused by LIST_FOREACH 2019-10-15 14:37:39 +08:00
gvt.c dm:replace perror with pr_err 2020-01-08 13:37:57 +08:00
hostbridge.c DM: cleanup for header inclusions 2018-06-07 14:35:30 +08:00
irq.c dm: refine 'assert' usage in irq.c and wdt_i6300esb.c 2019-06-20 08:55:44 +08:00
ivshmem.c dm: fixed an issue that VM can't communicate with peer after rebooting/shutdown 2020-06-18 14:07:34 +08:00
lpc.c ACRN/DM: Initialize the igd_lpc bridge to ISA_BRIDGE to make Linux guest happy 2020-05-25 11:08:25 +08:00
npk.c dm: modify DIR handler reference postion 2019-10-16 10:26:23 +08:00
passthrough.c DM: PT: Add "d3hot_reset" sub-parameter for passthrough device 2020-07-23 10:10:27 +08:00
platform_gsi_info.c DM: update GSI sharing info 2018-08-09 15:42:51 +08:00
uart.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
wdt_i6300esb.c acrn-dm: add some logs for vm state transition 2020-05-15 10:06:23 +08:00
xhci.c DM: xHCI: Implement reset/stop endpiont error handler 2020-07-23 21:55:21 +08:00