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 X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A490FC10F12 for ; Wed, 17 Apr 2019 08:03:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 718FB2054F for ; Wed, 17 Apr 2019 08:03:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WKHf+Hp5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 718FB2054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3j4pl9DFn1IyJw3naN0NHX9s3JrlS9YR9LNXh8S5kNE=; b=WKHf+Hp5vrzVdp Dd19GyyLjEq6QUq+e1HElcUDLWxCw8HXmVSu8pMSLCScoeV5umCLVwUMX7WJQAD1/mPUBZFUjb9cm d9xJwp4T0rD01zmQHO6AJyWYNTvXYg5RJX7gZ99e3Aik5kOCVkzZl9FKoWx/AXSHpUlbFv5f44SOv +IPChJij1PsNw7KwjGZia+OLWzpZf2x5+zatsSdkiE7zY8KMxMVqszBPDoOVYL2YUwvFF+jzifOVp TawcoPUxWDeAYs39Jfz8x5JfWe512km6diUDhuCPiFC30QITi9al0QknuSaiGiQw47g+f1kxJPj5G hp6EwAW3+Mo6kfE9Ekiw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGfXb-00026d-SI; Wed, 17 Apr 2019 08:03:35 +0000 Received: from ns.iliad.fr ([212.27.33.1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGfXX-00026D-UU for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2019 08:03:34 +0000 Received: from ns.iliad.fr (localhost [127.0.0.1]) by ns.iliad.fr (Postfix) with ESMTP id A0E4320466; Wed, 17 Apr 2019 10:03:26 +0200 (CEST) Received: from [192.168.108.49] (freebox.vlq16.iliad.fr [213.36.7.13]) by ns.iliad.fr (Postfix) with ESMTP id 8CFED2040A; Wed, 17 Apr 2019 10:03:26 +0200 (CEST) Subject: Re: [PATCH] arm64: defconfig: Update UFSHCD for Hi3660 soc To: Valentin Schneider References: <20190416170221.13764-1-valentin.schneider@arm.com> From: Marc Gonzalez Message-ID: Date: Wed, 17 Apr 2019 10:03:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190416170221.13764-1-valentin.schneider@arm.com> Content-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP ; ns.iliad.fr ; Wed Apr 17 10:03:26 2019 +0200 (CEST) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_010332_501493_A279F54C X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arm-soc , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16/04/2019 19:02, Valentin Schneider wrote: > Commit 7ee7ef24d02d ("scsi: arm64: defconfig: enable configs for Hisilicon ufs") > set 'CONFIG_SCSI_UFS_HISI=y', but the configs it depends on > > (CONFIG_SCSI_HFSHCD_PLATFORM && CONFIG_SCSI_UFSHCD) > > were left to being built as modules. > > Commit 1f4fa50dd48f ("arm64: defconfig: Regenerate for v4.20") "fixed" > that by reverting to 'CONFIG_SCSI_UFS_HISI=m'. > > Thing is, if the rootfs is stored in the on-board flash (which > is the "canonical" way of doing things), we either need these drivers > to be built-in, or we need to fiddle with an initramfs to access that > flash and eventually load the modules installed over there. > > The former is the easiest, do that. By that logic, wouldn't every UFS driver need to be built-in? SCSI_UFS_QCOM SCSI_UFS_MEDIATEK SCSI_UFS_HISI And generalizing, wouldn't every storage driver also need to be built-in? (SDHC, MMC, USB, MTD, etc) (FWIW, I dislike Christmas-tree defconfigs.) Regards. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel