RE: PCI memory BAR assigned by u-boot not honored when using recent kernel

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

 



>-----Original Message-----
>From: yhlu.kernel@xxxxxxxxx [mailto:yhlu.kernel@xxxxxxxxx] On Behalf Of Yinghai Lu
>Sent: Friday, February 14, 2014 2:24 PM
>To: Karicheri, Muralidharan
>Cc: Bjorn Helgaas; linux-pci@xxxxxxxxxxxxxxx
>Subject: Re: PCI memory BAR assigned by u-boot not honored when using recent kernel
>
>On Fri, Feb 14, 2014 at 9:32 AM, Karicheri, Muralidharan
>>>There is no guarantee that the kernel will keep the BAR assignments
>>>done by firmware or a bootloader.  Usually the kernel *does* keep
>>>them, as long as they are valid, but you can not rely on that.
>
>Not sure what arch in your case.
>
Yinghai,

Thanks for the response

The arch is ARM 32bit (V7 cortex A8 processor)

>You need to have code like pcibios_resource_survey() in x86 to checking and reserve
>resource from firmware.
>
>Also firmware need to make sure mmio assignments are valid otherwise kernel will reject
>and reassign a new one.
>

I see pcibios_resource_survey() is used only on non ARM architectures. This driver works fine on
v3.10 kernel, but got issues with v3.13. So I am currently debugging this.

Murali
>Thanks
>
>Yinghai
--
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