Re: [PATCH 1/3] pci: Export pci_dev_type

2013-04-04 Thread Michael Ellerman
Hi Bjorn, Should we take this series via the powerpc tree, assuming you're OK with this patch? cheers On Thu, Apr 04, 2013 at 04:58:13PM -0500, Brian King wrote: > > Export pci_dev_type so that arch specific PCI probing code can > initialize a new PCI device struct. > > Signed-off-by: Brian Ki

Re: [PATCH 3/3] powerpc: Set default VGA device

2013-04-04 Thread Michael Ellerman
Hi Brian, On Thu, Apr 04, 2013 at 04:58:17PM -0500, Brian King wrote: > > 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

Re: [PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
On 4 April 2013 18:24, Viresh Kumar wrote: > This patch moves cpufreq driver of powerpc platform to drivers/cpufreq. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Olof Johansson > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Viresh Kumar > --- > Compile Tested only. > > arch

[PATCH 3/4][v2] powerpc/fsl-booke: Add B4_QDS board support

2013-04-04 Thread Shaveta Leekha
- Add support for B4 board in board file b4_qds.c, It is common for B4860, B4420 and B4220QDS as they share same QDS board - Add B4QDS support in Kconfig and Makefile B4860QDS is a high-performance computing evaluation, development and test platform supporting the B4860 QorIQ Power Architecture

[PATCH 4/4][v2] powerpc/85xx: Update corenet64_smp_defconfig for B4_QDS

2013-04-04 Thread Shaveta Leekha
Signed-off-by: Shaveta Leekha --- arch/powerpc/configs/corenet64_smp_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig index 1c6eb66..6c8b020 100644 --- a/arch/powerpc/con

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

2013-04-04 Thread Shaveta Leekha
B4860 and B4420 are similar that share some commonalities * common features have been added in b4si-pre.dtsi and b4si-post.dtsi * differences are added in respective silicon files of B4860 and B4420 There are several things missing from the device trees of B4860 and B4420: * DPAA related nodes (

[PATCH 2/4][v2] powerpc/fsl-booke: Add initial B4860QDS and B4420QDS board device tree

2013-04-04 Thread Shaveta Leekha
B4860QDS and B4420QDS share same QDS board * common board features have been added in b4qds.dts * various board differences are in respective files of B4860 and B4420 Signed-off-by: Shaveta Leekha Signed-off-by: Minghuan Lian Signed-off-by: Andy Fleming Signed-off-by: Poonam Aggrwal Signed-of

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

2013-04-04 Thread Michael Ellerman
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 PPC32: 380 nsec > Baseline PPC64: 352 nsec > vdso PPC32

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

2013-04-04 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Friday, April 05, 2013 12:44 AM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; Li Yang-R58472; Tang Yuantian-B29983; Sethi Varun-B16395; Lian Minghuan-B31939; Mehresh Ramneek

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

2013-04-04 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Friday, April 05, 2013 12:44 AM To: Leekha Shaveta-B20052 Cc: Wood Scott-B07421; Zhao Chenhui-B35336; Mehresh Ramneek-B31383; Garg Vakul-B16394; Lian Minghuan-B31939; Tang Yuantian-B29983; Fleming Andy-AFLEMIN

powerpc userspace address space layout information

2013-04-04 Thread Chris Friesen
Hi, I'm running with glibc 2.11 on a 2.6.34 kernel. 32-bit userspace on 64-bit kernel. On a complicated process the memory map looks something like this: 5b2c000-f5b38000 r-xp 00:0f 3636 /lib/libnss_files-2.11.1.so f6026000-f6035000 ---p 00096000 00:0

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

2013-04-04 Thread Paul Mackerras
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 unavailable, altivec assist, unknown exception, whose handlers > mig

RE: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Sethi Varun-B16395
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, April 04, 2013 10:14 PM > To: Sethi Varun-B16395 > Cc: Joerg Roedel; Yoder Stuart-B08248; Wood Scott-B07421; > io...@lists.linux-foundation.org; linuxppc-dev@lists.ozlabs.org; linux- > ker..

Re: weird elf header issues, is it binutils or my linker script?

2013-04-04 Thread Chris Friesen
On 04/02/2013 09:07 AM, Segher Boessenkool wrote: What I don't understand is where the "/lib/ld.so.1" string is coming from and how the length gets set to the invalid value. It comes from the .interp input sections, i.e. the .interp sections in the .o files you linked together. Perhaps you hav

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

2013-04-04 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

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

2013-04-04 Thread Brian King
Initialize dev->dev.type such that the PCI group attributes for boot_vga and SR-IOV can be displayed if appropriate. This fixes an issue seen on Power preventing X from auto initializing a graphics adapter when using KMS. Signed-off-by: Brian King --- arch/powerpc/kernel/pci_of_scan.c |1 +

[PATCH 1/3] pci: Export pci_dev_type

2013-04-04 Thread Brian King
Export pci_dev_type so that arch specific PCI probing code can initialize a new PCI device struct. Signed-off-by: Brian King --- drivers/pci/pci.h |1 - include/linux/pci.h |1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/pci/pci.h~pci_export_pci_dev_type drive

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

2013-04-04 Thread Adhemerval Zanella
Hi Benjamin, Any objection or request about this patch? On 20-03-2013 02:00, Benjamin Herrenschmidt wrote: > On Tue, 2013-03-19 at 16:55 -0300, Adhemerval Zanella wrote: >> I focused on 64 bit kernel, do I need to provide a scheme for 32 bits >> as well? > You did provide both 32 and 64-bit VDSO

Re: [PATCH 2/5] powerpc/fsl-booke: Add initial silicon device tree files for B4860 and B4420

2013-04-04 Thread Kumar Gala
On Apr 4, 2013, at 2:10 AM, Leekha Shaveta-B20052 wrote: > > > -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Wednesday, April 03, 2013 10:10 PM > To: Leekha Shaveta-B20052 > Cc: linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; Li Yang-R58472; Tang

Re: [PATCH 2/5] powerpc/fsl-booke: Add initial silicon device tree files for B4860 and B4420

2013-04-04 Thread Kumar Gala
On Apr 4, 2013, at 2:03 AM, Leekha Shaveta-B20052 wrote: > > > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 03, 2013 10:10 PM > To: Leekha Shaveta-B20052 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; > Lian Minghuan-B31939; Garg

Re: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Alex Williamson
On Thu, 2013-04-04 at 16:35 +, Sethi Varun-B16395 wrote: > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, April 04, 2013 8:52 PM > > To: Sethi Varun-B16395 > > Cc: Joerg Roedel; Yoder Stuart-B08248; Wood Scott-B07421; > > io...@

RE: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Yoder Stuart-B08248
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, April 04, 2013 10:22 AM > To: Sethi Varun-B16395 > Cc: Joerg Roedel; Yoder Stuart-B08248; Wood Scott-B07421; > io...@lists.linux-foundation.org; linuxppc- > d...@lists.ozlabs.org; linux-ker

RE: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Sethi Varun-B16395
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, April 04, 2013 8:52 PM > To: Sethi Varun-B16395 > Cc: Joerg Roedel; Yoder Stuart-B08248; Wood Scott-B07421; > io...@lists.linux-foundation.org; linuxppc-dev@lists.ozlabs.org; linux- > ker...

Re: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Alex Williamson
On Thu, 2013-04-04 at 13:00 +, Sethi Varun-B16395 wrote: > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Wednesday, April 03, 2013 11:32 PM > > To: Joerg Roedel > > Cc: Sethi Varun-B16395; Yoder Stuart-B08248; Wood Scott-B07421; > > io..

RE: [PATCH] bookehv: Handle debug exception on guest exit

2013-04-04 Thread Bhushan Bharat-R65777
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Thursday, April 04, 2013 6:55 PM > To: Bhushan Bharat-R65777 > Cc: linuxppc-dev@lists.ozlabs.org; k...@vger.kernel.org; > kvm-...@vger.kernel.org; > Wood Scott-B07421; Bhushan Bharat-R65777 > Subject: Re: [PATCH]

[PATCH] Adjunct partition test

2013-04-04 Thread Michael Wolf
Some versions pHyp will perform the adjunct partition test before the ANDCOND test. The result of this is that H_RESOURCE can be returned and cause the BUG_ON condition to occur. So add a check for H_RESOURCE as well. Signed-off-by: Michael Wolf --- diff --git a/arch/powerpc/platforms/pseries/l

Re: [PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Viresh Kumar wrote: > > On 4 April 2013 18:32, Arnd Bergmann wrote: > > Moving the files is good, but I don't see a reason to make the cbe_cpufreq.h > > header globally visible in include/linux/. Isn't it just used by as the > > interface between ppc_cbe_cpufreq_pmi.c

[PATCH v3 3/3] powerpc/mpc512x: add platform code for MPC5125.

2013-04-04 Thread Matteo Facchinetti
Tested on MPC5125 Tower evaluation board with mpc512x_defconfig compile configuration. In detail, supports for: - PSC / UART - RTC - ETH - DIU - I2C Signed-off-by: Matteo Facchinetti --- v2: * change mpc512x_select_psc_compat() implementation and fix it using const char* return * drop de

Re: [PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
On 4 April 2013 18:32, Arnd Bergmann wrote: > Moving the files is good, but I don't see a reason to make the cbe_cpufreq.h > header globally visible in include/linux/. Isn't it just used by as the > interface between ppc_cbe_cpufreq_pmi.c and ppc_cbe_cpufreq.c? When i moved it initially i though

Re: [PATCH] bookehv: Handle debug exception on guest exit

2013-04-04 Thread Alexander Graf
On 20.03.2013, at 18:45, Bharat Bhushan wrote: > EPCR.DUVD controls whether the debug events can come in > hypervisor mode or not. When KVM guest is using the debug > resource then we do not want debug events to be captured > in guest entry/exit path. So we set EPCR.DUVD when entering > and clear

Re: [PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Viresh Kumar wrote: > This patch moves cpufreq driver of powerpc platforms/cell to drivers/cpufreq. > > Cc: Arnd Bergmann > Cc: Benjamin Herrenschmidt > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Viresh Kumar > --- > Compile Tested only. > > arch/powerpc/pla

RE: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Sethi Varun-B16395
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, April 03, 2013 11:32 PM > To: Joerg Roedel > Cc: Sethi Varun-B16395; Yoder Stuart-B08248; Wood Scott-B07421; > io...@lists.linux-foundation.org; linuxppc-dev@lists.ozlabs.org; linux- > ker.

[PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
This patch moves cpufreq driver of powerpc platforms/cell to drivers/cpufreq. Cc: Arnd Bergmann Cc: Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Viresh Kumar --- Compile Tested only. arch/powerpc/platforms/cell/Kconfig| 26 +- arc

[PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
This patch moves cpufreq driver of powerpc platform to drivers/cpufreq. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Olof Johansson Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Viresh Kumar --- Compile Tested only. arch/powerpc/platforms/Kconfig | 31

Re: [PATCH -V5 00/25] THP support for PPC64

2013-04-04 Thread Aneesh Kumar K.V
Simon Jeons writes: > Hi Aneesh, > On 04/04/2013 01:57 PM, Aneesh Kumar K.V wrote: >> Hi, >> >> This patchset adds transparent hugepage support for PPC64. >> >> TODO: >> * hash preload support in update_mmu_cache_pmd (we don't do that for hugetlb) >> >> Some numbers: >> >> The latency measurement

Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Amit Kucheria
On Thu, Apr 4, 2013 at 11:55 AM, Viresh Kumar wrote: > On 3 April 2013 16:00, Benjamin Herrenschmidt > wrote: >> On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote: >>> On 31 March 2013 09:33, Viresh Kumar wrote: > >>> > Benjamin/Paul/Olof, >>> > >>> > Any comments on this? >>> >>> Ping!! >>

Re: [PATCH v2 2/11] Add PRRN Event Handler

2013-04-04 Thread Benjamin Herrenschmidt
On Thu, 2013-04-04 at 14:34 +1100, Paul Mackerras wrote: > Also, rtasd isn't actually a task, it's just a function that gets run > via schedule_delayed_work_on() and re-schedules itself each time it > runs. Is there any deadlock possibility in calling flush_work from a > work function? There used

RE: [PATCH 4/5] powerpc/fsl-booke: Add B4_QDS board support

2013-04-04 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Wednesday, April 03, 2013 10:12 PM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 4/5] powerpc/fsl-booke: Add B4_QDS board support On Apr 2, 2013, at 2:16 AM, Shaveta Leekha wr

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

2013-04-04 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Wednesday, April 03, 2013 10:10 PM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; Li Yang-R58472; Tang Yuantian-B29983; Sethi Varun-B16395; Lian Minghuan-B31939; Mehresh Ramn

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

2013-04-04 Thread Leekha Shaveta-B20052
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, April 03, 2013 10:10 PM To: Leekha Shaveta-B20052 Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; Lian Minghuan-B31939; Garg Vakul-B16394; Tang Yuantian-B29983; Fleming Andy-AFLEMING; Mehresh Ramneek