Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1359609

Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug

From Geert Uytterhoeven <geert@linux-m68k.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug
Date 2016-03-17 08:40 +0100
Message-ID <rdAHf-4j7-1@gated-at.bofh.it> (permalink)
References <rd7OV-1kw-5@gated-at.bofh.it> <rdf05-6ju-3@gated-at.bofh.it> <rdf05-6ju-1@gated-at.bofh.it> <rdAHf-4j7-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Morimoto-san,

On Thu, Mar 17, 2016 at 1:30 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
>> > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>> >
>> > Current sh_pfc can't indicate GPSR/IPSR/MOD_SEL name for debug.
>> > Of course we can get it from indicated register address, but it
>> > is not convenient. This patch enables to indicate these.
>> >
>> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>>
>> > --- a/drivers/pinctrl/sh-pfc/sh_pfc.h
>> > +++ b/drivers/pinctrl/sh-pfc/sh_pfc.h
>> > @@ -94,6 +94,7 @@ struct pinmux_func {
>> >  };
>> >
>> >  struct pinmux_cfg_reg {
>> > +       const char *name;
>>
>> Have you looked at the size increase, esp. for multi-platform kernels?
>
> Indeed.
> I checked its size by "ls -l", and the result is below.
> zImage size was... reduced ??
>
> without this patch
>
>         10661888  Image
>          3544032  zImage
>
> with this patch
>
>         10661888  Image
>          3543432  zImage

Please use "size drivers/pinctrl/sh-pfc/built-in.o".

zImage size is affected by section alignment and crompression.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] pinctrl: sh-pfc: tidyup IPSR/MOD_SEL/GPSR settings order Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> - 2016-03-16 01:50 +0100
  Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL  for debug Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-16 09:30 +0100
    Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL  for debug Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-17 08:40 +0100
  Re: [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set  before GPSRx Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-16 09:40 +0100
  Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-03-17 17:50 +0100
  Re: [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-03-17 17:50 +0100
  Re: [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set  before GPSRx Linus Walleij <linus.walleij@linaro.org> - 2016-03-22 14:20 +0100
    Re: [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set  before GPSRx Linus Walleij <linus.walleij@linaro.org> - 2016-03-22 15:40 +0100
    Re: [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set  before GPSRx Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-22 15:40 +0100

csiph-web