All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Magnus Damm <magnus.damm@gmail.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>, Jiri Slaby <jslaby@suse.com>,
	"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	"moderated list:H8/300 ARCHITECTURE"
	<uclinux-h8-devel@lists.sourceforge.jp>,
	Linux-sh list <linux-sh@vger.kernel.org>
Subject: Re: [PATCH/RFC 5/5] ARM: shmobile: defconfig: Disable CONFIG_EMBEDDED
Date: Tue, 05 Dec 2017 08:28:34 +0000	[thread overview]
Message-ID: <20171205082833.fqwuyvlmupwektny@verge.net.au> (raw)
In-Reply-To: <CAMuHMdXSWhXXEzPgp8Y35df7B6G+TUkddRK8=p6T3q+ugDNxCA@mail.gmail.com>

On Mon, Dec 04, 2017 at 10:46:22AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Fri, Dec 1, 2017 at 9:33 AM, Simon Horman <horms@verge.net.au> wrote:
> > On Thu, Nov 30, 2017 at 02:12:02PM +0100, Geert Uytterhoeven wrote:
> >> CONFIG_EXPERT exposes too many config options that do not matter for
> >> development. However, CONFIG_EMBEDDED selects CONFIG_EXPERT, so it
> >> cannot be disabled.
> >>
> >> Hence disable CONFIG_EMBEDDED, and compensate for the loss of
> >> CONFIG_DEBUG_KERNEL by enabling the latter.
> >>
> >> Actual impact:
> >>   - CONFIG_NAMESPACES=y,
> >>   - CONFIG_SYSCTL_SYSCALL=n,
> >>   - CONFIG_SERIAL_SH_SCI_NR_UARTS changed from 20 to 18,
> >>   - CONFIG_SERIAL_SH_SCI_EARLYCON=y,
> >>   - Some HID support became enabled,
> >>   - CONFIG_DEBUG_MEMORY_INIT=y,
> >>
> >> Refresh the result.
> >
> > I'm sorry but I don't understand the motivation for this change.
> > I understand that it might make the image smaller or build times faster.
> > But it seems to be a risky change for those benefits.
> 
> My main motivation is to start using the default values for the various SH_SCI
> options from the first 4 patches, but that requires disabling CONFIG_EXPERT.
> Sorry for not making that clearer.

Thanks for explaining, that helps me significantly.

> > What are the side-effects of the changes you describe above?
> 
> Enabling CONFIG_NAMESPACES shouldn't hurt (isn't that also needed for
> systemd anyway?), just like the HID devices, or CONFIG_DEBUG_MEMORY_INIT
> (it does a few more checks, and defaults to yes).
> 
> Disabling CONFIG_SYSCTL_SYSCALL also shouldn't hurt (it defaults to no),
> except for very old userland not yet using /proc/sys, which might have been
> broken along the way by changed binary paths anyway.

Understood. I (no longer) have any particular objections to this,
though I would appreciate an enhanced changelog.

WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@verge.net.au>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Magnus Damm <magnus.damm@gmail.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>, Jiri Slaby <jslaby@suse.com>,
	"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	"moderated list:H8/300 ARCHITECTURE"
	<uclinux-h8-devel@lists.sourceforge.jp>,
	Linux-sh list <linux-sh@vger.kernel.org>
Subject: Re: [PATCH/RFC 5/5] ARM: shmobile: defconfig: Disable CONFIG_EMBEDDED
Date: Tue, 5 Dec 2017 09:28:34 +0100	[thread overview]
Message-ID: <20171205082833.fqwuyvlmupwektny@verge.net.au> (raw)
In-Reply-To: <CAMuHMdXSWhXXEzPgp8Y35df7B6G+TUkddRK8=p6T3q+ugDNxCA@mail.gmail.com>

On Mon, Dec 04, 2017 at 10:46:22AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Fri, Dec 1, 2017 at 9:33 AM, Simon Horman <horms@verge.net.au> wrote:
> > On Thu, Nov 30, 2017 at 02:12:02PM +0100, Geert Uytterhoeven wrote:
> >> CONFIG_EXPERT exposes too many config options that do not matter for
> >> development. However, CONFIG_EMBEDDED selects CONFIG_EXPERT, so it
> >> cannot be disabled.
> >>
> >> Hence disable CONFIG_EMBEDDED, and compensate for the loss of
> >> CONFIG_DEBUG_KERNEL by enabling the latter.
> >>
> >> Actual impact:
> >>   - CONFIG_NAMESPACES=y,
> >>   - CONFIG_SYSCTL_SYSCALL=n,
> >>   - CONFIG_SERIAL_SH_SCI_NR_UARTS changed from 20 to 18,
> >>   - CONFIG_SERIAL_SH_SCI_EARLYCON=y,
> >>   - Some HID support became enabled,
> >>   - CONFIG_DEBUG_MEMORY_INIT=y,
> >>
> >> Refresh the result.
> >
> > I'm sorry but I don't understand the motivation for this change.
> > I understand that it might make the image smaller or build times faster.
> > But it seems to be a risky change for those benefits.
> 
> My main motivation is to start using the default values for the various SH_SCI
> options from the first 4 patches, but that requires disabling CONFIG_EXPERT.
> Sorry for not making that clearer.

Thanks for explaining, that helps me significantly.

> > What are the side-effects of the changes you describe above?
> 
> Enabling CONFIG_NAMESPACES shouldn't hurt (isn't that also needed for
> systemd anyway?), just like the HID devices, or CONFIG_DEBUG_MEMORY_INIT
> (it does a few more checks, and defaults to yes).
> 
> Disabling CONFIG_SYSCTL_SYSCALL also shouldn't hurt (it defaults to no),
> except for very old userland not yet using /proc/sys, which might have been
> broken along the way by changed binary paths anyway.

Understood. I (no longer) have any particular objections to this,
though I would appreciate an enhanced changelog.

  reply	other threads:[~2017-12-05  8:28 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-30 13:11 [PATCH 0/5] tty: serial: sh-sci: Hide driver specific config questions Geert Uytterhoeven
2017-11-30 13:11 ` Geert Uytterhoeven
2017-11-30 13:11 ` [PATCH 1/5] tty: serial: sh-sci: Hide number of ports config question Geert Uytterhoeven
2017-11-30 13:11   ` Geert Uytterhoeven
2017-11-30 13:11 ` [PATCH 2/5] tty: serial: sh-sci: Hide serial console " Geert Uytterhoeven
2017-11-30 13:11   ` Geert Uytterhoeven
2017-11-30 13:12 ` [PATCH 3/5] tty: serial: sh-sci: Hide earlycon " Geert Uytterhoeven
2017-11-30 13:12   ` Geert Uytterhoeven
2018-04-15  0:34   ` Rich Felker
2018-04-15  0:34     ` Rich Felker
2018-04-15 18:58     ` Geert Uytterhoeven
2018-04-15 18:58       ` Geert Uytterhoeven
2018-04-15 19:09       ` Rich Felker
2018-04-15 19:09         ` Rich Felker
2018-05-02  2:32         ` Rob Herring
2018-05-02  2:32           ` Rob Herring
2018-05-04  7:35           ` Geert Uytterhoeven
2018-05-04  7:35             ` Geert Uytterhoeven
2017-11-30 13:12 ` [PATCH 4/5] tty: serial: sh-sci: Hide DMA " Geert Uytterhoeven
2017-11-30 13:12   ` Geert Uytterhoeven
2017-11-30 13:12 ` [PATCH/RFC 5/5] ARM: shmobile: defconfig: Disable CONFIG_EMBEDDED Geert Uytterhoeven
2017-11-30 13:12   ` Geert Uytterhoeven
2017-12-01  8:33   ` Simon Horman
2017-12-01  8:33     ` Simon Horman
2017-12-04  9:46     ` Geert Uytterhoeven
2017-12-04  9:46       ` Geert Uytterhoeven
2017-12-05  8:28       ` Simon Horman [this message]
2017-12-05  8:28         ` Simon Horman
2017-12-09  2:18         ` Rob Landley
2017-12-09  2:18           ` Rob Landley
2017-12-09  8:54           ` Geert Uytterhoeven
2017-12-09  8:54             ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171205082833.fqwuyvlmupwektny@verge.net.au \
    --to=horms@verge.net.au \
    --cc=dalias@libc.org \
    --cc=geert+renesas@glider.be \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=uclinux-h8-devel@lists.sourceforge.jp \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.