public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] riscv: defconfig: Regenerate defconfig
       [not found] <CGME20231027113547epcas2p1c6b08e800408ee234230d3d02b8301d0@epcas2p1.samsung.com>
@ 2023-10-27 11:35 ` Chanho Park
  2023-10-29  7:49   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Chanho Park @ 2023-10-27 11:35 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou; +Cc: linux-riscv, Chanho Park

Run 'make defconfig savedefconfig' and copy the defconfig file to
arch/riscv/configs/defconfig.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
---
 arch/riscv/configs/defconfig | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index ab86ec3b9eab..83fa02611284 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -27,15 +27,12 @@ CONFIG_EXPERT=y
 CONFIG_PROFILING=y
 CONFIG_SOC_MICROCHIP_POLARFIRE=y
 CONFIG_ARCH_RENESAS=y
-CONFIG_ARCH_THEAD=y
 CONFIG_SOC_SIFIVE=y
 CONFIG_SOC_STARFIVE=y
 CONFIG_ARCH_SUNXI=y
+CONFIG_ARCH_THEAD=y
 CONFIG_SOC_VIRT=y
 CONFIG_SMP=y
-CONFIG_HOTPLUG_CPU=y
-CONFIG_PM=y
-CONFIG_CPU_IDLE=y
 CONFIG_VIRTUALIZATION=y
 CONFIG_KVM=m
 CONFIG_ACPI=y
@@ -43,12 +40,9 @@ CONFIG_JUMP_LABEL=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 CONFIG_SPARSEMEM_MANUAL=y
-CONFIG_BLK_DEV_THROTTLING=y
 CONFIG_NET=y
 CONFIG_PACKET=y
-CONFIG_UNIX=y
 CONFIG_XFRM_USER=m
-CONFIG_INET=y
 CONFIG_IP_MULTICAST=y
 CONFIG_IP_ADVANCED_ROUTER=y
 CONFIG_IP_PNP=y
@@ -151,7 +145,6 @@ CONFIG_DRM_NOUVEAU=m
 CONFIG_DRM_SUN4I=m
 CONFIG_DRM_VIRTIO_GPU=m
 CONFIG_FB=y
-CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_PLATFORM=y
@@ -183,7 +176,6 @@ CONFIG_SUN50I_IOMMU=y
 CONFIG_RPMSG_CHAR=y
 CONFIG_RPMSG_CTRL=y
 CONFIG_RPMSG_VIRTIO=y
-CONFIG_ARCH_R9A07G043=y
 CONFIG_PHY_SUN4I_USB=m
 CONFIG_LIBNVDIMM=y
 CONFIG_NVMEM_SUNXI_SID=y
-- 
2.39.2


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

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

* Re: [PATCH] riscv: defconfig: Regenerate defconfig
  2023-10-27 11:35 ` [PATCH] riscv: defconfig: Regenerate defconfig Chanho Park
@ 2023-10-29  7:49   ` Krzysztof Kozlowski
  2023-10-30 10:06     ` Chanho Park
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-10-29  7:49 UTC (permalink / raw)
  To: Chanho Park, Paul Walmsley, Palmer Dabbelt, Albert Ou; +Cc: linux-riscv

On 27/10/2023 13:35, Chanho Park wrote:
> Run 'make defconfig savedefconfig' and copy the defconfig file to
> arch/riscv/configs/defconfig.
> 
> Signed-off-by: Chanho Park <chanho61.park@samsung.com>
> ---
>  arch/riscv/configs/defconfig | 10 +---------
>  1 file changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index ab86ec3b9eab..83fa02611284 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -27,15 +27,12 @@ CONFIG_EXPERT=y
>  CONFIG_PROFILING=y
>  CONFIG_SOC_MICROCHIP_POLARFIRE=y
>  CONFIG_ARCH_RENESAS=y
> -CONFIG_ARCH_THEAD=y
>  CONFIG_SOC_SIFIVE=y
>  CONFIG_SOC_STARFIVE=y
>  CONFIG_ARCH_SUNXI=y
> +CONFIG_ARCH_THEAD=y
>  CONFIG_SOC_VIRT=y
>  CONFIG_SMP=y
> -CONFIG_HOTPLUG_CPU=y
> -CONFIG_PM=y

User-selectible options should not be removed from defconfig via
savedefconfig. Please do not run blind savedefconfig, unless you are
okay with actually loosing these options. We discussed this multiple
times...

https://lore.kernel.org/all/20201130202501.GA32878@kozik-lap/
and some other threads

Best regards,
Krzysztof


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

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

* RE: [PATCH] riscv: defconfig: Regenerate defconfig
  2023-10-29  7:49   ` Krzysztof Kozlowski
@ 2023-10-30 10:06     ` Chanho Park
  0 siblings, 0 replies; 3+ messages in thread
From: Chanho Park @ 2023-10-30 10:06 UTC (permalink / raw)
  To: 'Krzysztof Kozlowski', 'Paul Walmsley',
	'Palmer Dabbelt', 'Albert Ou'
  Cc: linux-riscv

> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: Sunday, October 29, 2023 4:50 PM
> To: Chanho Park <chanho61.park@samsung.com>; Paul Walmsley
> <paul.walmsley@sifive.com>; Palmer Dabbelt <palmer@dabbelt.com>; Albert Ou
> <aou@eecs.berkeley.edu>
> Cc: linux-riscv@lists.infradead.org
> Subject: Re: [PATCH] riscv: defconfig: Regenerate defconfig
> 
> On 27/10/2023 13:35, Chanho Park wrote:
> > Run 'make defconfig savedefconfig' and copy the defconfig file to
> > arch/riscv/configs/defconfig.
> >
> > Signed-off-by: Chanho Park <chanho61.park@samsung.com>
> > ---
> >  arch/riscv/configs/defconfig | 10 +---------
> >  1 file changed, 1 insertion(+), 9 deletions(-)
> >
> > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> > index ab86ec3b9eab..83fa02611284 100644
> > --- a/arch/riscv/configs/defconfig
> > +++ b/arch/riscv/configs/defconfig
> > @@ -27,15 +27,12 @@ CONFIG_EXPERT=y
> >  CONFIG_PROFILING=y
> >  CONFIG_SOC_MICROCHIP_POLARFIRE=y
> >  CONFIG_ARCH_RENESAS=y
> > -CONFIG_ARCH_THEAD=y
> >  CONFIG_SOC_SIFIVE=y
> >  CONFIG_SOC_STARFIVE=y
> >  CONFIG_ARCH_SUNXI=y
> > +CONFIG_ARCH_THEAD=y
> >  CONFIG_SOC_VIRT=y
> >  CONFIG_SMP=y
> > -CONFIG_HOTPLUG_CPU=y
> > -CONFIG_PM=y
> 
> User-selectible options should not be removed from defconfig via
> savedefconfig. Please do not run blind savedefconfig, unless you are
> okay with actually loosing these options. We discussed this multiple
> times...
> 
> https://lore.kernel.org/all/20201130202501.GA32878@kozik-lap/
> and some other threads
> 

I see. When I run savedefconfig, I always checked .config changes between old and new to avoid such missing.
I thought there were some things that needed to be fixed manually, which could lead to mistakes.
Also, if you make a mess with a manual update, it makes the next update harder.
Thanks for pointing that out and explaining the history :)

Best Regards,
Chanho Park


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

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

end of thread, other threads:[~2023-10-30 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20231027113547epcas2p1c6b08e800408ee234230d3d02b8301d0@epcas2p1.samsung.com>
2023-10-27 11:35 ` [PATCH] riscv: defconfig: Regenerate defconfig Chanho Park
2023-10-29  7:49   ` Krzysztof Kozlowski
2023-10-30 10:06     ` Chanho Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox