inconsistent order of notify_die and kgdb/debugger between powerpc and x86

2011-03-14 Thread Fredrick Prashanth John Berchmans
I see in x86, the die chain notifiers are called first before going to debugger but in powerpc its the other way round. Any reason for this inconsistency? Because, I wanted to take some action before falling to debugger in powerpc. Is there any cleaner way to do this which would work irrespective o

[PATCH] crypto: caam - standardize device tree naming convention to utilize '-vX.Y'

2011-03-14 Thread Kim Phillips
Help clarify that the number trailing in compatible nomenclature is the version number of the device, i.e., change: "fsl,p4080-sec4.0", "fsl,sec4.0"; to: "fsl,p4080-sec-v4.0", "fsl,sec-v4.0"; Signed-off-by: Kim Phillips Cc: Kumar Gala Cc: Steve Cornelius --- .../devicetree/bindings/crypto/f

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

2011-03-14 Thread Lennert Buytenhek
On Tue, Mar 15, 2011 at 07:37:54AM +1100, Benjamin Herrenschmidt wrote: > > Hi all, > > > > After merging the final tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > drivers/gpio/langwell_gpio.c: In function 'lnw_irq_handler': > > drivers/gpio/langwell_gpio.c:21

[PATCH 1/1] powerpc: Add page coalescing support

2011-03-14 Thread Brian King
Adds support for page coalescing, which is a feature on IBM Power servers which allows for coalescing identical pages between logical partitions. Hint text pages as coalesce candidates, since they are the most likely pages to be able to be coalesced between partitions. This patch also exports some

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

2011-03-14 Thread Thomas Gleixner
On Mon, 14 Mar 2011, David Miller wrote: > From: Benjamin Herrenschmidt > Date: Tue, 15 Mar 2011 07:37:54 +1100 > > > On Mon, 2011-03-14 at 20:38 +1100, Stephen Rothwell wrote: > >> Hi all, > >> > >> After merging the final tree, today's linux-next build (powerpc > >> allyesconfig) failed like

Re: [PATCH] cxgb4: use pgprot_writecombine() on powerpc

2011-03-14 Thread Steve Wise
On 03/14/2011 03:36 PM, Nishanth Aravamudan wrote: Commit fe3cc0d99de6a9bf99b6c279a8afb5833888c1f7 ("powerpc: Add pgprot_writecombine") in benh's tree exposes the pgprot_writecombine() API to drivers on powerpc. cxgb4 has an open-coded version of the same, so use the common API now that it's avai

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

2011-03-14 Thread David Miller
From: Benjamin Herrenschmidt Date: Tue, 15 Mar 2011 07:37:54 +1100 > On Mon, 2011-03-14 at 20:38 +1100, Stephen Rothwell wrote: >> Hi all, >> >> After merging the final tree, today's linux-next build (powerpc >> allyesconfig) failed like this: >> >> drivers/gpio/langwell_gpio.c: In function 'ln

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

2011-03-14 Thread Benjamin Herrenschmidt
On Mon, 2011-03-14 at 20:38 +1100, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/gpio/langwell_gpio.c: In function 'lnw_irq_handler': > drivers/gpio/langwell_gpio.c:210: error: 'struct irq_desc'

[PATCH] cxgb4: use pgprot_writecombine() on powerpc

2011-03-14 Thread Nishanth Aravamudan
Commit fe3cc0d99de6a9bf99b6c279a8afb5833888c1f7 ("powerpc: Add pgprot_writecombine") in benh's tree exposes the pgprot_writecombine() API to drivers on powerpc. cxgb4 has an open-coded version of the same, so use the common API now that it's available. Signed-off-by: Nishanth Aravamudan Cc: Steve

[PATCH v3 3/3] powerpc: Add IO event interrupt support

2011-03-14 Thread Tseng-Hui (Frank) Lin
This patch adds support for handling IO Event interrupts which come through at the /event-sources/ibm,io-events device tree node. The interrupts come through ibm,io-events device tree node are generated by the firmware to report IO events. The firmware uses the same interrupt to report multiple t

[PATCH v3 2/3] powerpc: Add IO event interrupt support

2011-03-14 Thread Tseng-Hui (Frank) Lin
This patch adds IBM specific v6 extended log definition and utilities. Change log from V2: - Change the log name from error log to event log. - Change function name from pseries_elog_find_section() to pseries_elog_find_sect_data(). Signed-off-by: Tseng-Hui (Frank) Lin --- arch/powerpc/platfo

[PATCH v3 1/3] powerpc: Add IO event interrupt support

2011-03-14 Thread Tseng-Hui (Frank) Lin
This patch adds definitions of non-IBM specific v6 extended log definitions to rtas.h. Change log from V2: - rename RTAS general extended event log version 6 structure from rtas_error_log_v6ext to rtas_ext_event_log_v6. Signed-off-by: Tseng-Hui (Frank) Lin --- arch/powerpc/include/asm/rtas.

[PATCH v3 0/3] powerpc: Add IO event interrupt support

2011-03-14 Thread Tseng-Hui (Frank) Lin
This series of patches adds support for handling IO Event interrupts which come through at the /event-sources/ibm,io-events device tree node. Change log from V2: - rename RTAS general extended event log version 6 structure from rtas_error_log_v6ext to rtas_ext_event_log_v6. - Re-implement inte

[PATCH v5 3/3] powerpc: factoring mpic cpu id fetching into a function

2011-03-14 Thread Meador Inge
The following code snippet: unsigned int cpu = 0; if (mpic->flags & MPIC_PRIMARY) cpu = hard_smp_processor_id(); is seen in several places in the 'mpic.c' code. This changeset factors that pattern out into a helper function called 'mpic_processor_id'. Signed-off-

[PATCH v5 2/3] powerpc: make MPIC honor the "pic-no-reset" device tree property

2011-03-14 Thread Meador Inge
This property, defined in the Open PIC binding, tells the kernel not to use the reset bit in the global configuration register. Additionally, its presence mandates that only sources which are actually used (i.e. appear in the device tree) should have their VECPRI bits initialized. Although, "pic-

[PATCH v5 1/3] powerpc: document the Open PIC device tree binding

2011-03-14 Thread Meador Inge
This binding documents several properties that have been in use for quite some time, and adds one new property 'pic-no-reset', which controls the runtime initialization behavior of the PIC. More specifically, the presence of 'pic-no-reset' mandates that the PIC shall not be reset during runtime in

[PATCH v5 0/3] powerpc: Open PIC binding and "pic-no-reset"

2011-03-14 Thread Meador Inge
This patch set provides a binding for Open PIC and implements support for a new property, specified by that binding, called "pic-no-reset". v5 - Moved the Open PIC binding to its rightful home of ".../Documentation/devicetree/bindings/". Also, fixed up the lazy reset code to take better

Re: [PATCH] powerpc: Add pgprot_writecombine

2011-03-14 Thread Steve Wise
On 03/14/2011 01:33 PM, Nishanth Aravamudan wrote: On 01.03.2011 [17:00:47 +1100], Anton Blanchard wrote: A number of drivers are using pgprot_writecombine() to enable write combining on userspace mappings. Implement it on powerpc. Given this patch, should drivers/infiniband/hw/cxgb4/t4.h be

[RFC][PATCH v2 23/23] __vmalloc: add gfp flags variant of pte, pmd, and pud allocation

2011-03-14 Thread Prasad Joshi
__vmalloc: propagating GFP allocation flag. - Added __map_vm_area, __vmap_page_range, __vmap_page_range_noflush to accept the gfp_t allocation flag - Added pud_alloc_with_mask(), similar to pud_alloc(), but also accepts allocation flag - Added pmd_alloc_with_mask - Added pte_alloc_kernel_with_mask

[RFC][PATCH v2 13/23] (powerpc) __vmalloc: add gfp flags variant of pte, pmd, and pud allocation

2011-03-14 Thread Prasad Joshi
__vmalloc: propagating GFP allocation flag. - adds functions to allow caller to pass the GFP flag for memory allocation - helps in fixing the Bug 30702 (__vmalloc(GFP_NOFS) can callback file system evict_inode). Signed-off-by: Anand Mitra Signed-off-by: Prasad Joshi --- Chnage

[RFC][PATCH v2 00/23] __vmalloc: Propagating GFP allocation flag inside __vmalloc().

2011-03-14 Thread Prasad Joshi
A filesystem might run into a problem while calling __vmalloc(GFP_NOFS) inside a lock. It is expected than __vmalloc when called with GFP_NOFS should not callback the filesystem code even incase of the increased memory pressure. But the problem is that even if we pass this flag, __vmalloc itself a

Re: [PATCH] powerpc: Add pgprot_writecombine

2011-03-14 Thread Nishanth Aravamudan
On 01.03.2011 [17:00:47 +1100], Anton Blanchard wrote: > > A number of drivers are using pgprot_writecombine() to enable write > combining on userspace mappings. Implement it on powerpc. Given this patch, should drivers/infiniband/hw/cxgb4/t4.h be updated?: static inline pgprot_t t4_pgprot_wc(p

Re: [PATCH 1/2] kdump: Allow shrinking of kdump region to be overridden

2011-03-14 Thread Mahesh J Salgaonkar
On Wed, Mar 09, 2011 at 10:21:08PM +0800, Américo Wang wrote: > On Wed, Mar 09, 2011 at 11:46:57PM +1100, Anton Blanchard wrote: > > > >Hi, > > > >> The crashkernel region is specified via kernel cmdline, so why > >> not just drop a failure when it overlaps with RMO region? > >> Am I missing someth

Re: fsl_udc_core not initializing properly?

2011-03-14 Thread Matthew L. Creech
On Sat, Mar 12, 2011 at 3:00 AM, Anatolij Gustschin wrote: > > Can you please apply the attached patch, then build with your > linux.config and send me the kernel boot log? It will help to > fix the issue. > Actually, this kernel seems to work: ... Freescale PowerQUICC MII Bus: probed tun: Unive

Re: any chance to use a modern linux kernel on Pegasos1 G3 ?

2011-03-14 Thread nello martuscielli
On Sat, Mar 12, 2011 at 8:38 PM, kevin diggs wrote: > Hi, > > For what it is worth, I can boot 2.6.36 on a PowerMac 8600 with a > 750GX processor in it. I have to compile the kernel with gcc 4.1.2. > Figuring out why 4.3.5 won't work is ... a work in progress (maybe an > exorcism will help?). > h

[PATCH] langwell_gpio: fix CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED build

2011-03-14 Thread Lennert Buytenhek
When CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED is defined, struct irq_desc no longer contains a ->chip member pointing to the corresponding struct irq_chip, leading to the following build error: drivers/gpio/langwell_gpio.c: In function 'lnw_irq_handler': drivers/gpio/langwell_gpio.c:2

RE: [PATCH][v3] driver/FSL SATA:Fix wrong Device Error Register usage

2011-03-14 Thread Kushwaha Prabhakar-B32579
Hi Jeff, I am not finding any new comments on this. Could you please ACK this patch so that it can be applied on external list. --Prabhakar > -Original Message- > From: Kushwaha Prabhakar-B32579 > Sent: Wednesday, March 09, 2011 12:47 PM > To: linux-...@vger.kernel.org > Cc: linuxppc-

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

2011-03-14 Thread Lars Ellenberg
On Fri, Mar 11, 2011 at 08:12:38AM +0100, Jens Axboe wrote: > On 2011-03-11 07:58, Stephen Rothwell wrote: > > Hi all, > > > > After merging the final tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > drivers/char/tpm/tpm_tis.c:96: warning: 'is_itpm' defined but

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

2011-03-14 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpio/langwell_gpio.c: In function 'lnw_irq_handler': drivers/gpio/langwell_gpio.c:210: error: 'struct irq_desc' has no member named 'chip' drivers/gpio/langwell_gpio.c:211: error: 'str

Re: [PATCH][v3] driver/FSL SATA:Fix wrong Device Error Register usage

2011-03-14 Thread Jeff Garzik
On 03/09/2011 02:17 AM, Prabhakar Kushwaha wrote: When a single device error is detected, the device under the error is indicated by the error bit set in the DER. There is a one to one mapping between register bit and devices on Port multiplier(PMP) i.e. bit 0 represents PMP device 0 and bit 1 re