[PATCH] powerpc/85xx: Add P1010RDB board support

2011-06-03 Thread Prabhakar Kushwaha
P1010RDB Overview - 1Gbyte DDR3 (on board DDR) 32Mbyte 16bit NOR flash 32Mbyte SLC NAND Flash 256 Kbit M24256 I2C EEPROM 128 Mbit SPI Flash memory I2C Board 128x8 bit memory SD/MMC connector to interface with the SD memory card 2 SATA interface 1 internal SATA

Re: [PATCH] powerpc/85xx: fix race bug of calling request_irq after enable elbc interrupts

2011-06-03 Thread Kumar Gala
On Jun 2, 2011, at 9:45 PM, Shaohui Xie wrote: Signed-off-by: Shaohui Xie shaohui@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/sysdev/fsl_lbc.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) applied to merge - k

Re: [RFC][PATCH] Kexec support for PPC440x

2011-06-03 Thread Suzuki Poulose
On 06/02/11 12:04, Suzuki Poulose wrote: On 05/31/11 20:45, Sebastian Andrzej Siewior wrote: Suzuki Poulose wrote: Index: powerpc/arch/powerpc/kernel/44x_kexec_mapping.S === --- /dev/null +++

Re: [stable] [PATCH] 2.6.39 powerpc: Fix 32-bit SMP build

2011-06-03 Thread Josh Boyer
On Fri, Jun 03, 2011 at 02:56:50PM +0900, Greg KH wrote: On Mon, May 30, 2011 at 08:26:21AM -0400, Josh Boyer wrote: Backport upstream commit 6de06f313a65d0ec Commit fa3f82c8bb7acb (powerpc/smp: soft-replugged CPUs must go back to start_secondary) introduced start_secondary_resume to

[PATCH v2] 2.6.39 powerpc: FIx 32-bit SMP build

2011-06-03 Thread Josh Boyer
Backport upstream commit 6de06f313a65d0ec Commit fa3f82c8bb7acb (powerpc/smp: soft-replugged CPUs must go back to start_secondary) introduced start_secondary_resume to head_32.S, however it uses a 64-bit instruction which is not valid on 32-bit platforms. Use 'stw' instead. CC:

Re: [RFC][PATCH] Kexec support for PPC440x

2011-06-03 Thread Sebastian Andrzej Siewior
Suzuki Poulose wrote: The way you setup the 1:1 mapping should be close to what you are doing on kernel entry.Isn't it possible to include the file here and in the entry code? I will make this change and resend the patch. I took a look at the way we do it at kernel entry. It looks more

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-03 Thread Timur Tabi
Arnd Bergmann wrote: For an ioctl, please follow the normal pattern of defining a separate structure for each case, no union. You can use a void __user * in the common ioctl function, and pass that to the typed argument list in the specific functions. I have a GPL question. This header

Re: [BUG] rebuild_sched_domains considered dangerous

2011-06-03 Thread Peter Zijlstra
On Wed, 2011-05-11 at 11:17 -0500, Jesse Larrew wrote: I would really like to see both patch-sets together. Also, I'm not at all convinced its a sane thing to do. Pretty much all NUMA aware software I know of assumes that CPU-NODE relations are static, breaking that in kernel renders all

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-03 Thread Arnd Bergmann
On Friday 03 June 2011, Timur Tabi wrote: Arnd Bergmann wrote: For an ioctl, please follow the normal pattern of defining a separate structure for each case, no union. You can use a void __user * in the common ioctl function, and pass that to the typed argument list in the specific

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-03 Thread Arnd Bergmann
On Thursday 02 June 2011, Timur Tabi wrote: Arnd Bergmann wrote: I think drivers/misc is not the right place for this, but I'm not completely sure what is. drivers/firmware would be better at least, but virt/fsl might also be ok. I don't think it's correct to think of a hypervisor as

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-03 Thread Timur Tabi
Arnd Bergmann wrote: I don't think it's correct to think of a hypervisor as firmware, so I don't think drivers/firmware is better. I'm not sure that creating virt/fsl and putting the driver in there is a good idea, because it will be the only driver in that directory. Unlike KVM,

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-03 Thread Arnd Bergmann
On Thursday 02 June 2011, Scott Wood wrote: I wanted to have the hypervisor take an update dtb (we already have special meta-properties for things like deletion as part of the hv config mechanism). But others on the project wanted to keep it simple, and so get/set property it was. :-/ It's

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-03 Thread Scott Wood
On Fri, 3 Jun 2011 17:28:43 +0200 Arnd Bergmann a...@arndb.de wrote: On Thursday 02 June 2011, Scott Wood wrote: I wanted to have the hypervisor take an update dtb (we already have special meta-properties for things like deletion as part of the hv config mechanism). But others on the

Re: [patch 00/14] Sort out i8253 and PC speaker locking and headers

2011-06-03 Thread Ralf Baechle
On Thu, Jun 02, 2011 at 09:11:19PM +0200, Gerhard Pircher wrote: #if defined(CONFIG_MIPS) || defined(CONFIG_X86) /* Use the global PIT lock ! */ #include asm/i8253.h #else #include asm/8253pit.h static DEFINE_RAW_SPINLOCK(i8253_lock); #endif sound/drivers/pcsp/pcsp.h: #if

Re: [rtc-linux] Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

2011-06-03 Thread Grant Likely
On Mon, May 30, 2011 at 08:57:45PM +0400, Anton Vorontsov wrote: On Mon, May 30, 2011 at 02:29:58PM +, Tabi Timur-B04825 wrote: On Mon, May 30, 2011 at 3:24 AM, Wolfram Sang w.s...@pengutronix.de wrote: The first place where this should be mentioned is the datasheet of the pt-chip,

Re: [patch 00/14] Sort out i8253 and PC speaker locking and headers

2011-06-03 Thread Gerhard Pircher
Original-Nachricht Datum: Fri, 3 Jun 2011 19:00:38 +0100 Von: Ralf Baechle r...@linux-mips.org An: Gerhard Pircher gerhard_pirc...@gmx.net CC: linux-m...@linux-mips.org, linuxppc-dev@lists.ozlabs.org, linux-al...@vger.kernel.org, linux-a...@vger.kernel.org,

[PATCH v4 11/13] powerpc: select HAVE_SECCOMP_FILTER and provide seccomp_execve

2011-06-03 Thread Will Drewry
Facilitate the use of CONFIG_SECCOMP_FILTER by wrapping compatibility system call numbering for execve and selecting HAVE_SECCOMP_FILTER. Signed-off-by: Will Drewry w...@chromium.org --- arch/powerpc/Kconfig |1 + arch/powerpc/include/asm/seccomp.h |2 ++ 2 files changed, 3

[PATCH 7/7] [v3] drivers/misc: introduce Freescale hypervisor management driver

2011-06-03 Thread Timur Tabi
The Freescale hypervisor management driver provides several services to drivers and applications related to the Freescale hypervisor: 1. An ioctl interface for querying and managing partitions 2. A file interface to reading incoming doorbells 3. An interrupt handler for shutting down the

Re: Hooking up SM501 on TQM5200 (MPC5200) board via device tree?

2011-06-03 Thread Grant Likely
On Tue, May 31, 2011 at 10:07:01PM -0700, Josh Triplett wrote: We have a TQM5200 board, which has GPIO lines hooked up to an SM501. I've managed to come up with the following patch to the tqm5200 device tree, which manages to convince the sm501 driver to attach an sm501-fb: ---

[PATCH -v2] Audit: push audit success and retcode into arch ptrace.h

2011-06-03 Thread Eric Paris
The audit system previously expected arches calling to audit_syscall_exit to supply as arguments if the syscall was a success and what the return code was. Audit also provides a helper AUDITSC_RESULT which was supposed to simplify things by converting from negative retcodes to an audit internal

[PATCH] powerpc/book3e-64: use a separate TLB handler when linear map is bolted

2011-06-03 Thread Scott Wood
On MMUs such as FSL where we can guarantee the entire linear mapping is bolted, we don't need to worry about linear TLB misses. If on top of that we do a full table walk, we get rid of all recursive TLB faults, and can dispense with some state saving. This gains a few percent on TLB-miss-heavy

Re: PROBLEM: 2.6.39 doesn’t boot on POWER MAC

2011-06-03 Thread Giuliano Pochini
On Fri, 03 Jun 2011 13:10:45 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2011-06-03 at 12:41 +1000, Benjamin Herrenschmidt wrote: On Fri, 2011-06-03 at 00:00 +0200, Giuliano Pochini wrote: On Sat, 28 May 2011 11:55:14 +0400 Andrey Gusev ro...@list.ru wrote:

Re: [PATCH -v2] Audit: push audit success and retcode into arch ptrace.h

2011-06-03 Thread Tony Luck
On Fri, Jun 3, 2011 at 3:04 PM, Eric Paris epa...@redhat.com wrote: The other major change is that on some arches, like ia64, we change regs_return_value() to give us the negative value on syscall failure.  The only other user of this macro, kretprobe_example.c, won't notice and it makes the

Re: [RFT][PATCH 3.0] ssb: fix PCI(e) driver regression causing oops on PCI cards

2011-06-03 Thread Rafał Miłecki
On Jun 1, 2011 9:14 PM, Rafał Miłecki zaj...@gmail.com wrote: 2011/6/1 Rafał Miłecki zaj...@gmail.com: We were incorrectly executing PCIe specific workarounds on PCI cards. This resulted in: Machine check in kernel mode. Caused by (from SRR1=149030): Transfer error ack signal Oops: