Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31A09C433F5 for ; Thu, 10 Feb 2022 09:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239202AbiBJJ5G (ORCPT ); Thu, 10 Feb 2022 04:57:06 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235293AbiBJJ5F (ORCPT ); Thu, 10 Feb 2022 04:57:05 -0500 Received: from mxout03.lancloud.ru (mxout03.lancloud.ru [45.84.86.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 095CE128 for ; Thu, 10 Feb 2022 01:57:06 -0800 (PST) Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout03.lancloud.ru 2D2CE20EAFBF Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [PATCH v3] pata_hpt3x2n: check channel enable bits To: Damien Le Moal , References: <062c3834-da7e-273e-177b-d7aea4b1ba81@omp.ru> <9a9c5fb7-904a-5066-fd30-6288d7cfdff5@opensource.wdc.com> <920357d9-16fc-c271-ac58-1f4e0d5f9a7a@omp.ru> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: Date: Thu, 10 Feb 2022 12:57:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT02.lancloud.ru (fd00:f066::142) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org On 2/10/22 12:49 PM, Damien Le Moal wrote: >>>> The driver's prereset() method still doesn't check the channel enable bits. >>>> The bug was there for the entire time the driver has existed. :-/ >>>> >>>> Alan Cox fixed the HPT37x driver in commit b5bf24b94c65 ("[PATCH] hpt37x: >>>> Check the enablebits") but forgot to check the HPT3x2N driver which has >>>> the same bug. :-/ >>>> >>>> Signed-off-by: Sergey Shtylyov >>> >>> Applied to for-5.18. Thanks ! >> >> What about the (analogous) pata_hpoet366 paych? > > I think it fell through the cracks: I can't find it... > Can you resend ? Done. MBR, Sergey