Linux-MIPS Archive on lore.kernel.org
 help / Atom feed
* [BUG] Data Bus Erorr on Ubiquiti Networks - EdgeRouter™ Infinity
@ 2019-01-01  8:42 YunQiang Su
  2019-01-04 19:45 ` Aaro Koskinen
  0 siblings, 1 reply; 3+ messages in thread
From: YunQiang Su @ 2019-01-01  8:42 UTC (permalink / raw)
  To: steven.hill, david.daney; +Cc: linux-mips

I met a kernel problem for both 4.9 and 4.19 kernel

This error happens in pci/pcie-octeon.c, in function
   __cvmx_pcie_rc_initialize_gen2

ciu_soft_prst.u64 = cvmx_read_csr(CVMX_CIU_SOFT_PRST);

When disabble CONFIG_PCI, it won't meet this problem.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] Data Bus Erorr on Ubiquiti Networks - EdgeRouter™ Infinity
  2019-01-01  8:42 [BUG] Data Bus Erorr on Ubiquiti Networks - EdgeRouter™ Infinity YunQiang Su
@ 2019-01-04 19:45 ` Aaro Koskinen
  2019-01-05  0:26   ` YunQiang Su
  0 siblings, 1 reply; 3+ messages in thread
From: Aaro Koskinen @ 2019-01-04 19:45 UTC (permalink / raw)
  To: YunQiang Su; +Cc: steven.hill, david.daney, linux-mips

Hi,

On Tue, Jan 01, 2019 at 04:42:03PM +0800, YunQiang Su wrote:
> I met a kernel problem for both 4.9 and 4.19 kernel
> 
> This error happens in pci/pcie-octeon.c, in function
>    __cvmx_pcie_rc_initialize_gen2
> 
> ciu_soft_prst.u64 = cvmx_read_csr(CVMX_CIU_SOFT_PRST);
> 
> When disabble CONFIG_PCI, it won't meet this problem.

Is this CN78XX hardware? Also can you confirm the board does not have
any PCI Express (check U-Boot and vendor kernel logs)?

On EdgeRouter 4 (CN70XX) kernel misdetects PCIe ports, and there are
error logs and delays during this, but the board still boots up.

Probably nobody has any OCTEON III board with working PCIe running
mainline kernel, so we should just make the setup fail early.

A.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] Data Bus Erorr on Ubiquiti Networks - EdgeRouter™ Infinity
  2019-01-04 19:45 ` Aaro Koskinen
@ 2019-01-05  0:26   ` YunQiang Su
  0 siblings, 0 replies; 3+ messages in thread
From: YunQiang Su @ 2019-01-05  0:26 UTC (permalink / raw)
  To: Aaro Koskinen; +Cc: steven.hill, david.daney, linux-mips

Aaro Koskinen <aaro.koskinen@iki.fi> 于2019年1月5日周六 上午3:45写道:
>
> Hi,
>
> On Tue, Jan 01, 2019 at 04:42:03PM +0800, YunQiang Su wrote:
> > I met a kernel problem for both 4.9 and 4.19 kernel
> >
> > This error happens in pci/pcie-octeon.c, in function
> >    __cvmx_pcie_rc_initialize_gen2
> >
> > ciu_soft_prst.u64 = cvmx_read_csr(CVMX_CIU_SOFT_PRST);
> >
> > When disabble CONFIG_PCI, it won't meet this problem.
>
> Is this CN78XX hardware? Also can you confirm the board does not have
> any PCI Express (check U-Boot and vendor kernel logs)?
>

it is 7360, and its u-boot disables PCI host.

> On EdgeRouter 4 (CN70XX) kernel misdetects PCIe ports, and there are
> error logs and delays during this, but the board still boots up.
>
> Probably nobody has any OCTEON III board with working PCIe running
> mainline kernel, so we should just make the setup fail early.
>
Sure, we should make it fail early.

> A.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  8:42 [BUG] Data Bus Erorr on Ubiquiti Networks - EdgeRouter™ Infinity YunQiang Su
2019-01-04 19:45 ` Aaro Koskinen
2019-01-05  0:26   ` YunQiang Su

Linux-MIPS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mips/0 linux-mips/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mips linux-mips/ https://lore.kernel.org/linux-mips \
		linux-mips@vger.kernel.org linux-mips@archiver.kernel.org
	public-inbox-index linux-mips


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-mips


AGPL code for this site: git clone https://public-inbox.org/ public-inbox