Re: [PATCH] powerpc/64: whitelist unresolved modversions CRCs

2016-09-22 Thread Michal Marek
On 2016-09-14 04:45, Nicholas Piggin wrote: > These are a symptom of CRC generation failure in generic > build code, and not powerpc specific. > > Signed-off-by: Nicholas Piggin > --- > > Hi Michal, > > Please merge this via your trees with Al's patches. Done, thanks for

Re: linux-next: build warnings after merge of the kbuild tree

2016-08-19 Thread Michal Marek
On 2016-08-19 07:09, Stephen Rothwell wrote: > Hi Nick, > > On Fri, 19 Aug 2016 13:38:54 +1000 Stephen Rothwell <s...@canb.auug.org.au> > wrote: >> >> On Thu, 18 Aug 2016 11:09:48 +1000 Nicholas Piggin <npig...@gmail.com> wrote: >>> >>> On

Re: linux-next: build warnings after merge of the kbuild tree

2016-08-17 Thread Michal Marek
On 2016-08-17 03:44, Stephen Rothwell wrote: > Hi Michal, > > After merging the kbuild tree, today's linux-next build (powerpc > ppc64_defconfig) produced these warnings: > > WARNING: 25 bad relocations > c0cf2570 R_PPC64_ADDR64__crc___arch_hweight16 [...] > Introduced by commit > >

Re: [PATCH] scripts/kconfig/Makefile: Fix KBUILD_DEFCONFIG check when building with O=

2015-10-15 Thread Michal Marek
; Reported-by: Olof Johansson <o...@lixom.net> > Signed-off-by: Michael Ellerman <m...@ellerman.id.au> Acked-by: Michal Marek <mma...@suse.com> I could have spotted it myself :-/. Michal ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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

2015-10-15 Thread Michal Marek
t;>>> We would like to use a target, using merge_config, as our defconfig, so >>>>>> adapt the logic in scripts/kconfig/Makefile to allow that. >>>>>> >>>>>> To minimise the chance of breaking anything, we first check if >>>>>

Re: [PATCH] scripts/tags.sh: Teach tags about some powerpc macros

2015-10-13 Thread Michal Marek
On 2015-10-13 07:18, Michael Ellerman wrote: > On Tue, 2015-09-22 at 13:08 +1000, Michael Ellerman wrote: >> The IO accessors on powerpc are generated using macro fu, ie. out_be32() >> etc. Also there are some debugger related symbols that are macro >> generated. Teach scripts/tags.sh about both.

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 > <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: [PATCH 0/6] kbuild: refactor Makefiles related with cc-version

2015-01-09 Thread Michal Marek
On 2014-12-25 06:31, Masahiro Yamada wrote: Masahiro Yamada (6): kbuild: fix cc-ifversion macro kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion kbuild,gcov: remove unnecessary workaround kbuild,gcov: simplify kernel/gcov/Makefile kbuild: allow cc-ifversion to

[PATCH] kbuild: Fix make help-XXX on powerpc

2014-11-28 Thread Michal Marek
make ARCH=powerpc help-board series should not require a cofigured source tree. Also, sort the boards in the output. Signed-off-by: Michal Marek mma...@suse.cz --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 88b7fa5..0cd4e14 100644

[PATCH] kbuild: Fix make help-board series on powerpc

2014-11-28 Thread Michal Marek
make ARCH=powerpc help-board series should not require a cofigured source tree. Also, sort the boards in the output. Signed-off-by: Michal Marek mma...@suse.cz --- Sorry for the double post to the ppc mailing list. The first version got rejected by the vger spam filter. --- Makefile | 4 ++-- 1

Re: [PATCH] kbuild: Fix make help-board series on powerpc

2014-11-28 Thread Michal Marek
On 2014-11-28 13:52, Michal Marek wrote: make ARCH=powerpc help-board series should not require a cofigured source tree. Also, sort the boards in the output. I added this to kbuild.git#kbuild. Michal ___ Linuxppc-dev mailing list Linuxppc-dev

[PATCH] powerpc/boot: Makefile cleanup

2014-10-02 Thread Michal Marek
The $(image-n) variable will never exist, because unset Kconfig options are '' and not 'n'. Signed-off-by: Michal Marek mma...@suse.cz --- arch/powerpc/boot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index

[PATCH 3/5] powerpc: Set CONFIG_NET=y in defconfigs

2014-09-23 Thread Michal Marek
@lists.ozlabs.org Signed-off-by: Michal Marek mma...@suse.cz --- arch/powerpc/configs/pmac32_defconfig | 1 + arch/powerpc/configs/ppc64_defconfig | 1 + arch/powerpc/configs/ppc64e_defconfig | 1 + arch/powerpc/configs/pseries_defconfig| 1 + arch/powerpc/configs

Re: [PATCH v2] deb-pkg: Add support for powerpc little endian

2014-09-12 Thread Michal Marek
wrote: The Debian powerpc little endian architecture is called ppc64le. This Huh? ppc64le or ppc64el? ppc64el. Commit message is wrong. Fixed below. Mikey What about ppc64? Also, I sent that already a month ago. Both linuxppc-dev and Michal Marek were on cc. http://marc.info/?l

Re: [PATCH v2] powerpc: Avoid circular dependency with zImage.%

2014-06-12 Thread Michal Marek
Dne 12.6.2014 04:07, Mike Qiu napsal(a): This v2 patch is good, Tested-by: Mike Qiu qiud...@linux.vnet.ibm.com Thanks. In kbuild.git it goes. Michal ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

Re: Kernel build fail with Circular xxxx - xxxx dependency dropped

2014-06-11 Thread Michal Marek
Dne 11.6.2014 08:02, Mike Qiu napsal(a): Hi all, I recently build linux next kernel in IBM Power7 platform, use default config file copy from /boot/config-3.6.10-4.fc18.ppc64p7 [root@cena01 linux-next]# uname -a Linux cena01.austin.ibm.com 3.15.0-rc1+ #47 SMP Thu Apr 24 20:59:46 CDT 2014

Re: Kernel build fail with Circular xxxx - xxxx dependency dropped

2014-06-11 Thread Michal Marek
On Wed, Jun 11, 2014 at 10:24:24AM +0200, Michal Marek wrote: Dne 11.6.2014 08:02, Mike Qiu napsal(a): make[1]: Circular arch/powerpc/boot/zImage.lds.S - arch/powerpc/boot/zImage.lds dependency dropped. make[1]: Circular arch/powerpc/boot/zImage.coff.lds.S - arch/powerpc/boot/zImage.lds

Re: Kernel build fail with Circular xxxx - xxxx dependency dropped

2014-06-11 Thread Michal Marek
Dne 11.6.2014 14:21, Michal Marek napsal(a): On Wed, Jun 11, 2014 at 10:24:24AM +0200, Michal Marek wrote: Dne 11.6.2014 08:02, Mike Qiu napsal(a): make[1]: Circular arch/powerpc/boot/zImage.lds.S - arch/powerpc/boot/zImage.lds dependency dropped. make[1]: Circular arch/powerpc/boot

[PATCH v2] powerpc: Avoid circular dependency with zImage.%

2014-06-11 Thread Michal Marek
only the images from $(image-y) as the target of the rule, to avoid the circular dependency. Signed-off-by: Michal Marek mma...@suse.cz --- v2: - Filter out duplicates in the target list - fix the platform argument to cmd_wrap arch/powerpc/boot/Makefile | 4 ++-- 1 file changed, 2 insertions

Re: [PATCH 2/2] Kbuild: Use dtc's -d (dependency) option

2012-01-18 Thread Michal Marek
On 17.1.2012 18:20, Stephen Warren wrote: Michal Marek wrote at Saturday, January 14, 2012 3:51 PM: As the C6X port has been merged in this merge window, I can't easily apply this patch to my kbuild branch and at the same time please Linus by basing the pull request on a tagged release. So I'm

Re: [PATCH 2/2] Kbuild: Use dtc's -d (dependency) option

2012-01-14 Thread Michal Marek
On 11.1.2012 20:36, Mark Salter wrote: On Mon, 2012-01-09 at 11:38 -0700, Stephen Warren wrote: This hooks dtc into Kbuild's dependency system. Thus, for example, make dtbs will rebuild tegra-harmony.dtb if only tegra20.dtsi has changed yet tegra-harmony.dts has not. The previous lack of

[PATCH v2] powerpc: Use the deterministic mode of ar

2011-05-05 Thread Michal Marek
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek mma...@suse.cz --- Hi, this version fixes build with binutils = 2.19 by first checking if ar(1) supports the D option. It depends on a previous

Re: [PATCH 00/34] Make kernel build deterministic

2011-04-06 Thread Michal Marek
On 5.4.2011 21:24, Artem Bityutskiy wrote: On Tue, 2011-04-05 at 08:49 -0700, Greg KH wrote: On Tue, Apr 05, 2011 at 04:58:47PM +0200, Michal Marek wrote: Hi, this series makes it possible to build bit-identical kernel image and modules from identical sources. Of course the build is already

Re: [PATCH 00/34] Make kernel build deterministic

2011-04-06 Thread Michal Marek
On 5.4.2011 17:49, Greg KH wrote: Very nice stuff. Do you want to take the individual patches through one of your trees, or do you mind if the subsystem maintainers take them through theirs? I'd leave it up to the subsystem maintainers. I'll check once the merge window opens and send the

[PATCH 03/34] powerpc: Call gzip with -n

2011-04-05 Thread Michal Marek
The timestamps recorded in the .gz files add no value. Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek mma...@suse.cz --- arch/powerpc/boot/wrapper |6 +++--- 1 files changed, 3 insertions

[PATCH 05/34] powerpc: Use the deterministic mode of ar

2011-04-05 Thread Michal Marek
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek mma...@suse.cz --- arch/powerpc/boot/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/Makefile

[PATCH 00/34] Make kernel build deterministic

2011-04-05 Thread Michal Marek
/{defconfig,allmodconfig,allyesconfig} and ppc64/defconfig. The series is also available at git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6.git deterministic-build-v1 Michal Michal Marek (34): kconfig: Do not record timestamp in auto.conf and autoconf.h kbuild: Call gzip

Re: [PATCH 1/4] of: Add support for linking device tree blobs into vmlinux

2010-12-22 Thread Michal Marek
, you can add Acked-by: Michal Marek mma...@suse.cz but I thing this series should go through the tip tree, as your primary target seems to be x86 and patch 2/4 depends on the ce4100 code that is only in tip. Michal --- Documentation/kbuild/makefiles.txt | 15 +++ include/asm

Re: [PATCH 2/4] x86/of: Add building device tree blob(s) into image.

2010-12-21 Thread Michal Marek
On 8.12.2010 16:01, dirk.brande...@gmail.com wrote: From: Dirk Brandewie dirk.brande...@gmail.com This patch adds linking device tree blob into vmlinux. DTB's are added by adding the blob object name to list of objects to be linked into the image. Signed-off-by: Dirk Brandewie

Re: [PATCH 1/4] of: Add support for linking device tree blobs into vmlinux

2010-12-21 Thread Michal Marek
On 8.12.2010 16:01, dirk.brande...@gmail.com wrote: +quiet_cmd_dt_S_dtb= DTB$@ +quiet_cmd_dtc = DTC $@ Hi, just an aesthetic remark: The target name should start at the 9th column, so there should be 5 spaces after both DTB and DTC. Michal ___

Re: [PATCH] kbuild: Enable building defconfigs from Kconfig files

2010-07-13 Thread Michal Marek
On 07/13/2010 03:43 AM, Stephen Rothwell wrote: After this change, doing a make xxx_defconfig will check first for a file called arch/arch/configs/Kconfig.xxx and use that to generate the .config (effectively starting from an allnoconfig). If that file doesn't exist, it will use

Re: [PATCH 16/40] tags: recognize compat syscalls

2010-06-24 Thread Michal Marek
On 23.6.2010 12:02, Ian Munsie wrote: From: Jason Baron jba...@redhat.com make tags.sh recognize the new syscall macros: COMPAT_SYSCALL_DEFINE#N() ARCH_COMPAT_SYSCALL_DEFINE#N() Signed-off-by: Jason Baron jba...@redhat.com Signed-off-by: Ian Munsie imun...@au1.ibm.com Acked-by: Michal

Re: [PATCH 31/40] trace syscalls: Convert various generic compat syscalls

2010-06-24 Thread Michal Marek
On 23.6.2010 12:37, Andi Kleen wrote: It also has maintenance costs, e.g. I doubt ctags and cscope will be able to deal with these kinds of macros, so it has a high cost for everyone using these tools. FWIW, patch 16/40 of this series teaches 'make tags' to recognize these macros:

Re: [patch 2/2] kbuild: move -fno-dwarf2-cfi-asm to powerpc only

2010-02-04 Thread Michal Marek
On 4.2.2010 00:22, Benjamin Herrenschmidt wrote: On Tue, 2010-02-02 at 14:40 -0800, a...@linux-foundation.org wrote: From: Andi Kleen a...@firstfloor.org Better dwarf2 unwind information is a good thing, it allows better debugging with kgdb and crash and helps systemtap. Commit