Linux-RISC-V Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 1/2] riscv: rv32_defconfig: Update the defconfig
@ 2019-08-13 23:32 Alistair Francis
  2019-08-13 23:32 ` [PATCH 2/2] riscv: defconfig: " Alistair Francis
  2019-08-14  2:24 ` [PATCH 1/2] riscv: rv32_defconfig: " Paul Walmsley
  0 siblings, 2 replies; 4+ messages in thread
From: Alistair Francis @ 2019-08-13 23:32 UTC (permalink / raw)
  To: linux-kernel, linux-riscv; +Cc: alistair23, Alistair Francis

Update the rv32_defconfig:
 - Add 'CONFIG_DEVTMPFS_MOUNT=y' to match the RISC-V defconfig
 - Add CONFIG_HW_RANDOM=y and CONFIG_HW_RANDOM_VIRTIO=y to enable
   VirtIORNG when running on QEMU

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 arch/riscv/configs/rv32_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig
index d5449ef805a3..7da93e494445 100644
--- a/arch/riscv/configs/rv32_defconfig
+++ b/arch/riscv/configs/rv32_defconfig
@@ -34,6 +34,7 @@ CONFIG_PCIEPORTBUS=y
 CONFIG_PCI_HOST_GENERIC=y
 CONFIG_PCIE_XILINX=y
 CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_VIRTIO_BLK=y
 CONFIG_BLK_DEV_SD=y
@@ -53,6 +54,8 @@ CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
 CONFIG_HVC_RISCV_SBI=y
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_VIRTIO=y
 # CONFIG_PTP_1588_CLOCK is not set
 CONFIG_DRM=y
 CONFIG_DRM_RADEON=y
-- 
2.22.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] riscv: defconfig: Update the defconfig
  2019-08-13 23:32 [PATCH 1/2] riscv: rv32_defconfig: Update the defconfig Alistair Francis
@ 2019-08-13 23:32 ` " Alistair Francis
  2019-08-14  2:24   ` Paul Walmsley
  2019-08-14  2:24 ` [PATCH 1/2] riscv: rv32_defconfig: " Paul Walmsley
  1 sibling, 1 reply; 4+ messages in thread
From: Alistair Francis @ 2019-08-13 23:32 UTC (permalink / raw)
  To: linux-kernel, linux-riscv; +Cc: alistair23, Alistair Francis

Update the defconfig:
 - Add CONFIG_HW_RANDOM=y and CONFIG_HW_RANDOM_VIRTIO=y to enable
   VirtIORNG when running on QEMU

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 arch/riscv/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 93205c0bf71d..3efff552a261 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -54,6 +54,8 @@ CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
 CONFIG_HVC_RISCV_SBI=y
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_VIRTIO=y
 CONFIG_SPI=y
 CONFIG_SPI_SIFIVE=y
 # CONFIG_PTP_1588_CLOCK is not set
-- 
2.22.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] riscv: rv32_defconfig: Update the defconfig
  2019-08-13 23:32 [PATCH 1/2] riscv: rv32_defconfig: Update the defconfig Alistair Francis
  2019-08-13 23:32 ` [PATCH 2/2] riscv: defconfig: " Alistair Francis
@ 2019-08-14  2:24 ` " Paul Walmsley
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Walmsley @ 2019-08-14  2:24 UTC (permalink / raw)
  To: Alistair Francis; +Cc: alistair23, linux-riscv, linux-kernel

On Tue, 13 Aug 2019, Alistair Francis wrote:

> Update the rv32_defconfig:
>  - Add 'CONFIG_DEVTMPFS_MOUNT=y' to match the RISC-V defconfig
>  - Add CONFIG_HW_RANDOM=y and CONFIG_HW_RANDOM_VIRTIO=y to enable
>    VirtIORNG when running on QEMU
> 
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

Thanks, queued for v5.3-rc.


- Paul

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] riscv: defconfig: Update the defconfig
  2019-08-13 23:32 ` [PATCH 2/2] riscv: defconfig: " Alistair Francis
@ 2019-08-14  2:24   ` Paul Walmsley
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Walmsley @ 2019-08-14  2:24 UTC (permalink / raw)
  To: Alistair Francis; +Cc: alistair23, linux-riscv, linux-kernel

On Tue, 13 Aug 2019, Alistair Francis wrote:

> Update the defconfig:
>  - Add CONFIG_HW_RANDOM=y and CONFIG_HW_RANDOM_VIRTIO=y to enable
>    VirtIORNG when running on QEMU
> 
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

Thanks, queued for v5.3-rc.


- Paul

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 23:32 [PATCH 1/2] riscv: rv32_defconfig: Update the defconfig Alistair Francis
2019-08-13 23:32 ` [PATCH 2/2] riscv: defconfig: " Alistair Francis
2019-08-14  2:24   ` Paul Walmsley
2019-08-14  2:24 ` [PATCH 1/2] riscv: rv32_defconfig: " Paul Walmsley

Linux-RISC-V Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-riscv/0 linux-riscv/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-riscv linux-riscv/ https://lore.kernel.org/linux-riscv \
		linux-riscv@lists.infradead.org infradead-linux-riscv@archiver.kernel.org
	public-inbox-index linux-riscv


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-riscv


AGPL code for this site: git clone https://public-inbox.org/ public-inbox