[PATCH] powerpc/fsl: mpic timer driver

2012-07-26 Thread Dongsheng.wang
From: Wang Dongsheng Global timers A and B internal to the PIC. The two independent groups of global timer, group A and group B, are identical in their functionality. The hardware timer generates an interrupt on every timer cycle. e.g Power management can use the hardware timer to wake up the mac

Re: [RFC PATCH v4 12/13] memory-hotplug : add node_device_release

2012-07-26 Thread Wen Congyang
At 07/18/2012 06:17 PM, Yasuaki Ishimatsu Wrote: > When calling unregister_node(), the function shows following message at > device_release(). > > Device 'node2' does not have a release() function, it is broken and must be > fixed. > > So the patch implements node_device_release() > > CC: David

Re: [PATCH] scsi/ibmvscsi: /sys/class/scsi_host/hostX/config doesn't show any information

2012-07-26 Thread Benjamin Herrenschmidt
On Wed, 2012-07-18 at 18:49 +0200, o...@aepfle.de wrote: > From: Linda Xie James, can I assume you're picking up those two ? Cheers, Ben. > Expected result: > It should show something like this: > x1521p4:~ # cat /sys/class/scsi_host/host1/config > PARTITIONNAME='x1521p4' > NWSDNAME='X1521P4' >

[PATCH v2] powerpc: powernv: Always go into nap mode when CPU is offline

2012-07-26 Thread Paul Mackerras
The CPU hotplug code for the powernv platform currently only puts offline CPUs into nap mode if the powersave_nap variable is set. However, HV-style KVM on this platform requires secondary CPU threads to be offline and in nap mode. Since we know nap mode works just fine on all POWER7 machines, and

[git pull] Please pull powerpc.git merge branch

2012-07-26 Thread Benjamin Herrenschmidt
Hi Linus ! Here's a handful of powerpc patches, a couple of regression fixes for problems introduced in the main batch in this merge window, a couple of defconfig updates, and some trivials. The radeonfb one is something that was long standing in SLES which I forgot to pickup earlier. Cheers, Ben

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Li Yang
On Fri, Jul 27, 2012 at 1:29 AM, Kumar Gala wrote: > > On Jul 26, 2012, at 9:02 AM, Li Yang wrote: > >> On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui >> wrote: >>> Changes for v8: >>> * Separated the cpu hotplug patch into three patches, as follows >>> [PATCH v8 1/7] powerpc/smp: use a struct epa

RE: [PATCH V3 2/5] powerpc/fsl-pci: Determine primary bus by looking for ISA node

2012-07-26 Thread Jia Hongtao-B38951
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, July 27, 2012 2:22 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; Li Yang-R58472 > Subject: Re: [PATCH V3 2/5] powerpc/fsl-pci: Determine primary bus by > looking

RE: [PATCH V3 2/5] powerpc/fsl-pci: Determine primary bus by looking for ISA node

2012-07-26 Thread Jia Hongtao-B38951
Thanks for all your comments. Sorry for the mistakes in this patchset. I am just so eager to push them to upstream. I will work on the comments very carfully. Thanks. -Hongtao. > -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, July 27, 2012 2:22 AM

RE: [PATCH 3/6] powerpc/fsl-pci: Determine primary bus by looking for ISA node

2012-07-26 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, July 27, 2012 9:34 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; Li Yang-R58472 > Subject: Re: [PATCH 3/6] powerpc/fsl-pci: Determine primary bus by > looking

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Scott Wood
On 07/26/2012 09:02 AM, Li Yang wrote: > On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui > wrote: >> Changes for v8: >> * Separated the cpu hotplug patch into three patches, as follows >> [PATCH v8 1/7] powerpc/smp: use a struct epapr_spin_table to replace macros >> [PATCH v8 2/7] powerpc/smp: a

Re: [PATCH 3/6] powerpc/fsl-pci: Determine primary bus by looking for ISA node

2012-07-26 Thread Scott Wood
On 07/25/2012 09:20 PM, Jia Hongtao-B38951 wrote: > All this recursion thing I will try another way. > > But this is not the same as you did. If we use platform driver probe function > will be called more than once. Your function is to find ISA node and check if > the parent equal to this PCI cont

Re: [PATCH] powerpc: Give hypervisor decrementer interrupts their own handler

2012-07-26 Thread Benjamin Herrenschmidt
On Fri, 2012-07-27 at 09:56 +1000, Paul Mackerras wrote: > At the moment the handler for hypervisor decrementer interrupts is > the same as for decrementer interrupts, i.e. timer_interrupt(). > This is bogus; if we ever do get a hypervisor decrementer interrupt > it won't have anything to do with t

Re: [PATCH] powerpc: powernv: Always go into nap mode when CPU is offline

2012-07-26 Thread Benjamin Herrenschmidt
On Fri, 2012-07-27 at 09:53 +1000, Paul Mackerras wrote: > The CPU hotplug code for the powernv platform currently only puts > offline CPUs into nap mode if the powersave_nap variable is set. > However, HV-style KVM on this platform requires secondary CPU threads > to be offline and in nap mode. S

[PATCH] powerpc: Give hypervisor decrementer interrupts their own handler

2012-07-26 Thread Paul Mackerras
At the moment the handler for hypervisor decrementer interrupts is the same as for decrementer interrupts, i.e. timer_interrupt(). This is bogus; if we ever do get a hypervisor decrementer interrupt it won't have anything to do with the next timer event. In fact the only time we get hypervisor dec

[PATCH] powerpc: powernv: Always go into nap mode when CPU is offline

2012-07-26 Thread Paul Mackerras
The CPU hotplug code for the powernv platform currently only puts offline CPUs into nap mode if the powersave_nap variable is set. However, HV-style KVM on this platform requires secondary CPU threads to be offline and in nap mode. Since we know nap mode works just fine on all POWER7 machines, and

Re: [2/3][PATCH][upstream] TDM Framework

2012-07-26 Thread Scott Wood
On 07/26/2012 04:28 PM, Timur Tabi wrote: > Michael Ellerman wrote: >> And the bible, K & R, includes an example of an enum which explicitly >> specifies all its values. It goes on to say "enumeration variables offer >> the chance of [type] checking and so are often better than #defines". > > I do

Re: [2/3][PATCH][upstream] TDM Framework

2012-07-26 Thread Timur Tabi
Michael Ellerman wrote: > And the bible, K & R, includes an example of an enum which explicitly > specifies all its values. It goes on to say "enumeration variables offer > the chance of [type] checking and so are often better than #defines". I don't want to beat a dead horse here, but if the driv

Re: [PATCH] powerpc/85xx: introduce support for the Freescale / iVeia P1022RDK

2012-07-26 Thread Kumar Gala
On Jul 23, 2012, at 6:12 PM, Timur Tabi wrote: > The Freescale / iVeia P1022RDK reference board is a small-factor board > with a Freescale P1022 SOC. It includes: > > 1) 512 MB 64-bit DDR3-800 (max) memory > 2) 8MB SPI serial flash memory for boot loader > 3) Bootable 4-bit SD/MMC port > 4) Two

Re: [PATCH 3/3] [v4] powerpc/p5040ds: Add support for P5040DS board

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 10:08 AM, Timur Tabi wrote: > Add support for the Freescale P5040DS Reference Board ("Superhydra"), which > is similar to the P5020DS. Features of the P5040 are listed below, but > not all of these features (e.g. DPAA networking) are currently supported. > > Four P5040 singl

Re: [PATCH 2/3] [v2] powerpc/85xx: add Freescale P5040 SOC and SEC v5.2 device trees

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 10:08 AM, Timur Tabi wrote: > From: Kim Phillips > > Add device tree (dtsi) files for the Freescale P5040 SOC. Since this > SOC introduces SEC v5.2, add the dtsi file for that also. > > Signed-off-by: Kim Phillips > Signed-off-by: Timur Tabi > --- > arch/powerpc/boot/dts

Re: [PATCH 1/3] powerpc/fsl-pci: add fsl, qoriq-pcie-v2.4 compatible string

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 10:08 AM, Timur Tabi wrote: > The PCI controller on the Freescale P5040 is v2.4. > > Signed-off-by: Timur Tabi > --- > arch/powerpc/sysdev/fsl_pci.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) applied to next - k

Re: [PATCH] powerpc/85xx: p1022ds: fix DIU/LBC switching with NAND enabled

2012-07-26 Thread Kumar Gala
On Jul 23, 2012, at 3:43 PM, Timur Tabi wrote: > In order for indirect mode on the PIXIS to work properly, both chip selects > need to be set to GPCM mode, otherwise writes to the chip select base > addresses will not actually post to the local bus -- they'll go to the > NAND controller instead.

Re: [PATCH][v1] powerpc/85xx: Fix sram_offset parameter type

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 9:47 AM, Claudiu Manoil wrote: > The sram_offset parameter represents a physical address > and should be of type phys_addr_t. As part of this fix, > the extraction of sram_params is being cleaned-up and > fixed. > This patch fixes now the case when the offset value of > 0xfff0

Re: [PATCH V3 2/5] powerpc/fsl-pci: Determine primary bus by looking for ISA node

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 7:30 AM, Jia Hongtao wrote: > PCI host bridge is primary bus if it contains an ISA node. But not all boards > fit this rule. Device tree should be updated for all these boards. I don't really seen any reason for this patch. We can just use the code as Scott wrote it that se

Re: [PATCH V3 1/5] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 7:30 AM, Jia Hongtao wrote: > We unified the Freescale pci/pcie initialization by changing the fsl_pci > to a platform driver. In previous PCI code architecture the initialization > routine is called at board_setup_arch stage. Now the initialization is done > in probe function

Re: [PATCH V3 1/5] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 7:30 AM, Jia Hongtao wrote: > We unified the Freescale pci/pcie initialization by changing the fsl_pci > to a platform driver. In previous PCI code architecture the initialization > routine is called at board_setup_arch stage. Now the initialization is done > in probe function

Re: [PATCH V3 3/5] powerpc/mpc85xx: convert to unified PCI init

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 7:30 AM, Jia Hongtao wrote: > PCI initialization is now done by PCI controller driver. In board_setup_arch > stage we don't need PCI init any more but swiotlb should be determined at this > stage. > > Signed-off-by: Jia Hongtao > Signed-off-by: Li Yang > --- > We now just a

Re: [PATCH V3 3/5] powerpc/mpc85xx: convert to unified PCI init

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 7:30 AM, Jia Hongtao wrote: > PCI initialization is now done by PCI controller driver. In board_setup_arch > stage we don't need PCI init any more but swiotlb should be determined at this > stage. > > Signed-off-by: Jia Hongtao > Signed-off-by: Li Yang > --- > We now just a

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 9:02 AM, Li Yang wrote: > On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui > wrote: >> Changes for v8: >> * Separated the cpu hotplug patch into three patches, as follows >> [PATCH v8 1/7] powerpc/smp: use a struct epapr_spin_table to replace macros >> [PATCH v8 2/7] powerpc/smp

[PATCH 3/3] [v4] powerpc/p5040ds: Add support for P5040DS board

2012-07-26 Thread Timur Tabi
Add support for the Freescale P5040DS Reference Board ("Superhydra"), which is similar to the P5020DS. Features of the P5040 are listed below, but not all of these features (e.g. DPAA networking) are currently supported. Four P5040 single-threaded e5500 cores built Up to 2.4 GHz with 64-bit I

[PATCH 2/3] [v2] powerpc/85xx: add Freescale P5040 SOC and SEC v5.2 device trees

2012-07-26 Thread Timur Tabi
From: Kim Phillips Add device tree (dtsi) files for the Freescale P5040 SOC. Since this SOC introduces SEC v5.2, add the dtsi file for that also. Signed-off-by: Kim Phillips Signed-off-by: Timur Tabi --- arch/powerpc/boot/dts/fsl/p5040si-post.dtsi | 320 + arch/pow

[PATCH 1/3] powerpc/fsl-pci: add fsl, qoriq-pcie-v2.4 compatible string

2012-07-26 Thread Timur Tabi
The PCI controller on the Freescale P5040 is v2.4. Signed-off-by: Timur Tabi --- arch/powerpc/sysdev/fsl_pci.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index a7b2a60..50a38b3 100644 --- a/arch/powerpc/s

[PATCH][v1] powerpc/85xx: Fix sram_offset parameter type

2012-07-26 Thread Claudiu Manoil
The sram_offset parameter represents a physical address and should be of type phys_addr_t. As part of this fix, the extraction of sram_params is being cleaned-up and fixed. This patch fixes now the case when the offset value of 0xfff0 was being rejected by the driver (returning -EINVAL), althou

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Li Yang
On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui wrote: > Changes for v8: > * Separated the cpu hotplug patch into three patches, as follows > [PATCH v8 1/7] powerpc/smp: use a struct epapr_spin_table to replace macros > [PATCH v8 2/7] powerpc/smp: add generic_set_cpu_up() to set cpu_state as >

Re: [PATCH] powerpc/85xx: Fix sram_offset parameter type

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 7:39 AM, Claudiu Manoil wrote: > On 7/19/2012 3:07 PM, Kumar Gala wrote: >> >> On Jul 19, 2012, at 5:28 AM, Claudiu Manoil wrote: >> >>> The sram_offset parameter represents a physical address >>> and should be of type phys_addr_t. As part of this fix, >>> the extraction of

[PATCH V3 5/5] Edac/85xx: Register mpc85xx_pci_err_driver by fsl_pci_driver

2012-07-26 Thread Jia Hongtao
From: Chunhe Lan Now we registered pci controllers as platform devices. It will make edac driver failed to register pci nodes as platform devices too. So we combine two initialization code as one platform driver. Signed-off-by: Chunhe Lan Signed-off-by: Li Yang Signed-off-by: Jia Hongtao ---

[PATCH V3 4/5] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-07-26 Thread Jia Hongtao
Power supply for PCI inbound/outbound window registers is off when system go to deep-sleep state. We save the values of registers before suspend and restore to registers after resume. Signed-off-by: Jiang Yutang Signed-off-by: Jia Hongtao Signed-off-by: Li Yang --- arch/powerpc/include/asm/pci

[PATCH V3 3/5] powerpc/mpc85xx: convert to unified PCI init

2012-07-26 Thread Jia Hongtao
PCI initialization is now done by PCI controller driver. In board_setup_arch stage we don't need PCI init any more but swiotlb should be determined at this stage. Signed-off-by: Jia Hongtao Signed-off-by: Li Yang --- We now just apply this for mpc85xx_ds and qemu arch/powerpc/kernel/iommu.c.re

[PATCH V3 2/5] powerpc/fsl-pci: Determine primary bus by looking for ISA node

2012-07-26 Thread Jia Hongtao
PCI host bridge is primary bus if it contains an ISA node. But not all boards fit this rule. Device tree should be updated for all these boards. Signed-off-by: Jia Hongtao Signed-off-by: Li Yang --- Changed for V3: - Using non-recursive function to find ISA under PCI arch/powerpc/include/asm/p

[PATCH V3 1/5] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-07-26 Thread Jia Hongtao
We unified the Freescale pci/pcie initialization by changing the fsl_pci to a platform driver. In previous PCI code architecture the initialization routine is called at board_setup_arch stage. Now the initialization is done in probe function which is architectural better. Also It's convenient for a

Re: [PATCH] powerpc/85xx: Fix sram_offset parameter type

2012-07-26 Thread Claudiu Manoil
On 7/19/2012 3:07 PM, Kumar Gala wrote: On Jul 19, 2012, at 5:28 AM, Claudiu Manoil wrote: The sram_offset parameter represents a physical address and should be of type phys_addr_t. As part of this fix, the extraction of sram_params is being cleaned-up and fixed. This patch fixes now the case

RE: [2/3][PATCH][upstream] TDM Framework

2012-07-26 Thread Singh Sandeep-B37400
Hi, Please find my comment inline. Regards, Sandeep -Original Message- From: Tabi Timur-B04825 Sent: Tuesday, July 24, 2012 8:13 PM To: Singh Sandeep-B37400 Cc: linuxppc-dev@lists.ozlabs.org; Aggrwal Poonam-B10812 Subject: Re: [2/3][PATCH][upstream] TDM Framework Singh Sandeep-B37400

[PATCH 18/18] powerpc: Remove

2012-07-26 Thread Michael Ellerman
It contains no code and is not included by anyone. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/abs_addr.h | 22 -- 1 file changed, 22 deletions(-) delete mode 100644 arch/powerpc/include/asm/abs_addr.h diff --git a/arch/powerpc/include/asm/abs_addr.h b/a

[PATCH 17/18] powerpc: Remove all includes of

2012-07-26 Thread Michael Ellerman
It's empty now, apart from other includes. Fixup a few files that were getting things via this header. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/dma-swiotlb.c |2 +- arch/powerpc/kernel/ibmebus.c |1 - arch/powerpc/kernel/vio.c |

[PATCH 16/18] powerpc: Remove virt_to_abs() now all users have been fixed

2012-07-26 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/abs_addr.h |3 --- 1 file changed, 3 deletions(-) diff --git a/arch/powerpc/include/asm/abs_addr.h b/arch/powerpc/include/asm/abs_addr.h index 80a9535..dc667d4 100644 --- a/arch/powerpc/include/asm/abs_addr.h +++ b/arch/powerpc/in

[PATCH 15/18] powerpc: Remove abs_to_virt() now all users have been fixed

2012-07-26 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/abs_addr.h |1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/include/asm/abs_addr.h b/arch/powerpc/include/asm/abs_addr.h index 4c92fba..80a9535 100644 --- a/arch/powerpc/include/asm/abs_addr.h +++ b/arch/powerpc/inclu

[PATCH 14/18] powerpc: Remove phys_to_abs() now all users have been removed

2012-07-26 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/abs_addr.h |2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/abs_addr.h b/arch/powerpc/include/asm/abs_addr.h index 419aab7..4c92fba 100644 --- a/arch/powerpc/include/asm/abs_addr.h +++ b/arch/powerpc/inc

[PATCH 13/18] powerpc/ps3: Replace virt_to_abs() with __pa()

2012-07-26 Thread Michael Ellerman
virt_to_abs() is just a wrapper around __pa(), call __pa() directly. Signed-off-by: Michael Ellerman --- drivers/video/ps3fb.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index 213fbbc..4e292f2 100644 --- a/drivers/video/

[PATCH 12/18] powerpc/mm: Remove uses of abs_to_virt() and virt_to_abs()

2012-07-26 Thread Michael Ellerman
These days they are just __va() and __pa() respectively. Signed-off-by: Michael Ellerman --- arch/powerpc/mm/stab.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/mm/stab.c b/arch/powerpc/mm/stab.c index 9106ebb..3f8efa6 100644 --- a/arch/powerpc/mm/stab.c

[PATCH 11/18] powerpc/pseries: Remove uses of abs_to_virt() and virt_to_abs()

2012-07-26 Thread Michael Ellerman
These days they are just __va() and __pa() respectively. Signed-off-by: Michael Ellerman --- arch/powerpc/platforms/pseries/iommu.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c i

[PATCH 10/18] powerpc/kernel: Remove uses of abs_to_virt() and virt_to_abs()

2012-07-26 Thread Michael Ellerman
These days they are just __va() and __pa() respectively. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/dma.c|3 +-- arch/powerpc/kernel/rtas_flash.c |7 +++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/dma.c b/arch/powerpc/kerne

[PATCH 09/18] ehea: Remove uses of virt_to_abs() and abs_to_virt()

2012-07-26 Thread Michael Ellerman
abs_to_virt() simply calls __va() and we'd like to get rid of it, so replace all abs_to_virt() uses with __va(). Similarly virt_to_abs() just calls __pa(). Signed-off-by: Michael Ellerman --- drivers/net/ethernet/ibm/ehea/ehea.h |1 - drivers/net/ethernet/ibm/ehea/ehea_phyp.c | 12 ++

[PATCH 08/18] drivers/macintosh/smu.c: Replace abs_to_virt() with __va()

2012-07-26 Thread Michael Ellerman
abs_to_virt() is just a wrapper around __va(), call __va() directly. Signed-off-by: Michael Ellerman --- drivers/macintosh/smu.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 54ac7ff..7d5a6b4 100644 --- a/drivers/

[PATCH 07/18] IB/ehca: Remove uses of virt_to_abs() and abs_to_virt()

2012-07-26 Thread Michael Ellerman
abs_to_virt() simply calls __va() and we'd like to get rid of it, so replace all abs_to_virt() uses with __va(). __va() returns void *, so when assigning to a pointer there's no need to cast. Similarly virt_to_abs() just calls __pa(). Signed-off-by: Michael Ellerman --- drivers/infiniband/hw/e

[PATCH 06/18] powerpc/dart: Remove uses of virt_to_abs() and abs_to_virt()

2012-07-26 Thread Michael Ellerman
These days they are just wrappers around __pa() and __va() respectively. Signed-off-by: Michael Ellerman --- arch/powerpc/sysdev/dart_iommu.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c index 4f

[PATCH 05/18] powerpc/pasemi: Remove uses of virt_to_abs() and abs_to_virt()

2012-07-26 Thread Michael Ellerman
These days they are just wrappers around __pa() and __va() respectively. Signed-off-by: Michael Ellerman --- arch/powerpc/platforms/pasemi/iommu.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/pasemi/iommu.c b/arch/powerpc/platforms/pasemi/io

[PATCH 04/18] powerpc/mm: Replace abs_to_virt() with __va()

2012-07-26 Thread Michael Ellerman
abs_to_virt() is just a wrapper around __va(), call __va() directly. Signed-off-by: Michael Ellerman --- arch/powerpc/mm/hash_utils_64.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 377e5cb..ba457

[PATCH 03/18] IB/ehca: Don't use phys_to_abs(), it's a nop

2012-07-26 Thread Michael Ellerman
Since commit f5339277 phys_to_abs() is 100% a nop, so just remove it. Signed-off-by: Michael Ellerman --- drivers/infiniband/hw/ehca/ehca_mrmw.c | 33 ++-- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/drivers/infiniband/hw/ehca/ehca_mrmw.c b/driv

[PATCH 02/18] powerpc/crypto: Remove users of virt_to_abs() and phys_to_abs() in nx crypto driver

2012-07-26 Thread Michael Ellerman
phys_to_abs() is a nop, don't use it. virt_to_abs() is just a wrapper around __pa(), call __pa() directly. Signed-off-by: Michael Ellerman --- drivers/crypto/nx/nx.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/crypto/nx/nx.c b/drivers/crypto/n

[PATCH 01/18] powerpc: Remove remaining iSeries chunks

2012-07-26 Thread Michael Ellerman
In commit f5339277 "powerpc: Remove FW_FEATURE ISERIES from arch code", we removed the bulk of the iSeries code, but missed a few bits. Remove the mschunks bits, these were only ever used on iSeries as far as I know, and are definitely not used anymore. Make it even clearer that phys_to_abs() is