* pci problem with rb532
@ 2014-05-10 21:35 Waldemar Brodkorb
2014-05-12 19:24 ` Gabor Juhos
0 siblings, 1 reply; 3+ messages in thread
From: Waldemar Brodkorb @ 2014-05-10 21:35 UTC (permalink / raw)
To: linux-mips; +Cc: Gabor Juhos, florian, nbd, phil
Hi MIPS-Hackers,
I recently had a need for a small DHCP/NFS server and resurvived my
old Mikrotik RB532 board. Sadly the PCI registration is broken and
the VIA Rhine network ports didn't work.
See this thread for some details:
https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg23073.html
I did know that it was working fine in the past, so I started to git
bisect between 2.6.39 and 3.15-rc5.
Following commit is the problem:
commit 222831787704c9ad9215f6b56f975b233968607c
Author: Gabor Juhos <juhosg@openwrt.org>
Date: Sat Feb 2 13:18:54 2013 +0000
MIPS: avoid possible resource conflict in register_pci_controller
The IO and memory resources of a PCI controller
might already have a parent resource set when
they are passed to 'register_pci_controller'.
If the parent resource is set, the request_resource
call will fail due to resource conflict and the
current code will not be able to register the
PCI controller.
Use the parent resource if it is available in the
request_resource call to avoid the isssue.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4910/
Signed-off-by: John Crispin <blogic@openwrt.org>
After reverting the change, the VIA Rhine driver works fine again.
So how we can unbreak the rb532 support?
Thanks in advance
Waldemar Brodkorb
P.s.: I am putting Florian and Felix in Cc, because we had a short
discussion about the problem via IRC.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pci problem with rb532
2014-05-10 21:35 pci problem with rb532 Waldemar Brodkorb
@ 2014-05-12 19:24 ` Gabor Juhos
2014-05-14 14:08 ` Waldemar Brodkorb
0 siblings, 1 reply; 3+ messages in thread
From: Gabor Juhos @ 2014-05-12 19:24 UTC (permalink / raw)
To: Waldemar Brodkorb, linux-mips; +Cc: florian, nbd, phil
[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]
Hi Waldemar,
> I recently had a need for a small DHCP/NFS server and resurvived my
> old Mikrotik RB532 board. Sadly the PCI registration is broken and
> the VIA Rhine network ports didn't work.
> See this thread for some details:
> https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg23073.html
>
> I did know that it was working fine in the past, so I started to git
> bisect between 2.6.39 and 3.15-rc5.
> Following commit is the problem:
> commit 222831787704c9ad9215f6b56f975b233968607c
> Author: Gabor Juhos <juhosg@openwrt.org>
> Date: Sat Feb 2 13:18:54 2013 +0000
>
> MIPS: avoid possible resource conflict in register_pci_controller
>
> The IO and memory resources of a PCI controller
> might already have a parent resource set when
> they are passed to 'register_pci_controller'.
>
> If the parent resource is set, the request_resource
> call will fail due to resource conflict and the
> current code will not be able to register the
> PCI controller.
>
> Use the parent resource if it is available in the
> request_resource call to avoid the isssue.
>
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> Patchwork: http://patchwork.linux-mips.org/patch/4910/
> Signed-off-by: John Crispin <blogic@openwrt.org>
>
> After reverting the change, the VIA Rhine driver works fine again.
>
> So how we can unbreak the rb532 support?
Please try the attached patch without reverting the aforementioned change.
Thanks,
Gabor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pci problem with rb532
2014-05-12 19:24 ` Gabor Juhos
@ 2014-05-14 14:08 ` Waldemar Brodkorb
0 siblings, 0 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2014-05-14 14:08 UTC (permalink / raw)
To: Gabor Juhos; +Cc: linux-mips, florian, nbd, phil
Hi Gabor,
Gabor Juhos wrote,
> Hi Waldemar,
>
> > I recently had a need for a small DHCP/NFS server and resurvived my
> > old Mikrotik RB532 board. Sadly the PCI registration is broken and
> > the VIA Rhine network ports didn't work.
>
> Please try the attached patch without reverting the aforementioned change.
>
> Thanks,
> Gabor
Patch works great! Tested with 3.14.4. Thanks.
I have another issue regarding serial console, sth between 3.14.4
and 3.15-rc5. Still bisecting...
best regards
Waldemar
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-14 14:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-10 21:35 pci problem with rb532 Waldemar Brodkorb
2014-05-12 19:24 ` Gabor Juhos
2014-05-14 14:08 ` Waldemar Brodkorb
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.