[PATCH] powerpc: use simple_read_from_buffer

2010-12-24 Thread Akinobu Mita
Simplify read file operation for /proc/powerpc/rtas/* interface by using simple_read_from_buffer. Signed-off-by: Akinobu Mita Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/rtas_flash.c | 53 - 1 fil

[PATCH] spufs: use simple_write_to_buffer

2010-12-24 Thread Akinobu Mita
Simplify several write fileoperations for spufs by using simple_write_to_buffer(). Signed-off-by: Akinobu Mita Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Jeremy Kerr Cc: linuxppc-dev@lists.ozlabs.org Cc: cbe-oss-...@lists.ozlabs.org --- arch/powerpc/platforms/cell/spufs/file.c | 27 +

Re: [PATCH][GIT PULL] powerpc64/tracing: Add frame buffer to calls of trace_hardirqs_on/off

2010-12-24 Thread Benjamin Herrenschmidt
On Fri, 2010-12-24 at 00:46 -0500, Steven Rostedt wrote: > arch/powerpc/include/asm/irqflags.h | 40 ++ > 1 files changed, 30 insertions(+), 10 deletions(-) > --- > commit 5025019505da6731f8be13940bb978617599c935 > Author: Steven Rostedt

Re: [PATCH RESEND] pata_mpc52xx: driver needs BMDMA

2010-12-24 Thread Jeff Garzik
On 12/22/2010 10:50 AM, Wolfram Sang wrote: Found by this build-error if BMDMA is disabled: drivers/ata/pata_mpc52xx.c: In function 'mpc52xx_ata_init_one': drivers/ata/pata_mpc52xx.c:662: error: 'ata_bmdma_interrupt' undeclared (first use in this function) ... Move the Kconfig entry to the pro

Re: [PATCH 3/3] powerpc: pcm030/032: add pagesize to dts

2010-12-24 Thread Grant Likely
On Wed, Nov 17, 2010 at 01:00:50PM +0100, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang Applied for -next, thanks. g. > --- > arch/powerpc/boot/dts/pcm030.dts |1 + > arch/powerpc/boot/dts/pcm032.dts |3 ++- > 2 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/arch/

Re: [PATCH 1/3] misc: at24: parse OF-data, too

2010-12-24 Thread Grant Likely
On Wed, Nov 17, 2010 at 01:00:48PM +0100, Wolfram Sang wrote: > Information about the pagesize and read-only-status may also come from > the devicetree. Parse this data, too, and act accordingly. While we are > here, change the initialization printout a bit. write_max is useful to > know to detect

Re: [PATCH 2/3] misc: at24: add more sanity checks for parameters

2010-12-24 Thread Grant Likely
On Wed, Nov 17, 2010 at 01:00:49PM +0100, Wolfram Sang wrote: > Side-effects happen when passing 0 to either io_limit or page_size. Give > an error in case of this misconfiguration. > > Signed-off-by: Wolfram Sang > --- Applied for -next, thanks. g. > drivers/misc/eeprom/at24.c | 10 +++

Re: [PATCH 2/2] eSPI: fix wrong setting of the address in the command buffer

2010-12-24 Thread Grant Likely
On Tue, Dec 21, 2010 at 09:27:02AM +0800, Mingkai Hu wrote: > Or else we cann't operate on the right address when the trans length > is greater than 65535. > > Signed-off-by: Mingkai Hu Applied to merge branch for 2.6.27, thanks. g. > --- > drivers/spi/spi_fsl_espi.c | 16 +--- >

Re: [PATCH 1/2] eSPI: change the read behavior of the SPIRF

2010-12-24 Thread Grant Likely
On Tue, Dec 21, 2010 at 09:26:07AM +0800, Mingkai Hu wrote: > The user must read N bytes of SPIRF (1 <= N <= 4) that do not exceed the > amount of data in the receive FIFO, so read the SPIRF byte by byte when > the data in receive FIFO is less than 4 bytes. > > On Simics, when read N bytes that ex