From: Daniel Palmer <me@danielpalmer.co.uk>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/2] sh: Add sh_io_port_base check in __ioport_map function
Date: Wed, 30 Mar 2011 07:37:41 +0000 [thread overview]
Message-ID: <4D92DDC5.8030104@danielpalmer.co.uk> (raw)
In-Reply-To: <1301200307-5321-2-git-send-email-iwamatsu@nigauri.org>
Small update..
>> All PCI seems to be broken in 2.6.38.
>> Loading 8139cp for the ethernet controller makes the board hang.
>>
>>
I said that all PCI seems to be broken. I don't think that this was the
issue..
I was using the SLOB allocator in my kernel and it was causing issues.
Like plugging in a USB device would lock the machine.
This problem seems to be only for PCI devices that use IO ports.. on the
Landisk that is just pata-artop.
I'm not an expert on PCI but I gather there are IO port devices and
memory mapped ones?
On the USL-5P everything is memory mapped (The USB controller etc) so
it's not an issue.
pata-artop is reading bytes from around 0x1400 in the PCI address space
I guess, and to the CPU that address space starts
at 0xfe240000. So ioremap should map any PCI IO port accesses to address
+ 0xfe240000.
prev parent reply other threads:[~2011-03-30 7:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-27 4:31 [PATCH 2/2] sh: Add sh_io_port_base check in __ioport_map function Nobuhiro Iwamatsu
2011-03-27 6:37 ` Daniel Palmer
2011-03-27 7:45 ` Nobuhiro Iwamatsu
2011-03-28 14:08 ` Daniel Palmer
2011-03-28 23:29 ` Nobuhiro Iwamatsu
2011-03-30 7:37 ` Daniel Palmer [this message]
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=4D92DDC5.8030104@danielpalmer.co.uk \
--to=me@danielpalmer.co.uk \
--cc=linux-sh@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).