linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* remove the legacy ide driver
@ 2021-03-18  4:56 Christoph Hellwig
  2021-03-18  4:56 ` [PATCH 01/10] alpha: use libata instead of " Christoph Hellwig
                   ` (12 more replies)
  0 siblings, 13 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:56 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

Hi all,

we've been trying to get rid of the legacy ide driver for a while now,
and finally scheduled a removal for 2021, which is three month old now.

In general distros and most defconfigs have switched to libata long ago,
but there are a few exceptions.  This series first switches over all
remaining defconfigs to use libata and then removes the legacy ide
driver.

libata mostly covers all hardware supported by the legacy ide driver.
There are three mips drivers that are not supported, but the linux-mips
list could not identify any users of those.  There also are two m68k
drivers that do not have libata equivalents, which might or might not
have users, so we'll need some input and possibly help from the m68k
community here.

^ permalink raw reply	[flat|nested] 46+ messages in thread

* [PATCH 01/10] alpha: use libata instead of the legacy ide driver
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
@ 2021-03-18  4:56 ` Christoph Hellwig
  2021-03-18  5:54   ` Al Viro
  2021-03-18  4:56 ` [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig Christoph Hellwig
                   ` (11 subsequent siblings)
  12 siblings, 1 reply; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:56 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

Switch the alpha defconfig from the legacy ide driver to libata.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/alpha/configs/defconfig | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/arch/alpha/configs/defconfig b/arch/alpha/configs/defconfig
index 724c4075df408e..dd2dd9f0861f18 100644
--- a/arch/alpha/configs/defconfig
+++ b/arch/alpha/configs/defconfig
@@ -25,19 +25,18 @@ CONFIG_PNP=y
 CONFIG_ISAPNP=y
 CONFIG_BLK_DEV_FD=y
 CONFIG_BLK_DEV_LOOP=m
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_IDE_GENERIC=y
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_ALI15X3=y
-CONFIG_BLK_DEV_CMD64X=y
-CONFIG_BLK_DEV_CY82C693=y
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_BLK_DEV_SR=y
 CONFIG_SCSI_AIC7XXX=m
 CONFIG_AIC7XXX_CMDS_PER_DEVICE=253
 # CONFIG_AIC7XXX_DEBUG_ENABLE is not set
+CONFIG_ATA=y
+# CONFIG_SATA_PMP is not set
+CONFIG_PATA_ALI=y
+CONFIG_PATA_CMD64X=y
+CONFIG_PATA_CYPRESS=y
+CONFIG_ATA_GENERIC=y
 CONFIG_NETDEVICES=y
 CONFIG_DUMMY=m
 CONFIG_NET_ETHERNET=y
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
  2021-03-18  4:56 ` [PATCH 01/10] alpha: use libata instead of " Christoph Hellwig
@ 2021-03-18  4:56 ` Christoph Hellwig
  2021-03-19 17:07   ` Russell King - ARM Linux admin
  2021-03-18  4:56 ` [PATCH 03/10] ARM: disable CONFIG_IDE in pxa_defconfig Christoph Hellwig
                   ` (10 subsequent siblings)
  12 siblings, 1 reply; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:56 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

footbridge_defconfig enables CONFIG_IDE but no actual host controller
driver, so just drop it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/arm/configs/footbridge_defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/configs/footbridge_defconfig b/arch/arm/configs/footbridge_defconfig
index 3a7938f244e566..1fe60e0fcf2790 100644
--- a/arch/arm/configs/footbridge_defconfig
+++ b/arch/arm/configs/footbridge_defconfig
@@ -65,7 +65,6 @@ CONFIG_PARIDE_ON26=m
 CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_NBD=m
 CONFIG_BLK_DEV_RAM=y
-CONFIG_IDE=y
 CONFIG_NETDEVICES=y
 CONFIG_NET_ETHERNET=y
 CONFIG_NET_VENDOR_3COM=y
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 03/10] ARM: disable CONFIG_IDE in pxa_defconfig
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
  2021-03-18  4:56 ` [PATCH 01/10] alpha: use libata instead of " Christoph Hellwig
  2021-03-18  4:56 ` [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig Christoph Hellwig
@ 2021-03-18  4:56 ` Christoph Hellwig
  2021-03-18  4:57 ` [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig Christoph Hellwig
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:56 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

pxa_defconfig already enables libata including the pata_pcmcia driver, so
drop the legacy ide driver and idecs host driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/arm/configs/pxa_defconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/configs/pxa_defconfig b/arch/arm/configs/pxa_defconfig
index bd7dd81c9c5441..c82b8a1d6e84f6 100644
--- a/arch/arm/configs/pxa_defconfig
+++ b/arch/arm/configs/pxa_defconfig
@@ -215,8 +215,6 @@ CONFIG_IIO=m
 CONFIG_AD5446=m
 CONFIG_EEPROM_AT24=m
 CONFIG_SENSORS_LIS3_SPI=m
-CONFIG_IDE=m
-CONFIG_BLK_DEV_IDECS=m
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=m
 CONFIG_CHR_DEV_ST=m
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (2 preceding siblings ...)
  2021-03-18  4:56 ` [PATCH 03/10] ARM: disable CONFIG_IDE in pxa_defconfig Christoph Hellwig
@ 2021-03-18  4:57 ` Christoph Hellwig
  2021-03-19  0:12   ` Maciej W. Rozycki
  2021-03-24  9:59   ` Thomas Bogendoerfer
  2021-03-18  4:57 ` [PATCH 05/10] MIPS: switch workpad_defconfig from legacy IDE to libata Christoph Hellwig
                   ` (8 subsequent siblings)
  12 siblings, 2 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:57 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

sb1250_swarm_defconfig enables CONFIG_IDE but no actual host controller
driver, so just drop CONFIG_IDE, CONFIG_BLK_DEV_IDECD and
CONFIG_BLK_DEV_IDETAPE as they are useless.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/mips/configs/sb1250_swarm_defconfig | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/mips/configs/sb1250_swarm_defconfig b/arch/mips/configs/sb1250_swarm_defconfig
index bb0b1b22ebe164..96a94ebf05bf08 100644
--- a/arch/mips/configs/sb1250_swarm_defconfig
+++ b/arch/mips/configs/sb1250_swarm_defconfig
@@ -49,9 +49,6 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=9220
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_IDETAPE=y
 CONFIG_RAID_ATTRS=m
 CONFIG_NETDEVICES=y
 CONFIG_MACVLAN=m
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 05/10] MIPS: switch workpad_defconfig from legacy IDE to libata
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (3 preceding siblings ...)
  2021-03-18  4:57 ` [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig Christoph Hellwig
@ 2021-03-18  4:57 ` Christoph Hellwig
  2021-03-24 10:00   ` Thomas Bogendoerfer
  2021-03-18  4:57 ` [PATCH 06/10] MIPS: disable CONFIG_IDE in rbtx49xx_defconfig Christoph Hellwig
                   ` (7 subsequent siblings)
  12 siblings, 1 reply; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:57 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

Use libata instead of the deprecated legacy ide driver in
workpad_defconfig.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/mips/configs/workpad_defconfig | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/mips/configs/workpad_defconfig b/arch/mips/configs/workpad_defconfig
index 891a5f77305da1..4798dc86c9ceaf 100644
--- a/arch/mips/configs/workpad_defconfig
+++ b/arch/mips/configs/workpad_defconfig
@@ -26,9 +26,12 @@ CONFIG_IP_MULTICAST=y
 # CONFIG_IPV6 is not set
 CONFIG_NETWORK_SECMARK=y
 CONFIG_BLK_DEV_RAM=m
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECS=m
-CONFIG_IDE_GENERIC=y
+# CONFIG_SCSI_PROC_FS is not set
+# CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+# CONFIG_ATA_VERBOSE_ERROR is not set
+# CONFIG_ATA_FORCE is not set
+# CONFIG_ATA_BMDMA is not set
 CONFIG_NETDEVICES=y
 CONFIG_PCMCIA_3C574=m
 CONFIG_PCMCIA_3C589=m
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 06/10] MIPS: disable CONFIG_IDE in rbtx49xx_defconfig
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (4 preceding siblings ...)
  2021-03-18  4:57 ` [PATCH 05/10] MIPS: switch workpad_defconfig from legacy IDE to libata Christoph Hellwig
@ 2021-03-18  4:57 ` Christoph Hellwig
  2021-03-24 10:00   ` Thomas Bogendoerfer
  2021-03-18  4:57 ` [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig Christoph Hellwig
                   ` (6 subsequent siblings)
  12 siblings, 1 reply; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:57 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

rbtx49xx_defconfig enables CONFIG_IDE for the tx4938 and tx4939 ide
drivers, but those aren't actually used by the last known remaining user:

https://lore.kernel.org/lkml/20210107.101729.1936921832901251107.anemo@mba.ocn.ne.jp/

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/mips/configs/rbtx49xx_defconfig | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/mips/configs/rbtx49xx_defconfig b/arch/mips/configs/rbtx49xx_defconfig
index 5e389db35fa746..69f2300107f961 100644
--- a/arch/mips/configs/rbtx49xx_defconfig
+++ b/arch/mips/configs/rbtx49xx_defconfig
@@ -44,9 +44,6 @@ CONFIG_MTD_NAND_TXX9NDFMC=m
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=8192
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDE_TX4938=y
-CONFIG_BLK_DEV_IDE_TX4939=y
 CONFIG_NETDEVICES=y
 CONFIG_NE2000=y
 CONFIG_SMC91X=y
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (5 preceding siblings ...)
  2021-03-18  4:57 ` [PATCH 06/10] MIPS: disable CONFIG_IDE in rbtx49xx_defconfig Christoph Hellwig
@ 2021-03-18  4:57 ` Christoph Hellwig
  2021-03-18 10:08   ` Sergei Shtylyov
  2021-03-24 10:00   ` Thomas Bogendoerfer
  2021-03-18  4:57 ` [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig Christoph Hellwig
                   ` (5 subsequent siblings)
  12 siblings, 2 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:57 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

bigsur_defconfig enables CONFIG_IDE for the tc86c001 ide driver, which
is a Toshiba plug in card that does not make much sense to use on bigsur
platforms.  For all other ATA cards libata support is already enabled.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/mips/configs/bigsur_defconfig | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/mips/configs/bigsur_defconfig b/arch/mips/configs/bigsur_defconfig
index eea9b613bb7402..d83e7d600b0a56 100644
--- a/arch/mips/configs/bigsur_defconfig
+++ b/arch/mips/configs/bigsur_defconfig
@@ -105,10 +105,6 @@ CONFIG_BLK_DEV_CRYPTOLOOP=m
 CONFIG_BLK_DEV_NBD=m
 CONFIG_EEPROM_LEGACY=y
 CONFIG_EEPROM_MAX6875=y
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_IDETAPE=y
-CONFIG_BLK_DEV_TC86C001=m
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=y
 CONFIG_BLK_DEV_SR=y
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (6 preceding siblings ...)
  2021-03-18  4:57 ` [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig Christoph Hellwig
@ 2021-03-18  4:57 ` Christoph Hellwig
  2021-03-18 10:12   ` Sergei Shtylyov
                     ` (2 more replies)
  2021-03-18  4:57 ` [PATCH 09/10] m68k: use libata instead of the legacy ide driver Christoph Hellwig
                   ` (4 subsequent siblings)
  12 siblings, 3 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:57 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

Various malta defconfigs enable CONFIG_IDE for the tc86c001 ide driver,
hich is a Toshiba plug in card that does not make much sense to use on
bigsur platforms.  For all other ATA cards libata support is already
enabled.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/mips/configs/malta_kvm_defconfig       | 3 ---
 arch/mips/configs/malta_kvm_guest_defconfig | 3 ---
 arch/mips/configs/maltaup_xpa_defconfig     | 3 ---
 3 files changed, 9 deletions(-)

diff --git a/arch/mips/configs/malta_kvm_defconfig b/arch/mips/configs/malta_kvm_defconfig
index 62b1969b4f55b9..b4f9f3d4bd5d34 100644
--- a/arch/mips/configs/malta_kvm_defconfig
+++ b/arch/mips/configs/malta_kvm_defconfig
@@ -239,9 +239,6 @@ CONFIG_BLK_DEV_NBD=m
 CONFIG_BLK_DEV_RAM=y
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_TC86C001=m
 CONFIG_RAID_ATTRS=m
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=m
diff --git a/arch/mips/configs/malta_kvm_guest_defconfig b/arch/mips/configs/malta_kvm_guest_defconfig
index 9185e0a0aa4551..4d415145d1163e 100644
--- a/arch/mips/configs/malta_kvm_guest_defconfig
+++ b/arch/mips/configs/malta_kvm_guest_defconfig
@@ -237,9 +237,6 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_VIRTIO_BLK=y
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_TC86C001=m
 CONFIG_RAID_ATTRS=m
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=m
diff --git a/arch/mips/configs/maltaup_xpa_defconfig b/arch/mips/configs/maltaup_xpa_defconfig
index 636311d67a533c..cd536086dca4a4 100644
--- a/arch/mips/configs/maltaup_xpa_defconfig
+++ b/arch/mips/configs/maltaup_xpa_defconfig
@@ -237,9 +237,6 @@ CONFIG_BLK_DEV_NBD=m
 CONFIG_BLK_DEV_RAM=y
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_TC86C001=m
 CONFIG_RAID_ATTRS=m
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=m
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 09/10] m68k: use libata instead of the legacy ide driver
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (7 preceding siblings ...)
  2021-03-18  4:57 ` [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig Christoph Hellwig
@ 2021-03-18  4:57 ` Christoph Hellwig
  2021-03-19  1:43 ` remove " Finn Thain
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  4:57 UTC (permalink / raw)
  To: David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

Switch the m68 defconfigs from the deprecated ide subsystem to use libata
instead.  The gayle and buddha and falcon drivers are enabled for libata,
while support for the q40 and macide drivers is lost.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/m68k/configs/amiga_defconfig | 10 +++++-----
 arch/m68k/configs/atari_defconfig |  8 ++++----
 arch/m68k/configs/mac_defconfig   |  5 -----
 arch/m68k/configs/multi_defconfig | 15 ++++++---------
 arch/m68k/configs/q40_defconfig   |  4 ----
 5 files changed, 15 insertions(+), 27 deletions(-)

diff --git a/arch/m68k/configs/amiga_defconfig b/arch/m68k/configs/amiga_defconfig
index 786656090c5029..fba7275de0fb5f 100644
--- a/arch/m68k/configs/amiga_defconfig
+++ b/arch/m68k/configs/amiga_defconfig
@@ -323,11 +323,6 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_DUMMY_IRQ=m
-CONFIG_IDE=y
-CONFIG_IDE_GD_ATAPI=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_GAYLE=y
-CONFIG_BLK_DEV_BUDDHA=y
 CONFIG_RAID_ATTRS=m
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
@@ -344,6 +339,11 @@ CONFIG_GVP11_SCSI=y
 CONFIG_SCSI_A4000T=y
 CONFIG_SCSI_ZORRO7XX=y
 CONFIG_SCSI_ZORRO_ESP=y
+CONFIG_ATA=y
+# CONFIG_ATA_VERBOSE_ERROR is not set
+# CONFIG_ATA_BMDMA is not set
+CONFIG_PATA_GAYLE=y
+CONFIG_PATA_BUDDHA=y
 CONFIG_MD=y
 CONFIG_MD_LINEAR=m
 CONFIG_BLK_DEV_DM=m
diff --git a/arch/m68k/configs/atari_defconfig b/arch/m68k/configs/atari_defconfig
index 413232626d9d57..235d038be94444 100644
--- a/arch/m68k/configs/atari_defconfig
+++ b/arch/m68k/configs/atari_defconfig
@@ -324,10 +324,6 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_DUMMY_IRQ=m
-CONFIG_IDE=y
-CONFIG_IDE_GD_ATAPI=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_FALCON_IDE=y
 CONFIG_RAID_ATTRS=m
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
@@ -339,6 +335,10 @@ CONFIG_SCSI_SAS_ATTRS=m
 CONFIG_ISCSI_TCP=m
 CONFIG_ISCSI_BOOT_SYSFS=m
 CONFIG_ATARI_SCSI=y
+CONFIG_ATA=y
+# CONFIG_ATA_VERBOSE_ERROR is not set
+# CONFIG_ATA_BMDMA is not set
+CONFIG_PATA_FALCON=y
 CONFIG_MD=y
 CONFIG_MD_LINEAR=m
 CONFIG_BLK_DEV_DM=m
diff --git a/arch/m68k/configs/mac_defconfig b/arch/m68k/configs/mac_defconfig
index bf15e6c1c939bb..cc92cc4601cb1f 100644
--- a/arch/m68k/configs/mac_defconfig
+++ b/arch/m68k/configs/mac_defconfig
@@ -315,11 +315,6 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_DUMMY_IRQ=m
-CONFIG_IDE=y
-CONFIG_IDE_GD_ATAPI=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_PLATFORM=y
-CONFIG_BLK_DEV_MAC_IDE=y
 CONFIG_RAID_ATTRS=m
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
diff --git a/arch/m68k/configs/multi_defconfig b/arch/m68k/configs/multi_defconfig
index 5466d48fcd9d51..9be9f2ad4ddb84 100644
--- a/arch/m68k/configs/multi_defconfig
+++ b/arch/m68k/configs/multi_defconfig
@@ -344,15 +344,6 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_DUMMY_IRQ=m
-CONFIG_IDE=y
-CONFIG_IDE_GD_ATAPI=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_PLATFORM=y
-CONFIG_BLK_DEV_GAYLE=y
-CONFIG_BLK_DEV_BUDDHA=y
-CONFIG_BLK_DEV_FALCON_IDE=y
-CONFIG_BLK_DEV_MAC_IDE=y
-CONFIG_BLK_DEV_Q40IDE=y
 CONFIG_RAID_ATTRS=m
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
@@ -376,6 +367,12 @@ CONFIG_MVME147_SCSI=y
 CONFIG_MVME16x_SCSI=y
 CONFIG_BVME6000_SCSI=y
 CONFIG_SUN3X_ESP=y
+CONFIG_ATA=y
+# CONFIG_ATA_VERBOSE_ERROR is not set
+# CONFIG_ATA_BMDMA is not set
+CONFIG_PATA_FALCON=y
+CONFIG_PATA_GAYLE=y
+CONFIG_PATA_BUDDHA=y
 CONFIG_MD=y
 CONFIG_MD_LINEAR=m
 CONFIG_BLK_DEV_DM=m
diff --git a/arch/m68k/configs/q40_defconfig b/arch/m68k/configs/q40_defconfig
index 3ae421cb24a439..ac35e448b1c58f 100644
--- a/arch/m68k/configs/q40_defconfig
+++ b/arch/m68k/configs/q40_defconfig
@@ -314,10 +314,6 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_DUMMY_IRQ=m
-CONFIG_IDE=y
-CONFIG_IDE_GD_ATAPI=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_Q40IDE=y
 CONFIG_RAID_ATTRS=m
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* Re: [PATCH 01/10] alpha: use libata instead of the legacy ide driver
  2021-03-18  4:56 ` [PATCH 01/10] alpha: use libata instead of " Christoph Hellwig
@ 2021-03-18  5:54   ` Al Viro
  2021-03-18  6:07     ` Christoph Hellwig
                       ` (2 more replies)
  0 siblings, 3 replies; 46+ messages in thread
From: Al Viro @ 2021-03-18  5:54 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Thu, Mar 18, 2021 at 05:56:57AM +0100, Christoph Hellwig wrote:
> Switch the alpha defconfig from the legacy ide driver to libata.

Umm...  I don't have an IDE alpha box in a usable shape (fans on
CPU module shat themselves), and it would take a while to resurrect
it, but I remember the joy it used to cause in some versions.

Do you have reports of libata variants of drivers actually tested on
those?

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 01/10] alpha: use libata instead of the legacy ide driver
  2021-03-18  5:54   ` Al Viro
@ 2021-03-18  6:07     ` Christoph Hellwig
  2021-03-18 17:09       ` Måns Rullgård
  2021-03-18  7:54     ` John Paul Adrian Glaubitz
  2021-03-19 16:23     ` Serge Belyshev
  2 siblings, 1 reply; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-18  6:07 UTC (permalink / raw)
  To: Al Viro
  Cc: Christoph Hellwig, David S. Miller, Jens Axboe,
	Geert Uytterhoeven, Richard Henderson, Ivan Kokshaysky,
	Matt Turner, Russell King, Thomas Bogendoerfer, Michael Ellerman,
	linux-ide, linux-doc, linux-kernel, linux-alpha,
	linux-arm-kernel, linux-m68k, linux-mips, linuxppc-dev

On Thu, Mar 18, 2021 at 05:54:55AM +0000, Al Viro wrote:
> On Thu, Mar 18, 2021 at 05:56:57AM +0100, Christoph Hellwig wrote:
> > Switch the alpha defconfig from the legacy ide driver to libata.
> 
> Umm...  I don't have an IDE alpha box in a usable shape (fans on
> CPU module shat themselves), and it would take a while to resurrect
> it, but I remember the joy it used to cause in some versions.
> 
> Do you have reports of libata variants of drivers actually tested on
> those?

No, I haven't.  The whole point is that we're not going to keep 40000
lines of code around despite notice for users that don't exist or
care.  If there is a regression we'll fix it, but we're not going to
make life miserable just because we can.

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 01/10] alpha: use libata instead of the legacy ide driver
  2021-03-18  5:54   ` Al Viro
  2021-03-18  6:07     ` Christoph Hellwig
@ 2021-03-18  7:54     ` John Paul Adrian Glaubitz
  2021-03-19 16:23     ` Serge Belyshev
  2 siblings, 0 replies; 46+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-03-18  7:54 UTC (permalink / raw)
  To: Al Viro, Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

Hi Al!

On 3/18/21 6:54 AM, Al Viro wrote:
> On Thu, Mar 18, 2021 at 05:56:57AM +0100, Christoph Hellwig wrote:
>> Switch the alpha defconfig from the legacy ide driver to libata.
> 
> Umm...  I don't have an IDE alpha box in a usable shape (fans on
> CPU module shat themselves), and it would take a while to resurrect
> it, but I remember the joy it used to cause in some versions.
> 
> Do you have reports of libata variants of drivers actually tested on
> those?

At least pata_cypress works fine on my AlphaStation XP1000:

root@tsunami:~> lspci
0000:00:07.0 ISA bridge: Contaq Microsystems 82c693
0000:00:07.1 IDE interface: Contaq Microsystems 82c693
0000:00:07.2 IDE interface: Contaq Microsystems 82c693
0000:00:07.3 USB controller: Contaq Microsystems 82c693
0000:00:0d.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01)
0001:01:03.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
0001:01:06.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 06)
0001:01:08.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
0001:02:09.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
root@tsunami:~> lsmod|grep pata
pata_cypress            3595  3
libata                235071  2 ata_generic,pata_cypress
root@tsunami:~>

I also have two AlphaStation 233 currently in storage which I assume use
different IDE chipset which I could test as well.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig
  2021-03-18  4:57 ` [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig Christoph Hellwig
@ 2021-03-18 10:08   ` Sergei Shtylyov
  2021-03-24 10:00   ` Thomas Bogendoerfer
  1 sibling, 0 replies; 46+ messages in thread
From: Sergei Shtylyov @ 2021-03-18 10:08 UTC (permalink / raw)
  To: Christoph Hellwig, David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

Hi!

On 3/18/21 7:57 AM, Christoph Hellwig wrote:

> bigsur_defconfig enables CONFIG_IDE for the tc86c001 ide driver, which
> is a Toshiba plug in card that does not make much sense to use on bigsur
    ^ for

   Else that doesn't make much sense. :-)

> platforms.  For all other ATA cards libata support is already enabled.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
[...]

MBR, Sergei

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig
  2021-03-18  4:57 ` [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig Christoph Hellwig
@ 2021-03-18 10:12   ` Sergei Shtylyov
  2021-03-18 14:19   ` Thomas Bogendoerfer
  2021-03-24 10:01   ` Thomas Bogendoerfer
  2 siblings, 0 replies; 46+ messages in thread
From: Sergei Shtylyov @ 2021-03-18 10:12 UTC (permalink / raw)
  To: Christoph Hellwig, David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On 3/18/21 7:57 AM, Christoph Hellwig wrote:

> Various malta defconfigs enable CONFIG_IDE for the tc86c001 ide driver,
> hich is a Toshiba plug in card that does not make much sense to use on
  ^ which is for

> bigsur platforms.  For all other ATA cards libata support is already
  ^ Malta.

> enabled.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
[...]

MBR, Sergei

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig
  2021-03-18  4:57 ` [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig Christoph Hellwig
  2021-03-18 10:12   ` Sergei Shtylyov
@ 2021-03-18 14:19   ` Thomas Bogendoerfer
  2021-03-19 13:03     ` Christoph Hellwig
  2021-03-24 10:01   ` Thomas Bogendoerfer
  2 siblings, 1 reply; 46+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-18 14:19 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

On Thu, Mar 18, 2021 at 05:57:04AM +0100, Christoph Hellwig wrote:
>  arch/mips/configs/malta_kvm_guest_defconfig | 3 ---

that file is gone in mips-next.

I could take all MIPS patches into mips-next, if you want...

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 01/10] alpha: use libata instead of the legacy ide driver
  2021-03-18  6:07     ` Christoph Hellwig
@ 2021-03-18 17:09       ` Måns Rullgård
  2021-03-18 18:03         ` Måns Rullgård
  0 siblings, 1 reply; 46+ messages in thread
From: Måns Rullgård @ 2021-03-18 17:09 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Al Viro, Jens Axboe, Thomas Bogendoerfer, linux-doc,
	Russell King, David S. Miller, linux-ide, linux-m68k,
	Ivan Kokshaysky, linux-arm-kernel, linux-alpha,
	Geert Uytterhoeven, Matt Turner, linux-mips, linuxppc-dev,
	linux-kernel, Richard Henderson

Christoph Hellwig <hch@lst.de> writes:

> On Thu, Mar 18, 2021 at 05:54:55AM +0000, Al Viro wrote:
>> On Thu, Mar 18, 2021 at 05:56:57AM +0100, Christoph Hellwig wrote:
>> > Switch the alpha defconfig from the legacy ide driver to libata.
>> 
>> Umm...  I don't have an IDE alpha box in a usable shape (fans on
>> CPU module shat themselves), and it would take a while to resurrect
>> it, but I remember the joy it used to cause in some versions.
>> 
>> Do you have reports of libata variants of drivers actually tested on
>> those?
>
> No, I haven't.  The whole point is that we're not going to keep 40000
> lines of code around despite notice for users that don't exist or
> care.  If there is a regression we'll fix it, but we're not going to
> make life miserable just because we can.

The pata_ali driver works fine on my UP1500 machine, unless something
broke recently.  I'll build the latest kernel and report back.

-- 
Måns Rullgård

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 01/10] alpha: use libata instead of the legacy ide driver
  2021-03-18 17:09       ` Måns Rullgård
@ 2021-03-18 18:03         ` Måns Rullgård
  0 siblings, 0 replies; 46+ messages in thread
From: Måns Rullgård @ 2021-03-18 18:03 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Al Viro, Jens Axboe, Thomas Bogendoerfer, linux-doc,
	Russell King, David S. Miller, linux-ide, linux-m68k,
	Ivan Kokshaysky, linux-arm-kernel, linux-alpha,
	Geert Uytterhoeven, Matt Turner, linux-mips, linuxppc-dev,
	linux-kernel, Richard Henderson

Måns Rullgård <mans@mansr.com> writes:

> Christoph Hellwig <hch@lst.de> writes:
>
>> On Thu, Mar 18, 2021 at 05:54:55AM +0000, Al Viro wrote:
>>> On Thu, Mar 18, 2021 at 05:56:57AM +0100, Christoph Hellwig wrote:
>>> > Switch the alpha defconfig from the legacy ide driver to libata.
>>> 
>>> Umm...  I don't have an IDE alpha box in a usable shape (fans on
>>> CPU module shat themselves), and it would take a while to resurrect
>>> it, but I remember the joy it used to cause in some versions.
>>> 
>>> Do you have reports of libata variants of drivers actually tested on
>>> those?
>>
>> No, I haven't.  The whole point is that we're not going to keep 40000
>> lines of code around despite notice for users that don't exist or
>> care.  If there is a regression we'll fix it, but we're not going to
>> make life miserable just because we can.
>
> The pata_ali driver works fine on my UP1500 machine, unless something
> broke recently.  I'll build the latest kernel and report back.

5.11.7 seems fine too.

-- 
Måns Rullgård

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig
  2021-03-18  4:57 ` [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig Christoph Hellwig
@ 2021-03-19  0:12   ` Maciej W. Rozycki
  2021-03-24  9:59   ` Thomas Bogendoerfer
  1 sibling, 0 replies; 46+ messages in thread
From: Maciej W. Rozycki @ 2021-03-19  0:12 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Thu, 18 Mar 2021, Christoph Hellwig wrote:

> sb1250_swarm_defconfig enables CONFIG_IDE but no actual host controller
> driver, so just drop CONFIG_IDE, CONFIG_BLK_DEV_IDECD and
> CONFIG_BLK_DEV_IDETAPE as they are useless.

 Actually BLK_DEV_PLATFORM would handle the SWARM's platform driver as an 
IDE device, however the driver has supported libata ever since commit 
2fef357cf391 ("IDE: Fix platform device registration in Swarm IDE driver 
(v2)") back in 2008, so this is good to go.  We should probably enable 
PATA_PLATFORM in the defconfig instead.

 The printed name of the driver could be improved I suppose though:

scsi host0: pata_platform
ata1: PATA max PIO0 mmio cmd 0x100b3e00 ctl 0x100b7ec0 irq 36

(PIO3 is actually hardwired; it's an odd interface and people reported 
issues with it, but I have never had any myself be it with IDE or libata).

Acked-by: Maciej W. Rozycki <macro@orcam.me.uk>

  Maciej

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: remove the legacy ide driver
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (8 preceding siblings ...)
  2021-03-18  4:57 ` [PATCH 09/10] m68k: use libata instead of the legacy ide driver Christoph Hellwig
@ 2021-03-19  1:43 ` Finn Thain
  2021-03-19  5:43   ` Christoph Hellwig
  2021-03-19 16:48 ` Maciej W. Rozycki
                   ` (2 subsequent siblings)
  12 siblings, 1 reply; 46+ messages in thread
From: Finn Thain @ 2021-03-19  1:43 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Thu, 18 Mar 2021, Christoph Hellwig wrote:

> Hi all,
> 
> we've been trying to get rid of the legacy ide driver for a while now,
> and finally scheduled a removal for 2021, which is three month old now.
> 
> In general distros and most defconfigs have switched to libata long ago,
> but there are a few exceptions.  This series first switches over all
> remaining defconfigs to use libata and then removes the legacy ide
> driver.
> 
> libata mostly covers all hardware supported by the legacy ide driver.
> There are three mips drivers that are not supported, but the linux-mips
> list could not identify any users of those.  There also are two m68k
> drivers that do not have libata equivalents, which might or might not
> have users, so we'll need some input and possibly help from the m68k
> community here.
> 

A few months ago I wrote another patch to move some more platforms away 
from macide but it has not been tested yet. That is not to say you should 
wait. However, my patch does have some changes that are missing from your 
patch series, relating to ide platform devices in arch/m68k/mac/config.c. 
I hope to be able to test this patch before the 5.13 merge window closes.

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: remove the legacy ide driver
  2021-03-19  1:43 ` remove " Finn Thain
@ 2021-03-19  5:43   ` Christoph Hellwig
  0 siblings, 0 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-19  5:43 UTC (permalink / raw)
  To: Finn Thain
  Cc: Christoph Hellwig, David S. Miller, Jens Axboe,
	Geert Uytterhoeven, Richard Henderson, Ivan Kokshaysky,
	Matt Turner, Russell King, Thomas Bogendoerfer, Michael Ellerman,
	linux-ide, linux-doc, linux-kernel, linux-alpha,
	linux-arm-kernel, linux-m68k, linux-mips, linuxppc-dev

On Fri, Mar 19, 2021 at 12:43:48PM +1100, Finn Thain wrote:
> A few months ago I wrote another patch to move some more platforms away 
> from macide but it has not been tested yet. That is not to say you should 
> wait. However, my patch does have some changes that are missing from your 
> patch series, relating to ide platform devices in arch/m68k/mac/config.c. 
> I hope to be able to test this patch before the 5.13 merge window closes.

Normally we do not remove drivers for hardware that is still used.  So
at leat for macide my plan was not to take it away unless the users 
are sufficiently happy.  Or in other words:  I think waiting it the
right choice, but hopefully we can make that wait as short as possible.

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig
  2021-03-18 14:19   ` Thomas Bogendoerfer
@ 2021-03-19 13:03     ` Christoph Hellwig
  0 siblings, 0 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-19 13:03 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Christoph Hellwig, David S. Miller, Jens Axboe,
	Geert Uytterhoeven, Richard Henderson, Ivan Kokshaysky,
	Matt Turner, Russell King, Michael Ellerman, linux-ide,
	linux-doc, linux-kernel, linux-alpha, linux-arm-kernel,
	linux-m68k, linux-mips, linuxppc-dev

On Thu, Mar 18, 2021 at 03:19:00PM +0100, Thomas Bogendoerfer wrote:
> On Thu, Mar 18, 2021 at 05:57:04AM +0100, Christoph Hellwig wrote:
> >  arch/mips/configs/malta_kvm_guest_defconfig | 3 ---
> 
> that file is gone in mips-next.
> 
> I could take all MIPS patches into mips-next, if you want...

Fine with me - it shouldn't really matter if the defconfig updates
go in independently.  Do you want a resend with the typos fixed
against mips-next or are you simply going to fix these things up?

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 01/10] alpha: use libata instead of the legacy ide driver
  2021-03-18  5:54   ` Al Viro
  2021-03-18  6:07     ` Christoph Hellwig
  2021-03-18  7:54     ` John Paul Adrian Glaubitz
@ 2021-03-19 16:23     ` Serge Belyshev
  2 siblings, 0 replies; 46+ messages in thread
From: Serge Belyshev @ 2021-03-19 16:23 UTC (permalink / raw)
  To: Al Viro
  Cc: Christoph Hellwig, David S. Miller, Jens Axboe,
	Geert Uytterhoeven, Richard Henderson, Ivan Kokshaysky,
	Matt Turner, Russell King, Thomas Bogendoerfer, Michael Ellerman,
	linux-ide, linux-doc, linux-kernel, linux-alpha,
	linux-arm-kernel, linux-m68k, linux-mips, linuxppc-dev

Al Viro <viro@zeniv.linux.org.uk> writes:

> ...
>
> Do you have reports of libata variants of drivers actually tested on
> those?

PATA_CMD64X works fine on my 164LX for many years, last tested with 5.12-rc3.

(with a caveat: in my setup with CF card DMA is broken, but it is broken
with BLK_DEV_CMD64X as well).

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: remove the legacy ide driver
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (9 preceding siblings ...)
  2021-03-19  1:43 ` remove " Finn Thain
@ 2021-03-19 16:48 ` Maciej W. Rozycki
       [not found] ` <20210318045706.200458-11-hch@lst.de>
  2021-03-21  9:20 ` John Paul Adrian Glaubitz
  12 siblings, 0 replies; 46+ messages in thread
From: Maciej W. Rozycki @ 2021-03-19 16:48 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Thu, 18 Mar 2021, Christoph Hellwig wrote:

> we've been trying to get rid of the legacy ide driver for a while now,
> and finally scheduled a removal for 2021, which is three month old now.

 Hmm, there's still a regression in that pata_legacy unconditionally pokes 
at random I/O port locations corresponding to all the known possible ATA 
interface mappings with ISA option cards:

scsi host0: pata_legacy
ata1: PATA max PIO4 cmd 0x1f0 ctl 0x3f6 irq 14
ata1.00: ATA-4: ST310211A, 3.54, max UDMA/100
ata1.00: 19541088 sectors, multi 16: LBA
ata1.00: configured for PIO
scsi 0:0:0:0: Direct-Access     ATA      ST310211A        3.54 PQ: 0 ANSI: 5
scsi 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 19541088 512-byte logical blocks: (10.0 GB/9.32 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't 
support DPO or FUA
 sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
scsi host1: pata_legacy
ata2: PATA max PIO4 cmd 0x170 ctl 0x376 irq 15
scsi host1: pata_legacy
ata3: PATA max PIO4 cmd 0x1e8 ctl 0x3ee irq 11
scsi host1: pata_legacy
ata4: PATA max PIO4 cmd 0x168 ctl 0x36e irq 10
scsi host1: pata_legacy
ata5: PATA max PIO4 cmd 0x1e0 ctl 0x3e6 irq 8
scsi host1: pata_legacy
ata6: PATA max PIO4 cmd 0x160 ctl 0x366 irq 12

This seems needlessly dangerous to me.  With the old IDE driver I could 
(and did) specify "ide_generic.probe_mask=1" to avoid this clutter (the 
ISA card used with this system has a single ATA port only).

 I guess it's easy to fix by carrying the `probe_mask' parameter over and 
I think we'd rather wait with the removal of the IDE subsystem until we 
have a release with this option supported.  I may look into it unless 
someone beats me to it.

 Overall I find it rather disturbing that nobody has noticed this issue 
over all these years.

 NB it is only earlier this year that I recovered this system from a PSU 
failure several years ago, which took the disk the system previously had 
with it, so myself I had no chance to get at it any earlier, though I did 
mean to have a look as soon as I saw the notice about the scheduled IDE 
removal.

  Maciej

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-18  4:56 ` [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig Christoph Hellwig
@ 2021-03-19 17:07   ` Russell King - ARM Linux admin
  2021-03-19 17:53     ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 46+ messages in thread
From: Russell King - ARM Linux admin @ 2021-03-19 17:07 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Thu, Mar 18, 2021 at 05:56:58AM +0100, Christoph Hellwig wrote:
> footbridge_defconfig enables CONFIG_IDE but no actual host controller
> driver, so just drop it.

I have been using the Cypress 82C693 IDE driver on Footbridge for a
CD ROM drive, and I know it doesn't work with the PATA driver - as
I need to disable BM DMA, otherwise the 82C693/DC21285 combination
deadlocks the PCI bus. The PATA driver doesn't support disabling
BM DMA without disabling it for all PATA ports, which is really
annoying for my IT821x card in the same machine.

So, I'm rather stuck using the PATA driver for the HDDs and the
IDE driver for the CD ROM.

That said, a commit a while back "cleaning up" the PCI layer appears
to have totally shafted the 82C693, as the kernel tries to request
IO resources at the legacy IDE addresses against the PCI bus resource
which only covers 0x1000-0xffff. Hence, the 82C693 IDE ports are non-
functional at the moment.

I'm debating about trying to find a fix to the PCI breakage that was
introduced by "ARM: move PCI i/o resource setup into common code".

I hadn't noticed it because I don't use the CD ROM drive very often,
and I don't upgrade the kernel that often either on the machine -
but it has been running 24x7 for almost two decades.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-19 17:07   ` Russell King - ARM Linux admin
@ 2021-03-19 17:53     ` Russell King - ARM Linux admin
  2021-03-22 14:54       ` Christoph Hellwig
  0 siblings, 1 reply; 46+ messages in thread
From: Russell King - ARM Linux admin @ 2021-03-19 17:53 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Fri, Mar 19, 2021 at 05:07:53PM +0000, Russell King - ARM Linux admin wrote:
> On Thu, Mar 18, 2021 at 05:56:58AM +0100, Christoph Hellwig wrote:
> > footbridge_defconfig enables CONFIG_IDE but no actual host controller
> > driver, so just drop it.
> 
> I have been using the Cypress 82C693 IDE driver on Footbridge for a
> CD ROM drive, and I know it doesn't work with the PATA driver - as
> I need to disable BM DMA, otherwise the 82C693/DC21285 combination
> deadlocks the PCI bus. The PATA driver doesn't support disabling
> BM DMA without disabling it for all PATA ports, which is really
> annoying for my IT821x card in the same machine.
> 
> So, I'm rather stuck using the PATA driver for the HDDs and the
> IDE driver for the CD ROM.
> 
> That said, a commit a while back "cleaning up" the PCI layer appears
> to have totally shafted the 82C693, as the kernel tries to request
> IO resources at the legacy IDE addresses against the PCI bus resource
> which only covers 0x1000-0xffff. Hence, the 82C693 IDE ports are non-
> functional at the moment.
> 
> I'm debating about trying to find a fix to the PCI breakage that was
> introduced by "ARM: move PCI i/o resource setup into common code".
> 
> I hadn't noticed it because I don't use the CD ROM drive very often,
> and I don't upgrade the kernel that often either on the machine -
> but it has been running 24x7 for almost two decades.

Okay, a bit more on this...

If I extend the arch/arm/kernel/bios32.c code to kill BARs 2/3 (which
actually are not present on the CY82C693) then the IDE driver works
for me, but the PATA driver does not:

cy82c693 0000:00:06.1: IDE controller (0x1080:0xc693 rev 0x00)
cy82c693 0000:00:06.1: not 100% native mode: will probe irqs later
legacy IDE will be removed in 2021, please switch to libata
Report any missing HW support to linux-ide@vger.kernel.org
    ide0: BM-DMA at 0x1080-0x1087
    ide1: BM-DMA at 0x1088-0x108f
Probing IDE interface ide0...
hda: PIONEER DVD-RW DVR-105, ATAPI CD/DVD-ROM drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
...

(unbind Cypress_IDE and try binding pata_cypress)

pata_cypress 0000:00:06.1: no available native port


-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 10/10] ide: remove the legacy ide driver
       [not found] ` <20210318045706.200458-11-hch@lst.de>
@ 2021-03-20  3:44   ` Maciej W. Rozycki
  2021-03-20  4:04     ` Maciej W. Rozycki
  0 siblings, 1 reply; 46+ messages in thread
From: Maciej W. Rozycki @ 2021-03-20  3:44 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Thu, 18 Mar 2021, Christoph Hellwig wrote:

> The legay ide driver has been replace with libata startin in 2003 and has

 s/legay/legacy/;s/replace/replaced/;s/startin/startin/ (though I'd say 
"back in" instead in the latter case).

> been scheduled for removal for a while.  Finally kill it off so that we
> can start cleaning up various bits of cruft it forced on the block layer.

 You need to adjust Documentation/admin-guide/kernel-parameters.txt too, 
i.e. remove all the `ide*' options, possibly more (I haven't checked in 
detail).

  Maciej

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 10/10] ide: remove the legacy ide driver
  2021-03-20  3:44   ` [PATCH 10/10] ide: " Maciej W. Rozycki
@ 2021-03-20  4:04     ` Maciej W. Rozycki
  0 siblings, 0 replies; 46+ messages in thread
From: Maciej W. Rozycki @ 2021-03-20  4:04 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Sat, 20 Mar 2021, Maciej W. Rozycki wrote:

> > been scheduled for removal for a while.  Finally kill it off so that we
> > can start cleaning up various bits of cruft it forced on the block layer.
> 
>  You need to adjust Documentation/admin-guide/kernel-parameters.txt too, 
> i.e. remove all the `ide*' options, possibly more (I haven't checked in 
> detail).

 And also Documentation/ide/ide.rst.  Also do we have all the necessary 
`hdparm' features supported in libata nowadays for PATA devices?

  Maciej

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: remove the legacy ide driver
  2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
                   ` (11 preceding siblings ...)
       [not found] ` <20210318045706.200458-11-hch@lst.de>
@ 2021-03-21  9:20 ` John Paul Adrian Glaubitz
  12 siblings, 0 replies; 46+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-03-21  9:20 UTC (permalink / raw)
  To: Christoph Hellwig, David S. Miller, Jens Axboe, Geert Uytterhoeven
  Cc: Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev, Bartlomiej Zolnierkiewicz

Hello Christoph!

On 3/18/21 5:56 AM, Christoph Hellwig wrote:
> libata mostly covers all hardware supported by the legacy ide driver.
> There are three mips drivers that are not supported, but the linux-mips
> list could not identify any users of those.  There also are two m68k
> drivers that do not have libata equivalents, which might or might not
> have users, so we'll need some input and possibly help from the m68k
> community here.

I think those drivers were the Q60 driver and the MacIDE driver, weren't they?

Either way, I have so far been unsuccessful in obtaining access to these machines
but I assume once we gain access to such machines, Bartlomiej could convert the
drivers the same way he already converted the falcon, gayle and buddha drivers,
for example.

One could also just convert the drivers to libata and include them untested, the
conversion itself seems pretty little work for someone experienced with libata.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-19 17:53     ` Russell King - ARM Linux admin
@ 2021-03-22 14:54       ` Christoph Hellwig
  2021-03-22 15:15         ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-22 14:54 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: Christoph Hellwig, David S. Miller, Jens Axboe,
	Geert Uytterhoeven, Richard Henderson, Ivan Kokshaysky,
	Matt Turner, Thomas Bogendoerfer, Michael Ellerman, linux-ide,
	linux-doc, linux-kernel, linux-alpha, linux-arm-kernel,
	linux-m68k, linux-mips, linuxppc-dev

On Fri, Mar 19, 2021 at 05:53:12PM +0000, Russell King - ARM Linux admin wrote:
> If I extend the arch/arm/kernel/bios32.c code to kill BARs 2/3 (which
> actually are not present on the CY82C693) then the IDE driver works
> for me, but the PATA driver does not:
> 
> cy82c693 0000:00:06.1: IDE controller (0x1080:0xc693 rev 0x00)
> cy82c693 0000:00:06.1: not 100% native mode: will probe irqs later
> legacy IDE will be removed in 2021, please switch to libata
> Report any missing HW support to linux-ide@vger.kernel.org
>     ide0: BM-DMA at 0x1080-0x1087
>     ide1: BM-DMA at 0x1088-0x108f
> Probing IDE interface ide0...
> hda: PIONEER DVD-RW DVR-105, ATAPI CD/DVD-ROM drive
> hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
> ...
> 
> (unbind Cypress_IDE and try binding pata_cypress)
> 
> pata_cypress 0000:00:06.1: no available native port

This comes from ata_pci_sff_init_host when it tails to initialize
a port.  There are three cases why it can't initialize the port:

 1) because it is marked as dummy, which is the case for the second
    port of the cypress controller, but you're not using that even
    with the old ide driver, and we'd still not get that message just
    because of that second port.
 2) when ata_resources_present returns false because the BAR has
    a zero start or length
 3) because pcim_iomap_regions() fails.  This prints a warning to the
    log ("failed to request/iomap BARs for port %d (errno=%d)") that you
    should have seen

So the problem here has to be number two.  The legacy ide driver OTOH
seems to lack a lot of these checks, although I'm not sure how it
manages to actually work without those.

Can you show how the BAR assignment for the device looks using lscpi
or a tool of your choice?

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 14:54       ` Christoph Hellwig
@ 2021-03-22 15:15         ` Russell King - ARM Linux admin
  2021-03-22 15:18           ` Christoph Hellwig
  2021-03-22 16:09           ` John Paul Adrian Glaubitz
  0 siblings, 2 replies; 46+ messages in thread
From: Russell King - ARM Linux admin @ 2021-03-22 15:15 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Mon, Mar 22, 2021 at 03:54:03PM +0100, Christoph Hellwig wrote:
> On Fri, Mar 19, 2021 at 05:53:12PM +0000, Russell King - ARM Linux admin wrote:
> > If I extend the arch/arm/kernel/bios32.c code to kill BARs 2/3 (which
> > actually are not present on the CY82C693) then the IDE driver works
> > for me, but the PATA driver does not:
> > 
> > cy82c693 0000:00:06.1: IDE controller (0x1080:0xc693 rev 0x00)
> > cy82c693 0000:00:06.1: not 100% native mode: will probe irqs later
> > legacy IDE will be removed in 2021, please switch to libata
> > Report any missing HW support to linux-ide@vger.kernel.org
> >     ide0: BM-DMA at 0x1080-0x1087
> >     ide1: BM-DMA at 0x1088-0x108f
> > Probing IDE interface ide0...
> > hda: PIONEER DVD-RW DVR-105, ATAPI CD/DVD-ROM drive
> > hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
> > ...
> > 
> > (unbind Cypress_IDE and try binding pata_cypress)
> > 
> > pata_cypress 0000:00:06.1: no available native port
> 
> This comes from ata_pci_sff_init_host when it tails to initialize
> a port.  There are three cases why it can't initialize the port:
> 
>  1) because it is marked as dummy, which is the case for the second
>     port of the cypress controller, but you're not using that even
>     with the old ide driver, and we'd still not get that message just
>     because of that second port.
>  2) when ata_resources_present returns false because the BAR has
>     a zero start or length
>  3) because pcim_iomap_regions() fails.  This prints a warning to the
>     log ("failed to request/iomap BARs for port %d (errno=%d)") that you
>     should have seen
> 
> So the problem here has to be number two.  The legacy ide driver OTOH
> seems to lack a lot of these checks, although I'm not sure how it
> manages to actually work without those.
> 
> Can you show how the BAR assignment for the device looks using lscpi
> or a tool of your choice?

There's a big problem here. I have to explicitly zero the resources
(getting rid of the legacy ones assigned by the PCI probe code)
because they are in fact _wrong_ for the CY82C693. The PCI code
assumes that PCI function 1 (primary port) and PCI function 2
(secondary port) are two independent dual-channel IDE ports, and
as the PROG-IF of the class code indicates that all ports are in
legacy mode, the PCI code assigns the legacy ioport resources to
_both_ PCI functions. Essentially, the CY82C693 is a bit of an odd-ball
because it splits the two IDE ports across two functions rather than a
single function.

It gets worse than that though - due to a change to remove
pcibios_min_io from the generic code, moving it into the ARM
architecture code, this has caused a regression that prevents the
legacy resources being registered against the bus resource. So even
if they are there, they cause probe failures. I haven't found a
reasonable way to solve this yet, but until there is, there is no
way that the PATA driver can be used as the "legacy mode" support
is effectively done via the PCI code assigning virtual IO port
resources.

I'm quite surprised that the CY82C693 even works on Alpha - I've
asked for a lspci for that last week but nothing has yet been
forthcoming from whoever responded to your patch for Alpha - so I
can't compare what I'm seeing with what's happening with Alpha.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 15:15         ` Russell King - ARM Linux admin
@ 2021-03-22 15:18           ` Christoph Hellwig
  2021-03-22 15:33             ` Christoph Hellwig
  2021-03-22 16:59             ` Russell King - ARM Linux admin
  2021-03-22 16:09           ` John Paul Adrian Glaubitz
  1 sibling, 2 replies; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-22 15:18 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: Christoph Hellwig, David S. Miller, Jens Axboe,
	Geert Uytterhoeven, Richard Henderson, Ivan Kokshaysky,
	Matt Turner, Thomas Bogendoerfer, Michael Ellerman, linux-ide,
	linux-doc, linux-kernel, linux-alpha, linux-arm-kernel,
	linux-m68k, linux-mips, linuxppc-dev

On Mon, Mar 22, 2021 at 03:15:03PM +0000, Russell King - ARM Linux admin wrote:
> It gets worse than that though - due to a change to remove
> pcibios_min_io from the generic code, moving it into the ARM
> architecture code, this has caused a regression that prevents the
> legacy resources being registered against the bus resource. So even
> if they are there, they cause probe failures. I haven't found a
> reasonable way to solve this yet, but until there is, there is no
> way that the PATA driver can be used as the "legacy mode" support
> is effectively done via the PCI code assigning virtual IO port
> resources.
> 
> I'm quite surprised that the CY82C693 even works on Alpha - I've
> asked for a lspci for that last week but nothing has yet been
> forthcoming from whoever responded to your patch for Alpha - so I
> can't compare what I'm seeing with what's happening with Alpha.

That sounds like something we could fix with a quirk for function 2
in the PCI resource assignment code.  Can you show what vendor and
device ID function 2 has so that I could try to come up with one?

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 15:18           ` Christoph Hellwig
@ 2021-03-22 15:33             ` Christoph Hellwig
  2021-03-23 14:03               ` Russell King - ARM Linux admin
  2021-03-22 16:59             ` Russell King - ARM Linux admin
  1 sibling, 1 reply; 46+ messages in thread
From: Christoph Hellwig @ 2021-03-22 15:33 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: Christoph Hellwig, David S. Miller, Jens Axboe,
	Geert Uytterhoeven, Richard Henderson, Ivan Kokshaysky,
	Matt Turner, Thomas Bogendoerfer, Michael Ellerman, linux-ide,
	linux-doc, linux-kernel, linux-alpha, linux-arm-kernel,
	linux-m68k, linux-mips, linuxppc-dev

On Mon, Mar 22, 2021 at 04:18:23PM +0100, Christoph Hellwig wrote:
> On Mon, Mar 22, 2021 at 03:15:03PM +0000, Russell King - ARM Linux admin wrote:
> > It gets worse than that though - due to a change to remove
> > pcibios_min_io from the generic code, moving it into the ARM
> > architecture code, this has caused a regression that prevents the
> > legacy resources being registered against the bus resource. So even
> > if they are there, they cause probe failures. I haven't found a
> > reasonable way to solve this yet, but until there is, there is no
> > way that the PATA driver can be used as the "legacy mode" support
> > is effectively done via the PCI code assigning virtual IO port
> > resources.
> > 
> > I'm quite surprised that the CY82C693 even works on Alpha - I've
> > asked for a lspci for that last week but nothing has yet been
> > forthcoming from whoever responded to your patch for Alpha - so I
> > can't compare what I'm seeing with what's happening with Alpha.
> 
> That sounds like something we could fix with a quirk for function 2
> in the PCI resource assignment code.  Can you show what vendor and
> device ID function 2 has so that I could try to come up with one?

Something like this:


diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 953f15abc850ac..851918206c4f2d 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1855,7 +1855,7 @@ int pci_setup_device(struct pci_dev *dev)
 		 * addresses. These are not always echoed in BAR0-3, and
 		 * BAR0-3 in a few cases contain junk!
 		 */
-		if (class == PCI_CLASS_STORAGE_IDE) {
+		if (class == PCI_CLASS_STORAGE_IDE && !dev->no_legacy_ide_bars) {
 			u8 progif;
 			pci_read_config_byte(dev, PCI_CLASS_PROG, &progif);
 			if ((progif & 1) == 0) {
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 653660e3ba9ef1..c661462d894a5b 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -5612,3 +5612,16 @@ static void apex_pci_fixup_class(struct pci_dev *pdev)
 }
 DECLARE_PCI_FIXUP_CLASS_HEADER(0x1ac1, 0x089a,
 			       PCI_CLASS_NOT_DEFINED, 8, apex_pci_fixup_class);
+
+/*
+ * CY82C693 splits the primary and secondar IDE channels over 2 functions, which
+ * causes the PCI resource assignment algorithm to assign the legacy IDE I/O
+ * regions to both of them.  Disable that assignment for function 2 here.
+ */
+static void quirk_cy82c693_legacy_resources(struct pci_dev *pdev)
+{
+	if (PCI_FUNC(pdev->devfn) == 2)
+		pdev->no_legacy_ide_bars = 1;
+}
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CONTAQ, PCI_DEVICE_ID_CONTAQ_82C693,
+		quirk_cy82c693_legacy_resources);
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 86c799c97b7796..7ca3f5ebbfade7 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -453,6 +453,7 @@ struct pci_dev {
 	unsigned int	link_active_reporting:1;/* Device capable of reporting link active */
 	unsigned int	no_vf_scan:1;		/* Don't scan for VFs after IOV enablement */
 	unsigned int	no_command_memory:1;	/* No PCI_COMMAND_MEMORY */
+	unsigned int	no_legacy_ide_bars:1;	/* do not assign legacy IDE BARs */
 	pci_dev_flags_t dev_flags;
 	atomic_t	enable_cnt;	/* pci_enable_device has been called */
 

^ permalink raw reply related	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 15:15         ` Russell King - ARM Linux admin
  2021-03-22 15:18           ` Christoph Hellwig
@ 2021-03-22 16:09           ` John Paul Adrian Glaubitz
  2021-03-22 16:47             ` Cye Borg
  2021-03-22 17:03             ` Russell King - ARM Linux admin
  1 sibling, 2 replies; 46+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-03-22 16:09 UTC (permalink / raw)
  To: Russell King - ARM Linux admin, Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On 3/22/21 4:15 PM, Russell King - ARM Linux admin wrote:
> I'm quite surprised that the CY82C693 even works on Alpha - I've
> asked for a lspci for that last week but nothing has yet been
> forthcoming from whoever responded to your patch for Alpha - so I
> can't compare what I'm seeing with what's happening with Alpha.

Here is lspci on my DEC Alpha XP-1000:

root@tsunami:~> lspci
0000:00:07.0 ISA bridge: Contaq Microsystems 82c693
0000:00:07.1 IDE interface: Contaq Microsystems 82c693
0000:00:07.2 IDE interface: Contaq Microsystems 82c693
0000:00:07.3 USB controller: Contaq Microsystems 82c693
0000:00:0d.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01)
0001:01:03.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
0001:01:06.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 06)
0001:01:08.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
0001:02:09.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
root@tsunami:~>

It's using pata_cypress:

root@tsunami:~> lsmod|grep cypress
pata_cypress            3595  3
libata                235071  2 ata_generic,pata_cypress
root@tsunami:~

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 16:09           ` John Paul Adrian Glaubitz
@ 2021-03-22 16:47             ` Cye Borg
  2021-03-22 17:03             ` Russell King - ARM Linux admin
  1 sibling, 0 replies; 46+ messages in thread
From: Cye Borg @ 2021-03-22 16:47 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz
  Cc: Russell King - ARM Linux admin, Christoph Hellwig,
	David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

I use pata_cypress on Alpha, and for the above mentioned problems,
it always restricted me to use only one IDE channel out of the two
available. Also, not forcing it to use PIO mode, it always failed to
operate. I would love to test on Alpha, and give you feedback about
a fix/finished implementation of the driver. I have both Alpha Server DS20E
and Alpha Personal Workstation 500 including that freak chipset.

Let me know if/when I can help with my limited capabilities.

btw, here is the lspci of the Compaq PWS 500au:
snow / # lspci
00:03.0 Ethernet controller: Digital Equipment Corporation DECchip
21142/43 (rev 30)
00:07.0 ISA bridge: Contaq Microsystems 82c693
00:07.1 IDE interface: Contaq Microsystems 82c693
00:07.2 IDE interface: Contaq Microsystems 82c693
00:07.3 USB controller: Contaq Microsystems 82c693
00:0b.0 Multimedia video controller: 3Dfx Interactive, Inc. Voodoo 2 (rev 02)
00:0c.0 PCI bridge: Digital Equipment Corporation DECchip 21052 (rev 01)
00:14.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 02)
01:04.0 VGA compatible controller: Cirrus Logic GD 5430/40 [Alpine] (rev 47)
01:05.0 Display controller: Intergraph Corporation Device 00eb (rev 40)
02:04.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 05)
02:0a.0 SCSI storage controller: Broadcom / LSI 53c810 (rev 01)

Thanks, best regards,
Barnabas Viragh


On Mon, Mar 22, 2021 at 5:10 PM John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
>
> On 3/22/21 4:15 PM, Russell King - ARM Linux admin wrote:
> > I'm quite surprised that the CY82C693 even works on Alpha - I've
> > asked for a lspci for that last week but nothing has yet been
> > forthcoming from whoever responded to your patch for Alpha - so I
> > can't compare what I'm seeing with what's happening with Alpha.
>
> Here is lspci on my DEC Alpha XP-1000:
>
> root@tsunami:~> lspci
> 0000:00:07.0 ISA bridge: Contaq Microsystems 82c693
> 0000:00:07.1 IDE interface: Contaq Microsystems 82c693
> 0000:00:07.2 IDE interface: Contaq Microsystems 82c693
> 0000:00:07.3 USB controller: Contaq Microsystems 82c693
> 0000:00:0d.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01)
> 0001:01:03.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
> 0001:01:06.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 06)
> 0001:01:08.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
> 0001:02:09.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
> root@tsunami:~>
>
> It's using pata_cypress:
>
> root@tsunami:~> lsmod|grep cypress
> pata_cypress            3595  3
> libata                235071  2 ata_generic,pata_cypress
> root@tsunami:~
>
> Adrian
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz@debian.org
> `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 15:18           ` Christoph Hellwig
  2021-03-22 15:33             ` Christoph Hellwig
@ 2021-03-22 16:59             ` Russell King - ARM Linux admin
  1 sibling, 0 replies; 46+ messages in thread
From: Russell King - ARM Linux admin @ 2021-03-22 16:59 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Mon, Mar 22, 2021 at 04:18:23PM +0100, Christoph Hellwig wrote:
> On Mon, Mar 22, 2021 at 03:15:03PM +0000, Russell King - ARM Linux admin wrote:
> > It gets worse than that though - due to a change to remove
> > pcibios_min_io from the generic code, moving it into the ARM
> > architecture code, this has caused a regression that prevents the
> > legacy resources being registered against the bus resource. So even
> > if they are there, they cause probe failures. I haven't found a
> > reasonable way to solve this yet, but until there is, there is no
> > way that the PATA driver can be used as the "legacy mode" support
> > is effectively done via the PCI code assigning virtual IO port
> > resources.
> > 
> > I'm quite surprised that the CY82C693 even works on Alpha - I've
> > asked for a lspci for that last week but nothing has yet been
> > forthcoming from whoever responded to your patch for Alpha - so I
> > can't compare what I'm seeing with what's happening with Alpha.
> 
> That sounds like something we could fix with a quirk for function 2
> in the PCI resource assignment code.  Can you show what vendor and
> device ID function 2 has so that I could try to come up with one?

I already have a quirk in arch/arm/kernel/bios32.c for this - but it
is no longer sufficient due to changes in the PCI layer, where much
of this is documented.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 16:09           ` John Paul Adrian Glaubitz
  2021-03-22 16:47             ` Cye Borg
@ 2021-03-22 17:03             ` Russell King - ARM Linux admin
  2021-03-22 17:10               ` Cye Borg
  1 sibling, 1 reply; 46+ messages in thread
From: Russell King - ARM Linux admin @ 2021-03-22 17:03 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz
  Cc: Christoph Hellwig, David S. Miller, Jens Axboe,
	Geert Uytterhoeven, Richard Henderson, Ivan Kokshaysky,
	Matt Turner, Thomas Bogendoerfer, Michael Ellerman, linux-ide,
	linux-doc, linux-kernel, linux-alpha, linux-arm-kernel,
	linux-m68k, linux-mips, linuxppc-dev

On Mon, Mar 22, 2021 at 05:09:13PM +0100, John Paul Adrian Glaubitz wrote:
> On 3/22/21 4:15 PM, Russell King - ARM Linux admin wrote:
> > I'm quite surprised that the CY82C693 even works on Alpha - I've
> > asked for a lspci for that last week but nothing has yet been
> > forthcoming from whoever responded to your patch for Alpha - so I
> > can't compare what I'm seeing with what's happening with Alpha.
> 
> Here is lspci on my DEC Alpha XP-1000:
> 
> root@tsunami:~> lspci
> 0000:00:07.0 ISA bridge: Contaq Microsystems 82c693
> 0000:00:07.1 IDE interface: Contaq Microsystems 82c693
> 0000:00:07.2 IDE interface: Contaq Microsystems 82c693
> 0000:00:07.3 USB controller: Contaq Microsystems 82c693
> 0000:00:0d.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01)
> 0001:01:03.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
> 0001:01:06.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 06)
> 0001:01:08.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
> 0001:02:09.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
> root@tsunami:~>

This is no good. What I asked last Thursday was:

"Could you send me the output of lspci -vvx -s 7.1 and lspci -vvx -s 7.2
please?"

so I can see the resources the kernel is using and a dump of the PCI
config space to see what the hardware is using.

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 17:03             ` Russell King - ARM Linux admin
@ 2021-03-22 17:10               ` Cye Borg
  2021-03-23 18:43                 ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 46+ messages in thread
From: Cye Borg @ 2021-03-22 17:10 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: John Paul Adrian Glaubitz, Christoph Hellwig, David S. Miller,
	Jens Axboe, Geert Uytterhoeven, Richard Henderson,
	Ivan Kokshaysky, Matt Turner, Thomas Bogendoerfer,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

PWS 500au:

snow / # lspci -vvx -s 7.1
00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [ISA
Compatibility mode-only controller, supports bus mastering])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr+ Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 0
        Region 0: I/O ports at 01f0 [size=8]
        Region 1: I/O ports at 03f4
        Region 4: I/O ports at 9080 [size=16]
        Kernel driver in use: pata_cypress
        Kernel modules: pata_cypress
00: 80 10 93 c6 45 00 80 02 00 80 01 01 00 00 80 00
10: f1 01 00 00 f5 03 00 00 00 00 00 00 00 00 00 00
20: 81 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00

snow / # lspci -vvx -s 7.2
00:07.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [ISA
Compatibility mode-only controller])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr+ Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 0
        Region 0: I/O ports at 0170 [size=8]
        Region 1: I/O ports at 0374
        Region 4: Memory at 0c240000 (32-bit, non-prefetchable)
[disabled] [size=64K]
        Kernel modules: pata_cypress
00: 80 10 93 c6 45 00 80 02 00 00 01 01 00 00 80 00
10: 71 01 00 00 75 03 00 00 00 00 00 00 00 00 00 00
20: 00 00 24 0c 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00

On Mon, Mar 22, 2021 at 6:04 PM Russell King - ARM Linux admin
<linux@armlinux.org.uk> wrote:
>
> On Mon, Mar 22, 2021 at 05:09:13PM +0100, John Paul Adrian Glaubitz wrote:
> > On 3/22/21 4:15 PM, Russell King - ARM Linux admin wrote:
> > > I'm quite surprised that the CY82C693 even works on Alpha - I've
> > > asked for a lspci for that last week but nothing has yet been
> > > forthcoming from whoever responded to your patch for Alpha - so I
> > > can't compare what I'm seeing with what's happening with Alpha.
> >
> > Here is lspci on my DEC Alpha XP-1000:
> >
> > root@tsunami:~> lspci
> > 0000:00:07.0 ISA bridge: Contaq Microsystems 82c693
> > 0000:00:07.1 IDE interface: Contaq Microsystems 82c693
> > 0000:00:07.2 IDE interface: Contaq Microsystems 82c693
> > 0000:00:07.3 USB controller: Contaq Microsystems 82c693
> > 0000:00:0d.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01)
> > 0001:01:03.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
> > 0001:01:06.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 06)
> > 0001:01:08.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
> > 0001:02:09.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
> > root@tsunami:~>
>
> This is no good. What I asked last Thursday was:
>
> "Could you send me the output of lspci -vvx -s 7.1 and lspci -vvx -s 7.2
> please?"
>
> so I can see the resources the kernel is using and a dump of the PCI
> config space to see what the hardware is using.
>
> Thanks.
>
> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 15:33             ` Christoph Hellwig
@ 2021-03-23 14:03               ` Russell King - ARM Linux admin
  0 siblings, 0 replies; 46+ messages in thread
From: Russell King - ARM Linux admin @ 2021-03-23 14:03 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner,
	Thomas Bogendoerfer, Michael Ellerman, linux-ide, linux-doc,
	linux-kernel, linux-alpha, linux-arm-kernel, linux-m68k,
	linux-mips, linuxppc-dev

On Mon, Mar 22, 2021 at 04:33:14PM +0100, Christoph Hellwig wrote:
> On Mon, Mar 22, 2021 at 04:18:23PM +0100, Christoph Hellwig wrote:
> > On Mon, Mar 22, 2021 at 03:15:03PM +0000, Russell King - ARM Linux admin wrote:
> > > It gets worse than that though - due to a change to remove
> > > pcibios_min_io from the generic code, moving it into the ARM
> > > architecture code, this has caused a regression that prevents the
> > > legacy resources being registered against the bus resource. So even
> > > if they are there, they cause probe failures. I haven't found a
> > > reasonable way to solve this yet, but until there is, there is no
> > > way that the PATA driver can be used as the "legacy mode" support
> > > is effectively done via the PCI code assigning virtual IO port
> > > resources.
> > > 
> > > I'm quite surprised that the CY82C693 even works on Alpha - I've
> > > asked for a lspci for that last week but nothing has yet been
> > > forthcoming from whoever responded to your patch for Alpha - so I
> > > can't compare what I'm seeing with what's happening with Alpha.
> > 
> > That sounds like something we could fix with a quirk for function 2
> > in the PCI resource assignment code.  Can you show what vendor and
> > device ID function 2 has so that I could try to come up with one?
> 
> Something like this:

That solves the problem for the IDE driver, which knows how to deal
with legacy mode, but not the PATA driver, which doesn't. The PATA
driver needs these resources.

As I say, having these resources presents a problem on ARM. A previous
commit (3c5d1699887b) changed the way the bus resources are setup which
results in /proc/ioports containing:

00000000-0000000f : dma1
00000020-0000003f : pic1
00000060-0000006f : i8042
00000070-00000073 : rtc_cmos
  00000070-00000073 : rtc0
00000080-0000008f : dma low page
000000a0-000000bf : pic2
000000c0-000000df : dma2
00000213-00000213 : ISAPnP
000002f8-000002ff : serial8250.0
  000002f8-000002ff : serial
000003c0-000003df : vga+
000003f8-000003ff : serial8250.0
  000003f8-000003ff : serial
00000480-0000048f : dma high page
00000a79-00000a79 : isapnp write
00001000-0000ffff : PCI0 I/O
  00001000-0000107f : 0000:00:08.0
    00001000-0000107f : 3c59x
  00001080-0000108f : 0000:00:06.1
  00001090-0000109f : 0000:00:07.0
    00001090-0000109f : pata_it821x
  000010a0-000010a7 : 0000:00:07.0
    000010a0-000010a7 : pata_it821x
  000010a8-000010af : 0000:00:07.0
    000010a8-000010af : pata_it821x
  000010b0-000010b3 : 0000:00:07.0
    000010b0-000010b3 : pata_it821x
  000010b4-000010b7 : 0000:00:07.0
    000010b4-000010b7 : pata_it821x

The "PCI0 I/O" resource is the bus level resource, and the legacy
resources can not be claimed against that.

Without these resources, the PATA cypress driver doesn't work.

As I said previously, the reason this regression was not picked up
earlier is because I don't upgrade the kernel on this machine very
often; the machine has had uptimes into thousands of days.

I need to try reverting Rob's commit to find out if anything breaks
on this platform - it's completely wrong from a technical point of
view for any case where we have a PCI southbridge, since the
southbridge provides ISA based resources. I'm not entirely sure
what the point of it was, since we still have the PCIBIOS_MIN_IO
macro which still uses pcibios_min_io.

I'm looking at some of the other changes Rob made back at that time
which also look wrong, such as 8ef6e6201b26 which has the effect of
locating the 21285 IO resources to PCI address 0, over the top of
the ISA southbridge resources. I've no idea what Rob was thinking
when he removed the csrio allocation code in that commit, but
looking at it to day, it's soo obviously wrong even to a casual
glance.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-22 17:10               ` Cye Borg
@ 2021-03-23 18:43                 ` Russell King - ARM Linux admin
  2021-03-24  5:47                   ` Cye Borg
  0 siblings, 1 reply; 46+ messages in thread
From: Russell King - ARM Linux admin @ 2021-03-23 18:43 UTC (permalink / raw)
  To: Cye Borg
  Cc: John Paul Adrian Glaubitz, Christoph Hellwig, David S. Miller,
	Jens Axboe, Geert Uytterhoeven, Richard Henderson,
	Ivan Kokshaysky, Matt Turner, Thomas Bogendoerfer,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

On Mon, Mar 22, 2021 at 06:10:01PM +0100, Cye Borg wrote:
> PWS 500au:
> 
> snow / # lspci -vvx -s 7.1
> 00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [ISA
> Compatibility mode-only controller, supports bus mastering])
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr+ Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0
>         Interrupt: pin A routed to IRQ 0
>         Region 0: I/O ports at 01f0 [size=8]
>         Region 1: I/O ports at 03f4
>         Region 4: I/O ports at 9080 [size=16]
>         Kernel driver in use: pata_cypress
>         Kernel modules: pata_cypress
> 00: 80 10 93 c6 45 00 80 02 00 80 01 01 00 00 80 00
> 10: f1 01 00 00 f5 03 00 00 00 00 00 00 00 00 00 00
> 20: 81 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00
> 
> snow / # lspci -vvx -s 7.2
> 00:07.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [ISA
> Compatibility mode-only controller])
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr+ Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0
>         Interrupt: pin B routed to IRQ 0
>         Region 0: I/O ports at 0170 [size=8]
>         Region 1: I/O ports at 0374
>         Region 4: Memory at 0c240000 (32-bit, non-prefetchable)
> [disabled] [size=64K]
>         Kernel modules: pata_cypress
> 00: 80 10 93 c6 45 00 80 02 00 00 01 01 00 00 80 00
> 10: 71 01 00 00 75 03 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 24 0c 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00

Thanks very much.

Could I also ask for the output of:

# lspci -vxxx -s 7.0

as well please - this will dump all 256 bytes for the ISA bridge, which
contains a bunch of configuration registers. Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig
  2021-03-23 18:43                 ` Russell King - ARM Linux admin
@ 2021-03-24  5:47                   ` Cye Borg
  0 siblings, 0 replies; 46+ messages in thread
From: Cye Borg @ 2021-03-24  5:47 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: John Paul Adrian Glaubitz, Christoph Hellwig, David S. Miller,
	Jens Axboe, Geert Uytterhoeven, Richard Henderson,
	Ivan Kokshaysky, Matt Turner, Thomas Bogendoerfer,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

Sure, here it is:
snow / # lspci -vxxx -s 7.0
00:07.0 ISA bridge: Contaq Microsystems 82c693
        Flags: bus master, medium devsel, latency 0
        Kernel modules: pata_cypress
00: 80 10 93 c6 47 00 80 02 00 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 03 02 00 00 26 60 00 01 f0 60 00 80 80 71 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Best regards,
Barnabas

ps.: let me know, if anything else I can do.

On Tue, Mar 23, 2021 at 7:43 PM Russell King - ARM Linux admin
<linux@armlinux.org.uk> wrote:
>
> On Mon, Mar 22, 2021 at 06:10:01PM +0100, Cye Borg wrote:
> > PWS 500au:
> >
> > snow / # lspci -vvx -s 7.1
> > 00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [ISA
> > Compatibility mode-only controller, supports bus mastering])
> >         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> > ParErr+ Stepping- SERR- FastB2B- DisINTx-
> >         Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
> > >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> >         Latency: 0
> >         Interrupt: pin A routed to IRQ 0
> >         Region 0: I/O ports at 01f0 [size=8]
> >         Region 1: I/O ports at 03f4
> >         Region 4: I/O ports at 9080 [size=16]
> >         Kernel driver in use: pata_cypress
> >         Kernel modules: pata_cypress
> > 00: 80 10 93 c6 45 00 80 02 00 80 01 01 00 00 80 00
> > 10: f1 01 00 00 f5 03 00 00 00 00 00 00 00 00 00 00
> > 20: 81 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00
> >
> > snow / # lspci -vvx -s 7.2
> > 00:07.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [ISA
> > Compatibility mode-only controller])
> >         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> > ParErr+ Stepping- SERR- FastB2B- DisINTx-
> >         Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
> > >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> >         Latency: 0
> >         Interrupt: pin B routed to IRQ 0
> >         Region 0: I/O ports at 0170 [size=8]
> >         Region 1: I/O ports at 0374
> >         Region 4: Memory at 0c240000 (32-bit, non-prefetchable)
> > [disabled] [size=64K]
> >         Kernel modules: pata_cypress
> > 00: 80 10 93 c6 45 00 80 02 00 00 01 01 00 00 80 00
> > 10: 71 01 00 00 75 03 00 00 00 00 00 00 00 00 00 00
> > 20: 00 00 24 0c 00 00 00 00 00 00 00 00 00 00 00 00
> > 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00
>
> Thanks very much.
>
> Could I also ask for the output of:
>
> # lspci -vxxx -s 7.0
>
> as well please - this will dump all 256 bytes for the ISA bridge, which
> contains a bunch of configuration registers. Thanks.
>
> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig
  2021-03-18  4:57 ` [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig Christoph Hellwig
  2021-03-19  0:12   ` Maciej W. Rozycki
@ 2021-03-24  9:59   ` Thomas Bogendoerfer
  1 sibling, 0 replies; 46+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-24  9:59 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

On Thu, Mar 18, 2021 at 05:57:00AM +0100, Christoph Hellwig wrote:
> sb1250_swarm_defconfig enables CONFIG_IDE but no actual host controller
> driver, so just drop CONFIG_IDE, CONFIG_BLK_DEV_IDECD and
> CONFIG_BLK_DEV_IDETAPE as they are useless.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/mips/configs/sb1250_swarm_defconfig | 3 ---
>  1 file changed, 3 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 05/10] MIPS: switch workpad_defconfig from legacy IDE to libata
  2021-03-18  4:57 ` [PATCH 05/10] MIPS: switch workpad_defconfig from legacy IDE to libata Christoph Hellwig
@ 2021-03-24 10:00   ` Thomas Bogendoerfer
  0 siblings, 0 replies; 46+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-24 10:00 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

On Thu, Mar 18, 2021 at 05:57:01AM +0100, Christoph Hellwig wrote:
> Use libata instead of the deprecated legacy ide driver in
> workpad_defconfig.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/mips/configs/workpad_defconfig | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 06/10] MIPS: disable CONFIG_IDE in rbtx49xx_defconfig
  2021-03-18  4:57 ` [PATCH 06/10] MIPS: disable CONFIG_IDE in rbtx49xx_defconfig Christoph Hellwig
@ 2021-03-24 10:00   ` Thomas Bogendoerfer
  0 siblings, 0 replies; 46+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-24 10:00 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

On Thu, Mar 18, 2021 at 05:57:02AM +0100, Christoph Hellwig wrote:
> rbtx49xx_defconfig enables CONFIG_IDE for the tx4938 and tx4939 ide
> drivers, but those aren't actually used by the last known remaining user:
> 
> https://lore.kernel.org/lkml/20210107.101729.1936921832901251107.anemo@mba.ocn.ne.jp/
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/mips/configs/rbtx49xx_defconfig | 3 ---
>  1 file changed, 3 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig
  2021-03-18  4:57 ` [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig Christoph Hellwig
  2021-03-18 10:08   ` Sergei Shtylyov
@ 2021-03-24 10:00   ` Thomas Bogendoerfer
  1 sibling, 0 replies; 46+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-24 10:00 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

On Thu, Mar 18, 2021 at 05:57:03AM +0100, Christoph Hellwig wrote:
> bigsur_defconfig enables CONFIG_IDE for the tc86c001 ide driver, which
> is a Toshiba plug in card that does not make much sense to use on bigsur
> platforms.  For all other ATA cards libata support is already enabled.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/mips/configs/bigsur_defconfig | 4 ----
>  1 file changed, 4 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig
  2021-03-18  4:57 ` [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig Christoph Hellwig
  2021-03-18 10:12   ` Sergei Shtylyov
  2021-03-18 14:19   ` Thomas Bogendoerfer
@ 2021-03-24 10:01   ` Thomas Bogendoerfer
  2 siblings, 0 replies; 46+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-24 10:01 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: David S. Miller, Jens Axboe, Geert Uytterhoeven,
	Richard Henderson, Ivan Kokshaysky, Matt Turner, Russell King,
	Michael Ellerman, linux-ide, linux-doc, linux-kernel,
	linux-alpha, linux-arm-kernel, linux-m68k, linux-mips,
	linuxppc-dev

On Thu, Mar 18, 2021 at 05:57:04AM +0100, Christoph Hellwig wrote:
> Various malta defconfigs enable CONFIG_IDE for the tc86c001 ide driver,
> hich is a Toshiba plug in card that does not make much sense to use on
> bigsur platforms.  For all other ATA cards libata support is already
> enabled.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/mips/configs/malta_kvm_defconfig       | 3 ---
>  arch/mips/configs/malta_kvm_guest_defconfig | 3 ---
>  arch/mips/configs/maltaup_xpa_defconfig     | 3 ---
>  3 files changed, 9 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2021-03-24 10:09 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18  4:56 remove the legacy ide driver Christoph Hellwig
2021-03-18  4:56 ` [PATCH 01/10] alpha: use libata instead of " Christoph Hellwig
2021-03-18  5:54   ` Al Viro
2021-03-18  6:07     ` Christoph Hellwig
2021-03-18 17:09       ` Måns Rullgård
2021-03-18 18:03         ` Måns Rullgård
2021-03-18  7:54     ` John Paul Adrian Glaubitz
2021-03-19 16:23     ` Serge Belyshev
2021-03-18  4:56 ` [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig Christoph Hellwig
2021-03-19 17:07   ` Russell King - ARM Linux admin
2021-03-19 17:53     ` Russell King - ARM Linux admin
2021-03-22 14:54       ` Christoph Hellwig
2021-03-22 15:15         ` Russell King - ARM Linux admin
2021-03-22 15:18           ` Christoph Hellwig
2021-03-22 15:33             ` Christoph Hellwig
2021-03-23 14:03               ` Russell King - ARM Linux admin
2021-03-22 16:59             ` Russell King - ARM Linux admin
2021-03-22 16:09           ` John Paul Adrian Glaubitz
2021-03-22 16:47             ` Cye Borg
2021-03-22 17:03             ` Russell King - ARM Linux admin
2021-03-22 17:10               ` Cye Borg
2021-03-23 18:43                 ` Russell King - ARM Linux admin
2021-03-24  5:47                   ` Cye Borg
2021-03-18  4:56 ` [PATCH 03/10] ARM: disable CONFIG_IDE in pxa_defconfig Christoph Hellwig
2021-03-18  4:57 ` [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig Christoph Hellwig
2021-03-19  0:12   ` Maciej W. Rozycki
2021-03-24  9:59   ` Thomas Bogendoerfer
2021-03-18  4:57 ` [PATCH 05/10] MIPS: switch workpad_defconfig from legacy IDE to libata Christoph Hellwig
2021-03-24 10:00   ` Thomas Bogendoerfer
2021-03-18  4:57 ` [PATCH 06/10] MIPS: disable CONFIG_IDE in rbtx49xx_defconfig Christoph Hellwig
2021-03-24 10:00   ` Thomas Bogendoerfer
2021-03-18  4:57 ` [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig Christoph Hellwig
2021-03-18 10:08   ` Sergei Shtylyov
2021-03-24 10:00   ` Thomas Bogendoerfer
2021-03-18  4:57 ` [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig Christoph Hellwig
2021-03-18 10:12   ` Sergei Shtylyov
2021-03-18 14:19   ` Thomas Bogendoerfer
2021-03-19 13:03     ` Christoph Hellwig
2021-03-24 10:01   ` Thomas Bogendoerfer
2021-03-18  4:57 ` [PATCH 09/10] m68k: use libata instead of the legacy ide driver Christoph Hellwig
2021-03-19  1:43 ` remove " Finn Thain
2021-03-19  5:43   ` Christoph Hellwig
2021-03-19 16:48 ` Maciej W. Rozycki
     [not found] ` <20210318045706.200458-11-hch@lst.de>
2021-03-20  3:44   ` [PATCH 10/10] ide: " Maciej W. Rozycki
2021-03-20  4:04     ` Maciej W. Rozycki
2021-03-21  9:20 ` John Paul Adrian Glaubitz

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).