Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

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

 



On Tue, 23 Oct 2012, Ankit Patel wrote:

> Hi,
> 
> Whenever, software asserts, HC resets during xHCI initialization, host
> controller is setting PRC and CSC (one of the version of host controller sets
> WRC bit also). However, there is no handling of these bits in xHCI software.

What do you mean there's no handling of these bits in the driver?  Take 
a look at xhci-hub.c:xhci_clear_port_change_bit().

> 1. At Initialization - device is NOT connected and due to HC RESET, is there any
> following bits should be SET HIGH or not?
>    - PRC / WRC / CSC bit 
> 
> 2. At Initialization - device is CONNECTED and due to HC RESET, is there any
> following bits should be SET HIGH or not?
>    - PRC / WRC / CSC bit 

It shouldn't matter.  Linux should be able to use the controller either 
way.

Alan Stern

--
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