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

2011-06-01 Thread Suzuki Poulose
On 05/31/11 20:45, Sebastian Andrzej Siewior wrote: Suzuki Poulose wrote: Index: powerpc/arch/powerpc/kernel/44x_kexec_mapping.S === --- /dev/null +++ powerpc/arch/powerpc/kernel/44x_kexec_mapping.S + * + */ + bl nxtins /*

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

2011-06-01 Thread Christian Kujau
On Thu, 2 Jun 2011 at 08:13, Rafał Miłecki wrote: > John, I'm afraid more and more people get angry at me because of this ;) Erm, I'm not angry at anyone :-) On the contrary, I'm happy about the fix so quickly available! Though I'm a bit afraid of the next git bisect session, as it might not be

Re: 3.0-rc1: powerpc hangs at Kernel virtual memory layout

2011-06-01 Thread Christian Kujau
On Thu, 2 Jun 2011 at 08:07, Rafał Miłecki wrote: > 1) You didn't see (like Andres): > Machine check in kernel mode. > Caused by (from SRR1=149030): Transfer error ack signal > Oops: Machine check, sig: 7 [#1] > But, OK, maybe machine check requires something additional in kernel, > I don't know.

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

2011-06-01 Thread Rafał Miłecki
2011/6/1 Rafał Miłecki : > 2011/6/1 Rafał Miłecki : >> 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: Machine check, sig: 7 [#1] > > John, I've tested thi

Re: 3.0-rc1: powerpc hangs at Kernel virtual memory layout

2011-06-01 Thread Rafał Miłecki
On Tue, 31 May 2011 at 16:50, Christian Kujau wrote: > trying to boot 3.0-rc1 on powerpc32 only progresses until: > >   > Kernel virtual memory layout: >   >   * 0xfffcf000..0xf000  : fixmap The weird thing is that: 1) You didn't see (like Andres): Machine check in kernel mode. Caused by (fr

Re: 3.0-rc1: powerpc hangs at Kernel virtual memory layout

2011-06-01 Thread Rafał Miłecki
2011/6/2 Christian Kujau : > On Tue, 31 May 2011 at 16:50, Christian Kujau wrote: >> trying to boot 3.0-rc1 on powerpc32 only progresses until: >> >>   > Kernel virtual memory layout: >>   >   * 0xfffcf000..0xf000  : fixmap > > After hours (and hours!) of git-bisecting, it said: > > ---

Re: [PATCH] Fix build warning of the defconfigs

2011-06-01 Thread Paul Mundt
On Thu, Jun 02, 2011 at 12:29:23AM +0800, Wanlong Gao wrote: > RTC_CLASS is changed to bool. > So value 'm' is invalid. > > Signed-off-by: Wanlong Gao > arch/sh/configs/titan_defconfig|2 +- Acked-by: Paul Mundt ___ Linuxppc-dev maili

Re: 3.0-rc1: powerpc hangs at Kernel virtual memory layout

2011-06-01 Thread Christian Kujau
On Thu, 2 Jun 2011 at 12:57, Benjamin Herrenschmidt wrote: > Ok, thanks a lot, It looks rather trivial actually: That new workaround > is PCIe specific but is called unconditionally, and will do bad things > non-PCIe implementations. OK, with your patch applied to Linus' latest git tree the machin

Re: 3.0-rc1: powerpc hangs at Kernel virtual memory layout

2011-06-01 Thread Christian Kujau
On Thu, 2 Jun 2011 at 12:57, Benjamin Herrenschmidt wrote: > Ok, thanks a lot, It looks rather trivial actually: That new workaround > is PCIe specific but is called unconditionally, and will do bad things > non-PCIe implementations. Indeed. This PowerBook G4 does not has PCIe, yet the whole SSB t

Re: 3.0-rc1: powerpc hangs at Kernel virtual memory layout

2011-06-01 Thread Benjamin Herrenschmidt
On Wed, 2011-06-01 at 17:16 -0700, Christian Kujau wrote: > On Tue, 31 May 2011 at 16:50, Christian Kujau wrote: > > trying to boot 3.0-rc1 on powerpc32 only progresses until: > > > > > Kernel virtual memory layout: > > > * 0xfffcf000..0xf000 : fixmap > > After hours (and hours!) of gi

Re: [PATCH] Fix build warning of the defconfigs

2011-06-01 Thread Guan Xuetao
On Thu, 2011-06-02 at 00:29 +0800, Wanlong Gao wrote: > RTC_CLASS is changed to bool. > So value 'm' is invalid. > > Signed-off-by: Wanlong Gao > --- > arch/arm/configs/davinci_all_defconfig |2 +- > arch/arm/configs/mxs_defconfig |2 +- > arch/arm/configs/netx_defconfig

Re: 3.0-rc1: powerpc hangs at Kernel virtual memory layout

2011-06-01 Thread Benjamin Herrenschmidt
On Wed, 2011-06-01 at 17:16 -0700, Christian Kujau wrote: > ccc7c28af205888798b51b6cbc0b557ac1170a49 is the first bad commit > commit ccc7c28af205888798b51b6cbc0b557ac1170a49 > Author: Rafał Miłecki > Date: Fri Apr 1 13:26:52 2011 +0200 > > ssb: pci: implement serdes workaround > >

Re: 3.0-rc1: powerpc hangs at Kernel virtual memory layout

2011-06-01 Thread Christian Kujau
On Tue, 31 May 2011 at 16:50, Christian Kujau wrote: > trying to boot 3.0-rc1 on powerpc32 only progresses until: > > > Kernel virtual memory layout: > > * 0xfffcf000..0xf000 : fixmap After hours (and hours!) of git-bisecting, it said: --- ccc7c28af205888798b51b6cb

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

2011-06-01 Thread Scott Wood
On Wed, 1 Jun 2011 23:40:14 +0200 Arnd Bergmann wrote: > > +static long ioctl_dtprop(struct fsl_hv_ioctl_prop __user *p, int set) > > +{ > > + struct fsl_hv_ioctl_prop param; > > + char __user *upath, *upropname; > > + void __user *upropval; > > + char *path = NULL, *propname = NULL; > >

Re: [PATCH] document udbg-immortal

2011-06-01 Thread Jesse Larrew
On 05/31/2011 08:22 PM, Christian Kujau wrote: > + udbg-immortal [PPC] When debugging early kernel crashes that > + happen after console_init() and before a proper > + console driver takes over, this boot options might > + help "se

Re: [git pull] Please pull powerpc.git merge branch

2011-06-01 Thread Tabi Timur-B04825
On Fri, May 20, 2011 at 9:35 AM, Kumar Gala wrote: > Shaohui Xie (2): >      powerpc/fsl_rio: move machine_check handler This patch causes a build failure if CONFIG_FSL_RIO is not defined: arch/powerpc/kernel/built-in.o: In function `machine_check_e500mc': /home/b04825/git/linux.hv/arch/powerpc

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

2011-06-01 Thread Alan Cox
> There's a check for -ENOIOCTLCMD in vfs_ioctl() -- though it generates > -EINVAL rather than -ENOTTY (why?). Good question - perhaps someone didn't read the spec 8) ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/l

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

2011-06-01 Thread Arnd Bergmann
On Wednesday 01 June 2011, Timur Tabi wrote: > 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 doorbel

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

2011-06-01 Thread Scott Wood
On Wed, 1 Jun 2011 20:46:18 +0100 Alan Cox wrote: > > +static char *strdup_from_user(const char __user *ustr, size_t max) > > +{ > > + size_t len; > > + char *str; > > + > > + len = strnlen_user(ustr, max); > > + if (len > max) > > + return ERR_PTR(-ENAMETOOLONG); if (len >= ma

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

2011-06-01 Thread Alan Cox
On Wed, 1 Jun 2011 15:24:51 -0500 Timur Tabi wrote: > Alan Cox wrote: > > O> +/* One partition must be local, the other must be remote. In > > other > >> + words, if source and target are both -1, or are both not -1, then > >> + return an error. */ > >> + if ((param.source == -

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

2011-06-01 Thread Timur Tabi
Alan Cox wrote: > O> + /* One partition must be local, the other must be remote. In other >> + words, if source and target are both -1, or are both not -1, then >> + return an error. */ >> +if ((param.source == -1) == (param.target == -1)) >> +return -EINVAL; > > Exce

[patch 13/14] PCSPKR: Cleanup Kconfig dependencies

2011-06-01 Thread ralf
Lenghty lists of the kind "depends on ARCH1 || ARCH2 ... || ARCH123" are usually either wrong or too coarse grained. Or plain an ugly sin. Signed-off-by: Ralf Baechle To: linux-ker...@vger.kernel.org Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Cc: Benjamin Herrenschmidt Cc: Pau

[patch 09/14] i8253: Alpha, PowerPC: Remove unused header.

2011-06-01 Thread ralf
Signed-off-by: Ralf Baechle To: linux-ker...@vger.kernel.org Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Cc: linux-al...@vger.kernel.org Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org arch/alpha/include/asm/8253pit.h |3 --- arch/powerpc/

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

2011-06-01 Thread ralf
No longer terribly relevant these days but still broken and just an eyesore mess of neglience just as I've already raised it a few days ago. Time to sort this. drivers/input/misc/pcspkr.c: #if defined(CONFIG_MIPS) || defined(CONFIG_X86) /* Use the global PIT lock ! */ #include #else #include s

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

2011-06-01 Thread Alan Cox
O> +/* One partition must be local, the other must be remote. In other > +words, if source and target are both -1, or are both not -1, then > +return an error. */ > + if ((param.source == -1) == (param.target == -1)) > + return -EINVAL; Excess brackets (I just

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

2011-06-01 Thread Rafał Miłecki
2011/6/1 Rafał Miłecki : > 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: Machine check, sig: 7 [#1] John, I've tested this patch myself on my PCI BCM4318, i

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

2011-06-01 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 partiti

Re: [PATCH] Fix build warning of the defconfigs

2011-06-01 Thread Wolfram Sang
On Thu, Jun 02, 2011 at 12:29:23AM +0800, Wanlong Gao wrote: > RTC_CLASS is changed to bool. > So value 'm' is invalid. > > Signed-off-by: Wanlong Gao > --- > arch/arm/configs/davinci_all_defconfig |2 +- > arch/arm/configs/mxs_defconfig |2 +- > arch/arm/configs/netx_def

Re: [PATCH] Fix build warning of the defconfigs

2011-06-01 Thread Mike Frysinger
On Wed, Jun 1, 2011 at 12:29, Wanlong Gao wrote: >  arch/blackfin/configs/CM-BF548_defconfig   |    2 +- Acked-by: Mike Frysinger -mike ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 1/2] ppc/85xx: create a platform node for PCI EDAC device

2011-06-01 Thread Scott Wood
On Wed, 1 Jun 2011 18:55:35 +0400 Dmitry Eremin-Solenikov wrote: > On 6/1/11, Anton Vorontsov wrote: > > On Wed, Jun 01, 2011 at 04:28:11PM +0400, Dmitry Eremin-Solenikov wrote: > > [...] > > Also, why not add this call to the fsl_add_bridge(), so you > > won't need to touch board files at all.

[PATCH] Fix build warning of the defconfigs

2011-06-01 Thread Wanlong Gao
RTC_CLASS is changed to bool. So value 'm' is invalid. Signed-off-by: Wanlong Gao --- arch/arm/configs/davinci_all_defconfig |2 +- arch/arm/configs/mxs_defconfig |2 +- arch/arm/configs/netx_defconfig|2 +- arch/arm/configs/viper_defconfig |

[PATCH 1/2] ppc/85xx: create a platform node for PCI EDAC device

2011-06-01 Thread Dmitry Eremin-Solenikov
As a device for pci node isn't created, create a special platform_device for PCI EDAC device on MPC85xx. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/ksi8560.c |2 + arch/powerpc/platforms/85xx/mpc8536_ds.c |2 + arch/powerpc/platforms/85xx/mpc85xx_ads.c |

[PATCH] ppc/85xx: specify interrupt for pq3-localbus devices

2011-06-01 Thread Dmitry Eremin-Solenikov
fsl-lbc driver requires an interrupt to bind to localbus device. Populate 85xx boards' dts trees with lbc interrupt info. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/boot/dts/mpc8568mds.dts |2 ++ arch/powerpc/boot/dts/socrates.dts |2 ++ arch/powerpc/boot/dts/t

Re: [PATCH 1/2] ppc/85xx: create a platform node for PCI EDAC device

2011-06-01 Thread Anton Vorontsov
On Wed, Jun 01, 2011 at 06:55:35PM +0400, Dmitry Eremin-Solenikov wrote: > On 6/1/11, Anton Vorontsov wrote: > > On Wed, Jun 01, 2011 at 04:28:11PM +0400, Dmitry Eremin-Solenikov wrote: > > [...] > >> --- a/arch/powerpc/sysdev/fsl_pci.h > >> +++ b/arch/powerpc/sysdev/fsl_pci.h > >> @@ -92,6 +92,7

Re: [PATCH 1/2] ppc/85xx: create a platform node for PCI EDAC device

2011-06-01 Thread Dmitry Eremin-Solenikov
On 6/1/11, Anton Vorontsov wrote: > On Wed, Jun 01, 2011 at 04:28:11PM +0400, Dmitry Eremin-Solenikov wrote: > [...] >> --- a/arch/powerpc/sysdev/fsl_pci.h >> +++ b/arch/powerpc/sysdev/fsl_pci.h >> @@ -92,6 +92,7 @@ extern int fsl_add_bridge(struct device_node *dev, int >> is_primary); >> extern

Re: [PATCH 1/2] ppc/85xx: create a platform node for PCI EDAC device

2011-06-01 Thread Anton Vorontsov
On Wed, Jun 01, 2011 at 04:28:11PM +0400, Dmitry Eremin-Solenikov wrote: [...] > --- a/arch/powerpc/sysdev/fsl_pci.h > +++ b/arch/powerpc/sysdev/fsl_pci.h > @@ -92,6 +92,7 @@ extern int fsl_add_bridge(struct device_node *dev, int > is_primary); > extern void fsl_pcibios_fixup_bus(struct pci_bus *

[PATCH] perf_events: Enable idle state tracing for pseries (ppc64)

2011-06-01 Thread Deepthi Dharwar
Hi, Please find below a patch, which has perf_events added for pseries (ppc64) platform in order to emit the trace required for perf timechart. It essentially enables perf timechart for pseries platfrom to analyse power savings events like cpuidle states. Steps to enable and disable the trace; 1

[PATCH 2/2] mpc85xx_edac: adapt to ppc/85xx changes for mpc85xx_pci_err

2011-06-01 Thread Dmitry Eremin-Solenikov
Currently mpc85xx_edac fails to bind to PCI host device node. Adapt it to bind to special platform device mpc85xx_pci_err. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/edac/mpc85xx_edac.c | 33 - 1 files changed, 12 insertions(+), 21 deletions(-) diff --g

[PATCH 1/2] ppc/85xx: create a platform node for PCI EDAC device

2011-06-01 Thread Dmitry Eremin-Solenikov
As a device for pci node isn't created, create a special platform_device for PCI EDAC device on MPC85xx. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/ksi8560.c |4 +++ arch/powerpc/platforms/85xx/mpc8536_ds.c |4 +++ arch/powerpc/platforms/85xx/mpc85xx_ads.

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

2011-06-01 Thread Rafał Miłecki
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: Machine check, sig: 7 [#1] Reported-by: Andreas Schwab Signed-off-by: Rafał Miłecki --- drivers/ssb/driver_pcicore.

Re: [PATCH] powerpc/fsl: Use irq_data_get_irq_handler_data() in chain handler

2011-06-01 Thread Thomas Gleixner
On Wed, 1 Jun 2011, Geert Uytterhoeven wrote: > If you already have a pointer to a struct irq_data , it's more efficient > to use irq_data_get_irq_handler_data(). > irq_get_handler_data() has to look up the struct irq_desc pointer again, > which was already passed to the chain handler. > > Signed

[PATCH] powerpc/fsl: Use irq_data_get_irq_handler_data() in chain handler

2011-06-01 Thread Geert Uytterhoeven
If you already have a pointer to a struct irq_data , it's more efficient to use irq_data_get_irq_handler_data(). irq_get_handler_data() has to look up the struct irq_desc pointer again, which was already passed to the chain handler. Signed-off-by: Geert Uytterhoeven --- Completely untested, not e

[088/165] seqlock: Dont smp_rmb in seqlock reader spin loop

2011-06-01 Thread Greg KH
2.6.39-stable review patch. If anyone has any objections, please let us know. -- Content-Length: 2553 Lines: 71 From: Milton Miller commit 5db1256a5131d3b133946fa02ac9770a784e6eb2 upstream. Move the smp_rmb after cpu_relax loop in read_seqlock and add ACCESS_ONCE to make sure

[086/146] seqlock: Dont smp_rmb in seqlock reader spin loop

2011-06-01 Thread Greg KH
2.6.38-stable review patch. If anyone has any objections, please let us know. -- From: Milton Miller commit 5db1256a5131d3b133946fa02ac9770a784e6eb2 upstream. Move the smp_rmb after cpu_relax loop in read_seqlock and add ACCESS_ONCE to make sure the test and return are consist