[PATCH 1/9] tags: Treat header files as C code

2015-10-15 Thread Michal Marek
macros in the code and the C and C++ parsers fail and recover at different points. Also, qconf.h is parsed as C, but that's a negligible regression. Signed-off-by: Michal Marek <mma...@suse.com> --- scripts/tags.sh | 64 - 1 file chang

[PATCH 9/9] treewide: Remove newlines inside DEFINE_PER_CPU() macros

2015-10-15 Thread Michal Marek
okies.c:44: null expansion of name pattern "\1" Cc: linux-i...@vger.kernel.org Cc: xen-de...@lists.xenproject.org Cc: linux-a...@vger.kernel.org Cc: rds-de...@oss.oracle.com Cc: net...@vger.kernel.org Signed-off-by: Michal Marek <mma...@suse.com> --- arch/ia64/kernel/smp.c | 3 +--

[PATCH 6/9] tags: Do not try to index defconfigs

2015-10-15 Thread Michal Marek
The defconfig files are in predictable locations, so there is no need to index them. Plus, the script was only looking for files named 'defconfig', which only works on a few architectures nowadays. Signed-off-by: Michal Marek <mma...@suse.com> --- scripts/tags.sh | 12

[PATCH 0/9] scripts/tags.sh cleanup

2015-10-15 Thread Michal Marek
Do a cleanup of the tags.sh script, to make it easier to maintain. The main part is in patch 8/9, which unifies the rules for emacs etags and exuberant ctags . Some of the fixes uncovered coding style issues in random source files, which are also fixed by this series. Michal Marek (9): tags

[PATCH 3/9] aic7xxx: Avoid name collision with

2015-10-15 Thread Michal Marek
expansion of name pattern "\3" Cc: linux-s...@vger.kernel.org Signed-off-by: Michal Marek <mma...@suse.com> --- drivers/scsi/aic7xxx/aic79xx.h | 4 ++-- drivers/scsi/aic7xxx/aic79xx_osm.h | 5 - drivers/scsi/aic7xxx/aic7xxx.h | 2 +- drivers/scsi/aic7xxx/aic7xxx_osm.h | 5 -

[PATCH 4/9] tags: Fix erroneous pattern match in a comment

2015-10-15 Thread Michal Marek
l a better solution is found. Signed-off-by: Michal Marek <mma...@suse.com> --- scripts/tags.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index 5b7828756083..996301c3883d 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -204,7 +20

Re: [PATCH 1/2] kconfig/merge_config.sh: Support KCONFIG_CONFIG

2015-10-14 Thread Michal Marek
e kvmconfig (which use merge_config.sh -m > then call a target that respects KCONFIG_CONFIG) and one for > direct use of the script without -m, which called make rules > that edit KCONFIG_CONFIG but verified a different file. > > Signed-off-by: Gabriel de Perthuis > Cc: Michal M

Re: [PATCH 1/2] kconfig/merge_config.sh: Support KCONFIG_CONFIG

2015-10-14 Thread Michal Marek
On 2015-10-14 15:50, Gabriel de Perthuis wrote: > Le 14/10/2015 à 12:56, Michal Marek a écrit : >> On 2015-09-09 19:33, Gabriel de Perthuis wrote: >>> All make targets support $KCONFIG_CONFIG because they >>> run scripts/kconf. Make sure merge_config.sh accesses the &g

Re: [PATCH 31/39] Port xconfig to Qt5 - Add horizontal scrollbar, and scroll per pixel.

2015-10-14 Thread Michal Marek
On 2015-09-22 20:36, Thiago Macieira wrote: > From: Boris Barbulovski > > Signed-off-by: Boris Barbulovski > Signed-off-by: Thiago Macieira > --- > scripts/kconfig/qconf.cc | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc >

Re: Port of [qx]config to Qt 5

2015-10-14 Thread Michal Marek
On 2015-09-22 20:36, Thiago Macieira wrote: > This patch set contains the port of qconfig to Qt 5. At the same time, > it removes Qt 2 and 3 support (the last Qt 3 release was in 2007). > > Most of the work was done by Boris Barbulovski, so many thanks! I've > reviewed and tested the changes. >

Re: [PATCH 1/2] kconfig/merge_config.sh: Support KCONFIG_CONFIG

2015-10-14 Thread Michal Marek
e kvmconfig (which use merge_config.sh -m > then call a target that respects KCONFIG_CONFIG) and one for > direct use of the script without -m, which called make rules > that edit KCONFIG_CONFIG but verified a different file. > > Signed-off-by: Gabriel de Perthuis > Cc: Mic

Re: [PATCH 1/2] kconfig/merge_config.sh: Support KCONFIG_CONFIG

2015-10-14 Thread Michal Marek
e kvmconfig (which use merge_config.sh -m > then call a target that respects KCONFIG_CONFIG) and one for > direct use of the script without -m, which called make rules > that edit KCONFIG_CONFIG but verified a different file. > > Signed-off-by: Gabriel de Perthuis <g2p.c..

Re: [PATCH 1/2] kconfig/merge_config.sh: Support KCONFIG_CONFIG

2015-10-14 Thread Michal Marek
e kvmconfig (which use merge_config.sh -m > then call a target that respects KCONFIG_CONFIG) and one for > direct use of the script without -m, which called make rules > that edit KCONFIG_CONFIG but verified a different file. > > Signed-off-by: Gabriel de Perthuis <g2p.c..

Re: Port of [qx]config to Qt 5

2015-10-14 Thread Michal Marek
On 2015-09-22 20:36, Thiago Macieira wrote: > This patch set contains the port of qconfig to Qt 5. At the same time, > it removes Qt 2 and 3 support (the last Qt 3 release was in 2007). > > Most of the work was done by Boris Barbulovski, so many thanks! I've > reviewed and tested the changes. >

Re: [PATCH 31/39] Port xconfig to Qt5 - Add horizontal scrollbar, and scroll per pixel.

2015-10-14 Thread Michal Marek
On 2015-09-22 20:36, Thiago Macieira wrote: > From: Boris Barbulovski > > Signed-off-by: Boris Barbulovski > Signed-off-by: Thiago Macieira > --- > scripts/kconfig/qconf.cc | 5 + > 1 file changed, 5 insertions(+)

Re: [PATCH 1/2] kconfig/merge_config.sh: Support KCONFIG_CONFIG

2015-10-14 Thread Michal Marek
On 2015-10-14 15:50, Gabriel de Perthuis wrote: > Le 14/10/2015 à 12:56, Michal Marek a écrit : >> On 2015-09-09 19:33, Gabriel de Perthuis wrote: >>> All make targets support $KCONFIG_CONFIG because they >>> run scripts/kconf. Make sure merge_config.sh accesses the &g

Re: [PATCH v4] kbuild: document recursive dependency limitation / resolution

2015-10-08 Thread Michal Marek
Cc: Paul Bolle > Cc: Herbert Xu > Cc: Takashi Iwai > Cc: "Yann E. MORIN" > Cc: Michal Marek > Cc: Jonathan Corbet > Cc: Mate Soos > Cc: linux-kbu...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Luis R.

Re: [PATCH v2] kselftest: add kselftest-clean rule

2015-10-08 Thread Michal Marek
On Thu, Oct 08, 2015 at 02:52:04PM +1100, Michael Ellerman wrote: > On Thu, 2015-10-08 at 02:41 +, Wang Long wrote: > > We use > > > > $make TARGETS="size timers" kselftest > > > > to build and run selftests. but there is no rule > > for us to clean the kselftest generated files. > > >

Re: [PATCH 1/2] linux/kconfig.h: generalize IS_ENABLED logic

2015-10-08 Thread Michal Marek
On 2015-10-07 23:33, Rasmus Villemoes wrote: > On Wed, Oct 07 2015, Michal Marek wrote: >> It should be accompanied by a patch to scripts/tags.sh teaching >> ctags/etags about the new macros. > > Do you mean that something like > > --regex-c='/COND_CONFIG\([^,]*

Re: [PATCH 1/2] linux/kconfig.h: generalize IS_ENABLED logic

2015-10-08 Thread Michal Marek
On 2015-10-07 23:33, Rasmus Villemoes wrote: > On Wed, Oct 07 2015, Michal Marek <mma...@suse.cz> wrote: >> It should be accompanied by a patch to scripts/tags.sh teaching >> ctags/etags about the new macros. > > Do you mean that something like > &

Re: [PATCH v2] kselftest: add kselftest-clean rule

2015-10-08 Thread Michal Marek
On Thu, Oct 08, 2015 at 02:52:04PM +1100, Michael Ellerman wrote: > On Thu, 2015-10-08 at 02:41 +, Wang Long wrote: > > We use > > > > $make TARGETS="size timers" kselftest > > > > to build and run selftests. but there is no rule > > for us to clean the kselftest generated files. > > >

Re: [PATCH v4] kbuild: document recursive dependency limitation / resolution

2015-10-08 Thread Michal Marek
gt; > Cc: James Bottomley <jbottom...@odin.com> > Cc: Josh Triplett <j...@joshtriplett.org> > Cc: Paul Bolle <pebo...@tiscali.nl> > Cc: Herbert Xu <herb...@gondor.apana.org.au> > Cc: Takashi Iwai <ti...@suse.de> > Cc: "Yann E. MORIN" <yann.morin.1

Re: [PATCH 1/2] linux/kconfig.h: generalize IS_ENABLED logic

2015-10-07 Thread Michal Marek
On 2015-10-06 23:05, Rasmus Villemoes wrote: > It's not hard to generalize the macro magic used to build the > IS_ENABLED macro and friends to produce a few other potentially useful > macros: > > CHOOSE_EXPR(CONFIG_FOO, expr): if CONFIG_FOO is set expands to > expr, otherwise expands to nothing.

Re: [PATCH 1/2] linux/kconfig.h: generalize IS_ENABLED logic

2015-10-07 Thread Michal Marek
On 2015-10-06 23:05, Rasmus Villemoes wrote: > It's not hard to generalize the macro magic used to build the > IS_ENABLED macro and friends to produce a few other potentially useful > macros: > > CHOOSE_EXPR(CONFIG_FOO, expr): if CONFIG_FOO is set expands to > expr, otherwise expands to nothing.

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-10-01 Thread Michal Marek
On 2015-10-01 08:14, Michael Ellerman wrote: > On Fri, 2015-09-25 at 22:46 +0200, Michal Marek wrote: >> Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a): >>> >>> >>> On 23 September 2015 19:50:52 GMT+10:00, Michal Marek >>> wrote: >>>>

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-10-01 Thread Michal Marek
On 2015-10-01 08:14, Michael Ellerman wrote: > On Fri, 2015-09-25 at 22:46 +0200, Michal Marek wrote: >> Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a): >>> >>> >>> On 23 September 2015 19:50:52 GMT+10:00, Michal Marek >>> <mma...@suse.com> wrot

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-25 Thread Michal Marek
Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a): > > > On 23 September 2015 19:50:52 GMT+10:00, Michal Marek > wrote: >> On 2015-09-23 07:40, Michael Ellerman wrote: >>> +else ifneq ($(wildcard >> arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) >>> @$(

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-25 Thread Michal Marek
Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a): > > > On 23 September 2015 19:50:52 GMT+10:00, Michal Marek > <mma...@suse.com> wrote: >> On 2015-09-23 07:40, Michael Ellerman wrote: >>> +else ifneq ($(wildcard >> arch/$(SRCARCH)/configs/$(KBUILD_D

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-23 Thread Michal Marek
On 2015-09-23 07:40, Michael Ellerman wrote: > +else ifneq ($(wildcard arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) > @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" > $(Q)$< $(silent) > --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) >

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-23 Thread Michal Marek
On 2015-09-23 07:40, Michael Ellerman wrote: > +else ifneq ($(wildcard arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) > @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" > $(Q)$< $(silent) > --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) >

Re: [PATCH v2] Add virt directory to the top Makefile

2015-09-22 Thread Michal Marek
Dne 22.9.2015 v 14:23 Feng Wu napsal(a): > We need to build files in virt/lib/, so add virt directory to > the top Makefile. > > Signed-off-by: Feng Wu > --- > v2: > - Remove the explicit 'virt' entry in the KBUILD_ALLDIRS assignment > - Remove './' in virt/Makefile

Re: [PATCH] Add virt directory to the top Makefile

2015-09-22 Thread Michal Marek
On 2015-09-22 10:47, Feng Wu wrote: > We need to build files in virt/lib/, which are now used by > KVM and VFIO, so add virt directory to the top Makefile. > > Signed-off-by: Feng Wu > --- > Makefile | 8 +--- > arch/x86/kvm/Makefile | 3 --- > virt/Makefile | 1 + > 3

Re: [PATCH] Add virt directory to the top Makefile

2015-09-22 Thread Michal Marek
On 2015-09-22 10:47, Feng Wu wrote: > We need to build files in virt/lib/, which are now used by > KVM and VFIO, so add virt directory to the top Makefile. > > Signed-off-by: Feng Wu > --- > Makefile | 8 +--- > arch/x86/kvm/Makefile | 3 --- > virt/Makefile

Re: [PATCH v2] Add virt directory to the top Makefile

2015-09-22 Thread Michal Marek
e './' in virt/Makefile Acked-by: Michal Marek <mma...@suse.com> Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[GIT PULL] kbuild misc changes for v4.3-rc1

2015-09-08 Thread Michal Marek
Hi Linus, these are the non-core kbuild changes for 4.3-rc1: - deb-pkg: + module signing fix + dtb files are added to the package + do not require `hostname -f` to work during build + make deb-pkg generates a source package, bindeb-pkg has been added to only generate the binary

[GIT PULL] kconfig changes for v4.3-rc1

2015-09-08 Thread Michal Marek
Hi Linux, please pull these kconfig changes for v4.3-rc1: - kconfig warns about junk characters in Kconfig files - merge_config.sh error handling - small cleanup Thanks, Michal The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52

[GIT PULL] kbuild core changes for v4.3-rc1

2015-09-08 Thread Michal Marek
) Andi Kleen (1): kbuild: Fix .text.unlikely placement Masahiro Yamada (2): kbuild: fixdep: optimize code slightly kbuild: fixdep: drop meaningless hash table initialization Michal Marek (2): genksyms: Regenerate parser kbuild: Fix clang

[GIT PULL] kconfig changes for v4.3-rc1

2015-09-08 Thread Michal Marek
Hi Linux, please pull these kconfig changes for v4.3-rc1: - kconfig warns about junk characters in Kconfig files - merge_config.sh error handling - small cleanup Thanks, Michal The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52

[GIT PULL] kbuild core changes for v4.3-rc1

2015-09-08 Thread Michal Marek
) Andi Kleen (1): kbuild: Fix .text.unlikely placement Masahiro Yamada (2): kbuild: fixdep: optimize code slightly kbuild: fixdep: drop meaningless hash table initialization Michal Marek (2): genksyms: Regenerate parser kbuild: Fix clang

[GIT PULL] kbuild misc changes for v4.3-rc1

2015-09-08 Thread Michal Marek
Hi Linus, these are the non-core kbuild changes for 4.3-rc1: - deb-pkg: + module signing fix + dtb files are added to the package + do not require `hostname -f` to work during build + make deb-pkg generates a source package, bindeb-pkg has been added to only generate the binary

Re: [PATCH v2] Makefile: Fix detection of clang when cross-compiling

2015-09-04 Thread Michal Marek
On 2015-08-27 10:37, Michal Marek wrote: > On 2015-08-27 03:49, Behan Webster wrote: >> Is there any reason you renamed COMPILER? Because it breaks all the >> other patches we have queued up which use it for cross compiling. >> >> And aren't we supposed to use

Re: [PATCH v2] Makefile: Fix detection of clang when cross-compiling

2015-09-04 Thread Michal Marek
On 2015-08-27 10:37, Michal Marek wrote: > On 2015-08-27 03:49, Behan Webster wrote: >> Is there any reason you renamed COMPILER? Because it breaks all the >> other patches we have queued up which use it for cross compiling. >> >> And aren't we supposed to use

Re: [PATCH v3 0/4] scripts: add stack{usage,delta} scripts

2015-08-28 Thread Michal Marek
On 2015-08-20 11:53, Rasmus Villemoes wrote: > On Wed, Aug 19 2015, Michal Marek wrote: > >> Do you plan any new iterations, or is this final despite the [RFC]? >> If it's final, I will apply it. > > It's final, modulo a few typos I spotted. I took the opportunity

Re: [GIT PULL] kbuild misc fixes for v4.2-rc1

2015-08-28 Thread Michal Marek
On 2015-08-28 00:16, Florian Fainelli wrote: > On 03/07/15 03:50, Michal Marek wrote: >> On 2015-07-03 00:25, Linus Torvalds wrote: >>> So with all these changes to the build system fro 4.2, I'm *still* >>> getting that annoying >>> >>>X.509

Re: [GIT PULL] kbuild misc fixes for v4.2-rc1

2015-08-28 Thread Michal Marek
On 2015-08-28 00:16, Florian Fainelli wrote: On 03/07/15 03:50, Michal Marek wrote: On 2015-07-03 00:25, Linus Torvalds wrote: So with all these changes to the build system fro 4.2, I'm *still* getting that annoying X.509 certificate list changed issue. Which apparently people don't

Re: [PATCH v3 0/4] scripts: add stack{usage,delta} scripts

2015-08-28 Thread Michal Marek
On 2015-08-20 11:53, Rasmus Villemoes wrote: On Wed, Aug 19 2015, Michal Marek mma...@suse.cz wrote: Do you plan any new iterations, or is this final despite the [RFC]? If it's final, I will apply it. It's final, modulo a few typos I spotted. I took the opportunity to fix those and send

Re: [PATCH v2] Makefile: Fix detection of clang when cross-compiling

2015-08-27 Thread Michal Marek
On 2015-08-27 03:49, Behan Webster wrote: > > On 08/19/15 08:41, Michal Marek wrote: >> From 49bb3e66a9a7fc3685fb070bdfd31f2c3d78cc87 Mon Sep 17 00:00:00 2001 >> From: Michal Marek >> Date: Wed, 19 Aug 2015 17:36:41 +0200 >> Subject: [PATCH] kbuild: Fix clang de

Re: [PATCH v2] Makefile: Fix detection of clang when cross-compiling

2015-08-27 Thread Michal Marek
On 2015-08-27 03:49, Behan Webster wrote: On 08/19/15 08:41, Michal Marek wrote: From 49bb3e66a9a7fc3685fb070bdfd31f2c3d78cc87 Mon Sep 17 00:00:00 2001 From: Michal Marek mma...@suse.com Date: Wed, 19 Aug 2015 17:36:41 +0200 Subject: [PATCH] kbuild: Fix clang detection We cannot detect

Re: [PATCH v2] scripts/checkkconfigsymbols.py: support default statements

2015-08-24 Thread Michal Marek
On 2015-08-24 16:52, Valentin Rothberg wrote: > Hi Michal, > > On Mon, Aug 24, 2015 at 4:49 PM, Michal Marek wrote: >> On 2015-07-27 12:33, Valentin Rothberg wrote: >>> Until now, checkkonfigsymbols.py did not check default statements for >>> reference

Re: [PATCH v2] scripts/checkkconfigsymbols.py: support default statements

2015-08-24 Thread Michal Marek
On 2015-07-27 12:33, Valentin Rothberg wrote: > Until now, checkkonfigsymbols.py did not check default statements for > references on missing Kconfig symbols (i.e., undefined Kconfig options). > Hence, add support to parse and check the Kconfig default statement. > > Signed-off-by: Valentin

Re: [PATCH 0/2] kbuild: Minor cleanups of fixdep

2015-08-24 Thread Michal Marek
On 2015-07-24 07:18, Masahiro Yamada wrote: > Masahiro Yamada (2): > kbuild: fixdep: optimize code slightly > kbuild: fixdep: drop meaningless hash table initialization > > scripts/basic/fixdep.c | 26 -- > 1 file changed, 4 insertions(+), 22 deletions(-) Applied to

Re: [PATCH v2] scripts/checkkconfigsymbols.py: support default statements

2015-08-24 Thread Michal Marek
On 2015-07-27 12:33, Valentin Rothberg wrote: Until now, checkkonfigsymbols.py did not check default statements for references on missing Kconfig symbols (i.e., undefined Kconfig options). Hence, add support to parse and check the Kconfig default statement. Signed-off-by: Valentin Rothberg

Re: [PATCH v2] scripts/checkkconfigsymbols.py: support default statements

2015-08-24 Thread Michal Marek
On 2015-08-24 16:52, Valentin Rothberg wrote: Hi Michal, On Mon, Aug 24, 2015 at 4:49 PM, Michal Marek mma...@suse.cz wrote: On 2015-07-27 12:33, Valentin Rothberg wrote: Until now, checkkonfigsymbols.py did not check default statements for references on missing Kconfig symbols (i.e

Re: [PATCH 0/2] kbuild: Minor cleanups of fixdep

2015-08-24 Thread Michal Marek
On 2015-07-24 07:18, Masahiro Yamada wrote: Masahiro Yamada (2): kbuild: fixdep: optimize code slightly kbuild: fixdep: drop meaningless hash table initialization scripts/basic/fixdep.c | 26 -- 1 file changed, 4 insertions(+), 22 deletions(-) Applied to

Re: [PATCH] genksyms: Duplicate function pointer type definitions segfault

2015-08-20 Thread Michal Marek
On 2015-07-21 01:52, Richard Yao wrote: > From: Richard Yao > > I noticed that genksyms will segfault when it sees duplicate function > pointer type declaration when I placed the same function pointer > definition in two separate headers in a local branch as an intermediate > step of some

Re: [PATCH v2 1/1] merge_config.sh: exit on missing input files

2015-08-20 Thread Michal Marek
On 2015-07-20 07:12, Sam Bobroff wrote: > Add a check for the existence of input files and exit (with failure) > if they are missing. > > Without this additional check, missing files produce error messages > but still result in an output file being generated and a successful > exit code. > >

Re: [PATCH] kbuild: Fix .text.unlikely placement

2015-08-20 Thread Michal Marek
On 2015-07-20 03:01, Andi Kleen wrote: > From: Andi Kleen > > When building a kernel with .text.unlikely text the unlikely text for > each translation unit was put next to the main .text code in the > final vmlinux. > > The problem is that the linker doesn't allow more specific submatches > of

Re: [PATCH] kbuild: Fix .text.unlikely placement

2015-08-20 Thread Michal Marek
On 2015-07-20 03:01, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com When building a kernel with .text.unlikely text the unlikely text for each translation unit was put next to the main .text code in the final vmlinux. The problem is that the linker doesn't allow more specific

Re: [PATCH v2 1/1] merge_config.sh: exit on missing input files

2015-08-20 Thread Michal Marek
On 2015-07-20 07:12, Sam Bobroff wrote: Add a check for the existence of input files and exit (with failure) if they are missing. Without this additional check, missing files produce error messages but still result in an output file being generated and a successful exit code.

Re: [PATCH] genksyms: Duplicate function pointer type definitions segfault

2015-08-20 Thread Michal Marek
On 2015-07-21 01:52, Richard Yao wrote: From: Richard Yao richard@clusterhq.com I noticed that genksyms will segfault when it sees duplicate function pointer type declaration when I placed the same function pointer definition in two separate headers in a local branch as an intermediate

Re: [PATCH v2] Makefile: Fix detection of clang when cross-compiling

2015-08-19 Thread Michal Marek
default compiler per arch > > is necessary. But I know I need to be able to add arch specific flags > > for clang. > > I can confirm the patch breaks ppc64le clang builds. Can you try the (untested) patch below? >From 49bb3e66a9a7fc3685fb070bdfd31f2c3d78cc87 Mon Sep 17

Re: [PATCH] coccinelle: api: extend spatch for dropping unnecessary owner

2015-08-19 Thread Michal Marek
On 2015-07-10 06:53, Krzysztof Kozlowski wrote: > i2c_add_driver (through i2c_register_driver) sets the owner field so we > can drop it also from i2c drivers, just like from platform drivers. > > Signed-off-by: Krzysztof Kozlowski Applied to kbuild.git#misc. Michal -- To unsubscribe from this

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-08-19 Thread Michal Marek
On 2015-06-30 13:47, Espen Carlsen wrote: > Fix the 'rpm-pkg' makefile target to always generate the correct > /usr/src/kernel/ symlink; this fails on non-RPM-native systems > eg Ubuntu. > > On a non-RPM-native system, the symlink created by rpmbuild points to > the source tree, so the ln -sf

Re: [PATCH v4 0/2] kconfig: warn of unhandled characters in Kconfig commands

2015-08-19 Thread Michal Marek
On 2015-07-20 10:54, Ulf Magnusson wrote: > On Sun, Jul 12, 2015 at 09:41:49AM +0200, Andreas Ruprecht wrote: >> This patchset changes the lexer file to emit a warning if any unhandled >> characters are found in the input. So far, Kconfig options like >> >> +config FOO >> bool >> [...] >>

Re: [PATCH v3] kconfig: Delete unnecessary checks before the function call "sym_calc_value"

2015-08-19 Thread Michal Marek
On 2015-07-07 21:54, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 7 Jul 2015 21:48:23 +0200 > > The sym_calc_value() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the

Re: [PATCH] scripts/tags.sh: Include trace_*_rcuidle() in tags

2015-08-19 Thread Michal Marek
On 2015-07-28 02:17, Stephen Boyd wrote: > On 06/16/2015 06:00 PM, Stephen Boyd wrote: >> Every tracepoint creates two functions, the usual one 'trace_*()' >> and the rcuidle one 'trace_*_rcuidle()'. Add regex for the >> rcuidle variant so that we can jump to the tracepoints that use >> rcuidle.

Re: [PATCH v4] tags: much faster, parallel "make tags"

2015-08-19 Thread Michal Marek
On 2015-05-11 22:25, Alexey Dobriyan wrote: > ctags is single-threaded program. Split list of files to be tagged into > almost equal parts, process them on every CPU and merge the results. Sorry, I missed the v4 of the patch. > + # Remove headers. > + for i in .make-tags.t*; do > +

Re: [PATCH] scripts: Extract kernel headers for out of tree modules build

2015-08-19 Thread Michal Marek
On 2015-08-19 08:50, Daniel Baluta wrote: > scripts/package/builddeb already creates a linux-keader .deb > package, but we need this feature also for non-Debian distros > (e.g. Android or LFS). Kbuild supports building out-of-tree modules by providing the /lib/modules/*/build and

Re: [PATCH v4] tags: much faster, parallel make tags

2015-08-19 Thread Michal Marek
On 2015-05-11 22:25, Alexey Dobriyan wrote: ctags is single-threaded program. Split list of files to be tagged into almost equal parts, process them on every CPU and merge the results. Sorry, I missed the v4 of the patch. + # Remove headers. + for i in .make-tags.t*; do +

Re: [PATCH] scripts: Extract kernel headers for out of tree modules build

2015-08-19 Thread Michal Marek
On 2015-08-19 08:50, Daniel Baluta wrote: scripts/package/builddeb already creates a linux-keader .deb package, but we need this feature also for non-Debian distros (e.g. Android or LFS). Kbuild supports building out-of-tree modules by providing the /lib/modules/*/build and

Re: [PATCH] scripts/tags.sh: Include trace_*_rcuidle() in tags

2015-08-19 Thread Michal Marek
On 2015-07-28 02:17, Stephen Boyd wrote: On 06/16/2015 06:00 PM, Stephen Boyd wrote: Every tracepoint creates two functions, the usual one 'trace_*()' and the rcuidle one 'trace_*_rcuidle()'. Add regex for the rcuidle variant so that we can jump to the tracepoints that use rcuidle. Cc:

Re: [PATCH] coccinelle: api: extend spatch for dropping unnecessary owner

2015-08-19 Thread Michal Marek
On 2015-07-10 06:53, Krzysztof Kozlowski wrote: i2c_add_driver (through i2c_register_driver) sets the owner field so we can drop it also from i2c drivers, just like from platform drivers. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Applied to kbuild.git#misc. Michal -- To

Re: [PATCH, resend] build: fix broken kernel RPM source symlink

2015-08-19 Thread Michal Marek
On 2015-06-30 13:47, Espen Carlsen wrote: Fix the 'rpm-pkg' makefile target to always generate the correct /usr/src/kernel/ver symlink; this fails on non-RPM-native systems eg Ubuntu. On a non-RPM-native system, the symlink created by rpmbuild points to the source tree, so the ln -sf

Re: [PATCH v4 0/2] kconfig: warn of unhandled characters in Kconfig commands

2015-08-19 Thread Michal Marek
On 2015-07-20 10:54, Ulf Magnusson wrote: On Sun, Jul 12, 2015 at 09:41:49AM +0200, Andreas Ruprecht wrote: This patchset changes the lexer file to emit a warning if any unhandled characters are found in the input. So far, Kconfig options like +config FOO bool [...] (note the

Re: [PATCH v3] kconfig: Delete unnecessary checks before the function call sym_calc_value

2015-08-19 Thread Michal Marek
On 2015-07-07 21:54, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Tue, 7 Jul 2015 21:48:23 +0200 The sym_calc_value() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was

Re: [PATCH v2] Makefile: Fix detection of clang when cross-compiling

2015-08-19 Thread Michal Marek
need to be able to add arch specific flags for clang. I can confirm the patch breaks ppc64le clang builds. Can you try the (untested) patch below? From 49bb3e66a9a7fc3685fb070bdfd31f2c3d78cc87 Mon Sep 17 00:00:00 2001 From: Michal Marek mma...@suse.com Date: Wed, 19 Aug 2015 17:36:41 +0200

Re: [RFC] coccinelle: add style check for assignment in if

2015-08-12 Thread Michal Marek
On 2015-08-12 16:53, Kris Borer wrote: > On Wed, Aug 12, 2015 at 10:12 AM, Michal Marek <mailto:mma...@suse.cz>> wrote: > > On 2015-08-12 15:51, Kris Borer wrote: > > Add a semantic patch for fixing some cases of checkpatch.pl > <http://checkpatch.pl>

Re: [RFC] coccinelle: add style check for assignment in if

2015-08-12 Thread Michal Marek
On 2015-08-12 15:51, Kris Borer wrote: > Add a semantic patch for fixing some cases of checkpatch.pl error: > > ERROR: do not use assignment in if condition There is a gcc warning for this already. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [RFC] coccinelle: add style check for assignment in if

2015-08-12 Thread Michal Marek
On 2015-08-12 16:53, Kris Borer wrote: On Wed, Aug 12, 2015 at 10:12 AM, Michal Marek mma...@suse.cz mailto:mma...@suse.cz wrote: On 2015-08-12 15:51, Kris Borer wrote: Add a semantic patch for fixing some cases of checkpatch.pl http://checkpatch.pl error: ERROR: do

Re: [RFC] coccinelle: add style check for assignment in if

2015-08-12 Thread Michal Marek
On 2015-08-12 15:51, Kris Borer wrote: Add a semantic patch for fixing some cases of checkpatch.pl error: ERROR: do not use assignment in if condition There is a gcc warning for this already. Michal -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[GIT PULL] kbuild fixes for v4.2-rc6

2015-08-04 Thread Michal Marek
(2015-07-22 17:47:12 +0200) Jason A. Donenfeld (1): Makefile: Force gzip and xz on module install Michal Marek (1): kbuild: Do not pick up ARCH_{CPP,A,C}FLAGS from the environment Makefile | 9 +++-- 1 file changed, 7

Re: [PATCH] kbuild: document recursive dependency limitation / resolution

2015-08-04 Thread Michal Marek
Dne 29.7.2015 v 22:34 Randy Dunlap napsal(a): > On 07/29/15 13:09, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> Recursive dependency issues with kconfig are unavoidable due to >> some limitations with kconfig, since these issues are recurring >> provide a hint to the user how they

Re: [PATCH] fallback to hostname in scripts/package/builddeb

2015-08-04 Thread Michal Marek
On Sun, Aug 02, 2015 at 08:03:26PM -0700, Christian Kujau wrote: > Hi, > > I happened to build a kernel with "make deb-pkg" on a machine with no > network connectivity, but this failed with: > > [...] > INSTALL debian/headertmp/usr/include/asm/ (65 files) > hostname: Name or service not known

[GIT PULL] kbuild fixes for v4.2-rc6

2015-08-04 Thread Michal Marek
(2015-07-22 17:47:12 +0200) Jason A. Donenfeld (1): Makefile: Force gzip and xz on module install Michal Marek (1): kbuild: Do not pick up ARCH_{CPP,A,C}FLAGS from the environment Makefile | 9 +++-- 1 file changed, 7

Re: [PATCH] fallback to hostname in scripts/package/builddeb

2015-08-04 Thread Michal Marek
On Sun, Aug 02, 2015 at 08:03:26PM -0700, Christian Kujau wrote: Hi, I happened to build a kernel with make deb-pkg on a machine with no network connectivity, but this failed with: [...] INSTALL debian/headertmp/usr/include/asm/ (65 files) hostname: Name or service not known

Re: [PATCH] kbuild: document recursive dependency limitation / resolution

2015-08-04 Thread Michal Marek
Dne 29.7.2015 v 22:34 Randy Dunlap napsal(a): On 07/29/15 13:09, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com Recursive dependency issues with kconfig are unavoidable due to some limitations with kconfig, since these issues are recurring provide a hint to the user how

Re: [PATCH] Makefile: Force gzip and xz on module install

2015-07-22 Thread Michal Marek
Dne 7.7.2015 v 20:26 Jason A. Donenfeld napsal(a): > Running `make modules_install` ordinarily will overwrite existing > modules. This is the desired behavior, and is how pretty much every > other `make install` target works. > > However, if CONFIG_MODULE_COMPRESS is enabled, modules are passed >

Re: [PATCH] Makefile: Force gzip and xz on module install

2015-07-22 Thread Michal Marek
Dne 7.7.2015 v 20:26 Jason A. Donenfeld napsal(a): Running `make modules_install` ordinarily will overwrite existing modules. This is the desired behavior, and is how pretty much every other `make install` target works. However, if CONFIG_MODULE_COMPRESS is enabled, modules are passed

Re: [GIT PULL] ARC fixes for 4.2-rc3

2015-07-16 Thread Michal Marek
e other > cases where we do this, but I do not think that the *intention* was > that people could use this as another KCFLAGS replacement... It was definitely not intended to be set by the user. Michal >From f821bf39576444276917bd6737c526d361c69221 Mon Sep 17 00:00:00 2001 From: Michal

Re: [GIT PULL] ARC fixes for 4.2-rc3

2015-07-16 Thread Michal Marek
this, but I do not think that the *intention* was that people could use this as another KCFLAGS replacement... It was definitely not intended to be set by the user. Michal From f821bf39576444276917bd6737c526d361c69221 Mon Sep 17 00:00:00 2001 From: Michal Marek mma...@suse.com Date: Thu, 16 Jul 2015 18

Re: [GIT PULL] kbuild misc fixes for v4.2-rc1

2015-07-03 Thread Michal Marek
On 2015-07-03 00:25, Linus Torvalds wrote: > So with all these changes to the build system fro 4.2, I'm *still* > getting that annoying > >X.509 certificate list changed > > issue. Which apparently people don't normally see, because it does to > stdout rather than to stderr, so it's hidden

Re: [GIT PULL] kbuild misc fixes for v4.2-rc1

2015-07-03 Thread Michal Marek
On 2015-07-03 00:25, Linus Torvalds wrote: So with all these changes to the build system fro 4.2, I'm *still* getting that annoying X.509 certificate list changed issue. Which apparently people don't normally see, because it does to stdout rather than to stderr, so it's hidden by all

[GIT PULL] kbuild misc fixes for v4.2-rc1

2015-07-02 Thread Michal Marek
Hi Linus, this is the non-critical part of kbuild: - usual make deb-pkg/rpm improvements - .gitignore additions - grammar cleansing in scripts/coccinelle - new coccinelle semantic patch Michal The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1

[GIT PULL] kbuild changes for v4.2-rc1

2015-07-02 Thread Michal Marek
Hi Linus, just a few kbuild core commits this time: - kallsyms fix for CONFIG_XIP_KERNEL - bashisms in scripts/link-vmlinux.sh fixed - Workaround to make DEBUG_INFO_REDUCED more useful yet still space efficient - clang is not wrongly detected when cross-compiling Michal The following changes

[GIT PULL] kconfig changes for v4.2-rc1

2015-07-02 Thread Michal Marek
Hi Linus, please pull this for v4.2-rc1: - kconfig conditions can use usual less/greater than comparisons - kconfig warns about stray characters in Kconfig files - Bogus expression simplification removed - some minor fixes The following changes since commit

Re: [PATCH 0/2] kconfig: allow use of relations other than (in)equality

2015-07-02 Thread Michal Marek
Dne 2.7.2015 v 15:04 Martin Walch napsal(a): > Hi, > >> 1: allow use of relations other than (in)equality > > I know it is a bit late for objections. Still, I want to point out that > this looks to me like a major extension to the language. > > Kconfig is a configuration language, and as far as

Re: linux-next: manual merge of the kbuild tree with Linus' tree

2015-07-02 Thread Michal Marek
Dne 2.7.2015 v 11:18 Geert Uytterhoeven napsal(a): > On Thu, Jul 2, 2015 at 9:17 AM, Michal Marek wrote: >> Dne 2.7.2015 v 08:47 Geert Uytterhoeven napsal(a): >>> On Thu, Jul 2, 2015 at 2:30 AM, Stephen Rothwell >>> wrote: >>>> diff --cc scripts/k

Re: ARC build -O3 (was Re: subtle side effect of commit a1c48bb160f836)

2015-07-02 Thread Michal Marek
Dne 2.7.2015 v 07:27 Vineet Gupta napsal(a): > On Wednesday 01 July 2015 08:49 PM, Michal Marek wrote: >> On Wed, Jun 24, 2015 at 05:50:16PM +0530, Vineet Gupta wrote: >>> On Thursday 18 June 2015 04:02 PM, Vineet Gupta wrote: >>>> On Thursday 18 June 2015 03:44 PM

Re: linux-next: manual merge of the kbuild tree with Linus' tree

2015-07-02 Thread Michal Marek
Dne 2.7.2015 v 08:47 Geert Uytterhoeven napsal(a): > On Thu, Jul 2, 2015 at 2:30 AM, Stephen Rothwell > wrote: >> Today's linux-next merge of the kbuild tree got a conflict in: >> >> scripts/kconfig/Makefile >> >> between commits: >> >> 9bcd776d299e ("kconfig: clarify kvmconfig is for kvm")

Re: linux-next: manual merge of the kbuild tree with Linus' tree

2015-07-02 Thread Michal Marek
Dne 2.7.2015 v 08:47 Geert Uytterhoeven napsal(a): On Thu, Jul 2, 2015 at 2:30 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Today's linux-next merge of the kbuild tree got a conflict in: scripts/kconfig/Makefile between commits: 9bcd776d299e (kconfig: clarify kvmconfig is for

<    2   3   4   5   6   7   8   9   10   11   >