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) > ^^ >> +{ >> +

Re: [PATCH 5/5] [PPC] provide walk_memory_resource() for ppc

2008-05-12 Thread Geoff Levand
Hi, I've had some trouble with this change. Badari Pulavarty wrote: > Provide walk_memory_resource() for ppc64. PPC maintains > logic memory region mapping in lmb.memory structures. Walk > through these structures and do the callbacks for the > contiguous chunks. ... > --- linux-2.6.25-rc3.ori

[rfc patch] memory_hotplug: Check for walk_memory_resource() failure in online_pages()

2008-05-12 Thread Geoff Levand
Add a check to online_pages() to test for failure of walk_memory_resource(). This fixes a condition where a failure of walk_memory_resource() can lead to online_pages() returning success without the requested pages being onlined. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- I

PS3: Fix memory hotplug

2008-05-13 Thread Geoff Levand
boot memory. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- Paul, Please send this one upstream at your earliest convenience. -Geoff arch/powerpc/platforms/ps3/mm.c |2 ++ 1 file changed, 2 insertions(+) --- a/arch/powerpc/platforms/ps3/mm.c +++ b/arch/powerpc/platforms/ps

Re: Convert remaining dts-v0 files to v1

2008-05-15 Thread Geoff Levand
; --- working-2.6.orig/arch/powerpc/boot/dts/ps3.dts2008-05-15 > 16:32:08.0 +1000 > +++ working-2.6/arch/powerpc/boot/dts/ps3.dts 2008-05-15 16:32:08.00000 > +1000 I tested this on PS3 and it seems to work OK. Acked-by: Geoff Levand <[EMAIL PROTECTED]> _

[patch v2] PS3: Fix memory hotplug

2008-05-15 Thread Geoff Levand
boot memory. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- v2: Add call to lmb_analyze(). arch/powerpc/platforms/ps3/mm.c |3 +++ 1 file changed, 3 insertions(+) --- a/arch/powerpc/platforms/ps3/mm.c +++ b/arch/powerpc/platforms/ps3/mm.c @@ -317,6 +317,9 @@ static int

Re: [RFC] [PATCH] vmemmap fixes to use smaller pages

2008-05-15 Thread Geoff Levand
Benjamin Herrenschmidt wrote: > This patch changes vmemmap to use a different region (region 0xf) of the > address space whose page size can be dynamically configured at boot. This doesn't seem to cause any problems, and users successfully used it with the ubuntu hardy kernel, so I think it is OK

[rfc] [patch] LMB: Add basic spin locking to lmb

2008-05-19 Thread Geoff Levand
Add a spinlock to struct lmb to enforce concurrency in lmb_add(), lmb_remove(), lmb_analyze(), and lmb_dump_all(). This locking is needed for SMP systems that access the lmb structure during hot memory add and remove operations after secondary cpus have been started. Signed-off-by: Geoff Levand

[patch v2] LMB: Add basic spin locking to lmb

2008-05-19 Thread Geoff Levand
: Geoff Levand <[EMAIL PROTECTED]> --- v2: o Add locking to lmb_find(). include/linux/lmb.h |1 lib/lmb.c | 62 2 files changed, 49 insertions(+), 14 deletions(-) --- a/include/linux/lmb.h +++ b/include/linux/lmb.h @@ -30,6

Re: [patch v2] PS3: Fix memory hotplug

2008-05-21 Thread Geoff Levand
Geoff Levand wrote: > A change was made to walk_memory_resource() in commit > 4b119e21d0c66c22e8ca03df05d9de623d0eb50f that added a > check of find_lmb(). Add the coresponding lmb_add() > call to ps3_mm_add_memory() so that that check will > succeed. > > This fixes the co

Re: PS3: Fix memory hotplug

2008-05-21 Thread Geoff Levand
Paul Mackerras wrote: > Benjamin Herrenschmidt writes: > >> When you do an lmb_add you should probably also do an lmb_analyze to >> update the total memory count etc... >> >> That leads to some interesting issues such as the LMB stuff wasn't >> really meant to be dynamically modified after boot,

Debian kernel updates for Cell platforms

2008-05-24 Thread Geoff Levand
I made an updated debian config.powerpc64 to enable support for the PS3 and fix the QS20 and QS21 options. I put a kernel, initrd and modules archive here: http://cell.gotdns.org/pub/debian-cell-kernel-1/ Could people please test and report on various powerpc64 platforms. -Geoff

Re: [rtc-linux] state of GEN_RTC vs rtc subsystem

2008-05-30 Thread Geoff Levand
Alessandro Zummo wrote: > On Wed, 20 Feb 2008 10:11:23 -0600 > Kumar Gala <[EMAIL PROTECTED]> wrote: > >> >> Is the functionality provided by drivers/char/gen_rtc.c completely >> handled by the rtc subsystem in drivers/rtc? >> >> I ask for two reasons: >> 1. should we make it mutually exclusiv

Re: [rtc-linux] state of GEN_RTC vs rtc subsystem

2008-06-02 Thread Geoff Levand
Geoff Levand wrote: > Alessandro Zummo wrote: >> On Wed, 20 Feb 2008 10:11:23 -0600 >> Kumar Gala <[EMAIL PROTECTED]> wrote: >> >>> >>> Is the functionality provided by drivers/char/gen_rtc.c completely >>> handled by the rtc subsystem

Re: [Cbe-oss-dev] 2.6.26-rc6 kernel bug on PS3?

2008-06-25 Thread Geoff Levand
On 06/25/2008 06:01 AM, Stefan Wald wrote: > Hi, > I think we have a kernel bug here... running a multimedia app with about 20 > spe contexts. > Application hangs after a while defunct and dmesg output looks like d.txt. Is it repeatable? Nothing in your dump looks ps3 specific. Did you try with

[patch] PS3: Quiet system bus match output

2008-07-01 Thread Geoff Levand
Reduce the output verbosity of ps3_system_bus_match(). Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- Paul, Please queue for 2.6.27. -Geoff arch/powerpc/platforms/ps3/system-bus.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) --- a/arch/p

Re: [patch 07/11] powerpc/dma: implement new dma_*map*_attrs() interfaces

2008-07-07 Thread Geoff Levand
the >> corresponding new interfaces. > > Geoff, I think the PS3 bits in this patch are ok but I'd like > you to double-check and send your ack if you think they are. I tested on PS3 with ps3_defconfig, and it works OK. Acked-by: Geoff Levand <[EMAIL PROTECTED]> >

Re: [patch 05/11] powerpc/cell: add spu aware cpufreq governor

2008-07-07 Thread Geoff Levand
[EMAIL PROTECTED] wrote: > This patch adds a cpufreq governor that takes the number of running spus > into account. It's very similar to the ondemand governor, but not as complex. > Instead of hacking spu load into the ondemand governor it might be easier to > have cpufreq accepting multiple govern

[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]> --

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 memor

Re: [PATCH] [POWERPC] Fix zImage-dtb.initrd build error

2008-02-29 Thread Geoff Levand
On 02/29/2008 06:33 AM, Grant Likely wrote: > Any comments on this patch? It needs to go in for .25, but I haven't > gotten any Acks on it. I have it in ps3-linux.git, and seems to work OK. Acked-by: Geoff Levand <[EMAIL PROTECTED]> ___

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 thi

[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 [4

[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]> ---

[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/p

[patch 3/6] PS3: Bootwrapper improvements

2008-03-26 Thread Geoff Levand
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

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

2008-03-26 Thread Geoff Levand
]> Signed-off-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 |

[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 |

[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/n

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

[patch 3/6 v2] PS3: Bootwrapper improvements

2008-03-27 Thread Geoff Levand
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/p

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

2008-03-28 Thread Geoff Levand
le the setup 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 jus

[patch] PS3: Fix gelic net module dependency

2008-04-09 Thread Geoff Levand
fined 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. Ple

Re: [RFC] [PATCH] vmemmap fixes to use smaller pages

2008-04-30 Thread Geoff Levand
Benjamin Herrenschmidt wrote: > This patch changes vmemmap to use a different region (region 0xf) of the > address space whose page size can be dynamically configured at boot. > > The problem with the current approach of always using 16M pages is that > it's not well suited to machines that have s

[patch 0/5] PS3 patches for 2.6.26

2008-04-30 Thread Geoff Levand
Paul, This is a small set of PS3 fixup patches for 2.6.26. [patch 1/5] POWERPC: Fix slb.c compile warnings [patch 2/5] PS3: Add time include to lpm [patch 3/5] PS3: Make ps3_virq_setup and ps3_virq_destroy static [patch 4/5] PS3: Remove unsupported wakeup sources [patch 5/5] PS3: Update

[patch 4/5] PS3: Remove unsupported wakeup sources

2008-04-30 Thread Geoff Levand
Other OS wakeup is not supported from the IR controller, the bluetooth controller nor the RTC. Remove references to these in the PS3 sys-manager source. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- drivers/ps3/ps3-sys-manager.c |7 +-- 1 file changed, 1 insertion(+), 6 del

[patch 5/5] PS3: Update ps3_defconfig

2008-04-30 Thread Geoff Levand
Update ps3_defconfig. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/configs/ps3_defconfig | 132 +++-- 1 file changed, 84 insertions(+), 48 deletions(-) --- a/arch/powerpc/configs/ps3_defconfig +++ b/arch/powerpc/configs/ps3_defconfig @

[patch 2/5] PS3: Add time include to lpm

2008-04-30 Thread Geoff Levand
From: FUJITA Tomonori <[EMAIL PROTECTED]> Add an include statement for get_tb(). Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- drivers/ps3/ps3-lpm.c:192: error: implicit declaration of function 'get_tb' I c

[patch 3/5] PS3: Make ps3_virq_setup and ps3_virq_destroy static

2008-04-30 Thread Geoff Levand
From: Geert Uytterhoeven <[EMAIL PROTECTED]> The routines ps3_virq_setup() and ps3_virq_destroy() are used in only one file, so make them static. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platfor

[patch 1/5] POWERPC: Fix slb.c compile warnings

2008-04-30 Thread Geoff Levand
unsigned int slb.c:274: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'long unsigned int' Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/mm/slb.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletion

Re: powerpc boot regression

2008-05-01 Thread Geoff Levand
Badari Pulavarty wrote: > On Thu, 2008-05-01 at 15:13 +1000, Tony Breeds wrote: >> On Tue, Apr 29, 2008 at 11:12:41PM -0700, David Miller wrote: >> > >> > This commit causes bootup failures on sparc64: >> > >> > commit 86f6dae1377523689bd8468fed2f2dd180fc0560 >> > Author: Yasunori Goto <[EMAIL PR

Re: [RFC] [PATCH] vmemmap fixes to use smaller pages

2008-05-01 Thread Geoff Levand
Benjamin Herrenschmidt wrote: > This patch changes vmemmap to use a different region (region 0xf) of the > address space whose page size can be dynamically configured at boot. > > The problem with the current approach of always using 16M pages is that > it's not well suited to machines that have s

Re: [RFC] [PATCH] vmemmap fixes to use smaller pages

2008-05-02 Thread Geoff Levand
Benjamin Herrenschmidt wrote: > On Thu, 2008-05-01 at 14:46 -0700, Geoff Levand wrote: >> >> It doesn't seem to cause problems on PS3, and I added it into >> ps3-linux.git >> as other/powerpc-vmemmap-variable-page-size.diff, but I couldn't get >> it to

Re: [patch 5/5] PS3: Update ps3_defconfig

2008-05-05 Thread Geoff Levand
Marvin wrote: > what about adding these defaults: > - CONFIG_SCHED_SMT > - CONFIG_HUGETLBFS (needed by ibm cell sdk) > > not sure about: > - CONFIG_SPU_FS_64K_LS Did you test these options? Please let me know your results. -Geoff _

PS3 patches for 2.6.27

2008-07-16 Thread Geoff Levand
Hi Ben, Here are two more PS3 patches for 2.6.27. Please apply. -Geoff ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[patch 1/2] powerpc/ps3: Add a sub-match id to ps3_system_bus

2008-07-16 Thread Geoff Levand
From: Masakazu Mokuno <[EMAIL PROTECTED]> Add sub match id for ps3 system bus so that two different system bus devices can be connected to a shared device. Signed-off-by: Masakazu Mokuno <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/pl

[patch 2/2] powerpc/ps3: Update ps3_defconfig

2008-07-16 Thread Geoff Levand
Update ps3_defconfig. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/configs/ps3_defconfig | 196 +++-- 1 file changed, 122 insertions(+), 74 deletions(-) --- a/arch/powerpc/configs/ps3_defconfig +++ b/arch/powerpc/configs/ps3_defconfig @

Re: going to OLS?

2008-07-18 Thread Geoff Levand
Kumar Gala wrote: > So if your headed to OLS respond to this thread and maybe we'll have > an inform PPC BoF @ a pub. I will go. -Geoff ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: PS3 early lock-up

2008-08-04 Thread Geoff Levand
Hi, Benjamin Herrenschmidt wrote: >> > ps3_hpte_insert() seems to be called during system initialization with the >> > following values of rflags: >> > - first call: 0x190 >> > - initial memory: 0x194 (455 times) >> > - hotplug memory: >> > o crash: 0x115 >> > o OK: 0x117 >> > >

Re: PS3 early lock-up

2008-08-05 Thread Geoff Levand
Benjamin Herrenschmidt wrote: >> arch/powerpc/platfroms/ps3/htab.c:ps3_hpte_updatepp() uses `htab[slot].v'. > > Ok, that leaves us with 2 options: > > - Change ps3_hpte_updatepp() to not read from the hash table via that > mapping (ie, do you have an LV1 call to read an HPTE ? Do you measure > a

[patch 0/4] PS3 patches for 2.6.27

2008-08-20 Thread Geoff Levand
Hi Paul, This is a set of PS3 fixup patches for 2.6.27. Patch 4/4, Fix ioremap of spu shadow regs, is a bit of a hack, but I can't think of a better way to get the needed protection bits. [patch 1/4] powerpc: Fix typo in pgtable-ppc64.h [patch 2/4] powerpc/ps3: Update ps3_defconfig [patch 3/4

[patch 1/4] powerpc: Fix typo in pgtable-ppc64.h

2008-08-20 Thread Geoff Levand
Fix a minor comment typo in pgtable-ppc64.h. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/pgtable-ppc64.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/include/asm/pgtable-ppc64.h +++ b/arch/powerpc/include/asm/pgtable-p

[patch 2/4] powerpc/ps3: Update ps3_defconfig

2008-08-20 Thread Geoff Levand
Update ps3_defconfig. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/configs/ps3_defconfig | 153 - 1 file changed, 133 insertions(+), 20 deletions(-) --- a/arch/powerpc/configs/ps3_defconfig +++ b/arch/powerpc/configs/ps3_defconfig @

[patch 4/4] powerpc/ps3: Fix ioremap of spu shadow regs

2008-08-20 Thread Geoff Levand
CC: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/spu.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) --- a/arch/powerpc/platforms/ps3/spu.c +++ b/arch/powerpc/platforms/ps3/

[patch 3/4] powerpc/ps3: Rework htab to remove ioremap

2008-08-20 Thread Geoff Levand
commit a1f242ff460e4b50a045fa237c3c56cce9eabf83. Signed-off-by: Masakazu Mokuno <[EMAIL PROTECTED]> CC: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/htab.c | 269 - arch/power

[patch] powerpc/ps3: Replace the flip_ctl logic in ps3av and ps3fb by a mutex

2008-10-30 Thread Geoff Levand
S3 A/V Settings driver. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- This was submitted to the linux-fbdev-devel and cbe-oss-dev MLs for review some time ago with no comments so far. Please consider for 2.6.29. -Geoff arch/power

[patch] powerpc/ps3: Fix memory leak in device init

2008-10-30 Thread Geoff Levand
From: Masakazu Mokuno <[EMAIL PROTECTED]> Free dynamically allocated device data structures when device registration fails. This fixes memory leakage when the registration fails. Signed-off-by: Masakazu Mokuno <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTEC

Re: [PATCH] ps3: ps3-lpm.c compile fix

2008-11-03 Thread Geoff Levand
; >> > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Acked-by: Geoff Levand <[EMAIL PROTECTED]> >> > --- a/drivers/ps3/ps3-lpm.c >> > +++ b/drivers/ps3/ps3-lpm.c >> > @@ -22,6 +22,7 @@ >> > #include >> > #include >>

Re: RTC problem in PS3

2008-12-02 Thread Geoff Levand
er and have it built as a loadable module. Normally, udev will automatically load drivers for the devices present in the system. The info udev uses to autoload the driver is not provided by the rtc-ppc driver, so when it is build as a loadable module udev can't figure out which driver to load.

[patch 0/3] PS3 patches for 2.6.29

2008-12-03 Thread Geoff Levand
Hi Paul, Here is a small set of patches for 2.6.29. Please consider them for your next branch. [patch 1/3] powerpc: Fix typo in pgtable-ppc64.h [patch 2/3] powerpc/ps3: Quiet dmesg output [patch 3/3] powerpc/ps3: Add sub-match id modalias support -Geoff -- _

[patch 1/3] powerpc: Fix typo in pgtable-ppc64.h

2008-12-03 Thread Geoff Levand
Fix a minor comment typo in pgtable-ppc64.h. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/pgtable-ppc64.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/include/asm/pgtable-ppc64.h +++ b/arch/powerpc/include/asm/pgtable-p

[patch 2/3] powerpc/ps3: Quiet dmesg output

2008-12-03 Thread Geoff Levand
Change the debug message in dma_sb_region_create() from pr_info() to DBG() to quiet the dmesg output. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/mm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/platforms/ps3/mm.c +++

[patch 3/3] powerpc/ps3: Add sub-match id modalias support

2008-12-03 Thread Geoff Levand
ent types of sub-devices. - Rename PS3_MODULE_ALIAS_GRAPHICS to PS3_MODULE_ALIAS_GPU_FB, as ps3fb binds to the "FB" sub-device. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powe

[patch 2/6] powerpc/ps3: Add modalias support to the ps3vram driver

2009-01-06 Thread Geoff Levand
From: Geert Uytterhoeven Update ps3vram driver to use the new ps3 three id modalias support. Signed-off-by: Geert Uytterhoeven Signed-off-by: Geoff Levand --- arch/powerpc/include/asm/ps3.h |1 + drivers/mtd/devices/ps3vram.c |1 + 2 files changed, 2 insertions(+) --- a/arch

[patch 5/6] mtd/ps3vram: Use kernel types

2009-01-06 Thread Geoff Levand
Replace the use of stdint.h types with kernel types in the ps3vram driver. Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 56 ++ 1 file changed, 30 insertions(+), 26 deletions(-) --- a/drivers/mtd/devices/ps3vram.c +++ b/drivers/mtd

[patch 6/6] mtd/ps3vram: Use msleep in waits

2009-01-06 Thread Geoff Levand
Replace the use of udelay() with msleep() in the looping wait routines ps3vram_notifier_wait() and ps3vram_wait_ring(). Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 36 ++-- 1 file changed, 14 insertions(+), 22 deletions(-) --- a/drivers/mtd

[patch 3/6] mtd/ps3vram: Remove ps3vram debug routines

2009-01-06 Thread Geoff Levand
Remove the ps3vram debug routines ps3vram_dump_ring() and ps3vram_dump_reports(). These routines are not needed. Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 29 - 1 file changed, 29 deletions(-) --- a/drivers/mtd/devices/ps3vram.c +++ b

[patch 1/6] powerpc/ps3: ps3vram driver for accessing video RAM as MTD

2009-01-06 Thread Geoff Levand
: Jim Paris Acked-by: Geoff Levand Acked-by: David Woodhouse --- v1: This version has been updated to work with PS3 firmware 2.50, and to use ps3_gpu_mutex. v2: Updated to use new ps3 match ids. v3: Change MB to MiB. MAINTAINERS |6 arch/powerpc/include/asm

[patch 4/6] mtd/ps3vram: Cleanup ps3vram driver messages

2009-01-06 Thread Geoff Levand
Cleanup the ps3vram driver messages. Add a new struct device pointer variable dev to struct ps3vram_priv and use dev_dbg(), pr_dbg(), etc. where appropriate. Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 116 -- 1 file changed, 68

[patch 0/6] ps3vram driver patches

2009-01-06 Thread Geoff Levand
Hi Ben, This is a set of patches for the ps3vram driver. Patch 1 adds the driver. It has already been reviewed on the cbe-oss-dev ML and has been acked by David Woodhouse, so should be ready to merge. Patch 2 is a minor update to reflect changes to the ps3-system-bus that have been merged into

Re: [patch 0/6] ps3vram driver patches

2009-01-07 Thread Geoff Levand
Arnd Bergmann wrote: > On Tuesday 06 January 2009, Geoff Levand wrote: >> Patches 3-6 are minor cleanups suggested by Arnd Bergmann. I have left two >> of Arnd's sugestions, implementing the driver as a block device, similar to >> the axonram driver, and eliminating t

[patch 6/6 v2] mtd/ps3vram: Use msleep in waits

2009-01-07 Thread Geoff Levand
Subject: [patch] mtd/ps3vram: Use msleep in waits Replace the use of udelay() with msleep() in the looping wait routines ps3vram_notifier_wait() and ps3vram_wait_ring(). Signed-off-by: Geoff Levand --- v2: Use time_before() in loops. drivers/mtd/devices/ps3vram.c | 40

[patch] mtd/ps3vram: Use _PAGE_NO_CACHE in memory ioremap

2009-01-07 Thread Geoff Levand
Use _PAGE_NO_CACHE for gpu memory ioremap. Also, add __iomem attribute to gpu memory pointer and change use of memset() to memset_io(). Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) --- a/drivers/mtd

Re: submitted patches

2009-01-12 Thread Geoff Levand
Milton Miller wrote: > I request the following patches in patchwork be considered for 2.6.29: > > http://patchwork.ozlabs.org/patch/3778/ > powerpc ps3: use smp_request_message_ipi I tested this on PS3, and it seems to work OK. Acked-by:

Re: [PATCH] powerpc: Enable PS3 options and QPACE in ppc64_defconfig

2009-01-13 Thread Geoff Levand
CONFIG_PPC_PS3 is not set > +CONFIG_PPC_PS3=y I tested this ppc64_defconfig, and it could boot on PS3. Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 01/13] powerpc/ps3: set_dabr takes an unsigned long

2009-01-14 Thread Geoff Levand
alization from > incompatible pointer type > > Signed-off-by: Stephen Rothwell > --- > arch/powerpc/platforms/ps3/setup.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev mailing li

Re: [PATCH 02/13] powerpc/ps3: use dma_addr_t down through the stack

2009-01-14 Thread Geoff Levand
|8 +++--- > arch/powerpc/platforms/ps3/mm.c | 32 -- > arch/powerpc/platforms/ps3/system-bus.c |4 +- > 3 files changed, 23 insertions(+), 21 deletions(-) Acked-by: Geoff Levand ___ Linuxpp

Re: [PATCH 04/13] powerpc/ps3: clear_bit/set_bit operate on unsigned longs

2009-01-14 Thread Geoff Levand
'set_bit' from incompatible pointer type > > Signed-off-by: Stephen Rothwell > --- > arch/powerpc/platforms/ps3/interrupt.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) Acked-by: Geoff Levand ___ Li

Re: [PATCH 05/13] powerpc/ps3: ps3_repository_read_mm_info takes u64 * arguments

2009-01-14 Thread Geoff Levand
ps3_repository_read_mm_info' from incompatible pointer type > > Signed-off-by: Stephen Rothwell > --- > arch/powerpc/platforms/ps3/mm.c | 17 - > 1 files changed, 8 insertions(+), 9 deletions(-) Acked-by: Geoff Levand _

Re: [PATCH 03/13] powerpc/ps3: the lv1_ routines have u64 parameters

2009-01-14 Thread Geoff Levand
c/platforms/ps3/spu.c| 12 ++--- > arch/powerpc/platforms/ps3/system-bus.c |4 ++- > drivers/ps3/ps3-vuart.c | 24 ++- > 5 files changed, 49 insertions(+), 37 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 06/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: arch/powerpc

2009-01-14 Thread Geoff Levand
erpc/platforms/ps3/mm.c | 10 +- > arch/powerpc/platforms/ps3/os-area.c |2 +- > arch/powerpc/platforms/ps3/repository.c | 22 +++--- > arch/powerpc/platforms/ps3/system-bus.c |6 +++--- > 7 files changed, 42 insertions(+), 42 deleti

Re: [PATCH 09/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: sound/ppc

2009-01-14 Thread Geoff Levand
Stephen Rothwell wrote: > Signed-off-by: Stephen Rothwell > --- > sound/ppc/snd_ps3.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https:

Re: [PATCH 13/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: drivers/video

2009-01-14 Thread Geoff Levand
Stephen Rothwell wrote: > Signed-off-by: Stephen Rothwell > --- > drivers/video/ps3fb.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

Re: [PATCH 12/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: drivers/scsi

2009-01-14 Thread Geoff Levand
Stephen Rothwell wrote: > Signed-off-by: Stephen Rothwell > --- > drivers/scsi/ps3rom.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

Re: [PATCH 08/13] powerpc/ps3: printing fixups for l64 to ll64 convserion: drivers/char

2009-01-14 Thread Geoff Levand
Stephen Rothwell wrote: > Also a couple of min -> min_t changes. > > Signed-off-by: Stephen Rothwell > --- > drivers/char/ps3flash.c | 18 +- > 1 files changed, 9 insertions(+), 9 deletions(-) A

Re: [PATCH 11/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: drivers/ps3

2009-01-14 Thread Geoff Levand
anged, 19 insertions(+), 19 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 07/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: drivers/block

2009-01-14 Thread Geoff Levand
Stephen Rothwell wrote: > Signed-off-by: Stephen Rothwell > --- > drivers/block/ps3disk.c | 18 +- > 1 files changed, 9 insertions(+), 9 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-de

Re: [PATCH 10/13] powerpc/ps3: printing fixups for l64 to ll64 convserion: drivers/net

2009-01-14 Thread Geoff Levand
Stephen Rothwell wrote: > Signed-off-by: Stephen Rothwell > --- > drivers/net/ps3_gelic_wireless.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

[patch v4] PS3: Bootwrapper support.

2007-07-03 Thread Geoff Levand
d rom image built from zImage.ps3. otheros.bld is suitable for programming into the PS3 boot flash memory. Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- Hi Paul. I rebased this to your latest for-2.6.23 branch. Please apply. -Geoff v4 changes: o Rebase to for-2.6.23 branch of power

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 versi

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. ar

Re: PS3: Fix build with 32-bit toolchains

2007-07-19 Thread Geoff Levand
Kumar Gala wrote: > On Jul 19, 2007, at 4:47 PM, Geoff Levand wrote: > >> 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 CPU

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]>

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

2007-07-23 Thread Geoff Levand
/ppc/snd_ps3.c > +++ b/sound/ppc/snd_ps3.c > @@ -33,7 +33,6 @@ > #include > #include > #include > -#include > #include > #include > #include Acked-by: Geoff Levand <[EMAIL PROTECTED]> ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: Using video memory on PS3 e.g. as SWAP?

2007-07-31 Thread Geoff Levand
� wrote: > Hi all, > > looking at the PS3 as one of the few PowerPC workstation options the RAM > is obviously quite limitted with just 256MB. Can I recommend in the future you send this kind of PS3 specific inquiry to the cbe-oss-dev mailing list? [EMAIL PROTECTED] https://ozlabs.org/mail

[PATCH] MAINTAINERS: Update Spidernet network driver

2021-03-16 Thread Geoff Levand
Change the Spidernet network driver from supported to maintained, add the linuxppc-dev ML, and add myself as a 'maintainer'. Cc: Ishizaki Kou Signed-off-by: Geoff Levand --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAI

[PATCH v1 2/2] powerpc/ps3: Re-align DTB in image

2021-03-16 Thread Geoff Levand
Change the PS3 linker script to align the DTB at 8 bytes, the same alignment as that of the of the 'generic' powerpc linker script. Signed-off-by: Geoff Levand --- arch/powerpc/boot/zImage.ps3.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/

[PATCH v1 1/2] powerpc/ps3: Add firmware version to proc

2021-03-16 Thread Geoff Levand
Add a new proc FS entry /proc/ps3/firmware-version that exports the PS3's firmware version. The firmware version is available through an LV1 hypercall, and we've been printing it to the boot log, but haven't provided an easy way for user utilities to get it. Signed-off-b

[PATCH v1 0/2] PS3 Updates

2021-03-16 Thread Geoff Levand
-0800) Geoff Levand (2): powerpc/ps3: Add firmware version to proc powerpc/ps3: Re-align DTB in image arch/powerpc/boot/zImage.ps3.lds.S | 2 +- arch/powerpc/platforms/ps3/setup.c | 62

Re: [PATCH] sound:ppc: fix spelling typo of values

2021-04-07 Thread Geoff Levand
On 3/23/21 1:55 AM, caizhichao wrote: > From: caizhichao > > vaules -> values > > Signed-off-by: caizhichao > --- > sound/ppc/snd_ps3_reg.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Seems fine. Thanks for your contribution. Acked-by: Geoff Levand

<    1   2   3   4   5   6   >