[PATCH] Do not hide resource for pci/pcie when configured as Agent/EP
Kumar Gala
galak at kernel.crashing.org
Thu Nov 24 16:04:14 EST 2011
On Oct 28, 2011, at 3:08 AM, Jia Hongtao wrote:
> From: Jason Jin <Jason.jin at freescale.com>
>
> Current pci/pcie init code will hide the pci/pcie host resource.
> But did not judge it is host/RC or agent/EP. If configured as
> agent/EP, we should avoid hiding its resource in the host side.
>
> In PCI system, the Programing Interface can be used to judge the
> host/agent status:
> Programing Interface = 0: host
> Programing Interface = 1: Agent
>
> In PCIE system, both the Programing Interface and Header type can
> be used to judge the RC/EP status.
> Header Type = 0: EP
> Header Type = 1: RC
>
> Signed-off-by: Jason Jin <Jason.jin at freescale.com>
> Signed-off-by: Mingkai Hu <Mingkai.hu at freescale.com>
> Signed-off-by: Jia Hongtao <B38951 at freescale.com>
> Signed-off-by: Li Yang <leoli at freescale.com>
> ---
> arch/powerpc/kernel/pci-common.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
applied to next
- k
More information about the Linuxppc-dev
mailing list