Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp504871imn; Wed, 27 Jul 2022 12:04:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1slD/rBMuRPXNaP57VSmgJ6+/LQc3zyTav/Dws541KGNkk7AjCGDcjAZtF0oFiUA0zF7lPh X-Received: by 2002:a17:906:5a61:b0:72b:1468:7fac with SMTP id my33-20020a1709065a6100b0072b14687facmr18561371ejc.440.1658948676826; Wed, 27 Jul 2022 12:04:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658948676; cv=none; d=google.com; s=arc-20160816; b=br+64EV6eFXPy462i9XGpwDE19TpD63m+KZD7mBh6oDdrcRYHOuFo7cAdXbIRKRwF2 EHrzrxjIeomYP5nXCtZex+0lT2j9z8Vx474I5eDIzW4XKZkWQsoLXJeTpOmFoEW6zgxg lAAOV1R0Rx6yaevB6qmztb+ZY7OHIXR0/ImQn8KPkgkHiaotfjsKbMl2Wu4yEK36yflM UpWkpeSR9JVZVg3bC4/f2rW8lgPJA8sp5Yl4439Zs3kDY3DF6uYtoZN9xQkpmeqe/K4E Y48XPMGFiIJPAUhVdWwkIjGj9IVOvr1oX+/kj0ASpcZo4TEEPZ+GK0MMC9WumJ8hJ/NN Dbrw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=CwHqZsQfdL6ooK+MOwY7nrJScksY8RWLMqEZaytjzK0=; b=Rrhwb6/G5SJJX+XFviAHsgHtLsI8XgorCFIHbwCkeckYhGL+S11lspvF/9cUI6NZAy mCOovVNgwwp5wZ6Vb0hDLZpT86b84O7ZJpbAILiX43D7bawV8XiPrN6PSc73nHdtRLv/ RDK22rDd5xk1OSWdf4stbKEfvV9tLgtzWzeLrFnGhGQOtEr9RJtD3wgHZ+Iy1wJhGNq1 xZlYt53M0ukL1yEx2drs03LRRzEeqNFw+NmmWGPmw9/dKAnSGvVTDhyD8kj37+Vclint cTyJpPA6C5F2IsN0NrJEA0NDO7UpFG+ix5Oxi5yDNUM2GuWrWX/oPSFx1HQ6t1xMxJpH D8VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht16-20020a170907609000b007235c2c8a7bsi21409115ejc.855.2022.07.27.12.04.11; Wed, 27 Jul 2022 12:04:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235679AbiG0StU (ORCPT + 99 others); Wed, 27 Jul 2022 14:49:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239032AbiG0Ssz (ORCPT ); Wed, 27 Jul 2022 14:48:55 -0400 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97F961260CD; Wed, 27 Jul 2022 10:46:07 -0700 (PDT) Received: by mail-pl1-f174.google.com with SMTP id w7so16659362ply.12; Wed, 27 Jul 2022 10:46:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=CwHqZsQfdL6ooK+MOwY7nrJScksY8RWLMqEZaytjzK0=; b=cz3sFRO1jxSm/mLffRrbfLLKiG/tk61dlyAySmSXNfIu0GJnTvvA6+qILxcpm87Sd7 c06NkD/WlIswcLEuSgUV6XlcUeXsj0RO8APAtREveIDI7c8OLT8FuqJC09tmKRhQkCOH IWeoWU898s0a7XaOLBJzirXMUXEEQqsr+p7WnzYcU0IoC5Sxsqv622BtXl5Uf0BOeIP1 fhOh3YO8yqBh7YZWzfO8gOQvJUP7VOYeC4pRb8g2TegnOQDmFYf2+Fuf4Uwzg9s3NOw9 c1G2SEeGKBvYHjZEEdlrG5MNLg1EpKWFTsOjkoJ7oeY7MZC5e3+7QooiM6Orj8sZWF/b NlNw== X-Gm-Message-State: AJIora8pH6omqsXRk66Zi5I9B6aFeIeUa65m5M5R6KoCeEQpMSF4ghVl 611crlh/oXLo9qihuqDlPAoyzeV2nZM= X-Received: by 2002:a17:902:bd47:b0:16a:71a4:9bfd with SMTP id b7-20020a170902bd4700b0016a71a49bfdmr22888898plx.109.1658943966412; Wed, 27 Jul 2022 10:46:06 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:a84e:2ec1:1b57:b033? ([2620:15c:211:201:a84e:2ec1:1b57:b033]) by smtp.gmail.com with ESMTPSA id lb18-20020a17090b4a5200b001f09d9b6673sm2139261pjb.7.2022.07.27.10.46.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Jul 2022 10:46:05 -0700 (PDT) Message-ID: Date: Wed, 27 Jul 2022 10:46:03 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH V1] scsi: ufs: Get boot device storage type from command line Content-Language: en-US To: Chetan C R , jejb@linux.ibm.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <1658910535-31802-1-git-send-email-quic_cchinnad@quicinc.com> From: Bart Van Assche In-Reply-To: <1658910535-31802-1-git-send-email-quic_cchinnad@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/27/22 01:28, Chetan C R wrote: > diff --git a/drivers/ufs/Kconfig b/drivers/ufs/Kconfig > index 90226f7..9d2f84e 100644 > --- a/drivers/ufs/Kconfig > +++ b/drivers/ufs/Kconfig > @@ -9,6 +9,7 @@ menuconfig SCSI_UFSHCD > select PM_DEVFREQ > select DEVFREQ_GOV_SIMPLE_ONDEMAND > select NLS > + select UFS_QCOM_CMDLINE if ARCH_QCOM > help > Enables support for UFS (Universal Flash Storage) host controllers. > A UFS host controller is an electronic component that is able to [ ... ] > +__setup("androidboot.bootdevice=", get_android_boot_dev_v3); How can this work since __setup() declarations should occur in the core kernel and since the ufshcd driver can be built as a kernel module? Thanks, Bart.