From: Benjamin Herrenschmidt
This error log stuff is really pseries specific. As a first step we move
the initialization of these variables to the caller of
nvram_create_partition(), which is also slightly reorganized so we
setup the free partition before we clear the new partition, so the
chance
From: Benjamin Herrenschmidt
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/kernel/nvram_64.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/nvram_64.c b/arch/powerpc/kernel/nvram_64.c
index 6dd2700..01e6844 100644
---
From: Jim Keniston
The name field in the nvram_header can be < 12 chars, null-terminated,
or 12 chars without the null. Handle this safely.
Signed-off-by: Jim Keniston
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/kernel/nvram_64.c |5 +++--
1 files changed, 3 insertions(+), 2 d
From: Benjamin Herrenschmidt
The nvram log partition stuff currently in nvram_64.c is really
pseries specific. It isn't actually used on anything else (despite
the fact that we ran the code to setup the partition on anything
except powermac) and the log format is specific to pseries RTAS
implemen
From: Jim Keniston
Simplify creation and use of the NVRAM partition list.
Signed-off-by: Jim Keniston
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/kernel/nvram_64.c | 26 --
1 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/arch/powerpc/kernel
From: Benjamin Herrenschmidt
I'm not aware of any userspace tool accessing it by its name anyways,
it's read back by the kernel itself on the next boot to get back
older log entries
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/platforms/pseries/nvram.c | 23 +--
From: Benjamin Herrenschmidt
This changes the function to use nvram_find_partition() instead
of doing the lookup "by hand". It also makes some of the logic
clearer and prints out more useful diagnostic information.
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/kernel/nvram_64.c | 71
From: Benjamin Herrenschmidt
Existing code is nasty, has bugs etc... rewrite the function
more simply, and make it take the signature and optional
name of the partitions to remove as arguments, thus making
it a more generic utility.
We also try to remove a log partition that we find and is too
s
From: Benjamin Herrenschmidt
When creating a partition, we clear it entirely rather than
just the first two words since the previous code was rather
specific to the pseries log partition format.
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/kernel/nvram_64.c | 19 ++-
From: Benjamin Herrenschmidt
This converts nvram_create_partition() to use a size in bytes
rather than blocks. It does the appropriate alignment internally
The size passed is also the data size (ie. doesn't include the
header anymore).
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/ke
From: Benjamin Herrenschmidt
Use BUILD_BUG_ON to ensure the structure representing a partition
header have the right size.
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/kernel/nvram_64.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/nvra
From: Benjamin Herrenschmidt
Replace nvram_create_os_partition() with a variant that takes
the partition name, signature and size as arguments.
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/kernel/nvram_64.c | 46 +++
arch/powerpc/platforms/pserie
From: Benjamin Herrenschmidt
This moves a bunch of definitions out of asm/nvram.h to the files
that use them or just outright remove completely unused stuff.
We leave the partition signatures definitions, they will be useful
Signed-off-by: Benjamin Herrenschmidt
---
arch/powerpc/include/asm/n
On Thu, 2010-11-11 at 20:53 -0800, Jim Keniston wrote:
> This series contains some fixups to Ben Herrenschmidt's Aug. 2 patch
> set, "[RFC] Clean up ppc64 nvram code" --
> http://lists.ozlabs.org/pipermail/linuxppc-dev/2010-August/084601.html
>
> These patches apply atop Ben's 11-patch series.
> -
Hi Linus !
This is a small fix for a misuse of RCU on powerpc, please pull.
Cheers,
Ben.
The following changes since commit
72083646528d4887b920deb71b37e09bc7d227bb:
Un-inline get_pipe_info() helper function (2010-11-28 16:27:19 -0800)
are available in the git repository at:
git://git.kern
On Mon, 2010-11-29 at 13:35 -0500, Josh Boyer wrote:
> On Mon, Nov 15, 2010 at 12:15:06PM -0800, tma...@apm.com wrote:
> >From: Tirumala Marri
> >
> >This patch adds MSI support for 440SPe, 460Ex, 460Sx and 405Ex.
> >
>
> My apologies in the delay here. I was on holiday for a while and never
> g
On Mon, 2010-11-29 at 11:46 -0800, Nishanth Aravamudan wrote:
> > So you broke bisection... fold the patch instead or invert them
>
> Thanks for the review. I resent this series on 10/18 and it had the
> patches folded together.
Right, I know :-) I just mistakenly had that old one still tagged i
Hi Ben,
On 29.11.2010 [12:02:57 +1100], Benjamin Herrenschmidt wrote:
> On Wed, 2010-09-15 at 11:05 -0700, Nishanth Aravamudan wrote:
> > Without this change drivers, such as ibmvscsi, fail to load with the
> > previous change.
> > ---
>
> So you broke bisection... fold the patch instead or inver
On Mon, Nov 15, 2010 at 12:15:06PM -0800, tma...@apm.com wrote:
>From: Tirumala Marri
>
>This patch adds MSI support for 440SPe, 460Ex, 460Sx and 405Ex.
>
My apologies in the delay here. I was on holiday for a while and never
got back to review this. A few notes below.
Also, I've added a few p
On Mon, Nov 29, 2010 at 11:38:14AM +1100, Benjamin Herrenschmidt wrote:
> On Wed, 2010-09-08 at 09:41 -0700, Ira W. Snyder wrote:
> > This adds basic support for the system controller FPGA on the OVRO CARMA
> > board. This patch only adds infrastructure that will be used by later
> > drivers.
>
>
On Tue, 2010-11-23 at 18:38 +0100, sergej.stepa...@ids.de wrote:
> This patch should fix the following problem:
> 1. the jffs2-image update in the u-boot was ok
> 2. first restart and first mount of the NAND-flash-partition was also ok
> 3. before the restart of controller there are no any acti
This fix is a reset for USB PHY that requires some amount of time for power to
be stable on Canyonlands.
Signed-off-by: Rupjyoti Sarmah
---
changes from previous version:
-- changed the dts node names for consistency
-- corrected the indentation pointed by Wolfgang Denk
arch/powerpc/boot/dts/c
"K.Prasad" writes:
> Although ppc_set_hwdebug() can set DABR through set_dabr() in
> arch/powerpc/kernel/process.c, it is good to have it converted to use
> register_user_hw_breakpoint().
What do you mean with "good to have"? It doesn't work without it unless
I disable PERF_EVENTS (which is the
23 matches
Mail list logo