linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] RISC-V: refresh defconfig
@ 2018-11-01  5:10 Anup Patel
  2018-11-01  5:10 ` [PATCH v2 2/2] RISC-V: defconfig: Enable printk timestamps Anup Patel
  2018-11-01 17:54 ` [PATCH v2 1/2] RISC-V: refresh defconfig Palmer Dabbelt
  0 siblings, 2 replies; 4+ messages in thread
From: Anup Patel @ 2018-11-01  5:10 UTC (permalink / raw)
  To: Palmer Dabbelt, Albert Ou, Olof Johansson
  Cc: Atish Patra, Christoph Hellwig, linux-riscv, linux-kernel, Anup Patel

This patch updates defconfig using savedefconfig on Linux-4.19.

Signed-off-by: Anup Patel <anup@brainfault.org>
---
 arch/riscv/configs/defconfig | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 36473d7dbaac..07fa9ea75fea 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -1,6 +1,3 @@
-CONFIG_SMP=y
-CONFIG_PCI=y
-CONFIG_PCIE_XILINX=y
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_IKCONFIG=y
@@ -11,10 +8,15 @@ CONFIG_CFS_BANDWIDTH=y
 CONFIG_CGROUP_BPF=y
 CONFIG_NAMESPACES=y
 CONFIG_USER_NS=y
+CONFIG_CHECKPOINT_RESTORE=y
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_EXPERT=y
-CONFIG_CHECKPOINT_RESTORE=y
 CONFIG_BPF_SYSCALL=y
+CONFIG_SMP=y
+CONFIG_PCI=y
+CONFIG_PCIE_XILINX=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
@@ -59,6 +61,7 @@ CONFIG_USB_OHCI_HCD_PLATFORM=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_UAS=y
 CONFIG_VIRTIO_MMIO=y
+CONFIG_SIFIVE_PLIC=y
 CONFIG_RAS=y
 CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
@@ -72,8 +75,5 @@ CONFIG_NFS_V4=y
 CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
-# CONFIG_RCU_TRACE is not set
 CONFIG_CRYPTO_USER_API_HASH=y
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_SIFIVE_PLIC=y
+# CONFIG_RCU_TRACE is not set
-- 
2.17.1


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

* [PATCH v2 2/2] RISC-V: defconfig: Enable printk timestamps
  2018-11-01  5:10 [PATCH v2 1/2] RISC-V: refresh defconfig Anup Patel
@ 2018-11-01  5:10 ` Anup Patel
  2018-11-01 17:54   ` Palmer Dabbelt
  2018-11-01 17:54 ` [PATCH v2 1/2] RISC-V: refresh defconfig Palmer Dabbelt
  1 sibling, 1 reply; 4+ messages in thread
From: Anup Patel @ 2018-11-01  5:10 UTC (permalink / raw)
  To: Palmer Dabbelt, Albert Ou, Olof Johansson
  Cc: Atish Patra, Christoph Hellwig, linux-riscv, linux-kernel, Anup Patel

The printk timestamps are very useful information to visually see
where kernel is spending time during boot. It also helps us see
the timing of hotplug events at runtime.

This patch enables printk timestamps in RISC-V defconfig so that
we have it enabled by default (similar to other architectures
such as x86_64, arm64, etc).

Signed-off-by: Anup Patel <anup@brainfault.org>
Acked-by: Olof Johansson <olof@lixom.net>
---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 07fa9ea75fea..ef4f15df9adf 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -76,4 +76,5 @@ CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_CRYPTO_USER_API_HASH=y
+CONFIG_PRINTK_TIME=y
 # CONFIG_RCU_TRACE is not set
-- 
2.17.1


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

* Re: [PATCH v2 1/2] RISC-V: refresh defconfig
  2018-11-01  5:10 [PATCH v2 1/2] RISC-V: refresh defconfig Anup Patel
  2018-11-01  5:10 ` [PATCH v2 2/2] RISC-V: defconfig: Enable printk timestamps Anup Patel
@ 2018-11-01 17:54 ` Palmer Dabbelt
  1 sibling, 0 replies; 4+ messages in thread
From: Palmer Dabbelt @ 2018-11-01 17:54 UTC (permalink / raw)
  To: anup
  Cc: aou, Olof Johansson, atish.patra, Christoph Hellwig, linux-riscv,
	linux-kernel, anup

On Wed, 31 Oct 2018 22:10:32 PDT (-0700), anup@brainfault.org wrote:
> This patch updates defconfig using savedefconfig on Linux-4.19.
>
> Signed-off-by: Anup Patel <anup@brainfault.org>
> ---
>  arch/riscv/configs/defconfig | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 36473d7dbaac..07fa9ea75fea 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -1,6 +1,3 @@
> -CONFIG_SMP=y
> -CONFIG_PCI=y
> -CONFIG_PCIE_XILINX=y
>  CONFIG_SYSVIPC=y
>  CONFIG_POSIX_MQUEUE=y
>  CONFIG_IKCONFIG=y
> @@ -11,10 +8,15 @@ CONFIG_CFS_BANDWIDTH=y
>  CONFIG_CGROUP_BPF=y
>  CONFIG_NAMESPACES=y
>  CONFIG_USER_NS=y
> +CONFIG_CHECKPOINT_RESTORE=y
>  CONFIG_BLK_DEV_INITRD=y
>  CONFIG_EXPERT=y
> -CONFIG_CHECKPOINT_RESTORE=y
>  CONFIG_BPF_SYSCALL=y
> +CONFIG_SMP=y
> +CONFIG_PCI=y
> +CONFIG_PCIE_XILINX=y
> +CONFIG_MODULES=y
> +CONFIG_MODULE_UNLOAD=y
>  CONFIG_NET=y
>  CONFIG_PACKET=y
>  CONFIG_UNIX=y
> @@ -59,6 +61,7 @@ CONFIG_USB_OHCI_HCD_PLATFORM=y
>  CONFIG_USB_STORAGE=y
>  CONFIG_USB_UAS=y
>  CONFIG_VIRTIO_MMIO=y
> +CONFIG_SIFIVE_PLIC=y
>  CONFIG_RAS=y
>  CONFIG_EXT4_FS=y
>  CONFIG_EXT4_FS_POSIX_ACL=y
> @@ -72,8 +75,5 @@ CONFIG_NFS_V4=y
>  CONFIG_NFS_V4_1=y
>  CONFIG_NFS_V4_2=y
>  CONFIG_ROOT_NFS=y
> -# CONFIG_RCU_TRACE is not set
>  CONFIG_CRYPTO_USER_API_HASH=y
> -CONFIG_MODULES=y
> -CONFIG_MODULE_UNLOAD=y
> -CONFIG_SIFIVE_PLIC=y
> +# CONFIG_RCU_TRACE is not set

Oh, sorry, I sent my version before seeing yours.  Looks like they're exactly 
the same, which is probably a good sign.  I'll send this one instead.

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

* Re: [PATCH v2 2/2] RISC-V: defconfig: Enable printk timestamps
  2018-11-01  5:10 ` [PATCH v2 2/2] RISC-V: defconfig: Enable printk timestamps Anup Patel
@ 2018-11-01 17:54   ` Palmer Dabbelt
  0 siblings, 0 replies; 4+ messages in thread
From: Palmer Dabbelt @ 2018-11-01 17:54 UTC (permalink / raw)
  To: anup
  Cc: aou, Olof Johansson, atish.patra, Christoph Hellwig, linux-riscv,
	linux-kernel, anup

On Wed, 31 Oct 2018 22:10:33 PDT (-0700), anup@brainfault.org wrote:
> The printk timestamps are very useful information to visually see
> where kernel is spending time during boot. It also helps us see
> the timing of hotplug events at runtime.
>
> This patch enables printk timestamps in RISC-V defconfig so that
> we have it enabled by default (similar to other architectures
> such as x86_64, arm64, etc).
>
> Signed-off-by: Anup Patel <anup@brainfault.org>
> Acked-by: Olof Johansson <olof@lixom.net>
> ---
>  arch/riscv/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 07fa9ea75fea..ef4f15df9adf 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -76,4 +76,5 @@ CONFIG_NFS_V4_1=y
>  CONFIG_NFS_V4_2=y
>  CONFIG_ROOT_NFS=y
>  CONFIG_CRYPTO_USER_API_HASH=y
> +CONFIG_PRINTK_TIME=y
>  # CONFIG_RCU_TRACE is not set

Thanks.  Since this is a functional change I'm not going to rush it in, but I 
think it's OK to go in after rc1 so I'll include it as part of my 
regularly-scheduled PR next week.

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

end of thread, other threads:[~2018-11-01 17:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-01  5:10 [PATCH v2 1/2] RISC-V: refresh defconfig Anup Patel
2018-11-01  5:10 ` [PATCH v2 2/2] RISC-V: defconfig: Enable printk timestamps Anup Patel
2018-11-01 17:54   ` Palmer Dabbelt
2018-11-01 17:54 ` [PATCH v2 1/2] RISC-V: refresh defconfig Palmer Dabbelt

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).