Re: [PATCH] of: make of_(un)register_platform_driver common code.

2009-04-28 Thread Andrew Morton
On Tue, 28 Apr 2009 07:58:26 -0600 Grant Likely grant.lik...@secretlab.ca wrote: Some drivers using of_register_platform_driver() wrapper break on sparc because the wrapper isn't in the header file. This patch moves it from Microblaze and PowerPC implementations and makes it common code.

Re: [PATCH 5/5] proc: export more page flags in /proc/kpageflags

2009-04-28 Thread Andrew Morton
On Tue, 28 Apr 2009 23:41:52 -0500 Nathan Lynch n...@pobox.com wrote: CONFIG_DEBUG_KERNEL being enabled in distro kernels effectively means #ifdef CONFIG_DEBUG_KERNEL == #if 1 as the following patch demos. Now it becomes obviously silly. Sure, #if 1 is usually silly. But if

Re: leds: Add openfirmware platform device support breaks sparc

2009-04-27 Thread Andrew Morton
On Tue, 03 Mar 2009 16:37:13 -0800 (PST) David Miller da...@davemloft.net wrote: From: Sean MacLennan smaclen...@pikatech.com Date: Tue, 3 Mar 2009 19:29:32 -0500 It has been. u carry the two... longer than I want to admit since I worked on a sparc. Would GPIO based LEDS make

Re: [v2 PATCH 0/3] Add CPC925 Memory Controller EDAC drivers

2009-04-15 Thread Andrew Morton
On Mon, 13 Apr 2009 14:05:13 +0800 Harry Ciao qingtao@windriver.com wrote: Hi Doug and Michael, This is the latest v2 patches, the 1/3 of CPC925 MC EDAC driver remains the same as before, the 2/3 has been pushed to Andrew already, and the 3/3 has integrated Michael's suggestions to

Re: [v2 PATCH 1/3] EDAC: Add CPC925 Memory Controller driver

2009-04-15 Thread Andrew Morton
On Mon, 13 Apr 2009 14:05:14 +0800 Harry Ciao qingtao@windriver.com wrote: Introduce IBM CPC925 EDAC driver, which makes use of ECC, CPU and HyperTransport Link error detections and corrections on the IBM CPC925 Bridge and Memory Controller. A wee cleanup: ---

Re: [v2 PATCH 2/3] EDAC: Add edac_device_alloc_index()

2009-04-15 Thread Andrew Morton
for these structures should be taken care of by EDAC core. From: Andrew Morton a...@linux-foundation.org keep things neat. Also avoids having global identifier device_index shadowed by local identifier device_index. Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Doug Thompson nor...@yahoo.com Cc: Harry

Re: bug in drivers/edac/mpc85xx_edac.c:mpc85xx_mc_check() ?

2009-04-10 Thread Andrew Morton
(cc's added) On Wed, 8 Apr 2009 14:57:42 -0700 Jeff Haran jha...@brocade.com wrote: Hi, Recent versions of this function start off with: static void mpc85xx_mc_check(struct mem_ctl_info *mci) { struct mpc85xx_mc_pdata *pdata = mci-pvt_info; ... err_detect =

Re: [PATCH 3/3] powerpc: allow 256kB pages with SHMEM

2009-04-09 Thread Andrew Morton
On Mon, 6 Apr 2009 22:01:15 +0100 (BST) Hugh Dickins h...@veritas.com wrote: Now that shmem's divisions by zero and SHMEM_MAX_BYTES are fixed, let powerpc 256kB pages coexist with CONFIG_SHMEM again. Signed-off-by: Hugh Dickins h...@veritas.com --- Added linuxppc-dev and some other Cc's

Re: [PATCH] Add hvc_console to MAINTAINERS

2009-03-31 Thread Andrew Morton
On Tue, 31 Mar 2009 14:10:23 -0700 Joe Perches j...@perches.com wrote: On Tue, 2009-03-31 at 09:29 -0400, Josh Boyer wrote: Add a MAINTAINERS entry for the hypervisor virtual console support used on IBM POWER servers. Signed-off-by: Josh Boyer jwbo...@linux.vnet.ibm.com --- diff

Re: [PATCH] hvc_console: prevent wrapping in hvc_console_print()

2009-03-30 Thread Andrew Morton
On Tue, 17 Mar 2009 13:19:55 +0100 Roel Kluin roel.kl...@gmail.com wrote: This was found by code analysis, is it needed? --8-8- If we subtract too much on unsigned i it wraps. Signed-off-by: Roel Kluin

Re: [PATCH] hvc_console: prevent wrapping in hvc_console_print()

2009-03-30 Thread Andrew Morton
On Mon, 30 Mar 2009 16:55:53 -0400 Josh Boyer jwbo...@linux.vnet.ibm.com wrote: On Mon, Mar 30, 2009 at 01:35:31PM -0700, Andrew Morton wrote: Guys, could we have a MAINTAINERS entry for this driver please? To my knowledge, there isn't one. Would be Ben now by default I guess

Re: powerpc allnoconfig

2009-03-03 Thread Andrew Morton
On Tue, 3 Mar 2009 11:14:04 +0100 (CET) Geert Uytterhoeven geert.uytterhoe...@sonycom.com wrote: let us know if that works :-) didn't. Oh well. Does allnoconfig work if you force the compiler to be 32-bit, like make CC=powerpc64-unknown-linux-gnu-gcc -m32 Nope:

leds: Add openfirmware platform device support breaks sparc

2009-03-03 Thread Andrew Morton
linux-next's dc0f6e94d7f487c624254597a0b86ef41c525673 (which I don't seem to be able to find on any mailing lists to which I subscribe) breaks the sparc64 allmodconfig build: drivers/leds/leds-gpio.c: In function `gpio_led_init': drivers/leds/leds-gpio.c:286: error: implicit declaration of

Re: leds: Add openfirmware platform device support breaks sparc

2009-03-03 Thread Andrew Morton
On Tue, 3 Mar 2009 17:15:58 -0700 Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Mar 3, 2009 at 5:09 PM, Andrew Morton a...@linux-foundation.org wrote: linux-next's dc0f6e94d7f487c624254597a0b86ef41c525673 (which I don't seem to be able to find on any mailing lists to which I

Re: powerpc allnoconfig

2009-03-02 Thread Andrew Morton
On Tue, 03 Mar 2009 13:31:10 +1100 Michael Neuling mi...@neuling.org wrote: make mrproper make allnoconfig make vmlinux gives: scripts/kconfig/conf -s arch/powerpc/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK

Re: powerpc allnoconfig

2009-03-02 Thread Andrew Morton
On Tue, 3 Mar 2009 13:52:03 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, On Mon, 2 Mar 2009 18:40:49 -0800 Andrew Morton a...@linux-foundation.org wrote: It's a cross-compiler: http://userweb.kernel.org/~akpm/cross-compilers/ What does /opt/crosstool/gcc-4.1.0

Re: powerpc allnoconfig

2009-03-02 Thread Andrew Morton
On Tue, 3 Mar 2009 14:19:05 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, On Mon, 2 Mar 2009 18:55:14 -0800 Andrew Morton a...@linux-foundation.org wrote: Using built-in specs. Target: powerpc64-unknown-linux-gnu Configured with: /home/axboe/crosstool-0.43/build

Re: powerpc allnoconfig

2009-03-02 Thread Andrew Morton
On Tue, 3 Mar 2009 15:40:43 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, On Mon, 2 Mar 2009 20:08:09 -0800 Andrew Morton a...@linux-foundation.org wrote: Right, you have a 64 bit only compiler. Also it is version 4.1.0 which we now black ban (I think

Re: powerpc allnoconfig

2009-03-02 Thread Andrew Morton
On Tue, 3 Mar 2009 17:22:32 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: So, I can only imagine it is your toolchain that is letting you down. hrm. I blame Rusty. What is your host machine? x86_64/FCx Can I send you a new toolchain? (Mine are only good for building kernels -

Re: Crash (ext3 ) during 2.6.29-rc6 boot

2009-02-23 Thread Andrew Morton
On Mon, 23 Feb 2009 15:16:05 +0530 Sachin P. Sant sach...@in.ibm.com wrote: 2.6.29-rc6 bootup on a powerpc box failed with Unable to handle kernel paging request for data at address 0xc0003f38 Faulting instruction address: 0xc0039574 cpu 0x1: Vector: 300 (Data Access) at

Re: [PATCH] vmalloc: Add __get_vm_area_caller()

2009-02-11 Thread Andrew Morton
On Wed, 11 Feb 2009 17:22:47 +0900 (JST) KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com wrote: I want to put into powerpc-next patches relying into that, so if the patch is ok with you guys, can I stick it in powerpc.git ? hm. Generally, all MM patch should merge into -mm tree at first.

Re: [PATCH 1/1] edac: new ppc4xx driver module

2009-02-09 Thread Andrew Morton
On Mon, 9 Feb 2009 16:01:19 -0500 Josh Boyer jwbo...@linux.vnet.ibm.com wrote: On Fri, Feb 06, 2009 at 11:49:47AM -0800, Andrew Morton wrote: On Fri, 06 Feb 2009 11:40:41 -0800 Grant Erickson gerick...@nuovations.com wrote: On 1/30/09 2:05 PM, Andrew Morton wrote: On Fri, 30 Jan 2009 09

Re: [PATCH 1/1] edac: new ppc4xx driver module

2009-02-06 Thread Andrew Morton
On Fri, 06 Feb 2009 11:40:41 -0800 Grant Erickson gerick...@nuovations.com wrote: On 1/30/09 2:05 PM, Andrew Morton wrote: On Fri, 30 Jan 2009 09:54:42 -0700 dougthomp...@xmission.com wrote: From: Grant Erickson gerick...@nuovations.com Perhaps a powerpc mailing list should have been

Re: FW: [PATCH] powerpc/mm: Export HPAGE_SHIFT

2009-02-03 Thread Andrew Morton
On Wed, 04 Feb 2009 12:50:48 +1100 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Tue, 2009-02-03 at 17:08 -0800, Roland Dreier wrote: Forwarding Eli's patch below, since PowerPC guys may have missed it. I guess the question for Ben et al is whether there is any issue with

Re: FW: [PATCH] powerpc/mm: Export HPAGE_SHIFT

2009-02-03 Thread Andrew Morton
On Tue, 03 Feb 2009 22:16:08 -0800 Roland Dreier rdre...@cisco.com wrote: I think it's something like huge_page_size(page_hstate(page)) That would suit. I assume the intention is for that to be usable by driver modules on any architecture? erm, you overestimate the amount of

Re: [PATCH v2] serial: add support for the cell network processor NWP device

2009-01-06 Thread Andrew Morton
On Wed, 07 Jan 2009 14:08:14 +1100 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Mon, 2008-11-24 at 14:53 +0100, Arnd Bergmann wrote: From: Benjamin Krill b...@codiert.org Add support for the nwp serial device which is connected to a DCR bus. It uses the of_serial device

Re: 2.6.28-rc9 panics with crashkernel=256M while booting

2008-12-25 Thread Andrew Morton
On Wed, 24 Dec 2008 23:35:36 -0800 Andrew Morton a...@linux-foundation.org wrote: - Please put [patch] in the Subject: line of patches - Please choose a suitable title, as per Documentation/SubmittingPatches, section 15. - Please cc suitable mailing lists and maintainers on bug reports

Re: [PATCH -mm 1/3] USB: FHCI: Driver should be responsible for managing endpoint queues

2008-12-24 Thread Andrew Morton
On Wed, 24 Dec 2008 23:08:45 +0300 Anton Vorontsov avoront...@ru.mvista.com wrote: On Wed, Dec 24, 2008 at 11:59:36AM -0800, Greg KH wrote: On Wed, Dec 24, 2008 at 10:13:03PM +0300, Anton Vorontsov wrote: Follow these changes for the FHCI driver: Hm, would it just make more sense to

Re: 2.6.28-rc9 panics with crashkernel=256M while booting

2008-12-24 Thread Andrew Morton
' problem. The following changes made the system to boot with any amount of crashkernel memory size. Signed-off-by: Chandru S chan...@linux.vnet.ibm.com Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org Signed-off-by: Andrew Morton a...@linux-foundation.org

Re: [PATCH] USB: Driver for Freescale QUICC Engine USB Host Controller

2008-12-23 Thread Andrew Morton
On Wed, 24 Dec 2008 00:03:22 +0300 Anton Vorontsov avoront...@ru.mvista.com wrote: This patch adds support for the FHCI USB controller, as found in the Freescale MPC836x and MPC832x processors. It can support Full or Low speed modes. Quite a lot the hardware is doing by itself (SOF

Re: [PATCH] mm/shmem.c: fix division by zero

2008-12-19 Thread Andrew Morton
On Fri, 19 Dec 2008 08:44:57 +0300 Yuri Tikhonov y...@emcraft.com wrote: The following patch fixes division by zero, which we have in shmem_truncate_range() and shmem_unuse_inode(), if use big PAGE_SIZE values (e.g. 256KB on ppc44x). With 256KB PAGE_SIZE the ENTRIES_PER_PAGEPAGE constant

Re: [PATCH][v2] fork_init: fix division by zero

2008-12-18 Thread Andrew Morton
On Thu, 18 Dec 2008 10:47:50 +0300 Yuri Tikhonov y...@emcraft.com wrote: Hello Paul, On Friday 12 December 2008 03:48, Paul Mackerras wrote: Andrew Morton writes: +#if (8 * THREAD_SIZE) PAGE_SIZE max_threads = mempages / (8 * THREAD_SIZE / PAGE_SIZE); +#else

Re: [PATCH][v2] fork_init: fix division by zero

2008-12-11 Thread Andrew Morton
On Wed, 10 Dec 2008 19:50:51 +0300 Yuri Tikhonov y...@emcraft.com wrote: The following patch fixes divide-by-zero error for the cases of really big PAGE_SIZEs (e.g. 256KB on ppc44x). Support for big page sizes on 44x is not present in the current kernel yet, but coming soon. Also this

Re: [PATCH][v2] fork_init: fix division by zero

2008-12-11 Thread Andrew Morton
On Thu, 11 Dec 2008 20:28:00 + Al Viro v...@zeniv.linux.org.uk wrote: On Thu, Dec 11, 2008 at 12:16:35PM -0800, Andrew Morton wrote: +#if (8 * THREAD_SIZE) PAGE_SIZE max_threads = mempages / (8 * THREAD_SIZE / PAGE_SIZE); +#else + max_threads = mempages * (PAGE_SIZE / (8

Re: Re[2]: [PATCH][v2] fork_init: fix division by zero

2008-12-11 Thread Andrew Morton
On Fri, 12 Dec 2008 01:22:32 +0300 Yuri Tikhonov y...@emcraft.com wrote: so how about avoiding the nasty ifdefs and doing I'm OK with the approach below, but, leading resulting to the same, this involves some overhead to the code where there was no this overhead before this patch: e.g.

Re: [PATCH][v2] fork_init: fix division by zero

2008-12-11 Thread Andrew Morton
On Fri, 12 Dec 2008 12:31:33 +1000 Nick Piggin nickpig...@yahoo.com.au wrote: On Friday 12 December 2008 07:43, Andrew Morton wrote: On Thu, 11 Dec 2008 20:28:00 + Do they actually cross the page boundaries? Some flavours of slab have at times done an order-1 allocation

Re: [PATCH linux-next] powerpc/powermac: Add missing of_node_put

2008-12-06 Thread Andrew Morton
@ p1 r.p1; p2 r.p2; @@ print * file: %s of_find_node_by_name %s return %s % (p1[0].file,p1[0].line,p2[0].line) // /smpl Signed-off-by: Nicolas Palix [EMAIL PROTECTED] Signed-off-by: Julia Lawall [EMAIL PROTECTED] --- index bcf50d7..800fcce 100644 Signed-off-by: Andrew Morton [EMAIL PROTECTED

Re: Large stack usage in fs code (especially for PPC64)

2008-11-17 Thread Andrew Morton
On Mon, 17 Nov 2008 13:23:23 -0800 (PST) Linus Torvalds [EMAIL PROTECTED] wrote: On Mon, 17 Nov 2008, Andrew Morton wrote: Far be it from me to apportion blame, but THIS IS ALL LINUS'S FAULT! :) I fixed this six years ago. See http://lkml.org/lkml/2002/6/17/68 Btw

Re: [PATCH 1/1] irq: Maintain user set affinity

2008-11-06 Thread Andrew Morton
On Tue, 4 Nov 2008 10:31:05 -0600 (CST) Kumar Gala [EMAIL PROTECTED] wrote: From 819ad3ed4660f4238e053728a8b5aa93d22b13d7 Mon Sep 17 00:00:00 2001 From: Kumar Gala [EMAIL PROTECTED] Date: Tue, 4 Nov 2008 10:13:53 -0600 Subject: [PATCH 1/1] irq: Maintain user set affinity This addresses a

Re: [PATCH 1/1 v2] powerpc: hugetlb pgtable cache access cleanup

2008-11-04 Thread Andrew Morton
On Thu, 30 Oct 2008 17:03:57 -0500 Jon Tollefson [EMAIL PROTECTED] wrote: It was suggested by Andrew that using a macro that made an array look like a function call made it harder to understand the code. Cleaned up use of macro. We now reference the pgtable_cache array directly instead of

Re: [PATCH] Add new framebuffer driver for Fujitsu MB862xx GDCs

2008-10-18 Thread Andrew Morton
On Tue, 14 Oct 2008 17:25:06 +0200 Anatolij Gustschin [EMAIL PROTECTED] wrote: This patch adds framebuffer driver for Fujitsu Carmine/Coral-P(A)/Lime graphics controllers. Lime GDC support is known to work on PPC440EPx based lwmon5 and MPC8544E based socrates embedded boards, both equipped

Re: [PATCH] Add new framebuffer driver for Fujitsu MB862xx GDCs

2008-10-16 Thread Andrew Morton
On Tue, 14 Oct 2008 17:25:06 +0200 Anatolij Gustschin [EMAIL PROTECTED] wrote: This patch adds framebuffer driver for Fujitsu Carmine/Coral-P(A)/Lime graphics controllers. Lime GDC support is known to work on PPC440EPx based lwmon5 and MPC8544E based socrates embedded boards, both equipped

powerpc allmodconfig

2008-10-15 Thread Andrew Morton
arch/powerpc/kernel/setup_64.c:447:5: warning: kernstart_addr is not defined arch/powerpc/kernel/setup_64.c:447:5: warning: kernstart_addr is not defined kernel/resource.c: In function '__reserve_region_with_split': kernel/resource.c:554: warning: format '%llx' expects type 'long long unsigned

Re: [2.6.26 Power5 64bit] oops in ._spin_unlock_irqrestore

2008-10-14 Thread Andrew Morton
(cc's added) On Fri, 10 Oct 2008 16:06:23 +0200 Folkert van Heusden [EMAIL PROTECTED] wrote: Hi, While running my modrobe/rmmod script I got the following oops on a Linux LPAR on a Power5 system: [ 1867.960287] ipr: IBM Power RAID SCSI Device Driver version: 2.4.1 (April 24, 2007) [

Re: [Bugme-new] [Bug 11629] New: quad G5 fails to shut down

2008-09-23 Thread Andrew Morton
[EMAIL PROTECTED] Cc: [EMAIL PROTECTED], Thomas Gleixner [EMAIL PROTECTED], H. Peter Anvin [EMAIL PROTECTED], Andrew Morton [EMAIL PROTECTED] Subject: [git pull] timer fixes Date: Tue, 23 Sep 2008 21:41:00 +0200 Fingers crossed.. I'll mark this as a post-2.6.26 regression, although you seem a bit

Re: [PATCH 3/3] USB: driver for Freescale QUICC Engine USB Host Controller

2008-09-19 Thread Andrew Morton
On Thu, 18 Sep 2008 19:17:46 +0400 Anton Vorontsov [EMAIL PROTECTED] wrote: This patch adds support for the FHCI USB controller, as found in the Freescale MPC836x and MPC832x processors. It can support Full or Low speed modes. Quite a lot the hardware is doing by itself (SOF generation, CRC

Re: 2.6.27-rc5-mm1 mystery trace

2008-09-08 Thread Andrew Morton
On Mon, 8 Sep 2008 16:11:06 +1000 Paul Mackerras [EMAIL PROTECTED] wrote: Andrew Morton writes: a) someone broke powerpc's kallsyms processing and That would be h8300-kallsyms-exclude-local-symbols.patch, which excludes symbols starting with '.' on all architectures, despite the name

2.6.27-rc5-mm1 mystery trace

2008-09-04 Thread Andrew Morton
Booting the putative 2.6.27-rc5-mm1 lineup on the g5 I see: io scheduler cfq registered proc_dir_entry '00' already registered Call Trace: [c0017a0fbae0] [c0012540] unrecov_restore+0x98d8/0x1220c (unreliable) [c0017a0fbb90] [c0149798] dst_error+0x117d3c/0x42ba04

Re: 2.6.27-rc5-mm1 mystery trace

2008-09-04 Thread Andrew Morton
On Fri, 05 Sep 2008 13:42:44 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: This is stupid: g5:/usr/src/25 gdb vmlinux GNU gdb Red Hat Linux (6.3.0.0-1.21rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and

Re: 2.6.27-rc5-mm1 mystery trace

2008-09-04 Thread Andrew Morton
On Fri, 05 Sep 2008 13:54:22 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: a) someone broke powerpc's kallsyms processing and b) someone screwed up their procfs handling. I think the proc bug is old, might have to do with /proc/bus/pci... I have that on my G5 too with 2.6.26,

Re: 2.6.27-rc5-mm1 mystery trace

2008-09-04 Thread Andrew Morton
On Fri, 05 Sep 2008 14:36:41 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Thu, 2008-09-04 at 20:49 -0700, Andrew Morton wrote: On Fri, 05 Sep 2008 13:42:44 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: This is stupid: g5:/usr/src/25 gdb vmlinux

Re: [BUILD-FAILURE] 2.6.27-rc1-mm1 - allyesconfig build fails on powerpc

2008-08-01 Thread Andrew Morton
On Fri, 1 Aug 2008 15:29:36 +1000 Tony Breeds [EMAIL PROTECTED] wrote: On Thu, Jul 31, 2008 at 06:13:28PM +0530, Kamalesh Babulal wrote: Hi Andrew, make allyesconfig with 2.6.27-rc1-mm1 kernel on powerpc fails with build error snip Turning off GCOV fixes this. Not really the

Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

2008-07-31 Thread Andrew Morton
On Thu, 31 Jul 2008 16:04:14 +1000 Nick Piggin [EMAIL PROTECTED] wrote: Do we expect that this change will be replicated in other memory-intensive apps? (I do). Such as what? It would be nice to see some numbers with some HPC or java or DBMS workload using this. Not that I dispute it

Re: [Bugme-new] [Bug 11185] New: Device/host RESET in SCSI

2008-07-31 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 30 Jul 2008 23:18:04 -0700 (PDT) [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=11185 Summary: Device/host RESET in SCSI Product: Platform

Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

2008-07-30 Thread Andrew Morton
On Mon, 28 Jul 2008 12:17:10 -0700 Eric Munson [EMAIL PROTECTED] wrote: Certain workloads benefit if their data or text segments are backed by huge pages. The stack is no exception to this rule but there is no mechanism currently that allows the backing of a stack reliably with huge pages.

Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

2008-07-30 Thread Andrew Morton
On Mon, 28 Jul 2008 12:17:10 -0700 Eric Munson [EMAIL PROTECTED] wrote: Certain workloads benefit if their data or text segments are backed by huge pages. oh. As this is a performance patch, it would be much better if its description contained some performance measurement results! Please.

Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

2008-07-30 Thread Andrew Morton
On Wed, 30 Jul 2008 18:23:18 +0100 Mel Gorman [EMAIL PROTECTED] wrote: On (30/07/08 01:43), Andrew Morton didst pronounce: On Mon, 28 Jul 2008 12:17:10 -0700 Eric Munson [EMAIL PROTECTED] wrote: Certain workloads benefit if their data or text segments are backed by huge pages. oh

Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

2008-07-30 Thread Andrew Morton
On Wed, 30 Jul 2008 20:30:10 +0100 Mel Gorman [EMAIL PROTECTED] wrote: With Erics patch and libhugetlbfs, we can automatically back text/data[1], malloc[2] and stacks without source modification. Fairly soon, libhugetlbfs will also be able to override shmget() to add SHM_HUGETLB. That should

Re: [PATCH] powerpc/ibmveth: fix multiple errors with dma_mapping_error conversion

2008-07-27 Thread Andrew Morton
On Mon, 28 Jul 2008 02:14:24 +1000 Stephen Rothwell [EMAIL PROTECTED] wrote: The addition of an argument to dma_mapping_error() in commit 8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06 dma-mapping: add the device argument to dma_mapping_error() left a bit of fallout: Yeah, sorry, that patch was a

Re: [PATCH] powerpc/ibmveth: fix multiple errors with dma_mapping_error conversion

2008-07-27 Thread Andrew Morton
On Mon, 28 Jul 2008 11:07:40 +1000 (EST) James Morris [EMAIL PROTECTED] wrote: On Mon, 28 Jul 2008, Stephen Rothwell wrote: I hope that we all can discuss procedures for API changes at the Kernel Summit ... all as in, whoever was invited (the only transparent aspect of was a silly

Re: gigantci pages patches

2008-07-27 Thread Andrew Morton
On Mon, 28 Jul 2008 11:07:57 +1000 David Gibson [EMAIL PROTECTED] wrote: On Tue, Jul 22, 2008 at 03:22:36PM -0500, Jon Tollefson wrote: David Gibson wrote: On Fri, Jul 11, 2008 at 05:45:15PM +1000, Stephen Rothwell wrote: Hi all, Could people take one last look at these

Re: [PATCH] Make u64 long long on all architectures (was: the printk problem)

2008-07-22 Thread Andrew Morton
On Fri, 4 Jul 2008 20:03:51 -0600 Matthew Wilcox [EMAIL PROTECTED] wrote: [PATCH] Make u64 long long on all architectures It is currently awkward to print a u64 type. Some architectures use unsigned long while others use unsigned long long. Since unsigned long long is 64-bit for all

Re: [PATCH] Make u64 long long on all architectures (was: the printk problem)

2008-07-22 Thread Andrew Morton
On Tue, 22 Jul 2008 20:36:35 +1000 Michael Ellerman [EMAIL PROTECTED] wrote: On Tue, 2008-07-22 at 03:05 -0700, Andrew Morton wrote: On Fri, 4 Jul 2008 20:03:51 -0600 Matthew Wilcox [EMAIL PROTECTED] wrote: [PATCH] Make u64 long long on all architectures It is currently awkward

Re: [patch] powerpc: implement pte_special for 64K pages

2008-07-20 Thread Andrew Morton
On Mon, 21 Jul 2008 10:57:55 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Thu, 2008-07-17 at 12:44 +0200, Nick Piggin wrote: This can be folded into powerpc-implement-pte_special.patch -- Ben has now freed up a pte bit on 64k pages. Use it for special pte bit.

Re: [PATCH v3] elf loader support for auxvec base platform string

2008-07-20 Thread Andrew Morton
On Mon, 21 Jul 2008 13:24:15 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Fri, 2008-07-18 at 13:28 -0500, Nathan Lynch wrote: John Reiser wrote: Andrew Morton wrote: On Thu, 17 Jul 2008 17:19:32 -0500 Nathan Lynch [EMAIL PROTECTED] wrote: [snip] A new

Re: [PATCH v3] elf loader support for auxvec base platform string

2008-07-18 Thread Andrew Morton
On Fri, 18 Jul 2008 13:31:29 -0700 John Reiser [EMAIL PROTECTED] wrote: Elsewhere, I've staked out use of a new AT_WINE_PRELOAD_INFO at 30. Avoid that one, please. :-) The reliable way in which to reserve these numbers is to patch the header file.

Re: [PATCH] elf loader support for auxvec base platform string

2008-07-17 Thread Andrew Morton
On Thu, 17 Jul 2008 16:35:39 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Hi Linus, Andrew ! Should I seek somebody's ack before merging a patch like the one below ? I think it's good to do so. I'm a bit reluctant to merge via the powerpc.git tree some changes to generic files

Re: [PATCH v3] elf loader support for auxvec base platform string

2008-07-17 Thread Andrew Morton
[EMAIL PROTECTED] Cc: Ulrich Drepper [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- fs/binfmt_elf.c|1 + include/linux/auxvec.h |4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff -puN fs/binfmt_elf.c~execve-filename-document-and-export-via

Re: the printk problem

2008-07-04 Thread Andrew Morton
On Fri, 4 Jul 2008 13:02:05 -0700 (PDT) Linus Torvalds [EMAIL PROTECTED] wrote: On Fri, 4 Jul 2008, Linus Torvalds wrote: so I think we could easily just say that we extend %p in various ways: - %pS - print pointer as a symbol and leave tons of room for future extensions for

Re: the printk problem

2008-07-04 Thread Andrew Morton
(heck, let's cc lkml - avoid having to go through all this again) On Fri, 4 Jul 2008 14:42:53 -0600 Matthew Wilcox [EMAIL PROTECTED] wrote: On Fri, Jul 04, 2008 at 01:27:16PM -0700, Andrew Morton wrote: On Fri, 4 Jul 2008 13:02:05 -0700 (PDT) Linus Torvalds [EMAIL PROTECTED] wrote: so

Re: [Bugme-new] [Bug 11027] New: random forward time jumps

2008-07-03 Thread Andrew Morton
On Fri, 04 Jul 2008 10:46:57 +1000 Michael Ellerman [EMAIL PROTECTED] wrote: On Wed, 2008-07-02 at 11:06 -0700, Andrew Morton wrote: On Wed, 2 Jul 2008 10:49:59 -0700 (PDT) [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=11027 Hopefully someone in ppc land has

Re: [Bugme-new] [Bug 11027] New: random forward time jumps

2008-07-03 Thread Andrew Morton
On Fri, 4 Jul 2008 11:50:22 +1000 Tony Breeds [EMAIL PROTECTED] wrote: On Thu, Jul 03, 2008 at 05:59:32PM -0700, Andrew Morton wrote: Nope, the only account matching .*ppc.* and .*power.* is [EMAIL PROTECTED] (I have elevated bugzilla perms so I can can query the users list) (everyone

Re: [BUG] 2.6.26-rc8-git2 - kernel BUG at mm/page_alloc.c:585

2008-07-02 Thread Andrew Morton
On Wed, 02 Jul 2008 11:55:36 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi, when running kernbench on powerpc box booted with the 2.6.26-rc8-git2 kernel the machine drops to xmon with the kernel BUG kernel BUG at mm/page_alloc.c:585! static int bad_range(struct zone *zone, struct

Re: [Bugme-new] [Bug 11027] New: random forward time jumps

2008-07-02 Thread Andrew Morton
On Wed, 2 Jul 2008 10:49:59 -0700 (PDT) [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=11027 Hopefully someone in ppc land has set a watch on [EMAIL PROTECTED] If not, please go to http://bugzilla.kernel.org/userprefs.cgi?tab=email and enter [EMAIL PROTECTED] into the

Re: [patch 1/6] mm: Allow architectures to define additional protection bits

2008-07-01 Thread Andrew Morton
vm_flags to the vma's vm_page_prot arch_validate_prot() checks for valid values of the protection bits It'd be simpler if Paul were to merge this. It doesn't conflict with any pending work. Acked-by: Andrew Morton [EMAIL PROTECTED] Note: vm_get_page_prot() is now pretty ugly. It is. But afacit

Re: [PATCH] fsl-diu-fb: Update Freescale DIU driver to use page_alloc_exact()

2008-06-30 Thread Andrew Morton
On Tue, 24 Jun 2008 11:44:13 -0500 Timur Tabi [EMAIL PROTECTED] wrote: Update the Freescale DIU driver to use page_alloc_exact() to allocate a DMA buffer. This also eliminates the rheap-based memory allocator. We can do this now because commit 6ccf61f9 allows us to allocate 8MB physically-

2.6.26-rc5-mm1: procfs whine

2008-06-09 Thread Andrew Morton
At boot, using http://userweb.kernel.org/~akpm/config-g5.txt on a mac g5: io scheduler cfq registered proc_dir_entry '00' already registered Call Trace: [c0017a0fbb70] [c00120fc] .show_stack+0x58/0x1dc (unreliable) [c0017a0fbc20] [c01415a8] .proc_register+0x218/0x260

Re: [patch 5/5] arch/powerpc/platforms/pseries/eeh_driver.c: fix warning

2008-06-09 Thread Andrew Morton
On Tue, 10 Jun 2008 09:47:02 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Mon, 2008-06-09 at 16:26 -0700, [EMAIL PROTECTED] wrote: From: Andrew Morton [EMAIL PROTECTED] Fix this: /usr/src/devel/arch/powerpc/platforms/pseries/eeh_driver.c: In function

Re: 2.6.26-rc5 DOA on mac g5

2008-06-06 Thread Andrew Morton
On Thu, 5 Jun 2008 21:55:11 -0700 Andrew Morton [EMAIL PROTECTED] wrote: Might be a platform thing, might be an ATA thing: OK, I found Hugh's fix. Please let's not release 2.6.27 with a 1000-patch bisect-breaking hole in it. From: Hugh Dickins [EMAIL PROTECTED] Fix G5 SATA irq 18: nobody

2.6.26-rc5 DOA on mac g5

2008-06-05 Thread Andrew Morton
Might be a platform thing, might be an ATA thing: irq 18: nobody cared (try booting with the irqpoll option) Call Trace: [c06cf770] [c00120dc] .show_stack+0x58/0x1dc (unreliable) [c06cf820] [c00a2d64] .__report_bad_irq+0x3c/0xac [c06cf8a0]

Re: [PATCH 0/8 v4] mpc83xx_wdt rework, support for mpc8610 and mpc8xx

2008-06-03 Thread Andrew Morton
On Mon, 2 Jun 2008 21:37:26 +0400 Anton Vorontsov [EMAIL PROTECTED] wrote: No comments on the previous version for two weeks... resending once again. I did all the rework to make the patches apply on top of all the pending watchdog work in Wim's tree and in -mm. I haven't build tested it yet.

Re: [PATCH 0/8 v4] mpc83xx_wdt rework, support for mpc8610 and mpc8xx

2008-06-03 Thread Andrew Morton
On Wed, 4 Jun 2008 04:17:39 +0400 Anton Vorontsov [EMAIL PROTECTED] wrote: Please put the subsystem identifier (eg, watchdog and powerpc) outside the [], for reasons which should be in Documentation/SubmittingPatches, which used to be there but which got lost. Bascially the text inside

Re: [PATCH 1/2] Add thread_info_cache_init() to all archs

2008-05-21 Thread Andrew Morton
On Wed, 21 May 2008 13:56:25 -0400 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Fri, 2008-04-18 at 16:44 +1000, Benjamin Herrenschmidt wrote: so what about the patch below ? I like it, but the compiler won't ;) If you're ok, I'll re-send with appropriate sob

Re: [PATCH 1/2] Add thread_info_cache_init() to all archs

2008-05-21 Thread Andrew Morton
On Wed, 21 May 2008 15:44:41 -0400 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Wed, 2008-05-21 at 11:41 -0700, Andrew Morton wrote: yup, gcc bug. Discussed recently on lkml, Subject: Re: huge gcc 4.1.{0,1} __weak problem. I don't think anything ended up happening about

Re: [patch 3/4] macintosh: replace deprecated __initcall with device_initcall

2008-05-15 Thread Andrew Morton
On Thu, 15 May 2008 14:14:38 +1000 Paul Mackerras [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: -__initcall(adb_init); +device_initcall(adb_init); There's no particular reason why this needs to go in 2.6.26, is there? It looks to me like something that I should queue up for

Re: [patch 3/4] macintosh: replace deprecated __initcall with device_initcall

2008-05-15 Thread Andrew Morton
On Thu, 15 May 2008 16:28:28 +1000 Michael Ellerman [EMAIL PROTECTED] wrote: On Wed, 2008-05-14 at 23:06 -0700, Andrew Morton wrote: On Thu, 15 May 2008 14:14:38 +1000 Paul Mackerras [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: -__initcall(adb_init); +device_initcall

Re: [patch 3/4] macintosh: replace deprecated __initcall with device_initcall

2008-05-15 Thread Andrew Morton
On Thu, 15 May 2008 19:08:37 +1000 Michael Ellerman [EMAIL PROTECTED] wrote: On Wed, 2008-05-14 at 23:41 -0700, Andrew Morton wrote: On Thu, 15 May 2008 16:28:28 +1000 Michael Ellerman [EMAIL PROTECTED] wrote: On Wed, 2008-05-14 at 23:06 -0700, Andrew Morton wrote: On Thu, 15 May

Re: [patch 4/4] spufs: convert nopfn to fault

2008-05-14 Thread Andrew Morton
On Thu, 15 May 2008 02:53:05 +0200 Nick Piggin [EMAIL PROTECTED] wrote: Thanks for helping out with merging these Andrew. The problem with this is that these nopfn conversions won't work unless the BUG_ON is removed from mm/memory.c (patch 1/ that I sent you). oh. So there is a little

Re: [PATCH 1/2] spi_mpc83xx: test below 0 on unsigned irq in mpc83xx_spi_probe()

2008-05-07 Thread Andrew Morton
On Wed, 23 Apr 2008 22:55:16 +0200 Roel Kluin [EMAIL PROTECTED] wrote: mpc83xx_spi-irq is unsigned, so the test fails Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index be15a62..033fd51 100644 ---

Re: [git pull] Please pull powerpc.git powerpc-next branch

2008-05-05 Thread Andrew Morton
On Mon, 5 May 2008 11:03:14 -0700 (PDT) Linus Torvalds [EMAIL PROTECTED] wrote: On Mon, 5 May 2008, Kumar Gala wrote: Paul's clearly starting to lose it. First a pull request w/o him pushing to his tree. Now a pull request from the ether. Paul, the rumor is that high doses of

Re: [PATCH] Watchdog on MPC85xx SMP system

2008-05-01 Thread Andrew Morton
On Tue, 29 Apr 2008 16:42:05 +0800 Chen Gong [EMAIL PROTECTED] wrote: On Book-E SMP systems each core has its own private watchdog. If only one watchdog is enabled, when the core that doesn't enable the watchdog is hung, system can't reset because no watchdog is running on it. That's bad. It

Re: [PATCH v2] [POWERPC] devres: Add devm_ioremap_flags()

2008-04-30 Thread Andrew Morton
On Wed, 30 Apr 2008 11:08:51 -0500 (CDT) Kumar Gala [EMAIL PROTECTED] wrote: From: Emil Medve [EMAIL PROTECTED] We provide an ioremap_flags so provide a coresphonding devm_ioremap_flags. Signed-off-by: Emil Medve [EMAIL PROTECTED] Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Forgot

Re: [PATCH] docbook: fix fatal rapidio yet again (and more to come)

2008-04-30 Thread Andrew Morton
On Wed, 30 Apr 2008 14:01:12 -0500 Kumar Gala [EMAIL PROTECTED] wrote: On Apr 30, 2008, at 1:35 PM, Andrew Morton wrote: On Tue, 29 Apr 2008 20:10:55 -0700 (PDT) Randy.Dunlap [EMAIL PROTECTED] wrote: From: Randy Dunlap [EMAIL PROTECTED] Don't refer to file that no longer exists

Re: [patch 2.6.25-git] spi_mpc83xx much improved driver

2008-04-30 Thread Andrew Morton
On Wed, 30 Apr 2008 15:37:07 -0700 David Brownell [EMAIL PROTECTED] wrote: From: Joakim Tjernlund [EMAIL PROTECTED] Date: Fri, 11 Apr 2008 18:57:21 +0200 Subject: [PATCH] Much improved mpc83xx SPI driver. The current driver may cause glitches on SPI CLK line since one must disable the SPI

Re: [PATCH 2/3] [POWERPC] Fix kernel stack allocation alignment

2008-04-18 Thread Andrew Morton
On Fri, 18 Apr 2008 16:56:17 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: The powerpc kernel stacks need to be naturally aligned, as they contain the thread info at the bottom, which is obtained by clearing the low bits of the stack pointer. However, when using 64K pages (the

Re: [PATCH 3/3] Use __weak macro for smp_setup_processor_id

2008-04-18 Thread Andrew Morton
On Fri, 18 Apr 2008 16:56:18 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Use the __weak macro instead of the longer __attribute__ ((weak)) form Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] -- init/main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 3/3] Use __weak macro for smp_setup_processor_id

2008-04-18 Thread Andrew Morton
On Fri, 18 Apr 2008 18:19:07 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Fri, 2008-04-18 at 00:07 -0700, Andrew Morton wrote: On Fri, 18 Apr 2008 16:56:18 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Use the __weak macro instead of the longer __attribute__

Re: [PATCH 1/2] Add thread_info_cache_init() to all archs

2008-04-17 Thread Andrew Morton
On Fri, 18 Apr 2008 13:58:06 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: otoh, if only one .c file will ever call this function then I think that all problems are solved by a) moving the above ifdeffery into the .c file b) adding a comment explaining which arch

2.6.25-mm1 on the g5

2008-04-17 Thread Andrew Morton
It had been running happily and hard for a couple of hours when: registered taskstats version 1 Freeing unused kernel memory: 304k freed windfarm: CPUs control loops started. EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will be enabled during recovery.

Re: [PATCH 1/2] Driver for Freescale 8610 and 5121 DIU

2008-04-14 Thread Andrew Morton
On Mon, 14 Apr 2008 10:46:29 -0500 Timur Tabi [EMAIL PROTECTED] wrote: Jiri Slaby wrote: Mainly because you can sleep inside locked mutex and because spinlock shouldn't be used for too many lines of code (busy waiting etc.). I think ldd3 will be more descriptive than me here :).

<    1   2   3   4   5   6   >