Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2906905rdb; Wed, 4 Oct 2023 15:45:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGOibuCcLSPzU3uZIvxT8Ahh2w9Zn9XsnJSgMnw5+sYhspwvut2tsCaCYmASIt+wSryQaMQ X-Received: by 2002:a05:6a21:3b45:b0:13d:ac08:6b79 with SMTP id zy5-20020a056a213b4500b0013dac086b79mr2974073pzb.60.1696459505462; Wed, 04 Oct 2023 15:45:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696459505; cv=none; d=google.com; s=arc-20160816; b=g0Kryjr6xuRu9ZqEexvO0aOoIGvdHTepT8qWOMy3RpCni8zfi/b142DEgyZ75RWdOH HNIyzsrUZRvRN7Mrw7VHJma7x9mL+WbGJIiSqnv6UhVN5K/O47u9HGvP/mnYYrZyMyxy 4+5Hl48ynmhpM1y+V0+Bz6LjFLZQ7EgM3xVQOmGu8MXcMpuqoZeOMUhapU1I34lbkWCA OGRy+bP8C+YeNjMimWq/UY58G7cFA6WRxA72STRNyJUKYBcvV/wyZA1wQnVHjpQxLAIb wSENdy7Qt/D+b9dlWR7kCTHYM/3OikzQHdjULC4nuTya9Ka7JEcJ9kU8yGvE/7xLDAP3 en7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=QE59PIMBveazloHYRaE5YywAY3Q8/dG41y7XJY0bGZQ=; fh=5LYscqznj+fO6/kTtpDXoFIUgZQehTanz2oPr6MSI0k=; b=fNEFAP3MLaQVIqsE65sRvUbXzonhA0gss8DcwFLqGgCrSycWf2CcviaZHj/ZNh1IlS bhqFE/8sFrZit+/8c5n8bbhso1IVwjpkfZyQmMjXv1zWwb8pAalbBCBfwWgjQs9xYWGt i/vCkUu2VboeSjgJdYqN6hcivF5YcLj9UUaAk2Pwo7/18RIF9GdwNsxSPxOg+yhlqtdi 3ncQxCsT5A5RDdC2c6Qw/tYsEUe0GbUTfPN6cDn9p3FMFFstrCmnXApfMk1djC5+kuTg M30I70PxyOYMAaSriDNOdYmjKiqxvOjFoKx0+vxofdDZLGtLQDTI3bTnhmwsdEn96QeU jkZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ibVTPqmv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id a19-20020a056a000c9300b00691018e3f4dsi87352pfv.201.2023.10.04.15.44.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 15:45:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ibVTPqmv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 87CA8830F547; Wed, 4 Oct 2023 15:44:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236904AbjJDWog (ORCPT + 99 others); Wed, 4 Oct 2023 18:44:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233822AbjJDWof (ORCPT ); Wed, 4 Oct 2023 18:44:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1A2290; Wed, 4 Oct 2023 15:44:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62CF2C433C7; Wed, 4 Oct 2023 22:44:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696459472; bh=S6YkqsS+jM8OhnVJzdkiTNUfaHH2wWNp3iTGptEgCzA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ibVTPqmvQyVnrSSZSKOocBhyIV5caI8By7gsDftqS4PNEKoque9dR5vw1PQbFytFf YQ+UPgrVSiQ0Qrd4aV9II+1RpxFZ4x65y+4M9VqSrokw9SHK7KNichOr1JHgBNvt// MzyUA8Soovh7VlxlRko8AVSLuyxPXlP0d3pAhCl1UL9jT0Xa5p23oFQuGp7b2+r6Hh 97IPCwYt9fpuTEJ0rmnEO/UzkGH09Qn3LmEzCIMPn6dqLgZeywQVW3nl5IdIsV/7+V F942g6QF+7GaMlkYoW2wDj4d0disd4y5Ex2N2pCgBkRDOyH3EaP4lpvB7ctffOA9NN p2zAw8ASECynw== Message-ID: <583d9807-764b-9266-bf55-e6aefe8c4b82@kernel.org> Date: Thu, 5 Oct 2023 07:44:30 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 2/4] ata: pata_parport: implement set_devctl Content-Language: en-US To: Ondrej Zary , Sudip Mukherjee Cc: Christoph Hellwig , Sergey Shtylyov , Tim Waugh , linux-parport@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231004185235.27417-1-linux@zary.sk> <20231004185235.27417-3-linux@zary.sk> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20231004185235.27417-3-linux@zary.sk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 04 Oct 2023 15:44:42 -0700 (PDT) On 10/5/23 03:52, Ondrej Zary wrote: > Add missing ops->sff_set_devctl implementation. > > Fixes: 246a1c4c6b7f ("ata: pata_parport: add driver (PARIDE replacement)") Missing "Cc: stable@vger.kernel.org" here. Same comment for patch 1. Otherwise, looks OK. > Reviewed-by: Sergey Shtylyov > Signed-off-by: Ondrej Zary > --- > drivers/ata/pata_parport/pata_parport.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/ata/pata_parport/pata_parport.c b/drivers/ata/pata_parport/pata_parport.c > index 258d189f42e5..cf87bbb52f1f 100644 > --- a/drivers/ata/pata_parport/pata_parport.c > +++ b/drivers/ata/pata_parport/pata_parport.c > @@ -51,6 +51,13 @@ static void pata_parport_dev_select(struct ata_port *ap, unsigned int device) > ata_sff_pause(ap); > } > > +static void pata_parport_set_devctl(struct ata_port *ap, u8 ctl) > +{ > + struct pi_adapter *pi = ap->host->private_data; > + > + pi->proto->write_regr(pi, 1, 6, ctl); > +} > + > static bool pata_parport_devchk(struct ata_port *ap, unsigned int device) > { > struct pi_adapter *pi = ap->host->private_data; > @@ -252,6 +259,7 @@ static struct ata_port_operations pata_parport_port_ops = { > .hardreset = NULL, > > .sff_dev_select = pata_parport_dev_select, > + .sff_set_devctl = pata_parport_set_devctl, > .sff_check_status = pata_parport_check_status, > .sff_check_altstatus = pata_parport_check_altstatus, > .sff_tf_load = pata_parport_tf_load, -- Damien Le Moal Western Digital Research