linux-next: manual merge of the ppc-temp tree with the metag tree

2013-04-18 Thread Stephen Rothwell
;") from the ppc-temp tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). -- Cheers, Stephen Rothwells...@canb.auug.org.au diff --cc arch/metag/mm/Kconfig index 794f26a,ccf2576..000 --- a/arch/metag/mm/Kconfig +++ b/arch/meta

[git pull] Please pull one last set of fixes for powerpc for v3.9

2013-04-16 Thread Stephen Rothwell
+ 5 files changed, 10 insertions(+), 2 deletions(-) -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpAkhNE7_3jl.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.or

Re: [PATCH 1/2] powerpc: remove section changes from _GLOBAL() and friends

2013-04-15 Thread Stephen Rothwell
Hi Michael, On Mon, 15 Apr 2013 23:30:40 +1000 Stephen Rothwell wrote: > > On Mon, 15 Apr 2013 22:00:17 +1000 Michael Ellerman > wrote: > > > > On Thu, Nov 29, 2012 at 10:55:25AM +1100, Stephen Rothwell wrote: > > > These sometimes produce unexpected resul

Re: [PATCH 1/2] powerpc: remove section changes from _GLOBAL() and friends

2013-04-15 Thread Stephen Rothwell
Hi Michael, On Mon, 15 Apr 2013 22:00:17 +1000 Michael Ellerman wrote: > > On Thu, Nov 29, 2012 at 10:55:25AM +1100, Stephen Rothwell wrote: > > These sometimes produce unexpected results and make it hard to put the > > start up code (for 64 bit) into the

PowerPC regression patches

2013-04-12 Thread Stephen Rothwell
Hi all, If there any patches pending for regressions in v3.9, please send me pointers to them in patchwork, or on the mailing list. I will try to get a last pull request to Linus early next week. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpxzUWKUt6oH.pgp

Re: [PATCH] of: remove the unnecessary of_node_put for of_parse_phandle_with_args()

2013-04-10 Thread Stephen Rothwell
Hi, On Wed, 10 Apr 2013 09:06:11 + Tang Yuantian-B29983 wrote: > > Yes, I already sent out the v2 patch. > Please see: http://patchwork.ozlabs.org/patch/235288/ Thanks. I should read all my email before replying to it :-) -- Cheers, Stephen Rothwell

Re: [PATCH] of: remove the unnecessary of_node_put for of_parse_phandle_with_args()

2013-04-10 Thread Stephen Rothwell
_put(node); Actually, if out_args is NULL, you should do the of_node_put(node), so probably the correct fix is to add an "else" before the above "if" (and move the comment). -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/

[git pull] Please pull another powerpc fix

2013-04-08 Thread Stephen Rothwell
+++- 1 file changed, 7 insertions(+), 1 deletion(-) -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpV_wtUOmkJX.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org

[PATCH] powerpc: fix annotation of fake_numa_create_new_node()

2013-03-25 Thread Stephen Rothwell
d int *nid) { unsigned long long mem; -- 1.8.1 -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpapQ5yneHNS.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[git pull] Please pull some powerpc build fixes

2013-03-25 Thread Stephen Rothwell
ions where the ePAPR idle hcall can be supported arch/powerpc/kernel/epapr_paravirt.c | 6 ++ arch/powerpc/kernel/exceptions-64s.S | 144 +-- 2 files changed, 78 insertions(+), 72 deletions(-) -- Cheers, Stephen Rothwells...@canb.a

Re: [PATCH] PowerPC:kernel: make additional room in exception vector area

2013-03-24 Thread Stephen Rothwell
Hi Mikey, On Mon, 25 Mar 2013 17:07:17 +1100 Michael Neuling wrote: > > FYI you're gonna need this one also to make allmodconfig work. > > http://patchwork.ozlabs.org/patch/230244/ Thanks for that, I will add it to linux-next tomorrow. -- Cheers, Stephen Rothwell

Re: [PATCH] PowerPC:kernel: make additional room in exception vector area

2013-03-24 Thread Stephen Rothwell
the builds overnight, will send it to Linus tomorrow or Wednesday. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpo459H6LW_Y.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] KVM: fix powerpc build error for !CONFIG_KVM

2013-03-21 Thread Stephen Rothwell
5dd47da5b2e864df46cd6e5a82 "KVM: allow host header to be included even for !CONFIG_KVM" Cc: Kevin Hilman Cc: Marcelo Tosatti Signed-off-by: Stephen Rothwell --- include/linux/kvm_host.h | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) Kevin, does this still fix the er

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

2013-03-20 Thread Stephen Rothwell
ot enabled" was included in the commit log so that we could figure out exactly what needed to be protected instead of just effectively removing the whole file. I just reverted that commit for today. Can someone please supply a better solution or even just more information about what

[PATCH] powerpc: make sure that we alays include CONFIG_BINFMT_ELF

2013-03-06 Thread Stephen Rothwell
Our kernel is not much good without BINFMT_ELF and this fixes a build warning on 64 bit allnoconfig builds: warning: (COMPAT) selects COMPAT_BINFMT_ELF which has unmet direct dependencies (COMPAT && BINFMT_ELF) Signed-off-by: Stephen Rothwell --- arch/powerpc/Kconfig | 1 + 1 file ch

Re: [PATCH] powerpc: Wireup the kcmp syscall to sys_ni

2013-03-04 Thread Stephen Rothwell
> @@ -358,3 +358,4 @@ SYSCALL_SPU(setns) > COMPAT_SYS(process_vm_readv) > COMPAT_SYS(process_vm_writev) > SYSCALL(finit_module) > +SYSCALL(ni_syscall) It is probably worth commenting what syscall should be there. -- Cheers, Stephen Rothwells...@canb.auug.org.au p

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

2013-02-21 Thread Stephen Rothwell
Hi Ben, On Thu, 21 Feb 2013 14:43:49 -0600 Michael Neuling wrote: > > Benjamin Herrenschmidt wrote: > > > On Thu, 2013-02-21 at 15:52 +1100, Stephen Rothwell wrote: > > > > > > Today's linux-next merge of the signal tree got conflicts in > > > a

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

2013-02-20 Thread Stephen Rothwell
quot;powerpc: switch to generic sigaltstack") from the signal tree. I fixed it up (I think - see below) and can carry the fix as necessary (no action is required). -- Cheers, Stephen Rothwells...@canb.auug.org.au diff --cc arch/powerpc/kernel/signal_32.c index e4a88d3,80

[PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS

2013-02-12 Thread Stephen Rothwell
Change it to CONFIG_HAVE_VIRT_TO_BUS and set it in all architecures that already provide virt_to_bus(). Signed-off-by: Stephen Rothwell --- arch/Kconfig| 7 +++ arch/alpha/Kconfig | 1 + arch/arm/Kconfig| 1 + arch/avr32/Kconfig | 1 + arch/blackfin/Kconfig

Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS

2013-02-11 Thread Stephen Rothwell
Hi James, On Mon, 11 Feb 2013 11:57:28 + James Hogan wrote: > > On 12/11/12 21:26, Stephen Rothwell wrote: > > Make if easier for more architectures to select it and thus disable > > drivers that use virt_to_bus(). > > > > Signed-off-by: Stephen Rothwell >

[tip:sched/core] cputime: Restore CPU_ACCOUNTING config defaults for PPC64

2013-02-08 Thread tip-bot for Stephen Rothwell
Commit-ID: 02fc8d37229d15c654876cf9ce56b5c1cf7945d7 Gitweb: http://git.kernel.org/tip/02fc8d37229d15c654876cf9ce56b5c1cf7945d7 Author: Stephen Rothwell AuthorDate: Fri, 8 Feb 2013 14:19:38 +1100 Committer: Ingo Molnar CommitDate: Fri, 8 Feb 2013 15:23:12 +0100 cputime: Restore

[PATCH] cputime: restore CPU_ACCOUNTING config defaults for PPC64

2013-02-07 Thread Stephen Rothwell
Commit abf917cd91cb ("cputime: Generic on-demand virtual cputime accounting") inadvertantly changed the default CPU_ACCOUNTING config for PPC64. Repair that. Signed-off-by: Stephen Rothwell --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/Kcon

Re: [PATCH 4/8] cputime: Generic on-demand virtual cputime accounting

2013-02-07 Thread Stephen Rothwell
Hi Frederic, On Fri, 8 Feb 2013 14:07:49 +1100 Stephen Rothwell wrote: > > This patch has the side effect of changing the default configurations: > (This is PowerPC pseries_defconfig before/after this patch) > > @@ -119,8 +120,8 @@ > # > # CPU/Task time

Re: [PATCH 4/8] cputime: Generic on-demand virtual cputime accounting

2013-02-07 Thread Stephen Rothwell
NFIG_TASK_DELAY_ACCT=y I don't know if that was deliberate, but it was suprising. I noticed when this patch entered next-20130207. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpDrCudsO4lC.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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

2013-02-01 Thread Stephen Rothwell
x27;) [-Werror] Caused by commit 1c53a270724d ("perf/POWER7: Make generic event translations available in sysfs"). I have used the tip tree from 20130128 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp3Y5G9XwCFF.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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

2013-01-10 Thread Stephen Rothwell
tions-64s.S:1204: Error: attempt to move .org backwards Not sure what caused that - probably a combination of patches adding code low down. I have just left this broken for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au

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

2012-12-16 Thread Stephen Rothwell
Hi all, On Mon, 17 Dec 2012 14:22:38 +1100 Stephen Rothwell wrote: > > After merging the final tree, today's linux-next build (powerpc allnoconfig) > produced this warning: > > warning: (PPC) selects SPARSE_IRQ which has unmet direct dependencies > (HAVE_GENERIC_

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

2012-12-16 Thread Stephen Rothwell
know what introduced that. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpxcpVMyfcPF.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

linux-next: some merging notes

2012-12-11 Thread Stephen Rothwell
to the __dev* annotation removals - a lot of which are in the driver-core tree (git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git#driver-core-next). -- Cheers, Stephen Rothwells...@canb.auug.org.au pgplLaHT2Q

Re: [PATCH 2/4] powerpc: enable ARCH_USE_BUILTIN_BSWAP

2012-12-04 Thread Stephen Rothwell
ool > default y if 64BIT > > +config ARCH_USE_BUILTIN_BSWAP > + def_bool y > + This should be defined as bool in arch/Kconfig (probably in the previous patch) and then selected from appropriate architectures. -- Cheers, Stephen Rothwells...@

Re: omap2plus_defconfig fails to build

2012-12-03 Thread Stephen Rothwell
Hi all, On Mon, 3 Dec 2012 17:38:34 -0600 Jon Hunter wrote: > > On 12/03/2012 05:26 PM, Stephen Rothwell wrote: > > > > On Thu, 29 Nov 2012 11:40:18 +0100 Belisko Marek > > wrote: > >> > >> I've update linux-next to next-20121129 and omap2plu

Re: omap2plus_defconfig fails to build

2012-12-03 Thread Stephen Rothwell
rpc tree. I will fix this up in today' linux-next (by changing prom_add_property to of_add_property). Someone will need to remember to tell Linus when the latter of those two commits gets merged. -- Cheers, Stephen Rothwell

[PATCH 2/2] powerpc: collapse some equivalent asm macros

2012-11-28 Thread Stephen Rothwell
Since we removed the section changes from them, some of the entry point macros are now the same, so just use the obvious ones. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/ppc_asm.h | 41 arch/powerpc/kernel/head_64.S |6

[PATCH 1/2] powerpc: remove section changes from _GLOBAL() and friends

2012-11-28 Thread Stephen Rothwell
These sometimes produce unexpected results and make it hard to put the start up code (for 64 bit) into the .head.text section. This also adds some explicit .texts at the start of asm files that did not have them. Suggested by Alan Modra. Cc: Alan Modra Signed-off-by: Stephen Rothwell

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

2012-11-27 Thread Stephen Rothwell
efined! Caused by commit 1cf3d8b3d24c ("powerpc+of: Add of node/property notification chain for adds and removes"). -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpIPR2pdYRnL.pgp Description: PGP signature ___ Lin

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

2012-11-14 Thread Stephen Rothwell
w using this patch: From: Stephen Rothwell Date: Thu, 15 Nov 2012 18:02:13 +1100 Subject: [PATCH] lib: disable PSERIES_RECONFIG_NOTIFIER_ERROR_INJECT It has been fundamentally broken by other changes. Signed-off-by: Stephen Rothwell --- lib/Kconfig.debug |1 + 1 file changed, 1 inser

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

2012-11-14 Thread Stephen Rothwell
uot;) from the signal tree and commit 12660b170253 ("powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning !") from the powerpc tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). -- Cheers, Stephen Rothwells...@canb.auug.org.au

Re: Build regressions/improvements in v3.7-rc5

2012-11-12 Thread Stephen Rothwell
cussion). I just keep the powerpc allyesconfig build there to catch other stuff (like drivers that assume too much). -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpBf3XuGCFt4.pgp Description: PGP signature ___ Linuxppc-dev

[PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS

2012-11-12 Thread Stephen Rothwell
Make if easier for more architectures to select it and thus disable drivers that use virt_to_bus(). Signed-off-by: Stephen Rothwell --- arch/Kconfig |7 +++ arch/powerpc/Kconfig |4 +--- arch/sh/Kconfig |4 +--- arch/sparc/Kconfig |4 +--- 4 files changed, 10

Re: [PATCH 12/14] powerpc: Move get_longbusy_msecs into hvcall.h and remove duplicate function

2012-11-09 Thread Stephen Rothwell
dentical to patch 10/14 ... -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpdOZPZzTmGt.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 1/2] powerpc/pseries: Allow firmware features to match partial strings

2012-11-06 Thread Stephen Rothwell
ting firmware > feature > bits. > > This is useful for the matching best energy feature. > > Signed-off-by: Michael Neuling > cc: Vaidyanathan Srinivasan > cc: Linux PPC dev Reviewed-by: Stephen Rothwell -- Cheers, Stephen Rothwell

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

2012-10-11 Thread Stephen Rothwell
e kvm tree. :-( -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpJXxD9vRop7.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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

2012-10-10 Thread Stephen Rothwell
On Thu, 11 Oct 2012 01:47:13 + Tabi Timur-B04825 wrote: > > On Wed, Oct 10, 2012 at 8:18 PM, Stephen Rothwell > wrote: > > > arch/powerpc/include/asm/epapr_hcalls.h | 511 > > -- > > arch/powerpc/include/uapi/asm/Kbuild

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

2012-10-10 Thread Stephen Rothwell
Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Thu, 11 Oct 2012 12:13:51 +1100 Subject: [PATCH] KVM: PPC: fix fallout from UAPI changes Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/epapr_hcalls.h | 511 -- arch/powerpc/include/uapi/asm/Kbuild

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

2012-10-10 Thread Stephen Rothwell
ePAPR idle hcall in host kernel") from the kvm-ppc tree. I just removed epapr_hcalls.h from the Kbuild file as I am not sure how it should be broken up. David, can you have a look at this, please? -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpWt2gv6Fl2S.pgp D

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

2012-10-09 Thread Stephen Rothwell
Hi, On Wed, 10 Oct 2012 08:52:21 +0900 Yasuaki Ishimatsu wrote: > > 2012/10/10 8:45, Andrew Morton wrote: > > On Wed, 10 Oct 2012 10:21:50 +1100 Stephen Rothwell > > wrote: > > > >> Hi Linus, > >> > >> In Linus' tree, today's lin

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

2012-10-09 Thread Stephen Rothwell
Hi Andrew, On Tue, 9 Oct 2012 16:45:14 -0700 Andrew Morton wrote: > > On Wed, 10 Oct 2012 10:21:50 +1100 Stephen Rothwell > wrote: > > > I can't see what the point of the "pfn" variable is > > This: > > --- a/arch/powerpc/platforms/pseries/hotp

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

2012-10-09 Thread Stephen Rothwell
tecture was obviously affected)? (Cross compilers available here http://www.kernel.org/pub/tools/crosstool/). -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpm2suC1gG7h.pgp Description: PGP signature ___ Linuxppc-dev mailing lis

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

2012-09-20 Thread Stephen Rothwell
ocumentation/DMA-ISA-LPC.txt). We have not had this problem before because all the other uses of isa_virt_to_bus() are in drivers that depend on X86 or ARM or ISA or EISA. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpH3JFkMDQYO.pgp Description: P

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

2012-09-20 Thread Stephen Rothwell
[Just bring this to the attention of the PowerPC folks ...] On Thu, 20 Sep 2012 16:45:58 -0400 (EDT) David Miller wrote: > > From: Mika Westerberg > Date: Thu, 20 Sep 2012 12:10:14 +0300 > > > On Thu, Sep 20, 2012 at 05:36:22PM +1000, Stephen Rothwell wrote: > >&g

Re: [PATCH] pseries: double NR_CPUS in defconfig

2012-09-13 Thread Stephen Rothwell
Hi, On Wed, 12 Sep 2012 10:47:07 -0700 Nishanth Aravamudan wrote: > > Anticipating growth in coming years, we should ensure we are getting a > good lead on testing. Most changes to pseries_defconfig are copied into ppc64_defconfig. Should this one be as well? -- Cheers, Stephen

Re: [PATCH] powerpc: Add an xmon command to dump one or all pacas

2012-09-12 Thread Stephen Rothwell
that I hate macros that reference (assumed) globals and shouldn't you use offsetof(struct paca_struct, name) (from linux/stddef.h)? -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpzwe5KPTrCY.pgp Description: PGP signature ___

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

2012-09-10 Thread Stephen Rothwell
d the pci tree from next-20120910 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgptSFNcUhM3q.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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

2012-09-06 Thread Stephen Rothwell
ot; 8b7b80b9ebb4"powerpc: Uprobes port to powerpc") for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp88dPx4Isth.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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

2012-09-05 Thread Stephen Rothwell
ivial tree. Just context changes. I fixed it up (see below) and can carry the fix as necessary (no action required). -- Cheers, Stephen Rothwells...@canb.auug.org.au diff --cc drivers/scsi/ipr.c index cff6503,1059c99..000 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@

Re: [PATCH][upstream] TDM Framework

2012-07-20 Thread Stephen Rothwell
^^ > + especially in the file called "summary" there. ^^^ It might help if those files were included in the patch set ... -- Cheers, Stephen Rothwell

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

2012-07-11 Thread Stephen Rothwell
Hi Alex, On Thu, 12 Jul 2012 07:56:46 +0200 Alexander Graf wrote: > > On 12.07.2012, at 05:57, Stephen Rothwell wrote: > > > Today's linux-next merge of the kvm-ppc tree got a conflict in > > arch/powerpc/kvm/booke_interrupts.S between commit c75df6f96c59 > >

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

2012-07-11 Thread Stephen Rothwell
ed crit/mc exception handler for e500v2") from the kvm-ppc tree. I fixed it up (see below - could do with checking) and can carry the fix as necessary. -- Cheers, Stephen Rothwells...@canb.auug.org.au diff --cc arch/powerpc/kvm/booke_interrupts.S index 8fd4b2a,09456c4..0

Re: [PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-09 Thread Stephen Rothwell
_SHIFT > + * of 12. > + */ > + BUG_ON((77 - 65) > VPN_SHIFT); BUILD_BUG_ON() ? > -static inline void __tlbiel(unsigned long va, int psize, int ssize) > +static inline void __tlbiel(unsigned long vpn, int psize, int ssize) > { > + unsigned long va; >

Re: [PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-09 Thread Stephen Rothwell
e bits are not needed in the PTE, because the > + * low-order b of these bits are part of the byte offset > + * into the virtual page and, if b < 23, the high-order > + * 23-b of these bits are always used in selecting the > + * PTEGs to be searched &g

linux-next: boot failure in next-20120705 and 20120706

2012-07-08 Thread Stephen Rothwell
3 880901f3 38600500 5400e87e 5400183e 980901f3 4082ffcc 880d01f3 7cd0 78000fe0 <0b00> 3860 4bb4 38610070 This is: BUG_ON(local_paca->irq_happened != 0); in __check_irq_replay(). This only happens on my Power5+ machine. -- Cheers, Stephen Rothwell

Re: [PATCH] powerpc: put the gpr sabe/restore functions in their own section

2012-07-08 Thread Stephen Rothwell
Hi Michael, On Sat, 07 Jul 2012 16:55:21 +1000 Michael Ellerman wrote: > > On Fri, 2012-07-06 at 17:09 +1000, Stephen Rothwell wrote: > > This allows the linker to know that calls to them do not need to switch > > TOC and stop errors like the following when linking la

[PATCH] powerpc: put the gpr sabe/restore functions in their own section

2012-07-06 Thread Stephen Rothwell
not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `_savegpr0_29' extern Signed-off-by: Stephen Rothwell --- arch/powerpc/lib/crtsavres.S |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/lib/crt

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2012-03-28 Thread Stephen Rothwell
Hi all, On Thu, 29 Mar 2012 13:55:55 +1100 Stephen Rothwell wrote: > > On Thu, 29 Mar 2012 13:50:44 +1100 Michael Neuling wrote: > > > > > Here are a bunch of patches to disintegrate asm/system.h into a set of > > > separate > > > bits to relieve the pro

Re: bpf_slow_path: sibling call to `skb_copy_bits' not allowed multiple TOCs (ppc)

2012-03-28 Thread Stephen Rothwell
d a go at it a year or so ago, but ran into binutils bugs :-( The other message may be a result of the TOC section size problem, but I am not sure. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpWLFeDJeASE.pgp Description: PGP signature __

[PATCH] powerpc: random little legacy iSeries removal tidy ups

2012-03-21 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell --- arch/powerpc/boot/.gitignore|1 - arch/powerpc/include/asm/iommu.h|1 - arch/powerpc/include/asm/irq.h |2 +- arch/powerpc/include/asm/mmu-hash64.h | 12 arch/powerpc/include/asm/smp.h |1

[PATCH] powerpc: remove NO_IRQ_IGNORE

2012-03-21 Thread Stephen Rothwell
Now that legacy iSeries is gone, this is no longer used. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/irq.h |6 -- arch/powerpc/include/asm/machdep.h |4 +--- arch/powerpc/kernel/irq.c |4 ++-- 3 files changed, 3 insertions(+), 11 deletions(-) diff

[PATCH] c6x: remove irq_set_virq_count

2012-03-21 Thread Stephen Rothwell
This function was copied over from the powerpc architecture but is not used at all, so just remove it. Signed-off-by: Stephen Rothwell --- arch/c6x/include/asm/irq.h | 10 -- arch/c6x/kernel/irq.c |9 - 2 files changed, 0 insertions(+), 19 deletions(-) This was found

Re: Please pull 'next' branch of 5xxx tree

2012-03-21 Thread Stephen Rothwell
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, Stephen Rothwell s...@can

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

2012-03-19 Thread Stephen Rothwell
h for today (thanks to Tony Breeds and David Gibson): From: Stephen Rothwell Date: Tue, 20 Mar 2012 14:13:51 +1100 Subject: [PATCH] powerpc: do not adjust the load address for ps3 Commit c55aef0e5bc6 "powerpc/boot: Change the load address for the wrapper to fit the kernel" adjusted the laod

Re: Please pull 'next' branch of 4xx tree

2012-03-16 Thread Stephen Rothwell
Hi Josh, On Fri, 16 Mar 2012 09:41:38 -0400 Josh Boyer wrote: > > Stephen, could you change linux-next to pull from this tree instead of the > infradead one? Done. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpUVjCAS2Rb6.pgp Description: PGP

linux-next: manual merge of the char-misc tree with the powerpc tree

2012-03-15 Thread Stephen Rothwell
) from the char-misc tree. The former removed this file, so I did that. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgptf0GcPURcb.pgp Description: PGP signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

[PATCH 5/5] powerpc: remove the rest of the legacy iSeries include files

2012-03-15 Thread Stephen Rothwell
since they are not referenced any more. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/iseries/alpaca.h | 31 -- arch/powerpc/include/asm/iseries/hv_call.h | 111 arch/powerpc/include/asm/iseries/hv_call_sc.h | 50 - arch/powerpc

[PATCH 4/5] powerpc: remove the remaining CONFIG_PPC_ISERIES pieces

2012-03-15 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell --- arch/powerpc/boot/Makefile |9 + arch/powerpc/include/asm/dma.h |4 arch/powerpc/include/asm/lppaca.h |8 arch/powerpc/include/asm/spinlock.h |5 ++--- arch/powerpc/kernel/asm-offsets.c | 14

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