login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
December
»
11
Re: Please revert: PCI: fix IDE legacy mode resources
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Ralf Baechle
Subject:
Re: Please revert: PCI: fix IDE legacy mode resources
Date: Tuesday, December 11, 2007 - 5:13 am
On Tue, Dec 11, 2007 at 11:27:24AM +1100, Benjamin Herrenschmidt wrote:
quoted text
> > The GT-64111 system controller doesn't provide any kind of mapping > > functionality that would help here. So legacy port addressing can only > > work by exploiting aliases due to incomplete decoding of legacy ioport > > addreses by the VT82C586 - but direct addressing is impossible. > > Ok, that explains how the "fix" that we reverted worked. It caused crap > to be added to the top bits of the address :-) > > So here, what you really want to do is not a call to > pcibios_resource_to_bus(), but you actually want to use a different bus > address in the first place, that you know the HW will decode the same > way. > > The best way to achieve that imho, is to do a header quirk that is run > just after the generic probe code, which offsets the fixed legacy > resources by 0x10000000 since that's really the bus address you are > going to emit. > > Later on, your pcibios_fixup code should take that remove 0x10000000 > from all IO resources, since your 0xd0000000 mapping already maps > 0x10000000 as you probably already do. > > The trick is, you don't want to convert a "resource" into a "bus > address" here, but really issue a different bus address.
Oh well, I've cooked up a patch and posted it to linux-mips for testing. Ralf --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Wed Dec 5, 5:10 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Yoichi Yuasa
, (Wed Dec 5, 9:34 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Yoichi Yuasa
, (Wed Dec 5, 10:58 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Thu Dec 6, 5:32 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Thu Dec 6, 8:24 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Sat Dec 8, 7:12 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Sun Dec 9, 12:24 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Bartlomiej Zolnierki ...
, (Sun Dec 9, 5:46 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Alan Cox
, (Sun Dec 9, 6:38 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Alan Cox
, (Sun Dec 9, 6:39 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Sun Dec 9, 1:03 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Sun Dec 9, 1:11 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Sun Dec 9, 3:47 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Sun Dec 9, 9:29 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Alan Cox
, (Mon Dec 10, 4:20 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Mon Dec 10, 6:26 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Mon Dec 10, 6:38 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Mon Dec 10, 6:40 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Alan Cox
, (Mon Dec 10, 8:01 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Mon Dec 10, 8:47 am)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Mon Dec 10, 1:39 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Mon Dec 10, 1:43 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Alan Cox
, (Mon Dec 10, 4:07 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Mon Dec 10, 5:05 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Mon Dec 10, 5:10 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Benjamin Herrenschmidt
, (Mon Dec 10, 5:27 pm)
Re: Please revert: PCI: fix IDE legacy mode resources
, Ralf Baechle
, (Tue Dec 11, 5:13 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Jan Engelhardt
Re: [PATCH] Allow Kconfig to set default mmap_min_addr protection
Dmitry Torokhov
Re: [2.6 patch] input/serio/hp_sdc.c section fix
Rafael J. Wysocki
[Bug #16380] Loop devices act strangely in 2.6.35
git
:
Steven Grimm
Using git as a general backup mechanism (was Re: Using GIT to store /etc)
Jeff King
Re: [PATCH] git-reset: allow --soft in a bare repo
Johannes Sixt
Re: [PATCH 01/14] msvc: Fix compilation errors in compat/win32/sys/poll.c
Johannes Schindelin
Re: [PATCH] Uninstall rule for top level Makefile
Shawn O. Pearce
Re: [PATCH v2] Speed up bash completion loading
git-commits-head
:
Linux Kernel Mailing List
cgroups: clean up cgroup_pidlist_find() a bit
Linux Kernel Mailing List
sony-laptop: Add support for extended hotkeys
Linux Kernel Mailing List
IB/core: Add support for masked atomic operations
Linux Kernel Mailing List
V4L/DVB (8939): cx18: fix sparse warnings
Linux Kernel Mailing List
ipv6 mcast: Check address family of gf_group in getsockopt(MS_FILTER).
linux-netdev
:
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Karsten Keil
[mISDN PATCH v2 05/19] Reduce stack size in dsp_cmx_send()
linux
Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?
David Miller
Re: tun: Use netif_receive_skb instead of netif_rx
David Miller
Re: [net-next PATCH v2] llc enhancements
freebsd-current
:
Matthew Fleming
Re: [RFC] Outline of USB process integration in the kernel taskqueue system
illoai@gmail.com
Re: OT: 2d password
Hartmut Brandt
Re: problem with nss_ldap
Andrew Reilly
Re: FreeBSD's problems as seen by the BSDForen.de community
Max Laier
Re: Upcoming ABI Breakage in RELENG_7
Colocation donated by:
Syndicate