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=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 C7CF4C10F12 for ; Wed, 17 Apr 2019 10:09:34 +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 9A82220835 for ; Wed, 17 Apr 2019 10:09:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="O+W/8Z5o" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A82220835 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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=gaQi/ZOP0pqTqaggew2uyvaD/Ku8UjQS/N4YJ1sgs5E=; b=O+W/8Z5ok8GTp6 R77e7d3b3RbyxWBhJOJ1ufEK5PruLOa08AIRp6IyCySHlDwlw002UsLe4ZwMVMV7ICEbvn5qq0IBO EjX/GfErb4BMFhSnpufdiGM7rr/TO9fFxT5s0MP2iZwCGddX9sHCKh/hROiPnubqmp/JR0Ppu2MML AQRbFrZu0T7ebk+4lgdhcvmxfNP4dRJD2sM8jS6RcMXJFsR8o6oCARXJqSbbzWl51TlZCGP06+ac+ 0IjdlZc/kkeZ6C+10MQp4PFWIxSvelX/dFyldU8LzS/59Q2zwnwjM2fH/5x6+Y9ZqXH63pN4Erhu9 KtsPLaEq4WGqTNqiTQFg==; 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 1hGhVO-0002dG-Um; Wed, 17 Apr 2019 10:09:26 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGhVL-0002cI-4x for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2019 10:09:25 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C0DA2374; Wed, 17 Apr 2019 03:09:22 -0700 (PDT) Received: from [10.1.194.37] (e113632-lin.cambridge.arm.com [10.1.194.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 251493F68F; Wed, 17 Apr 2019 03:09:22 -0700 (PDT) Subject: Re: [PATCH] arm64: defconfig: Update UFSHCD for Hi3660 soc To: Marc Gonzalez References: <20190416170221.13764-1-valentin.schneider@arm.com> From: Valentin Schneider Message-ID: <7f38892c-0e2d-14e5-f0e3-229adc8bc14c@arm.com> Date: Wed, 17 Apr 2019 11:09:20 +0100 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: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_030923_247551_D78347D6 X-CRM114-Status: GOOD ( 18.13 ) 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 17/04/2019 09:03, Marc Gonzalez wrote: > 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) > Fair point. My reason for sending this out is that the Hikey960 is the (or at least one of few) board with a recent flagship SoC that runs mainline (USB support is being worked on the list, but that's about it). So it's the most relevant board for us folks doing power/perf work and who'd like to run something less antiquated than 4.9. I've carried this patch in a local HiKey960 branch for a while now, but IMO it'd be really nice to be able to compile & run the latest master without having to worry about extra configs/patches. The Arm Juno is great in that regard, but its hardware is showing its wrinkles. True, this is more about convenience that a hard-requirement, but I think there's an argument to be made for that board. > (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