Re: [GIT PULL] Disintegrate and kill asm/system.h

2012-03-28 Thread Stephen Rothwell
Hi Linus, On Wed, 28 Mar 2012 21:24:41 -0700 Linus Torvalds wrote: > > On Wed, Mar 28, 2012 at 9:15 PM, Stephen Rothwell > wrote: > > > > The following patch fixes (as much as possible) a powerpc allyesconfig > > build. > > Ugh: > > > diff -

[PATCH] powerpc: fix fallout from system.h split up

2012-03-30 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell --- arch/powerpc/kernel/fadump.c |2 ++ arch/powerpc/kernel/kgdb.c |1 + 2 files changed, 3 insertions(+) Just a resend of what I sent yesterday - this is what I am using in linux-next. Linus, please apply. diff --git a/arch/powerpc/kernel/fadump.c b

Re: [PATCH] powerpc/boot: Only build board support files when required.

2012-04-02 Thread Stephen Rothwell
.c > +endif It is more ususal in the kernel makefiles to do something like: src-wlib-$(CONFIG_40x) += 4xx.c planetcore.c src-plat-$(CONFIG_40x) += fixed-head.S ep405.c cuboot-hotfoot.c treeboot-walnut.c \ ... and then use $(src-wlib-y) and $(src-plat-y) -- Cheers, Stephen R

Re: [PATCH] powerpc/boot: Only build board support files when required.

2012-04-02 Thread Stephen Rothwell
Hi Tony, On Tue, 3 Apr 2012 11:55:08 +1000 Tony Breeds wrote: > > On Tue, Apr 03, 2012 at 11:41:50AM +1000, Stephen Rothwell wrote: > > > It is more ususal in the kernel makefiles to do something like: > > > > src-wlib-$(CONFIG_40x) += 4xx.c planetcore.c > >

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-04 Thread Stephen Rothwell
cumentation/Changes where we say we need gcc 3.2 and binutils 2.12. Not that that is very relevant to this discussion. ;-) -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpZM66iZki9A.pgp Description: PGP signature __

linux-next: boot failures with next-20120411

2012-04-10 Thread Stephen Rothwell
02a> 3800 886d01f2 980d01f2 ---[ end trace 366fe6c7ced3bfb0 ]--- This did not happen yesterday. Just wondering if anyone can think of anything obvious. Full console log at http://ozlabs.org/~sfr/next-20120411.log.bz2 -- Cheers, Stephen Rothwells...@canb.auug.org.au p

Re: linux-next: boot failures with next-20120411

2012-04-12 Thread Stephen Rothwell
+0200 > > TTY: HVC, use tty from tty_port Thanks for that, Mikey. > Reverting this commit (and 0146b6939074ebe14ece3604fd00e7be128a3812 > otherwise git barfs) fixes the problem on next-20120412. I will revert those commits form linux-next today. -- Cheers, Step

[PATCH] net/pasemi: fix compiler warning

2012-05-02 Thread Stephen Rothwell
lifiers from pointer target type include/linux/skbuff.h:1706:31: note: expected 'struct net_device *' but argument is of type 'const struct net_device *' Cc: Olof Johansson Cc: Pradeep A. Dalvi Signed-off-by: Stephen Rothwell --- drivers/net/ethernet/pasemi/pasemi_mac.c |

[PATCH] powerpc/windfarm: fix compiler warning

2012-05-02 Thread Stephen Rothwell
f_sensor *' but argument is of type 'struct wf_sensor **' Introduced by commit 33e6820b767a ("powerpc/windfarm: Add useful accessors"). Signed-off-by: Stephen Rothwell --- drivers/macintosh/windfarm_pm91.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] powerpc/windfarm: don't pass const strings to snprintf

2012-05-02 Thread Stephen Rothwell
'const char *' Introduced by commit e074d08e2b98 ("powerpc/windfarm: const'ify and add "priv" field to controls & sensors"). Signed-off-by: Stephen Rothwell --- drivers/macintosh/windfarm_smu_sat.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

Re: [PATCH] powerpc: fix compile fail in hugetlb cmdline parsing

2012-05-08 Thread Stephen Rothwell
; > Cc: Jim Cromie > > > Cc: Jason Baron > > > Cc: Greg Kroah-Hartman > > > Cc: Becky Bruce > > > Cc: Benjamin Herrenschmidt > > > Signed-off-by: Paul Gortmaker > > > > Acked-by: Rusty Russell > > This is for -next right ? I

linux-next: manual merge of the crypto tree with the powerpc tree

2012-05-16 Thread Stephen Rothwell
ot;) from the crypto tree. Just context changes. I fixed it up (see below) and can carry the fix as necessary. -- Cheers, Stephen Rothwells...@canb.auug.org.au diff --cc drivers/crypto/Kconfig index f1ceeef,69fdf18..000 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kc

linux-next: PowerPC boot failures in next-20120521

2012-05-21 Thread Stephen Rothwell
the sched/numa branch that came in via the tip tree. Config file attached. I haven't had a chance to try to bisect this yet. Anyone have any ideas? -- Cheers, Stephen Rothwells...@canb.auug.org.au dotconfig.bz2 Description: Binary data pgpBVPIkm2SpZ.pgp Description

Re: linux-next: PowerPC boot failures in next-20120521

2012-05-21 Thread Stephen Rothwell
> Signed-off-by: David Rientjes Thanks, that fixes it. Tested-by: Stephen Rothwell -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpIKSOMWWL04.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: linux-next: PowerPC boot failures in next-20120521

2012-05-21 Thread Stephen Rothwell
On Tue, 22 May 2012 13:03:54 +1000 Stephen Rothwell wrote: > > On Mon, 21 May 2012 18:53:37 -0700 (PDT) David Rientjes > wrote: > > > > Yeah, it's sched/numa since that's what introduced numa_init(). It does > > for_each_node() for each node and d

linux-next: boot failuresfor next-20120601

2012-05-31 Thread Stephen Rothwell
it: 1: sleep: Permission denied /init: 1: sleep: Permission denied /init: 1: sleep: Permission denied . . . Another machine did not use the ipr device and only got the init problems at the end. Anyone got any ideas? -- Cheers, Stephen Rothwell

Re: [PATCH] powerpc: Fix size of st_nlink on 64bit

2012-06-02 Thread Stephen Rothwell
Blanchard Would this affect my (early user mode) boot problems reported yesterday; /init: 71: mknod: Permission denied /init: 88: mknod: Permission denied /init: 88: mknod: Permission denied -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpS0MjgO32my.pgp Descript

Re: [PATCH] powerpc: Fix size of st_nlink on 64bit

2012-06-02 Thread Stephen Rothwell
rmission denied > > Very similar to the errors I was seeing so I think the patch will fix > it. Great. One less thing to bisect tomorrow :-) -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp5Oo7aByK7K.pgp Description: PGP signature _

Re: [driver-core:driver-core-linus 6/6] drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_rewind': (.text+0x18): multiple definition of `kmsg_dump_rewind'

2012-06-15 Thread Stephen Rothwell
for the same patch! I approved this bunch, but will not (unless pressured) approve any more. This scatter gun automated approach is like the boy crying wolf. I appreciate the effort, but please tone down the reports considerably. -- Cheers, Stephen Rothwells...@canb.auug.org.au

linux-next: build failure after merge of the final tree (powerpc related)

2012-06-20 Thread Stephen Rothwell
64-linux-ld: final link failed: Bad value I started building with gcc 4.6.3/binutils 2.22 today. gcc 4.6.0/binutils 2.21 do not produce this error, it produces this instead (which has been happening for a long time): powerpc64-linux-ld: TOC section size exce

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

2012-07-01 Thread Stephen Rothwell
_RESUME check on 64bit if CONFIG_PREEMPT is set") from the signal tree. I *think* that the former is a superset of the latter, so I just used the former. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp8kJiIEWyTu.pgp Description: PGP signature __

linux-next: manual merge of the kvm-ppc tree with Linus' tree

2012-07-04 Thread Stephen Rothwell
NT_THREAD_INFO instead of open coded assembly") from the kvm-ppc tree. Just context changes. I fixed it up (see below) and can carry the fix as necessary. -- Cheers, Stephen Rothwells...@canb.auug.org.au diff --cc arch/powerpc/kernel/entry_64.S index cf38a17,ba943b9..000

linux-next: build failure after merge of the kvm-ppc tree

2012-07-04 Thread Stephen Rothwell
ing list and it clearly hasn't been build tested. I have used the version of the kvm-ppc tree from next-20120703 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpu3DN5WnGii.pgp Description: PGP signature ___ Linux

linux-next: build failure after merge of the final tree

2012-07-05 Thread Stephen Rothwell
ave left this broken for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpqRQpIvCMpr.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: linux-next: build failure after merge of the final tree

2012-07-05 Thread Stephen Rothwell
Hi Alan, On Thu, 5 Jul 2012 19:13:48 +0930 Alan Modra wrote: > > On Thu, Jul 05, 2012 at 06:33:45PM +1000, Stephen Rothwell wrote: > > powerpc64-linux-ld: drivers/built-in.o: In function > > `.gpiochip_is_requested': > > (.text+0x4): sibling call optimization to

Re: linux-next: build failure after merge of the final tree

2012-07-05 Thread Stephen Rothwell
Hi Alan, On Fri, 6 Jul 2012 10:27:10 +0930 Alan Modra wrote: > > On Fri, Jul 06, 2012 at 10:21:51AM +1000, Stephen Rothwell wrote: > > which have now been fixed. So would a simple patch that puts the > > _savegpr etc functions in their own section (defined how?) fix this f

linux-next: build failure in Linus' tree

2010-10-05 Thread Stephen Rothwell
r' Caused by commit 5336377d6225959624146629ce3fc88ee8ecda3d ("modules: Fix module_bug_list list corruption race"). I added the following patch for today: From: Stephen Rothwell Date: Wed, 6 Oct 2010 11:06:44 +1100 Subject: [PATCH] powerpc: remove unused variable Since powerpc uses -Werror on arch powerpc, t

linux-next: manual merge of the tip tree with the powerpc tree

2010-10-18 Thread Stephen Rothwell
("irq_work: Add generic hardirq context callbacks") from the tip tree. Just context changes. I fixed it up and can carry the fix as necessary. -- Cheers, Stephen Rothwells...@canb.auug.org.au ___ Linuxppc-dev

Re: linux-next: manual merge of the tip tree with the powerpc tree

2010-10-18 Thread Stephen Rothwell
Hi again, On Tue, 19 Oct 2010 15:48:49 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got a conflict in > arch/powerpc/kernel/time.c between commit > cf9efce0ce3136fa076f53e53154e98455229514 ("powerpc: Account time using > timebase rather tha

Re: linux-next: build warning in Linus' tree

2010-10-24 Thread Stephen Rothwell
Hi Arnaud, On Sun, 24 Oct 2010 23:47:09 -0400 Arnaud Lacombe wrote: > > The following patch should fix this warning. I think the following is preferable. Not tested yet, I will test tomorrow and submit properly then. -- Cheers, Stephen Rothwells...@canb.auug.org.a

Re: All Applied micro boards are failing with current mainline kernel

2010-11-01 Thread Stephen Rothwell
Hi Josh, On Mon, 1 Nov 2010 11:05:53 -0400 Josh Boyer wrote: > > A few hints would be appreciated. Remove the call to netif_stop_queue() from emac_probe(). Apparently, calling this before register_netdev() is now wrong (maybe always was). -- Cheers, Stephen Rothwell

Re: [PATCH] iSeries: Don't leak if allocations fail in mf_getSrcHistory

2010-11-01 Thread Stephen Rothwell
gt; I don't think it will ever be un-ifdef'ed, so should probably just be > removed. Well, only unofficially iseries maintainer :-) Yes, just remove the whole function ... it was never used and never will be. -- Cheers, Stephen

Re: [PATCH] iSeries: Remove unused mf_getSrcHistory function.

2010-11-01 Thread Stephen Rothwell
On Mon, 1 Nov 2010 21:06:23 +0100 (CET) Jesper Juhl wrote: > > Remove unused function 'mf_getSrcHistory' (that will never be used ever > according to Stephen Rothwell). > > Signed-off-by: Jesper Juhl Acked-by: Stephen Rothwell -- Cheers, Stephen Roth

Re: [PATCH] powerpc: Add jump label support

2010-11-08 Thread Stephen Rothwell
ify it under the terms of the GNU General Public License > + * as published by the Free Software Foundation; either version > + * 2 of the License, or (at your option) any later version. > + */ > + > +#ifdef __KERNEL__ You don't need this protection in a file that is not export

Re: [PATCH 03/14] arch/powerpc: Use printf extension %pR for struct resource

2010-11-12 Thread Stephen Rothwell
ource.end); > + pr_debug(" hose->io_resource=%pR\n", &hose->io_resource.start); Shouldn't this be just &hose->io_resource? -- Cheers, Stephen Rothwell

[PATCH] powerpc: remove second definition of STACK_FRAME_OVERHEAD

2010-11-18 Thread Stephen Rothwell
Since STACK_FRAME_OVERHEAD is defined in asm/ptrace.h and that is ASSEMBER safe, we can just include that instead of going via asm-offsets.h. Signed-off-by: Stephen Rothwell --- arch/powerpc/kernel/asm-offsets.c |1 - arch/powerpc/kernel/entry_32.S |1 + arch/powerpc

linux-next: manual merge of the bkl-config tree with Linus' tree

2010-11-18 Thread Stephen Rothwell
ot;BKL: remove references to lock_kernel from comments") from the bkl-config tree. I just used the former version. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpjDs0Zd7ePa.pgp Description: PGP signature __

linux-next: build failure after merge of the final tree (powerpc tree related)

2010-12-02 Thread Stephen Rothwell
: `popcntw' arch/powerpc/lib/hweight_64.S:106: Error: Unrecognized opcode: `popcntd' This is with: powerpc64-linux-gcc (GCC) 4.4.0 GNU assembler (GNU Binutils) 2.19.1 Caused by commit 64ff31287693c1f325cb9cb049569c1611438ef1 ("powerpc: Add support for popcnt instructions").

Re: linux-next: build failure after merge of the final tree (powerpc tree related)

2010-12-02 Thread Stephen Rothwell
tils is 2.12 ... -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpzngCYknfXy.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] powerpc: Hardcode popcnt instructions for old assemblers

2010-12-07 Thread Stephen Rothwell
ld issue for me (tested ppc64_defconfig with binutils 2.19.1). -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpdNfsKMhZqz.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@l

Re: of_flat_dt_match() helper build FAIL

2011-01-20 Thread Stephen Rothwell
Grant's devicetree/merge branch (which I assume he will ask you to pull soon) and has been in linux-next for the past 2 days. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpxB7MKAewpw.pgp Description: PGP signature

linux-next: build failure after merge of the final tree

2011-01-30 Thread Stephen Rothwell
Error: attempt to move .org backwards arch/powerpc/kernel/exceptions-64s.S:1008: Error: attempt to move .org backwards So something has added a bit of bloat in there. I have left this broken for now. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Stephen Rothwell
everal powerpc configs have CONFIG_PM (implicitly) disabled (e.g. the server configs), so this will unexpectedly turn it on for them. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpazlb0aw6Dg.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Stephen Rothwell
Hi Mark, On Mon, 7 Feb 2011 14:18:29 + Mark Brown wrote: > > On Tue, Feb 08, 2011 at 01:13:24AM +1100, Stephen Rothwell wrote: > > On Mon, 7 Feb 2011 12:22:15 + Mark Brown > > wrote: > > > > + bool > > > + default y if !IA64_HP_SIM >

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Stephen Rothwell
t; savedefconfig, so that's a safe revision with untrimmed defconfigs. Yeah, but we can't tell if CONFIG_PM is turned off on purpose in those defconfigs, or just off because noone explicitly turned it on. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Stephen Rothwell
On Tue, 8 Feb 2011 02:10:45 +1100 Stephen Rothwell wrote: > > On Mon, 7 Feb 2011 16:00:55 +0100 Geert Uytterhoeven > wrote: > > > > $ git grep "CONFIG_PM is not set" > > 7cf3d73b4360e91b14326632ab1aeda4cb26308d^ -- arch/ | wc -l > > 256 > > $

linux-next: build failure after merge of the final tree (powerpc tree related)

2011-03-14 Thread Stephen Rothwell
ers/gpio/langwell_gpio.c:211: error: 'struct irq_desc' has no member named 'chip' Caused by commit 17b9f9e2653a ("powerpc: Enable GENERIC_HARDIRQS_NO_DEPRECATED") enabling CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED for powerpc without previously fixing up the above driver. I

linux-next: build failure after merge of the final tree (ubi tree related)

2011-03-15 Thread Stephen Rothwell
mtd/ubi/io.c: In function 'ubi_dbg_check_all_ff': drivers/mtd/ubi/io.c:1412: error: 'PAGE_KERNEL' undeclared (first use in this function) Caused by commit 823ed5091113 ("UBI: allocate write checking buffer on demand"). I don't know how to fix this, so I have left it

[PATCH] powerpc: wire up new syscalls

2011-03-23 Thread Stephen Rothwell
These syscalls have been added recently: name_to_handle_at open_by_handle_at clock_adjtime syncfs Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/systbl.h |4 arch/powerpc/include/asm/unistd.h |6 +- 2 files changed, 9 insertions

[PATCH] powerpc: restore some misc devices to our configs

2011-03-26 Thread Stephen Rothwell
d-off-by: Stephen Rothwell Cc: Uwe Kleine-König ;make savedefconfig" before and after applying it. The only changes before/after for all the powerpc configs is that these misc devices are reenabled in the configs. diff --git a/arch/powerpc/configs/44x/warp_defconfig b/arch/powerpc/c

linux-next: build failure after merge of the Linus' tree

2011-03-29 Thread Stephen Rothwell
: label 'out_eoi' used but not defined Caused by commit 0521c8fbb3da ("genirq: Provide edge_eoi flow handler") which was clearly not even built with CONFIG_IRQ_EDGE_EOI_HANDLER defined. I applied this fixup patch: From: Stephen Rothwell Date: Wed, 30 Ma

linux-next: build failure after merge of the Linus' tree

2011-03-29 Thread Stephen Rothwell
use in this function) Caused by commit f9ba4475f95b ("powerpc: cell: Use the core flow handler"). I applied the following patch: From: Stephen Rothwell Date: Wed, 30 Mar 2011 10:48:28 +1100 Subject: [PATCH] powerpc/cell: fixup for removal of handle_iic_irq Signed-off-by: Stephen Ro

linux-next: manual merge of the agp tree with the powerpc tree

2009-08-20 Thread Stephen Rothwell
phys_to_gart () and gart_to_phys()") from the agp tree. Just context changes. I fixed it up (see below) and can carry the fix as necessary. -- Cheers, Stephen Rothwells...@canb.auug.org.au diff --cc drivers/char/agp/uninorth-agp.c index bba29ab,4317a55..000 --- a/driver

Re: [PATCH 1/3] powerpc/pci: Remove dead checks for CONFIG_PPC_OF

2009-08-20 Thread Stephen Rothwell
Hi Grant, On Thu, 20 Aug 2009 23:30:09 -0600 Grant Likely wrote: > > From: Grant Likely > > PPC_OF is always selected for arch/powerpc. This patch removes the stale > #defines > > Signed-off-by: Grant Likely Good work. Acked-by: Stephen Rothwell -- Che

Re: [PATCH 2/3] powerpc/pci: move pci_64.c device tree scanning code into pci-common.c

2009-08-20 Thread Stephen Rothwell
M_RESOURCE]; > + flags |= IORESOURCE_READONLY | IORESOURCE_CACHEABLE; > + } else { > + printk(KERN_ERR "PCI: bad cfg reg num 0x%x\n", i); > + continue; > + } > +

Re: [PATCH 2/3] powerpc/pci: move pci_64.c device tree scanning code into pci-common.c

2009-08-21 Thread Stephen Rothwell
Hi Grant, On Fri, 21 Aug 2009 08:54:25 -0600 Grant Likely wrote: > > On Fri, Aug 21, 2009 at 12:01 AM, Stephen Rothwell > wrote: > > > > And similarly with sparc's pci_parse_of_addrs() and pci_parse_of_flags > > () ?  Maybe create drivers/of/pci.c (or drivers/p

linux-next: powerpc tree build warning

2009-08-23 Thread Stephen Rothwell
'long unsigned int' Introduced by commit 6826a57d1abc8ac9f59b24f1a008554c6560a995 ("powerpc: Switch to asm-generic/hardirq.h") which changed irq_cpustat_t::__softirq_pending from "unsigned int" to "unsigned long" on powerpc. -- Cheers, Stephen Rothwel

Re: PPC driver - generic bus width

2009-08-26 Thread Stephen Rothwell
> drivers/dev_test.c: In function 'device_probe': > > drivers/dev_test.c:113: warning: assignment from incompatible pointer > > type -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgppFl97sTUPr.pgp Description: PGP signature

ppc64 allnoconfig build warning

2009-08-27 Thread Stephen Rothwell
.dma_direct_dma_supported lacks a __init annotation or the annotation of .lmb_end_of_DRAM is wrong. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpHt1ggmAnUc.pgp Description: PGP signature ___ Linuxppc-dev

linux-next: manual merge of the pci tree with the powerpc tree

2009-08-31 Thread Stephen Rothwell
tree and commit ced66a36d35607c60d18bb531527acd2083c0523 ("PCI/powerpc: support PCIe fundamental reset") from the pci tree. The former moved the code that is modified by the latter into another file. I fixed it up (see below) and can carry the fix as necessary. -- Cheers, Stephen Rothwells...@canb.

linux-next: tree build failure

2009-09-23 Thread Stephen Rothwell
integer constant Presumably caused by commit 8c87df457cb58fe75b9b893007917cf8095660a0 ("BUILD_BUG_ON(): fix it and a couple of bogus uses of it"). I applied the following patch for today. This inline function is only called from one place in one file ... From: Stephen Rothwell Date: Thu, 24 Sep 2009 15:13:2

Re: [PATCH] perf_event, powerpc: Fix compilation after big perf_counter rename

2009-09-24 Thread Stephen Rothwell
ellerman.id.au/kisskb/branch/12/ -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgplIj1XZieDZ.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://li

Re: powerpc: Move /proc/ppc64 to /proc/powerpc and add symlink

2009-09-24 Thread Stephen Rothwell
-$(CONFIG_PPC64) := proc_ppc64.o > +procfs-y := proc_powerpc.o > obj-$(CONFIG_PROC_FS)+= $(procfs-y) Surely just: obj-$(CONFIG_PROC_FS) += proc_powerpc.o -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.

Re: Market research for new PowerPC system

2009-09-26 Thread Stephen Rothwell
Konstantinos Margaritis wrote: > > (Sorry for the cross-posting, please ignore if you are not interested > in this, CC me as I'm not subscribed) -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpUBhi5TtnG5.pgp Description:

Re: [PATCH] perf_event, powerpc: Fix compilation after big perf_counter rename

2009-10-01 Thread Stephen Rothwell
Hi Ingo, On Thu, 1 Oct 2009 09:42:01 +0200 Ingo Molnar wrote: > > * Stephen Rothwell wrote: > > > On Thu, 24 Sep 2009 23:25:55 +1000 Michael Ellerman > > wrote: > > > > > > Give me a day or two, I should be able to add a per-branch setting for >

[PATCH] powerpc/iseries: remove compiler version dependent hack

2009-10-05 Thread Stephen Rothwell
compilers. Signed-off-by: Stephen Rothwell --- arch/powerpc/platforms/iseries/Makefile | 11 +- arch/powerpc/platforms/iseries/dt.c | 56 +- 2 files changed, 25 insertions(+), 42 deletions(-) diff --git a/arch/powerpc/platforms/iseries/Makefile b/arch

Re: [PATCH] powerpc/iseries: remove compiler version dependent hack

2009-10-05 Thread Stephen Rothwell
Hi Ben, On Tue, 6 Oct 2009 17:28:47 +1100 Stephen Rothwell wrote: > > The creation of the flattened device tree depended on the compiler > putting the constant strings for an object in a section with a > particular name. This was changed with recent compilers. Do this > exp

Re: [RFC PATCH 05/12] of: add common header for flattened device tree representation

2009-10-06 Thread Stephen Rothwell
0x10 > - > #ifndef __ASSEMBLY__ > > #include > +#include > #include > #include > #include -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpqWoCuSjWiy.pgp Description: PGP signature ___

Re: [RFC PATCH 00/12] Merge common OpenFirmware device tree code

2009-10-14 Thread Stephen Rothwell
ng to avoid the ARCH ifdefs in linux/of.h by creating asm/of.h and moving the differing bits in there ... I'll send out the two patches I did just to show what I mean (these are from before microblaze was using the OF stuff). -- Cheers, Stephen Rothwells...@

[PATCH 1/2] of: create asm/of.h

2009-10-14 Thread Stephen Rothwell
This creates asm/of.h for powerpc and sparc and includes it from linux/of.h, it also moves the first trivial stuff there from asm/prom.h Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/of.h | 23 +++ arch/powerpc/include/asm/prom.h |7 --- arch/sparc

[PATCH 2/2] of: move struct property to asm/of.h

2009-10-14 Thread Stephen Rothwell
Also find all users of struct property and make sure that they include linux/of.h. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/of.h|7 +++ arch/powerpc/include/asm/prom.h |7 +-- arch/powerpc/kernel/machine_kexec_64.c |1

Re: [RFC PATCH 00/12] Merge common OpenFirmware device tree code

2009-10-15 Thread Stephen Rothwell
another maintainer of your subsystem tree), * successfully unit tested, and * destined for the current or next Linux merge window. Basically, this should be just what you would send to Linus (or ask him to fetch). It is allowed to be rebased if you deem it necessary. -- Cheers, Step

Re: [PATCH 2/3] powerpc: Create PPC_WARN_ALIGNMENT to match PPC_WARN_EMULATED

2009-10-18 Thread Stephen Rothwell
e)do { } while (0) > +#define __PPC_WARN_ALIGNMENT(type) do { } while (0) I think this last line is not needed? -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpKyKNVAHxkl.pgp De

linux-next: manual merge of the sh tree with the powerpc-merge tree

2009-10-27 Thread Stephen Rothwell
ot;sh: Fix hugetlbfs dependencies for SH-3 && MMU configurations") from the sh tree. I fixed it up (see below) and can carry the fix for a while (the powerpc-merge commit should be in Linus' tree soon). -- Cheers, Stephen Rothwells...@canb.auug.org.au diff

Re: [PATCH 19/27] Export symbols for KVM module

2009-10-30 Thread Stephen Rothwell
_ticks_per_jiffy); Since you are moving this anyway, how about moving it into arch/powerpc/kernel/time.c where tb_ticks_per_jiffy is defined. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/

Re: [PATCH 20/27] Split init_new_context and destroy_context

2009-10-30 Thread Stephen Rothwell
n void set_context(unsigned long id, pgd_t *pgd); > > #ifdef CONFIG_PPC_BOOK3S_64 > +extern int __init_new_context(void); > +extern void __destroy_context(int context_id); > +#endif > + > +#ifdef CONFIG_PPC_BOOK3S_64 don't add the #endif/#ifdef pair ... -- C

Re: [PATCH] mpc52xx-psc-spi: refactor probe and remove to make use of of_register_spi_devices()

2009-10-30 Thread Stephen Rothwell
.driver = { > - .name = "mpc52xx-psc-spi", > + .name = DRIVER_NAME, > .owner = THIS_MODULE, > }, > }; I am hoping that we can remove the owner and name fields from struct of_platform_driver sometime. -- Cheers,

Re: Fail building 2.6.31.x for CHRP using gcc-4.4.x

2009-11-01 Thread Stephen Rothwell
configuration builds fine using gcc-4.3.x. For now, just enable CONFIG_PPC_DISABLE_WERROR. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgp7bWsRXK9jk.pgp Description: PGP signature _

Re: [PATCH V2] mpc512x/clock: fix clk_get logic

2009-11-02 Thread Stephen Rothwell
Hi Grant, On Mon, 2 Nov 2009 10:48:58 -0700 Grant Likely wrote: > > Using bool/true/false doesn't seem to be a common pattern in the > kernel. Anyone know what the winds of prevailing opinion are > regarding 'bool' in kernel code? Its a good thing. -

Re: [PATCH] BUILD_BUG_ON: make it handle more cases

2009-11-04 Thread Stephen Rothwell
t this is caused by the "MAYBE_BUILD_BUG_ON(fbit >= 32)" in virtio_has_feature() (in include/linux/virtio_config.h) which is called all over the place. Unfortunately, virtio_has_feature() gets uninlined in those two files ... I have taken the patch back out again for today. --

Re: [patch 09/16] powerpc: Replace old style lock initializer

2009-11-07 Thread Stephen Rothwell
ocks); i++) > > + spin_lock_init(&iSeries_hlocks[i]); > > + > > ppc_md.hpte_invalidate = iSeries_hpte_invalidate; > > ppc_md.hpte_updatepp= iSeries_hpte_updatepp; > > ppc_md.hpte_updateboltedpp = iSeries_hpte_updateboltedpp; -- Cheers, Stephen Rothwe

Re: [patch 09/16] powerpc: Replace old style lock initializer

2009-11-08 Thread Stephen Rothwell
he lock array at runtime > > instead. > > > > Signed-off-by: Thomas Gleixner > > Cc: Benjamin Herrenschmidt > > Cc: linuxppc-...@ozlabs.org > > --- > > Looks reasonable. But iseries can be a bitch, so we do need to test it > on monday. Tested-by

linux-next: rr tree build failure

2009-11-12 Thread Stephen Rothwell
free_consistent': (__ksymtab_sorted+0x2b70): undefined reference to `pci_free_consistent' Caused by the powerpc architecture EXPORTing static inlines (for 32 bit builds) interacting with changes in the rr tree. I have applied this patch for today: From: Stephen Rothwell Date: Thu, 12 Nov 2009 18:54

Re: linux-next: rr tree build failure

2009-11-12 Thread Stephen Rothwell
Hi Ben, On Thu, 12 Nov 2009 20:02:00 +1100 Benjamin Herrenschmidt wrote: > > Thanks. Our EXPORTs are bogus (probably leftovers) it seems. I'll dbl > check tomorrow but that looks like a patch I should pickup in powerpc > -next anyways. That was the idea, thanks. -- Cheers,

Re: Fix bug in gup_hugepd()

2009-11-23 Thread Stephen Rothwell
Hi David, On Tue, 24 Nov 2009 17:03:40 +1100 David Gibson wrote: > > Commit a4fe3ce7699bfe1bd88f816b55d42d8fe1dac655 introduced a new When you quote a SHA1, please also quote the summary line for the commit so those without git access may find it. -- Cheers, Stephen Ro

Re: [PATCH v3 16/27] PPC: use helpers for rlimits

2009-11-29 Thread Stephen Rothwell
is series (or a modified version of it) reaches Linus' tree. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpoRFB8W6wVG.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linux

linux-next: powerpc tree build failure

2009-11-30 Thread Stephen Rothwell
h/powerpc/include/asm/mmu-hash64.h:404: note: expected 'pgd_t *' but argument is of type 'struct mm_struct *' Casued by commit c045256d146800ea1d741a8e9e377dada6b7e195 ("powerpc/mm: Fix bug in pagetable cache cleanup with CONFIG_PPC_SUBPAGE_PROT") which

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

2009-12-08 Thread Stephen Rothwell
t;powerpc/kvm: Sync guest visible MMU state") from the powerpc tree. Just overlapping additions. I fixed it up (see below) and can carry the fix for a while. -- Cheers, Stephen Rothwells...@canb.auug.org.au diff --cc include/linux/kvm.h index 2d241da,caf6173..000 -

linux-next: 52xx-and-virtex tree build failure

2009-12-13 Thread Stephen Rothwell
8d6818b79edb73 ("wii: use both mem1 and mem2 as ram"). I applied the following patch for today, but this may be too much or there may be a better solution. From: Stephen Rothwell Date: Mon, 14 Dec 2009 16:04:15 +1100 Subject: [PATCH] powerpc: fix up for mmu_mapin_ram api change Signed-

linux-next: devicetree tree build failure

2009-12-13 Thread Stephen Rothwell
ree until after v2.6.33-rc1, thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpOPWe9acAlK.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

powerpc/kvm tree build failure

2009-12-13 Thread Stephen Rothwell
s_dir) to be built in, but virt/kvm/kvm_main.o (which defines it) to be modular. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpumdJ5Br3iO.pgp Description: PGP signature ___ Linuxppc-dev mailing

Re: [PowerPC] 2.6.29-rc3-git4 build break : truncated relocation

2009-02-03 Thread Stephen Rothwell
ut it seemed to hit a binutils limitation. I will have another try ... -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpKhspIgncMk.pgp Description: PGP signature ___ Linuxppc-dev mailing list Lin

Html attachments

2009-02-05 Thread Stephen Rothwell
Hi all, I have reconfigured the list to hold any emails with html attachments for moderator approval. So if you don't want your mail to be delayed, do not post html mail to this list. Thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au

Re: 2.6.29-rc4-git1 build break : cell/spu_profiler.o

2009-02-08 Thread Stephen Rothwell
; arch/powerpc/oprofile/cell/spu_profiler.c:52: error: for each function it > appears in.) > make[1]: *** [arch/powerpc/oprofile/cell/spu_profiler.o] Error 1 > make: *** [arch/powerpc/oprofile] Error 2 See http://patchwork.ozlabs.org/patch/22628/ -- Cheers, Stephen Rothwell

Re: [PATCH v4] powerpc: Unify opcode definitions and support

2009-02-10 Thread Stephen Rothwell
d also allow us to use it under the GPL explicitly ... -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpDNEFiQN0TJ.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

Re: [PATCH v4] powerpc: Unify opcode definitions and support

2009-02-10 Thread Stephen Rothwell
Hi Kumar, On Wed, 11 Feb 2009 00:11:32 -0600 Kumar Gala wrote: > > posted a new version that should fix this (added GPL license) Thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpIDPl9omBfj.pgp Description: PGP sig

Re: setup_64.c:450: warning: format '%lx' expects type 'long unsigned int'

2009-02-17 Thread Stephen Rothwell
metimes 32 bits and sometime 64 bits in the 32 bit kernel ... -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpctICuF1kfC.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-de

Re: powerpc allnoconfig

2009-03-02 Thread Stephen Rothwell
ect you have a 64 bit only compiler and allnoconfig produces a 32 bit kernel. Is this a new error? -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpCEcVOQhvP9.pgp Description: PGP signature ___

Re: powerpc allnoconfig

2009-03-02 Thread Stephen Rothwell
Hi Andrew, On Mon, 2 Mar 2009 18:55:14 -0800 Andrew Morton wrote: > > Using built-in specs. > Target: powerpc64-unknown-linux-gnu > Configured with: > /home/axboe/crosstool-0.43/build/powerpc64-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/gcc-4.1.0/configure > --target=powerpc64-unknown-linux-gnu -

Re: powerpc allnoconfig

2009-03-02 Thread Stephen Rothwell
works: $ git describe v2.6.29-rc6-216-g778ef1e > It seems odd that it breaks an allnoconfig build, whereas defconfig and > allmodconfig are OK. allmodconfig and defconfig turn CONFIG_PPC64 on. allnoconfig turns it off so you are trying to build a 32 bit kernel with a 64 bit

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