On Tue, Mar 15, 2011 at 07:37:54AM +1100, Benjamin Herrenschmidt wrote:
> > Hi all,
> >
> > After merging the final tree, today's linux-next build (powerpc
> > allyesconfig) failed like this:
> >
> > drivers/gpio/langwell_gpio.c: In function 'lnw_irq_handler':
> > drivers/gpio/langwell_gpio.c:21
get it via desc->chip directly.
Reported-by: Stephen Rothwell
Signed-off-by: Lennert Buytenhek
diff --git a/drivers/gpio/langwell_gpio.c b/drivers/gpio/langwell_gpio.c
index 54d70a4..56eb66a 100644
--- a/drivers/gpio/langwell_gpio.c
+++ b/drivers/gpio/langwell_gpio.c
@@ -191,6 +191,7 @@ static v
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/sysdev/xilinx_intc.c | 48 +++-
1 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/arch/powerpc/sysdev/xilinx_intc.c
b/arch/p
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/sysdev/uic.c | 59 +++--
1 files changed, 30 insertions(+), 29 deletions(-)
diff --git a/arch/powerpc/sysdev/uic.c b/arch/powerpc/
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/include/asm/qe_ic.h | 19 +++
arch/powerpc/sysdev/qe_lib/qe_ic.c | 25 +++--
2 files changed, 26 insertions(+), 18 deletions(-)
diff
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/platforms/ps3/interrupt.c | 40
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/powerpc/platforms/ps3/interrupt.c
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/sysdev/mpc8xxx_gpio.c | 42 ++--
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/arch/powerpc/sysdev/mpc8xxx_gpio.c
b/arch/p
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/platforms/embedded6xx/flipper-pic.c | 32
arch/powerpc/platforms/embedded6xx/hlwd-pic.c| 41 +++--
2 files changed, 37 insertions(
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | 27 -
1 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/arch/powerpc/platforms/82xx/pq2ads-pci-pi
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/platforms/52xx/media5200.c | 21
arch/powerpc/platforms/52xx/mpc52xx_gpt.c | 26 +-
arch/powerpc/platforms/52xx/mpc52xx_pic.c
Signed-off-by: Lennert Buytenhek
---
v2: get_irq_chip_data(d->irq) => irq_data_get_irq_chip_data(d)
arch/powerpc/include/asm/mpic.h |6 +-
arch/powerpc/platforms/pasemi/setup.c |4 +-
arch/powerpc/sysdev/mpic.c| 137 +
arch/p
On Wed, Mar 09, 2011 at 06:51:44PM +1100, Benjamin Herrenschmidt wrote:
> > > > -static void mpic_unmask_ht_irq(unsigned int irq)
> > > > +static void mpic_unmask_ht_irq(struct irq_data *d)
> > > > {
> > > > - struct mpic *mpic = mpic_from_irq(irq);
> > > > - unsigned int src = mpic_irq_to_hw
On Wed, Mar 09, 2011 at 02:22:55PM +1100, Benjamin Herrenschmidt wrote:
> > -static void mpic_unmask_ht_irq(unsigned int irq)
> > +static void mpic_unmask_ht_irq(struct irq_data *d)
> > {
> > - struct mpic *mpic = mpic_from_irq(irq);
> > - unsigned int src = mpic_irq_to_hw(irq);
> > + struc
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 7d69e9b..71ba047 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -134,6 +134,7 @@ config PPC
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/kernel/irq.c | 23 ---
arch/powerpc/kernel/machine_kexec.c | 21 -
2 files changed, 28 insertions(+), 16 deletions(-)
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/xilinx_intc.c | 48 +++-
1 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/arch/powerpc/sysdev/xilinx_intc.c
b/arch/powerpc/sysdev/xilinx_intc.c
index 1e0ccfa..0512f58 100644
--- a/arch
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/uic.c | 59 +++--
1 files changed, 30 insertions(+), 29 deletions(-)
diff --git a/arch/powerpc/sysdev/uic.c b/arch/powerpc/sysdev/uic.c
index 0038fb7..861fb99 100644
--- a/arch/powerpc/sysdev
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/tsi108_pci.c | 41 +
1 files changed, 19 insertions(+), 22 deletions(-)
diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c
index 0ab9281..02c91db 100644
--- a/arch
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/include/asm/qe_ic.h | 19 +++
arch/powerpc/sysdev/qe_lib/qe_ic.c | 20 ++--
2 files changed, 21 insertions(+), 18 deletions(-)
diff --git a/arch/powerpc/include/asm/qe_ic.h b/arch/powerpc/include/asm/qe_ic.h
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/mv64x60_pic.c | 46 ++--
1 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/arch/powerpc/sysdev/mv64x60_pic.c
b/arch/powerpc/sysdev/mv64x60_pic.c
index 485b924..bc61ebb 100644
--- a/arch
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/mpc8xxx_gpio.c | 42 ++--
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/arch/powerpc/sysdev/mpc8xxx_gpio.c
b/arch/powerpc/sysdev/mpc8xxx_gpio.c
index c48cd81..519a877 100644
--- a/arch
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/mpc8xx_pic.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/arch/powerpc/sysdev/mpc8xx_pic.c b/arch/powerpc/sysdev/mpc8xx_pic.c
index 8c27d26..1a75a7f 100644
--- a/arch/powerpc
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/ipic.c | 54 ++--
1 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/arch/powerpc/sysdev/ipic.c b/arch/powerpc/sysdev/ipic.c
index d7b9b9c..497047d 100644
--- a/arch/powerpc/sysdev
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/i8259.c | 42 +-
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/arch/powerpc/sysdev/i8259.c b/arch/powerpc/sysdev/i8259.c
index 6323e70..aeda4c8 100644
--- a/arch/powerpc/sysdev
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/fsl_msi.c | 19 ++-
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
index 108d76f..f6051d7 100644
--- a/arch/powerpc/sysdev/fsl_msi.c
+++ b
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/cpm2_pic.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/arch/powerpc/sysdev/cpm2_pic.c b/arch/powerpc/sysdev/cpm2_pic.c
index fcea4ff..4730325 100644
--- a/arch/powerpc/sysdev
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/sysdev/cpm1.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/powerpc/sysdev/cpm1.c b/arch/powerpc/sysdev/cpm1.c
index 0085212..0476bcc 100644
--- a/arch/powerpc/sysdev/cpm1.c
+++ b/arch/powerpc
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/pseries/setup.c |5 ++-
arch/powerpc/platforms/pseries/xics.c | 89 +---
2 files changed, 51 insertions(+), 43 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/setup.c
b/arch/powerpc
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/ps3/interrupt.c | 40
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/powerpc/platforms/ps3/interrupt.c
b/arch/powerpc/platforms/ps3/interrupt.c
index 92290ff..bc8b59b 100644
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/powermac/pic.c | 48 +---
1 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/arch/powerpc/platforms/powermac/pic.c
b/arch/powerpc/platforms/powermac/pic.c
index 890d5f7..c55812b 100644
--- a
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/iseries/irq.c | 43 +++---
1 files changed, 24 insertions(+), 19 deletions(-)
diff --git a/arch/powerpc/platforms/iseries/irq.c
b/arch/powerpc/platforms/iseries/irq.c
index ba446bf..4fb96f0 100644
--- a
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/embedded6xx/flipper-pic.c | 32
arch/powerpc/platforms/embedded6xx/hlwd-pic.c| 41 +++--
2 files changed, 37 insertions(+), 36 deletions(-)
diff --git a/arch/powerpc/platforms/embedded6xx
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/chrp/setup.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/chrp/setup.c
b/arch/powerpc/platforms/chrp/setup.c
index 8553cc4..4c12884 100644
--- a/arch/powerpc/platforms/chrp/setup.c
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/cell/axon_msi.c |3 +-
arch/powerpc/platforms/cell/beat_interrupt.c | 36 +++---
arch/powerpc/platforms/cell/interrupt.c | 30 ++
arch/powerpc/platforms/cell/setup.c |6
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/8xx/m8xx_setup.c |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/8xx/m8xx_setup.c
b/arch/powerpc/platforms/8xx/m8xx_setup.c
index 60168c1..fabb108 100644
--- a/arch/powerpc
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/86xx/gef_pic.c | 22 +++---
arch/powerpc/platforms/86xx/pic.c |5 -
2 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/arch/powerpc/platforms/86xx/gef_pic.c
b/arch/powerpc/platforms/86xx
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/85xx/ksi8560.c |3 +-
arch/powerpc/platforms/85xx/mpc85xx_ads.c |3 +-
arch/powerpc/platforms/85xx/mpc85xx_ds.c|3 +-
arch/powerpc/platforms/85xx/sbc8560.c |3 +-
arch/powerpc/platforms
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | 27 -
1 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
index 5a55d87..a0cd8ae
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/52xx/media5200.c | 21
arch/powerpc/platforms/52xx/mpc52xx_gpt.c | 26 +-
arch/powerpc/platforms/52xx/mpc52xx_pic.c | 80 ++--
3 files changed, 64 insertions(+), 63 deletions(-)
diff
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/platforms/512x/mpc5121_ads_cpld.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
b/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
index 4ecf4cf..fde0ea5 100644
Signed-off-by: Lennert Buytenhek
---
arch/powerpc/include/asm/mpic.h |6 +-
arch/powerpc/platforms/pasemi/setup.c |4 +-
arch/powerpc/sysdev/mpic.c| 131 +
arch/powerpc/sysdev/mpic.h|5 +-
arch/powerpc/sysdev
/powerpc_irq_data.git
http://git.kernel.org/?p=linux/kernel/git/buytenh/powerpc_irq_data.git
v2: fixes build failures (build-tested on all powerpc (32/64b)
defconfigs), and has been split into a patch series. It has still
had only limited run-time testing.
Lennert Buytenhek (28):
powerpc: mpic irq_data
On Mon, Feb 14, 2011 at 11:07:15AM -0700, Grant Likely wrote:
> > This patch converts powerpc over to the new irq_data based irq_chip
> > functions, as was done earlier for ARM and some other architectures.
> >
> > struct irq_data is described here:
> >
> >
> > http://git.kernel.org/?p=linu
Signed-off-by: Lennert Buytenhek
diff --git a/Documentation/powerpc/booting-without-of.txt
b/Documentation/powerpc/booting-without-of.txt
index 302db5d..3272ed5 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -131,7 +131,7 @@ order
driver work on my Pegasos again; it is mostly a search and replace
> of NULL by mp->dev->dev.parent in dma allocation/freeing/mapping/unmapping
> functions.
>
> Signed-off-by: Gabriel Paubert
Acked-by: Lennert Buytenhek
Thanks for testing!
__
mdio buses in your system in /sys/class/mdio_bus.
> >
> >
> > thanks,
> > Lennert
> >
> >
> > The following changes since commit e69c4e0f1210450841e40716894ba6a877b31d52:
> > Vlad Yasevich (1):
> > sctp: correctly save sctp_a
r.
are available in the git repository at:
git://git.marvell.com/phylib.git master
Lennert Buytenhek (5):
phylib: phy_mii_ioctl() fixes
phylib: add mdiobus_{read,write}
phylib: rename mii_bus::dev to mii_bus::parent
phylib: move to dynamic allocation of struct mii_bu
On Thu, Sep 04, 2008 at 08:44:31AM -0500, Matt Sealey wrote:
> I was thinking about this actually, similar to the Efika Device Tree
> Supplement for MPC5200B board (which adds a lot of device tree nodes
> not present on the production model and fixes some things), we have
> a Pegasos one too whic
-up patch on request.)
Signed-off-by: Lennert Buytenhek <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/chrp/pegasos_eth.c | 48 +++--
drivers/net/mv643xx_eth.c | 56 +++--
include/linux/mv643xx_eth.h | 21 ++
The mv643xx_eth ethernet driver has had some very heavy hacking done
to it during the 2.6.27 merge window:
$ wc -l linux-2.6.26/drivers/net/mv643xx_eth.c
linux-2.6.27-rc1-git4/drivers/net/mv643xx_eth.c
3365 linux-2.6.26/drivers/net/mv643xx_eth.c
2653 linux-2.6.27-rc1-git4/drivers/net/mv643xx
On Mon, Oct 29, 2007 at 05:27:29PM -0400, Luis R. Rodriguez wrote:
> This commit made an incorrect assumption:
> --
> Author: Lennert Buytenhek <[EMAIL PROTECTED]>
> Date: Fri Oct 19 04:10:10 2007 +0200
>
> mv643xx_eth: Move ethernet register definit
On Sat, Oct 27, 2007 at 09:02:32PM +0100, Al Viro wrote:
> diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h
> index 3f27239..8df230a 100644
> --- a/include/linux/mv643xx_eth.h
> +++ b/include/linux/mv643xx_eth.h
> @@ -8,6 +8,9 @@
> #define MV643XX_ETH_NAME "mv643
52 matches
Mail list logo