Re: endpoint and root complex PCIe Linux driver

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

 



On Wed, Aug 26, 2009 at 10:17 AM, Matthew Wilcox<matthew@xxxxxx> wrote:
> On Wed, Aug 26, 2009 at 05:09:28PM +0200, Stefano Tebaldi wrote:
>> Hi all,
>>
>> I am quite newbie about PCIe and Linux Kernel development
>> I have to write a driver for a PCIe chip that can act either as
>> EndPoint or Root Complex device
>> The chip is on a board with an ARM processor and Linux 2.6
>
> I think what you're trying to say here is that from the point of view
> of the host system, it's an endpoint, but from the point of view of the
> ARM processor, it's a Root Complex.  Is that correct?

Some processors enable the ability to configure the hardware as
behaving as a root or as a targeted endpoint.  In view of that, you
might also wish to research whether you want or need to perform that
step of configuration in the boot loader prior to the start of Linux.
For example, on AMCC's kilauea board (PPC405ex-based), from the U-Boot
prompt one may specify via a U-Boot environment variable the
configuration of a PCIe port as either a root or endpoint.  U-Boot in
turn performs some initialization of the hardware to behave as the
specified port type prior to booting Linux.

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

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux