Re: [PATCH -next 1/2] gianfar: Implement proper, per netdevice wakeup management

2009-02-01 Thread David Miller
From: Anton Vorontsov Date: Wed, 28 Jan 2009 23:38:54 +0300 > This patch implements wakeup management for the gianfar driver. > > The driver should set wakeup enable if WOL is enabled, so that > phylib won't power off an attached PHY. > > Signed-off-by: Anton Vorontsov Applied. __

Re: [PATCH -next 2/2] phylib: Rework suspend/resume code to check netdev wakeup capability

2009-02-01 Thread David Miller
From: Anton Vorontsov Date: Wed, 28 Jan 2009 23:39:14 +0300 > In most cases (e.g. PCI drivers) MDIO and MAC controllers are > represented by the same device. But for SOC ethernets we have > separate devices. So, in SOC case, checking whether MDIO > controller may wakeup is not only makes little s

Re: [PATCH] gianfar: Fix sparse warnings

2009-02-01 Thread David Miller
From: Anton Vorontsov Date: Wed, 28 Jan 2009 23:52:20 +0300 > This patch fixes following sparse warnings: ... > Signed-off-by: Anton Vorontsov Also applied, thanks. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/list

Testing DMA on MPC8555 board

2009-02-01 Thread wael showair
Hi All, i have an evaluation board with MPC8555 processor with kernel 2.6.27 the board contains DMA engine. I want to test the DMA on my board by transferring data from a source to destination. I dont know can i do this using the module of dmatest? i have inserted it but i did not get any sign t

Re: Dynamic-ftrace not working in PlayStation3

2009-02-01 Thread Remis
Complementing what Arnd said, we got the dynamic ftrace to work. Just changed 4 things in the *menuconfig*. Before these were built as modules (this is the default I guess): CONFIG_USB=m CONFIG_SOUND=m CONFIG_SND=m CONFIG_SND_USB_AUDIO=m Then got them built into the kernel: CONFIG_USB=y CONFIG_SOU

[PATCH] powerpc: Fix oops on some machines due to incorrect pr_debug()

2009-02-01 Thread Benjamin Herrenschmidt
Recently, a patch left DEBUG enabled in the powerpc common PCI code, resulting in an old bug in a pr_debug() statement to show up and cause a NULL dereference on some machines. This fixes the pr_debug() statement and reverts to DEBUG not being force-enabled in that file. Signed-off-by: Benjamin H

[PATCH] powerpc: Rework I$/D$ coherency (v2)

2009-02-01 Thread Benjamin Herrenschmidt
This patch reworks the way we do I and D cache coherency on PowerPC. The "old" way was split in 3 different parts depending on the processor type: - Hash with per-page exec support (64-bit and >= POWER4 only) does it at hashing time, by preventing exec on unclean pages and cleaning pages on ex

[PATCH] powerpc/44x: Fix address decoding setup of PCI 2.x cells

2009-02-01 Thread Benjamin Herrenschmidt
The PCI 2.x cells used on some 44x SoCs only let us configure the decode for the low 32-bit of the incoming PLB addresses. The top 4 bits (this is a 36-bit bus) are hard wired to different values depending on the specific SoC in use. Our code used to work "by accident" until I added support for the

Re: [PATCH] ftrace: On PowerPC we don't need frame pointers for CALLER_ADDRs

2009-02-01 Thread Benjamin Herrenschmidt
On Sat, 2009-01-31 at 22:06 +0300, Anton Vorontsov wrote: > According to this discussion: > > http://lkml.org/lkml/2008/7/25/338 > http://lkml.org/lkml/2008/7/26/72 > > Frame pointers do nothing useful on PowerPC, so lib/Kconfig.debug > makes CONFIG_FRAME_POINTER unselectable on PPC targets. But

[PATCH] powerpc/4xx: Add missing USB and i2c devices to Canyonlands

2009-02-01 Thread Benjamin Herrenschmidt
This adds the device-tree entries for a handful of devices on the Canyonlands board, such as the EHCI and OHCI controllers, the real time clock and the AD7414 thermal monitor. I also updated the defconfig to enable various options related to these devices. Signed-off-by: Benjamin Herrenschmidt -

[PATCH] powerpc/4xx: Enable PCI domains on 4xx

2009-02-01 Thread Benjamin Herrenschmidt
4xx chips commonly now have multiple PHBs, there is no reason to not enable PCI domains on them. The main issue with PCI domains is X but currently its already somewhat busted for other reasons such as the 36-bit physical address space, which I'm fixing separately. Signed-off-by: Benjamin Herrensc

[PATCH] powerpc: Fix oops on some machines due to incorrect pr_debug() (v2)

2009-02-01 Thread Benjamin Herrenschmidt
Recently, a patch left DEBUG enabled in the powerpc common PCI code, resulting in an old bug in a pr_debug() statement to show up and cause a NULL dereference on some machines. This fixes the pr_debug() statement and reverts to DEBUG not being force-enabled in that file. Signed-off-by: Benjamin H

[PATCH 1/3] drm: Use resource_size_t for drm_get_resource_{start, len}

2009-02-01 Thread Benjamin Herrenschmidt
The DRM uses its own wrappers to obtain resources from PCI devices, which currently convert the resource_size_t into an unsigned long. This is broken on 32-bit platforms with >32-bit physical address space. This fixes them, along with a few occurences of unsigned long used to store such a resourc

[PATCH 2/3] drm: Split drm_map and drm_local_map

2009-02-01 Thread Benjamin Herrenschmidt
Once upon a time, the DRM made the distinction between the drm_map data structure exchanged with user space and the drm_local_map used in the kernel. For some reasons, while the BSD port still has that "feature", the linux part abused drm_map for kernel internal usage as the local map only existed

[PATCH 3/3] drm: Make drm_local_map use a resource_size_t offset

2009-02-01 Thread Benjamin Herrenschmidt
This changes drm_local_map to use a resource_size for its "offset" member instead of an unsigned long, thus allowing 32-bit machines with a >32-bit physical address space to be able to store there their register or framebuffer addresses when those are above 4G, such as when using a PCI video card o

[git pull] Please pull from powerpc.git next branch

2009-02-01 Thread Benjamin Herrenschmidt
Hi Linus ! Some updates for 2.6.29. Note the atyfb change. This is a fix shielded in #ifdef CONFIG_PPC, there is no fbdev maintainer, so Andrew and I decided to send it via my tree. It's a simple workaround for an old regression. The rest is mostly small stuff from Grant who missed -rc2 proba