From: richardmaw@codethink.co.uk (Richard Maw)
To: linux-arm-kernel@lists.infradead.org
Subject: ARM Versatile defconfig PCI io out of range?
Date: Thu, 31 May 2012 11:48:51 +0100 [thread overview]
Message-ID: <20120531104850.GA31825@codethink.co.uk> (raw)
In-Reply-To: <201205310932.51140.arnd@arndb.de>
On Thu, May 31, 2012 at 09:32:50AM +0000, Arnd Bergmann wrote:
> It looks like it's a simple bug in pci.c, which puts the wrong thing into the
> pcibios_min_io variable.
>
> Does the below patch fix it?
>
> Arnd
>
> diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c
> index 4ae4fc8..aeb7b60 100644
> --- a/arch/arm/mach-versatile/pci.c
> +++ b/arch/arm/mach-versatile/pci.c
> @@ -305,7 +305,7 @@ int __init pci_versatile_setup(int nr, struct pci_sys_data *sys)
>
> void __init pci_versatile_preinit(void)
> {
> - pcibios_min_io = 0x44000000;
> + pcibios_min_io = 0x100;
> pcibios_min_mem = 0x50000000;
>
> __raw_writel(VERSATILE_PCI_MEM_BASE0 >> 28, PCI_IMAP0);
>
Sadly it is still not working. sym53c8xx is still requesting the range
0x44000000-0x440000ff, which is beyond the 0x0000-0xffff specified by
the ioport_resource.
next prev parent reply other threads:[~2012-05-31 10:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 18:02 ARM Versatile defconfig PCI io out of range? Richard Maw
2012-05-30 19:19 ` Rob Herring
2012-05-31 9:32 ` Arnd Bergmann
2012-05-31 10:48 ` Richard Maw [this message]
2012-05-31 13:07 ` Rob Herring
2012-05-31 20:40 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120531104850.GA31825@codethink.co.uk \
--to=richardmaw@codethink.co.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.