Re: [PATCH] libata: fix combined mode (was Re: Happy New Year (and v2.6.20-rc3 released))

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan <alan@...>, Linus Torvalds <torvalds@...>
Cc: Alessandro Suardi <alessandro.suardi@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Tuesday, January 2, 2007 - 5:00 pm

Alan wrote:


Yes, it's "silly" people people use configurations you find inconvenient.

At least one embedded x86 case cares, that I know of.  They only needed 
to make two minor changes to make it work.




Not /all/ the resources.  And YOU were the person harping me about 
acquiring all resources, so that even races no one cares about[1] are 
avoided.


But those two items were just from my five-minute, on-vacation review. 
Obvious bug #3:

The code no long reserves resources for the "extra" PCI BAR that often 
exists on PCI controllers regardless of legacy/native mode.  Previously, 
the code called pci_request_regions() to reserve ALL regions attached to 
the PCI device.

You have suddenly decided that it's OK to --not reserve at all-- these 
additional regions.

Proof:  The AHCI PCI BAR (#5, zero-based) is clearly NOT reserved, even 
though we talk to it, in piix_disable_ahci() of ata_piix.c.

	Jeff



-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Happy New Year (and v2.6.20-rc3 released), Alessandro Suardi, (Mon Jan 1, 9:28 am)
Re: Happy New Year (and v2.6.20-rc3 released), Linus Torvalds, (Mon Jan 1, 4:13 pm)
Re: Happy New Year (and v2.6.20-rc3 released), Jeff Garzik, (Mon Jan 1, 4:49 pm)
Re: [PATCH] libata: fix combined mode (was Re: Happy New Yea..., Jeff Garzik, (Tue Jan 2, 5:00 pm)
Re: Happy New Year (and v2.6.20-rc3 released), Linus Torvalds, (Mon Jan 1, 7:34 pm)
Re: Happy New Year (and v2.6.20-rc3 released), Theodore Tso, (Mon Jan 1, 10:32 pm)
Re: Happy New Year (and v2.6.20-rc3 released), Linus Torvalds, (Tue Jan 2, 12:09 pm)