From patchwork Wed Oct 18 17:51:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurence Oberman X-Patchwork-Id: 10015145 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 93C2F602C8 for ; Wed, 18 Oct 2017 17:51:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8328B28E9A for ; Wed, 18 Oct 2017 17:51:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7838528F52; Wed, 18 Oct 2017 17:51:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00ECF28E9A for ; Wed, 18 Oct 2017 17:51:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750800AbdJRRvF (ORCPT ); Wed, 18 Oct 2017 13:51:05 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:48332 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbdJRRvE (ORCPT ); Wed, 18 Oct 2017 13:51:04 -0400 Received: by mail-qt0-f196.google.com with SMTP id f8so11304999qta.5 for ; Wed, 18 Oct 2017 10:51:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/2mRJgrXKhycj6qWwQKroMt2nGB3k8h60Djh0IUQlRE=; b=di9eDQ68wi62GSf2df6Ujroh9XC5IPCvDtSta5hI8FaR7TUXRqy1M9hFKa/0j7pTvC xLzSVVaVpX48yDsC0Lb1kqYcxV0xMMIJegOB7OzwUWzHqj8utwcQKsLniGDQxSZVSspE IUl73V3aIUxhavgJBJi7rP1Pal/6MG08sRZvnFXAla3FYwOAGFZt/HvtEdyyTKFespg2 FtihQ5oq4rJG1nKOn6fpIhQTQbSGTA57+GwW9EvxWvX/2fREjKcNbYDXGIV/AAlVTD5k oPs8yqUUoog+XQhciDm5hlhk0VGIjo7Am19zd3/275nlyGnbc1tZlzwyS6TFLRwfDZaQ Ucsw== X-Gm-Message-State: AMCzsaUAChczEBWn9G+7tevfsJeT1Ji/rwnaHB7Y+hxMkTb6BGCEoXGW AdlDCYVuGowMD4DSgQfaJG4vvCGTCr7KFDIZC3S09u7i X-Google-Smtp-Source: ABhQp+Qhw3UgQtm5xE8T1lErJBsxSQQ/tfAA0ezd1IzgRLP3H38I4VVJLi4a11gxBn2qwtwmR+fNxfABHNfHD3jAxKc= X-Received: by 10.200.49.228 with SMTP id i33mr4476958qte.95.1508349064160; Wed, 18 Oct 2017 10:51:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.191.10 with HTTP; Wed, 18 Oct 2017 10:51:03 -0700 (PDT) In-Reply-To: <4717328f-24b2-9273-c41c-a02f27e8b921@infradead.org> References: <1508346789.13599.2.camel@redhat.com> <3d702bd5-b96e-3f5b-482b-b2c36278c219@infradead.org> <4717328f-24b2-9273-c41c-a02f27e8b921@infradead.org> From: Laurence Oberman Date: Wed, 18 Oct 2017 13:51:03 -0400 Message-ID: Subject: Re: Patch: add to Documentation/scsi for scsi_dev_flags and command line passing To: Randy Dunlap Cc: linux-scsi , "Martin K. Petersen" Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Indeed it was Evolution and then linux-scsi rejected my fix. Trying again, for some reason it thought I had html Signed-off-by: Laurence Oberman On Wed, Oct 18, 2017 at 1:46 PM, Randy Dunlap wrote: > On 10/18/17 10:28, Laurence Oberman wrote: >> I just noticed that >> Was taken straight out of git after changing the Doc file. >> Let me see why git did that >> > > It's more likely that Evolution did it. > >> >> On Wed, Oct 18, 2017 at 1:25 PM, Randy Dunlap > wrote: >> >> On 10/18/17 10:13, Laurence Oberman wrote: >> > Tired of forgetting about this so documented it for others so they also >> > don't spend unnecessary time figuring this out. >> > >> > Signed-off-by: Laurence Oberman > >> > >> > diff --git a/Documentation/scsi/scsi-parameters.txt >> > b/Documentation/scsi/scsi-parameters.txt >> > index 8477655..c9e9ce8 100644 >> > --- a/Documentation/scsi/scsi-parameters.txt >> > +++ b/Documentation/scsi/scsi-parameters.txt >> > @@ -116,3 +116,9 @@ parameters may be changed at runtime by the command >> > >> > wd33c93= [HW,SCSI] >> > See header of drivers/scsi/wd33c93.c. >> > + >> > +Additional notes on passing parameters on the command line. >> >> line: >> >> > +Its not intuitively obvious how to pass certain parameters on the boot >> >> It's >> >> > line. >> > +For parameters such as scsi_dev_flags, you need to pass to the >> > scsi_mod as follows >> >> as follows: >> >> > +scsi_mod.dev_flags=LIO-ORG:thin2:0x80000000 >> > + >> > -- >> > 1.8.3.1 >> >> >> Also the patch has some weird line breaks. >> >> >> -- >> ~Randy >> >> > > > -- > ~Randy --- a/Documentation/scsi/scsi-parameters.txt +++ b/Documentation/scsi/scsi-parameters.txt @@ -116,3 +116,11 @@ parameters may be changed at runtime by the command wd33c93= [HW,SCSI] See header of drivers/scsi/wd33c93.c. + +Additional notes on passing parameters on the command line: + +It's not intuitively obvious how to pass certain parameters on the boot line. +For parameters such as scsi_dev_flags, you need to pass to the scsi_mod as +follows. +On kernel line add scsi_mod.dev_flags=LIO-ORG:thin2:0x8000000 +