From: Michael Schmitz <schmitzmic@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: dlemoal@kernel.org, linux-ide@vger.kernel.org,
linux-m68k@vger.kernel.org, will@sowerbutts.com,
rz@linux-m68k.org
Subject: Re: [PATCH v2 3/3] m68k/atari: change Falcon IDE platform device to id 0
Date: Sat, 19 Aug 2023 08:40:54 +1200 [thread overview]
Message-ID: <41d64e82-5995-4e5c-68f5-3e9248ece153@gmail.com> (raw)
In-Reply-To: <CAMuHMdUkzk9DxAicq7U5yp3LT0mzaP+tgbwcSYNFx7sripBDcg@mail.gmail.com>
Hi Geert,
Am 19.08.2023 um 02:44 schrieb Geert Uytterhoeven:
> Hi Michael,
>
> On Fri, Aug 18, 2023 at 9:14 AM Michael Schmitz <schmitzmic@gmail.com> wrote:
>> The pata_falcon data byte swapping patch relies on pdev->id
>> being 0 or 1. Q40 uses these IDs, but Atari used -1. Change
>> pdev->id to 0 for Atari Falcon IDE platform device so
>> selection of drive to byte-swap through pata_falcon.data_swab
>> can be used on Falcon as well.
>> Tested on ARAnyM so far.
>>
>> Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
>
> Iff this patch is accepted, it must go in before [PATCH v2 2/3], else
> the latter would cause a regression. And backporting to stable must
> take that into account, too.
I don't see it as a regression - the driver still works OK, it's only
the byte swap option that's broken on Atari, and that's newly introduced.
But this patch changes the user space exposed platform device name, as
you point out elsewhere. That's reason enough to drop it.
> Alternative, only consider pdev->id if it's positive?
Only shift by two bits if pdev->id is > 0? (some consider 0 positive...)
I'll rewrite that bit and respin.
Cheers,
Michael
>
> Gr{oetje,eeting}s,
>
> Geert
>
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
>
next prev parent reply other threads:[~2023-08-18 20:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 7:14 [PATCH v2 0/3] Q40 IDE fixes Michael Schmitz
2023-08-18 7:14 ` [PATCH v2 1/3] ata: pata_falcon: fix IO base selection for Q40 Michael Schmitz
2023-08-18 7:52 ` Finn Thain
2023-08-18 20:42 ` Michael Schmitz
2023-08-18 7:14 ` [PATCH v2 2/3] ata: pata_falcon: add data_swab option to byte-swap disk data Michael Schmitz
2023-08-18 7:43 ` Finn Thain
2023-08-18 14:39 ` Geert Uytterhoeven
2023-08-18 23:51 ` Finn Thain
2023-08-18 20:44 ` Michael Schmitz
2023-08-18 7:14 ` [PATCH v2 3/3] m68k/atari: change Falcon IDE platform device to id 0 Michael Schmitz
2023-08-18 14:44 ` Geert Uytterhoeven
2023-08-18 20:40 ` Michael Schmitz [this message]
2023-08-19 0:07 ` Finn Thain
2023-08-19 0:40 ` Michael Schmitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41d64e82-5995-4e5c-68f5-3e9248ece153@gmail.com \
--to=schmitzmic@gmail.com \
--cc=dlemoal@kernel.org \
--cc=geert@linux-m68k.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=rz@linux-m68k.org \
--cc=will@sowerbutts.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox