Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2967171pxf; Sun, 21 Mar 2021 13:22:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzC7jLljLFJob60VVx1HUrVT8HIiiUpGH6AOmKkuiSukCUwe4ZoAt4GHCuTEI9SvmNVKk0F X-Received: by 2002:a17:906:1352:: with SMTP id x18mr15673850ejb.545.1616358124530; Sun, 21 Mar 2021 13:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616358124; cv=none; d=google.com; s=arc-20160816; b=Nh7IIDX/InwKi1X1Ya8IQvdNKZPFVJOD8TtFJhugBKfHKdGgKL69o8W5DjF0HdE+14 s7GVOVaBodkTytfCvDuS0ZDtowzHrDSM0xUckAuPrOVz7oQyfH8CnCXJuisBob6Eo/lB cHr1fco/RdHzhIwgAb+ztcdjCvyhM9rN2jjLk34uWauA0V0wiTyNyMYbyz2L4tvQqZn5 JOZvJ0c1xEmkSG37OkZRcmUGLe3S8lnlxgHbYd3nW/mBSXvziOGSqQVLwvNuYNk+O9g/ g9SFp8bK6EEwsapWrQisq8sNaV/hxUBbXQPkKv/m4K+f1Pt1l+JeCVKQjr/FxgHjKc2d 0DkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:subject:cc:to :from:date; bh=UJxQxk4HO3Gzmdjtra3kzuhIXkBNxT430/I57WEvms8=; b=GB8Ii2MBowpP4plwhsk+/mWnAQ2o4F/M2m6gRQVDVvZ8K0/0hltG4tRwqqTEoOpctt aVClCgdKPAX5tZlKeGbR9n4Ud4lGGUuldcpyVjTWaeBnjx4mnasL8TB+glCrV9etoLUp I5nvqBE4zeyHT67BlX60xeG/Q28A3ulQiSlxA01os9QlvMezQtReGKvQHm8To1wozFw3 R3+xuqjIQHRU0XsApwVcBWalXUHS7HFGygxoa3bkvoabyIKIzUrHVoOZYUOFp6SsNSD9 c97NIV6waW+VWBj/Xw4EatWr4n+amezPbtstV+9OMV8PbRSnj0D1Gin8iB9QMOPtPzRz Ikzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x21si9727500eju.471.2021.03.21.13.21.41; Sun, 21 Mar 2021 13:22:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbhCUTz0 (ORCPT + 99 others); Sun, 21 Mar 2021 15:55:26 -0400 Received: from angie.orcam.me.uk ([157.25.102.26]:38022 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbhCUTzW (ORCPT ); Sun, 21 Mar 2021 15:55:22 -0400 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 7B85D92009C; Sun, 21 Mar 2021 20:55:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 713E992009B; Sun, 21 Mar 2021 20:55:17 +0100 (CET) Date: Sun, 21 Mar 2021 20:55:17 +0100 (CET) From: "Maciej W. Rozycki" To: linux-ide@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org cc: Jens Axboe , Christoph Hellwig Subject: [PATCH 0/3] ata: Module parameter clean-ups for pata_legacy and pata_platform Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, In the course of looking into Christoph's recent proposal to drop legacy IDE drivers I have come across a number of issues with module parameters of the pata_legacy and pata_platform drivers: errors in documentation present in the comment form, missing user-visible documentation, and unconditional poking at ISA I/O ports in pata_legacy that isn't there with the old ide-generic driver (the lack of `probe_mask' parameter). Here's a small patch series that addresses these issues. Overall I find the design of the pata_legacy driver's options a bit messy, e.g. the `all' vs the `probe_all' parameter, and the interpretation of masks where bits correspond to probed PATA locations in a particular system (rather than either all known or all existing), but it's been there long enough I think we have to keep it, so I merely tried to describe the current semantics. See the individual change descriptions for details. The changes have been run-time verified with an EISA system and a single ISA PATA adapter at the usual primary I/O location. They have also been verified (mainly for the correctness of MODULE_PARM_DESC use) with an x86/PC build (for pata_legacy) and a MIPS/SWARM build (for pata_platform). Please apply. Maciej