Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5415451pxu; Thu, 22 Oct 2020 01:25:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk7BORoid9OCzcVzd2MziBQjXiw/YR+g88mxQhBe3eLTOkFejCt/H1w06ZuLK3fhNVSi6V X-Received: by 2002:a17:906:9417:: with SMTP id q23mr1172945ejx.536.1603355145014; Thu, 22 Oct 2020 01:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603355145; cv=none; d=google.com; s=arc-20160816; b=lmBIuhlVFQ75NV7TIRr8IepBYKYuVLYVQOwjMzEeQSdYrrzp5OjxlWW3MjgG58aI/8 zwFSSg0OFuK3R+Iaa6iTFwrBeytXifRBsBOvJyR1UHA8m15NxJ1C96psMGRmOfQcA2pa n3pzfMDYigotD+6SBmkvrTHxCgtoSHbyP8RW1Ss7j0C2QGVsoHtDm3Wab+enexmX5u4a n9uJPfhal8ToKOodBEYnagodWqEOa4ZNOlAm/EVrlmm2yeIP6T/KrvKnO4B/5k094Pe9 /Rk6qeF0aTnhHSEKA1+X80cM5jXJOVsIANZB5ZSRUGMctOXvjGLWYnRIyc83o+PVXbRp gYNQ== 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:thread-index :content-language:content-transfer-encoding:mime-version:message-id :date:subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=muG60whWZBs/6Uyti1Bh7sClEVmMd1x+Xw2mM+LqJ7A=; b=CjzA6EsaEGw7MmVUx9EUr0juAQvGg5yf9N54qTode5I36mODcnBJZPXfF6fgny72Qt rSypBpWT1ooMGWDjtpcKc4nbEq/N3hTSqnjaCCCgfPBGpAIgPZzOe324eJ7l5t/Uq5hg N9yp9t99DS2B1MrqgptYnNf6uPiOMwSJODVVqd4Hh06jmQsuRBi7Kc8SzyzpbumcG9xJ xc/LnOJ2ntlC3BWnjnmxTPHh9y/fKJTpqT/A3/xuJhwqiIX2VlO3QyYQ3Y0BFvfuQ0G6 N8fETSfuZsCiLcr5TgeKQH/tX8mE98p0tAw3sj0FZu4R2q+98JFEIz9U+fPIAn0qChLT WhRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=bFo2olMs; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si508656edr.448.2020.10.22.01.25.22; Thu, 22 Oct 2020 01:25:45 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=bFo2olMs; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2507665AbgJVE71 (ORCPT + 99 others); Thu, 22 Oct 2020 00:59:27 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:41031 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2507660AbgJVE70 (ORCPT ); Thu, 22 Oct 2020 00:59:26 -0400 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20201022045923epoutp04f04b4f1c9fc25e501c99be106b87cb7c~AN7_gNZ7O1773217732epoutp047 for ; Thu, 22 Oct 2020 04:59:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20201022045923epoutp04f04b4f1c9fc25e501c99be106b87cb7c~AN7_gNZ7O1773217732epoutp047 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603342763; bh=muG60whWZBs/6Uyti1Bh7sClEVmMd1x+Xw2mM+LqJ7A=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=bFo2olMsRGpf2OHlUqj84XsbGUdfkmX6SIAXfxKCUSsq7WLiEnRcLlw7JfDuwMi4e HXcB9cKXEuFHRvxGXF/ig1useUnch1ybplb8l/aWtR3mFiaXAY1qJwuWOOPBIV0hFG B/OXm3FYI7vvGlic7alkR+/DzAKHpLF1tNTpP590= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20201022045923epcas2p1131a31caece21ea14b7117e6e4c3b417~AN7_PNk5T0402904029epcas2p1r; Thu, 22 Oct 2020 04:59:23 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.40.188]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4CGwBd65mczMqYlr; Thu, 22 Oct 2020 04:59:21 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 9A.F3.09580.8A1119F5; Thu, 22 Oct 2020 13:59:20 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20201022045920epcas2p43fd9b42fc8effa8c93460a0cd2195e37~AN77rDbW70458904589epcas2p4L; Thu, 22 Oct 2020 04:59:20 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201022045920epsmtrp2c9206b0ad8dd4688356b84f1b5a4601c~AN77qQNpf2508725087epsmtrp2L; Thu, 22 Oct 2020 04:59:20 +0000 (GMT) X-AuditID: b6c32a47-149ff7000000256c-00-5f9111a8604f Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 70.26.08745.8A1119F5; Thu, 22 Oct 2020 13:59:20 +0900 (KST) Received: from KORCO039056 (unknown [10.229.8.156]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201022045920epsmtip10a9e145ee43d437496fb90edb3042fb6~AN77fxCL-2415024150epsmtip1d; Thu, 22 Oct 2020 04:59:20 +0000 (GMT) From: "Chanho Park" To: "'Bart Van Assche'" , , Cc: , , , In-Reply-To: <0a5eb555-af2a-196a-2376-01dc4a92ae0c@acm.org> Subject: RE: [PATCH] scsi: ufs: make sure scan sequence for multiple hosts Date: Thu, 22 Oct 2020 13:59:20 +0900 Message-ID: <008a01d6a830$1a109800$4e31c800$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: ko Thread-Index: AQE8rU9GG02+1hbAo1p5qXUnN9CPVgF+Wj0dAilh/bkB8/KS2gLgSNF8qpLsV7A= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFJsWRmVeSWpSXmKPExsWy7bCmue4KwYnxBnM7LSwezNvGZvHy51U2 i2kffjJbLLqxjcni8q45bBbd13ewWSw//o/Jgd3j8hVvjwmLDjB6fHx6i8Wjb8sqRo/Pm+Q8 2g90MwWwReXYZKQmpqQWKaTmJeenZOal2yp5B8c7x5uaGRjqGlpamCsp5CXmptoqufgE6Lpl 5gCdoqRQlphTChQKSCwuVtK3synKLy1JVcjILy6xVUotSMkpMDQs0CtOzC0uzUvXS87PtTI0 MDAyBapMyMk4e2AiU8Ej9opJnQcZGxgnsHUxcnJICJhIXJnaytjFyMUhJLCDUWLD6YnMEM4n Rok9E2+wQzifGSWmtd9kh2m59/wUVGIXUNX6bhaQhJDAC0aJxdPAitgE9CVedmxjBbFFBJIk pj6/wQhiMwuUSOzYN4EZxOYUsJZ4e349UxcjB4ewgJdEw1NHkDCLgKpE/9XXYCN5BSwlDmzq YY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YWaBC4lDnU0aI+rlMEjNmHGECSXAKWEu8Pb+eCaReWMBLouGpI0iYRUBVov/qaxYQm1fA UuLAph52CFtQ4uTMJywQM7Uleh+2MsLYyxa+Zoa4TUHi59NlrBBxEYnZnW1gcREBP4mZF3ay TWAUnoVk1Cwko2YhGTULSfsCRpZVjJKpBcW56bnFhgVGeanlesWJucWleel6yfm5mxjBUaWl tYNxz6oPeocYmTgYDzFKcDArifDmiU6IF+JNSaysSi3Kjy8qzUktPsQozcGiJM77ddbCOCGB 9MSS1OzU1ILUIpgsEwenVAMTQ+AWydqDHUuEi8IOvE9aclQly0S4LCf+0Vyz/FeXbEWCu74v silpzpHh7+2YPnPrzN4GddZIg/Bd3+f+brHkmb3o+Cf1DLHza63kIg9K/1t7qHOF8vUlb/Wn N+yR1751UrnS0elp+lfmr3MK2fcG9SvtC3mcXffgS5tE6ZItrftOxOxMWP19XvOcTOE2t6fh uzy9s0KdDtxlqCpbNG168Qoph9OSHQasK8p9U4tFTu0wTuS0ON/69ijLoh6V41+udSgU7LSo 6gkOKr369bmeYevS+eumMbX/VFu14b/VtSix6+5zP6689mbzskOxq6ZGv6gM2H5e/87zZ+cX bqlz+rzVu6uFY35P+SfB0+qNSizFGYmGWsxFxYkASRhY2RkDAAA= X-CMS-MailID: 20201022045920epcas2p43fd9b42fc8effa8c93460a0cd2195e37 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20201020070519epcas2p27906d7db7c74e45f2acf8243ec2eae1d References: <20201020070516.129273-1-chanho61.park@samsung.com> <7fafcc82-2c42-8ef5-14a6-7906b5956363@acm.org> <000a01d6a761$efafcaf0$cf0f60d0$@samsung.com> <0a5eb555-af2a-196a-2376-01dc4a92ae0c@acm.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Did you mean /dev/disk/by-=5Bpart=5Dlabel/ symlink? It's quite reasonab= le to > > use them by udev in userspace such as initramfs but some cases does not > use > > initramfs or initrd. In that case, we need to load the root > > device(/dev/sda=5BN=5D) directly from kernel. >=20 > Please use udev or systemd instead of adding code in the UFS driver that > is > not necessary when udev or systemd is used. > What I mentioned was how it can be handled when we mount rootfs directly fr= om kernel. 1) kernel -> initramfs (mount root) -> systemd 2) kernel (mount root) -> systemd -> In this case, we normally use root=3D/dev/sda1 from kernel commandline = to mount the rootfs. Like fstab can support legacy node mount, ufs driver also needs to provide = an option for using the permanent legacy node. If you're really worry about= adding a new codes for all UFS driver, we can put this as controller speci= fic or optional feature. Best Regards, Chanho Park