* [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers
@ 2016-06-27 12:23 Bartlomiej Zolnierkiewicz
2016-06-27 16:38 ` alexmcwhirter
0 siblings, 1 reply; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2016-06-27 12:23 UTC (permalink / raw)
To: sparclinux, David S. Miller; +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 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers
2016-06-27 12:23 [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
@ 2016-06-27 16:38 ` alexmcwhirter
2016-06-27 23:18 ` Julian Calaby
0 siblings, 1 reply; 4+ messages in thread
From: alexmcwhirter @ 2016-06-27 16:38 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: sparclinux, David S. Miller, linux-ide, linux-kernel, sparclinux-owner
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers
2016-06-27 16:38 ` alexmcwhirter
@ 2016-06-27 23:18 ` Julian Calaby
2016-06-28 20:57 ` Mark Cave-Ayland
0 siblings, 1 reply; 4+ messages in thread
From: Julian Calaby @ 2016-06-27 23:18 UTC (permalink / raw)
To: alexmcwhirter
Cc: Bartlomiej Zolnierkiewicz, sparclinux, David S. Miller,
linux-ide, linux-kernel, sparclinux-owner
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers
2016-06-27 23:18 ` Julian Calaby
@ 2016-06-28 20:57 ` Mark Cave-Ayland
0 siblings, 0 replies; 4+ messages in thread
From: Mark Cave-Ayland @ 2016-06-28 20:57 UTC (permalink / raw)
To: Julian Calaby, alexmcwhirter
Cc: Bartlomiej Zolnierkiewicz, sparclinux, David S. Miller,
linux-ide, linux-kernel, sparclinux-owner
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-28 21:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-27 12:23 [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers Bartlomiej Zolnierkiewicz
2016-06-27 16:38 ` alexmcwhirter
2016-06-27 23:18 ` Julian Calaby
2016-06-28 20:57 ` Mark Cave-Ayland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®