On Tuesday 24 June 2008 23:24:26 John Rigby wrote:
--- /dev/null
+++ b/arch/powerpc/platforms/512x/clock.c
[...]
+static void ref_clk_calc(struct clk *clk)
+{
+ unsigned long rate;
+
+ rate = devtree_getfreq(bus-frequency);
+ if (rate == 0) {
+
On Wed, 25 Jun 2008 09:25:28 +1000 Michael Ellerman [EMAIL PROTECTED] wrote:
extern rwlock_t devtree_lock; /* temporary while merging */
Since arch/ppc is going away, does this meant that the lock can go away do?
You wish :) That /would/ make life easier.
I think the comment
Bizhan Gholikhamseh (bgholikh) wrote:
HI all,
Has anyone tried using a Graphic card on Freescale MPC837x-rdb board? If
so I appreciate any hints and information that I can use.
take a look at these patches and info in the readme under:
http://www.scitechsoft.com/ftp/snap/linux/videoboot/
it
On Mon, Jun 23, 2008 at 08:48:09PM +0300, Adrian Bunk wrote:
diff --git a/include/asm-arm/ptrace.h b/include/asm-arm/ptrace.h
index 7aaa206..8382b75 100644
--- a/include/asm-arm/ptrace.h
+++ b/include/asm-arm/ptrace.h
@@ -139,8 +139,6 @@ static inline int valid_user_regs(struct pt_regs *regs)
Hi Jon,
On Wed, 11 Jun 2008 12:14:08 -0400, Jon Smirl wrote:
On 6/11/08, Wolfram Sang [EMAIL PROTECTED] wrote:
On Tue, Jun 10, 2008 at 10:40:45PM -0400, Jon Smirl wrote:
Convert i2c-mpc from a platform driver into an of_platform driver.
This patch is much smaller since Jochen already
Hi Jon,
Convert i2c-mpc from a platform driver into an of_platform driver.
This patch is much smaller since Jochen already added
of_find_i2c_driver(). Versions of this have been posted before.
Signed-ff-by: Jon Smirl [EMAIL PROTECTED]
--
This separator is supposed to be 3 dashes, NOT 2
Index: linux-2.6-ozlabs/arch/powerpc/kernel/ptrace32.c
===
--- linux-2.6-ozlabs.orig/arch/powerpc/kernel/ptrace32.c
+++ linux-2.6-ozlabs/arch/powerpc/kernel/ptrace32.c
@@ -64,6 +64,11 @@ static long compat_ptrace_old(struct tas
Kumar Gala wrote:
+/* Macros to workout the correct index for the FPR in the thread
struct */
+#define FPRNUMBER(i) (((i) - PT_FPR0) 1)
+#define FPRHALF(i) (((i) - PT_FPR0) % 2)
Have you looked at what the compiler spits out here to make sure we
aren't getting a divide? Seems like we could
D'oh. I spent so much time and the solution is so easy.
Thanks everybody. I have updated to binutils-2.18.50.0.6-2.ppc and now
it works again on QS22 and JS21.
So I checked your binary, and the only differences between working and
not-working are a) some section offsets in the file, and b) the
Gabriel Paubert wrote:
On Wed, Jun 25, 2008 at 10:34:32AM -0500, Scott Wood wrote:
Kumar Gala wrote:
+/* Macros to workout the correct index for the FPR in the thread
struct */
+#define FPRNUMBER(i) (((i) - PT_FPR0) 1)
+#define FPRHALF(i) (((i) - PT_FPR0) % 2)
Have you looked at what the
On Wed, Jun 25, 2008 at 10:34:32AM -0500, Scott Wood wrote:
Kumar Gala wrote:
+/* Macros to workout the correct index for the FPR in the thread
struct */
+#define FPRNUMBER(i) (((i) - PT_FPR0) 1)
+#define FPRHALF(i) (((i) - PT_FPR0) % 2)
Have you looked at what the compiler spits out
On Jun 25, 2008, at 11:17 AM, Scott Wood wrote:
Gabriel Paubert wrote:
On Wed, Jun 25, 2008 at 10:34:32AM -0500, Scott Wood wrote:
Kumar Gala wrote:
+/* Macros to workout the correct index for the FPR in the
thread struct */
+#define FPRNUMBER(i) (((i) - PT_FPR0) 1)
+#define FPRHALF(i)
Gabriel Paubert [EMAIL PROTECTED] writes:
On Wed, Jun 25, 2008 at 10:34:32AM -0500, Scott Wood wrote:
Kumar Gala wrote:
+/* Macros to workout the correct index for the FPR in the thread
struct */
+#define FPRNUMBER(i) (((i) - PT_FPR0) 1)
+#define FPRHALF(i) (((i) - PT_FPR0) % 2)
Have
Signed-off-by: Scott Wood [EMAIL PROTECTED]
---
Added 86xx PMC bindings, and corrected a couple errors in the example.
Documentation/powerpc/booting-without-of.txt | 207 -
1 files changed, 165 insertions(+), 42 deletions(-)
diff --git
On Jun 24, 2008, at 4:24 PM, John Rigby wrote:
This allows other platforms with the same pci
block like MPC5121 to use it.
Signed-off-by: John Rigby [EMAIL PROTECTED]
---
Can you break the PCI patches out into their own patch set.
arch/powerpc/platforms/83xx/Kconfig |2 +-
* Nate Case | 2008-06-17 11:11:38 [-0500]:
This adds support for hardware configurations that don't match the
chip default register settings (e.g., 16-bit data bus, DACK and
DREQ pulled up instead of down, analog overcurrent mode).
These settings are passed in via the OF device tree. The PCI
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 a
Add two functions: of_find_next_property() returns the next in a list of
properties for a given node. It's handy when you want a list of properties
for a given node, but you don't know what the properties are called.
of_get_aliased_node() looks up the aliases in the /aliases node and returns
the
This is version 2 of the full patchset pulling in all prior changes
posted to the list.
Cooperative Memory Overcommitment (CMO) is a pSeries platform feature
that enables the allocation of more memory to a set logical partitions
than is physically present. For example, a system with 16Gb of
From: Nathan Fontenot [EMAIL PROTECTED]
Remove the extraneous error reporting used when a hcall made from lparcfg fails.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 32
From: Nathan Fotenot [EMAIL PROTECTED]
Split the retrieval and setting of processor entitlement and weight into
helper routines. This also removes the printing of the raw values
returned from h_get_ppp, the values are already parsed and printed.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
From: Nathan Fontenot [EMAIL PROTECTED]
Update /proc/ppc64/lparcfg to enable displaying of Cooperative Memory
Overcommitment statistics as reported by the H_GET_MPP hcall. This also
updates the lparcfg interface to allow setting memory entitlement and
weight.
Signed-off-by: Nathan Fontenot
From: Nathan Fontenot [EMAIL PROTECTED]
Split the retrieval of processor entitlement data returned in the H_GET_PPP
hcall into its own helper routine.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 80
From: Robert Jennings [EMAIL PROTECTED]
For Cooperative Memory Overcommitment (CMO), set the FW_FEATURE_CMO
flag in powerpc_firmware_features from the rtas ibm,get-system-parameters
table prior to calling iommu_init_early_pSeries.
With this, any CMO specific functionality can be controlled by
From: Brian King [EMAIL PROTECTED]
Newer versions of firmware support page states, which are used by the
collaborative memory manager (future patch) to loan pages to the
hypervisor for use by other partitions.
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL
From: Brian King [EMAIL PROTECTED]
Adds a collaborative memory manager, which acts as a simple balloon driver
for System p machines that support cooperative memory overcommitment
(CMO).
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
From: Brian King [EMAIL PROTECTED]
The Cooperative Memory Overcommit (CMO) on System p does not currently
support native PCI devices or eBus devices when enabled. Prevent
PCI bus probe and eBus device probe if the feature is enabled.
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by:
From: Brian King [EMAIL PROTECTED]
With the addition of Cooperative Memory Overcommitment (CMO) support
for IBM Power Systems, two fields have been added to the VPA to report
paging statistics. Add support in lparcfg to report them to userspace.
Signed-off-by: Brian King [EMAIL PROTECTED]
From: Robert Jennings [EMAIL PROTECTED]
Enable bus level entitled memory accounting for Cooperative Memory
Overcommitment (CMO) environments. The normal code path should not
be affected.
The following changes are made that the VIO bus layer for CMO:
* add IO memory accounting per device
From: Nathan Fontenot [EMAIL PROTECTED]
Verify memory entitlement updates can be handled by vio.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 10 ++
1 file changed, 10 insertions(+)
Index:
From: Robert Jennings [EMAIL PROTECTED]
Define a get_io_entitlement function so that it can function in a
Cooperative Memory Overcommitment (CMO) environment (it returns 0 to
indicate that no IO entitlement is required, as the driver does not
perform DMA operations).
Signed-off-by: Robert
From: Robert Jennings [EMAIL PROTECTED]
Define a get_io_entitlement function so that it can function in a
Cooperative Memory Overcommitment (CMO) environment (it returns 0 to
indicate that no IO entitlement is required, as the driver does not
perform DMA operations).
Signed-off-by: Robert
To support Cooperative Memory Overcommitment (CMO), we need to check
for failure from some of the tce hcalls.
These changes for the pseries platform affect the powerpc architecture;
patches for the other affected platforms are included in this patch.
pSeries platform IOMMU code changes:
*
patch 1/2 cleans up powerpc pci config
patch 2/2 moves mpc83xx_add_bridge to fsl_pci.c
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
change
bool PCI support if long ugly expression
to
bool PCI support if PPC_HAS_PCI
and add select PPC_HAS_PCI to all the config nodes that
were previously in the PCI if expression
Signed-off-by: John Rigby [EMAIL PROTECTED]
---
arch/powerpc/Kconfig |9 +
From: Robert Jennings [EMAIL PROTECTED]
Enable the driver to function in a Cooperative Memory Overcommitment (CMO)
environment.
The following changes are made to enable the driver for CMO:
* DMA mapping errors will not result in error messages if entitlement has
been exceeded and resources
This allows other platforms with the same pci
block like MPC5121 to use it.
Signed-off-by: John Rigby [EMAIL PROTECTED]
---
arch/powerpc/platforms/83xx/Kconfig |2 +-
arch/powerpc/platforms/83xx/Makefile |1 -
arch/powerpc/platforms/83xx/mpc831x_rdb.c |1 +
Enable ibmveth for Cooperative Memory Overcommitment (CMO). For this driver
it means calculating a desired amount of IO memory based on the current MTU
and updating this value with the bus when MTU changes occur. Because DMA
mappings can fail, we have added a bounce buffer for temporary cases
From: Nathan Fontenot [EMAIL PROTECTED]
Update the architecture vector to indicate that Cooperative Memory
Overcommitment is supported.
This is the last patch in the series. Committing it will signal to
the platform firmware is CMO enabled.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Segher Boessenkool wrote:
It returns 2 for both i2c-1 and i2c-2.
Well, I'm assuming that the alias property names will follow the current
convention of nn where is a name and nn is a number. No dashes or
other punctuation.
Also, alias names do not have any significance in general,
Updated device tree for MPC5121ADS
Signed-off-by: John Rigby [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc5121ads.dts | 309 -
1 files changed, 299 insertions(+), 10 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc5121ads.dts
(Taking off the USB cc list)
On Wed, Jun 25, 2008 at 08:24:25PM +0200, Sebastian Siewior wrote:
Kumar / Josh: Should we describe those DT entries in
Documentation/powerpc/booting-without-of.txt? In the yes case: which
section do you recommend?
I don't see a need to. We don't document the IBM
* Olof Johansson | 2008-06-25 16:22:50 [-0500]:
Kumar / Josh: Should we describe those DT entries in
Documentation/powerpc/booting-without-of.txt? In the yes case: which
section do you recommend?
I don't see a need to. We don't document the IBM busses there either.
Okey.
-Olof
Sebastian
Benjamin Herrenschmidt wrote:
No, the fabric driver should get to its device node in a way or another,
and from there, find a pointer (via a phandle) to it's codec, and match
that to an i2c device.
If the current infrastructure doesn't allow that kind of matching, it
needs to be fixed.
Basic PM support for 83xx. Standby is implemented as sleep.
Suspend-to-RAM is implemented as deep sleep (with the processor
turned off) on 831x. PCI agent power management is supported.
Device power management of SOC peripherals is not yet supported.
Signed-off-by: Scott Wood [EMAIL PROTECTED]
Signed-off-by: Scott Wood [EMAIL PROTECTED]
---
Documentation/powerpc/booting-without-of.txt |5 +-
arch/powerpc/sysdev/fsl_soc.c|3 +
drivers/net/gianfar.c| 118 +-
drivers/net/gianfar.h| 12 ++-
Signed-off-by: Scott Wood [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc8313erdb.dts | 247 +++--
1 files changed, 174 insertions(+), 73 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts
b/arch/powerpc/boot/dts/mpc8313erdb.dts
index e1f0dca..291aa82
On Wed, 25 Jun 2008 16:51:39 -0500
Scott Wood [EMAIL PROTECTED] wrote:
+ [EMAIL PROTECTED] {
+ device_type = crypto;
+ model = SEC2;
I thought we were done with the two above properties..
+
On Wed, 2008-06-25 at 14:19 -0600, John Rigby wrote:
change
bool PCI support if long ugly expression
to
bool PCI support if PPC_HAS_PCI
and add select PPC_HAS_PCI to all the config nodes that
were previously in the PCI if expression
Signed-off-by: John Rigby [EMAIL PROTECTED]
With 2.6.24 (your version from early february) the PS3 hangs completely...
you have to power cycle the ps3.
so, it looks like 2.6.26 is a little better... but you have to power off/on
as well to get rid of the zombie.
Looks like an issue with spufs. Though from your traces, it looks like
It returns 2 for both i2c-1 and i2c-2.
Well, I'm assuming that the alias property names will follow the
current
convention of nn where is a name and nn is a number. No
dashes or
other punctuation.
Well, yes, your suggested code doesn't allow punctuation either; but
that wasn't my
On Wed, 2008-06-25 at 15:05 -0500, Timur Tabi wrote:
+/**
+ * Return the first or next property within a node.
+ * @np: the node
+ * @prev: if NULL, return 1st prop, otherwise return the prop after 'prev'
+ *
+ * This function is used to get a list of properties within a node. It's
+ *
In message [EMAIL PROTECTED] you wrote:
On Jun 25, 2008, at 11:17 AM, Scott Wood wrote:
Gabriel Paubert wrote:
On Wed, Jun 25, 2008 at 10:34:32AM -0500, Scott Wood wrote:
Kumar Gala wrote:
+/* Macros to workout the correct index for the FPR in the
thread struct */
+#define
Following on from the last patch, which made dtc use the same endian
conversion functions as libfdt, this patch makes ftdump use these
functions as well. This brings us down to a single set of endian
handling functions in all of dtc and libfdt, so just one place to fix
things.
Signed-off-by:
Hi Stefan,
Application hangs after a while defunct and dmesg output looks like
d.txt. (See attached file: d.txt)
Looks like this is caused by doing the mmput() while the state mutex is
held in spu_forget.
In your case, the mm is the final reference to the context, so this is
resulting in a
On Wed, 2008-06-25 at 14:19 -0600, John Rigby wrote:
change
bool PCI support if long ugly expression
to
bool PCI support if PPC_HAS_PCI
and add select PPC_HAS_PCI to all the config nodes that
were previously in the PCI if expression
diff --git a/arch/powerpc/Kconfig
I've recently worked with a FreeBSD developer, getting dtc and libfdt
working on FreeBSD. This showed up a number of portability problems
in the dtc package which this patch addresses. Changes are as
follows:
- the parent_offset and supernode_atdepth_offset testcases
used the glibc
Thanks Michael, your explanation makes things make more sense. I was
just a half intelligent monkey trying to replicate the existing logic.
I think your explanation also answers Ben's question also.
On Wed, Jun 25, 2008 at 6:53 PM, Michael Ellerman
[EMAIL PROTECTED] wrote:
On Wed, 2008-06-25
On Tue, 2008-06-24 at 08:47 -0500, Kumar Gala wrote:
On Jun 23, 2008, at 8:33 PM, Michael Ellerman wrote:
This patch adds the logic to patch alternative sections. This is
fairly
straight forward, except for branches. Relative branches that jump
from
inside the else section to
On Tue, 2008-06-24 at 08:48 -0500, Kumar Gala wrote:
On Jun 23, 2008, at 8:32 PM, Michael Ellerman wrote:
Currentl we have three versions of MAKE_FTR_SECTION_ENTRY(), the
macro that
generates a feature section entry. There is 64bit version, a 32bit
version
and version for 32bit
On Tue, 2008-06-24 at 08:48 -0500, Kumar Gala wrote:
On Jun 23, 2008, at 8:32 PM, Michael Ellerman wrote:
This commit adds some new routines for patching code, they will be
used
in a following commit.
Signed-off-by: Michael Ellerman [EMAIL PROTECTED]
---
Oops, sent to the wrong address for the mailing list...
From: Grant Likely [EMAIL PROTECTED]
There have been many questions on and off the mailing list about how
exactly the bootwrapper is used for embedded targets. Add some
documentation and help text to try and clarify the system.
62 matches
Mail list logo