linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers
@ 2015-09-14 15:51 Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: capcella_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (16 more replies)
  0 siblings, 17 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle; +Cc: linux-ide, linux-kernel, b.zolnierkie

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts bigsur_defconfig to use libata PATA
drivers (tc86c001 IDE host driver has no corresponding libata
driver yet so it is not converted).

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/bigsur_defconfig | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/mips/configs/bigsur_defconfig b/arch/mips/configs/bigsur_defconfig
index 1cdff6b..b3e7a1b 100644
--- a/arch/mips/configs/bigsur_defconfig
+++ b/arch/mips/configs/bigsur_defconfig
@@ -122,20 +122,20 @@ CONFIG_EEPROM_MAX6875=y
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECD=y
 CONFIG_BLK_DEV_IDETAPE=y
-CONFIG_IDE_GENERIC=y
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_CMD64X=y
-CONFIG_BLK_DEV_IT8213=m
 CONFIG_BLK_DEV_TC86C001=m
 CONFIG_BLK_DEV_SD=y
-CONFIG_CHR_DEV_ST=m
-CONFIG_BLK_DEV_SR=m
+CONFIG_CHR_DEV_ST=y
+CONFIG_BLK_DEV_SR=y
 CONFIG_BLK_DEV_SR_VENDOR=y
 CONFIG_CHR_DEV_SG=m
 CONFIG_CHR_DEV_SCH=m
 CONFIG_ATA=y
 CONFIG_SATA_SIL24=y
+CONFIG_PATA_CMD64X=y
+CONFIG_PATA_IT8213=m
 CONFIG_PATA_SIL680=y
+CONFIG_ATA_GENERIC=y
+CONFIG_PATA_LEGACY=y
 CONFIG_NETDEVICES=y
 CONFIG_NET_ETHERNET=y
 CONFIG_MII=y
-- 
1.9.1


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

* [RFT PATCH] mips: capcella_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: e55_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle; +Cc: linux-ide, linux-kernel, b.zolnierkie

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts capcella_defconfig to use libata PATA
drivers.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/capcella_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/mips/configs/capcella_defconfig b/arch/mips/configs/capcella_defconfig
index 5135dc0..2924ba3 100644
--- a/arch/mips/configs/capcella_defconfig
+++ b/arch/mips/configs/capcella_defconfig
@@ -31,9 +31,9 @@ CONFIG_NETWORK_SECMARK=y
 CONFIG_IP_SCTP=m
 CONFIG_FW_LOADER=m
 CONFIG_BLK_DEV_RAM=y
-# CONFIG_MISC_DEVICES is not set
-CONFIG_IDE=y
-CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_ATA=y
+CONFIG_PATA_LEGACY=y
 CONFIG_NETDEVICES=y
 CONFIG_PHYLIB=m
 CONFIG_MARVELL_PHY=m
-- 
1.9.1


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

* [RFT PATCH] mips: e55_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: capcella_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: fuloong2e_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Yoichi Yuasa

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts e55_defconfig to use libata PATA drivers.

PS This platform still uses "ide0=base[,ctl[,irq]]" hack in
its defconfig.  The hack itself has been removed in 2008 and
this platform should be converted to using PATA platform host
driver (pata_platform) instead.

Cc: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/e55_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/mips/configs/e55_defconfig b/arch/mips/configs/e55_defconfig
index 0126e66..e94d266 100644
--- a/arch/mips/configs/e55_defconfig
+++ b/arch/mips/configs/e55_defconfig
@@ -14,9 +14,9 @@ CONFIG_MODVERSIONS=y
 CONFIG_MODULE_SRCVERSION_ALL=y
 # CONFIG_BLK_DEV_BSG is not set
 CONFIG_BLK_DEV_RAM=y
-# CONFIG_MISC_DEVICES is not set
-CONFIG_IDE=y
-CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_ATA=y
+CONFIG_PATA_LEGACY=y
 # CONFIG_INPUT_MOUSEDEV is not set
 # CONFIG_INPUT_KEYBOARD is not set
 # CONFIG_INPUT_MOUSE is not set
-- 
1.9.1


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

* [RFT PATCH] mips: fuloong2e_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: capcella_defconfig: " Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: e55_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: lasat_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Wu Zhangjin

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts fuloong2e_defconfig to use libata PATA
drivers.

Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/fuloong2e_defconfig | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/arch/mips/configs/fuloong2e_defconfig b/arch/mips/configs/fuloong2e_defconfig
index a75c65d..8743589 100644
--- a/arch/mips/configs/fuloong2e_defconfig
+++ b/arch/mips/configs/fuloong2e_defconfig
@@ -34,7 +34,7 @@ CONFIG_MIPS32_N32=y
 CONFIG_PM=y
 # CONFIG_SUSPEND is not set
 CONFIG_HIBERNATION=y
-CONFIG_PM_STD_PARTITION="/dev/hda3"
+CONFIG_PM_STD_PARTITION="/dev/sda3"
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
@@ -114,20 +114,16 @@ CONFIG_BLK_DEV_CRYPTOLOOP=m
 CONFIG_BLK_DEV_RAM=m
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
-# CONFIG_MISC_DEVICES is not set
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_IDE_TASK_IOCTL=y
-CONFIG_IDE_GENERIC=y
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_VIA82CXXX=y
-CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_BLK_DEV_SR=y
 CONFIG_BLK_DEV_SR_VENDOR=y
 CONFIG_CHR_DEV_SG=y
 CONFIG_SCSI_CONSTANTS=y
 # CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_PATA_VIA=y
+CONFIG_ATA_GENERIC=y
+CONFIG_PATA_LEGACY=y
 CONFIG_NETDEVICES=y
 CONFIG_MACVLAN=m
 CONFIG_VETH=m
-- 
1.9.1


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

* [RFT PATCH] mips: lasat_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (2 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: fuloong2e_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: lemote2f_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Brian Murphy

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts lasat_defconfig to use libata PATA
drivers.

Cc: Brian Murphy <brian@murphy.dk>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/lasat_defconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/mips/configs/lasat_defconfig b/arch/mips/configs/lasat_defconfig
index 0179c7f..e620a2c 100644
--- a/arch/mips/configs/lasat_defconfig
+++ b/arch/mips/configs/lasat_defconfig
@@ -35,11 +35,11 @@ CONFIG_MTD_CHAR=y
 CONFIG_MTD_BLOCK=y
 CONFIG_MTD_CFI=y
 CONFIG_MTD_CFI_AMDSTD=y
-# CONFIG_MISC_DEVICES is not set
-CONFIG_IDE=y
-CONFIG_IDE_GENERIC=y
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_CMD64X=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_ATA=y
+CONFIG_PATA_CMD64X=y
+CONFIG_ATA_GENERIC=y
+CONFIG_PATA_LEGACY=y
 CONFIG_NETDEVICES=y
 CONFIG_NET_ETHERNET=y
 CONFIG_NET_PCI=y
-- 
1.9.1


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

* [RFT PATCH] mips: lemote2f_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (3 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: lasat_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-10-07 17:40   ` Aaro Koskinen
  2015-09-14 15:51 ` [RFT PATCH] mips: malta_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (11 subsequent siblings)
  16 siblings, 1 reply; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Huacai Chen

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts lemote2f_defconfig to use libata PATA
drivers.

PS This platform uses CS5536 chipset which (due to historical
reasons) has basic support in AMD/nVidia PATA host driver and
full support in a newer CS5536 PATA one (pata_cs5536).  Thus
most likely this platform should switch to using the latter
host driver.

Cc: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/lemote2f_defconfig | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/arch/mips/configs/lemote2f_defconfig b/arch/mips/configs/lemote2f_defconfig
index 54cc385..004cf52 100644
--- a/arch/mips/configs/lemote2f_defconfig
+++ b/arch/mips/configs/lemote2f_defconfig
@@ -108,16 +108,11 @@ CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_CRYPTOLOOP=m
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=8192
-# CONFIG_MISC_DEVICES is not set
-CONFIG_IDE=y
-CONFIG_IDE_TASK_IOCTL=y
-# CONFIG_IDEPCI_PCIBUS_ORDER is not set
-CONFIG_BLK_DEV_AMD74XX=y
-CONFIG_SCSI=m
-CONFIG_BLK_DEV_SD=m
+CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_SG=m
-CONFIG_SCSI_MULTI_LUN=y
 # CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_PATA_AMD=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_MD=m
 CONFIG_MD_LINEAR=m
-- 
1.9.1


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

* [RFT PATCH] mips: malta_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (4 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: lemote2f_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: malta_kvm_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Paul Burton, Markos Chandras

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts malta_defconfig to use libata PATA
drivers.

Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/malta_defconfig | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig
index 61a4460..5afb484 100644
--- a/arch/mips/configs/malta_defconfig
+++ b/arch/mips/configs/malta_defconfig
@@ -241,14 +241,11 @@ 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_IDE_GENERIC=y
 CONFIG_RAID_ATTRS=m
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=m
 CONFIG_CHR_DEV_OSST=m
-CONFIG_BLK_DEV_SR=m
+CONFIG_BLK_DEV_SR=y
 CONFIG_BLK_DEV_SR_VENDOR=y
 CONFIG_CHR_DEV_SG=m
 CONFIG_SCSI_CONSTANTS=y
@@ -265,6 +262,7 @@ CONFIG_AIC7XXX_RESET_DELAY_MS=15000
 # CONFIG_AIC7XXX_DEBUG_ENABLE is not set
 CONFIG_ATA=y
 CONFIG_ATA_PIIX=y
+CONFIG_PATA_LEGACY=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_MD=m
 CONFIG_MD_LINEAR=m
-- 
1.9.1


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

* [RFT PATCH] mips: malta_kvm_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (5 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: malta_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: malta_kvm_guest_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Paul Burton,
	Markos Chandras, Sanjay Lal

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts malta_kvm_defconfig to use libata PATA
drivers (tc86c001 IDE host driver has no corresponding libata
driver yet so it is not converted).

Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Sanjay Lal <sanjayl@kymasys.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

BTW Does this platform really use tc86c001 chipset or has
this defconfig been derived from the one already using
tc86c001 driver?

 arch/mips/configs/malta_kvm_defconfig | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/arch/mips/configs/malta_kvm_defconfig b/arch/mips/configs/malta_kvm_defconfig
index d41742d..98f1387 100644
--- a/arch/mips/configs/malta_kvm_defconfig
+++ b/arch/mips/configs/malta_kvm_defconfig
@@ -248,17 +248,12 @@ CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECD=y
-CONFIG_IDE_GENERIC=y
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_PIIX=y
-CONFIG_BLK_DEV_IT8213=m
 CONFIG_BLK_DEV_TC86C001=m
 CONFIG_RAID_ATTRS=m
-CONFIG_SCSI=m
-CONFIG_BLK_DEV_SD=m
+CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=m
 CONFIG_CHR_DEV_OSST=m
-CONFIG_BLK_DEV_SR=m
+CONFIG_BLK_DEV_SR=y
 CONFIG_BLK_DEV_SR_VENDOR=y
 CONFIG_CHR_DEV_SG=m
 CONFIG_SCSI_MULTI_LUN=y
@@ -274,6 +269,13 @@ CONFIG_SCSI_AACRAID=m
 CONFIG_SCSI_AIC7XXX=m
 CONFIG_AIC7XXX_RESET_DELAY_MS=15000
 # CONFIG_AIC7XXX_DEBUG_ENABLE is not set
+CONFIG_ATA=y
+CONFIG_ATA_PIIX=y
+CONFIG_PATA_IT8213=m
+CONFIG_PATA_OLDPIIX=y
+CONFIG_PATA_MPIIX=y
+CONFIG_ATA_GENERIC=y
+CONFIG_PATA_LEGACY=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_MD=m
 CONFIG_MD_LINEAR=m
-- 
1.9.1


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

* [RFT PATCH] mips: malta_kvm_guest_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (6 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: malta_kvm_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: malta_qemu_32r6_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Paul Burton,
	Markos Chandras, Sanjay Lal

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts malta_kvm_guest_defconfig to use libata
PATA drivers (tc86c001 IDE host driver has no corresponding
libata driver yet so it is not converted).

Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Sanjay Lal <sanjayl@kymasys.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

BTW Does this platform really use tc86c001 chipset or has
this defconfig been derived from the one already using
tc86c001 driver?

 arch/mips/configs/malta_kvm_guest_defconfig | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/arch/mips/configs/malta_kvm_guest_defconfig b/arch/mips/configs/malta_kvm_guest_defconfig
index a7806e8..3b5d591 100644
--- a/arch/mips/configs/malta_kvm_guest_defconfig
+++ b/arch/mips/configs/malta_kvm_guest_defconfig
@@ -248,17 +248,12 @@ CONFIG_ATA_OVER_ETH=m
 CONFIG_VIRTIO_BLK=y
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECD=y
-CONFIG_IDE_GENERIC=y
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_PIIX=y
-CONFIG_BLK_DEV_IT8213=m
 CONFIG_BLK_DEV_TC86C001=m
 CONFIG_RAID_ATTRS=m
-CONFIG_SCSI=m
-CONFIG_BLK_DEV_SD=m
+CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=m
 CONFIG_CHR_DEV_OSST=m
-CONFIG_BLK_DEV_SR=m
+CONFIG_BLK_DEV_SR=y
 CONFIG_BLK_DEV_SR_VENDOR=y
 CONFIG_CHR_DEV_SG=m
 CONFIG_SCSI_MULTI_LUN=y
@@ -274,6 +269,13 @@ CONFIG_SCSI_AACRAID=m
 CONFIG_SCSI_AIC7XXX=m
 CONFIG_AIC7XXX_RESET_DELAY_MS=15000
 # CONFIG_AIC7XXX_DEBUG_ENABLE is not set
+CONFIG_ATA=y
+CONFIG_ATA_PIIX=y
+CONFIG_PATA_IT8213=m
+CONFIG_PATA_OLDPIIX=y
+CONFIG_PATA_MPIIX=y
+CONFIG_ATA_GENERIC=y
+CONFIG_PATA_LEGACY=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_MD=m
 CONFIG_MD_LINEAR=m
-- 
1.9.1


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

* [RFT PATCH] mips: malta_qemu_32r6_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (7 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: malta_kvm_guest_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: maltaaprp_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Markos Chandras

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts malta_qemu_32r6_defconfig to use libata
PATA drivers.

Cc: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Untested.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/malta_qemu_32r6_defconfig | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/arch/mips/configs/malta_qemu_32r6_defconfig b/arch/mips/configs/malta_qemu_32r6_defconfig
index 4bce1f8..7f50dd6 100644
--- a/arch/mips/configs/malta_qemu_32r6_defconfig
+++ b/arch/mips/configs/malta_qemu_32r6_defconfig
@@ -80,15 +80,14 @@ CONFIG_NET_CLS_IND=y
 CONFIG_DEVTMPFS=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_CRYPTOLOOP=m
-CONFIG_IDE=y
-# CONFIG_IDE_PROC_FS is not set
-# CONFIG_IDEPCI_PCIBUS_ORDER is not set
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_PIIX=y
-CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_SG=y
 # CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_ATA_PIIX=y
+CONFIG_PATA_OLDPIIX=y
+CONFIG_PATA_MPIIX=y
+CONFIG_ATA_GENERIC=y
 CONFIG_NETDEVICES=y
 # CONFIG_NET_VENDOR_3COM is not set
 # CONFIG_NET_VENDOR_ADAPTEC is not set
-- 
1.9.1


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

* [RFT PATCH] mips: maltaaprp_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (8 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: malta_qemu_32r6_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: maltasmvp_eva_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Paul Burton,
	Markos Chandras, Steven J. Hill

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts maltaaprp_defconfig to use libata PATA
drivers.

Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/maltaaprp_defconfig | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/arch/mips/configs/maltaaprp_defconfig b/arch/mips/configs/maltaaprp_defconfig
index fb042ce..a9d433a 100644
--- a/arch/mips/configs/maltaaprp_defconfig
+++ b/arch/mips/configs/maltaaprp_defconfig
@@ -81,15 +81,14 @@ CONFIG_NET_CLS_IND=y
 CONFIG_DEVTMPFS=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_CRYPTOLOOP=m
-CONFIG_IDE=y
-# CONFIG_IDE_PROC_FS is not set
-# CONFIG_IDEPCI_PCIBUS_ORDER is not set
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_PIIX=y
-CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_SG=y
 # CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_ATA_PIIX=y
+CONFIG_PATA_OLDPIIX=y
+CONFIG_PATA_MPIIX=y
+CONFIG_ATA_GENERIC=y
 CONFIG_NETDEVICES=y
 # CONFIG_NET_VENDOR_3COM is not set
 # CONFIG_NET_VENDOR_ADAPTEC is not set
-- 
1.9.1


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

* [RFT PATCH] mips: maltasmvp_eva_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (9 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: maltaaprp_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: maltaup_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Paul Burton,
	Markos Chandras, Steven J. Hill

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts maltasmvp_eva_defconfig to use libata PATA
drivers.

Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Untested.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/maltasmvp_eva_defconfig | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/arch/mips/configs/maltasmvp_eva_defconfig b/arch/mips/configs/maltasmvp_eva_defconfig
index c83338a..2774ef0 100644
--- a/arch/mips/configs/maltasmvp_eva_defconfig
+++ b/arch/mips/configs/maltasmvp_eva_defconfig
@@ -85,15 +85,14 @@ CONFIG_NET_CLS_IND=y
 CONFIG_DEVTMPFS=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_CRYPTOLOOP=m
-CONFIG_IDE=y
-# CONFIG_IDE_PROC_FS is not set
-# CONFIG_IDEPCI_PCIBUS_ORDER is not set
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_PIIX=y
-CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_SG=y
 # CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_ATA_PIIX=y
+CONFIG_PATA_OLDPIIX=y
+CONFIG_PATA_MPIIX=y
+CONFIG_ATA_GENERIC=y
 CONFIG_NETDEVICES=y
 # CONFIG_NET_VENDOR_3COM is not set
 # CONFIG_NET_VENDOR_ADAPTEC is not set
-- 
1.9.1


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

* [RFT PATCH] mips: maltaup_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (10 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: maltasmvp_eva_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: maltaup_xpa_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Paul Burton,
	Markos Chandras, Steven J. Hill

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts maltaup_defconfig to use libata PATA
drivers.

Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/maltaup_defconfig | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/arch/mips/configs/maltaup_defconfig b/arch/mips/configs/maltaup_defconfig
index 6234464..9bbd221 100644
--- a/arch/mips/configs/maltaup_defconfig
+++ b/arch/mips/configs/maltaup_defconfig
@@ -80,15 +80,14 @@ CONFIG_NET_CLS_IND=y
 CONFIG_DEVTMPFS=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_CRYPTOLOOP=m
-CONFIG_IDE=y
-# CONFIG_IDE_PROC_FS is not set
-# CONFIG_IDEPCI_PCIBUS_ORDER is not set
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_PIIX=y
-CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_SG=y
 # CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+CONFIG_ATA_PIIX=y
+CONFIG_PATA_OLDPIIX=y
+CONFIG_PATA_MPIIX=y
+CONFIG_ATA_GENERIC=y
 CONFIG_NETDEVICES=y
 # CONFIG_NET_VENDOR_3COM is not set
 # CONFIG_NET_VENDOR_ADAPTEC is not set
-- 
1.9.1


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

* [RFT PATCH] mips: maltaup_xpa_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (11 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: maltaup_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [RFT PATCH] mips: mpc30x_defconfig: " Bartlomiej Zolnierkiewicz
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle
  Cc: linux-ide, linux-kernel, b.zolnierkie, Paul Burton,
	Markos Chandras, Steven J. Hill

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts maltaup_xpa_defconfig to use libata PATA
drivers (tc86c001 IDE host driver has no corresponding libata
driver yet so it is not converted).

Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

BTW Does this platform really use tc86c001 chipset or has
this defconfig been derived from the one already using
tc86c001 driver?

 arch/mips/configs/maltaup_xpa_defconfig | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/arch/mips/configs/maltaup_xpa_defconfig b/arch/mips/configs/maltaup_xpa_defconfig
index c388bff..7322157 100644
--- a/arch/mips/configs/maltaup_xpa_defconfig
+++ b/arch/mips/configs/maltaup_xpa_defconfig
@@ -244,17 +244,12 @@ CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECD=y
-CONFIG_IDE_GENERIC=y
-CONFIG_BLK_DEV_GENERIC=y
-CONFIG_BLK_DEV_PIIX=y
-CONFIG_BLK_DEV_IT8213=m
 CONFIG_BLK_DEV_TC86C001=m
 CONFIG_RAID_ATTRS=m
-CONFIG_SCSI=m
-CONFIG_BLK_DEV_SD=m
+CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=m
 CONFIG_CHR_DEV_OSST=m
-CONFIG_BLK_DEV_SR=m
+CONFIG_BLK_DEV_SR=y
 CONFIG_BLK_DEV_SR_VENDOR=y
 CONFIG_CHR_DEV_SG=m
 CONFIG_SCSI_CONSTANTS=y
@@ -269,6 +264,13 @@ CONFIG_SCSI_AACRAID=m
 CONFIG_SCSI_AIC7XXX=m
 CONFIG_AIC7XXX_RESET_DELAY_MS=15000
 # CONFIG_AIC7XXX_DEBUG_ENABLE is not set
+CONFIG_ATA=y
+CONFIG_ATA_PIIX=y
+CONFIG_PATA_IT8213=m
+CONFIG_PATA_OLDPIIX=y
+CONFIG_PATA_MPIIX=y
+CONFIG_ATA_GENERIC=y
+CONFIG_PATA_LEGACY=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_MD=m
 CONFIG_MD_LINEAR=m
-- 
1.9.1


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

* [RFT PATCH] mips: mpc30x_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (12 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: maltaup_xpa_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-09-14 15:51 ` [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem Bartlomiej Zolnierkiewicz
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle; +Cc: linux-ide, linux-kernel, b.zolnierkie

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts mpc30x_defconfig to use libata PATA
drivers.

PS This platform still uses "ide0=base[,ctl[,irq]]" hack in
its defconfig.  The hack itself has been removed in 2008 and
this platform should be converted to using PATA platform host
driver (pata_platform) instead.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/mpc30x_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/mips/configs/mpc30x_defconfig b/arch/mips/configs/mpc30x_defconfig
index 7a34660..a2c045f 100644
--- a/arch/mips/configs/mpc30x_defconfig
+++ b/arch/mips/configs/mpc30x_defconfig
@@ -27,9 +27,9 @@ CONFIG_INET_XFRM_MODE_BEET=m
 CONFIG_NETWORK_SECMARK=y
 CONFIG_CONNECTOR=m
 CONFIG_ATA_OVER_ETH=m
-# CONFIG_MISC_DEVICES is not set
-CONFIG_IDE=y
-CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_ATA=y
+CONFIG_PATA_LEGACY=y
 CONFIG_NETDEVICES=y
 # CONFIG_NETDEV_1000 is not set
 # CONFIG_NETDEV_10000 is not set
-- 
1.9.1


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

* [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (13 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: mpc30x_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
  2015-11-09 14:33   ` Maciej W. Rozycki
  2015-09-14 15:51 ` [RFT PATCH] mips: workpad_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
  2015-10-06 14:23 ` [RFT PATCH] mips: bigsur_defconfig: " Ralf Baechle
  16 siblings, 1 reply; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle; +Cc: linux-ide, linux-kernel, b.zolnierkie

This patch disables deprecated IDE subsystem in sb1250_swarm_defconfig
(no IDE host drivers are selected in this config so there is no valid
reason to enable IDE subsystem itself).

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
 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 51bab13..09b1914 100644
--- a/arch/mips/configs/sb1250_swarm_defconfig
+++ b/arch/mips/configs/sb1250_swarm_defconfig
@@ -55,9 +55,6 @@ CONFIG_BLK_DEV_RAM_SIZE=9220
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
 CONFIG_SGI_IOC4=m
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_IDETAPE=y
 CONFIG_RAID_ATTRS=m
 CONFIG_NETDEVICES=y
 CONFIG_MACVLAN=m
-- 
1.9.1


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

* [RFT PATCH] mips: workpad_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (14 preceding siblings ...)
  2015-09-14 15:51 ` [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem Bartlomiej Zolnierkiewicz
@ 2015-09-14 15:51 ` Bartlomiej Zolnierkiewicz
       [not found]   ` <CGME20170308160437epcas5p40c3197b4fde85ccf984a362917a7c5a7@epcas5p4.samsung.com>
  2015-10-06 14:23 ` [RFT PATCH] mips: bigsur_defconfig: " Ralf Baechle
  16 siblings, 1 reply; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2015-09-14 15:51 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle; +Cc: linux-ide, linux-kernel, b.zolnierkie

IDE subsystem has been deprecated since 2009 and the majority
(if not all) of Linux distributions have switched to use
libata for ATA support exclusively.  However there are still
some users (mostly old or/and embedded non-x86 systems) that
have not converted from using IDE subsystem to libata PATA
drivers.  This doesn't seem to be good thing in the long-term
for Linux as while there is less and less PATA systems left
in use:

* testing efforts are divided between two subsystems

* having duplicate drivers for same hardware confuses users

This patch converts workpad_defconfig to use libata PATA
drivers.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
Build tested only.
If you have affected hardware please test.  Thank you.

 arch/mips/configs/workpad_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/mips/configs/workpad_defconfig b/arch/mips/configs/workpad_defconfig
index ee4b2be..1b556cd 100644
--- a/arch/mips/configs/workpad_defconfig
+++ b/arch/mips/configs/workpad_defconfig
@@ -28,10 +28,10 @@ CONFIG_IP_MULTICAST=y
 # CONFIG_IPV6 is not set
 CONFIG_NETWORK_SECMARK=y
 CONFIG_BLK_DEV_RAM=m
-# CONFIG_MISC_DEVICES is not set
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECS=m
-CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_ATA=y
+CONFIG_PATA_PCMCIA=m
+CONFIG_PATA_LEGACY=y
 CONFIG_NETDEVICES=y
 # CONFIG_NETDEV_1000 is not set
 # CONFIG_NETDEV_10000 is not set
-- 
1.9.1


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

* Re: [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
                   ` (15 preceding siblings ...)
  2015-09-14 15:51 ` [RFT PATCH] mips: workpad_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
@ 2015-10-06 14:23 ` Ralf Baechle
  16 siblings, 0 replies; 26+ messages in thread
From: Ralf Baechle @ 2015-10-06 14:23 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-mips, linux-ide, linux-kernel

On Mon, Sep 14, 2015 at 05:51:42PM +0200, Bartlomiej Zolnierkiewicz wrote:

> IDE subsystem has been deprecated since 2009 and the majority
> (if not all) of Linux distributions have switched to use
> libata for ATA support exclusively.  However there are still
> some users (mostly old or/and embedded non-x86 systems) that
> have not converted from using IDE subsystem to libata PATA
> drivers.  This doesn't seem to be good thing in the long-term
> for Linux as while there is less and less PATA systems left
> in use:
> 
> * testing efforts are divided between two subsystems
> 
> * having duplicate drivers for same hardware confuses users
> 
> This patch converts bigsur_defconfig to use libata PATA
> drivers (tc86c001 IDE host driver has no corresponding libata
> driver yet so it is not converted).
> 
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> ---
> Build tested only.
> If you have affected hardware please test.  Thank you.

Nobody replied so I applied all 17 patches.

I've only too often updated the config I'm actually using to use libata
so thanks to doing this for all configs!

  Ralf

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

* Re: [RFT PATCH] mips: lemote2f_defconfig: convert to use libata PATA drivers
  2015-09-14 15:51 ` [RFT PATCH] mips: lemote2f_defconfig: " Bartlomiej Zolnierkiewicz
@ 2015-10-07 17:40   ` Aaro Koskinen
  0 siblings, 0 replies; 26+ messages in thread
From: Aaro Koskinen @ 2015-10-07 17:40 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: linux-mips, Ralf Baechle, linux-ide, linux-kernel, Huacai Chen

Hi,

On Mon, Sep 14, 2015 at 05:51:47PM +0200, Bartlomiej Zolnierkiewicz wrote:
> IDE subsystem has been deprecated since 2009 and the majority
> (if not all) of Linux distributions have switched to use
> libata for ATA support exclusively.  However there are still
> some users (mostly old or/and embedded non-x86 systems) that
> have not converted from using IDE subsystem to libata PATA
> drivers.  This doesn't seem to be good thing in the long-term
> for Linux as while there is less and less PATA systems left
> in use:
> 
> * testing efforts are divided between two subsystems
> 
> * having duplicate drivers for same hardware confuses users
> 
> This patch converts lemote2f_defconfig to use libata PATA
> drivers.
> 
> PS This platform uses CS5536 chipset which (due to historical
> reasons) has basic support in AMD/nVidia PATA host driver and
> full support in a newer CS5536 PATA one (pata_cs5536).  Thus
> most likely this platform should switch to using the latter
> host driver.
> 
> Cc: Huacai Chen <chenhc@lemote.com>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

Maybe too late but:

	Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>

I also tested PATA_CS5536 and that works too, but it gives a slightly
slower disk (27MB/s vs 33MB/s)...

A.

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

* Re: [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem
  2015-09-14 15:51 ` [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem Bartlomiej Zolnierkiewicz
@ 2015-11-09 14:33   ` Maciej W. Rozycki
  2015-11-09 14:49     ` Ralf Baechle
  0 siblings, 1 reply; 26+ messages in thread
From: Maciej W. Rozycki @ 2015-11-09 14:33 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: linux-mips, Ralf Baechle, linux-ide, linux-kernel

On Mon, 14 Sep 2015, Bartlomiej Zolnierkiewicz wrote:

> This patch disables deprecated IDE subsystem in sb1250_swarm_defconfig
> (no IDE host drivers are selected in this config so there is no valid
> reason to enable IDE subsystem itself).

 Someone forgot to enable BLK_DEV_PLATFORM, it would seem, at the time the 
host driver was converted to a PATA platform device (back in 2008, commit 
2fef357c).  Frankly I don't think this config file has been recently (as 
in "since 2008") properly maintained, the last time I revalidated it was 
shortly before the conversion and nobody else bothered since then.  I'll 
give it a shot to modernise it at the earliest opportunity, I have other 
stuff to sort out with this system outstanding.

 For the record, I have this in .config I've most recently used (with
3.19.0):

CONFIG_HAVE_IDE=y
CONFIG_IDE=y
CONFIG_IDE_ATAPI=y
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
CONFIG_IDE_TASK_IOCTL=y
CONFIG_IDE_PROC_FS=y
CONFIG_BLK_DEV_PLATFORM=y
CONFIG_HAVE_PATA_PLATFORM=y

and the driver does register and sees the devices there:

[...]
pata-swarm: PATA interface at GenBus slot 4
futex hash table entries: 512 (order: 1, 49152 bytes)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
duart0 at MMIO 0x10060100 (irq = 8, base_baud = 5000000) is a SB1250 DUART
duart1 at MMIO 0x10060200 (irq = 9, base_baud = 5000000) is a SB1250 DUART
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
Probing IDE interface ide0...
hda: TOSHIBA MK2016GAP, ATA DISK drive
hdb: ST380011A, ATA DISK drive
ide0 at 0x90000000100b3e00-0x90000000100b3ee0,0x90000000100b7ec0 on irq 36
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB), CHS=38760/16/63
hda: cache flushes not supported
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 >
hdb: max request size: 1024KiB
hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63
hdb: cache flushes supported
 hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 > hdb4
[...]

I can check if things still work correctly when routed through libata, 
although it'll have to wait a couple of weeks yet at the least as I have 
wired my SWARM for hardware debugging, making it not immediately bootable 
and I'll be departing soon (i.e. I have no time for complicated fiddling).  
The host driver itself is actually in arch/mips/sibyte/swarm/platform.c 
BTW.

 Note to self: it would be nice if physical rather than virtual MMIO 
addresses were reported too.

  Maciej

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

* Re: [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem
  2015-11-09 14:33   ` Maciej W. Rozycki
@ 2015-11-09 14:49     ` Ralf Baechle
  2015-11-09 16:18       ` Maciej W. Rozycki
  0 siblings, 1 reply; 26+ messages in thread
From: Ralf Baechle @ 2015-11-09 14:49 UTC (permalink / raw)
  To: Maciej W. Rozycki
  Cc: Bartlomiej Zolnierkiewicz, linux-mips, linux-ide, linux-kernel

On Mon, Nov 09, 2015 at 02:33:19PM +0000, Maciej W. Rozycki wrote:

> On Mon, 14 Sep 2015, Bartlomiej Zolnierkiewicz wrote:
> 
> > This patch disables deprecated IDE subsystem in sb1250_swarm_defconfig
> > (no IDE host drivers are selected in this config so there is no valid
> > reason to enable IDE subsystem itself).
> 
>  Someone forgot to enable BLK_DEV_PLATFORM, it would seem, at the time the 
> host driver was converted to a PATA platform device (back in 2008, commit 
> 2fef357c).  Frankly I don't think this config file has been recently (as 
> in "since 2008") properly maintained, the last time I revalidated it was 
> shortly before the conversion and nobody else bothered since then.  I'll 
> give it a shot to modernise it at the earliest opportunity, I have other 
> stuff to sort out with this system outstanding.
> 
>  For the record, I have this in .config I've most recently used (with
> 3.19.0):
> 
> CONFIG_HAVE_IDE=y
> CONFIG_IDE=y
> CONFIG_IDE_ATAPI=y
> CONFIG_IDE_GD=y
> CONFIG_IDE_GD_ATA=y
> CONFIG_BLK_DEV_IDECD=y
> CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
> CONFIG_IDE_TASK_IOCTL=y
> CONFIG_IDE_PROC_FS=y
> CONFIG_BLK_DEV_PLATFORM=y
> CONFIG_HAVE_PATA_PLATFORM=y
> 
> and the driver does register and sees the devices there:
> 
> [...]
> pata-swarm: PATA interface at GenBus slot 4
> futex hash table entries: 512 (order: 1, 49152 bytes)
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> duart0 at MMIO 0x10060100 (irq = 8, base_baud = 5000000) is a SB1250 DUART
> duart1 at MMIO 0x10060200 (irq = 9, base_baud = 5000000) is a SB1250 DUART
> brd: module loaded
> loop: module loaded
> Uniform Multi-Platform E-IDE driver
> ide-gd driver 1.18
> ide-cd driver 5.00
> Probing IDE interface ide0...
> hda: TOSHIBA MK2016GAP, ATA DISK drive
> hdb: ST380011A, ATA DISK drive
> ide0 at 0x90000000100b3e00-0x90000000100b3ee0,0x90000000100b7ec0 on irq 36
> hda: max request size: 128KiB
> hda: 39070080 sectors (20003 MB), CHS=38760/16/63
> hda: cache flushes not supported
>  hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 >
> hdb: max request size: 1024KiB
> hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63
> hdb: cache flushes supported
>  hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 > hdb4
> [...]
> 
> I can check if things still work correctly when routed through libata, 
> although it'll have to wait a couple of weeks yet at the least as I have 
> wired my SWARM for hardware debugging, making it not immediately bootable 
> and I'll be departing soon (i.e. I have no time for complicated fiddling).  
> The host driver itself is actually in arch/mips/sibyte/swarm/platform.c 
> BTW.
> 
>  Note to self: it would be nice if physical rather than virtual MMIO 
> addresses were reported too.

Part of the problem is that everybody who is serious about using a Swarm
is using PCI PATA/SATA card, so this part receives very little TLC.  I
btw. can't test because the controller on my Pass 2 board is broken ...

  Ralf

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

* Re: [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem
  2015-11-09 14:49     ` Ralf Baechle
@ 2015-11-09 16:18       ` Maciej W. Rozycki
  2015-11-09 17:33         ` Sergei Shtylyov
  0 siblings, 1 reply; 26+ messages in thread
From: Maciej W. Rozycki @ 2015-11-09 16:18 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: Bartlomiej Zolnierkiewicz, linux-mips, linux-ide, linux-kernel

On Mon, 9 Nov 2015, Ralf Baechle wrote:

> > I can check if things still work correctly when routed through libata, 
> > although it'll have to wait a couple of weeks yet at the least as I have 
> > wired my SWARM for hardware debugging, making it not immediately bootable 
> > and I'll be departing soon (i.e. I have no time for complicated fiddling).  
> > The host driver itself is actually in arch/mips/sibyte/swarm/platform.c 
> > BTW.
> > 
> >  Note to self: it would be nice if physical rather than virtual MMIO 
> > addresses were reported too.
> 
> Part of the problem is that everybody who is serious about using a Swarm
> is using PCI PATA/SATA card, so this part receives very little TLC.  I
> btw. can't test because the controller on my Pass 2 board is broken ...

 I think I've been reasonably serious about my SWARM and despite issues 
elsewhere the onboard PATA interface is a part of the system I've never 
had any with.  Yes, it's limited to PIO 3, but it's not a big deal, that's 
still 11MB/s (and one of the 4 generic data movers present in the SoC 
could be used as a DMA engine to offload the CPU if anyone bothered 
implementing that in the HBA driver).  I used it for stuff like native GCC 
bootstraps, some regression testing.  Maybe I'm just lucky, I've read 
people's horror stories.  Besides I'm out of free PCI slots, I'd have to 
use an expansion box.

  Maciej

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

* Re: [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem
  2015-11-09 16:18       ` Maciej W. Rozycki
@ 2015-11-09 17:33         ` Sergei Shtylyov
  2015-11-09 18:54           ` Maciej W. Rozycki
  0 siblings, 1 reply; 26+ messages in thread
From: Sergei Shtylyov @ 2015-11-09 17:33 UTC (permalink / raw)
  To: Maciej W. Rozycki, Ralf Baechle
  Cc: Bartlomiej Zolnierkiewicz, linux-mips, linux-ide, linux-kernel

Hello.

On 11/09/2015 07:18 PM, Maciej W. Rozycki wrote:

>>> I can check if things still work correctly when routed through libata,
>>> although it'll have to wait a couple of weeks yet at the least as I have
>>> wired my SWARM for hardware debugging, making it not immediately bootable
>>> and I'll be departing soon (i.e. I have no time for complicated fiddling).
>>> The host driver itself is actually in arch/mips/sibyte/swarm/platform.c
>>> BTW.
>>>
>>>   Note to self: it would be nice if physical rather than virtual MMIO
>>> addresses were reported too.
>>
>> Part of the problem is that everybody who is serious about using a Swarm
>> is using PCI PATA/SATA card, so this part receives very little TLC.  I
>> btw. can't test because the controller on my Pass 2 board is broken ...
>
>   I think I've been reasonably serious about my SWARM and despite issues
> elsewhere the onboard PATA interface is a part of the system I've never
> had any with.  Yes, it's limited to PIO 3, but it's not a big deal, that's
> still 11MB/s (and one of the 4 generic data movers present in the SoC

    If you measure it with something like 'hdparm -t', the real speed figures 
in the PIO modes would disappoint you. It's usually more like 3 MB/s even in 
PIO4...

> could be used as a DMA engine to offload the CPU if anyone bothered
> implementing that in the HBA driver).

    Oh, that's nice!

MBR, Sergei


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

* Re: [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem
  2015-11-09 17:33         ` Sergei Shtylyov
@ 2015-11-09 18:54           ` Maciej W. Rozycki
  2015-11-09 19:08             ` Sergei Shtylyov
  0 siblings, 1 reply; 26+ messages in thread
From: Maciej W. Rozycki @ 2015-11-09 18:54 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Ralf Baechle, Bartlomiej Zolnierkiewicz, linux-mips, linux-ide,
	linux-kernel

On Mon, 9 Nov 2015, Sergei Shtylyov wrote:

> >   I think I've been reasonably serious about my SWARM and despite issues
> > elsewhere the onboard PATA interface is a part of the system I've never
> > had any with.  Yes, it's limited to PIO 3, but it's not a big deal, that's
> > still 11MB/s (and one of the 4 generic data movers present in the SoC
> 
>    If you measure it with something like 'hdparm -t', the real speed figures
> in the PIO modes would disappoint you. It's usually more like 3 MB/s even in
> PIO4...

 Well, various factors contribute to actual figures possible to achieve, 
the physical medium transfer speed being an important one.  That 11MB/s 
throughput is the maximum you can ever get on the wire in PIO 3, assuming 
data is already available to transfer and IORDY is asserted right away 
every cycle.

 As I say my SWARM is currently in flux, so I can't get any benchmarking 
done right now, but as a matter of interest I'll check that when I get to 
looking at this piece.

> > could be used as a DMA engine to offload the CPU if anyone bothered
> > implementing that in the HBA driver).
> 
>    Oh, that's nice!

 Indeed, I've been told the generic bus interface the PATA inferface has 
been cooked up on in this system has been specifically designed such as to 
make it work with the data mover.  There's still lot of silicon treasure 
left in this system unexplored!

  Maciej

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

* Re: [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem
  2015-11-09 18:54           ` Maciej W. Rozycki
@ 2015-11-09 19:08             ` Sergei Shtylyov
  0 siblings, 0 replies; 26+ messages in thread
From: Sergei Shtylyov @ 2015-11-09 19:08 UTC (permalink / raw)
  To: Maciej W. Rozycki
  Cc: Ralf Baechle, Bartlomiej Zolnierkiewicz, linux-mips, linux-ide,
	linux-kernel

On 11/09/2015 09:54 PM, Maciej W. Rozycki wrote:

>>>    I think I've been reasonably serious about my SWARM and despite issues
>>> elsewhere the onboard PATA interface is a part of the system I've never
>>> had any with.  Yes, it's limited to PIO 3, but it's not a big deal, that's
>>> still 11MB/s (and one of the 4 generic data movers present in the SoC
>>
>>     If you measure it with something like 'hdparm -t', the real speed figures
>> in the PIO modes would disappoint you. It's usually more like 3 MB/s even in
>> PIO4...

>   Well, various factors contribute to actual figures possible to achieve,
> the physical medium transfer speed being an important one.

    Yes, of course. Yet even with MWDMA2 (same wire speed as PIO4) hdparm 
shows about an order of magnitude higher speeds, IIRC. With the UltraDMA modes 
it becomes even higher...

> That 11MB/s
> throughput is the maximum you can ever get on the wire in PIO 3, assuming
> data is already available to transfer and IORDY is asserted right away
> every cycle.

    Yes, I figured.

[...]

>    Maciej

MBR, Sergei


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

* Re: [RFT PATCH] mips: workpad_defconfig: convert to use libata PATA drivers
       [not found]   ` <CGME20170308160437epcas5p40c3197b4fde85ccf984a362917a7c5a7@epcas5p4.samsung.com>
@ 2017-03-08 16:04     ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2017-03-08 16:04 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips, linux-ide, linux-kernel


Hi Ralf,

When patches converting MIPS defconfigs to libata PATA were
applied this one got lost somehow. Please consider merging
(it applies fine to v4.11-rc1).

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

On Monday, September 14, 2015 05:51:58 PM Bartlomiej Zolnierkiewicz wrote:
> IDE subsystem has been deprecated since 2009 and the majority
> (if not all) of Linux distributions have switched to use
> libata for ATA support exclusively.  However there are still
> some users (mostly old or/and embedded non-x86 systems) that
> have not converted from using IDE subsystem to libata PATA
> drivers.  This doesn't seem to be good thing in the long-term
> for Linux as while there is less and less PATA systems left
> in use:
> 
> * testing efforts are divided between two subsystems
> 
> * having duplicate drivers for same hardware confuses users
> 
> This patch converts workpad_defconfig to use libata PATA
> drivers.
> 
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> ---
> Build tested only.
> If you have affected hardware please test.  Thank you.
> 
>  arch/mips/configs/workpad_defconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/mips/configs/workpad_defconfig b/arch/mips/configs/workpad_defconfig
> index ee4b2be..1b556cd 100644
> --- a/arch/mips/configs/workpad_defconfig
> +++ b/arch/mips/configs/workpad_defconfig
> @@ -28,10 +28,10 @@ CONFIG_IP_MULTICAST=y
>  # CONFIG_IPV6 is not set
>  CONFIG_NETWORK_SECMARK=y
>  CONFIG_BLK_DEV_RAM=m
> -# CONFIG_MISC_DEVICES is not set
> -CONFIG_IDE=y
> -CONFIG_BLK_DEV_IDECS=m
> -CONFIG_IDE_GENERIC=y
> +CONFIG_BLK_DEV_SD=y
> +CONFIG_ATA=y
> +CONFIG_PATA_PCMCIA=m
> +CONFIG_PATA_LEGACY=y
>  CONFIG_NETDEVICES=y
>  # CONFIG_NETDEV_1000 is not set
>  # CONFIG_NETDEV_10000 is not set

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

end of thread, other threads:[~2017-03-08 16:04 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-14 15:51 [RFT PATCH] mips: bigsur_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: capcella_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: e55_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: fuloong2e_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: lasat_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: lemote2f_defconfig: " Bartlomiej Zolnierkiewicz
2015-10-07 17:40   ` Aaro Koskinen
2015-09-14 15:51 ` [RFT PATCH] mips: malta_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: malta_kvm_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: malta_kvm_guest_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: malta_qemu_32r6_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: maltaaprp_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: maltasmvp_eva_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: maltaup_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: maltaup_xpa_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [RFT PATCH] mips: mpc30x_defconfig: " Bartlomiej Zolnierkiewicz
2015-09-14 15:51 ` [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem Bartlomiej Zolnierkiewicz
2015-11-09 14:33   ` Maciej W. Rozycki
2015-11-09 14:49     ` Ralf Baechle
2015-11-09 16:18       ` Maciej W. Rozycki
2015-11-09 17:33         ` Sergei Shtylyov
2015-11-09 18:54           ` Maciej W. Rozycki
2015-11-09 19:08             ` Sergei Shtylyov
2015-09-14 15:51 ` [RFT PATCH] mips: workpad_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
     [not found]   ` <CGME20170308160437epcas5p40c3197b4fde85ccf984a362917a7c5a7@epcas5p4.samsung.com>
2017-03-08 16:04     ` Bartlomiej Zolnierkiewicz
2015-10-06 14:23 ` [RFT PATCH] mips: bigsur_defconfig: " Ralf Baechle

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