Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431989 > unrolled thread

[PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers

Started byBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
First post2016-06-27 14:30 +0200
Last post2016-06-28 23:30 +0200
Articles 4 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2016-06-27 14:30 +0200
    Re: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers alexmcwhirter@triadic.us - 2016-06-27 19:00 +0200
      Re: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers Julian Calaby <julian.calaby@gmail.com> - 2016-06-28 01:20 +0200
        Re: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA  drivers Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> - 2016-06-28 23:30 +0200

#1431989 — [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers

FromBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Date2016-06-27 14:30 +0200
Subject[PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers
Message-ID<rODPQ-9s-31@gated-at.bofh.it>
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 sparc64_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/sparc/configs/sparc64_defconfig | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/arch/sparc/configs/sparc64_defconfig b/arch/sparc/configs/sparc64_defconfig
index e4bbc76..41609ad 100644
--- a/arch/sparc/configs/sparc64_defconfig
+++ b/arch/sparc/configs/sparc64_defconfig
@@ -68,19 +68,17 @@ CONFIG_CDROM_PKTCDVD=m
 CONFIG_CDROM_PKTCDVD_WCACHE=y
 CONFIG_ATA_OVER_ETH=m
 CONFIG_SUNVDC=m
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_ALI15X3=y
 CONFIG_RAID_ATTRS=m
-CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
-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
 CONFIG_SCSI_CONSTANTS=y
 CONFIG_SCSI_SPI_ATTRS=y
 CONFIG_SCSI_FC_ATTRS=y
+CONFIG_ATA=y
+CONFIG_PATA_ALI=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_MD=m
 CONFIG_MD_LINEAR=m
-- 
1.9.1

[toc] | [next] | [standalone]


#1432157

Fromalexmcwhirter@triadic.us
Date2016-06-27 19:00 +0200
Message-ID<rOI37-2Qk-11@gated-at.bofh.it>
In reply to#1431989
On 2016-06-27 08:23, Bartlomiej Zolnierkiewicz wrote:

> If you have affected hardware please test.  Thank you.

For what it's worth, I've been using libata on sparc64 for roughly two 
years with no issues to report. All of my PATA machines have ALI 
controllers, not sure if any other controllers were ever used in sparc 
gear.

[toc] | [prev] | [next] | [standalone]


#1432352

FromJulian Calaby <julian.calaby@gmail.com>
Date2016-06-28 01:20 +0200
Message-ID<rONYS-72r-7@gated-at.bofh.it>
In reply to#1432157
Hi Alex,

On Tue, Jun 28, 2016 at 2:38 AM,  <alexmcwhirter@triadic.us> wrote:
> On 2016-06-27 08:23, Bartlomiej Zolnierkiewicz wrote:
>
>> If you have affected hardware please test.  Thank you.
>
>
> For what it's worth, I've been using libata on sparc64 for roughly two years
> with no issues to report. All of my PATA machines have ALI controllers, not
> sure if any other controllers were ever used in sparc gear.

The Ultra 5 uses a CMD64x controller.

That said, last time I tried to get that machine working, I couldn't
partition the disk due to bugs in that driver.

I believe the Ultra 10 uses the same motherboard so it's likely also
affected. I believe these were in the first generation of "PC" like
SPARC workstations.

Thanks,

-- 
Julian Calaby

Email: julian.calaby@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/

[toc] | [prev] | [next] | [standalone]


#1433330 — Re: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers

FromMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Date2016-06-28 23:30 +0200
SubjectRe: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers
Message-ID<rP8JY-3Qa-13@gated-at.bofh.it>
In reply to#1432352
On 28/06/16 00:18, Julian Calaby wrote:

> Hi Alex,
> 
> On Tue, Jun 28, 2016 at 2:38 AM,  <alexmcwhirter@triadic.us> wrote:
>> On 2016-06-27 08:23, Bartlomiej Zolnierkiewicz wrote:
>>
>>> If you have affected hardware please test.  Thank you.
>>
>>
>> For what it's worth, I've been using libata on sparc64 for roughly two years
>> with no issues to report. All of my PATA machines have ALI controllers, not
>> sure if any other controllers were ever used in sparc gear.
> 
> The Ultra 5 uses a CMD64x controller.
> 
> That said, last time I tried to get that machine working, I couldn't
> partition the disk due to bugs in that driver.
> 
> I believe the Ultra 10 uses the same motherboard so it's likely also
> affected. I believe these were in the first generation of "PC" like
> SPARC workstations.

FWIW QEMU's qemu-system-sparc64 emulator also uses the cmd646 controller
and can boot vmlinuz/initrd binaries directly for testing.


ATB,

Mark.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web