[PATCH] powerpc: fix compiling CONFIG_PPC_TRANSACTIONAL_MEM when CONFIG_ALTIVEC=n

2013-04-08 Thread Michael Neuling
We can't compile a kernel with CONFIG_ALTIVEC=n when CONFIG_PPC_TRANSACTIONAL_MEM=y. We currently get: arch/powerpc/kernel/tm.S:320: Error: unsupported relocation against THREAD_VSCR arch/powerpc/kernel/tm.S:323: Error: unsupported relocation against THREAD_VR0 arch/powerpc/kernel/tm.S:323: Error

RE: [PATCH 1/4][v2] powerpc/fsl-booke: Add initial silicon device tree files for B4860 and B4420

2013-04-08 Thread Aggrwal Poonam-B10812
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+poonam.aggrwal=freescale@lists.ozlabs.org] On Behalf Of > Leekha Shaveta-B20052 > Sent: Monday, April 08, 2013 10:18 AM > To: Kumar Gala > Cc: linuxppc-dev@lists.ozlabs.org list > Subject: RE: [PATCH 1/4][v2] po

[PATCH v3 4/4] powerpc/fsl: add MPIC timer wakeup support

2013-04-08 Thread Wang Dongsheng
The driver provides a way to wake up the system by the MPIC timer. For example, echo 5 > /sys/devices/system/mpic/timer_wakeup echo standby > /sys/power/state After 5 seconds the MPIC timer will generate an interrupt to wake up the system. Signed-off-by: Wang Dongsheng Signed-off-by: Zhao Chenh

[PATCH v3 3/4] powerpc/mpic: create mpic subsystem object

2013-04-08 Thread Wang Dongsheng
Register a mpic subsystem at /sys/devices/system/ Signed-off-by: Wang Dongsheng --- arch/powerpc/include/asm/mpic.h | 2 ++ arch/powerpc/sysdev/mpic.c | 8 2 files changed, 10 insertions(+) diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h index c0f9ef

[PATCH v3 2/4] powerpc/mpic: add global timer support

2013-04-08 Thread Wang Dongsheng
The MPIC global timer is a hardware timer inside the Freescale PIC complying with OpenPIC standard. When the specified interval times out, the hardware timer generates an interrupt. The driver currently is only tested on fsl chip, but it can potentially support other global timers complying to Open

[PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-04-08 Thread Wang Dongsheng
Add irq_set_wake support. Just add IRQF_NO_SUSPEND to desc->action->flag. So the wake up interrupt will not be disable in suspend_device_irqs. Signed-off-by: Wang Dongsheng --- v3: * Modify: Change "EINVAL" to "ENXIO" in mpic_irq_set_wake() v2: * Add: Check freescale chip in mpic_irq_set_wake().

[PATCH] powerpc: remove "config MPC10X_OPENPIC"

2013-04-08 Thread Paul Bolle
The last users of Kconfig symbol MPC10X_OPENPIC were removed in v2.6.27. Its Kconfig entry can be removed now. Signed-off-by: Paul Bolle --- Untested. arch/powerpc/platforms/embedded6xx/Kconfig | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/platforms/embedded6xx/Kconfig b

Re: [PATCH] powerpc: add Book E support to 64-bit hibernation

2013-04-08 Thread Scott Wood
On 04/06/2013 10:01:45 PM, Wang Dongsheng-B40534 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, April 04, 2013 4:16 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Johannes Berg; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc: add Book E su

Re: [PATCH 1/2] pci: Set dev->dev.type in alloc_pci_dev

2013-04-08 Thread Bjorn Helgaas
On Mon, Apr 8, 2013 at 7:05 AM, Brian King wrote: > > Set dev->dev.type in alloc_pci_dev so that archs that have their own > versions of pci_setup_device get this set properly in order to ensure > things like the boot_vga sysfs parameter get created as expected. > > Signed-off-by: Brian King Ack

Re: [PATCH] [RFC] powerpc: Add VDSO version of time

2013-04-08 Thread Adhemerval Zanella
On 04/05/2013 03:21 AM, Michael Ellerman wrote: > On Tue, Mar 19, 2013 at 04:55:31PM -0300, Adhemerval Zanella wrote: >> Hi all, >> >> This patch implement the time syscall as vDSO. I have a glibc patch >> to use it as IFUNC (as latest gettimeofday patch). Below the perf >> numbers: >> >> Baseline

Re: [PATCH 2/3] powerpc: Enable boot_vga sysfs attribute for graphics adapters on Power

2013-04-08 Thread Brian King
On 04/08/2013 12:25 AM, Michael Ellerman wrote: > On Fri, Apr 05, 2013 at 02:11:01PM -0600, Bjorn Helgaas wrote: >> On Thu, Apr 4, 2013 at 3:58 PM, Brian King wrote: >>> >>> Initialize dev->dev.type such that the PCI group attributes for boot_vga >>> and SR-IOV can be displayed if appropriate. Thi

[PATCH 1/2] pci: Set dev->dev.type in alloc_pci_dev

2013-04-08 Thread Brian King
Set dev->dev.type in alloc_pci_dev so that archs that have their own versions of pci_setup_device get this set properly in order to ensure things like the boot_vga sysfs parameter get created as expected. Signed-off-by: Brian King --- drivers/pci/probe.c |2 +- 1 file changed, 1 insertion(

[PATCH 2/2] powerpc: Set default VGA device

2013-04-08 Thread Brian King
Add a PCI quirk for VGA devices on Power to set the default VGA device. Ensures a default VGA is always set if a graphics adapter is present, even if firmware did not initialize it. If more than one graphics adapter is present, ensure the one initialized by firmware is set as the default VGA devic

Re: [PATCH] powerpc: remove unused "config 405EP"

2013-04-08 Thread Josh Boyer
On Mon, Apr 8, 2013 at 7:27 AM, Paul Bolle wrote: > All users of Kconfig symbol 405EP were removed in release v2.6.27. > Remove this symbol (and a useless select of it) too. > > Signed-off-by: Paul Bolle Acked-by: Josh Boyer > --- > 0) Tested by grepping the tree only. > > 1) There's also a Kc

[PATCH] powerpc: remove unused "config 405EP"

2013-04-08 Thread Paul Bolle
All users of Kconfig symbol 405EP were removed in release v2.6.27. Remove this symbol (and a useless select of it) too. Signed-off-by: Paul Bolle --- 0) Tested by grepping the tree only. 1) There's also a Kconfig symbol EP405. Let's hope no one ever made a typo with either of these two symbols!

[PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-08 Thread Jia Hongtao
A PCIe erratum of mpc85xx may causes a core hang when a link of PCIe goes down. when the link goes down, Non-posted transactions issued via the ATMU requiring completion result in an instruction stall. At the same time a machine-check exception is generated to the core to allow further processing b

Re: [RFC PATCH v2 2/6] powerpc: Exception hooks for context tracking subsystem

2013-04-08 Thread Li Zhong
On Fri, 2013-04-05 at 13:50 +1100, Paul Mackerras wrote: > On Fri, Mar 29, 2013 at 06:00:17PM +0800, Li Zhong wrote: > > This is the exception hooks for context tracking subsystem, including > > data access, program check, single step, instruction breakpoint, machine > > check, > > alignment, fp u

Re: [RFC][PATCH 1/2] powerpc/fsl-pci: Keep PCI SoC controller registers in

2013-04-08 Thread Rojhalat Ibrahim
On Wednesday 13 March 2013 14:07:15 Kumar Gala wrote: > Move to keeping the SoC registers that control and config the PCI > controllers on FSL SoCs in the pci_controller struct. This allows us to > not need to ioremap() the registers in multiple different places that > use them. > > Signed-off-by

Re: [RFC][PATCH 2/2] powerpc/fsl-pci Make PCIe hotplug work with Freescale

2013-04-08 Thread Rojhalat Ibrahim
Up to now the PCIe link status on Freescale PCIe controllers was only checked once at boot time. So hotplug did not work. With this patch the link status is checked on every config read. PCIe devices not present at boot time are found after doing 'echo 1 >/sys/bus/pci/rescan'. Signed-off-by: Rojha

[git pull] Please pull another powerpc fix

2013-04-08 Thread Stephen Rothwell
The following changes since commit 875b7679abbb232b584f2eec59fa6e45690dd6c4: Merge git://git.kernel.org/pub/scm/virt/kvm/kvm (2013-04-07 13:01:25 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sfr/next-fixes.git tags/for-linus for you to fetch