Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp464897ybd; Wed, 26 Jun 2019 01:01:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+Ku2vW3TtJywVMU6rDqsMIhCV4I59QuMUzSDafLJhGN4L186ere6C5ERoEsGsU6YtDlxz X-Received: by 2002:a17:902:341:: with SMTP id 59mr3886611pld.20.1561536082773; Wed, 26 Jun 2019 01:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561536082; cv=none; d=google.com; s=arc-20160816; b=ofhEIgjcOjzWkDjvcrui/R/YjL+9s57djh7xB6pkjpT2ftOGenaYO5X/aarPN3OEIR EBXU8lG/3ywmirwdVGFtmOKt/+fIvnDGCWN5QDiF7YWjccl+aERywac+d9k3nKOtJWxA IVdljx+GsLEXfNQIjMj1LOz9ee31YDgiirSsihPOaSBYBTkKgvZ5vvxrxTqlS9nvhIIn dWHS0w/NogTEDJ4f9+tQO03njnRUBu42QXbkBMd5oiQ+s8GD/C3zTQ42InHh8Y64svFU imraKArFrgAiQY0FD4Hj6/T65irvL1pESDVrLKedytAFErN0i02qjWbxTeYZF8s7Vd7s bCCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date; bh=CD4j+26j4vYI/MfiMmLCViJItM6FC7GHNSI9G/XS8i0=; b=kjOwQzthT3FzsAiKBmC+NtKNyjh7ecQx63IvVwRnzxENK/NgqIt1oE0BKUOQxP0cgg w7+hnpBBl/YKdFMlSa2h68Wd28g3eeuduqu8YcjA99SXif3L7NA8SPopv/pquBnPniHP 2REY2Hb/CJVwlTy9CX+N1r7qxsd3u2Kdylluddtuu6m2XzK8bouuA5637buYTW7FFBWg 3nssa6txBqx1YzjJ1+0lVsvq4RsKU7P8sc3usMpj/ZWD1uoXKr0z/MqHCWI1cagQ4Dk3 5evM99VmEC59UaNqHfstq1nVM1xIKZnSmb1zzUbVuan4iRPJLnQ9PvtQFBEQNgaFNtCq xslg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9si2783512plq.376.2019.06.26.01.01.06; Wed, 26 Jun 2019 01:01:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727010AbfFZH7B (ORCPT + 99 others); Wed, 26 Jun 2019 03:59:01 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:40418 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbfFZH7A (ORCPT ); Wed, 26 Jun 2019 03:59:00 -0400 Received: by mail-pf1-f195.google.com with SMTP id p184so911184pfp.7 for ; Wed, 26 Jun 2019 00:59:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=CD4j+26j4vYI/MfiMmLCViJItM6FC7GHNSI9G/XS8i0=; b=J+cxGE3zBGabj5xBckDAE7eRLBsoIaR+3KVe8FyBtjiT8megEz2x/bEn1JmE4nwyVI aJdejm4cM7pFhcDUoEMEDPZ1Klmlpu15J71PmwX9WRXgu0z9ts6SD65tle6lzvP0WTea C2DWYZQYGnMb+YXTa2M1Rn49itM2QbRo6fLjRlohp8UaMHPh4AAktjUPH//nnA86mqZD WHDwoQRg2b90Al2GmX8INuR6dptrddtO1ub8B56HxODoZTXg+0TTZYfWUkKHX7ud7N7F 1+1u5iRAKcAPpxHbAN24uBRSVlH8cpFye9Xf9Kar8zohUVE8u7K02kiGlMaWbWpqi57j GGvg== X-Gm-Message-State: APjAAAXvseCvypf+oVUs8yIM9JsfcU3ieqWeEgfcNZMVkpJB9Nw/h8eS Ea0bGCRWcW9SKtSi0LT/etSt5DhHMEe/IuUf X-Received: by 2002:a17:90a:ad89:: with SMTP id s9mr3129805pjq.41.1561535939224; Wed, 26 Jun 2019 00:58:59 -0700 (PDT) Received: from localhost (220-132-236-182.HINET-IP.hinet.net. [220.132.236.182]) by smtp.gmail.com with ESMTPSA id r1sm20866207pfq.100.2019.06.26.00.58.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jun 2019 00:58:58 -0700 (PDT) Date: Wed, 26 Jun 2019 00:58:58 -0700 (PDT) X-Google-Original-Date: Wed, 26 Jun 2019 00:33:23 PDT (-0700) Subject: Re: [PATCH] RISC-V: defconfig: enable MMC & SPI for RISC-V In-Reply-To: <20190625225636.9288-1-atish.patra@wdc.com> CC: linux-kernel@vger.kernel.org, Atish Patra , aou@eecs.berkeley.edu, Alistair Francis , anup@brainfault.org, linux-riscv@lists.infradead.org, Olof Johansson , tglx@linutronix.de From: Palmer Dabbelt To: Atish Patra Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Jun 2019 15:56:36 PDT (-0700), Atish Patra wrote: > Currently, riscv upstream defconfig doesn't let you boot > through userspace if rootfs is on the SD card. > > Let's enable MMC & SPI drivers as well so that one can boot > to the user space using default config in upstream kernel. > > Signed-off-by: Atish Patra > --- > arch/riscv/configs/defconfig | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index 4f02967e55de..04944fb4fa7a 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -69,6 +69,7 @@ CONFIG_VIRTIO_MMIO=y > CONFIG_CLK_SIFIVE=y > CONFIG_CLK_SIFIVE_FU540_PRCI=y > CONFIG_SIFIVE_PLIC=y > +CONFIG_SPI_SIFIVE=y > CONFIG_EXT4_FS=y > CONFIG_EXT4_FS_POSIX_ACL=y > CONFIG_AUTOFS4_FS=y > @@ -84,4 +85,8 @@ CONFIG_ROOT_NFS=y > CONFIG_CRYPTO_USER_API_HASH=y > CONFIG_CRYPTO_DEV_VIRTIO=y > CONFIG_PRINTK_TIME=y > +CONFIG_SPI=y > +CONFIG_MMC_SPI=y > +CONFIG_MMC=y > +CONFIG_DEVTMPFS_MOUNT=y > # CONFIG_RCU_TRACE is not set Reviewed-by: Palmer Dabbelt