Re: [PATCH 0/5] kexec: minor fixups and enhancements

2014-08-26 Thread Geoff Levand
Hi Vivek, On Mon, 2014-08-25 at 12:59 -0400, Vivek Goyal wrote: > Does arm64 has secureboot? If yes, then it might make sense to > enable the new syscall kexec_file_load() on arm64 instead of trying > to make old syscall work first. Yes, arm64 should support secureboot, but I have not looked into

Re: [PATCH 1/5] kexec: Fix make headers_check

2014-10-06 Thread Geoff Levand
Hi, On Mon, 2014-10-06 at 16:12 +0200, Paul Bolle wrote: > On Sat, 2014-08-30 at 14:47 +0200, Paul Bolle wrote: > > [Added Peter Anvin.] > > > > On Mon, 2014-08-25 at 13:22 -0400, Vivek Goyal wrote: > > > On Fri, Aug 22, 2014 at 06:39:47PM +, Geoff Levand wro

Re: [PATCH 1/5] kexec: Fix make headers_check

2014-10-06 Thread Geoff Levand
On Mon, 2014-10-06 at 20:21 +0200, Paul Bolle wrote: > On Mon, 2014-10-06 at 10:34 -0700, Geoff Levand wrote: > > On Mon, 2014-10-06 at 16:12 +0200, Paul Bolle wrote: > > > It seems not much happened after I added my Acked-by. I assume you still > > > want to get t

[PATCH V21/5] kexec: Fix make headers_check

2014-10-06 Thread Geoff Levand
Remove the unneded declaration for a kexec_load() routine. Fixes errors like these when running 'make headers_check': include/uapi/linux/kexec.h: userspace cannot reference function or variable defined in the kernel Signed-off-by: Geoff Levand Acked-by: Paul Bolle Cc: H. Peter

[PATCH V22/5] kexec: Simplify conditional

2014-10-06 Thread Geoff Levand
conditional. There is no functional change to the code. Signed-off-by: Geoff Levand Acked-by: Vivek Goyal --- kernel/kexec.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/kernel/kexec.c b/kernel/kexec.c index 2bee072..4b8356b 100644 --- a/kernel/kexec.c

[PATCH V23/5] kexec: Add bit definitions for kimage entry flags

2014-10-06 Thread Geoff Levand
and the chance that changes to the IND_* flags will not be propagated to assembly files. Signed-off-by: Geoff Levand Acked-by: Vivek Goyal --- include/linux/kexec.h | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/include/linux/kexec.h b/include/linux

[PATCH V2 0/5] kexec: Minor fixups and enhancements

2014-10-06 Thread Geoff Levand
for you to fetch changes up to adf97d602657c72f6ee59aefe5d51149159a3e99: powerpc/kexec: Use global IND_FLAGS macro (2014-10-06 17:06:26 -0700) -------- Geoff Levand (5): kexec: Fix make headers_check kexec: Simplify conditional

[PATCH V25/5] powerpc/kexec: Use global IND_FLAGS macro

2014-10-06 Thread Geoff Levand
linux/kexec.h now defines an IND_FLAGS macro. Remove the local powerpc definition and use the generic one. Signed-off-by: Geoff Levand --- arch/powerpc/kernel/machine_kexec_64.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel

[PATCH V24/5] kexec: Add IND_FLAGS macro

2014-10-06 Thread Geoff Levand
Add a new kexec preprocessor macro IND_FLAGS, which is the bitwise OR of all the possible kexec IND_ kimage_entry indirection flags. Having this macro allows for simplified code in the prosessing of the kexec kimage_entry items. Signed-off-by: Geoff Levand Acked-by: Vivek Goyal --- include

Re: [PATCH V3 4/5] kexec: Add IND_FLAGS macro

2014-10-07 Thread Geoff Levand
. Signed-off-by: Geoff Levand Cc: Benjamin Herrenschmidt Acked-by: Vivek Goyal --- From V2: Folded patch 5 into patch 4. arch/powerpc/kernel/machine_kexec_64.c | 2 -- include/linux/kexec.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/kernel

[PATCH V3] kexec: Add IND_FLAGS macro

2014-11-12 Thread Geoff Levand
. Signed-off-by: Geoff Levand Cc: Benjamin Herrenschmidt Acked-by: Vivek Goyal --- Hi Ben, Could you give your ack on this, then I'll try to get it merged with my other kexec patches. Thanks. -Geoff arch/powerpc/kernel/machine_kexec_64.c | 2 -- include/linux/kexec.h | 1

[PATCH V3 0/4] kexec: minor fixups and enhancements

2014-11-12 Thread Geoff Levand
changes up to 916ef4b8abaa4202ea43731b9cd3f8e0ea95f05b: kexec: Add IND_FLAGS macro (2014-11-12 15:27:54 -0800) Geoff Levand (4): kexec: Fix make headers_check kexec: Simplify conditional kexec: Add bit definitions

[PATCH V3 3/4] kexec: Add bit definitions for kimage entry flags

2014-11-12 Thread Geoff Levand
and the chance that changes to the IND_* flags will not be propagated to assembly files. Signed-off-by: Geoff Levand Acked-by: Vivek Goyal --- include/linux/kexec.h | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/include/linux/kexec.h b/include/linux

[PATCH V3 2/4] kexec: Simplify conditional

2014-11-12 Thread Geoff Levand
conditional. There is no functional change to the code. Signed-off-by: Geoff Levand Acked-by: Vivek Goyal --- kernel/kexec.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/kernel/kexec.c b/kernel/kexec.c index 2abf9f6..650fcba 100644 --- a/kernel/kexec.c

[PATCH V3 4/4] kexec: Add IND_FLAGS macro

2014-11-12 Thread Geoff Levand
. Signed-off-by: Geoff Levand Acked-by: Benjamin Herrenschmidt Acked-by: Vivek Goyal --- arch/powerpc/kernel/machine_kexec_64.c | 2 -- include/linux/kexec.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch

[PATCH V3 1/4] kexec: Fix make headers_check

2014-11-12 Thread Geoff Levand
Remove the unneded declaration for a kexec_load() routine. Fixes errors like these when running 'make headers_check': include/uapi/linux/kexec.h: userspace cannot reference function or variable defined in the kernel Signed-off-by: Geoff Levand Acked-by: Paul Bolle Cc: H. Peter

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Geoff Levand
On Sat, 2014-12-20 at 16:00 +0100, Rickard Strandqvist wrote: > Remove the function ps3_repository_write_highmem_info() that is not used > anywhere. NAK ps3_repository_write_highmem_info() is needed by otheros++. What we need is a kernel patch to add the highmem info to the repository once it i

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Geoff Levand
Hi Michael, On Tue, 2014-12-23 at 11:26 +1100, Michael Ellerman wrote: > On Mon, 2014-12-22 at 09:26 -0800, Geoff Levand wrote: > > ps3_repository_write_highmem_info() is needed by otheros++. What we > > need is a kernel patch to add the highmem info to the repository once

[PATCH 5/6] powerpc/ps3: Fix sys-manager-core sparse warnings

2015-01-12 Thread Geoff Levand
Fixes warnings like these: drivers/ps3/sys-manager-core.c: error: symbol 'ps3_sys_manager_power_off' redeclared with different type Signed-off-by: Geoff Levand --- drivers/ps3/sys-manager-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drive

[PATCH 4/6] powerpc/ps3: Fix vuart sparse warnings

2015-01-12 Thread Geoff Levand
Fix sparse warnings like these: drivers/ps3/ps3-vuart.c: warning: symbol 'ps3_vuart_disable_interrupt_tx' was not declared. Should it be static? Signed-off-by: Geoff Levand --- drivers/ps3/ps3-vuart.c | 5 - drivers/ps3/vuart.h | 16 2 files changed, 16

[PATCH 3/6] powerpc/ps3: Write highmem info to repository

2015-01-12 Thread Geoff Levand
Add calls to the ps3_mm_set_repository_highmem() routine when the ps3 r1 highmem region is either created or destroyed. Signed-off-by: Geoff Levand --- arch/powerpc/platforms/ps3/mm.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/ps3/mm.c b

[PATCH 0/6] *** SUBJECT HERE ***

2015-01-12 Thread Geoff Levand
es up to c9fc20b63c625d8d5c136f1e72d9930a6b0070df: powerpc/ps3: Update ps3_defconfig (2014-12-23 14:56:29 -0800) Geoff Levand (6): powerpc/ps3: Add empty repository highmem routines powerpc/ps3: Add ps3_mm_set_repository_hi

[PATCH 6/6] powerpc/ps3: Update ps3_defconfig

2015-01-12 Thread Geoff Levand
Refresh ps3_defconfig and add CONFIG_PS3_REPOSITORY_WRITE=y. Signed-off-by: Geoff Levand --- arch/powerpc/configs/ps3_defconfig | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/configs/ps3_defconfig index

[PATCH 2/6] powerpc/ps3: Add ps3_mm_set_repository_highmem

2015-01-12 Thread Geoff Levand
region entry (at index 0). Signed-off-by: Geoff Levand --- arch/powerpc/platforms/ps3/mm.c | 68 +++-- 1 file changed, 38 insertions(+), 30 deletions(-) diff --git a/arch/powerpc/platforms/ps3/mm.c b/arch/powerpc/platforms/ps3/mm.c index 0c9f643..04c1b93 100644

[PATCH 1/6] powerpc/ps3: Add empty repository highmem routines

2015-01-12 Thread Geoff Levand
To avoid the need for preprocessor conditionals in C source files add a set of empty inline repository highmem write routines to platform.h that are used when CONFIG_PS3_REPOSITORY_WRITE is not defined. Signed-off-by: Geoff Levand --- arch/powerpc/platforms/ps3/platform.h | 13 + 1

Re: [PATCH 20/21] powerpc/ps3: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Geoff Levand
; --- > arch/powerpc/platforms/ps3/spu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Looks good, thanks. Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 20/21] powerpc/ps3: remove inline marking of EXPORT_SYMBOL functions

2013-05-28 Thread Geoff Levand
3_get_spe_id(), so I think we should remove it. I'll submit a patch. -Geoff Forwarded Message From: Geoff Levand To: cbe-oss-...@lists.ozlabs.org Subject: Dropping PS3 oprofile support in v3.8 Date: Wed, 13 Feb 2013 17:30:39 -0800 Hi All, I'll be dropping the PS3 op

[PATCH] net/ps3_gelic: Fix build error with DEBUG

2015-06-10 Thread Geoff Levand
gelic_descr_get_status Signed-off-by: Geoff Levand --- Dave, please apply. -Geoff The following changes since commit d4a4f75cd8f29cd9464a5a32e9224a91571d6649: Linux 4.1-rc7 (2015-06-07 20:23:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git

[PATCH 1/3] block/ps3vram: Fix sparse warnings

2015-06-10 Thread Geoff Levand
Fix sparse warnings like these: drivers/block/ps3vram.c: warning: incorrect type in assignment (different address spaces) drivers/block/ps3vram.c:expected unsigned int [usertype] *ctrl drivers/block/ps3vram.c:got void [noderef] * Cc: Jim Paris Cc: Jens Axboe Signed-off-by: Geoff

[PATCH 3/3] MAINTAINERS: Update ps3vram block driver

2015-06-10 Thread Geoff Levand
Add myself as co-maintainer of the ps3vram block driver, and add linuxppc-dev as a relevant mailing list. I have been acting as maintainer of this driver for the last several years, and if there is some inquiry regarding it I would like to be notified. Signed-off-by: Geoff Levand

[PATCH 0/3] block/ps3vram: Minor updates and fixes

2015-06-10 Thread Geoff Levand
1d082300a03a735c006739907e6aea082007663c: MAINTAINERS: Update ps3vram block driver (2015-06-10 10:46:25 -0700) Geert Uytterhoeven (1): block/ps3vram: Remove obsolete reference to MTD Geoff Levand (2): block/ps3vram: Fix sparse warnings

[PATCH] drivers/ps3: Fix ps3-lpm white space

2015-07-27 Thread Geoff Levand
From: Rudhresh Kumar J Fixed a coding style issue. Signed-off-by: Rudhresh Kumar J Signed-off-by: Geoff Levand --- Please apply to trivial. Thanks. -Geoff drivers/ps3/ps3-lpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ps3/ps3-lpm.c b/drivers/ps3/ps3

Re: [PATCH V3 2/6] powerpc: Implement broadcast timer interrupt as an IPI message

2013-09-11 Thread Geoff Levand
On Wed, 2013-09-11 at 08:21 +0530, Preeti U Murthy wrote: > arch/powerpc/platforms/ps3/smp.c|2 +- The PS3 part is trivial and looks OK. Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org ht

Re: [PATCH V3 1/6] powerpc: Free up the IPI message slot of ipi call function (PPC_MSG_CALL_FUNC)

2013-09-11 Thread Geoff Levand
On Wed, 2013-09-11 at 08:21 +0530, Preeti U Murthy wrote: > arch/powerpc/platforms/ps3/smp.c|2 +- The PS3 part is trivial and looks OK. Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org ht

Re: [Cbe-oss-dev] [PATCH 2/8] cell: Remove OOM message after input_allocate_device

2013-10-23 Thread Geoff Levand
out; > } Arnd is out on leave, so I'll say that this looks OK. Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 13/20] ALSA: sound/ps3: remove __dev* attributes

2012-12-06 Thread Geoff Levand
emberton > Cc: Geoff Levand > Cc: linuxppc-dev@lists.ozlabs.org > Cc: cbe-oss-...@lists.ozlabs.org > --- > sound/ppc/snd_ps3.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) Looks OK for PS3. Acked-by: Geoff Levand ___

Re: PS3 platform is broken on Linux 3.7.0

2013-01-11 Thread Geoff Levand
Hi, On Thu, 2012-12-20 at 08:53 +1100, Benjamin Herrenschmidt wrote: > On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote: > > Hi, > > > > I wanted to bring to your attention the fact that the PS3 platform is > > broken on Linux 3.7.0. > > > > i'm not able to boot Linux 3.7.0 on my PS3 slim.

Re: PS3 platform is broken on Linux 3.7.0

2013-01-14 Thread Geoff Levand
Hi, On Fri, 2013-01-11 at 18:12 -0800, Geoff Levand wrote: > I checked these, and Michael's 407821a34fce89b4f0b031dbab5cec7d059f46bc > does indeed cause the LV1 hypervisor to panic early, and if that is > reverted, Aneesh's 048ee0993ec8360abb0b51bdf8f8721e9ed62ec4 hits a BU

Re: Re[2]: PS3 platform is broken on Linux 3.7.0

2013-02-11 Thread Geoff Levand
On Sun, 2013-02-10 at 12:59 +0400, Phileas Fogg wrote: > i found where the problem lies. ... > And that's why lv1_insert_htab_entry fails with -17 which means > LV1_ILLEGAL_PARAMETER_VALUE because > the Hypervisor of PS3 checks 'AVPN' values for number of leading zeros and > allows at least 15 bi

Re: Re[3]: PS3 platform is broken on Linux 3.7.0

2013-02-11 Thread Geoff Levand
Hi Aneesh, On Mon, 2013-02-11 at 15:56 +0530, Aneesh Kumar K.V wrote: > Can you try this patch ? > > diff --git a/arch/powerpc/include/asm/mmu-hash64.h > b/arch/powerpc/include/asm/mmu-hash64.h I tried your patch on PS3 with a ps3_defconfig build on both Linux-3.7 and Linux-3.8-rc7 and it seems

Re: PS3 platform is broken on Linux 3.7.0

2013-02-12 Thread Geoff Levand
Hi, On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote: > I wanted to bring to your attention the fact that the PS3 platform is broken > on Linux 3.7.0. > So i cloned the Linux powerpc GIT repository and tried to find out which > commits broke the PS3 platform. > ---

Re: [PATCH 2/2] powerpc: Make context bits depend on virtual addr size.

2013-02-13 Thread Geoff Levand
Hi Aneesh, On Wed, 2013-02-13 at 17:10 +0530, Aneesh Kumar K.V wrote: > Ok. How about the below patch. This is based on the suggestion from > Paulus. I still have to take care of few comments in the code. > > Phileas and Geoff, > > Can we check whether this fix the PS3 boot hang ? I did a quick

Re: [PATCH] powerpc: Apply early paca fixups to boot_paca and the boot cpu's paca

2013-02-13 Thread Geoff Levand
boot_paca, and "the paca of the > boot cpu". > > Signed-off-by: Michael Ellerman Tested-by: Geoff Levand This fixes a boot hang on the PS3 with ps3_defconfig builds of linux-3.7. Please consider applying for linux-3.7.x stable. -Geoff

[PATCH 1/4] powerpc/ps3: Add macro PS3_VERBOSE_RESULT

2013-02-13 Thread Geoff Levand
To allow more control of the verbosity of ps3_result() add a check for the preprocessor macro PS3_VERBOSE_RESULT that builds a verbose verion of the ps3_result() routine. Signed-off-by: Geoff Levand --- arch/powerpc/include/asm/ps3.h |2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 2/4] powerpc/ps3: Increase verbosity of htab errors

2013-02-13 Thread Geoff Levand
Signed-off-by: Geoff Levand --- arch/powerpc/platforms/ps3/htab.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/platforms/ps3/htab.c b/arch/powerpc/platforms/ps3/htab.c index d00d7b0..6cc5820 100644 --- a/arch/powerpc/platforms/ps3/htab.c

[PATCH 3/4] powerpc/ps3: Refresh ps3_defconfig

2013-02-13 Thread Geoff Levand
Signed-off-by: Geoff Levand --- arch/powerpc/configs/ps3_defconfig | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/configs/ps3_defconfig index c2f4b4a..7a5c15f 100644 --- a/arch/powerpc/configs/ps3_defconfig

[PATCH 4/4] powerpc: Move boot_paca into early_setup

2013-02-13 Thread Geoff Levand
The powerpc boot_paca symbol is now only used within the early_setup() routine, so move it from its global definition into early_setup(). Signed-off-by: Geoff Levand --- arch/powerpc/include/asm/paca.h |1 - arch/powerpc/kernel/paca.c |2 -- arch/powerpc/kernel/setup_64.c |2

[PATCH 0/4] PS3 patches for 3.9

2013-02-13 Thread Geoff Levand
://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git for-powerpc for you to fetch changes up to f9fda8ea9d2ef07dd5b3313892ec20b6cbad2ce8: powerpc: Move boot_paca into early_setup (2013-02-13 18:07:41 -0800) Geoff Levand

Re: PS3: Strange issue with kexec and FreeBSD loader

2013-02-20 Thread Geoff Levand
Hi Phileas, On Sun, 2013-02-17 at 00:12 +0100, Phileas Fogg wrote: > I found new clues about the problem. > > Normally the device tree memory segment is allocated at the top of the boot > memory region. The boot memory size on the PS3 console is 128MB. > > root@ps3-linux:~# kexec -l loader.ps3

Re: [PATCH] powerpc: Use PTR_RET instead of IS_ERR/PTR_ERR

2013-03-11 Thread Geoff Levand
rch/powerpc/sysdev/rtc_cmos_setup.c |5 + > 4 files changed, 4 insertions(+), 11 deletions(-) ps3 part looks OK, thanks. Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH -V2 2/2] powerpc: Update kernel VSID range

2013-03-11 Thread Geoff Levand
Hi, On Fri, 2013-02-15 at 21:09 +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > This patch change the kernel VSID range so that we limit VSID_BITS to 37. > This enables us to support 64TB with 65 bit VA (37+28). Without this patch > we have boot hangs on platforms that only support

Re: [PATCH -V2 2/2] powerpc: Update kernel VSID range

2013-03-12 Thread Geoff Levand
Hi Aneesh, On Tue, 2013-03-12 at 12:49 +0530, Aneesh Kumar K.V wrote: > Done. I added this as a patch on top of the series. I tried to test this against v3.8, but applying it failed: Applying: powerpc: Update kernel VSID range error: patch failed: arch/powerpc/mm/slb_low.S:66 Could you pleas

Re: [PATCH -V4 2/3] powerpc: Update kernel VSID range

2013-03-13 Thread Geoff Levand
gs on platforms that only support 65 bit VA. I tested the V4 series on PS3 applied to linux-3.8 and it fixed the boot hang problem. Ben, please apply. Tested-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH for 3.9] powerpc/ps3: Update ps3_defconfig

2013-03-18 Thread Geoff Levand
Refresh and set CONFIG_RD_LZMA=y. Signed-off-by: Geoff Levand --- Hi Ben, This sets CONFIG_RD_LZMA=y, which is needed to boot with newer initrd images. Please apply for 3.9. Also available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git for

Re: [PATCH for 3.9] powerpc/ps3: Update ps3_defconfig

2013-03-29 Thread Geoff Levand
Hi Ben, It would be nice if I could get this in for 3.9. Did you miss it? Thanks. -Geoff On Mon, 2013-03-18 at 18:11 -0700, Geoff Levand wrote: > Refresh and set CONFIG_RD_LZMA=y. > > Signed-off-by: Geoff Levand > --- > Hi Ben, > > This sets CONFIG_RD_LZMA=y, which i

[PATCH 1/5] kexec: Fix make headers_check

2014-08-22 Thread Geoff Levand
Remove the unneded declaration for a kexec_load() routine. Fixes errors like these when running 'make headers_check': include/uapi/linux/kexec.h: userspace cannot reference function or variable defined in the kernel Signed-off-by: Geoff Levand --- include/uapi/linux/kexec.h | 6

[PATCH 0/5] kexec: minor fixups and enhancements

2014-08-22 Thread Geoff Levand
/kexec: Use global IND_FLAGS macro (2014-08-22 11:15:18 -0700) Geoff Levand (5): kexec: Fix make headers_check kexec: Simplify conditional kexec: Add bit definitions for kimage entry flags kexec: Add IND_FLAGS macro

[PATCH 5/5] powerpc/kexec: Use global IND_FLAGS macro

2014-08-22 Thread Geoff Levand
linux/kexec.h now defines an IND_FLAGS macro. Remove the local powerpc definition and use the generic one. Signed-off-by: Geoff Levand --- arch/powerpc/kernel/machine_kexec_64.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel

[PATCH 2/5] kexec: Simplify conditional

2014-08-22 Thread Geoff Levand
conditional. There is no functional change to the code. Signed-off-by: Geoff Levand --- kernel/kexec.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/kernel/kexec.c b/kernel/kexec.c index 0b49a0a..d04b56e 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c

[PATCH 4/5] kexec: Add IND_FLAGS macro

2014-08-22 Thread Geoff Levand
Add a new kexec preprocessor macro IND_FLAGS, which is the bitwise OR of all the possible kexec IND_ kimage_entry indirection flags. Having this macro allows for simplified code in the prosessing of the kexec kimage_entry items. Signed-off-by: Geoff Levand --- include/linux/kexec.h | 1 + 1

[PATCH 3/5] kexec: Add bit definitions for kimage entry flags

2014-08-22 Thread Geoff Levand
and the chance that changes to the IND_* flags will not be propagated to assembly files. Signed-off-by: Geoff Levand --- include/linux/kexec.h | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/include/linux/kexec.h b/include/linux/kexec.h index 4b2a0e1

[PATCH 3/4] powerpc/kexec: Use global IND_FLAGS macro

2013-12-11 Thread Geoff Levand
linux/kexec.h now defines an IND_FLAGS macro. Remove the local powerpc definition and use the generic one. Signed-off-by: Geoff Levand for Huawei, Linaro --- arch/powerpc/kernel/machine_kexec_64.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/machine_kexec_64.c b

[PATCH 0/4] Minor fixes and improvements for kexec

2013-12-11 Thread Geoff Levand
/geoff.levand/linux-kexec.git for-kexec for you to fetch changes up to 594a3d26aac66e9668edc81d7bfb4e801575514f: sh/kexec: Fix kexec build warning (2013-12-11 16:03:27 -0800) Geoff Levand (4): kexec: Simplify conditional kexec

[PATCH 2/4] kexec: Add IND_FLAGS macro

2013-12-11 Thread Geoff Levand
Add a new kexec preprocessor macro IND_FLAGS, which is the bitwise OR of all the possible kexec IND_ kimage_entry indirection flags. Having this macro allows for simplified code in the prosessing of the kexec kimage_entry items. Signed-off-by: Geoff Levand for Huawei, Linaro --- include/linux

Re: [PATCH 2/4] kexec: Add IND_FLAGS macro

2013-12-12 Thread Geoff Levand
Hi Zhang, On Thu, 2013-12-12 at 09:35 +0800, Zhang Yanfei wrote: > On 12/12/2013 08:18 AM, Geoff Levand wrote: > > Add a new kexec preprocessor macro IND_FLAGS, which is the bitwise OR of > > all the possible kexec IND_ kimage_entry indirection flags. > > > > H

Re: [PATCH] block/ps3: Remove obsolete reference to MTD

2014-01-02 Thread Geoff Levand
@@ > /* > - * ps3vram - Use extra PS3 video ram as MTD block device. > + * ps3vram - Use extra PS3 video ram as block device. > * > * Copyright 2009 Sony Corporation > * Looks good. Jens, could you please apply. Acked-by: Geoff Levand _

Re: [PATCH 10/73] powerpc: use device_initcall for registering rtc devices

2014-01-21 Thread Geoff Levand
. > > arch/powerpc/kernel/time.c| 2 +- > arch/powerpc/platforms/ps3/time.c | 3 +-- > 2 files changed, 2 insertions(+), 3 deletions(-) I tested the PS3 part of this patch and it seems to work OK. Acked-by: Geoff Levand ___ L

Re: [PATCH 2/9] ps3-vuart: don't use PREPARE_WORK

2014-02-21 Thread Geoff Levand
nction and remove the PREPARE_WORK() usage. > > It would probably be best to route this with other related updates > through the workqueue tree. I tested this on ps3 (DECR-1400) and it seems to work OK. Please queue with your other workqueue changes. Thank

Re: [PATCH 00/18] powerpc/boot: 64bit little endian wrapper

2014-03-20 Thread Geoff Levand
Hi Cédric, On Thu, 2014-03-20 at 16:09 +0100, Cédric Le Goater wrote: > 16 files changed, 465 insertions(+), 100 deletions(-) Do you have these in a git branch somewhere so I can merge and test them? Thanks. -Geoff ___ Linuxppc-dev mailing list Linu

Re: [PATCH 00/18] powerpc/boot: 64bit little endian wrapper

2014-03-21 Thread Geoff Levand
Hi Cédric, On Thu, 2014-03-20 at 16:09 +0100, Cédric Le Goater wrote: > The following patchset adds support for 64bit little endian boot > wrapper. It is based on original code from Andrew Tauferner. I tested this on PS3 (64 bit BE) and found no regression. Tested by: Geoff

Re: [PATCH 3/6] powerpc/ps3: Write highmem info to repository

2015-01-13 Thread Geoff Levand
Hi Michael, On Tue, 2015-01-13 at 14:04 +1100, Michael Ellerman wrote: > On Tue, 2015-01-13 at 01:00 +0000, Geoff Levand wrote: > > Add calls to the ps3_mm_set_repository_highmem() routine when the ps3 > > r1 highmem region is either created or destroyed. > > What does this

Re: [PATCH] ps3: Fix trivial typos in comment and debug message

2015-03-09 Thread Geoff Levand
On Sat, 2015-03-07 at 13:03 +0100, Yannick Guerrini wrote: > Change 'prosessor' to 'processor' > Change 'set_inteval' to 'set_interval' > > Signed-off-by: Yannick Guerrini > --- > drivers/ps3/ps3-lpm.c | 4 ++--

Re: [PATCH] ps3-vuart: BUG_ON on null drv before dereferencing it on dev_dbg

2015-09-01 Thread Geoff Levand
On Tue, 2015-09-01 at 11:21 +0100, Colin King wrote: > On the unlikely event that drv is null, the current code will > perform a null pointer dereference with it when printing a dev_dbg > message. Instead, the BUG_ON check on drv should be performed > before we emit the dev_dbg message. > > Signe

Re: [PATCH] powerpc: Kconfig: remove BE-only platforms from LE kernel build

2015-09-08 Thread Geoff Levand
On Mon, 2015-09-07 at 07:58 +0800, Boqun Feng wrote: > arch/powerpc/platforms/ps3/Kconfig | 2 +- Looks OK for PS3. Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linux

[PATCH 0/3] PS3 updates for 4.3

2015-09-14 Thread Geoff Levand
-powerpc for you to fetch changes up to f9c28dfbef66b7f23f1e542397bd6a77d1258ddd: powerpc/ps3: Refresh ps3_defconfig (2015-09-14 12:28:10 -0700) Colin Ian King (1): drivers/ps3: Fix ps3-vuart null dereference Geoff Levand (1

[PATCH 3/3] powerpc/ps3: Refresh ps3_defconfig

2015-09-14 Thread Geoff Levand
Signed-off-by: Geoff Levand --- arch/powerpc/configs/ps3_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/configs/ps3_defconfig index adc14e8..09f117e 100644 --- a/arch/powerpc/configs/ps3_defconfig +++ b/arch/powerpc/configs

[PATCH V2 3/3] powerpc/ps3: Refresh ps3_defconfig

2015-09-14 Thread Geoff Levand
Refresh and remove obsolete CONFIG_EXT3_FS. Signed-off-by: Geoff Levand --- V2: Remove ext3 as suggested by Geert. arch/powerpc/configs/ps3_defconfig | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/configs/ps3_defconfig index adc14e8

Re: Time to remove platforms/cell?

2015-09-17 Thread Geoff Levand
On Thu, 2015-09-17 at 20:05 +1000, Michael Ellerman wrote: > Right. I wouldn't bet money that the oprofile code still works, but spufs > definitely would have to stay. oprofile on PS3 needed additional patches [1] that I never merged upstream, and no longer plan to, so oprofile support should be

Re: [PATCH] powerpc/ps3: Remove unused os_area_db_id_video_mode

2015-10-02 Thread Geoff Levand
gt; it's in the history if anyone needs it. Looks OK. Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Time to remove platforms/cell?

2015-10-04 Thread Geoff Levand
Hi, On Thu, 2015-09-17 at 12:28 +0200, Marc Dietrich wrote: > well, I like to but I couldn't get the kernel booting for some reason. Still > trying. I just tested the ps3-queue branch (v4.3-rc4 based) of my ps3-linux git repo and it works OK. Do you see any output on the display, maybe some pe

Re: Time to remove platforms/cell?

2015-10-07 Thread Geoff Levand
On Mon, 2015-10-05 at 12:27 +0200, Marc Dietrich wrote: > Am Sonntag, 4. Oktober 2015, 12:27:19 schrieb Geoff Levand: > > I just tested the ps3-queue branch (v4.3-rc4 based) of my ps3-linux > > git > > repo and it works OK. > > > > Do you see any output on th

Re: Time to remove platforms/cell?

2015-10-08 Thread Geoff Levand
> Hi, > > > On Mon, 2015-10-05 at 12:27 +0200, Marc Dietrich wrote: > > > I tried with ps3-queue and still no luck. Petitboot just says > > > "Booting kernel > > > ..." thats all - no output. > > > > > > FW is 3.15 of course > > > Petitboot says (white-09.09.01-15.56) > > I spent a few minutes o

Re: Time to remove platforms/cell?

2015-10-09 Thread Geoff Levand
Hi Marc, On Thu, 2015-10-08 at 11:10 -0700, Geoff Levand wrote: > > On Mon, 2015-10-05 at 12:27 +0200, Marc Dietrich wrote: > > > > I tried with ps3-queue and still no luck. Petitboot just says > > > > "Booting kernel > > > > ..." thats al

[PATCH] powerpc: Add run_cmd function to boot wrapper

2015-10-19 Thread Geoff Levand
Add a boot wrapper script function run_cmd which will run a shell command quietly and only print the output if either V=1 or an error occurs. Also, run the ps3 dd commands with run_cmd to clean up the build output. Signed-off-by: Geoff Levand --- Hi Michael, How about something like this? It

Re: Time to remove platforms/cell?

2015-10-22 Thread Geoff Levand
Hi, On Fri, 2015-10-09 at 23:13 +0200, Marc Dietrich wrote: > Am Freitag, 9. Oktober 2015, 10:45:42 schrieb Geoff Levand: > > With the 4.2-rc4 kernel, kexec seems to work when CONFIG_SPU_FS=n. > > I > > have not tried with petitboot release white-09.09.01-15.56 yet though.

Re: [PATCH v2 0/4] powerpc/ps3: gelic_udbg: drop local versions of network data structs

2016-02-11 Thread Geoff Levand
from These all look fine.  Thanks for taking time to do this clean up.  I'll try to test next chance I get.Acked-by: Geoff Levand <ge...@infradead.org> ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH -next] ALSA: ps3: Remove set but not used variables 'start_vaddr' and 'pcm_index'

2019-04-17 Thread Geoff Levand
by: Hulk Robot > Signed-off-by: YueHaibing > --- > sound/ppc/snd_ps3.c | 4 > 1 file changed, 4 deletions(-) Seems OK. Thanks for submitting. Acked-by: Geoff Levand

Re: [patch V2 07/15] powerpc/ps3: Convert half completion to rcuwait

2020-03-19 Thread Geoff Levand
Hi, On 3/19/20 3:26 AM, Sebastian Andrzej Siewior wrote: > On 2020-03-19 03:04:59 [-0700], Christoph Hellwig wrote: >> But I wonder how alive the whole PS3 support is to start with.. > > OtherOS can only be used on "old" PS3 which do not have have their > firmware upgraded past version 3.21, rele

[PATCH 2/3] powerpc/wrapper: Output linker map file

2020-03-27 Thread Geoff Levand
To aid debugging wrapper troubles, output a linker map file 'wrapper.map' when the build is verbose. Signed-off-by: Geoff Levand --- arch/powerpc/boot/wrapper | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wra

[PATCH 3/3] powerpc/head_check: Avoid broken pipe

2020-03-27 Thread Geoff Levand
Remove the '-m4' option to grep to allow grep to process all of nm's output. This avoids the nm warning: nm terminated with signal 13 [Broken pipe] Signed-off-by: Geoff Levand --- arch/powerpc/tools/head_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 0/3] powerpc: Minor updates to improve build debugging

2020-03-27 Thread Geoff Levand
) Geoff Levand (3): powerpc/head_check: Automatic verbosity powerpc/wrapper: Output linker map file powerpc/head_check: Avoid broken pipe arch/powerpc/boot/wrapper| 3 ++- arch/powerpc/tools/head_check.sh | 8 +--- 2 files changed, 7 insertions(+), 4 deletions

[PATCH 1/3] powerpc/head_check: Automatic verbosity

2020-03-27 Thread Geoff Levand
To aid debugging build problems turn on shell tracing for the head_check script when the build is verbose. Signed-off-by: Geoff Levand --- arch/powerpc/tools/head_check.sh | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/tools/head_check.sh b/arch/powerpc

Re: [patch V3 12/20] powerpc/ps3: Convert half completion to rcuwait

2020-03-27 Thread Geoff Levand
.6-rc7 on the PS3 and it worked as expected. Tested by: Geoff Levand

[PATCH 1/9] powerpc/ps3: Remove duplicate error messages

2020-03-27 Thread Geoff Levand
From: Markus Elfring Remove duplicate memory allocation failure error messages. Signed-off-by: Markus Elfring Signed-off-by: Geoff Levand --- arch/powerpc/platforms/ps3/os-area.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/ps3/os-area.c b

[PATCH 7/9] powerpc/ps3: Add check for otheros image size

2020-03-27 Thread Geoff Levand
The ps3's otheros flash loader has a size limit of 16 MiB for the uncompressed image. If that limit will be reached output the flash image file as 'otheros-too-big.bld'. Signed-off-by: Geoff Levand --- arch/powerpc/boot/wrapper | 13 +++-- 1 file changed, 11 insertions(

[PATCH 4/9] powerpc/ps3: remove an unneeded NULL check

2020-03-27 Thread Geoff Levand
From: Dan Carpenter Static checkers don't like the inconsistent NULL checking on "ops". This function is only called once and "ops" isn't NULL so the check can be removed. Signed-off-by: Dan Carpenter Signed-off-by: Geoff Levand --- drivers/ps3/sys-manager-co

[PATCH 0/9] PS3 patches for v5.7

2020-03-27 Thread Geoff Levand
) Dan Carpenter (1): powerpc/ps3: remove an unneeded NULL check Emmanuel Nicolet (1): ps3disk: use the default segment boundary Geoff Levand (4): powerpc/ps3: Set CONFIG_UEVENT_HELPER=y in ps3_defconfig powerpc/ps3

[PATCH 8/9] powerpc/ps3: Add lv1_panic

2020-03-27 Thread Geoff Levand
lv1_panic takes a single parameter, 0=halt, 1=reboot, and it will never return. Signed-off-by: Geoff Levand --- arch/powerpc/boot/ppc_asm.h| 6 ++ arch/powerpc/include/asm/ppc_asm.h | 6 ++ 2 files changed, 12 insertions(+) diff --git a/arch/powerpc/boot/ppc_asm.h b/arch

[PATCH 3/9] net/ps3_gelic_net: Remove duplicate error message

2020-03-27 Thread Geoff Levand
From: Markus Elfring Remove an extra message for a memory allocation failure in function gelic_descr_prepare_rx(). Signed-off-by: Markus Elfring Signed-off-by: Geoff Levand --- drivers/net/ethernet/toshiba/ps3_gelic_net.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net

[PATCH 9/9] powerpc/ps3: Add udbg_panic

2020-03-27 Thread Geoff Levand
BUG_ON() won't work in the early init code, so replace it with a new routine udbg_panic() that uses udbg_printf() and lv1_panic(). Signed-off-by: Geoff Levand --- arch/powerpc/platforms/ps3/mm.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/plat

  1   2   3   4   5   6   >