DM USB: xHCI: Change the default USB xHCI support to pass through.
So far, the xHCI mediator does not support USB HUB over usb pmapper. But there are some USB touch devices integrated internal USB HUB, then cause such touch models can't be supported. Will consider to re-enable xHCI mediator by default once HUB support related patches get merged in the near future. Signed-off-by: Liang Yang <liang3.yang@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com> Reviewed-by: Binbin Wu<binbin.wu@intel.com>
This commit is contained in:
parent
1017d91aa6
commit
6988a17027
|
@ -40,6 +40,10 @@ fi
|
|||
|
||||
#for VT-d device setting
|
||||
modprobe pci_stub
|
||||
echo "8086 5aa8" > /sys/bus/pci/drivers/pci-stub/new_id
|
||||
echo "0000:00:15.0" > /sys/bus/pci/devices/0000:00:15.0/driver/unbind
|
||||
echo "0000:00:15.0" > /sys/bus/pci/drivers/pci-stub/bind
|
||||
|
||||
echo "8086 5aaa" > /sys/bus/pci/drivers/pci-stub/new_id
|
||||
echo "0000:00:15.1" > /sys/bus/pci/devices/0000:00:15.1/driver/unbind
|
||||
echo "0000:00:15.1" > /sys/bus/pci/drivers/pci-stub/bind
|
||||
|
@ -109,7 +113,7 @@ acrn-dm -A -m $mem_size -c $2$boot_GVT_option"$GVT_args" -s 0:0,hostbridge -s 1:
|
|||
-s 8,wdt-i6300esb \
|
||||
-s 3,virtio-blk$boot_dev_flag,/data/$5/$5.img \
|
||||
-s 4,virtio-net,$tap $boot_image_option \
|
||||
-s 7,xhci,1-1:1-2:1-3:2-1:2-2:2-3:cap=apl \
|
||||
-s 7,passthru,0/15/0 \
|
||||
-s 9,passthru,0/15/1 \
|
||||
-s 15,passthru,0/f/0 \
|
||||
-s 27,passthru,0/1b/0 \
|
||||
|
@ -168,6 +172,10 @@ fi
|
|||
|
||||
#for VT-d device setting
|
||||
modprobe pci_stub
|
||||
echo "8086 5aa8" > /sys/bus/pci/drivers/pci-stub/new_id
|
||||
echo "0000:00:15.0" > /sys/bus/pci/devices/0000:00:15.0/driver/unbind
|
||||
echo "0000:00:15.0" > /sys/bus/pci/drivers/pci-stub/bind
|
||||
|
||||
echo "8086 5aaa" > /sys/bus/pci/drivers/pci-stub/new_id
|
||||
echo "0000:00:15.1" > /sys/bus/pci/devices/0000:00:15.1/driver/unbind
|
||||
echo "0000:00:15.1" > /sys/bus/pci/drivers/pci-stub/bind
|
||||
|
@ -272,7 +280,7 @@ fi
|
|||
-l com1,stdio \
|
||||
-s 9,virtio-net,$tap \
|
||||
-s 3,virtio-blk$boot_dev_flag,/data/$5/$5.img \
|
||||
-s 7,xhci,1-1:1-2:1-3:2-1:2-2:2-3:cap=apl \
|
||||
-s 7,passthru,0/15/0 \
|
||||
-s 8,passthru,0/15/1 \
|
||||
-s 13,virtio-rpmb \
|
||||
-s 10,virtio-hyper_dmabuf \
|
||||
|
|
Loading…
Reference in New Issue