RE: AER driver on ARM platform

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

 



>> -----Original Message-----
>> From: Andrew Murray [mailto:amurray@xxxxxxxxxxxxxxxxxxx]
>> Sent: Friday, October 25, 2013 3:01 PM
>> To: Karicheri, Muralidharan
>> Cc: linux-pci@xxxxxxxxxxxxxxx
>> Subject: Re: AER driver on ARM platform
>> 
>> On 25 October 2013 19:18, Karicheri, Muralidharan <m-karicheri2@xxxxxx> wrote:
>> >
>> > >> -----Original Message-----
>> > >> From: Andrew Murray [mailto:amurray@xxxxxxxxxxxxxxxxxxx]
>> > >> Sent: Friday, October 25, 2013 12:27 PM
>> > >> To: Karicheri, Muralidharan
>> > >> Cc: linux-pci@xxxxxxxxxxxxxxx
>> > >> Subject: Re: AER driver on ARM platform
>> > >>
>> > >> On 25 October 2013 16:56, Karicheri, Muralidharan <m-karicheri2@xxxxxx> wrote:
>> > >> > Did anyone successfully tested PCIe AER driver on an ARM
>> > >> > platform? I saw this enabled in
>> > >> a tegra platform. Could someone from nVidia respond?
>> > >>
>> > >> I've previously used this on a custom ARM platform - it works.
>> > >>
>> > >> You need to ensure that PCIe port services are enabled, I believe
>> > >> at one point this required 'pcie_ports=native' to be set on the kernel command line.
>> > >>
>> > >> Andrew Murray
>> > >>
>> >
>> > Yes. That was it. It probes the driver now. Did you try error inject feature?
>> 
>> I did have a look at that, but it really depends on what exactly you want to test. There are
>> many things this won't help you with, you ought to examine the aer inject driver to see
>> what it does. For example if you are bringing up a new device and want to see it raise an
>> AER interrupt then aer inject won't help. In this case you'll need to find a way to trigger real
>> errors.
>> 

I am basically trying to test if an error in a PCIe device gets reported to AER driver. As I understand, there is a error_handle in the PCI device driver that gets called when an error is received by the AER driver so that device can handle it. At this point, I am trying to test the AER driver with any error that can be injected to check if the error handle is being called.  I will dig more into the inject feature to get an answer, but if you know this is possible or not, please reply.

Thanks.

Murali

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