linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / 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


^ permalink raw reply related	[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


^ permalink raw reply related	[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: linux-kernel, linux-riscv, alistair23

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

^ 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: linux-kernel, linux-riscv, alistair23

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

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

end of thread, other threads:[~2019-08-14  2:24 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).