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 the patch. Michal

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 > wrote: >> >> On Thu, 18 Aug 2016 11:09:48 +1000 Nicholas Piggin wrote: >>> >>> On Wed, 17 Aug 2016 14:59:59 +0200 >>> Michal Mar

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: [RFC, 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-10-15 Thread Michal Marek
rget, 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 >>>>>> KBUILD_DEFCONFIG is a file, and if so

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

2015-10-15 Thread Michal Marek
NFIG to be > a target") > Reported-by: Olof Johansson > Signed-off-by: Michael Ellerman Acked-by: Michal Marek I could have spotted it myself :-/. Michal ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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-09-30 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-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-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) > +els

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-ifversio

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

2014-11-28 Thread Michal Marek
On 2014-11-28 13:52, Michal Marek wrote: > make ARCH=powerpc help- 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@lists.ozla

[PATCH] kbuild: Fix make help- on powerpc

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

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

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

[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 --- arch/powerpc/boot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Ma

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

2014-09-23 Thread Michal Marek
dev@lists.ozlabs.org Signed-off-by: Michal Marek --- 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/pseries_le_defconfig | 1 +

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

2014-09-12 Thread Michal Marek
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=linux-kernel&m=140744360328562&w=2 > > Anyone using powerpc

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 Thanks. In kbuild.git it goes. Michal ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[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 --- 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(+), 2

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. >

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

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

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 r

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 >>

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

2011-05-05 Thread Michal Marek
Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek --- Hi, this version fixes build with binutils <= 2.19 by first checking if ar(1) supports the D option. It depends on a previous patch in the kbuild tree, commit 40df759e (kbuild:

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 re

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

[PATCH 00/34] Make kernel build deterministic

2011-04-05 Thread Michal Marek
be the same, otherwise the results will differ. This was tested on x86_64/{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): kconf

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

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

[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 Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek --- arch/powerpc/boot/wrapper |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/boot

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

2010-12-22 Thread Michal Marek
ng to copy the blob to get the structure alignment GCC expects. A DTB is linked in by adding the DTB object to the list of objects to be linked into vmlinux in the archtecture specific Makefile using obj-y += foo.dtb.o Signed-off-by: Dirk Brandewie Hi, you can add Acked-by: Michal Marek but I

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 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 > > 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 > --- > arch/x86/platform/c

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//configs/Kconfig.xxx and use that to generate > the .config (effectively starting from an allnoconfig). If that file > doesn't exist, it will use arch//config

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: http://per

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 > > make tags.sh recognize the new syscall macros: > > COMPAT_SYSCALL_DEFINE#N() > ARCH_COMPAT_SYSCALL_DEFINE#N() > > Signed-off-by: Jason Baron > Signed-off-by: Ian Munsie Acke

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 >> >> Better dwarf2 unwind information is a good thing, it allows better >> debugging with kgdb and crash and helps systemtap. >> >> Commit 003086497f07f7f1e67

Re: 2.6.22-rc6-mm1

2007-06-30 Thread Michal Marek
Andrew Morton wrote: > On Fri, 29 Jun 2007 14:32:09 +0200 > Mariusz Kozlowski <[EMAIL PROTECTED]> wrote: >> anyway after unselecting XMON we can see: >> >> CC [M] fs/xfs/linux-2.6/xfs_ioctl32.o >> fs/xfs/linux-2.6/xfs_ioctl32.c: In function 'xfs_ioc_bulkstat_compat': >> fs/xfs/linux-2.6/xfs_ioct