Mohan Kumar M writes:
> Attaching the .config
Hmmm, your config works for me on a POWER6 partition here, whether I
netboot the zImage.pseries or boot it with yaboot. I wonder if your
toolchain is an older version. What is the output from ld --version
and gcc --version?
Also, could you send me
roel kluin wrote:
> untested, is it correct?
not a clue, do you know how long ago that was? :)
does the driver check endianness anywhere?
> duplicate SNDRV_PCM_FMTBIT_S{16,24}_BE
>
> Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
> ---
> diff --git a/sound/aoa/codecs/snd-aoa-codec-tas.c
> b/sound/
Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/cell/spufs/sched.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/cell/spufs/sched.c
b/arch/powerpc/platforms/cell/spufs/sched.c
index 2deeeba..f7e5af8 100644
--- a/arch/
Hi Paul,
Attaching the .config
Paul Mackerras wrote:
Mohan Kumar M writes:
If you need, I can give the .config I use.
Yes please, send it over.
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.27-rc1
# Mon Aug 18 14:24:37 2008
#
CONFIG_PPC64=y
#
# Processor
On Mon, 2008-08-18 at 23:12 -0400, Steven Rostedt wrote:
> On Tue, 19 Aug 2008, Benjamin Herrenschmidt wrote:
>
> > Ok, so i did a patch, but it doesn't fix the problem. So
> > there's something else whacking on the stack frames.
>
> Is it 32 bit or 64? I've tested the 64 bit quite a bit, but no
Joachim Fenkes writes:
> Recent of_platform changes made of_bus_type_init() overwrite the bus type's
> .dev_attrs list, so move ibmebus' "name" attribute (which is needed by eHCA
> userspace support) into generic OF device code. Tested on POWER.
Is this a bugfix that is needed for 2.6.27?
___
On Mon, 18 Aug 2008, Mathieu Desnoyers wrote:
> > > >
> > >
> > > Argh. See text_poke(). It's there exactly for this purpose on x86.
> >
> > Ouch, I just did. text_poke is quite heavy. It would be interesting to see
> > that performed on 20,000 locations at one time. I could play with it, but
* Steven Rostedt ([EMAIL PROTECTED]) wrote:
>
> On Mon, 18 Aug 2008, Mathieu Desnoyers wrote:
>
> > * Steven Rostedt ([EMAIL PROTECTED]) wrote:
> > >
> > > On Tue, 19 Aug 2008, Benjamin Herrenschmidt wrote:
> > >
> > > >
> > > > > Hmm, this was originally copied from x86, where we did a cmpxch
On Mon, 18 Aug 2008, Mathieu Desnoyers wrote:
> * Steven Rostedt ([EMAIL PROTECTED]) wrote:
> >
> > On Tue, 19 Aug 2008, Benjamin Herrenschmidt wrote:
> >
> > >
> > > > Hmm, this was originally copied from x86, where we did a cmpxchg, but
> > > > that
> > > > is probably not needed since all
On Tue, 19 Aug 2008, Benjamin Herrenschmidt wrote:
> Ok, so i did a patch, but it doesn't fix the problem. So
> there's something else whacking on the stack frames.
Is it 32 bit or 64? I've tested the 64 bit quite a bit, but not so much
the 32 (my powerbook is not usually that stable).
You mi
Ok, so i did a patch, but it doesn't fix the problem. So
there's something else whacking on the stack frames.
Still, here it is:
powerpc/ftrace: Fix broken assembly for code replacement
Instead, uses __get_user() and __put_user().
Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
---
I
* Steven Rostedt ([EMAIL PROTECTED]) wrote:
>
> On Tue, 19 Aug 2008, Benjamin Herrenschmidt wrote:
>
> >
> > > Hmm, this was originally copied from x86, where we did a cmpxchg, but
> > > that
> > > is probably not needed since all of this is done in kstop_machine. Also,
> > > only the "get" i
On Tue, 19 Aug 2008, Benjamin Herrenschmidt wrote:
>
> > Hmm, this was originally copied from x86, where we did a cmpxchg, but that
> > is probably not needed since all of this is done in kstop_machine. Also,
> > only the "get" is needed. If we don't fault there, we wont fault on the
> > put
> Hmm, this was originally copied from x86, where we did a cmpxchg, but that
> is probably not needed since all of this is done in kstop_machine. Also,
> only the "get" is needed. If we don't fault there, we wont fault on the
> put (unless we have permissions wrong, and that would be a bug).
W
On Tue, 19 Aug 2008, Benjamin Herrenschmidt wrote:
> On Mon, 2008-08-18 at 14:27 -0400, Steven Rostedt wrote:
> >
> > On Mon, 18 Aug 2008, Scott Wood wrote:
> >
> > > Mathieu Desnoyers wrote:
> > > > asm volatile (
> > > > "1: lwz %1, 0(%2)\n"
> > > >
.../...
> There is a software workaround that uses a trick to detect if full-speed
> interface
> is enabled from the hi-speed driver(and vice versa), and use suspend control
> for ohci
> to enable/disable it appropriately.
>
> Initial version of the software workaround was posted to linux-u
On Mon, 2008-08-18 at 14:27 -0400, Steven Rostedt wrote:
>
> On Mon, 18 Aug 2008, Scott Wood wrote:
>
> > Mathieu Desnoyers wrote:
> > > asm volatile (
> > > "1: lwz %1, 0(%2)\n"
> > > " cmpw%1, %5\n"
> > > " bne
On Mon, 2008-08-18 at 17:33 -0600, Mitesh R. Meswani wrote:
> Hello
>
> I am trying to find the cpuid when the functions that handle return
> from context switch and interrupts are called, based on the cpu the
> return code is executing on, I want to take some specific actions.
What are you tr
> > Oops: Exception in kernel mode, sig: 11 [#1]
> > Exsw1600
> > Modules linked in:
> > NIP: c00bbb20 LR: c00bbb20 CTR:
> > REGS: dd5b1c50 TRAP: 0700 Not tainted (2.6.27-rc2)
> > MSR: 00029000 CR: 24082282 XER: 2000
> > TASK = ddcce060[1707] 'find' THREAD: dd5b
> > GPR00: 0
On Mon, 2008-08-18 at 11:07 -0400, Steven Rostedt wrote:
> Eran Liberty wrote:
> > After compiling a kernel with ftrace I started to experience all sorts
> > of crashes.
>
> Just to make sure...
>
> ftrace enables markers too, and RCU has tracing with the markers. This
> may not be the problem,
Commit f46753c5e354b857b20ab8e0fe7b2579831dc369 ("PCI: introduce pci_slot")
removed the need for this error path. Eliminate this warning:
drivers/pci/hotplug/rpaphp_slot.c: In function 'rpaphp_register_slot':
drivers/pci/hotplug/rpaphp_slot.c:151: warning: label 'sysfs_fail' defined but
not use
Mohan Kumar M writes:
> If you need, I can give the .config I use.
Yes please, send it over.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
On Mon, 2008-08-18 at 13:59 -0700, Kevin Diggs wrote:
> Could I get any needed corrections on this. Especially on the "???"
You're missing CC: lkml.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
Steven Rostedt wrote:
Eran Liberty wrote:
After compiling a kernel with ftrace I started to experience all
sorts of crashes.
Just to make sure...
ftrace enables markers too, and RCU has tracing with the markers. This
may not be the problem, but I just want to eliminate as many variables
as
Hello
I am trying to find the cpuid when the functions that handle return from
context switch and interrupts are called, based on the cpu the return code is
executing on, I want to take some specific actions.
I have been trying to use the following code segments :
LOAD_REG_IMMEDIATE(r
In message <[EMAIL PROTECTED]> you wr
ote:
> On Tue, Aug 19, 2008 at 12:25 AM, Becky Bruce <[EMAIL PROTECTED]> wro
te:
> >
> > On Aug 18, 2008, at 3:51 PM, Michael Neuling wrote:
> >
> >> In message <[EMAIL PROTECTED]>
> >> you wrote:
> >>>
> >>> The mmu is still disabled at this point.
> >>>
> >>>
In message <[EMAIL PROTECTED]> you wrote:
> Michael Neuling wrote:
> >> It seems like no one else is interested in the subject, so i will talk
> >> directly to you.
> >>
> >> If you say that the cpu also seg faults, it means that the problem is
> >> in the code of the linux kernel... :)
> >
> > So
Michael Neuling wrote:
It seems like no one else is interested in the subject, so i will talk
directly to you.
If you say that the cpu also seg faults, it means that the problem is
in the code of the linux kernel... :)
Sorry, I was only joking. The hardware does _not_ segfault. There is
no e
A published errata for ppc440epx states, that when running Linux with both
EHCI and OHCI modules loaded, the EHCI module experiences a fatal error
when a high-speed device is connected to the USB2.0, and functions normally
if OHCI module is not loaded.
Quote from original descriprion:
The 440EP
> It seems like no one else is interested in the subject, so i will talk
> directly to you.
>
> If you say that the cpu also seg faults, it means that the problem is
> in the code of the linux kernel... :)
Sorry, I was only joking. The hardware does _not_ segfault. There is
no equivalent to seg
On Tue, Aug 19, 2008 at 12:25 AM, Becky Bruce <[EMAIL PROTECTED]> wrote:
>
> On Aug 18, 2008, at 3:51 PM, Michael Neuling wrote:
>
>> In message <[EMAIL PROTECTED]>
>> you wrote:
>>>
>>> The mmu is still disabled at this point.
>>>
>>> What is marked as readonly is the text section of the vmlinux f
On Mon, 2008-08-18 at 18:34 -0400, roel kluin wrote:
> untested, is it correct?
Your patch is correct. The bug is quite harmless thankfully :-)
Ben.
> arch/powerpc/include/asm/pmac_feature.h:359:
> #define MACIO_FLAG_SCCA_ON 0x0001
> #define MACIO_FLAG_SCCB_ON 0x0002
> ---
> duplicate
On Mon, 2008-08-18 at 16:17 +0200, Sébastien Chrétien wrote:
> The mpc7448hpc2 uses a tsi108-bridge. My board uses an IP on a FPGA..
> I read the code of mpc7448_hpc2.c.
> It uses a ioremap in order to iniatilize the tsi108 registers. But I
> have already initialized MMU with my registers in HEAD_3
untested, is it correct?
---
duplicate SNDRV_PCM_FMTBIT_S{16,24}_BE
Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
---
diff --git a/sound/aoa/codecs/snd-aoa-codec-tas.c
b/sound/aoa/codecs/snd-aoa-codec-tas.c
index 7a16a33..c922505 100644
--- a/sound/aoa/codecs/snd-aoa-codec-tas.c
+++ b/sound/aoa/c
On Aug 18, 2008, at 3:51 PM, Michael Neuling wrote:
In message <[EMAIL PROTECTED]
> you wrote:
The mmu is still disabled at this point.
What is marked as readonly is the text section of the vmlinux file
generated when compiling the kernel. And since the code tries to
write
to the text sect
Fix two memory leaks in the Freescale QE library: add a missing kfree() in
ucc_fast_init() if the ioremap() fails, and update ucc_fast_free() to call
iounmap() on uf_regs.
Based on a patch from Tony Breeds <[EMAIL PROTECTED]>.
Signed-off-by: Timur Tabi <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev
On Mon, 2008-08-18 at 13:35 +0200, Sébastien Chrétien wrote:
> Can somebody explain me the aim of the function "setup_arch" in the
> machine_call structure ?
This is where most of your arch code gets a chance to initialize before
most of the core is.
The generic core linux code calls the archite
Could I get any needed corrections on this. Especially on the "???"
[EMAIL PROTECTED] linux-2.6.26]$ diff -U3
include/linux/completion.{h.orig,h}|more
--- include/linux/completion.h.orig 2008-08-13 00:56:52.0 -0700
+++ include/linux/completion.h 2008-08-18 13:00:23.0 -0700
In message <[EMAIL PROTECTED]> you wrote:
> The mmu is still disabled at this point.
>
> What is marked as readonly is the text section of the vmlinux file
> generated when compiling the kernel. And since the code tries to write
> to the text section, I assumed it was the reason for the segmentati
Hi,
I have a similar problem with custom MPC8360 board.
I am able to boot Linux with the mpc836x_dts.dtb provided by freescale.
but when use dtb customised for my board i am unable to boot Linux.
It is hanging after the console handover to real console from boot console.
I am filling all the f
The mmu is still disabled at this point.
What is marked as readonly is the text section of the vmlinux file
generated when compiling the kernel. And since the code tries to write
to the text section, I assumed it was the reason for the segmentation
fault.
I'm not sure how this is dealt with on re
On Mon, 18 Aug 2008, Scott Wood wrote:
> Steven Rostedt wrote:
> > What syntax to do that with?
> >
> > lwz %1,0(%U2)
> > stu %3, 0(%X2)
> >
> > I'm new to those. (and the above does not compile)
>
> lwz%U2%X2 %1, %2
> stw%U2%X2 %3, %2
Thanks, that's new to me.
>
> > > Why stwu with an
In message <[EMAIL PROTECTED]> you wrote:
> Hello,
>
> First, I'm talkin about the 2.6.11 version. I know arch/ppc is gone in
> latest versions,
> but i assume the code is still the same and just moved to powerpc.
>
> There is a piece of code in the early initialization of the 2.6 kernel
> that i
Steven Rostedt wrote:
What syntax to do that with?
lwz %1,0(%U2)
stu %3, 0(%X2)
I'm new to those. (and the above does not compile)
lwz%U2%X2 %1, %2
stw%U2%X2 %3, %2
Why stwu with an offset of zero,
How else to do it? stwu %3, (%2) does not compile for me.
stw %3, 0(%2)
The "u" tel
On Mon, 18 Aug 2008, Eran Liberty wrote:
> Steven Rostedt wrote:
> > Eran Liberty wrote:
> > > After compiling a kernel with ftrace I started to experience all sorts of
> > > crashes.
> >
> > Just to make sure...
> >
> > ftrace enables markers too, and RCU has tracing with the markers. This may
On Mon, 18 Aug 2008, Scott Wood wrote:
> Mathieu Desnoyers wrote:
> > asm volatile (
> > "1: lwz %1, 0(%2)\n"
> > " cmpw%1, %5\n"
> > " bne 2f\n"
> > " stwu%3, 0(%2)\n"
> >
* Eran Liberty ([EMAIL PROTECTED]) wrote:
> Steven Rostedt wrote:
>> Eran Liberty wrote:
>>> After compiling a kernel with ftrace I started to experience all sorts of
>>> crashes.
>>
>> Just to make sure...
>>
>> ftrace enables markers too, and RCU has tracing with the markers. This may
>> not be
Steven Rostedt wrote:
Should use a "b" constraint for %2, or you could get r0.
I will make an updated patch.
Or, use an "m"
constraint with %U2%X2 after the lwz/stw.
The 'b' seems easier ;-)
The advantage of the latter is that it allows GCC to choose indexed or
update instructions -- bu
On Mon, 18 Aug 2008, Scott Wood wrote:
> Mathieu Desnoyers wrote:
> > asm volatile (
> > "1: lwz %1, 0(%2)\n"
> > " cmpw%1, %5\n"
> > " bne 2f\n"
> > " stwu%3, 0(%2)\n"
> >
Mathieu Desnoyers wrote:
asm volatile (
"1: lwz %1, 0(%2)\n"
" cmpw%1, %5\n"
" bne 2f\n"
" stwu%3, 0(%2)\n"
"2:\n"
".section .fixup, \"ax\"\n"
Hi Paul,
I can't boot zImage with your patches. I'm getting the following error
message from prom_init.c
Error: You can't boot a kdump kernel from OF!
This is due to the check:
if (PHYSICAL_START > 0)
prom_panic("Error: You can't boot a kdump kernel from OF!\n");
where PHYSICAL_S
* Steven Rostedt ([EMAIL PROTECTED]) wrote:
> Mathieu Desnoyers wrote:
>>
>> Steve ? I just noticed this :
>>
>>
>> ftrace_modify_code(unsigned long ip, unsigned char *old_code,
>>unsigned char *new_code)
>> {
>> unsigned replaced;
>> unsigned old = *(unsigned *)
* Steven Rostedt ([EMAIL PROTECTED]) wrote:
> Eran Liberty wrote:
>> After compiling a kernel with ftrace I started to experience all sorts of
>> crashes.
>
> Just to make sure...
>
> ftrace enables markers too, and RCU has tracing with the markers. This may
> not be the problem, but I just want
Hello,
First, I'm talkin about the 2.6.11 version. I know arch/ppc is gone in
latest versions,
but i assume the code is still the same and just moved to powerpc.
There is a piece of code in the early initialization of the 2.6 kernel
that identifies the cpu type and then tries to eliminate code th
untested, is it correct?
arch/powerpc/include/asm/pmac_feature.h:359:
#define MACIO_FLAG_SCCA_ON 0x0001
#define MACIO_FLAG_SCCB_ON 0x0002
---
duplicate test of MACIO_FLAG_SCCB_ON
Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
---
diff --git a/arch/powerpc/platforms/powermac/feature.c
b/
Mathieu Desnoyers wrote:
Steve ? I just noticed this :
ftrace_modify_code(unsigned long ip, unsigned char *old_code,
unsigned char *new_code)
{
unsigned replaced;
unsigned old = *(unsigned *)old_code;
unsigned new = *(unsigned *)new_code;
int
untested, is it correct?
---
arch/powerpc/platforms/cell/celleb_scc.h:224:
#define SCC_UHC_USBEN 0x0001
#define SCC_UHC_USBCEN 0x0002
---
diff --git a/arch/powerpc/platforms/cell/celleb_scc_uhc.c
b/arch/powerpc/platforms/cell/celleb_scc_uhc.c
index d63b720..b086f33 1006
On Mon, Aug 18, 2008 at 07:52:12AM -0400, [EMAIL PROTECTED] wrote:
> We've got an 8347 based board very similar to the A&M asp8347. Core clock
> is 400MHz. Bus clock is 2Hz.
> According to the data sheet for the 8347, the decrementer clock runs at a
> quarter of the rate of the bus clock. I
Add information regarding the available and required entitlement amounts
to the message displayed for the panic when insufficient entitlement is
provided at boot.
Signed-off-by: Robert Jennings <[EMAIL PROTECTED]>
---
I had typed "Submitted-by" instead of "Signed-off-by" previously.
---
arch/pow
On Mon, Aug 18, 2008 at 04:44:36PM +0200, Laurent Pinchart wrote:
> On Monday 18 August 2008, Anton Vorontsov wrote:
> > On Mon, Aug 18, 2008 at 03:58:46PM +0200, Laurent Pinchart wrote:
> > [...]
> > > > Not exactly. But you can do this way, if you need to preserve
> > > > a direction. What I did
On Aug 17, 2008, at 3:51 AM, Wolfgang Grandegger wrote:
Due to the missing compatible property for the SOC, the MPC I2C
buses are
not found any more. This patch fixes this issue. Furthermore it
corrects
the name of the SOC node and adds the missing I2C node for the RTC.
Signed-off-by: Wolf
Eran Liberty wrote:
After compiling a kernel with ftrace I started to experience all sorts
of crashes.
Just to make sure...
ftrace enables markers too, and RCU has tracing with the markers. This
may not be the problem, but I just want to eliminate as many variables
as possible.
Could you dis
On Monday 18 August 2008, Anton Vorontsov wrote:
> On Mon, Aug 18, 2008 at 03:58:46PM +0200, Laurent Pinchart wrote:
> [...]
> > > Not exactly. But you can do this way, if you need to preserve
> > > a direction. What I did is a bit different though.
> > >
> > > qe_gpio_set_dedicated() actually jus
During platform setup, save off the primary/secondary paging space pool IDs
and the page size. Added accessors in hvcall.h for these variables.
Signed-off-by: Robert Jennings <[EMAIL PROTECTED]>
---
I wrote "Submitted-by" on the last patch for some strange reason, that't
the only thing changed h
On Jun 11, 2008, at 7:32 PM, Vitaly Bordug wrote:
From: Heiko Schocher <[EMAIL PROTECTED]>
Initially posted on:
http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049682.html
Feedback is addressed in this version (yes, this patch was floating
around for a while...)
Signed-off-by: Heiko
On Mon, Aug 18, 2008 at 03:58:46PM +0200, Laurent Pinchart wrote:
[...]
> > Not exactly. But you can do this way, if you need to preserve
> > a direction. What I did is a bit different though.
> >
> > qe_gpio_set_dedicated() actually just restores a mode that
> > firmware had set up, including dir
The mpc7448hpc2 uses a tsi108-bridge. My board uses an IP on a FPGA.. I read
the code of mpc7448_hpc2.c.
It uses a ioremap in order to iniatilize the tsi108 registers. But I have
already initialized MMU with my registers in HEAD_32.S. Do I need to use
ioremap in setup_arch() ?
2008/8/18, Michae
On Thursday 14 August 2008, Anton Vorontsov wrote:
> On Thu, Aug 14, 2008 at 04:45:52PM +0200, Laurent Pinchart wrote:
> > On Thursday 14 August 2008, Anton Vorontsov wrote:
> > > On Thu, Aug 14, 2008 at 04:04:18PM +0200, Laurent Pinchart wrote:
> > > > On Friday 08 August 2008, Anton Vorontsov wro
On Mon, 2008-08-18 at 13:35 +0200, Sébastien Chrétien wrote:
> Can somebody explain me the aim of the function "setup_arch" in the
> machine_call structure ?
Is this MPC7448 anything like an mpc7448hpc2 ?
If so maybe you should start by looking at the code for it in:
arch/powerpc/platforms/embe
We've got an 8347 based board very similar to the A&M asp8347. Core clock
is 400MHz. Bus clock is 2Hz.
According to the data sheet for the 8347, the decrementer clock runs at a
quarter of the rate of the bus clock. I have two questions:
In arch/powerpc/boot/redboot-83xx.c, the timebase cloc
Can somebody explain me the aim of the function "setup_arch" in the
machine_call structure ?
2008/8/18, Sébastien Chrétien <[EMAIL PROTECTED]>:
>
> Ok I am going to copy some examples.
>
> 2008/8/18, Benjamin Herrenschmidt <[EMAIL PROTECTED]>:
>>
>> On Mon, 2008-08-18 at 10:45 +0200, Sébastien Ch
Ok I am going to copy some examples.
2008/8/18, Benjamin Herrenschmidt <[EMAIL PROTECTED]>:
>
> On Mon, 2008-08-18 at 10:45 +0200, Sébastien Chrétien wrote:
> > Hello,
> >
> > I am developping a Linux for my PPC Board. I must write a
> > define_machine structure (marchdep_calls). Where can I find
On Mon, 2008-08-18 at 10:45 +0200, Sébastien Chrétien wrote:
> Hello,
>
> I am developping a Linux for my PPC Board. I must write a
> define_machine structure (marchdep_calls). Where can I find some
> Information about functions of this structure ?
It isn't well documented unfortunately. Best is
Hello,
I am developping a Linux for my PPC Board. I must write a define_machine
structure (marchdep_calls). Where can I find some Information about
functions of this structure ?
Thanx
Sébastien Chrétien
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.
74 matches
Mail list logo