Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp974928ybd; Wed, 26 Jun 2019 09:02:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwurfJCbyHR/nWRT0J0pS4/eR4g800UnuXebmCYa/1bQEmdsQRxHBKz1c5ghu9h9Dcy62dc X-Received: by 2002:a63:d53:: with SMTP id 19mr3726783pgn.453.1561564936922; Wed, 26 Jun 2019 09:02:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561564936; cv=none; d=google.com; s=arc-20160816; b=vHDRalJcQR784o1cuPl12dww8KlaQHd4+FZI8eLjDN7T/aQ86E+yYPvP1RWOu6A3lH VBKVGEe0ccrqE8uOO4f4xbZdsPezH4Uy+as/u9erEUk35ZXSf2/Umay5RVpB+EaRHyfq CWCZNPpfCoqoRPeGartqwJHzgGhOJhqUrm707xDfCVfRSEBkBexyvHt32BVbNlZxbRYy e9RoJ1MHWG/gC3JF1DzmTF/0JHeLC7y3MkbqKUE2sUd+LXLW89nlN8+kEMQv5KOJ/fDE Ukg58XTEjBcl8OkzwKB/OXVIGGarmXjRJcqFUOYBFJ2ASz2Y0pQhwigLvgueLpTdo4T2 RleA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=kGEtXo3mcNd4IAFNcQTSEQcFyR6hqGozQP+AV6BIM/E=; b=ZEgghWZSQuRNSdGk1azGKRKCzabIN7Iw1pppWvWtCItLFMc5RsT3jN7QPQltkPdlzS yIHZ9u17FQ/bbAFBj92KH/9dEApSmIpn1TGx4q4BKydBOiV8xN96CZ60Lf3MuiYg/Wpm dd+0zrhHODTmbSzDRQ1/hRelZAh9GGVw3yof24+F9z8X1U5+iDeXUkpZQTVBzvs8SDjZ SmfL6WSMfxiUkFhjt48LxhUTb8J4iPT6MrFJKaShcyZVb5ffrWcjrh1fHDyi0OMjo8zK j3WP9uRB/ODcSBXdfA6ZlRbbSXclLrH+jvVGpbO9sql8S7qFmH0e0zL62sTjaW88nqaR GMcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=eLgckxV+; 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 a8si3649113ple.243.2019.06.26.09.02.00; Wed, 26 Jun 2019 09:02:16 -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; dkim=pass header.i=@sifive.com header.s=google header.b=eLgckxV+; 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 S1726574AbfFZQAL (ORCPT + 99 others); Wed, 26 Jun 2019 12:00:11 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:36226 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726373AbfFZQAK (ORCPT ); Wed, 26 Jun 2019 12:00:10 -0400 Received: by mail-io1-f67.google.com with SMTP id h6so4520966ioh.3 for ; Wed, 26 Jun 2019 09:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=kGEtXo3mcNd4IAFNcQTSEQcFyR6hqGozQP+AV6BIM/E=; b=eLgckxV+4aPd/Xz9pBfQVGxxIpGAvoaspFRDSxNhACU9S2gzDkMZ2XTOybgu0ylQ8F Bq6/obcmKgtSFRPd7T+vpaJ2S+hpsnWgUxzuiLsXhw3PGkJtYM38sGcthKd/N93tV7d6 jndhatV0E6DOz2caDI6Rm/VxJPgssoPhRGsWBtP0CNvvdWS5nO+3QsyTXzYrSIuRvhrD zAC3cVotAu+bNz/3tu3rG5OYU+KaklvJj4Ks5bK8emfuq6RaG0F6bpXIdyEj+GXKIB6N B3o2MjZ4aQILJGsjr3vsGbcsdaDnD4ADI4vwd7ZudWlDqF8+yOpuGp3Fm9dNByzPuT3x /nVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=kGEtXo3mcNd4IAFNcQTSEQcFyR6hqGozQP+AV6BIM/E=; b=JKY2+DOIYRFxU/gnKTSZAjbCJNqws4qZtoavcLuMPB4pVCGjr3kH968nW8JOJSNpu5 yrDgkA/2oZv2o6gU4T3hU2NLTuNZf3bSUe4UxUq6ztAbjumZlbyDHvefxFPmJZiE2RH5 8bRAhXIAFbBYb8Z/8TP2bZblTg1RMK0OsRzqLsepR+hZaV5XT/mbK6dbwFDcNYmM51RN AkG7RwTZldRETYt6vzOvgTS6EctD/efh5JAE29BhhWUNgYMbjkRNeTuiEoJxVxWjPZAv 3kEXqomkckuDXgdrGUzKsFYaCyV1cjPYIZVGEO3dAGR84ISS9mkXqx/nLqackgN1UQQH x/Aw== X-Gm-Message-State: APjAAAXPSaGbrmYQ5fKk4HV0wPHN+up+b8sz4947IPI6FU80H5K01yon f0wkdJiIFkpZp22JkSIL92IkRw== X-Received: by 2002:a02:9991:: with SMTP id a17mr5637479jal.1.1561564810126; Wed, 26 Jun 2019 09:00:10 -0700 (PDT) Received: from localhost (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id p3sm19523375iog.70.2019.06.26.09.00.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jun 2019 09:00:09 -0700 (PDT) Date: Wed, 26 Jun 2019 09:00:08 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Atish Patra cc: linux-kernel@vger.kernel.org, Albert Ou , Anup Patel , Palmer Dabbelt , Alistair Francis , Olof Johansson , linux-riscv@lists.infradead.org, Thomas Gleixner Subject: Re: [PATCH] RISC-V: defconfig: enable MMC & SPI for RISC-V In-Reply-To: <20190625225636.9288-1-atish.patra@wdc.com> Message-ID: References: <20190625225636.9288-1-atish.patra@wdc.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Jun 2019, 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 Thanks. The patch also enables CONFIG_DEVTMPFS_MOUNT, but doesn't mention it, so the following is what I've queued for v5.2-rc. Let me know if you object to it. - Paul From: Atish Patra Date: Tue, 25 Jun 2019 15:56:36 -0700 Subject: [PATCH] RISC-V: defconfig: enable MMC & SPI for RISC-V 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. While here, enable automatic mounting of devtmpfs to simplify kernel testing with minimal root filesystems. (pjw) Signed-off-by: Atish Patra Reviewed-by: Palmer Dabbelt [paul.walmsley@sifive.com: mention the DEVTMPFS_MOUNT change in the patch description] Signed-off-by: Paul Walmsley --- 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 -- 2.20.1