Re: the printk problem

2008-07-06 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: yeah, agreed, combined it's not an x86 topic anymore. [ There's some lkml trouble so i've missed the earlier patch. I'm not sure the email problem is on my side, see how incomplete the discussion is on lkml.org as well:

Re: the printk problem

2008-07-06 Thread Randy Dunlap
On Sun, 6 Jul 2008 03:02:59 +0300 Pekka Enberg wrote: On Sat, Jul 05, 2008 at 08:41:39PM +0200, Vegard Nossum wrote: Single letters are bad because it hurts readability and limits the usefulness of the extension./MHO On Sat, Jul 5, 2008 at 9:52 PM, Matthew Wilcox [EMAIL PROTECTED] wrote:

powerpc: fix swapcontext backwards compatibility due to VSX ucontext changes

2008-07-06 Thread Michael Neuling
When the ucontext changed to add the VSX context, this broke backwards compatibly on swapcontext. swapcontext only compares the ucontext size passed in from the user to the new kernel ucontext size. This adds a check against the old ucontext size (with VMX but without VSX). It also adds some

Re: [PATCH v4] ibm_newemac: Parameterize EMAC Multicast Match Handling

2008-07-06 Thread Stefan Roese
On Sunday 06 July 2008, Grant Erickson wrote: Various instances of the EMAC core have varying: 1) number of address match slots, 2) width of the registers for handling address match slots, 3) number of registers for handling address match slots and 4) base offset for those registers. Thanks

Re: patches for 2.6.27...

2008-07-06 Thread Vitaly Bordug
В Wed, 2 Jul 2008 10:36:43 +0200 Laurent Pinchart [EMAIL PROTECTED] пишет: Hi Kumar, On Wednesday 02 July 2008, Kumar Gala wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. I know there are probably a slew of CPM

Re: [Cbe-oss-dev] [patch 11/11] powerpc/cell: Add DMA_ATTR_STRONG_ORDERING dma attribute and use in IOMMU code

2008-07-06 Thread Arnd Bergmann
On Sunday 06 July 2008, Benjamin Herrenschmidt wrote: I need to look closely at what the various bridge settings are. Drivers do expect DMA requests from one device to stay in order, at least up to what's defined in the PCI spec, which is pretty much fully ordered unless those devices set the

Re: [alsa-devel] [PATCH 2/3] ALSA SoC: Add mpc5200-psc I2S driver

2008-07-06 Thread Jon Smirl
On 7/1/08, Grant Likely [EMAIL PROTECTED] wrote: From: Grant Likely [EMAIL PROTECTED] This is an I2S bus driver for the MPC5200 PSC device. It is probably will not be merged as-is because it uses v1 of the ASoC API, but I want to get it out there for comments. --- The driver is

[PATCH v5] ibm_newemac: Parameterize EMAC Multicast Match Handling

2008-07-06 Thread Grant Erickson
Various instances of the EMAC core have varying: 1) number of address match slots, 2) width of the registers for handling address match slots, 3) number of registers for handling address match slots and 4) base offset for those registers. As the driver stands today, it assumes that all EMACs

Re: [Cbe-oss-dev] [patch 11/11] powerpc/cell: Add DMA_ATTR_STRONG_ORDERING dma attribute and use in IOMMU code

2008-07-06 Thread Michael Ellerman
On Sat, 2008-07-05 at 23:51 +0200, Arnd Bergmann wrote: On Saturday 05 July 2008, Benjamin Herrenschmidt wrote: On Sat, 2008-07-05 at 15:43 +1000, Michael Ellerman wrote: The current Cell IOMMU implementation sets the IOPTE_SO_RW bits in all IOTPEs (for both the dynamic and fixed

Re: [PATCH] Add MPC5200B base board mvBC-P

2008-07-06 Thread David Gibson
On Fri, Jul 04, 2008 at 06:35:39PM +0200, Andre Schwarz wrote: The mvBlueCOUGAR-P is a MPC5200B based camera system with Intel Gigabit ethernet controller (using e1000). It's just another MPC5200_simple board. Signed-off-by: Andre Schwarz [EMAIL PROTECTED] [snip] --- /dev/null +++

Re: [PATCH] [POWERPC] 52xx: add missing MSCAN FDT nodes for TQM52xx

2008-07-06 Thread David Gibson
On Wed, Jul 02, 2008 at 11:56:40AM +0200, Wolfgang Grandegger wrote: This patch adds the still missing FDT nodes for the MSCAN devices for the TQM52xx modules. Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED] --- arch/powerpc/boot/dts/tqm5200.dts | 16 1 file changed,

dtc: Enable and fix -Wcast-qual warnings

2008-07-06 Thread David Gibson
Enabling -Wcast-qual warnings in dtc shows up a number of places where we are incorrectly discarding a const qualification. There are also some places where we are intentionally discarding the 'const', and we need an ugly cast through uintptr_t to suppress the warning. However, most of these are

dtc: Enable and fix -Wpointer-arith warnings

2008-07-06 Thread David Gibson
This patch turns on the -Wpointer-arith option in the dtc Makefile, and fixes the resulting warnings due to using (void *) in pointer arithmetic. While convenient, pointer arithmetic on void * is not portable, so it's better that we avoid it, particularly in libfdt. Signed-off-by: David Gibson

Re: the printk problem

2008-07-06 Thread Benjamin Herrenschmidt
On Fri, 2008-07-04 at 16:25 -0700, Linus Torvalds wrote: On Sat, 5 Jul 2008, Benjamin Herrenschmidt wrote: I'll give it a try using probe_kernel_address() instead on monday. Here's the updated patch which uses probe_kernel_address() instead (and moves the whole #ifdef mess out of the

dtc: Run relevant checks on dtb input as well as dts

2008-07-06 Thread David Gibson
This patch adjusts the testsuite to run most of the tests for the tree checking code on input in dtb form as well as dts form. Some checks which only make sense for dts input (like reference handling) are excluded, as are those which currently take dtb input because they rely on things which

Re: Merging seperate FDT-blobs?

2008-07-06 Thread David Gibson
On Fri, Jun 27, 2008 at 07:05:47PM +0200, Wolfram Sang wrote: Hello David, On Mon, Jun 23, 2008 at 03:06:24PM +1000, David Gibson wrote: Hrm. I was assuming this would be handled by the code putting things together, rather than being encoded into the fragments. I envisaged something

Re: New fsl device bindings file

2008-07-06 Thread David Gibson
On Sat, Jul 05, 2008 at 12:24:56AM -0500, Olof Johansson wrote: On Jul 3, 2008, at 1:34 PM, Grant Likely wrote: How about splitting up like this: Documentation/powerpc/device-tree/fsl/cpm.txt Documentation/powerpc/device-tree/fsl/cpm/uart.txt Documentation/powerpc/device-tree/fsl/tsec.txt

Re: the printk problem

2008-07-06 Thread Michael Ellerman
On Mon, 2008-07-07 at 13:26 +1000, Stephen Rothwell wrote: On Mon, 07 Jul 2008 11:14:36 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Fri, 2008-07-04 at 16:25 -0700, Linus Torvalds wrote: On Sat, 5 Jul 2008, Benjamin Herrenschmidt wrote: I'll give it a try using

Re: the printk problem

2008-07-06 Thread Benjamin Herrenschmidt
On Mon, 2008-07-07 at 13:26 +1000, Stephen Rothwell wrote: Did a few tests and it seems to work. I'll stick a patch converting powerpc to use %pS for oops display in -next. After you post it to linuxppc-dev and get review comments, of course ... I though I did that already, looks like I

[PATCH] powerpc: Use new printk extension %pS to print symbols on oops

2008-07-06 Thread Benjamin Herrenschmidt
This changes the oops and backtrace code to use the new %pS printk extension to print out symbols rather than manually calling print_symbol. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] arch/powerpc/kernel/process.c | 14 +- 1 file changed, 5 insertions(+), 9

Re: the printk problem

2008-07-06 Thread Stephen Rothwell
On Mon, 07 Jul 2008 13:28:18 +1000 Michael Ellerman [EMAIL PROTECTED] wrote: Wasn't that already merged via the trivial scheduler fixes tree or something? ;) Not yet. -- Cheers, Stephen Rothwell[EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/ pgp7ahdw8jTpz.pgp

Re: [PATCH] Power5,Power6 BSR driver

2008-07-06 Thread Benjamin Herrenschmidt
+ cur-bsr_addr = reg[i * 2]; + cur-bsr_len= reg[i * 2 + 1]; That's fishy... hand-reading of reg property without taking into account the parent's #size-cells/#address-cells... can't you use of_address_to_resource or something similar and carry a struct resource

Re: [patch 01/11] powerpc/cell: add support for power button of future IBM cell blades

2008-07-06 Thread Benjamin Herrenschmidt
On Fri, 2008-07-04 at 21:05 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (0001-powerpc-cell-add-support-for-power-button-of-future.patch) This patch adds support for the power button on future IBM cell blades. It actually doesn't shut down the machine. Instead it exposes an

Re: [patch 04/11] powerpc/spufs: add atomic busy_spus counter to struct cbe_spu_info

2008-07-06 Thread Benjamin Herrenschmidt
On Fri, 2008-07-04 at 21:05 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (0004-powerpc-spufs-add-atomic-busy_spus-counter-to-struc.patch) As nr_active counter includes also spus waiting for syscalls to return we need a seperate counter that only counts spus that are currently

Re: [patch 05/11] powerpc/cell: add spu aware cpufreq governor

2008-07-06 Thread Benjamin Herrenschmidt
On Fri, 2008-07-04 at 21:05 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (0005-powerpc-cell-add-spu-aware-cpufreq-governor.patch) This patch adds a cpufreq governor that takes the number of running spus into account. It's very similar to the ondemand governor, but not as

Re: [patch 01/11] powerpc/cell: add support for power button of future IBM cell blades

2008-07-06 Thread Stephen Rothwell
Hi Arnd, On Fri, 04 Jul 2008 21:05:36 +0200 [EMAIL PROTECTED] wrote: This patch adds support for the power button on future IBM cell blades. It actually doesn't shut down the machine. Instead it exposes an input device /dev/input/event0 to userspace which sends KEY_POWER if power button has

Re: [patch 07/11] powerpc/dma: implement new dma_*map*_attrs() interfaces

2008-07-06 Thread Benjamin Herrenschmidt
On Fri, 2008-07-04 at 21:05 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (0007-powerpc-dma-implement-new-dma_-map-_attrs-interfa.patch) Update powerpc to use the new dma_*map*_attrs() interfaces. In doing so update struct dma_mapping_ops to accept a struct dma_attrs and

Re: [patch 04/11] powerpc/spufs: add atomic busy_spus counter to struct cbe_spu_info

2008-07-06 Thread Stephen Rothwell
On Mon, 07 Jul 2008 15:19:01 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Fri, 2008-07-04 at 21:05 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (0004-powerpc-spufs-add-atomic-busy_spus-counter-to-struc.patch) As nr_active counter includes also spus waiting

Re: [patch 05/11] powerpc/cell: add spu aware cpufreq governor

2008-07-06 Thread Stephen Rothwell
On Mon, 07 Jul 2008 15:21:59 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Fri, 2008-07-04 at 21:05 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (0005-powerpc-cell-add-spu-aware-cpufreq-governor.patch) We probably don't need to know that :-) This patch adds

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

2008-07-06 Thread Benjamin Herrenschmidt
On Thu, 2008-07-03 at 19:19 -0700, Roland McGrath wrote: Why not just use ELF_HWCAP for this? It looks like powerpc only has 3 bits left there (keeping it to 32), but 3 is not 0. If not that, why not use dsocaps? That is, some magic in the vDSO, which glibc already supports on all machines

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

2008-07-06 Thread Benjamin Herrenschmidt
On Tue, 2008-07-01 at 13:54 +, Dave Kleikamp wrote: On Tue, 2008-07-01 at 01:53 -0700, Andrew Morton wrote: On Wed, 18 Jun 2008 17:32:55 -0500 [EMAIL PROTECTED] wrote: This patch allows architectures to define functions to deal with additional protections bits for mmap() and

Re: [PATCH v5] ibm_newemac: Parameterize EMAC Multicast Match Handling

2008-07-06 Thread Stefan Roese
On Monday 07 July 2008, Grant Erickson wrote: Various instances of the EMAC core have varying: 1) number of address match slots, 2) width of the registers for handling address match slots, 3) number of registers for handling address match slots and 4) base offset for those registers. snip