Message ID | 20230307224627.28011-1-linux@zary.sk |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp9217wrd; Tue, 7 Mar 2023 15:01:43 -0800 (PST) X-Google-Smtp-Source: AK7set85RI432i7z8Wwo+5Q8Bs1cr0NhYxz/qQbzGmM0IvvK34nZT7/6KsVuEy0y0T6gHVrTL2kM X-Received: by 2002:a17:906:db05:b0:882:cdd4:14d9 with SMTP id xj5-20020a170906db0500b00882cdd414d9mr19985668ejb.46.1678230103820; Tue, 07 Mar 2023 15:01:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678230103; cv=none; d=google.com; s=arc-20160816; b=L14Q/Y8QPNRqk3NyjJk0iX5NBE9PhMtzwZU5keDHrhjjNTkpoNd8vipCsS/WwkmoKa vP3ADcSa0q5nc9mI/c4rDTPmdszeTgSaYeomHBqO9wvs3duOIF0RZjXqYbQ6iSHXJztM G7emOzdjHhlam4mx8veekd+oMkVA9Nr7mGicrWFindEhP09SjZf5sGRaeGGFoc1PxRIS 43QefKt2kIKioyKVj2hvFiHBBqRY1LCcACJVWiuFqSrktJQukwHMGzOhevBTTiq3gIGx d5mrcsj50WPlb7xguYKE6Srs49eO3vmM8fpDdPnKgezQMeZ33vE475gWS/iiKQO69KTr 69Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=heXIjIoitZg+FHz3I29ESjMMkvrJOQvJFQrS8Xbh+ks=; b=vNY71/IuT85etQushtHJ2u+DsqklpUwILWHZL2iXNm2ZlN65iJJdsY3szhl9wwkt2i olf3JkH3IadX8nZEGIATh+0Xn2qouWsJ7/tEr9L5lvIJKR3KbSMASKXXfPcU04bP7WJu Y5MEPY7+ix+14z3R8Kjok6UYQo2Rat5u0Jq+SwhdU2PWRiHeTQC0dGeqty210UrJkk+I NFpcFa3pUQ9wjCvrW032wZUb8PsmMVefUNKah+qXewsyxxci+BZORz2YZaO+PCePXXp1 14KdkhSG5OkNA2H3UvqoF5Chi8Mz7O2Kbmj+QCrgqpfeoA6nCMXcOxLqnOYFXqgvtLGo ifKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wv14-20020a170907080e00b008c215db35a7si19284021ejb.37.2023.03.07.15.01.11; Tue, 07 Mar 2023 15:01:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231327AbjCGWrR (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 7 Mar 2023 17:47:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjCGWrB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Mar 2023 17:47:01 -0500 Received: from hosting.gsystem.sk (hosting.gsystem.sk [212.5.213.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E87D76A1; Tue, 7 Mar 2023 14:46:49 -0800 (PST) Received: from gsql.ggedos.sk (off-20.infotel.telecom.sk [212.5.213.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id AFBBE7A02A6; Tue, 7 Mar 2023 23:46:47 +0100 (CET) From: Ondrej Zary <linux@zary.sk> To: Damien Le Moal <damien.lemoal@opensource.wdc.com>, Sudip Mukherjee <sudipm.mukherjee@gmail.com> Cc: Christoph Hellwig <hch@lst.de>, Sergey Shtylyov <s.shtylyov@omp.ru>, Jens Axboe <axboe@kernel.dk>, Tim Waugh <tim@cyberelk.net>, linux-block@vger.kernel.org, linux-parport@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/32] pata_parport-bpck6: rework bpck6 protocol driver Date: Tue, 7 Mar 2023 23:45:55 +0100 Message-Id: <20230307224627.28011-1-linux@zary.sk> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759751809133478695?= X-GMAIL-MSGID: =?utf-8?q?1759751809133478695?= |
Series |
pata_parport-bpck6: rework bpck6 protocol driver
|
|
Message
Ondrej Zary
March 7, 2023, 10:45 p.m. UTC
This patch series simplifies bpck6 code, removing ppc6lnx.c file to match
the simplicity of other protocol drivers. It also converts the direct
port I/O access to paraport access functions. This conversion revealed that
there's no 8-bit and 16-bit EPP support in parport_pc so patch 11 implements
that.
Tested with Backpack CD-RW 222011 and CD-RW 19350.
Signed-off-by: Ondrej Zary <linux@zary.sk>
---
drivers/ata/pata_parport/bpck6.c | 452 +++++++++++++++++++++++++++--------
drivers/ata/pata_parport/ppc6lnx.c | 726 ---------------------------------------------------------
drivers/parport/parport_pc.c | 20 +-
include/uapi/linux/parport.h | 3 +
4 files changed, 370 insertions(+), 831 deletions(-)
Comments
Hello! On 3/8/23 1:45 AM, Ondrej Zary wrote: > This patch series simplifies bpck6 code, removing ppc6lnx.c file to match > the simplicity of other protocol drivers. It also converts the direct > port I/O access to paraport access functions. This conversion revealed that > there's no 8-bit and 16-bit EPP support in parport_pc so patch 11 implements > that. > > Tested with Backpack CD-RW 222011 and CD-RW 19350. > > Signed-off-by: Ondrej Zary <linux@zary.sk> > --- > drivers/ata/pata_parport/bpck6.c | 452 +++++++++++++++++++++++++++-------- > drivers/ata/pata_parport/ppc6lnx.c | 726 --------------------------------------------------------- > drivers/parport/parport_pc.c | 20 +- > include/uapi/linux/parport.h | 3 + > 4 files changed, 370 insertions(+), 831 deletions(-) OK, it's finally clear I can't keep up with reviewing 32 patches posted at once... Luckily, all those patches seem to be dealing with parallel port control), not the PATA control! Of course, when I volunteered to review the PATA driver patches, I didn't expect such patch volumes -- I mostly expected some odd fixes, not a massive driver rework... :-/ MBR, Sergey
On Saturday 11 March 2023 21:00:01 Sergey Shtylyov wrote: > Hello! > > On 3/8/23 1:45 AM, Ondrej Zary wrote: > > > This patch series simplifies bpck6 code, removing ppc6lnx.c file to match > > the simplicity of other protocol drivers. It also converts the direct > > port I/O access to paraport access functions. This conversion revealed that > > there's no 8-bit and 16-bit EPP support in parport_pc so patch 11 implements > > that. > > > > Tested with Backpack CD-RW 222011 and CD-RW 19350. > > > > Signed-off-by: Ondrej Zary <linux@zary.sk> > > --- > > drivers/ata/pata_parport/bpck6.c | 452 +++++++++++++++++++++++++++-------- > > drivers/ata/pata_parport/ppc6lnx.c | 726 --------------------------------------------------------- > > drivers/parport/parport_pc.c | 20 +- > > include/uapi/linux/parport.h | 3 + > > 4 files changed, 370 insertions(+), 831 deletions(-) > > OK, it's finally clear I can't keep up with reviewing 32 patches posted > at once... Luckily, all those patches seem to be dealing with parallel port > control), not the PATA control! Of course, when I volunteered to review the > PATA driver patches, I didn't expect such patch volumes -- I mostly expected > some odd fixes, not a massive driver rework... :-/ So you're going to review the (P)ATA parts (if any) only. Maybe Sudip (as parport maintainer) could review the parallel port parts?
On 3/18/23 9:55 PM, Ondrej Zary wrote: >>> This patch series simplifies bpck6 code, removing ppc6lnx.c file to match >>> the simplicity of other protocol drivers. It also converts the direct >>> port I/O access to paraport access functions. This conversion revealed that >>> there's no 8-bit and 16-bit EPP support in parport_pc so patch 11 implements >>> that. >>> >>> Tested with Backpack CD-RW 222011 and CD-RW 19350. >>> >>> Signed-off-by: Ondrej Zary <linux@zary.sk> >>> --- >>> drivers/ata/pata_parport/bpck6.c | 452 +++++++++++++++++++++++++++-------- >>> drivers/ata/pata_parport/ppc6lnx.c | 726 --------------------------------------------------------- >>> drivers/parport/parport_pc.c | 20 +- >>> include/uapi/linux/parport.h | 3 + >>> 4 files changed, 370 insertions(+), 831 deletions(-) >> >> OK, it's finally clear I can't keep up with reviewing 32 patches posted >> at once... Luckily, all those patches seem to be dealing with parallel port >> control), not the PATA control! Of course, when I volunteered to review the >> PATA driver patches, I didn't expect such patch volumes -- I mostly expected >> some odd fixes, not a massive driver rework... :-/ > > So you're going to review the (P)ATA parts (if any) only. I saw no PATA parts in this patcheset... > Maybe Sudip (as parport maintainer) could review the parallel port parts? I have no objections! :-) MBR, Sergey
On Sunday 19 March 2023 21:02:43 Sergey Shtylyov wrote: > On 3/18/23 9:55 PM, Ondrej Zary wrote: > > >>> This patch series simplifies bpck6 code, removing ppc6lnx.c file to match > >>> the simplicity of other protocol drivers. It also converts the direct > >>> port I/O access to paraport access functions. This conversion revealed that > >>> there's no 8-bit and 16-bit EPP support in parport_pc so patch 11 implements > >>> that. > >>> > >>> Tested with Backpack CD-RW 222011 and CD-RW 19350. > >>> > >>> Signed-off-by: Ondrej Zary <linux@zary.sk> > >>> --- > >>> drivers/ata/pata_parport/bpck6.c | 452 +++++++++++++++++++++++++++-------- > >>> drivers/ata/pata_parport/ppc6lnx.c | 726 --------------------------------------------------------- > >>> drivers/parport/parport_pc.c | 20 +- > >>> include/uapi/linux/parport.h | 3 + > >>> 4 files changed, 370 insertions(+), 831 deletions(-) > >> > >> OK, it's finally clear I can't keep up with reviewing 32 patches posted > >> at once... Luckily, all those patches seem to be dealing with parallel port > >> control), not the PATA control! Of course, when I volunteered to review the > >> PATA driver patches, I didn't expect such patch volumes -- I mostly expected > >> some odd fixes, not a massive driver rework... :-/ > > > > So you're going to review the (P)ATA parts (if any) only. > > I saw no PATA parts in this patcheset... > > > Maybe Sudip (as parport maintainer) could review the parallel port parts? > > I have no objections! :-) Looks like Sudip does not care. What needs to be done so this can be merged?
On 3/22/23 21:10, Ondrej Zary wrote: > On Sunday 19 March 2023 21:02:43 Sergey Shtylyov wrote: >> On 3/18/23 9:55 PM, Ondrej Zary wrote: >> >>>>> This patch series simplifies bpck6 code, removing ppc6lnx.c file to match >>>>> the simplicity of other protocol drivers. It also converts the direct >>>>> port I/O access to paraport access functions. This conversion revealed that >>>>> there's no 8-bit and 16-bit EPP support in parport_pc so patch 11 implements >>>>> that. >>>>> >>>>> Tested with Backpack CD-RW 222011 and CD-RW 19350. >>>>> >>>>> Signed-off-by: Ondrej Zary <linux@zary.sk> >>>>> --- >>>>> drivers/ata/pata_parport/bpck6.c | 452 +++++++++++++++++++++++++++-------- >>>>> drivers/ata/pata_parport/ppc6lnx.c | 726 --------------------------------------------------------- >>>>> drivers/parport/parport_pc.c | 20 +- >>>>> include/uapi/linux/parport.h | 3 + >>>>> 4 files changed, 370 insertions(+), 831 deletions(-) >>>> >>>> OK, it's finally clear I can't keep up with reviewing 32 patches posted >>>> at once... Luckily, all those patches seem to be dealing with parallel port >>>> control), not the PATA control! Of course, when I volunteered to review the >>>> PATA driver patches, I didn't expect such patch volumes -- I mostly expected >>>> some odd fixes, not a massive driver rework... :-/ >>> >>> So you're going to review the (P)ATA parts (if any) only. >> >> I saw no PATA parts in this patcheset... >> >>> Maybe Sudip (as parport maintainer) could review the parallel port parts? >> >> I have no objections! :-) > > Looks like Sudip does not care. What needs to be done so this can be merged? I will have a look at the series this morning and merge it if I do not see any issues.
On Wed, 22 Mar 2023 at 12:11, Ondrej Zary <linux@zary.sk> wrote: > > On Sunday 19 March 2023 21:02:43 Sergey Shtylyov wrote: > > On 3/18/23 9:55 PM, Ondrej Zary wrote: > > > > >>> This patch series simplifies bpck6 code, removing ppc6lnx.c file to match > > >>> the simplicity of other protocol drivers. It also converts the direct > > >>> port I/O access to paraport access functions. This conversion revealed that > > >>> there's no 8-bit and 16-bit EPP support in parport_pc so patch 11 implements > > >>> that. > > >>> > > >>> Tested with Backpack CD-RW 222011 and CD-RW 19350. > > >>> > > >>> Signed-off-by: Ondrej Zary <linux@zary.sk> > > >>> --- > > >>> drivers/ata/pata_parport/bpck6.c | 452 +++++++++++++++++++++++++++-------- > > >>> drivers/ata/pata_parport/ppc6lnx.c | 726 --------------------------------------------------------- > > >>> drivers/parport/parport_pc.c | 20 +- > > >>> include/uapi/linux/parport.h | 3 + > > >>> 4 files changed, 370 insertions(+), 831 deletions(-) > > >> > > >> OK, it's finally clear I can't keep up with reviewing 32 patches posted > > >> at once... Luckily, all those patches seem to be dealing with parallel port > > >> control), not the PATA control! Of course, when I volunteered to review the > > >> PATA driver patches, I didn't expect such patch volumes -- I mostly expected > > >> some odd fixes, not a massive driver rework... :-/ > > > > > > So you're going to review the (P)ATA parts (if any) only. > > > > I saw no PATA parts in this patcheset... > > > > > Maybe Sudip (as parport maintainer) could review the parallel port parts? > > > > I have no objections! :-) > > Looks like Sudip does not care. What needs to be done so this can be merged? oops.. sorry. I missed it.