Re: [PATCH for 2.6.31] powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration

2009-08-24 Thread Geoff Levand
Uytterhoeven geert.uytterhoe...@sonycom.com --- arch/powerpc/platforms/ps3/time.c |4 1 files changed, 4 insertions(+), 0 deletions(-) Acked-by: Geoff Levand geoffrey.lev...@am.sony.com ___ Linuxppc-dev mailing list Linuxppc-dev

[patch] powerpc/ps3: Update ps3_defconfig

2009-08-24 Thread Geoff Levand
Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- Hi Ben, Please send upstream if it is not too late. -Geoff arch/powerpc/configs/ps3_defconfig | 211 + 1 file changed, 75 insertions(+), 136 deletions(-) --- a/arch/powerpc/configs/ps3_defconfig

Re: [patch] powerpc/ps3: Update ps3_defconfig

2009-08-25 Thread Geoff Levand
On 08/24/2009 10:20 PM, Michael Neuling wrote: Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- Hi Ben, Please send upstream if it is not too late. Is the current one broken? Maybe a commit message would be nice :-P The current one is fine. The main change are: o Refresh

[patch v2] powerpc/ps3: Update ps3_defconfig

2009-08-25 Thread Geoff Levand
Update ps3_defconfig. o Refresh for 2.6.31. o Remove MTD support. o Add more HID drivers. Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/configs/ps3_defconfig | 211 + 1 file changed, 75 insertions(+), 136 deletions

Re: Question about linux boot procedure (head_64.S)

2009-09-01 Thread Geoff Levand
On 09/01/2009 05:25 PM, Lee HongWoo wrote: On Wed, Sep 2, 2009 at 2:32 AM, Geoff Levand geoffrey.lev...@am.sony.comwrote: In the general case, __start is the entry point of the kernel. It is where the bootloader or boot wrapper program jumps to when it transfers control to the kernel. I

powerpc/ps3: Workaround for flash memory I/O error

2009-09-09 Thread Geoff Levand
-boot-game-os programs: ps3flash read failed 0x205 os_area_header_read: read error: os_area_header: Input/output error main:627: os_area_read_hp error. ERROR: can't change boot flag Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- drivers/ps3/ps3stor_lib.c | 65

Re: [git pull] Please pull powerpc.git next branch

2009-09-15 Thread Geoff Levand
Hi Ben, On 09/11/2009 12:17 AM, Benjamin Herrenschmidt wrote: This is the powerpc batch for 2.6.32. Will we ever get this one in... http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-June/073567.html -Geoff ___ Linuxppc-dev mailing list

Re: [patch] powerpc: Fixup last users of irq_chip-typename - V2

2009-11-19 Thread Geoff Levand
, .mask = ps3_chip_mask, .unmask = ps3_chip_unmask, .eoi = ps3_chip_eoi, This PS3 part looks OK. Acked-by: Geoff Levand geoffrey.lev...@am.sony.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https

Re: Git tags

2009-12-08 Thread Geoff Levand
On 12/04/2009 03:27 AM, Martyn Welch wrote: Hi Ben, Could you please pull the git tags from Linus' tree when you pull? You'll need to push the tags out to your repo on k.org too... -Geoff ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

[PATCH v2] ps3_gelic_wireless: Fix build failure due to missing WEXT_PRIV

2009-12-18 Thread Geoff Levand
From: Benjamin Herrenschmidt b...@kernel.crashing.org The option to support the old style PSK interface in the PS3 GELIC wireless drivers requires CONFIG_WEXT_PRIV to be set Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com

Re: [PATCH v2] ps3_gelic_wireless: Fix build failure due to missing WEXT_PRIV

2009-12-18 Thread Geoff Levand
On 12/18/2009 10:30 AM, Johannes Berg wrote: On Fri, 2009-12-18 at 10:24 -0800, Geoff Levand wrote: From: Benjamin Herrenschmidt b...@kernel.crashing.org The option to support the old style PSK interface in the PS3 GELIC wireless drivers requires CONFIG_WEXT_PRIV to be set Signed-off

[PATCH v3] ps3_gelic_wireless: Fix build failure due to missing WEXT_PRIV

2009-12-18 Thread Geoff Levand
From: Benjamin Herrenschmidt b...@kernel.crashing.org The option to support the old style PSK interface in the PS3 GELIC wireless drivers requires CONFIG_WEXT_PRIV to be set Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com

Re: Dynamic-ftrace not working in PlayStation3

2009-01-29 Thread Geoff Levand
Hi, Remis Lima Baima wrote: Hi to all. I was tracing a bug in the snd_usb_audio driver (PlayStation 3, Kernel 2.6.29-rc2, git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git) and for that I tried to use the dynamic ftrace to get less debug output. But it did not work at all.

Re: Dynamic-ftrace not working in PlayStation3

2009-01-30 Thread Geoff Levand
Hi, I did a bit of work on this today. Steven Rostedt wrote: ip:d0045aec jumps to d0046340 r2: d0050c00 3d82 398c5740 5740 toc: d0046360 c000 7cac ip:d00458d0 jumps to d0046340 r2: d0050c00 3d82 398c5740 5740

Re: [PATCH] ftrace, powerpc64: fix math to calculate offset in TOC

2009-02-09 Thread Geoff Levand
not run any tracer specific tests though. Acked-by: Geoff Levand geoffrey.lev...@am.sony.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [patch] powerpc/ps3: Use hard coded values for LV1 device type

2009-02-10 Thread Geoff Levand
diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h I tested this scsi header fix on PS3 and it fixes the BLK_MAX_CDB not defined build error when CONFIG_BLOCK=n. Acked-by: Geoff Levand geoffrey.lev...@am.sony.com ___ Linuxppc-dev

problem with numa reserve bootmem

2009-02-10 Thread Geoff Levand
Hi Jon, Jon Tollefson wrote: This patch takes out the reserved region loop from inside the loop that goes over each node. It looks up the active region containing the start of the reserved region. If it extends past that active region then it adjusts the size and gets the next active region

[RFC patch] powerpc: Add topology_ready to machdep calls

2009-02-11 Thread Geoff Levand
. Currently, there is no mechanism for the platform code to know when the nodes have been registered, and hence, when it is safe to add hot plug memory. Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/include/asm/machdep.h |1 + arch/powerpc/kernel/sysfs.c

[RFC patch] powerpc/ps3: Add ps3_topology_ready routine

2009-02-11 Thread Geoff Levand
=y. Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/platforms/ps3/mm.c |4 +--- arch/powerpc/platforms/ps3/platform.h |1 + arch/powerpc/platforms/ps3/setup.c|6 ++ 3 files changed, 8 insertions(+), 3 deletions(-) --- a/arch/powerpc/platforms/ps3

Re: [PATCH] PS3 ps3av_set_video_mode() make id signed

2009-02-12 Thread Geoff Levand
Roel Kluin wrote: Make id signed so a negative id will get noticed. Error out if ps3av_auto_videomode() fails. Signed-off-by: Roel Kluin roel.kl...@gmail.com --- arch/powerpc/include/asm/ps3av.h |2 +- drivers/ps3/ps3av.c | 16 2 files changed, 13

[patch] powerpc/ps3: Move ps3_mm_add_memory to device_initcall

2009-02-12 Thread Geoff Levand
() fails the system will boot with just the 128 MiB of boot memory Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- Ben, Please send upstream for 2.6.29, as this effects the current Fedora 11 development kernel, and maybe other distros which are based on 2.6.29. arch/powerpc/platforms

[patch] powerpc: fix numa reserve bootmem page selection

2009-02-12 Thread Geoff Levand
. That is, of course, physbase. If we don't use physbase here, the reserve_size can be made too large. From: Dave Hansen d...@linux.vnet.ibm.com Tested-by: Geoff Levand geoffrey.lev...@am.sony.com Tested on PS3. --- linux-2.6.git-dave/arch/powerpc/mm/numa.c |5 +++-- 1 file changed, 3 insertions(+), 2

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Geoff Levand
On 02/12/2009 03:41 PM, Steven Rostedt wrote: On Thu, 12 Feb 2009, Geoff Levand wrote: On 02/11/2009 05:10 PM, Steven Rostedt wrote: This is the port to PowerPC of the function graph tracer that was written by Frederic Weisbecker for the x86 architecture. It is broken up into a series

Re: NFS-boot on PS3, kboot can't mount nfs-dir.s

2009-02-18 Thread Geoff Levand
On 02/17/2009 03:14 PM, gt bradley wrote: I'm trying to set up my PS3 to netboot (with an nfsroot). I'm using instructions at http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-howto/ps3-nfs-root-howto.txt I've passed section 3 (using tftp) to verify network /dhcp etc. (i.e.

Re: Lock-up on PPC64

2009-02-23 Thread Geoff Levand
On 01/05/2009 07:46 AM, Arnd Bergmann wrote: On Sunday 28 December 2008, malc wrote: Now to the Christmas cheer, i've tried v2.6.28 and couldn't help but notice that the problem is gone, bisecting v2.6.27 (which funnily i had to mark good) to v2.6.28 (which has to be marked bad) wasn't fun

[patch 2/3] powerpc/ps3: Print memory hotplug errors

2009-03-03 Thread Geoff Levand
To help users diagnose hotpug memory problems, change the printing of memory hotplug errors from DBG() to pr_err(). Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/platforms/ps3/mm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/powerpc

[patch 1/3] powerpc: Add missing DABR flags

2009-03-03 Thread Geoff Levand
The powerpc 64 bit architecture defines three flags for the DABR (Data Address Breakpoint Register). Add definitions for the currently missing DABR_DATA_WRITE and DABR_DATA_READ flags to the powerpc reg.h file. Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/include/asm

[patch 0/3] 2.6.30 next patches

2009-03-03 Thread Geoff Levand
Hi Ben, This is a small set of patches for your 2.6.30 next branch. [patch 1/3] powerpc: Add missing DABR flags [patch 2/3] powerpc/ps3: Print memory hotplug errors [patch 3/3] powerpc/ps3: Make ps3av_set_video_mode mode ID signed -Geoff -- ___

[patch 3/3] powerpc/ps3: Make ps3av_set_video_mode mode ID signed

2009-03-03 Thread Geoff Levand
From: roel kluin roel.kl...@gmail.com Change the ps3av_auto_videomode() mode id argument type from unsigned to signed so a negative id can be detected and reported as an -EINVAL failure. Signed-off-by: Roel Kluin roel.kl...@gmail.com Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com

[patch 2.6.29] powerpc/ps3: ps3_defconfig updates

2009-03-06 Thread Geoff Levand
Update ps3_defconfig. Sets these options: CONFIG_PS3_VRAM=m CONFIG_BLK_DEV_DM=m CONFIG_USB_HIDDEV=y CONFIG_EXT4_FS=y CONFIG_DYNAMIC_FTRACE=y Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- Ben, Please send upstream for 2.6.29. -Geoff arch/powerpc/configs/ps3_defconfig

Re: [PATCH] ps3/block: Replace mtd/ps3vram by block/ps3vram

2009-03-09 Thread Geoff Levand
/mtd/devices/ps3vram.c Looks good, certainly an improvement. Acked-by: Geoff Levand geoffrey.lev...@am.sony.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [rtc-linux] [PATCH 7/7] powerpc/ps3: Add rtc-ps3

2009-03-09 Thread Geoff Levand
Hi, On 03/09/2009 07:12 AM, Alessandro Zummo wrote: On Mon, 9 Mar 2009 14:26:23 +0100 Geert Uytterhoeven geert.uytterhoe...@sonycom.com wrote: + +MODULE_AUTHOR(Sony Corporation); real name, if possible and a contact address here . Just in case I need someone to bother :) Please look

Re: [PATCH 7/7] powerpc/ps3: Add rtc-ps3

2009-03-09 Thread Geoff Levand
On 03/09/2009 06:26 AM, Geert Uytterhoeven wrote: Create a real RTC driver for PS3, and unhook the deprecated ppc_md.[gs]et_rtc_time. 8 files changed, 132 insertions(+), 18 deletions(-) Sorry, I hadn't been following the discussion closely, but could you explain why we are going from a

Re: [rtc-linux] Re: [PATCH 7/7] powerpc/ps3: Add rtc-ps3

2009-03-09 Thread Geoff Levand
Hi, On 03/09/2009 11:43 AM, Alessandro Zummo wrote: Geoff Levand geoffrey.lev...@am.sony.com wrote: On 03/09/2009 07:12 AM, Alessandro Zummo wrote: On Mon, 9 Mar 2009 14:26:23 +0100 Geert Uytterhoeven geert.uytterhoe...@sonycom.com wrote: + +MODULE_AUTHOR(Sony Corporation); real

Re: [PATCH 7/7] powerpc/ps3: Add rtc-ps3

2009-03-10 Thread Geoff Levand
On 03/09/2009 06:26 AM, Geert Uytterhoeven wrote: Create a real RTC driver for PS3, and unhook the deprecated ppc_md.[gs]et_rtc_time. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/include/asm/ps3.h

[patch 2.6.29 v2] powerpc/ps3: ps3_defconfig updates

2009-03-13 Thread Geoff Levand
Update ps3_defconfig. Sets these options: CONFIG_PS3_VRAM=m CONFIG_BLK_DEV_DM=m CONFIG_USB_HIDDEV=y CONFIG_EXT4_FS=y Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- Ben, Here is an updated patch (v2). I removed CONFIG_DYNAMIC_FTRACE from this one. Please send upstream

Re: kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory

2009-03-31 Thread Geoff Levand
On 03/31/2009 04:52 PM, Michael Ellerman wrote: On Tue, 2009-03-31 at 18:25 +0200, Geert Uytterhoeven wrote: With today's kernel, I can no longer kexec any kernel on PS3: | /proc/device-tree/chosen/linux,kernel-end: No such file or directory | Could not get memory layout Today's bad

[patch 2/4] powerpc/ps3: Fix no flash build warning

2009-04-16 Thread Geoff Levand
Fix build warnings like these when CONFIG_PS3_FLASH=n: arch/powerpc/platforms/ps3/os-area.c: warning: 'update_flash_db' defined but not used Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/platforms/ps3/os-area.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[patch 0/4] PS3 2.6.30 patches

2009-04-16 Thread Geoff Levand
Hi Paul, This is a small set of patches for 2.6.30. (1) and (2) are simple build fixes. (3) is a patch by Milton submitted back in October that seems to have beed missed. Could you consider it for 2.6.30? (4) is an update to the MAINTAINERS file. Can you take it? [patch 1/4] powerpc/ps3:

[patch 1/4] powerpc/ps3: Fix no SMP build error

2009-04-16 Thread Geoff Levand
of 'smp_send_stop' was here Reported-by: Subrata Modak subr...@linux.vnet.ibm.com Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/platforms/ps3/setup.c |4 1 file changed, 4 deletions(-) --- a/arch/powerpc/platforms/ps3/setup.c +++ b/arch/powerpc/platforms/ps3/setup.c

[patch 4/4] maintainers: Fix PS3 patterns

2009-04-16 Thread Geoff Levand
Correct the MAINTAINERS file patterns for PS3. Removes some PS3 patterns that were under 'CELL BROADBAND ENGINE ARCHITECTURE', and adds missing PS3 sound and RTC driver patterns. CC: Arnd Bergmann a...@arndb.de Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- MAINTAINERS |5

[patch 3/4] powerpc ps3: use smp_request_message_ipi

2009-04-16 Thread Geoff Levand
ps3 has 4 ipis per cpu and can use the new smp_request_message_ipi to reduce path length when receiving an ipi. This has the side effect of setting IRQF_PERCPU. Signed-off-by: Milton Miller milt...@bga.com Acked-by: Geoff Levand geoffrey.lev...@am.sony.com Index: next.git/arch/powerpc/platforms

Re: [BUILD FAILURE 03/12] Next April 14 : PPC64 randconfig [arch/powerpc/platforms/ps3/setup.c]

2009-04-16 Thread Geoff Levand
On 04/14/2009 11:28 AM, Subrata Modak wrote: Observed the following build error: --- arch/powerpc/platforms/ps3/setup.c:49: error: redefinition of ‘smp_send_stop’ include/linux/smp.h:125: error: previous definition of ‘smp_send_stop’ was here Hi Subrata, Thanks for the report. I submitted

[patch] powerpc/pasemi: Fix no SMP build error

2009-04-17 Thread Geoff Levand
of 'smp_send_stop' was here Reported-by: subr...@linux.vnet.ibm.com Signed-off-by: Geoff Levand geoffrey.lev...@am.sony.com --- diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c index c64fb5b..153051e 100644 --- a/arch/powerpc/platforms/pasemi/setup.c

Re: [RFC] [POWERPC] bootwrapper: build multiple cuImages

2008-01-31 Thread Geoff Levand
On 01/30/2008 04:34 PM, Grant Likely wrote: --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile ... $(obj)/zImage.ps3: vmlinux $(wrapper) $(wrapperbits) $(srctree)/$(src)/dts/ps3.dts Seems like this could use $(dtstree). $(STRIP) -s -R .comment $ -o vmlinux.strip -

Re: [PATCH v3] [POWERPC] bootwrapper: build multiple cuImages

2008-02-06 Thread Geoff Levand
Grant Likely wrote: diff --git a/arch/powerpc/boot/cuboot-hpc2.c b/arch/powerpc/boot/cuboot-mpc7448hpc2.c similarity index 100% rename from arch/powerpc/boot/cuboot-hpc2.c rename to arch/powerpc/boot/cuboot-mpc7448hpc2.c This is not a proper patch. No rule to make target

[patch 0/6] PS3 fixups for 2.6.25

2008-02-08 Thread Geoff Levand
Paul, Here are a few PS3 fixups to apply for 2.6.25. [patch 1/6] PS3: Fix lpm set bookmark [patch 2/6] PS3: Fix lpm read pm interval [patch 3/6] PS3: Fix bootwrapper hang bug [patch 4/6] PS3: Use system reboot on restart [patch 5/6] PS3: Sys-manager code cleanup [patch 6/6] PS3:

[patch 1/6] PS3: Fix lpm set bookmark

2008-02-08 Thread Geoff Levand
of the db10cyc instruction did not work correctly. This change replaces the db10cyc instruction with 10 nop instructions. Signed-off-by: Takashi Yamamoto [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- drivers/ps3/ps3-lpm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[patch 4/6] PS3: Use system reboot on restart

2008-02-08 Thread Geoff Levand
-by: Geoff Levand [EMAIL PROTECTED] --- drivers/ps3/ps3-sys-manager.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- a/drivers/ps3/ps3-sys-manager.c +++ b/drivers/ps3/ps3-sys-manager.c @@ -622,7 +622,7 @@ static void ps3_sys_manager_final_restar ps3_vuart_cancel_async(dev

[patch 5/6] PS3: Sys-manager code cleanup

2008-02-08 Thread Geoff Levand
General code cleanups for PS3 system-manager: o Move all MODULE_ macros to bottom. o Correct PS3_SM_WAKE_P_O_R value. o Enhance comment on wakeup source values. Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- drivers/ps3/ps3-sys-manager.c | 13 +++-- 1 file changed, 7 insertions

[patch 2/6] PS3: Fix lpm read pm interval

2008-02-08 Thread Geoff Levand
From: Takashi Yamamoto [EMAIL PROTECTED] ps3_read_pm (pm_interval) should return an actual HW register value because the pm_interval register is a counter register. This patch removes the shadow pm_interval register. Signed-off-by: Takashi Yamamoto [EMAIL PROTECTED] Signed-off-by: Geoff Levand

[patch 3/6] PS3: Fix bootwrapper hang bug

2008-02-08 Thread Geoff Levand
, the system hangs with a blank screen. Earlier firmwares don't cause such a catastrophic failure, and so this bug went undetected. Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- arch/powerpc/boot/ps3-hvcall.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/boot/ps3

[patch 6/6] PS3: Update sys-manager button events

2008-02-08 Thread Geoff Levand
PS3 firmware 1.94 added the source of power and reset events to the payload of the system manager POWER_PRESSED and RESET_PRESSED events. Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- drivers/ps3/ps3-sys-manager.c | 29 +++-- 1 file changed, 23 insertions(+), 6

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-16 Thread Geoff Levand
On 02/16/2008 08:08 AM, Roel Kluin wrote: The patch below was not yet tested. If it's correct as it is, please comment. - if (unlikely(plug) == NO_IRQ) { + if (unlikely(plug == NO_IRQ)) { A good catch! I'll put it in with some other 2.6.25 bug fixes. -Geoff

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-16 Thread Geoff Levand
On 02/16/2008 09:42 AM, Arjan van de Ven wrote: On Sat, 16 Feb 2008 18:33:16 +0100 Willy Tarreau [EMAIL PROTECTED] wrote: On Sat, Feb 16, 2008 at 09:25:52AM -0800, Arjan van de Ven wrote: On Sat, 16 Feb 2008 17:08:01 +0100 Roel Kluin [EMAIL PROTECTED] wrote: The patch below was not

Re: [PATCH] ps3: Fix unlikely incorrect usage

2008-02-24 Thread Geoff Levand
On 02/24/2008 12:06 AM, Samuel Tardieu wrote: Fix unlikely(plug) == NO_IRQ into unlikely(plug == NO_IRQ). Signed-off-by: Samuel Tardieu [EMAIL PROTECTED] --- arch/powerpc/platforms/ps3/interrupt.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Thanks for the submission, but

[patch] PS3: Fix unlikely typo in ps3_get_irq

2008-02-28 Thread Geoff Levand
From: Roel Kluin [EMAIL PROTECTED] Fix a typo bug 'unlikely(x) == y' and add an unlikely() call to an unlikely code path in the PS3 interrupt routine ps3_get_irq(). Signed-off-by: Roel Kluin [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- Hi Paul, Please apply for 2.6.25

Re: [PATCH 0/3] hotplug memory remove updates

2008-02-28 Thread Geoff Levand
Hi. Nathan Lynch wrote: Badari Pulavarty wrote: Hi Paul, Here are the hotplug memory remove updates for 2.6.25-rc2-mm1. How have these been tested? Have you initiated a memory remove operation from the HMC? That's the only way to catch some bugs... I'm wondering how the memory hot

Re: [PATCH] [POWERPC] bootwrapper: Allow specifying of image physical offset

2008-03-07 Thread Geoff Levand
On 03/07/2008 08:55 AM, Kumar Gala wrote: Normally we assume kernel images will be loaded at offset 0. However there are situations, like when the kernel itself is running at a non-zero physical address, that we don't want to load it at 0. Allow the wrapper to take an offset. We use this

[patch 0/6] PS3 patches for 2.6.26

2008-03-26 Thread Geoff Levand
Paul and Jeff, This is a small set of PS3 patches for 2.6.26. Patches 1-5 are ready to apply to the powerpc tree. Patch 6 for the network driver needs an ACK by Jeff. [1/6] PS3: Fix unlikely typo in ps3_get_irq [2/6] PS3: Add ps3_get_speid routine [3/6] PS3: Bootwrapper improvements

[patch 1/6] PS3: Fix unlikely typo in ps3_get_irq

2008-03-26 Thread Geoff Levand
From: Roel Kluin [EMAIL PROTECTED] Fix a typo bug 'unlikely(x) == y' and add an unlikely() call to an unlikely code path in the PS3 interrupt routine ps3_get_irq(). Signed-off-by: Roel Kluin [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- arch/powerpc/platforms/ps3

[patch 2/6] PS3: Add ps3_get_speid routine

2008-03-26 Thread Geoff Levand
From: Takashi Yamamoto [EMAIL PROTECTED] Add a new routine ps3_get_speid() which returns the logical SPE ID. This ID is needed for profiling support. Signed-off-by: Takashi Yamamoto [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- arch/powerpc/platforms/ps3/spu.c |7

[patch 3/6] PS3: Bootwrapper improvements

2008-03-26 Thread Geoff Levand
if the overlay code is too big. o Remove some unused instructions. o Update the text describing the PS3 bootwrapper overlay. o Add a check for null pointer writes. o Change hcall return value from s64. Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- arch/powerpc/boot/ps3-head.S | 25

[patch 4/6] PS3: Save power in busy loops on halt

2008-03-26 Thread Geoff Levand
-by: Geoff Levand [EMAIL PROTECTED] --- arch/powerpc/platforms/ps3/setup.c | 12 +++- drivers/ps3/ps3-sys-manager.c | 30 -- drivers/ps3/sys-manager-core.c | 16 ++-- include/asm-powerpc/ps3.h |5 +++-- 4 files changed, 44

[patch 5/6] PS3: Sys-manager Wake-on-LAN support

2008-03-26 Thread Geoff Levand
Add Wake-on-LAN support to the PS3 system-manager. Other OS WOL support was introduced in PS3 system firmware 2.20. Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- drivers/ps3/ps3-sys-manager.c | 46 -- include/asm-powerpc/ps3.h |2 + 2 files

[patch 6/6] PS3: Gelic network driver Wake-on-LAN support

2008-03-26 Thread Geoff Levand
From: Masakazu Mokuno [EMAIL PROTECTED] Add Wake-on-LAN support to the PS3 Gelic network driver. Other OS WOL support was introduced in PS3 system firmware 2.20. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 81

Re: [patch 5/6] PS3: Sys-manager Wake-on-LAN support

2008-03-26 Thread Geoff Levand
Hi, Benjamin Herrenschmidt wrote: On Wed, 2008-03-26 at 17:39 -0700, Geoff Levand wrote: Add Wake-on-LAN support to the PS3 system-manager. Other OS WOL support was introduced in PS3 system firmware 2.20. There is no sleep in the first place tho :-) Or does this power it up / boot

[patch 3/6 v2] PS3: Bootwrapper improvements

2008-03-27 Thread Geoff Levand
if the overlay code is too big. o Remove some unused instructions. o Update the text describing the PS3 bootwrapper overlay. o Add a check for null pointer writes. o Change hcall return value from s64. Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- v2: o Cleanup null check code. arch/powerpc

[patch] PS3: Split device setup for static vs. dynamic devices

2008-03-28 Thread Geoff Levand
of storage devices that may appear later in the PS3 repository. This fixes a few section mismatch warnings. Signed-off-by: Geert Uytterhoeven [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- Hi Paul, Here is another one for 2.6.26 that Geert just sent me. Please apply

[patch] PS3: Fix gelic net module dependency

2008-04-09 Thread Geoff Levand
reference to `.ps3_sys_manager_set_wol' CC: Masakazu Mokuno [EMAIL PROTECTED] CC: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- Hi Paul, This fixes an error introduced in my 2.6.26 WOL patches now queued in your powerpc tree. Please apply. -Geoff drivers/net

Re: PS3 Storage Driver O_DIRECT issue

2007-07-17 Thread Geoff Levand
Geert Uytterhoeven wrote: On Fri, 13 Jul 2007, Olaf Hering wrote: This driver (or the generic PS3 code) has appearently problems with O_DIRECT. glibc aborts parted because the malloc metadata get corrupted. While it is reproducible, the place where it crashes changes with every version of

PS3: Fix build with 32-bit toolchains

2007-07-19 Thread Geoff Levand
The PS3 bootwrapper files use instructions only available on 64-bit CPUs. Add the code generation directive '.machine ppc64' for toolchains configured for 32-bit CPUs. Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- Paul, Please apply for 2.6.23-rc1. arch/powerpc/boot/ps3-head.S |2

PS3: Fix build with 32-bit toolchains

2007-07-20 Thread Geoff Levand
The PS3 bootwrapper files use instructions only available on 64-bit CPUs. Add the code generation directive '.machine ppc64' for toolchains configured for 32-bit CPUs. Signed-off-by: Geoff Levand [EMAIL PROTECTED] Acked-by: Grant Likely [EMAIL PROTECTED] --- Hi Andrew, It seems Paul is out

Re: [PATCH][36/37] Clean up duplicate includes in sound/ppc/

2007-07-23 Thread Geoff Levand
@@ #include linux/dmapool.h #include linux/dma-mapping.h #include asm/firmware.h -#include linux/io.h #include asm/dma.h #include asm/lv1call.h #include asm/ps3.h Acked-by: Geoff Levand [EMAIL PROTECTED] ___ Linuxppc-dev mailing list Linuxppc

[PATCH v2] cell: move SPU affinity init to spu_management_of_ops

2007-08-03 Thread Geoff Levand
changes were made. Signed-off-by: Andre Detsch [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- Arnd, I rebased this to to Paul's powerpc git tree. This needs to go in for 2.6.23, as it fixes build breakage for PS3-only configs. Please check and ack. -Geoff arch/powerpc

[patch 2/3 v2] PS3: Remove incomplete message

2007-08-08 Thread Geoff Levand
Remove the Kconfig message that indicates the PS3 platform support is incomplete. Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- v2 changes: o Fix typo pointed out by Geert arch/powerpc/platforms/ps3/Kconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/arch

[patch 1/3 v2] PS3: Fix storage probe logic

2007-08-08 Thread Geoff Levand
handling. o Change ps3_storage_wait_for_device() to use a temporary variable to hold the buffer address. Signed-off-by: Geert Uytterhoeven [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- V2 changes: o Correct the value the returned notify_event-event_type is compared to. arch

Re: [PATCH v2] cell: move SPU affinity init to spu_management_of_ops

2007-08-09 Thread Geoff Levand
Geoff Levand wrote: Arnd Bergmann wrote: On Saturday 04 August 2007, Geoff Levand wrote: From: Andre Detsch [EMAIL PROTECTED] This patch moves affinity initialization code from spu_base.c to a new spu_management_of_ops function (init_affinity), which is empty in the case of PS3

Re: DTC 1.0.0 Release Coming?

2007-08-09 Thread Geoff Levand
David Gibson wrote: Except didn't you say you were going to work with Stephen to get DTC into the kernel source itself? Keeping things similar to Kbuild might help in that effort. Actually, after discussions with Stephen and Paulus, we decided not to take this route. Could you please let

Re: DTC 1.0.0 Release Coming?

2007-08-10 Thread Geoff Levand
Segher Boessenkool wrote: Actually, after discussions with Stephen and Paulus, we decided not to take this route. In any case having Kbuild like versioning wouldn't actually help us any in integrating into a full Kbuild system. Can you elaborate why you decided not to? I'm just curious.

Re: DTC 1.0.0 Release Coming?

2007-08-10 Thread Geoff Levand
Paul Mackerras wrote: David Gibson writes: We decided that since a formal dtc release was imminent, it would be simpler to make dtc a new kernel build requirement, rather than integrate the substantial blob of dtc code into the kernel tree and then have to deal with the maintenance /

Re: [PATCH] [392/2many] MAINTAINERS - PS3 PLATFORM SUPPORT

2007-08-13 Thread Geoff Levand
From: [EMAIL PROTECTED] Add file pattern to MAINTAINER entry Signed-off-by: Joe Perches [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- I also maintain the file include/asm-powerpc/lv1call.h. This updated patch adds that file. -Geoff MAINTAINERS |7 +++ 1 file

Re: [PATCH] ps3: Fix no storage devices found

2007-08-14 Thread Geoff Levand
splitting. Please apply as soon as possible. Thanks! Looks good. Acked-by: Geoff Levand [EMAIL PROTECTED] ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] PS3: fix the bug the major version part is not compared

2007-08-28 Thread Geoff Levand
Masakazu Mokuno wrote: Fix the bug that the major version part of the firmware is not compared. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] CC: Geoff Levand [EMAIL PROTECTED] --- arch/powerpc/platforms/ps3/setup.c |2 +- include/asm-powerpc/ps3.h |2 +- 2 files

[patch 1/2] PS3: Clear SPU Class 0 interrupts in handler

2007-09-04 Thread Geoff Levand
. Signed-off-by: Masato Noguchi [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- Arnd, please consider for 2.6.24. Tested on QS20, and seems OK. arch/powerpc/platforms/cell/spu_base.c | 23 +++ include/asm-powerpc/spu.h |2 +- 2 files

[patch 2/2] Cell: Wrap master run control bit

2007-09-04 Thread Geoff Levand
control wrapper routines. The bare metal routines use the master run control bit, and the PS3 specific routines use the priv2 run control register. Signed-off-by: Masato Noguchi [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- Arnd, please consider for 2.6.24. arch/powerpc

Re: [PATCH 2.6.23] PS3: Ignore storage devices that are still being probed

2007-09-07 Thread Geoff Levand
by users, so it would be nice for it to go in for 2.6.23 if possible. Sorry for it being so late. Acked-by: Geoff Levand [EMAIL PROTECTED] ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [Cbe-oss-dev] [patch 0/8] PS3 AV Settings Driver patches for 2.6.24

2007-09-27 Thread Geoff Levand
Michael Ellerman wrote: On Wed, 2007-09-26 at 18:33 +0200, Geert Uytterhoeven wrote: Hi, Here are some new patches for the PS3 AV Settings Driver (ps3av), which is used in close collaboration with the PS3 Virtual Frame Buffer Device Driver (ps3fb): [1] ps3av: eliminate unneeded

Re: [Cbe-oss-dev] [patch 0/8] PS3 AV Settings Driver patches for 2.6.24

2007-09-28 Thread Geoff Levand
Michael Ellerman wrote: On Thu, 2007-09-27 at 10:23 -0700, Geoff Levand wrote: Michael Ellerman wrote: On Wed, 2007-09-26 at 18:33 +0200, Geert Uytterhoeven wrote: Question: As several DVI-D displays advertise they support 1080i modes while they actually don't (cfr. the quirk database

Re: [RFC] PPC64 Exporting memory information through /proc/iomem

2007-10-02 Thread Geoff Levand
Hi Badari, Badari Pulavarty wrote: Hi Paul Ben, I am trying to get hotplug memory remove working on ppc64. In order to verify a given memory region, if its valid or not - current hotplug-memory patches used /proc/iomem. On IA64 and x86-64 /proc/iomem shows all memory regions. I am

Re: [RFC] PPC64 Exporting memory information through /proc/iomem

2007-10-02 Thread Geoff Levand
Badari Pulavarty wrote: On Tue, 2007-10-02 at 13:11 -0700, Geoff Levand wrote: Hi Badari, Badari Pulavarty wrote: Hi Paul Ben, I am trying to get hotplug memory remove working on ppc64. In order to verify a given memory region, if its valid or not - current hotplug-memory patches

Re: [patch 2/6] PS3: Remove unused os-area params

2007-10-08 Thread Geoff Levand
Ranulf Doswell wrote: On 06/10/2007, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: struct saved_params { - /* param 0 */ s64 rtc_diff; unsigned int av_multi_out; - unsigned int ctrl_button; - /* param 1 */ - u8

Re: [patch 6/6] PS3: Add os-area database routines

2007-10-08 Thread Geoff Levand
Ranulf Doswell wrote: On 06/10/2007, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: enum os_area_db_owner { OS_AREA_DB_OWNER_ANY = -1, OS_AREA_DB_OWNER_NONE = 0, OS_AREA_DB_OWNER_PROTOTYPE = 1, OS_AREA_DB_OWNER_LINUX =

Re: [patch 2/6] PS3: Remove unused os-area params

2007-10-08 Thread Geoff Levand
Ranulf Doswell wrote: On 08/10/2007, *Geoff Levand* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ranulf Doswell wrote: As these values are correctly populated by the hypervisor from the preferences on the standard PS3 OS, it is incredibly useful to have

Re: [patch 6/6] PS3: Add os-area database routines

2007-10-08 Thread Geoff Levand
Ranulf Doswell wrote: On 08/10/2007, *Geoff Levand* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How do we go about claiming one of these OS_AREA_DB_OWNER_ keys? I'd very much like to use this functionality in my python-ps3 games library. It sounds like you should

[patch v2] PS3: Add os-area database routines

2007-10-08 Thread Geoff Levand
the ps3-utils package can be used for userspace database operations. The latest ps3-utils package is available here: git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-utils.git Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- v2: Address Geert's comments: o Replace numeric initializers

Re: [patch 6/6] PS3: Add os-area database routines

2007-10-08 Thread Geoff Levand
Geert Uytterhoeven wrote: On Sat, 6 Oct 2007 [EMAIL PROTECTED] wrote: --- a/arch/powerpc/platforms/ps3/os-area.c +++ b/arch/powerpc/platforms/ps3/os-area.c @@ -112,10 +114,91 @@ struct os_area_params { u8 _reserved_5[8]; }; +/** + * struct os_area_db - Shared flash memory

Re: [patch 6/6] PS3: Add os-area database routines

2007-10-08 Thread Geoff Levand
Geert Uytterhoeven wrote: On Sat, 6 Oct 2007 [EMAIL PROTECTED] wrote: --- a/arch/powerpc/platforms/ps3/os-area.c +++ b/arch/powerpc/platforms/ps3/os-area.c +static int db_get_video_mode(const struct os_area_db *db, +unsigned int *video_mode) ^^ +{ +return

[patch v2] PS3: Fix printing of os-area magic numbers

2007-11-22 Thread Geoff Levand
to the display. CC: Geert Uytterhoeven [EMAIL PROTECTED] Signed-off-by: Geoff Levand [EMAIL PROTECTED] --- v2: handle unprintable chars. Paul, This fixes a very minor bug in linus' current tree. Please consider for 2.6.24. -Geoff arch/powerpc/platforms/ps3/os-area.c | 23 +-- 1 file

Re: [PATCH 1/2] powerpc: add hugepagesz boot-time parameter

2007-11-28 Thread Geoff Levand
Arnd Bergmann wrote: On Wednesday 28 November 2007, Mel Gorman wrote: On (28/11/07 08:26), Arnd Bergmann didst pronounce: On Wednesday 28 November 2007, Jon Tollefson wrote: This patch adds the hugepagesz boot-time parameter for ppc64 that lets you pick the size for your huge pages.

  1   2   3   4   5   6   >