From mboxrd@z Thu Jan 1 00:00:00 1970 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 7617CC433EF for ; Mon, 25 Apr 2022 01:37:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240193AbiDYBkn (ORCPT ); Sun, 24 Apr 2022 21:40:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240191AbiDYBke (ORCPT ); Sun, 24 Apr 2022 21:40:34 -0400 Received: from esa1.hgst.iphmx.com (esa1.hgst.iphmx.com [68.232.141.245]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1663E5FBE for ; Sun, 24 Apr 2022 18:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1650850651; x=1682386651; h=message-id:date:mime-version:subject:from:to:cc: references:in-reply-to:content-transfer-encoding; bh=4qjsgGSnOsl1+VPd9smV9N4k5ycwpkxlrj/HoG4I0rs=; b=LXzsuB+XnjPeoPypMIB/5jX84093bmnpl0JKX8VvsNcLKYjPCkOeK6+J KBtnBUfRwsuPcOH7i8cFMUPKEVXihmSrM8CFDW79wrjOqei51pliEUgw+ Q+VLfu+yr7frA3QlC1Vbd6lDdRG/UuGZ9r8yt1Bjze0eTRRBNQSpdbBNS Q1R2aXSNaKmVhEjl7rh+WtXEc1dV5vpZxE5zG7blq5MWzhQXBwJ4Di+DU nOz0cVZ2YkMab0bcTTs5blOVeLbBbzgG/3tTSTFB9neERIEx6Bo5FwDc0 COB+8+3OByupaSXZo31Qe54yBZPMhmALyEJSfpNXqyo2rG8KI48PeABtc Q==; X-IronPort-AV: E=Sophos;i="5.90,287,1643644800"; d="scan'208";a="310680888" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 25 Apr 2022 09:37:30 +0800 IronPort-SDR: +dLUkQVhJM0z1UqXTIgvfyXRht8E0CGm+J0TUtBGfSzY9akAnrzfIzX9DmlgI3r1u4d5Q6k4Oq LOd+yKLOF8VPR6l75Y+xvFZ+03bg8WVHQl1UujVpQDkZSnB0mf9UyrMDyD+tPwj+yeGJM9LKCU IMufhdb/eL5YxDK9jZDxhrgtKjd/yUvZi7N/vWSjkvWSenIcXe9IpvQz9Dpfx59mgXbIRqL2Nu 5vU7B7uEJ2+QVo2ULfRAPvAkI0VjhOFg2SBu8AwJB67abo6n60QSl9H0DHY5kjnFzgy/vIlklo 98xDpkNs8AW9UGk6UIdw0OJE Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 24 Apr 2022 18:08:27 -0700 IronPort-SDR: WFjYSObz14ElnUlD4GZ7Yh4ximjOIKObY/5NWiSf/bca8+Q4lZtInbvwSOzY3KHnkAtlHIS7XW 71OQRK43xFbjtSrqKR9Fx9RQDDTUe0I2nIDymzOU2LRsOmeU9/2oJqmrwZe89no1im8d71d4E+ zpW5GEdGkPYya4ZPewk1Vio9+ioA0A1v1x0q58ow1Y4Lm3GYpKDLojThPi+lmE0IqQpS3luTrQ GPZPWIDhA29z7HK3Q8dwGaqqOBKVUIxZW6QDJY3U0OW1TS5teURYQtaee2KNpfGRIhpNg9dbEb Di4= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 24 Apr 2022 18:37:30 -0700 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4Kmngt1DsVz1SVny for ; Sun, 24 Apr 2022 18:37:30 -0700 (PDT) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:references:to:from:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1650850649; x=1653442650; bh=4qjsgGSnOsl1+VPd9smV9N4k5ycwpkxlrj/ HoG4I0rs=; b=gCqNnGVqxMz+MIbVj+lmeoy8wdVCbqzmbdmzu/deHN3Ooh9y6O9 PmwOdsMHGW5soq/AediF/CyiVRZ+HANpfjNRS5rA2rDo/IkaUza+omyrK8YDtYfq WMkKuZiPFKuzvnvF0bpvR0hA+gdAKyEcgOykrFfBbEHhoemykrSRHtMXhxeOrbXY IG0ZrtSP4Q/LOp/ukusknY/CpvJ+xJeHUSguVWoFE4zMOj4NuoSACWhcsxf/qwlx MkOHmt8U8gFH9khohBeJfjluw9fcWwCmFw0RI6BD19oNJTMFAk3JcwPyH8kMjEiR 3z0SgnVzQt5OaJ8UeKJ2AX5yIb/PjSPL1gg== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 83gUd-WiVJDc for ; Sun, 24 Apr 2022 18:37:29 -0700 (PDT) Received: from [10.225.163.24] (unknown [10.225.163.24]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4Kmngr5vR7z1Rvlx; Sun, 24 Apr 2022 18:37:28 -0700 (PDT) Message-ID: <59c773a2-ab66-d36d-46d5-b04cb7cc9eec@opensource.wdc.com> Date: Mon, 25 Apr 2022 10:37:27 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v2 5/5] doc: admin-guide: Update libata kernel parameters Content-Language: en-US From: Damien Le Moal To: linux-ide@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org Cc: Sergey Shtylyov References: <20220425013417.3947791-1-damien.lemoal@opensource.wdc.com> <20220425013417.3947791-6-damien.lemoal@opensource.wdc.com> Organization: Western Digital Research In-Reply-To: <20220425013417.3947791-6-damien.lemoal@opensource.wdc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org On 4/25/22 10:34, Damien Le Moal wrote: > Cleanup the text text describing the libata.force boot parameter and > update the list of the values to include all supported horkage and link > flag that can be forced. > > Signed-off-by: Damien Le Moal > --- > .../admin-guide/kernel-parameters.txt | 71 ++++++++++++++----- > 1 file changed, 55 insertions(+), 16 deletions(-) Jonathan, Are you OK with these changes ? Will you take this patch or should I keep it with the series in the libata tree ? Either way work for me. Thanks ! > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 3f1cc5e317ed..00fb37cab649 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -2622,14 +2622,14 @@ > when set. > Format: > > - libata.force= [LIBATA] Force configurations. The format is comma- > - separated list of "[ID:]VAL" where ID is > - PORT[.DEVICE]. PORT and DEVICE are decimal numbers > - matching port, link or device. Basically, it matches > - the ATA ID string printed on console by libata. If > - the whole ID part is omitted, the last PORT and DEVICE > - values are used. If ID hasn't been specified yet, the > - configuration applies to all ports, links and devices. > + libata.force= [LIBATA] Force configurations. The format is a comma- > + separated list of "[ID:]VAL" where ID is PORT[.DEVICE]. > + PORT and DEVICE are decimal numbers matching port, link > + or device. Basically, it matches the ATA ID string > + printed on console by libata. If the whole ID part is > + omitted, the last PORT and DEVICE values are used. If > + ID hasn't been specified yet, the configuration applies > + to all ports, links and devices. > > If only DEVICE is omitted, the parameter applies to > the port and all links and devices behind it. DEVICE > @@ -2639,7 +2639,7 @@ > host link and device attached to it. > > The VAL specifies the configuration to force. As long > - as there's no ambiguity shortcut notation is allowed. > + as there is no ambiguity, shortcut notation is allowed. > For example, both 1.5 and 1.5G would work for 1.5Gbps. > The following configurations can be forced. > > @@ -2652,19 +2652,58 @@ > udma[/][16,25,33,44,66,100,133] notation is also > allowed. > > + * nohrst, nosrst, norst: suppress hard, soft and both > + resets. > + > + * rstonce: only attempt one reset during hot-unplug > + link recovery. > + > + * [no]dbdelay: Enable or disable the extra 200ms delay > + before debouncing a link PHY and device presence > + detection. > + > * [no]ncq: Turn on or off NCQ. > > - * [no]ncqtrim: Turn off queued DSM TRIM. > + * [no]ncqtrim: Enable or disable queued DSM TRIM. > + > + * [no]ncqati: Enable or disable NCQ trim on ATI chipset. > + > + * [no]trim: Enable or disable (unqueued) TRIM. > + > + * trim_zero: Indicate that TRIM command zeroes data. > + > + * max_trim_128m: Set 128M maximum trim size limit. > + > + * [no]dma: Turn on or off DMA transfers. > + > + * atapi_dmadir: Enable ATAPI DMADIR bridge support. > + > + * atapi_mod16_dma: Enable the use of ATAPI DMA for > + commands that are not a multiple of 16 bytes. > + > + * [no]dmalog: Enable or disable the use of the > + READ LOG DMA EXT command to access logs. > + > + * [no]iddevlog: Enable or disable access to the > + identify device data log. > + > + * [no]logdir: Enable or disable access to the general > + purpose log directory. > + > + * max_sec_128: Set transfer size limit to 128 sectors. > + > + * max_sec_1024: Set or clear transfer size limit to > + 1024 sectors. > > - * nohrst, nosrst, norst: suppress hard, soft > - and both resets. > + * max_sec_lba48: Set or clear transfer size limit to > + 65535 sectors. > > - * rstonce: only attempt one reset during > - hot-unplug link recovery > + * [no]lpm: Enable or disable link power management. > > - * dump_id: dump IDENTIFY data. > + * [no]setxfer: Indicate if transfer speed mode setting > + should be skipped. > > - * atapi_dmadir: Enable ATAPI DMADIR bridge support > + * dump_id: Dump IDENTIFY data. > > * disable: Disable this device. > -- Damien Le Moal Western Digital Research