Re: [PATCH 31/50] pinctrl: uniphier: Use devm_pinctrl_register() for pinctrl registration

2016-02-26 Thread Masahiro Yamada
2016-02-24 22:15 GMT+09:00 Laxman Dewangan <ldewan...@nvidia.com>: > Use devm_pinctrl_register() for pin control registration and remove > need of .remove callback. > > Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com> > Cc: Masahiro Yamada <yamada.masah.

Re: [PATCH 1/7] reset: add devm_reset_controller_register API

2016-05-03 Thread Masahiro Yamada
2016-05-03 19:17 GMT+09:00 Philipp Zabel <p.za...@pengutronix.de>: > Hi Masahiro, > > Am Sonntag, den 01.05.2016, 19:36 +0900 schrieb Masahiro Yamada: >> Add a device managed API for reset_controller_register(). >> >> This helps in reducing code in .remove ca

[PATCH 0/7] reset: add managned reset_controller_register()

2016-05-01 Thread Masahiro Yamada
Masahiro Yamada (7): reset: add devm_reset_controller_register API reset: ath79: use devm_reset_controller_register() reset: lpc18xx: use devm_reset_controller_register() reset: pistachio: use devm_reset_controller_register() reset: sunxi: use devm_reset_controller_register() reset

Re: [PATCH 00/50] pinctrl: Add and use devm_ apis for pinctrl_{register, unregister}

2016-04-19 Thread Masahiro Yamada
erge window, but hey: we got the > devm gpiochip in for v4.6. Not pulled yet? I want to do my development on top of the devm_pinctrl_register series. -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files

2017-08-19 Thread Masahiro Yamada
he tool versions in Documentation/process/changes.rst are just place-holders for now. We need to figure out the minimal versions if we like to switch to this approach. Masahiro Yamada (3): kbuild: generate *.hash.c during build kbuild: generate *.lex.c during build kbuild: generate *.tab.c and *.ta

[RFC PATCH 1/3] kbuild: generate *.hash.c during build

2017-08-19 Thread Masahiro Yamada
files from time to time. This commit switches to build-time generation of the intermediate C files. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Documentation/process/changes.rst| 12 ++ scripts/Makefile.lib | 11 +- scripts/genksyms/Ma

[PATCH] kbuild: replace genhdr-y with generated-y, deprecating genhdr-y

2017-06-09 Thread Masahiro Yamada
ies, which are obviously exported. Replace genhdr-y with generated-y, and deprecate genhdr-y. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Documentation/kbuild/makefiles.txt | 25 ++--- arch/arm/include/uapi/asm/Kbuild | 6 +++--- arch/x86/include

Re: [PATCH] kbuild: replace genhdr-y with generated-y, deprecating genhdr-y

2017-06-09 Thread Masahiro Yamada
2017-06-09 17:29 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > Prior to commit fcc8487d477a ("uapi: export all headers under uapi > directories"), genhdr-y was meant to specify generated UAPI headers. > > - generated-y: generated headers (other than asm-

Re: [PATCH] kbuild: replace genhdr-y with generated-y, deprecating genhdr-y

2017-06-21 Thread Masahiro Yamada
2017-06-09 17:29 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > Prior to commit fcc8487d477a ("uapi: export all headers under uapi > directories"), genhdr-y was meant to specify generated UAPI headers. > > - generated-y: generated headers (other than asm-

Re: [PATCH] kbuild: deprecate cc-option-align

2017-06-24 Thread Masahiro Yamada
2017-06-19 16:28 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > Documentation/kbuild/makefiles.txt says the change for align options > occurred at GCC 3.0, and Documentation/process/changes.rst says the > minimal supported GCC version is 3.2, so it should be sa

[PATCH] kbuild: deprecate cc-option-align

2017-06-19 Thread Masahiro Yamada
-align. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- x86 maintainers, If this patch looks OK, could you give me Acked-by? Documentation/kbuild/makefiles.txt | 16 arch/x86/Makefile_32.cpu | 7 +++ scripts/Kbuild.include

[PATCH] docs: bump minimal GNU Make version to 3.81

2017-05-06 Thread Masahiro Yamada
out it. Even GNU Make 3.81 is more than 10 years old. It would not hurt to match the documentation with reality instead of fixing makefiles. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Hi Linus, You acked this change already. Could you apply this patch to your tree

Re: [RFC PATCH 1/2] kbuild: Add a cache for generated variables

2017-10-05 Thread Masahiro Yamada
Hi Douglas, 2017-10-05 7:38 GMT+09:00 Doug Anderson <diand...@chromium.org>: > Hi, > > On Tue, Oct 3, 2017 at 9:05 PM, Masahiro Yamada > <yamada.masah...@socionext.com> wrote: >> Thanks for the patches. The idea is interesting. >> >> I am not a Chrome

Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files

2017-09-10 Thread Masahiro Yamada
thanks a lot for taking care of all this! -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files

2017-09-10 Thread Masahiro Yamada
sed gpref support in Makefile.lib > > Sam Yes. Linus committed c054be10ffd Thanks! -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files

2017-09-08 Thread Masahiro Yamada
that > gperf code. > For scripts/kconfig/, I think we do not care at all because we usually invoke it just once when we configure the build setting. If we enable CONFIG_MODVERSIONS, scripts/genksyms/ is invoked over and over again. Sorry, I have not evaluated if the perfect hash gives us n

Re: [RFC PATCH 1/2] kbuild: Add a cache for generated variables

2017-10-09 Thread Masahiro Yamada
2017-10-06 5:58 GMT+09:00 Doug Anderson <diand...@chromium.org>: > Hi, > > On Thu, Oct 5, 2017 at 12:26 AM, Masahiro Yamada > <yamada.masah...@socionext.com> wrote: >> As far as I tested, I always see only one space after ":=" in v2. >> >&

Re: [PATCH v2 1/2] kbuild: Add a cache for generated variables

2017-10-10 Thread Masahiro Yamada
gt; $(KBUILD_EXTMOD))/) > # Usage: option = $(call try-run, $(CC)...-o "$$TMP",option-ok,otherwise) > # Exit code chooses option. "$$TMP" serves as a temporary file and is > # automatically cleaned up. > -try-run = $(shell set -e; \ > +__try-run = set

Re: [RFC PATCH] kbuild: Allow specifying some base host CFLAGS

2017-10-18 Thread Masahiro Yamada
; One last note: I chose to add new variables rather than just having > the build system try to pass HOSTCFLAGS in somehow (either through the > environment or the command line) to avoid weird interactions with > recursive invocations of make. > > Signed-off-by: Douglas Anderso

Re: [RFC PATCH] kbuild: Allow specifying some base host CFLAGS

2017-10-23 Thread Masahiro Yamada
Hi Douglous 2017-10-20 14:06 GMT+09:00 Doug Anderson <diand...@chromium.org>: > Hi, > > On Wed, Oct 18, 2017 at 9:45 AM, Masahiro Yamada > <yamada.masah...@socionext.com> wrote: >> 2017-10-14 3:02 GMT+09:00 Douglas Anderson <diand...@chromium.org>: >>>

Re: [PATCH] docs: dev-tools: coccinelle: delete out of date wiki reference

2017-11-15 Thread Masahiro Yamada
r/ > > -Information and tips about Coccinelle are also provided on the wiki > -pages at http://cocci.ekstranet.diku.dk/wiki/doku.php > - > Once you have it, run the following command:: > > ./configure Applied to linux-kbuild/misc. Thanks! -- Best Regards Masahiro Ya

Re: [PATCH 0/3] kbuild,kconfig: generate lexer/parser C files instead of copying _shipped files

2017-12-14 Thread Masahiro Yamada
2017-12-10 1:02 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > In Linux build system convention, pre-generated files are version- > controlled with a "_shipped" suffix. During the kernel building, > they are simply shipped (copied) removing the suffix. >

Re: [PATCH] docs: dev-tools: coccinelle: delete out of date wiki reference

2017-11-13 Thread Masahiro Yamada
e you have it, run the following command:: > > ./configure -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 2/3] kbuild: prepare to remove C files pre-generated by flex and bison

2017-12-09 Thread Masahiro Yamada
yywrap redefined" warning Tested bison versions: 2.0 2.1 2.2 2.3 2.4 2.4.1 2.5.1 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7 2.7.1 3.0 3.0.1 3.0.2 3.0.3 3.0.4 Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Documentation/proces

[PATCH 0/3] kbuild,kconfig: generate lexer/parser C files instead of copying _shipped files

2017-12-09 Thread Masahiro Yamada
has been fixed in upstream, but not reflected to kernel yet. We can proceed migration in sub-system base. Masahiro Yamada (3): kbuild: add LEX and YACC variables kbuild: prepare to remove C files pre-generated by flex and bison kconfig: generate lexer and parser during build instead of shippi

Re: [PATCH] Check all .c files for bad kernel-doc comments

2017-10-29 Thread Masahiro Yamada
t; + } > if (($output_selection == OUTPUT_INCLUDE) && ($show_not_found == 1)) { > print STDERR "Was looking for '$_'.\n" for keys > %function_table; > } > -- > 2.11.0.301.g722e3be85.dirty > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] Check all .c files for bad kernel-doc comments

2017-10-30 Thread Masahiro Yamada
Hi Matthew, 2017-10-30 22:40 GMT+09:00 Matthew Wilcox <wi...@infradead.org>: > On Mon, Oct 30, 2017 at 12:40:20PM +0900, Masahiro Yamada wrote: >> 2017-10-28 4:41 GMT+09:00 Matthew Wilcox <wi...@infradead.org>: >> > Implement a '-none' output mode for ker

Re: [PATCH v4 19/31] Documentation: kconfig: document a new Kconfig macro language

2018-05-17 Thread Masahiro Yamada
2018-05-17 15:38 GMT+09:00 Kees Cook <keesc...@chromium.org>: > On Wed, May 16, 2018 at 11:16 PM, Masahiro Yamada > <yamada.masah...@socionext.com> wrote: >> Add a document for the macro language introduced to Kconfig. >> >> The motivation of this work

Re: [PATCH] kbuild doc: a bundle of fixes on makefiles.txt

2017-10-19 Thread Masahiro Yamada
chapters. > > Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> > --- Applied to linux-kbuild/fixes. Thanks! -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 00/23] kconfig: move compiler capability tests to Kconfig

2018-02-20 Thread Masahiro Yamada
-foo) is y, but $(cc-option, -m64 -foo) is n ? (or vice versa) If the answer is yes, $(cc-option -foo) would have to be re-calculated every time CONFIG_64BIT is toggled. This is what I'd like to avoid, though. -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the

[PATCH 00/23] kconfig: move compiler capability tests to Kconfig

2018-02-16 Thread Masahiro Yamada
elect user configuration. If this is required, $(shell ) must be dynamically re-calculated depending on other symbols. But, this is difficult, and may cause performance issue. Masahiro Yamada (22): kbuild: remove kbuild cache kbuild: remove CONFIG_CROSS_COMPILE support kconfig: add xstrdu

[PATCH 06/23] kconfig: reference environments directly and remove 'option env=' syntax

2018-02-16 Thread Masahiro Yamada
following code works. Example code: config TOOLCHAIN_LIST string default "My tools: CC=$CC, AS=$AS, CPP=$CPP" Result: $ make -s alldefconfig && tail -n 1 .config CONFIG_TOOLCHAIN_LIST="My tools: CC=gcc, AS=as, CPP=gcc -E" Signed

Re: [PATCH 00/23] kconfig: move compiler capability tests to Kconfig

2018-02-21 Thread Masahiro Yamada
2018-02-21 19:52 GMT+09:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Feb 21, 2018 at 11:20 AM, Masahiro Yamada > <yamada.masah...@socionext.com> wrote: >> 2018-02-21 18:56 GMT+09:00 Arnd Bergmann <a...@arndb.de>: >>> On Wed, Feb 21, 2018 at 8:3

Re: [PATCH 00/23] kconfig: move compiler capability tests to Kconfig

2018-02-21 Thread Masahiro Yamada
2018-02-21 18:56 GMT+09:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Feb 21, 2018 at 8:38 AM, Masahiro Yamada > <yamada.masah...@socionext.com> wrote: >> 2018-02-20 0:18 GMT+09:00 Ulf Magnusson <ulfali...@gmail.com>: >> >>>> >>>> I'm not

[PATCH v3 2/2] kconfig: rename silentoldconfig to syncconfig

2018-02-28 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: - Fix Documentation/networking/i40e.txt - Display warning if silentoldconfig is used Changes in v2: - newly added Documentation/kbuild/kconfig.txt | 2 +- Documentation/networking/i40e.txt |

Re: [PATCH v3 2/2] kconfig: rename silentoldconfig to syncconfig

2018-03-06 Thread Masahiro Yamada
2018-03-01 15:34 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > As commit cedd55d49dee ("kconfig: Remove silentoldconfig from help > and docs; fix kconfig/conf's help") mentioned, 'silentoldconfig' is a > historical misnomer. That commit removed it

Re: [PATCH 1/2] kbuild: remove command line interface LDFLAGS_MODULE from makefiles.txt

2018-03-05 Thread Masahiro Yamada
2018-02-28 19:14 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > Documentation/kbuild/makefiles.txt lists variables used in Makefile > whereas Documentation/kbuild/kbuild.txt describes user assignable > parameters given via environments or the command line. >

Re: [PATCH v2 0/6] kconfig: some clean-ups and rename silentoldconfig

2018-02-28 Thread Masahiro Yamada
2018-02-28 9:15 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > Masahiro Yamada (6): > kconfig: do not call check_conf() for olddefconfig > kconfig: remove unneeded input_mode test in conf() > kconfig: remove redundant input_mode test for check_conf() loop

Re: [PATCH 00/23] kconfig: move compiler capability tests to Kconfig

2018-03-01 Thread Masahiro Yamada
2018-02-22 6:39 GMT+09:00 Ulf Magnusson <ulfali...@gmail.com>: > On Wed, Feb 21, 2018 at 09:57:03PM +0900, Masahiro Yamada wrote: >> 2018-02-21 19:52 GMT+09:00 Arnd Bergmann <a...@arndb.de>: >> > On Wed, Feb 21, 2018 at 11:20 AM, Masahiro Yamada >> >

[PATCH 2/2] kbuild: remove internally used LDFLAGS_vmlinux from kbuild.txt

2018-02-28 Thread Masahiro Yamada
LDFLAGS_MODULE counter-part to users. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Documentation/kbuild/kbuild.txt | 4 1 file changed, 4 deletions(-) diff --git a/Documentation/kbuild/kbuild.txt b/Documentation/kbuild/kbuild.txt index ac2363e..6c9c69e 100644 --- a/Documen

[PATCH 1/2] kbuild: remove command line interface LDFLAGS_MODULE from makefiles.txt

2018-02-28 Thread Masahiro Yamada
script. From commandline LDFLAGS_MODULE shall be used (see kbuild.txt). Then, kbuild.txt explains LDFLAGS_MODULE, like follows: LDFLAGS_MODULE -- Additional options used for $(LD) when linking modules. Signed-off-by: Masahiro

[PATCH v2 0/6] kconfig: some clean-ups and rename silentoldconfig

2018-02-27 Thread Masahiro Yamada
Masahiro Yamada (6): kconfig: do not call check_conf() for olddefconfig kconfig: remove unneeded input_mode test in conf() kconfig: remove redundant input_mode test for check_conf() loop kconfig: hide irrelevant sub-menus for oldconfig kconfig: invoke oldconfig instead of silentoldconfig

[PATCH v2 6/6] kconfig: rename silentoldconfig to syncconfig

2018-02-27 Thread Masahiro Yamada
thing more intuitive. 'syncconfig' is the one I came up with because it updates the .config if necessary, then synchronize other files with it. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: - newly added Documentation/kbuild/kconfig.txt |