Oops with Radeon/Uninorth on Maple

2012-05-23 Thread Dmitry Eremin-Solenikov
Hello, colleagues, I'm trying to enable an AGP slot (again) on my Maple board (dual PPC970FX board, with CPC925 (U3H) north bridge). For now I'm stuck with a problem: I use radeon card, drm-radeon driver with KMS. If I force drm-radeon to think about a card as about PCI card (by commentin

Re: Problem with framebuffer mmap on platforms with large addressing

2012-04-09 Thread Dmitry Eremin-Solenikov
On Tue, Mar 20, 2012 at 9:40 AM, Benjamin Herrenschmidt wrote: > >> >> That is interesting! Are those patches published or otherwise available >> >> somewhere? We are also very interested in enabling Canyonlands >> >> with Radeon KMS! >> > >> > You will run into additional problems with 460 due to

Re: Problem with framebuffer mmap on platforms with large addressing

2012-03-19 Thread Dmitry Eremin-Solenikov
On Mon, Mar 19, 2012 at 12:49 AM, Benjamin Herrenschmidt wrote: > On Sun, 2012-03-18 at 18:04 +0400, Dmitry Eremin-Solenikov wrote: >> On Sun, Mar 18, 2012 at 4:46 AM, Benjamin Herrenschmidt >> wrote: >> > On Sat, 2012-03-17 at 20:04 +0400, Dmitry Eremin-Sole

Re: Problem with framebuffer mmap on platforms with large addressing

2012-03-18 Thread Dmitry Eremin-Solenikov
On Sun, Mar 18, 2012 at 4:46 AM, Benjamin Herrenschmidt wrote: > On Sat, 2012-03-17 at 20:04 +0400, Dmitry Eremin-Solenikov wrote: >> Hello, >> >> I'm trying to make framebuffer to work on PPC460EX board (canyonlands). >> >> The peculiarity of this plat

Re: fsl pci edac patches

2012-03-17 Thread Dmitry Eremin-Solenikov
Hello, On Sat, Mar 17, 2012 at 1:13 AM, Kumar Gala wrote: > Guys, > > I'm not sure what the state of the EDAC patches and latest kernel are.. I'm > going to mark the ones in patch works as 'dead' and hopefully you guys will > resend if there is still an interest. I don't have mpc85xx hardware

Problem with framebuffer mmap on platforms with large addressing

2012-03-17 Thread Dmitry Eremin-Solenikov
Hello, I'm trying to make framebuffer to work on PPC460EX board (canyonlands). The peculiarity of this platform is the fact that it has sizeof(unsigned long) = 4, but physical address on it is 36 bits width. It is a common to various pieces of the code to expect that unsigned long variable is abl

Re: [PATCH 3/6] powerpc/85xx: separate MPIC handling code

2011-11-17 Thread Dmitry Eremin-Solenikov
On 11/17/2011 10:30 PM, Lee Nipper wrote: On Thu, Nov 17, 2011 at 11:56 AM, Dmitry Eremin-Solenikov wrote: All mpc85xx boards deal with MPIC initialization in more or less the same way. The only difrerences are some flags (WANTS_RESET, BROKEN_FRR_NIRQS, SINGLE_DEST_CPU), and some bugs like

[PATCH 5/6] powerpc/85xx: separate i8259 handling to common function

2011-11-17 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/mpc85xx.h|4 +++ arch/powerpc/platforms/85xx/mpc85xx_cds.c| 25 +- arch/powerpc/platforms/85xx/mpc85xx_common.c | 36 ++ arch/powerpc/platforms/85xx/mpc85xx_ds.c

[PATCH 6/6] poewrpc/85xx: headers cleanup

2011-11-17 Thread Dmitry Eremin-Solenikov
Drop lots of unused headers after board files merge/splitup Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/corenet_ds.c | 17 --- arch/powerpc/platforms/85xx/ksi8560.c | 16 --- arch/powerpc/platforms/85xx/mpc8536_ds.c | 13

[PATCH 3/6] powerpc/85xx: separate MPIC handling code

2011-11-17 Thread Dmitry Eremin-Solenikov
. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/corenet_ds.c | 29 +- arch/powerpc/platforms/85xx/ksi8560.c| 25 + arch/powerpc/platforms/85xx/mpc8536_ds.c | 25 + arch/powerpc/platforms/85xx/mpc85xx.h|1

[PATCH 4/6] powerpc/85xx: unify common parts of *_setup_arch

2011-11-17 Thread Dmitry Eremin-Solenikov
Refactor PCI, SWIOTLB and SMP handling out of board-specific setup_arch functions. These tasks are more or less common to all boards and thus can be moved to common place. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/corenet_ds.c | 37 +-- arch

[PATCH 2/6] powerpc/85xx: consolidate of_platform_bus_probe calls

2011-11-17 Thread Dmitry Eremin-Solenikov
85xx board files have a lot of duplication in *_publish_devices()/ *_declare_of_platform_devices() functions. Merge that into a single function common to most of the boards. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/ksi8560.c| 17 +- arch/powerpc

[PATCH 1/6] powerpc/85xx: separate cpm2 pic init

2011-11-17 Thread Dmitry Eremin-Solenikov
Separate handling of CPM2 PIC initialization to mpc85xx_cpm2_pic_init() function. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/Makefile |2 + arch/powerpc/platforms/85xx/ksi8560.c| 29 +-- arch/powerpc/platforms/85xx/mpc8536_ds.c

[PATCH 4/4] powerpc/83xx: make mpc830x_rdb use mpc83xx_setup_pci

2011-11-17 Thread Dmitry Eremin-Solenikov
-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/mpc830x_rdb.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/platforms/83xx/mpc830x_rdb.c b/arch/powerpc/platforms/83xx/mpc830x_rdb.c index 6e4783d..67a3030 100644 --- a/arch/powerpc

[PATCH 3/4] poewrpc/83xx: headers cleanup

2011-11-17 Thread Dmitry Eremin-Solenikov
Drop lots of unused headers after board files merge/splitup Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/asp834x.c |2 - arch/powerpc/platforms/83xx/km83xx.c | 26 -- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c |5

[PATCH 2/4] powerpc/83xx: merge PCI bridge additions

2011-11-17 Thread Dmitry Eremin-Solenikov
Nearly all mpc83xx-based boards have a common piece of code - one that loops over all pci/pcie bridges and registers them. Merge that code into a special function common to all boards. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/km83xx.c |7 +++ arch

[PATCH 1/4] powerpc/83xx: consolidate of_platform_bus_probe calls

2011-11-17 Thread Dmitry Eremin-Solenikov
simple-bus" compatibility in localbus node. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/asp834x.c | 15 +-- arch/powerpc/platforms/83xx/km83xx.c | 18 +- arch/powerpc/platforms/83xx/misc.c| 17

Re: [PATCH V3 2/2] cpc925_edac: support single-processor configurations

2011-07-22 Thread Dmitry Eremin-Solenikov
On 7/23/11, Benjamin Herrenschmidt wrote: > On Sat, 2011-07-23 at 01:56 +0400, Dmitry Eremin-Solenikov wrote: >> On 6/29/11, Benjamin Herrenschmidt wrote: >> > On Fri, 2011-06-17 at 16:51 +0400, Dmitry Eremin-Solenikov wrote: >> >> If second CPU is not enabled, CPC

Re: [PATCH V3 2/2] cpc925_edac: support single-processor configurations

2011-07-22 Thread Dmitry Eremin-Solenikov
On 6/29/11, Benjamin Herrenschmidt wrote: > On Fri, 2011-06-17 at 16:51 +0400, Dmitry Eremin-Solenikov wrote: >> If second CPU is not enabled, CPC925 EDAC driver will spill out warnings >> about errors on second Processor Interface. Support masking that out, >> by detecting

Re: [PATCH 13/14] 85xx: consolidate of_platform_bus_probe calls

2011-07-22 Thread Dmitry Eremin-Solenikov
On 7/23/11, Scott Wood wrote: > On Fri, 22 Jul 2011 23:44:01 +0400 > Dmitry Eremin-Solenikov wrote: > >> On 7/19/11, Scott Wood wrote: >> > On Tue, 19 Jul 2011 12:53:50 +0400 >> > Dmitry Eremin-Solenikov wrote: >> > >> >> +st

[PATCH V2 2/2] powerpc/85xx: separate cpm2 pic init

2011-07-22 Thread Dmitry Eremin-Solenikov
Separate handling of CPM2 PIC initialization to mpc85xx_cpm2_pic_init() function. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/ksi8560.c| 29 +-- arch/powerpc/platforms/85xx/mpc85xx.h|7 arch/powerpc/platforms/85xx

[PATCH V2 1/2] powerpc/85xx: consolidate of_platform_bus_probe calls

2011-07-22 Thread Dmitry Eremin-Solenikov
85xx board files have a lot of duplication in *_publish_devices()/ *_declare_of_platform_devices() functions. Merge that into a single function common to most of the boards. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/Makefile |2 + arch/powerpc/platforms

[PATCH V2 0/2] powerpc/85xx: cleanup efforts

2011-07-22 Thread Dmitry Eremin-Solenikov
This is a second revision of patches, cleaning up mpc85xx support Changes since V1: * Temporarily drop questionable patches * Use common cpm2 init routing in stx_gp3.c * Add powerpc/ prefix ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org ht

Re: [PATCH 10/14] 85xx/mpc85xx_rdb: merge p1020_rdb and p2020_rdb machine entries

2011-07-22 Thread Dmitry Eremin-Solenikov
On 7/19/11, Kumar Gala wrote: > > On Jul 19, 2011, at 3:53 AM, Dmitry Eremin-Solenikov wrote: > >> p1020_rdb and p2020_rdb machine entries bear no in-kernel differencies >> other than dt compatible strings. Merge them into single machine entry >> named mpc85xx_rdb

Re: [PATCH 12/14] 85xx/mpc85xx_ds,ads,cds: move .pci_exclude_device setting to machine definitions

2011-07-22 Thread Dmitry Eremin-Solenikov
On 7/19/11, Kumar Gala wrote: > > On Jul 19, 2011, at 3:53 AM, Dmitry Eremin-Solenikov wrote: > >> Signed-off-by: Dmitry Eremin-Solenikov >> --- >> arch/powerpc/platforms/85xx/mpc85xx_ads.c |5 +++-- >> arch/powerpc/platforms/85xx/mpc85xx_cds.c |5 ++-

[PATCH V2 3/3] powerpc/83xx: headers cleanup

2011-07-22 Thread Dmitry Eremin-Solenikov
Drop lots of unused headers after board files merge/splitup Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/asp834x.c |2 - arch/powerpc/platforms/83xx/km83xx.c | 24 +-- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c |5

[PATCH V2 2/3] powerpc/83xx: consolidate of_platform_bus_probe calls

2011-07-22 Thread Dmitry Eremin-Solenikov
simple-bus" compatibility in localbus node. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/asp834x.c | 15 +-- arch/powerpc/platforms/83xx/km83xx.c | 18 +- arch/powerpc/platforms/83xx/misc.c| 17

[PATCH V2 1/3] powerpc/83xx: consolidate init_IRQ functions

2011-07-22 Thread Dmitry Eremin-Solenikov
On mpc83xx platform nearly all _init_IRQ functions look alike. They either just setup ipic, or setup ipic and QE PIC. Separate this to special functions to be either referenced from ppc_md, or called from board file. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx

[PATCH V2 0/3] powerpc/83xx cleanup

2011-07-22 Thread Dmitry Eremin-Solenikov
This is a revised version of leftovers from my cleanup efforts for MPC83xx platform. Changes since V1: * Rename mpc83xx_both_init_IRQ to mpc83xx_ipic_and_qe_init_IRQ * Add powerpc/ prefix to commit messages ___ Linuxppc-dev mailing list Linuxppc-dev@lis

Re: [PATCH 10/14] 85xx/mpc85xx_rdb: merge p1020_rdb and p2020_rdb machine entries

2011-07-22 Thread Dmitry Eremin-Solenikov
On 7/19/11, Kumar Gala wrote: > > On Jul 19, 2011, at 3:53 AM, Dmitry Eremin-Solenikov wrote: > >> p1020_rdb and p2020_rdb machine entries bear no in-kernel differencies >> other than dt compatible strings. Merge them into single machine entry >> named mpc85xx_rdb

Re: [PATCH 13/14] 85xx: consolidate of_platform_bus_probe calls

2011-07-22 Thread Dmitry Eremin-Solenikov
On 7/19/11, Scott Wood wrote: > On Tue, 19 Jul 2011 12:53:50 +0400 > Dmitry Eremin-Solenikov wrote: > >> +static struct of_device_id __initdata mpc85xx_common_ids[] = { >> +{ .type = "soc", }, >> +{ .compatible = "soc", }, >> +{

Re: [PATCH 04/14] 83xx/mpc834x_itx: drop pq2pro-localbus-specific code

2011-07-22 Thread Dmitry Eremin-Solenikov
On 7/19/11, Scott Wood wrote: > On Tue, 19 Jul 2011 12:53:41 +0400 > Dmitry Eremin-Solenikov wrote: > >> As localbus on mpc8349e-mitx now provides simple-bus compatibility, we >> can drop code asking for pq2pro-localbus devices on mpc834x_itx boards. > > Do we have

[PATCH 14/14] 85xx: separate cpm2 pic init

2011-07-19 Thread Dmitry Eremin-Solenikov
Separate handling of CPM2 PIC initialization to mpc85xx_cpm2_pic_init() function. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/ksi8560.c| 28 +-- arch/powerpc/platforms/85xx/mpc85xx.h|7 arch/powerpc/platforms/85xx

[PATCH 13/14] 85xx: consolidate of_platform_bus_probe calls

2011-07-19 Thread Dmitry Eremin-Solenikov
85xx board files have a lot of duplication in *_publish_devices()/ *_declare_of_platform_devices() functions. Merge that into a single function common to most of the boards. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/Makefile |2 + arch/powerpc/platforms

[PATCH 12/14] 85xx/mpc85xx_ds, ads, cds: move .pci_exclude_device setting to machine definitions

2011-07-19 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/mpc85xx_ads.c |5 +++-- arch/powerpc/platforms/85xx/mpc85xx_cds.c |5 ++--- arch/powerpc/platforms/85xx/mpc85xx_ds.c |5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/platforms

[PATCH 11/14] 85xx: merge 32-bit QorIQ with DPA boards support

2011-07-19 Thread Dmitry Eremin-Solenikov
Board support files for p4080ds, p3041ds and p2040rdb don't differ at all (all differencies are hidden in dts files). So merge them into single board file containing all necessary stuff. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/Kconfig|

[PATCH 09/14] 85xx/sbc8548: read hardware revision when it's required for first time

2011-07-19 Thread Dmitry Eremin-Solenikov
Currently sbc8548 reads hardware revision during bootup. To simplify things read it when it's first required when the kernel is up and running. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/sbc8548.c |8 +--- 1 files changed, 5 insertions(+), 3 dele

[PATCH 10/14] 85xx/mpc85xx_rdb: merge p1020_rdb and p2020_rdb machine entries

2011-07-19 Thread Dmitry Eremin-Solenikov
p1020_rdb and p2020_rdb machine entries bear no in-kernel differencies other than dt compatible strings. Merge them into single machine entry named mpc85xx_rdb Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 40 ++-- 1 files

[PATCH 07/14] 85xx/ksi8560: declare that localbus is compatbile with simple-bus

2011-07-19 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/boot/dts/ksi8560.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/ksi8560.dts b/arch/powerpc/boot/dts/ksi8560.dts index bdb7fc0..296c572 100644 --- a/arch/powerpc/boot/dts/ksi8560.dts

[PATCH 08/14] 85xx/sbc8560: declare that localbus is compatbile with simple-bus

2011-07-19 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/boot/dts/sbc8560.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/sbc8560.dts b/arch/powerpc/boot/dts/sbc8560.dts index 9e13ed8..72078eb 100644 --- a/arch/powerpc/boot/dts/sbc8560.dts

[PATCH 04/14] 83xx/mpc834x_itx: drop pq2pro-localbus-specific code

2011-07-19 Thread Dmitry Eremin-Solenikov
As localbus on mpc8349e-mitx now provides simple-bus compatibility, we can drop code asking for pq2pro-localbus devices on mpc834x_itx boards. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/mpc834x_itx.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions

[PATCH 06/14] 85xx/sbc8560: correct compilation if CONFIG_PHYS_ADDR_T_64BIT is set

2011-07-19 Thread Dmitry Eremin-Solenikov
‘resource_size_t’ Fix that by using %pR format instead of just printing the start of resource. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/85xx/sbc8560.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/85xx/sbc8560.c b/arch/powerpc

[PATCH 05/14] 83xx: headers cleanup

2011-07-19 Thread Dmitry Eremin-Solenikov
Drop lots of unused headers after board files merge/splitup Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/asp834x.c |2 - arch/powerpc/platforms/83xx/km83xx.c | 24 +-- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c |5

[PATCH 03/14] mpc8349emitx: mark localbus as compatible with simple-bus

2011-07-19 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/boot/dts/mpc8349emitx.dts |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts index b53d1df..505dc84 100644 --- a/arch/powerpc/boot/dts

[PATCH 02/14] 83xx: consolidate of_platform_bus_probe calls

2011-07-19 Thread Dmitry Eremin-Solenikov
simple-bus" compatibility in localbus node. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx/asp834x.c | 15 +-- arch/powerpc/platforms/83xx/km83xx.c | 18 +- arch/powerpc/platforms/83xx/misc.c| 17

[PATCH 01/14] 83xx: consolidate init_IRQ functions

2011-07-19 Thread Dmitry Eremin-Solenikov
On mpc83xx platform nearly all _init_IRQ functions look alike. They either just setup ipic, or setup ipic and QE PIC. Separate this to special functions to be either referenced from ppc_md, or called from board file. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/83xx

[PATCH 00/14] Consolidation of 83xx/85xx board files

2011-07-19 Thread Dmitry Eremin-Solenikov
Gala. The following changes since commit 6471fc6630a507fd54fdaceceee1ddaf3c917cde: powerpc: Dont require a dma_ops struct to set dma mask (2011-07-08 00:21:36 -0500) Dmitry Eremin-Solenikov (14): 83xx: consolidate init_IRQ functions 83xx: consolidate of_platform_bus_probe

Re: [PATCH] powerpc: enable access to HT Host-Bridge on Maple

2011-07-04 Thread Dmitry Eremin-Solenikov
Hello, On 03.07.2011 01:50, Segher Boessenkool wrote: +static int u3_ht_root_write_config(struct pci_controller *hose, u8 offset, + int len, u32 val) +{ + volatile void __iomem *addr; + + addr = hose->cfg_addr + ((offset & ~3) << 2) + (4 - len - (offset & 3)); + + if (offset >= PCI_BASE_ADDRESS_

Re: [PATCH] powerpc: enable access to HT Host-Bridge on Maple

2011-07-03 Thread Dmitry Eremin-Solenikov
On 7/3/11, Segher Boessenkool wrote: CPC925/CPC945 use special window to access host bridge functionality of u3-ht. Provide a way to access this device. >>> >>> Why? Is anything going to use it? >> >> Hmmm. Why not? > > Because if nothing uses it it is essentially dead code. 1) It

Re: [PATCH] powerpc: enable access to HT Host-Bridge on Maple

2011-07-01 Thread Dmitry Eremin-Solenikov
Hello, Thanks for the review. On 7/1/11, Segher Boessenkool wrote: >> CPC925/CPC945 use special window to access host bridge >> functionality of >> u3-ht. Provide a way to access this device. > > Why? Is anything going to use it? Hmmm. Why not? Initially I stumbled upon the fact that powermac

Re: [PATCH 2/2] Add cpufreq driver for Momentum Maple boards

2011-06-29 Thread Dmitry Eremin-Solenikov
On Wed, Jun 29, 2011 at 10:09 PM, kevin diggs wrote: > Hi, > > On Tue, Jun 28, 2011 at 10:28 PM, Benjamin Herrenschmidt > >> >> If we're going to have a Kconfig.powerpc, should we maybe just have a >> powerpc subdirectory instead with the driver in it ? >> > Where would the powerpc subdirectory be

[PATCH V4 2/2] Add cpufreq driver for Momentum Maple boards

2011-06-29 Thread Dmitry Eremin-Solenikov
Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation kit and others). Driver is based on a cpufreq driver for 64-bit powermac boxes with all pmac-dependant features removed and simple cleanup applied. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/cpufreq/Kconfig

[PATCH V4 1/2] ppc: enable scom access functions on Maple

2011-06-29 Thread Dmitry Eremin-Solenikov
Enable functions used to access SCOM if PPC_MAPLE is defined: they are used by cpufreq driver to control hardware. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/kernel/misc_64.S |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/misc_64.S b

[PATCH V4 0/2] Add cpufreq driver for Momentum Maple platform

2011-06-29 Thread Dmitry Eremin-Solenikov
Please merge this patchset, adding a cpufreq driver for Momentum Maple platform. Changes since V3: * Add comment regarding power-mode-data * Adjusted kernel output a bit * Tied the driver to compatible platforms only (as per arch/powerpc/platforms/maple/setup.c) Dmitry Eremin-Solenikov (2

[PATCH] powerpc: correct annotations of pmu registration functions

2011-06-29 Thread Dmitry Eremin-Solenikov
.power_pmu_notifier(). This is often because .register_power_pmu lacks a __cpuinit annotation or the annotation of .power_pmu_notifier is wrong. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/kernel/mpc7450-pmu.c |2 +- arch/powerpc/kernel/perf_event.c |2 +- arch/powerpc/kernel/power4-pmu.c

[PATCH] powerpc: enable access to HT Host-Bridge on Maple

2011-06-29 Thread Dmitry Eremin-Solenikov
CPC925/CPC945 use special window to access host bridge functionality of u3-ht. Provide a way to access this device. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/maple/pci.c | 55 1 files changed, 55 insertions(+), 0 deletions(-) diff

Re: [PATCH 2/2] Add cpufreq driver for Momentum Maple boards

2011-06-29 Thread Dmitry Eremin-Solenikov
to be in my -next branch). > > Now some remaining small nits: > > On Fri, 2011-06-17 at 17:10 +0400, Dmitry Eremin-Solenikov wrote: >> Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation >> kit and others). Driver is based on a cpufreq driver for 64

Re: [PATCH V3 0/2] Improve CPC925 EDAC handling code on Maple

2011-06-27 Thread Dmitry Eremin-Solenikov
Hello, On 6/17/11, Dmitry Eremin-Solenikov wrote: > Hello, colleagues, > > Another respin of this patchset. > > Changes since previous version: > * Fix comments in cpc925_edac.c > * Rename cpc925_cpu_getmask() to cpc925_cpu_mask_disabled() > * Don't return an erro

Re: [PATCH 0/15] Hypervisor-mode KVM on POWER7 and PPC970

2011-06-22 Thread Dmitry Eremin-Solenikov
On 6/22/11, Paul Mackerras wrote: > On Tue, Jun 21, 2011 at 02:18:39PM +0000, Dmitry Eremin-Solenikov wrote: > >> I have a Maple board (dual PPC970FX). Will this patchset work on it? >> Should I add any additional changes to add support for this platform? > > Provide

Re: [PATCH 0/15] Hypervisor-mode KVM on POWER7 and PPC970

2011-06-21 Thread Dmitry Eremin-Solenikov
Paul Mackerras wrote: > The following series of patches enable KVM to exploit the hardware > hypervisor mode on 64-bit Power ISA Book3S machines. At present, > POWER7 and PPC970 processors are supported. (Note that the PPC970 > processors in Apple G5 machines don't have a usable hypervisor mode

[PATCH 1/2] ppc: enable scom access functions on Maple

2011-06-17 Thread Dmitry Eremin-Solenikov
Enable functions used to access SCOM if PPC_MAPLE is defined: they are used by cpufreq driver to control hardware. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/kernel/misc_64.S |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/misc_64.S b

[PATCH 2/2] Add cpufreq driver for Momentum Maple boards

2011-06-17 Thread Dmitry Eremin-Solenikov
Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation kit and others). Driver is based on a cpufreq driver for 64-bit powermac boxes with all pmac-dependant features removed and simple cleanup applied. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/cpufreq/Kconfig

[PATCH V3 2/2] cpc925_edac: support single-processor configurations

2011-06-17 Thread Dmitry Eremin-Solenikov
If second CPU is not enabled, CPC925 EDAC driver will spill out warnings about errors on second Processor Interface. Support masking that out, by detecting at runtime which CPUs are present in device tree. Signed-off-by: Dmitry Eremin-Solenikov Cc: Harry Ciao Cc: Doug Thompson Signed-off-by

[PATCH V3 1/2] Maple: register CPC925 EDAC device on all boards with CPC925

2011-06-17 Thread Dmitry Eremin-Solenikov
Currently Maple setup code creates cpc925_edac device only on Motorola ATCA-6101 blade. Make setup code check bridge revision and enable EDAC on all U3H bridges. Verified on Momentum MapleD (ppc970fx kit) board. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/maple/setup.c

[PATCH V3 0/2] Improve CPC925 EDAC handling code on Maple

2011-06-17 Thread Dmitry Eremin-Solenikov
Hello, colleagues, Another respin of this patchset. Changes since previous version: * Fix comments in cpc925_edac.c * Rename cpc925_cpu_getmask() to cpc925_cpu_mask_disabled() * Don't return an error from init code if it's a U3 and not U3H arch/powerpc/platforms/maple/setup.c | 41 +--

Re: [PATCH] Add cpufreq driver for Momentum Maple boards

2011-06-17 Thread Dmitry Eremin-Solenikov
Hello, On 6/17/11, Arnd Bergmann wrote: > On Friday 17 June 2011 10:49:16 Dmitry Eremin-Solenikov wrote: >> Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation >> kit and others). Driver is based on a cpufreq driver for 64-bit powermac >> boxes with all pm

[PATCH] Add cpufreq driver for Momentum Maple boards

2011-06-17 Thread Dmitry Eremin-Solenikov
Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation kit and others). Driver is based on a cpufreq driver for 64-bit powermac boxes with all pmac-dependant features removed and simple cleanup applied. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/kernel/misc_64.S

[PATCH] tqm8540: add description for onboard flash

2011-06-13 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/boot/dts/tqm8540.dts | 40 + 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/tqm8540.dts b/arch/powerpc/boot/dts/tqm8540.dts index b5c0940..987c862 100644 --- a

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

2011-06-09 Thread Dmitry Eremin-Solenikov
Sorry, if I'm being too noisy, what about this patch? On 6/1/11, Dmitry Eremin-Solenikov wrote: > 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 > ---

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

2011-06-04 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/sysdev/fsl_pci.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/arch/po

Re: [PATCH] Add cpufreq driver for Momentum Maple boards

2011-06-04 Thread Dmitry Eremin-Solenikov
On 6/4/11, Benjamin Herrenschmidt wrote: > On Sat, 2011-06-04 at 13:00 +0400, Dmitry Eremin-Solenikov wrote: >> On 5/30/11, Dmitry Eremin-Solenikov wrote: >> > Hello, >> > >> > On 5/21/11, Dmitry Eremin-Solenikov wrote: >> >> Add simple cpufreq dr

Re: [PATCH] Add cpufreq driver for Momentum Maple boards

2011-06-04 Thread Dmitry Eremin-Solenikov
On 5/30/11, Dmitry Eremin-Solenikov wrote: > Hello, > > On 5/21/11, Dmitry Eremin-Solenikov wrote: >> Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation >> kit and others). Driver is based on a cpufreq driver for 64-bit powermac >> boxes with

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

2011-06-02 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/sysdev/fsl_pci.c | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a

[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_

[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/boo

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 &g

[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

[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

Re: PCI EDAC on MPC85xx

2011-05-31 Thread Dmitry Eremin-Solenikov
On 5/31/11, Kumar Gala wrote: > > On May 31, 2011, at 8:17 AM, Dmitry Eremin-Solenikov wrote: > >> Hello, >> >> Long time ago (around July of 2010), I've reported a problem of binding >> pci error reporting driver to the hardware (See >> http://thread.g

PCI EDAC on MPC85xx

2011-05-31 Thread Dmitry Eremin-Solenikov
hanges of_platform_bus_probe() to register all nodes at the top level if they either match the matches table (the current behaviour), or if they have a 'compatible' value (indicating it represents a device). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/of/platform.c | 13

Re: [PATCH] Add cpufreq driver for Momentum Maple boards

2011-05-30 Thread Dmitry Eremin-Solenikov
Hello, On 5/21/11, Dmitry Eremin-Solenikov wrote: > Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation > kit and others). Driver is based on a cpufreq driver for 64-bit powermac > boxes with all pmac-dependant features removed and simple cleanup > applied. >

[PATCH] powerpc/mpic: support compiling with DEBUG enabled

2011-05-30 Thread Dmitry Eremin-Solenikov
Support compilation of mpic.c with DEBUG defined, as now we have irq_desc and not irq number. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/sysdev/mpic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c

[PATCH V2 2/2] cpc925_edac: support single-processor configurations

2011-05-22 Thread Dmitry Eremin-Solenikov
If second CPU is not enabled, CPC925 EDAC driver will spill out warnings about errors on second Processor Interface. Support masking that out, by detecting at runtime which CPUs are present in device tree. Signed-off-by: Dmitry Eremin-Solenikov Cc: Harry Ciao Cc: Doug Thompson Signed-off-by

[PATCH V2 1/2] Maple: register CPC925 EDAC device on all boards with CPC925

2011-05-22 Thread Dmitry Eremin-Solenikov
Currently Maple setup code creates cpc925_edac device only on Motorola ATCA-6101 blade. Make setup code check bridge revision and enable EDAC on all U3H bridges. Verified on Momentum MapleD (ppc970fx kit) board. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/maple/setup.c

Re: [PATCH 2/2] cpc925_edac: support single-processor configurations

2011-05-22 Thread Dmitry Eremin-Solenikov
On Sun, May 22, 2011 at 12:04 AM, Segher Boessenkool wrote: >>> You should be able to see which interfaces are enabled in some CPC925 >>> register, >>> but maybe both _are_ enabled on your system (although one is not >>> connected), >>> which is causing the errors? >> >> Hmm, I dont't think this i

Re: [PATCH 1/2] Maple: register CPC925 EDAC device on all boards with CPC925

2011-05-21 Thread Dmitry Eremin-Solenikov
On 5/21/11, Segher Boessenkool wrote: >> Currently Maple setup code creates cpc925_edac device only on >> Motorola ATCA-6101 blade. Make setup code check bridge revision >> and enable EDAC on all U3 bridges. > > But the EDAC code only works on U3H (CPC925), not old U3. Ack, corrected. Thank you f

Re: [PATCH 2/2] cpc925_edac: support single-processor configurations

2011-05-21 Thread Dmitry Eremin-Solenikov
On 5/21/11, Segher Boessenkool wrote: >> If second CPU is not enabled, CPC925 EDAC driver will spill out >> warnings >> about errors on second Processor Interface. Support masking that out, >> by detecting at runtime which CPUs are present in device tree. > > That doesn't quite work, there can be

[PATCH 2/2] cpc925_edac: support single-processor configurations

2011-05-21 Thread Dmitry Eremin-Solenikov
If second CPU is not enabled, CPC925 EDAC driver will spill out warnings about errors on second Processor Interface. Support masking that out, by detecting at runtime which CPUs are present in device tree. Signed-off-by: Dmitry Eremin-Solenikov Cc: Harry Ciao Cc: Doug Thompson Signed-off-by

[PATCH 2/2] cpc925_edac: support single-processor configurations

2011-05-21 Thread Dmitry Eremin-Solenikov
If second CPU is not enabled, CPC925 EDAC driver will spill out warnings about errors on second Processor Interface. Support masking that out, by detecting at runtime which CPUs are present in device tree. Signed-off-by: Dmitry Eremin-Solenikov Cc: Harry Ciao Cc: Doug Thompson --- drivers

[PATCH 1/2] Maple: register CPC925 EDAC device on all boards with CPC925

2011-05-21 Thread Dmitry Eremin-Solenikov
Currently Maple setup code creates cpc925_edac device only on Motorola ATCA-6101 blade. Make setup code check bridge revision and enable EDAC on all U3 bridges. Verified on Momentum MapleD (ppc970fx kit) board. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/maple/setup.c

[PATCH] Add cpufreq driver for Momentum Maple boards

2011-05-21 Thread Dmitry Eremin-Solenikov
Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation kit and others). Driver is based on a cpufreq driver for 64-bit powermac boxes with all pmac-dependant features removed and simple cleanup applied. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/kernel/misc_64.S

[PATCH] Maple: register CPC925 EDAC device on all boards with CPC925

2011-05-19 Thread Dmitry Eremin-Solenikov
Currently Maple setup code creates cpc925_edac device only on Motorola ATCA-6101 blade. Make setup code check bridge revision and enable EDAC on all U3 bridges. Verified on Momentum MapleD (ppc970fx kit) board. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/platforms/maple/setup.c

Info reg. MapleD

2011-04-19 Thread Dmitry Eremin-Solenikov
Hello, colleagues, I've recently got my hands on MapleD (ppc970fx ev. kit, XSC-100) board. I'm trying to fixup several issues with it and further enhance Linux support for this device. However somewhere in the long history of this board the original developers disk that came with it got lost. Thu

Re: [PATCH 0/2] tqm85xx: enable PCMCIA bridge on ST85xx baseboards.

2010-07-30 Thread Dmitry Eremin-Solenikov
Hello, On 7/22/10, Dmitry Eremin-Solenikov wrote: > Baseboards for tqm85xx modules (STK85xx) bear TI PCI1520 PCMCIA controllers. > These two patches enables one to fully use this controller in Linux. I'm sorry, what about these two patches? -- With best wi

Re: [PATCH 2/2] mpc85xx_edac: change to use new definitions for PCI EDAC regspace

2010-07-24 Thread Dmitry Eremin-Solenikov
On 7/24/10, Grant Likely wrote: > On Fri, Jul 23, 2010 at 6:20 PM, Dmitry Eremin-Solenikov > wrote: >> Hello, >> >> On 7/22/10, Grant Likely wrote: >>> On Thu, Jul 22, 2010 at 10:48 AM, Dmitry Eremin-Solenikov >>> wrote: >>>> Hello,

Re: [PATCH 2/2] mpc85xx_edac: change to use new definitions for PCI EDAC regspace

2010-07-23 Thread Dmitry Eremin-Solenikov
Hello, On 7/22/10, Grant Likely wrote: > On Thu, Jul 22, 2010 at 10:48 AM, Dmitry Eremin-Solenikov > wrote: >> Hello, >> >> On Thu, Jul 22, 2010 at 7:38 PM, Kumar Gala >> wrote: >>> >>> On Jul 21, 2010, at 7:03 PM, Dmitry Eremin-Solenikov wrote:

Re: [PATCH 2/2] mpc85xx_edac: change to use new definitions for PCI EDAC regspace

2010-07-22 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Jul 22, 2010 at 10:40 PM, Kumar Gala wrote: > > On Jul 22, 2010, at 1:25 PM, Scott Wood wrote: > >> On Thu, 22 Jul 2010 20:48:15 +0400 >> Dmitry Eremin-Solenikov wrote: >> >>> Hello, >>> >>> On Thu, Jul 22, 2010 at 7:38 PM, K

Re: [PATCH 1/2] MPC85xx: add definitions for PCI error detection soc part

2010-07-22 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Jul 22, 2010 at 7:19 PM, Peter Tyser wrote: > Hi Dmitry, > > On Thu, 2010-07-22 at 04:03 +0400, Dmitry Eremin-Solenikov wrote: >> Add definitions for PCI error detection device to be handled by (already >> existing) mpc85xx_edac.c driver. >> >

Re: [PATCH 2/2] mpc85xx_edac: change to use new definitions for PCI EDAC regspace

2010-07-22 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Jul 22, 2010 at 7:38 PM, Kumar Gala wrote: > > On Jul 21, 2010, at 7:03 PM, Dmitry Eremin-Solenikov wrote: > >> Currently (as mpc8540-pci) devices are not created on of_platform bus, >> mpc85xx_edac can't probe to them. Follow the change to dts trees

[PATCH 2/2] mpc85xx_edac: change to use new definitions for PCI EDAC regspace

2010-07-21 Thread Dmitry Eremin-Solenikov
Currently (as mpc8540-pci) devices are not created on of_platform bus, mpc85xx_edac can't probe to them. Follow the change to dts trees to bind not to the main mpc8540-pci node but to special mpc85xx-pci-error nodes, present on soc bus. Signed-off-by: Dmitry Eremin-Solenikov --- drivers

  1   2   >