Re: [PATCH] pata_of_platform: Move electra-ide support over to new framework

2007-12-20 Thread Paul Mackerras
Olof Johansson writes: > > FWIW I'm presuming this work will go via a powerpc tree not libata... > > Generally that's not the case, but here it's largely an arch-specific work. > > Ok, that works. I was thinking of letting this patch go through libata, > and do the removal through the powerpc me

Re: tiny login

2007-12-20 Thread Clemens Koller
pjmaiya schrieb: > hi, - don't cross-post - don't post HTML to the lists > I am using tiny login provided by montavista. Binaries already obtained > from tool provided from montavista. We are able to add only 10 users. > But I need to add more than 10 users. Tried to contact montavista for sup

More patches added to for-2.6.25 and master branches of powerpc.git

2007-12-20 Thread Paul Mackerras
Andre Detsch (1): [POWERPC] cell: safer of_has_vicinity routine Balbir Singh (1): [POWERPC] Fake NUMA emulation for PowerPC Benjamin Herrenschmidt (20): [POWERPC] pci32: Remove bogus alignment message [POWERPC] pci32: Use generic pci_assign_unassign_resources [POWERP

[PATCH -mm 14/43] powerpc user_regset gpr

2007-12-20 Thread Roland McGrath
This implements user_regset-style accessors for the powerpc general registers. In the future these functions will be the only place that needs to understand the user_regset layout (core dump format) and how it maps to the internal representation of user thread state. Signed-off-by: Roland McGrath

[PATCH -mm 19/43] powerpc core dump cleanup

2007-12-20 Thread Roland McGrath
Remove some dead code we no longer need now that the user_regset interfaces are doing all these jobs. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/powerpc/kernel/process.c | 48 - include/asm-powerpc/elf.h | 46

[PATCH -mm 13/43] powerpc ptrace special regs

2007-12-20 Thread Roland McGrath
This isolates the ptrace code for the special-case registers msr and trap from the ptrace-layout dispatch code. This should inline away completely. It cleanly separates the low-level machine magic that has to be done for deep reasons, from the superficial details of the ptrace interface. Signed-o

[PATCH -mm 17/43] powerpc CORE_DUMP_USE_REGSET

2007-12-20 Thread Roland McGrath
This switches powerpc to using the user_regset-based code for ELF core dumps. The core dumps come out exactly the same either way, except that the NT_PPC_VMX note is now omitted for any thread that never touched its Altivec registers (thread_struct.vr_used). Signed-off-by: Roland McGrath <[EMAIL

[PATCH -mm 20/43] powerpc SPE core dump

2007-12-20 Thread Roland McGrath
This makes the SPE register data appear in ELF core dumps, using the new n_type value NT_PPC_SPE (0x101). This new note type is not used by any consumers of core files yet, but support can be added. I don't even have any hardware with SPE capabilities, so I've never seen such a note. But this dem

[PATCH -mm 22/43] powerpc ptrace generic peekdata/pokedata

2007-12-20 Thread Roland McGrath
Now that ptrace_request handles these, we can drop some more boilerplate. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ptrace.c | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptra

[PATCH -mm 21/43] powerpc ptrace user_regset

2007-12-20 Thread Roland McGrath
This replaces all the code for powerpc PTRACE_*REGS* requests with simple calls to copy_regset_from_user and copy_regset_to_user. All the ptrace formats are either the whole corresponding user_regset format (core dump format) or a leading subset of it, so we can get rid of all the remaining embedd

[PATCH -mm 24/43] powerpc compat_sys_ptrace

2007-12-20 Thread Roland McGrath
This replaces powerpc's compat_sys_ptrace with a compat_arch_ptrace and enables the new generic definition of compat_sys_ptrace instead. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ptrace32.c | 33 + include/asm-powerpc/ptrace.h |

[PATCH -mm 18/43] powerpc compat_binfmt_elf

2007-12-20 Thread Roland McGrath
This switches the CONFIG_PPC64 support for 32-bit ELF to use the generic fs/compat_binfmt_elf.c implementation instead of our own binfmt_elf32.c. Since so much is the same between 32/64, there is only one macro we have to define to make the generic support work out of the box. Signed-off-by: Rolan

[PATCH -mm 25/43] powerpc ptrace32 user_regset

2007-12-20 Thread Roland McGrath
This cleans up the 32-bit ptrace syscall support to use user_regset calls to get at the register data for PTRACE_*REGS* calls. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ptrace32.c | 96 ++- 1 files changed, 25 insertions(+), 71

[PATCH -mm 23/43] powerpc compat_ptrace_request

2007-12-20 Thread Roland McGrath
This removes some duplicated code by calling the new generic compat_ptrace_request from powerpc's compat_sys_ptrace. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ptrace32.c | 34 ++ 1 files changed, 2 insertions(+), 32 deletions(-) d

[PATCH -mm 15/43] powerpc user_regset_view

2007-12-20 Thread Roland McGrath
This provides the task_user_regset_view entry point and support for all the native-mode (64 on CONFIG_PPC64, 32 on CONFIG_PPC32) thread register state. This will enable generic machine-independent code to access user-mode threads' registers for debugging and dumping. Signed-off-by: Roland McGrath

[PATCH -mm 10/43] powerpc user_regset fpregs

2007-12-20 Thread Roland McGrath
This implements user_regset-style accessors for the powerpc FPU data, and rewrites the existing ptrace code in terms of those calls. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ptrace.c | 37 +++-- 1 files changed, 31 insertions(+),

[PATCH -mm 16/43] powerpc user_regset compat

2007-12-20 Thread Roland McGrath
This extends task_user_regset_view CONFIG_PPC64 with support for the 32-bit view of register state, compatible with what a CONFIG_PPC32 kernel provides. This will enable generic machine-independent code to access user-mode threads' registers for debugging and dumping. Signed-off-by: Roland McGrath

[PATCH -mm 11/43] powerpc user_regset altivec

2007-12-20 Thread Roland McGrath
This implements user_regset-style accessors for the powerpc Altivec data, and rewrites the existing ptrace code in terms of those calls. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ptrace.c | 112 +- 1 files changed, 78 insert

[PATCH -mm 12/43] powerpc user_regset spe

2007-12-20 Thread Roland McGrath
This implements user_regset-style accessors for the powerpc SPE data, and rewrites the existing ptrace code in terms of those calls. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ptrace.c | 90 ++--- 1 files changed, 57 insertions(

[PATCH/.24] [NET] fs_enet: check for phydev existence in the ethtool handlers

2007-12-20 Thread Anton Vorontsov
Otherwise oops will happen if ethernet device has not been opened: Unable to handle kernel paging request for data at address 0x014c Faulting instruction address: 0xc016f7f0 Oops: Kernel access of bad area, sig: 11 [#1] MPC85xx NIP: c016f7f0 LR: c01722a0 CTR: REGS: c79ddc70 TRAP: 0300

[PATCH] IB/ehca: Forward event client-reregister-required to registered clients

2007-12-20 Thread Hoang-Nam Nguyen
This patch allows ehca to forward event client-reregister-required to registered clients. Such one event is generated by the switch eg. after its reboot. Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_irq.c | 12 1 files changed, 12 insertio

PPC64 doesn't compile with CONFIG_SMP=n

2007-12-20 Thread Egor Starkov
Hello Ingo I've found out that real-time tree doesn't compile for PPC64 with CONFIG_SMP=n. Think this is due to patch-2.6.21.4-rt10 patch. It has definitions of following symbols missing: __get_cpu_lock, __get_cpu_var_locked. I've attached the patch to fix the problem. Egor Starkov Signed-of

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Jon Loeliger
So, like, the other day Timur Tabi mumbled: > diff --git a/arch/powerpc/platforms/86xx/mpc8610_hpcd.c > b/arch/powerpc/platforms/86xx/mpc8610_hpc > d.c > index 6390895..6e1bde3 100644 > --- a/arch/powerpc/platforms/86xx/mpc8610_hpcd.c > +++ b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c > @@ -34,9 +

Re: [PATCH/.24] [NET] fs_enet: check for phydev existence in the ethtool handlers

2007-12-20 Thread Vitaly Bordug
On Thu, 20 Dec 2007 16:59:23 +0300 Anton Vorontsov wrote: > Otherwise oops will happen if ethernet device has not been opened: > > Unable to handle kernel paging request for data at address 0x014c > Faulting instruction address: 0xc016f7f0 > Oops: Kernel access of bad area, sig: 11 [#1] > MPC

Re: 2.6.25-candidates branch updated in 4xx tree

2007-12-20 Thread Josh Boyer
On Thu, 6 Dec 2007 14:32:02 -0600 Josh Boyer <[EMAIL PROTECTED]> wrote: > On Tue, 4 Dec 2007 13:11:39 -0600 > Josh Boyer <[EMAIL PROTECTED]> wrote: > > > For those following my tree, I've added a 2.6.25-candidates branch and > > based it off of Paul's latest master. (If you've already pulled > >

Re: [PATCH] pata_of_platform: Move electra-ide support over to new framework

2007-12-20 Thread Olof Johansson
On Thu, Dec 20, 2007 at 02:53:46PM +1100, Paul Mackerras wrote: > Olof Johansson writes: > > > > FWIW I'm presuming this work will go via a powerpc tree not libata... > > > Generally that's not the case, but here it's largely an arch-specific > > > work. > > > > Ok, that works. I was thinking o

Re: [PATCH] [RFC] Xilinx SystemACE: Add media hotplug support

2007-12-20 Thread Andy Whitcroft
On Wed, Dec 19, 2007 at 11:23:48PM -0700, Grant Likely wrote: > + /* Make the sysace device 'live' */ > + if (ace->fsm_state != ACE_FSM_STATE_INVALIDATE_MEDIA); > + add_disk(ace->gd); checkpatch.pl reports the above if as suspect due to the trailing ;.

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Timur Tabi
Olof Johansson wrote: >> +static struct of_device_id mpc8610_ids[] = { >> +{ .type = "soc", }, >> +{} > > Please scan based on compatible instead of device_type. I was just following the example from another board file. However, the 'soc' node in the device tree does not have a compati

Re: [alsa-devel] [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Takashi Iwai
At Thu, 20 Dec 2007 08:24:35 -0600, Timur Tabi wrote: > > >> +static int fsl_dma_new(struct snd_card *card, struct snd_soc_codec_dai > >> *dai, > >> + struct snd_pcm *pcm) > >> +{ > >> + static u64 fsl_dma_dmamask = 0x; > >> + int ret; > >> + > >> + if (!card->dev->dma_mask) > >> +

Re: [PATCH 4/5] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

2007-12-20 Thread Jon Smirl
On 12/20/07, David Gibson <[EMAIL PROTECTED]> wrote: > On Wed, Dec 19, 2007 at 11:41:44PM -0500, Jon Smirl wrote: > > Convert MPC i2c driver from being a platform_driver to an open > > firmware version. Error returns were improved. Routine names were > > changed from fsl_ to mpc_ to make them match

Re: [PATCH] [RFC] Xilinx SystemACE: Add media hotplug support

2007-12-20 Thread Grant Likely
On 12/20/07, Andy Whitcroft <[EMAIL PROTECTED]> wrote: > On Wed, Dec 19, 2007 at 11:23:48PM -0700, Grant Likely wrote: > > > + /* Make the sysace device 'live' */ > > + if (ace->fsm_state != ACE_FSM_STATE_INVALIDATE_MEDIA); > > + add_disk(ace->gd); > > ch

Re: More patches added to for-2.6.25 and master branches of powerpc.git

2007-12-20 Thread Scott Wood
On Thu, Dec 20, 2007 at 10:00:05PM +1100, Paul Mackerras wrote: > Scott Wood (5): > [POWERPC] 8xx: Convert mpc866ads to the new device binding. > [POWERPC] 83xx: mpc834x_mds: Fix whitespace and call > of_platform_bus_probe(). > [POWERPC] 83xx: mpc8313erdb: Fix whitespace. >

[DTC PATCH 1/2] Add yyerrorf() for formatted error messages.

2007-12-20 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- dtc-parser.y | 16 srcpos.h |1 + 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/dtc-parser.y b/dtc-parser.y index 002ea7f..4a0181d 100644 --- a/dtc-parser.y +++ b/dtc-parser.y @@ -318,6 +318,22 @@ void y

Re: [patch/rfc 3/7] ps3: Use the HVs storage device notification mechanism properly

2007-12-20 Thread Geert Uytterhoeven
On Wed, 28 Nov 2007, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven <[EMAIL PROTECTED]> > > ps3: Use the HV's storage device notification mechanism properly > > The hypervisor has a storage device notification mechanism to wait until a > storage device is ready. Unfortunately the storage de

Re: [alsa-devel] [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Timur Tabi
Takashi Iwai wrote: > All? No, only a few... > For PCI, usually pci_set_dma_mask() and pci_set_consistent_dma_mask() > are used, of course. Hmm, ok I was wrong. I took this code from the ASoC at91 driver. Unfortunately, I don't understand what this code is trying to do. The AT91 driver isn't

[PATCH v3 2/2] mpc82xx: Embedded Planet EP8248E support

2007-12-20 Thread Scott Wood
This board is also resold by Freescale under the names "QUICCStart MPC8248 Evaluation System" and "CWH-PPC-8248N-VE". Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- Resent with dts-v1 and aliases. arch/powerpc/boot/Makefile |3 +- arch/powerpc/boot/dts/ep8248e.dts | 205

[PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Paul Gortmaker
The following four patches add support for the Wind River SBC8560 board onto the powerpc branch. The patches are as follows: 1) Add basic support for Wind River SBC8560 as powerpc This adds in the basic platform support file -- closely matching that which exists for the MPC8560ADS board. b/a

[PATCH 2/4] CPM2: Make support for the CPM2 optional on 8560 based boards

2007-12-20 Thread Paul Gortmaker
Currently there is no way to disable the CPM2 support. Some boards, like the SBC8560 have their own external UART and don't have any direct dependencies on the CPM for a serial console or anything else. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/Kconfig |

[PATCH 3/4] sbc8560: Add device tree source for Wind River SBC8560 board

2007-12-20 Thread Paul Gortmaker
This adds the device tree source for the Wind River SBC8560 board. The biggest difference between this and the MPC8560ADS reference platform is the use of an external 16550 compatible UART instead of the CPM2. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/sbc8560.dt

Re: [PATCH 1/3] ps3: vuart: fix error path locking

2007-12-20 Thread Daniel Walker
On Tue, 2007-12-18 at 19:04 -0800, Geoff Levand wrote: > Unfortunately there wasn't enough context in the patch to see > that there is a down() earlier in the routine, and that the patch > does indeed remove an incorrectly placed down(). Here is the > entire routine, marked with what the patch re

[PATCH 1/4] sbc8560: add basic support for Wind River SBC8560 as powerpc

2007-12-20 Thread Paul Gortmaker
This adds the basic support for the Wind River SBC8560 board, implemented as powerpc. It closely follows the implementation of the MPC8560ADS. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/Kconfig | 11 +- arch/powerpc/platforms/85xx/Makefile |1 + ar

[PATCH 1/2] [POWERPC] Update MPC8610 HPCD to support audio drivers

2007-12-20 Thread Timur Tabi
Update the MPC8610 HPCD files to support the audio driver. Update booting-without-of.txt with information on the SSI device. Signed-off-by: Timur Tabi <[EMAIL PROTECTED]> --- This patch applies on top of git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa.git. Documentation/powerpc/bootin

[PATCH 0/2] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Timur Tabi
These patches add ALSA SoC device drivers for the Freescale MPC8610 SoC and the MPC8610-HPCD reference board. The first patch updates some files in arch/powerpc and booting-without-of.txt. The second patch adds the new audio driver files to sound/soc. Both must be applied in order to avoid a bu

Re: [PATCH 1/3] ps3: vuart: fix error path locking

2007-12-20 Thread Andrew Morton
On Thu, 20 Dec 2007 11:32:25 -0800 Daniel Walker <[EMAIL PROTECTED]> wrote: > On Tue, 2007-12-18 at 19:04 -0800, Geoff Levand wrote: > > > Unfortunately there wasn't enough context in the patch to see > > that there is a down() earlier in the routine, and that the patch > > does indeed remove an

Re: [PATCH 1/3] ps3: vuart: fix error path locking

2007-12-20 Thread Daniel Walker
On Thu, 2007-12-20 at 12:06 -0800, Andrew Morton wrote: > On Thu, 20 Dec 2007 11:32:25 -0800 Daniel Walker <[EMAIL PROTECTED]> wrote: > > > On Tue, 2007-12-18 at 19:04 -0800, Geoff Levand wrote: > > > > > Unfortunately there wasn't enough context in the patch to see > > > that there is a down() e

[PATCH v2 0/4] device_type/compatible cleanups

2007-12-20 Thread Anton Vorontsov
Hi all, Here is the second version. Changes since v1: - Device tree lookup changes should be backward compatible with older dtbs; - Few of_put_node() cleanups; - cell-index property added to spi nodes; - cpm-muram{,-data} added as an addition to qe-muram{,-data}. Thanks, -- Anton Vorontsov

Re: [PATCH 11/20] [POWERPC] Wire up PCI on Bamboo board

2007-12-20 Thread Valentine Barshak
Benjamin Herrenschmidt wrote: > On Wed, 2007-12-19 at 16:34 +0300, Valentine Barshak wrote: > >>> --- linux-work.orig/arch/powerpc/boot/dts/bamboo.dts2007-12-10 >>> 15:56:59.0 +1100 >>> +++ linux-work/arch/powerpc/boot/dts/bamboo.dts 2007-12-10 >>> 16:39:51.0 +1100 >>

[PATCH v2 1/4] [POWERPC] qe_lib and users: get rid of device_type and model

2007-12-20 Thread Anton Vorontsov
Now we're searching for "fsl,qe", "fsl,qe-muram", "fsl,qe-muram-data". Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_mds.dts |7 --- arch/powerpc/boot/dts/mpc832x_rdb.dts |7

[PATCH v2 2/4] [POWERPC][NET] ucc_geth_mii and users: get rid of device_type

2007-12-20 Thread Anton Vorontsov
device_type property is bogus, thus use proper compatible. Also change compatible property to "fsl,ucc-mdio". Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_mds.dts |3 +-- arch/powe

[PATCH v2 3/4] [POWERPC][SPI] use brg-frequency for SPI in QE

2007-12-20 Thread Anton Vorontsov
In case of QE we can use brg-frequency (which is qeclk/2). Thus no need to divide sysclk in the spi_mpc83xx. This patch also adds code to use get_brgfreq() on QE chips. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_soc.c | 37 ---

[PATCH v2 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = "spi"

2007-12-20 Thread Anton Vorontsov
..also rename "fsl_spi" to "fsl,spi" and add cell-index property. Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8313erdb.dts|4 ++-- arch/powerpc/boot/dts/mpc832x_mds.dts|8 ++

Re: [PATCH 11/20] [POWERPC] Wire up PCI on Bamboo board

2007-12-20 Thread Benjamin Herrenschmidt
On Thu, 2007-12-20 at 23:26 +0300, Valentine Barshak wrote: > Just checked the ppc440ep user manual again. > Special cycle/IACK registers are at 0xeed0 instead of 0xeed8. > Looks like the same typo as in the internal registers. > It works because all these registers are mirrored at 0x8000

[PATCH 4/4] sbc8560: Add default .config file for Wind River SBC8560

2007-12-20 Thread Paul Gortmaker
This is a suitable .config file for building the WRS SBC8560 kernel to be used for NFS root via one of the TSEC interfaces and with serial console via the 16550 compatible UART on the board. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/configs/sbc8560_defconfig | 764 ++

[RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread Scott Wood
A property's data can be populated with a file's contents as follows: node { prop = /bin-include/ "path/to/data"; }; Search paths are not yet implemented; non-absolute lookups are relative to the directory from which dtc was invoked. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- Apol

Re: Oops: Kernel access of bad area

2007-12-20 Thread Nathan Lynch
Christian Kujau wrote: > Hi, > > I started some x11 application (here: firefox) through an ssh connection > on a remote host and it crashed somehow. OK, no biggie, killed the > application and be done with it. However, I noticed that the load of the > machine is now constantly at 7. It's an iBo

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Jon Smirl
On 12/19/07, Timur Tabi <[EMAIL PROTECTED]> wrote: > +static struct of_device_id mpc8610_ids[] = { > + { .type = "soc", }, > + {} > +}; > + > +static int __init mpc8610_declare_of_platform_devices(void) > +{ > + if (!machine_is(mpc86xx_hpcd)) > + return 0; > + > +

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Timur Tabi
Jon Smirl wrote: > How is of_platform_bus_probe() supposed to be called? mpc5200/virtex > call it with three NULLs. Is it necessary to name all of the buses in > a of_device_id? If it's not necessary to list the buses the > of_platform_bus_probe() call could be moved to common code. I added the a

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Olof Johansson
On Thu, Dec 20, 2007 at 08:24:35AM -0600, Timur Tabi wrote: > Olof Johansson wrote: > > >> +static struct of_device_id mpc8610_ids[] = { > >> + { .type = "soc", }, > >> + {} > > > > Please scan based on compatible instead of device_type. > > I was just following the example from another board

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Timur Tabi
Olof Johansson wrote: >> I was just following the example from another board file. However, the >> 'soc' >> node in the device tree does not have a compatible property, so I don't how >> to >> change this. > > Then add an appropriate compatible entry to it, please. None of the SOC nodes in

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Jon Smirl
On 12/20/07, Timur Tabi <[EMAIL PROTECTED]> wrote: > Jon Smirl wrote: > > > How is of_platform_bus_probe() supposed to be called? mpc5200/virtex > > call it with three NULLs. Is it necessary to name all of the buses in > > a of_device_id? If it's not necessary to list the buses the > > of_platform_

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Timur Tabi
Jon Smirl wrote: > mpc5200 does it like this: > of_platform_bus_probe(NULL, NULL, NULL); I think that tells the OF base code to probe everything in the device tree, which is probably overkill. I think fsl_soc.c covers most of the device tree, but the SSI is not defined in fsl_soc.c. -- Timur

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Scott Wood
Timur Tabi wrote: > Olof Johansson wrote: > >>> I was just following the example from another board file. However, the >>> 'soc' >>> node in the device tree does not have a compatible property, so I don't how >>> to >>> change this. >> Then add an appropriate compatible entry to it, please. >

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Scott Wood
Timur Tabi wrote: > Jon Smirl wrote: > >> mpc5200 does it like this: >> of_platform_bus_probe(NULL, NULL, NULL); > > I think that tells the OF base code to probe everything in the device tree, > which is probably overkill. I think fsl_soc.c covers most of the device > tree, > but the SSI is n

Re: [spi-devel-general] [PATCH v2 3/4] [POWERPC][SPI] use brg-frequency for SPI in QE

2007-12-20 Thread David Brownell
On Thursday 20 December 2007, Anton Vorontsov wrote: > In case of QE we can use brg-frequency (which is qeclk/2). > Thus no need to divide sysclk in the spi_mpc83xx. > > This patch also adds code to use get_brgfreq() on QE chips. > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > --- >  arc

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread Jon Smirl
On 12/20/07, Scott Wood <[EMAIL PROTECTED]> wrote: > Timur Tabi wrote: > > Jon Smirl wrote: > > > >> mpc5200 does it like this: > >> of_platform_bus_probe(NULL, NULL, NULL); > > > > I think that tells the OF base code to probe everything in the device tree, > > which is probably overkill. I think

Re: [PATCH 1/4] sbc8560: add basic support for Wind River SBC8560 as powerpc

2007-12-20 Thread Stephen Rothwell
Hi Paul, Just a couple of comments. On Thu, 20 Dec 2007 09:54:29 -0500 Paul Gortmaker <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/85xx/sbc8560.c > +static void cpm2_cascade(unsigned int irq, struct irq_desc *desc) > +{ > + int cascade_irq; > + > + while ((cascade_irq = cpm

Re: More patches added to for-2.6.25 and master branches of powerpc.git

2007-12-20 Thread Michael Neuling
Paulus, Can you take the crash shutdown hook patches as well? http://patchwork.ozlabs.org/linuxppc/patch?person=414&id=15546 http://patchwork.ozlabs.org/linuxppc/patch?person=414&id=15547 Mikey In message <[EMAIL PROTECTED]> you wrote: > Andre Detsch (1): > [POWERPC] cell: safer of_has_v

patch pci-fix-bus-resource-assignment-on-32-bits-with-64b-resources.patch added to gregkh-2.6 tree

2007-12-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: PCI: Fix bus resource assignment on 32 bits with 64b resources to my gregkh-2.6 tree. Its filename is pci-fix-bus-resource-assignment-on-32-bits-with-64b-resources.patch This tree can be found at http

patch pci-fix-warning-in-setup-res.c-on-32-bit-platforms-with-64-bit-resources.patch added to gregkh-2.6 tree

2007-12-20 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: PCI: Fix warning in setup-res.c on 32-bit platforms with 64-bit resources to my gregkh-2.6 tree. Its filename is pci-fix-warning-in-setup-res.c-on-32-bit-platforms-with-64-bit-resources.patch This tree c

Re: [PATCH 1/4] sbc8560: add basic support for Wind River SBC8560 as powerpc

2007-12-20 Thread Kumar Gala
On Dec 20, 2007, at 8:54 AM, Paul Gortmaker wrote: > This adds the basic support for the Wind River SBC8560 board, > implemented > as powerpc. It closely follows the implementation of the MPC8560ADS. > > Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/85xx/Kcon

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Kumar Gala
Can we get ride of sbc85xx in arch/ppc with these patches? - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH v2 3/4] [POWERPC][SPI] use brg-frequency for SPI in QE

2007-12-20 Thread Anton Vorontsov
On Thu, Dec 20, 2007 at 11:33:22PM +0300, Anton Vorontsov wrote: > In case of QE we can use brg-frequency (which is qeclk/2). > Thus no need to divide sysclk in the spi_mpc83xx. > > This patch also adds code to use get_brgfreq() on QE chips. > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> >

Re: [PATCH 3/4] sbc8560: Add device tree source for Wind River SBC8560 board

2007-12-20 Thread Kumar Gala
On Dec 20, 2007, at 8:54 AM, Paul Gortmaker wrote: > This adds the device tree source for the Wind River SBC8560 board. > The > biggest difference between this and the MPC8560ADS reference platform > is the use of an external 16550 compatible UART instead of the CPM2. > > Signed-off-by: Paul G

Re: patch pci-fix-bus-resource-assignment-on-32-bits-with-64b-resources.patch added to gregkh-2.6 tree

2007-12-20 Thread Benjamin Herrenschmidt
> The current pci_assign_unassigned_resources() code doesn't work properly > on 32 bits platforms with 64 bits resources. The main reason is the use > of unsigned long in various places instead of resource_size_t. > > This fixes it, along with some tricks to avoid casting to 64 bits on > platform

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Kumar Gala
> 3) Add device tree source for Wind River SBC8560 board > > This is probably the most interesting part of the group, given that > the > board doesn't use the CPM2 to provide the serial console. I've made a > duart dts entry that is kind of similar to what is done for the tsi108 > on the mpc7448

Re: [PATCH 0/5] Version 17, series to add device tree naming to i2c

2007-12-20 Thread Jon Smirl
Are there any other objections to this patch? If not, can it be targeted for 2.6.25? On 12/19/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > Since copying i2c-mpc.c to maintain support for the ppc architecture seems to > be an issue; instead rework i2c-mpc.c to use CONFIG_PPC_MERGE #ifdefs to > supp

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Paul Gortmaker
Kumar Gala wrote: > Can we get ride of sbc85xx in arch/ppc with these patches? > > - k That was the plan, yes. P. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 3/4] sbc8560: Add device tree source for Wind River SBC8560 board

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 09:54:31AM -0500, Paul Gortmaker wrote: > This adds the device tree source for the Wind River SBC8560 board. The > biggest difference between this and the MPC8560ADS reference platform > is the use of an external 16550 compatible UART instead of the CPM2. > > Signed-off-by

Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 06:13:31PM -0500, Jon Smirl wrote: > On 12/20/07, Scott Wood <[EMAIL PROTECTED]> wrote: > > Timur Tabi wrote: > > > Jon Smirl wrote: > > > > > >> mpc5200 does it like this: > > >> of_platform_bus_probe(NULL, NULL, NULL); > > > > > > I think that tells the OF base code to pro

Re: [DTC PATCH 1/2] Add yyerrorf() for formatted error messages.

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 10:48:23AM -0600, Scott Wood wrote: > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> No need for a new function. If yyerror() is defined as a varargs function it's still compatible with bison's built-in usage. Oh, and while you're at it, you can kill off the bogus prototyp

Re: patch pci-fix-bus-resource-assignment-on-32-bits-with-64b-resources.patch added to gregkh-2.6 tree

2007-12-20 Thread Greg KH
On Fri, Dec 21, 2007 at 10:56:13AM +1100, Benjamin Herrenschmidt wrote: > > > The current pci_assign_unassigned_resources() code doesn't work properly > > on 32 bits platforms with 64 bits resources. The main reason is the use > > of unsigned long in various places instead of resource_size_t. > >

Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 01:52:59PM -0600, Scott Wood wrote: > A property's data can be populated with a file's contents > as follows: > > node { > prop = /bin-include/ "path/to/data"; > }; I'd be inclined to use /incbin/ rather than /bin-include/. It's only slightly less obvious, but it's

Re: [PATCH v3 2/2] mpc82xx: Embedded Planet EP8248E support

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 11:45:24AM -0600, Scott Wood wrote: > This board is also resold by Freescale under the names > "QUICCStart MPC8248 Evaluation System" and "CWH-PPC-8248N-VE". > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> [snip] > + [EMAIL PROTECTED],0 { > +

Enable RTC for Ebony and Walnut

2007-12-20 Thread David Gibson
This patch extends the Ebony and Walnut platform code to instantiate the existing ds1742 RTC class driver for the DS1743 RTC/NVRAM chip found on both those boards. The patch uses a helper function to scan the device tree and instantiate the appropriate platform_device based on it, so it should be

[DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread Scott Wood
A property's data can be populated with a file's contents as follows: node { prop = /bin-include/ "path/to/data"; }; Search paths are not yet implemented; non-absolute lookups are relative to the directory from which dtc was invoked. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- dtc

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread Paul Gortmaker
In message: Re: [PATCH 0/4] arch/powerpc support for SBC8560 board on 20/12/2007 Kumar Gala wrote: >> 3) Add device tree source for Wind River SBC8560 board >> >> This is probably the most interesting part of the group, given that the >> board doesn't use the CPM2 to provide the serial console. I

[PATCH] [POWERPC] Fix possible NULL deref in ppc32 PCI

2007-12-20 Thread Benjamin Herrenschmidt
The 32-bit PCI code tests if "bus" is non-NULL after calling pci_scan_bus_parented() in one place but not another before derefencing it. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci_32.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- l

[PATCH] [POWERPC] Add EHEA and EHCA as modules in the ppc64_defconfig

2007-12-20 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/configs/ppc64_defconfig |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig index 5760b9f..7695a4c 100644 --- a/arch/powerp

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 10:38:15PM -0500, Paul Gortmaker wrote: > In message: Re: [PATCH 0/4] arch/powerpc support for SBC8560 board > on 20/12/2007 Kumar Gala wrote: > > >> 3) Add device tree source for Wind River SBC8560 board > >> > >> This is probably the most interesting part of the group, gi

[PATCH] [POWERPC] The builtin matches for ibmebus.c can be __initdata

2007-12-20 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index 72fd871..caae49f 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arc

[PATCH] [POWERPC] constify the of_device_id passed to of_platform_bus_probe

2007-12-20 Thread Stephen Rothwell
This will allow us to declare const all the statically declared arrrays of these. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/of_platform.c |8 include/asm-powerpc/of_platform.h |2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/

[PATCH] [POWERPC] pointers marked as __iomem do not need to be volatile

2007-12-20 Thread Stephen Rothwell
Fixes this warning: arch/powerpc/platforms/powermac/pci.c: In function 'u3_ht_cfg_access': arch/powerpc/platforms/powermac/pci.c:354: warning: return discards qualifiers from pointer target type arch/powerpc/platforms/powermac/pci.c:358: warning: return discards qualifiers from pointer target ty

[PATCH] [POWERPC] Make non-PCI build work again

2007-12-20 Thread Stephen Rothwell
Maple and pasemi both require PCI as does CONFIG_OF_PLATFORM_PCI. The default setting of CONFIG_ISA_DMA_API is set to match the protection around the relevant routines in asm/dma.h. I also had to remove the PMAC platform from the combined build. The precis is that to build a 64 bit kernel with no

[PATCH 1/21] [POWERPC] Reworking machine check handling and Fix 440/440A

2007-12-20 Thread Benjamin Herrenschmidt
This adds a cputable function pointer for the CPU-side machine check handling. The semantic is still the same as the old one, the one in ppc_md. overrides the one in cputable, though ultimately we'll want to change that so the CPU gets first. This removes CONFIG_440A which was a problem for multip

[PATCH 2/21] [POWERPC] Improve support for 4xx indirect DCRs

2007-12-20 Thread Benjamin Herrenschmidt
Accessing indirect DCRs is done via a pair of address/data DCRs. Such accesses are thus inherently racy, vs. interrupts, preemption and possibly SMP if 4xx SMP cores are ever used. This updates the mfdcri/mtdcri macros in dcr-native.h (which were so far unused) to use a spinlock. In addition, ad

[PATCH 3/21] [POWERPC] 4xx PLB to PCI-X support

2007-12-20 Thread Benjamin Herrenschmidt
This adds base support code for the 4xx PCI-X bridge. It also provides placeholders for the PCI and PCI-E version but they aren't supported with this patch. The bridges are configured based on device-tree properties. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- Tested on 440GP o

[PATCH 4/21] [POWERPC] 4xx PLB to PCI 2.x support

2007-12-20 Thread Benjamin Herrenschmidt
This adds to the previous patch the support for the 4xx PCI 2.x bridges. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- This version implement the basic support for the 405GP bridge, I haven't yet looked at differences that other implementations may have for the PCI 2.x part. arc

[PATCH 5/21] [POWERPC] 4xx PLB to PCI Express support

2007-12-20 Thread Benjamin Herrenschmidt
This adds to the previous 2 patches the support for the 4xx PCI Express cells as found in the 440SPe revA, revB and 405EX. Unfortunately, due to significant differences between these, and other interesting "features" of those pieces of HW, the code isn't as simple as it is for PCI and PCI-X and so

[PATCH 6/21] [POWERPC] PCI support for 4xx Ebony board

2007-12-20 Thread Benjamin Herrenschmidt
This wires up the 4xx PCI support & device tree bits for 440GP based Ebony platform. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/ebony.dts| 41 - arch/powerpc/platforms/44x/Kconfig |1 2 files changed, 37 inse

[PATCH 7/21] [POWERPC] Add early udbg support for 40x processors

2007-12-20 Thread Benjamin Herrenschmidt
This adds some basic real mode based early udbg support for 40x in order to debug things more easily Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig.debug | 13 +++ arch/powerpc/kernel/misc_32.S | 39

  1   2   >