Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2219666pxp; Mon, 21 Mar 2022 14:10:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJBk2ue2it1K6vdzqgM9DUlG5a/1WwkpEznlxPytLpSPIs75a5NIGMhHrS1PHG6vwjxXaF X-Received: by 2002:a17:90b:4f8d:b0:1c6:408b:6b0d with SMTP id qe13-20020a17090b4f8d00b001c6408b6b0dmr1122063pjb.90.1647897044465; Mon, 21 Mar 2022 14:10:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647897044; cv=none; d=google.com; s=arc-20160816; b=QH5GfxVXZ0jzKDCOH/655OZN/LRkNap8jiSwJD43SxffpnyVJ8P9Jb4IeunPiIS+ny +Cby1gB4uE8qnWibPIEpJMgBvfiUPlyozUMkSIKvJajaTj1ml5kreuf3JQNNi7Dp4Upu 51IhPQf9h+ElRPPvTHCo6lXmwRrhzsIP0aDcW5p5n5clLbJVMCgJyddNgelKQvBCRLra wNq8YkYk/4MQLYSvurhZ3SJRg/i+/DKHPAIAeljXFxb45r8p3C697t+sjioqfzcNl4eS 6cAMTZ9bTmRWyiDiNy9Xcpm24oiqtWBtAYjcWO5cwfjXa43HPZe4U1y1OPdB8VVlBFeI BCaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=NQxPqI4znNnC+6KXkYSr2Woa8tZHGbyP3/LXHmOxx6g=; b=qWslR8Y86irIwq29fmum4BIDKjrTpGQMy2YK2wOXjVnfin94+3coR+w4BFd6XTV//b K1UBZXkSZpc4Rpj3IfBOLZQYcyvDydJ2KLRfFB26Mrv4JFVUTQ2mEJDbQE0d83l86yUG apZDv3zvLSDq6ss1hv5ifu+fXZ4+1i1aw3FUTpcSesAXZ+65IbDoOj7Y+AwT68zl2nz0 /qPZPUxaNaEPVxp0GSW2Ej55H9iUT0p9qJdpJPI31UxDqwomRy5Bczimw478xUR8v/w1 n8kvmaQ53uVw7i7bU9ziYm6GJiiQ0Ct/SoJj9p6qm4nrsN1rOYjsVvZ991XoFqfKp/oN nAgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=icQe6ifH; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n1-20020a170903110100b00153b2d16545si11201869plh.333.2022.03.21.14.10.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:10:44 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=icQe6ifH; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B1F8160683; Mon, 21 Mar 2022 14:02:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346817AbiCULm5 (ORCPT + 99 others); Mon, 21 Mar 2022 07:42:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346855AbiCULmz (ORCPT ); Mon, 21 Mar 2022 07:42:55 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0F23DAFE9 for ; Mon, 21 Mar 2022 04:41:28 -0700 (PDT) Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220321114123epoutp03da0b78b6d1854d370bf3fd32efbbcb6f~eYo-Eb0kO2129721297epoutp03Y for ; Mon, 21 Mar 2022 11:41:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220321114123epoutp03da0b78b6d1854d370bf3fd32efbbcb6f~eYo-Eb0kO2129721297epoutp03Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1647862883; bh=NQxPqI4znNnC+6KXkYSr2Woa8tZHGbyP3/LXHmOxx6g=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=icQe6ifHX0v+yA3lTPGvljzMV5F05HOBN22LqltajdhhYymxlXjAlwGaSDNCJjMYe BleLH+QJQVDiRfid6/oS0WO6Dy/pEWlofDAI/K2pdp85MRupanI+niVqmpZml4I79H RuCzmNXnv2CVvyMGxrRDsYkOuLLJIAtGkMr+ifvU= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20220321114122epcas5p4e025f91683f41381e843a361849e5fa5~eYo_fkMZV1202712027epcas5p4I; Mon, 21 Mar 2022 11:41:22 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4KMXkk5Fg7z4x9Pv; Mon, 21 Mar 2022 11:41:18 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id B9.BF.06423.85468326; Mon, 21 Mar 2022 20:41:12 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20220321114111epcas5p246b51a7d2563e8e455a211a74e50e094~eYo0gOGwc2711227112epcas5p2r; Mon, 21 Mar 2022 11:41:11 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220321114111epsmtrp12647567c9e886669af03a4b933e59126~eYo0fNEyD2776827768epsmtrp1j; Mon, 21 Mar 2022 11:41:11 +0000 (GMT) X-AuditID: b6c32a49-b01ff70000001917-0d-62386458a0bd Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id F2.48.03370.75468326; Mon, 21 Mar 2022 20:41:11 +0900 (KST) Received: from alimakhtar03 (unknown [107.122.12.5]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220321114110epsmtip258ea940cbaf09a6470ed94c471d0a993~eYozD92FO2161421614epsmtip2D; Mon, 21 Mar 2022 11:41:10 +0000 (GMT) From: "Alim Akhtar" To: "'Krzysztof Kozlowski'" , "'Andy Gross'" , "'Bjorn Andersson'" , "'Avri Altman'" , "'James E.J. Bottomley'" , "'Martin K. Petersen'" , , , Cc: "'Luca Weiss'" In-Reply-To: <20220320110616.18355-1-krzk@kernel.org> Subject: RE: [RFT] ufs: qcom: drop custom Android boot parameters Date: Mon, 21 Mar 2022 17:11:08 +0530 Message-ID: <000001d83d18$90552c00$b0ff8400$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQI06NSZ3OommDLncQEXIR6oA1rfPgHhUmL2rAFUf+A= Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIJsWRmVeSWpSXmKPExsWy7bCmlm5EikWSweV3AhbnHv9msXj58yqb xen971gsFt3YxmRx/vwGdouJ+8+yW1zeNYfNovv6DjaLhyuMLJYf/8fk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P+5+jjdXNXG7NeXNhw35ODKSpnxkIt9bUOSizFGYmGWsxF xYkA7LF5OC0DAAA= X-CMS-MailID: 20220321114111epcas5p246b51a7d2563e8e455a211a74e50e094 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220320110632epcas5p2d533561db40978dd00b81b391096e3a1 References: <20220320110616.18355-1-krzk@kernel.org> X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 >-----Original Message----- >From: Krzysztof Kozlowski [mailto:krzk@kernel.org] >Sent: Sunday, March 20, 2022 4:36 PM >To: Andy Gross ; Bjorn Andersson >; Alim Akhtar ; >Avri Altman ; James E.J. Bottomley >; Martin K. Petersen ; >linux-arm-msm@vger.kernel.org; linux-scsi@vger.kernel.org; linux- >kernel@vger.kernel.org >Cc: Krzysztof Kozlowski ; Luca Weiss > >Subject: [RFT] ufs: qcom: drop custom Android boot parameters > >The QCOM UFS driver requires an androidboot.bootdevice command line >argument matching the UFS device name. If the name is different, it refuses >to probe. Thise androidboot.bootdevice is provided by stock/vendor (from an In case you are resending s/thise/this Rest looks good. >Android-based device) bootloader. > >This does not make sense from Linux point of view. Driver should be able to >boot regardless of bootloader. Driver should not depend on some Android >custom environment data. > >Cc: Luca Weiss >Signed-off-by: Krzysztof Kozlowski > >--- > >Not tested, please kindly provide tests. > >See also: >https://lore.kernel.org/linux-devicetree/f61abc2b-3ce8-7b1f-3d28- >8a4a03ec58eb@kernel.org/T/#u >--- > drivers/scsi/ufs/ufs-qcom.c | 15 --------------- > 1 file changed, 15 deletions(-) > >diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index >0d2e950d0865..586c0e567ff9 100644 >--- a/drivers/scsi/ufs/ufs-qcom.c >+++ b/drivers/scsi/ufs/ufs-qcom.c >@@ -957,18 +957,6 @@ static const struct reset_control_ops >ufs_qcom_reset_ops = { > .deassert = ufs_qcom_reset_deassert, > }; > >-#define ANDROID_BOOT_DEV_MAX 30 >-static char android_boot_dev[ANDROID_BOOT_DEV_MAX]; >- >-#ifndef MODULE >-static int __init get_android_boot_dev(char *str) -{ >- strlcpy(android_boot_dev, str, ANDROID_BOOT_DEV_MAX); >- return 1; >-} >-__setup("androidboot.bootdevice=", get_android_boot_dev); -#endif >- > /** > * ufs_qcom_init - bind phy with controller > * @hba: host controller instance >@@ -988,9 +976,6 @@ static int ufs_qcom_init(struct ufs_hba *hba) > struct resource *res; > struct ufs_clk_info *clki; > >- if (strlen(android_boot_dev) && strcmp(android_boot_dev, >dev_name(dev))) >- return -ENODEV; >- > host = devm_kzalloc(dev, sizeof(*host), GFP_KERNEL); > if (!host) { > err = -ENOMEM; >-- >2.32.0