Re: Removal of BAST IDE driver

From: Bartlomiej Zolnierkiewicz
Date: Wed Jun 25 2008 - 06:13:23 EST



Hi,

On Wednesday 25 June 2008, Russell King wrote:
> Referring to this commit in mainline:
>
> commit ac1623625c5818bbdf5c68973098ba386ba7a004
> Author: Ben Dooks <ben-linux@xxxxxxxxx>
> Date: Fri Jun 20 20:53:35 2008 +0200
>
> BAST: Remove old IDE driver
>
> Remove the old BAST IDE driver, as we are now using the platform-pata
> support.
>
> Signed-off-by: Ben Dooks <ben-linux@xxxxxxxxx>
> Cc: Jeff Garzik <jgarzik@xxxxxxxxx>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
>
> I've recieved a couple of patches for the next merge window from Ben
> which say:
>
> > Subject: [patch 20/32] BAST/VR1000: Move to using ata_platform (libata)
> >
> > Use the pata_platform driver to provide the IDE port
> > drivers on the Simntec BAST and Thorcom VR1000 machines
> > as a precursor to removing drivers/ide/arm/bast-ide.c
>
> And when I queried Ben on this, he responded thusly:
>
> 09:58 < fluffy> yes, bart was rather quicker at applying the removal patch
> 09:59 < fluffy> i send 'for next kernel release' and he shoved it in his -rc6
> sub
>
> So, quite clearly we have a regression - we have platforms which have
> lost IDE support.
>
> There's two ways to resolve this. Either the above commit can be
> reverted restoring old IDE support, or the patches to add libata

The libata part is already in, we just need an arch part.

[ Looks like we need this patch from 2008-05-29:

http://article.gmane.org/gmane.linux.ports.arm.kernel/42021 ]

> support for these platforms can be submitted. Given where we are in
> the -rc, I think reverting the bad commit would be more sensible.

I think that it is up to arch maintainer to decide, either way is fine
with me.

> The question also has to be asked - what are maintainers doing putting
> driver removals into -rc kernels? Surely they are only merge-window
> candidates?

This was a special case as indicated in pull request:

...
[ not strictly -rc stuff but as we are now using the platform-pata
support lets not confuse people with having this driver around ]
...

I somehow missed 'the next release' part (please indicate it more clearly
when sending patches and always tell us that there are some other patches
which should be merged before if you are not including them in the patch
series) so when later Jeff merged:

commit cc18e0fea7907e7a96b7df71b81838d518bc074e
Author: Ben Dooks <ben-linux@xxxxxxxxx>
Date: Mon Jun 16 12:16:26 2008 +0100

LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver
...

which was patch #1/2 in the series I was under impression that now we
have both new and old driver with the old driver being the default because
of the link order. Seems I was wrong after all as other things are moving
slower than IDE/ATA. ;)

Sorry for messing things up. Russell/Ben: how should we proceed with
fixing it (arch part in or ide part out)?

Thanks,
Bart
--
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/