some question about xhci ep0 setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:
from below out put slot context it shows ep0 consumer cycle bit is 1

[192016.490849] xhci_hcd 0000:01:00.0: Slot ID 1 Output Context:
[192016.490852] xhci_hcd 0000:01:00.0: Slot Context:
[192016.490856] xhci_hcd 0000:01:00.0: @f4ba7000 (virt) @34ba7000
(dma) 0x08300000 - dev_info
[192016.490860] xhci_hcd 0000:01:00.0: @f4ba7004 (virt) @34ba7004
(dma) 0x00030000 - dev_info2
[192016.490864] xhci_hcd 0000:01:00.0: @f4ba7008 (virt) @34ba7008
(dma) 0x00000000 - tt_info
[192016.490869] xhci_hcd 0000:01:00.0: @f4ba700c (virt) @34ba700c
(dma) 0x10000001 - dev_state
[192016.490873] xhci_hcd 0000:01:00.0: @f4ba7010 (virt) @34ba7010
(dma) 0x00000000 - rsvd[0]
[192016.490877] xhci_hcd 0000:01:00.0: @f4ba7014 (virt) @34ba7014
(dma) 0x00000000 - rsvd[1]
[192016.490882] xhci_hcd 0000:01:00.0: @f4ba7018 (virt) @34ba7018
(dma) 0x00000000 - rsvd[2]
[192016.490886] xhci_hcd 0000:01:00.0: @f4ba701c (virt) @34ba701c
(dma) 0x00000000 - rsvd[3]
[192016.490890] xhci_hcd 0000:01:00.0: Endpoint 00 Context:
[192016.490894] xhci_hcd 0000:01:00.0: @f4ba7020 (virt) @34ba7020
(dma) 0x00000001 - ep_info
[192016.490898] xhci_hcd 0000:01:00.0: @f4ba7024 (virt) @34ba7024
(dma) 0x00400026 - ep_info2
[192016.490902] xhci_hcd 0000:01:00.0: @f4ba7028 (virt) @34ba7028
(dma) 0x0f01c801 - deq
[192016.490906] xhci_hcd 0000:01:00.0: @f4ba7030 (virt) @34ba7030
(dma) 0x00000000 - tx_info
[192016.490911] xhci_hcd 0000:01:00.0: @f4ba7034 (virt) @34ba7034
(dma) 0x00000000 - rsvd[0]
[192016.490915] xhci_hcd 0000:01:00.0: @f4ba7038 (virt) @34ba7038
(dma) 0x00000000 - rsvd[1]
[192016.490919] xhci_hcd 0000:01:00.0: @f4ba703c (virt) @34ba703c
(dma) 0x00000000 - rsvd[2]

but why when we enqueue control transfer we purposely leave setup
status cycle bit as 0.
(below I purpose dump control trb content and 0xcf01c80c should be
0x00000841 instead of 0x00000840, right?)

[192016.504076] address trb: cf01c800: 01000680 00080000 00000008 00000840
[192016.505593] address trb: cf01c810: 30e1fdc0 00000000 00000008 00010c05
[192016.507129] address trb: cf01c820: 00000000 00000000 00000000 00001021



-- 
Regards,
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux