Re: Please revert: PCI: fix IDE legacy mode resources

From: Ralf Baechle
Date: Mon Dec 10 2007 - 08:39:33 EST


On Mon, Dec 10, 2007 at 03:29:22PM +1100, Benjamin Herrenschmidt wrote:

> To: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>,
> Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>,
> Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>,
> Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>,
> Greg KH <gregkh@xxxxxxx>,
> Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>,
> Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> Subject: Re: Please revert: PCI: fix IDE legacy mode resources
> Content-Type: text/plain
>
> powerpc: Fix IDE legacy vs. native fixups
>
> PowerMac and CHRP/BriQ platforms have quirks to switch some IDE
> controllers from legacy mode to fully native mode. Those quirks
> however will not work properly anymore due to a change to the
> generic code to better handle legacy IDE resources.
>
> This fixes it by moving those quirk to "early" quirks (so they
> run before resources are probed for the devices) and clearing
> all BARs after the conversion to force a reallocation of sane
> values.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> ---
>
> To be totally correct, we still need to also revert
> commit fd6e732186ab522c812ab19c2c5e5befb8ec8115 which
> is bogus.
>
> Linus, can you still apply this to 2.6.24 ? I would also like the
> above (fd6e...) reverted as so far, nobody have come up with a demonstration
> that it's not bogus.

For the revert:

Acked-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

I'll work with Yoichi to find another solution.

Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/