2019-06-05 17:54:03

by Kevin Hilman

[permalink] [raw]
Subject: [PATCH] RISC-V: defconfig: enable clocks, serial console

Enable PRCI clock driver and serial console by default, so the default
upstream defconfig is bootable to a serial console.

Signed-off-by: Kevin Hilman <[email protected]>
---
arch/riscv/configs/defconfig | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 2fd3461e50ab..4f02967e55de 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -49,6 +49,8 @@ CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
+CONFIG_SERIAL_SIFIVE=y
+CONFIG_SERIAL_SIFIVE_CONSOLE=y
CONFIG_HVC_RISCV_SBI=y
# CONFIG_PTP_1588_CLOCK is not set
CONFIG_DRM=y
@@ -64,6 +66,8 @@ CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_STORAGE=y
CONFIG_USB_UAS=y
CONFIG_VIRTIO_MMIO=y
+CONFIG_CLK_SIFIVE=y
+CONFIG_CLK_SIFIVE_FU540_PRCI=y
CONFIG_SIFIVE_PLIC=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
--
2.21.0


2019-06-06 09:00:12

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH] RISC-V: defconfig: enable clocks, serial console

On Wed, Jun 05, 2019 at 10:50:42AM -0700, Kevin Hilman wrote:
> Enable PRCI clock driver and serial console by default, so the default
> upstream defconfig is bootable to a serial console.
>
> Signed-off-by: Kevin Hilman <[email protected]>

Looks good:

Reviewed-by: Christoph Hellwig <[email protected]>

2019-06-08 00:50:05

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH] RISC-V: defconfig: enable clocks, serial console

Palmer,

Kevin Hilman <[email protected]> writes:

> Enable PRCI clock driver and serial console by default, so the default
> upstream defconfig is bootable to a serial console.
>
> Signed-off-by: Kevin Hilman <[email protected]>

If possible, this would be great to have for v5.2-rc so we have a
bootable upstream defconfig ready for kernelCI as soon as the DT series
lands.

Kevin

2019-06-09 01:56:24

by Paul Walmsley

[permalink] [raw]
Subject: Re: [PATCH] RISC-V: defconfig: enable clocks, serial console

On Wed, 5 Jun 2019, Kevin Hilman wrote:

> Enable PRCI clock driver and serial console by default, so the default
> upstream defconfig is bootable to a serial console.
>
> Signed-off-by: Kevin Hilman <[email protected]>

Thanks, queued for v5.2-rc with Christoph's Reviewed-by:.


- Paul

2019-06-09 08:08:43

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH] RISC-V: defconfig: enable clocks, serial console

On Sat, Jun 08, 2019 at 06:49:09PM -0700, Paul Walmsley wrote:
> On Wed, 5 Jun 2019, Kevin Hilman wrote:
>
> > Enable PRCI clock driver and serial console by default, so the default
> > upstream defconfig is bootable to a serial console.
> >
> > Signed-off-by: Kevin Hilman <[email protected]>
>
> Thanks, queued for v5.2-rc with Christoph's Reviewed-by:.

To repeat myself: where do you apply it to? And could we please just
have a shared maintainer tree on infradead.org or kernel.org so that
people don't have to chase multiple trees to base their patches on?

2019-06-17 10:37:28

by Paul Walmsley

[permalink] [raw]
Subject: Re: [PATCH] RISC-V: defconfig: enable clocks, serial console

On Sun, 9 Jun 2019, Christoph Hellwig wrote:

> On Sat, Jun 08, 2019 at 06:49:09PM -0700, Paul Walmsley wrote:
> > On Wed, 5 Jun 2019, Kevin Hilman wrote:
> >
> > > Enable PRCI clock driver and serial console by default, so the default
> > > upstream defconfig is bootable to a serial console.
> > >
> > > Signed-off-by: Kevin Hilman <[email protected]>
> >
> > Thanks, queued for v5.2-rc with Christoph's Reviewed-by:.
>
> To repeat myself: where do you apply it to? And could we please just
> have a shared maintainer tree on infradead.org or kernel.org so that
> people don't have to chase multiple trees to base their patches on?

As you requested last week, the shared tree announcement was posted as a
separate thread:

https://lore.kernel.org/linux-riscv/[email protected]/T/#u


- Paul