On Fri, Nov 21, 2008 at 08:21:02AM +0100, Benjamin Krill wrote:
> * David Gibson | 2008-11-21 11:35:45 [+1100]:
>
> >
> >Uh.. registers as port number 84?? What's this random number about?
> >
> It's just the next free number in serial_core.h.
Ah, right, sorry, those are type codes. Thought you
* David Gibson | 2008-11-21 11:35:45 [+1100]:
>
>Uh.. registers as port number 84?? What's this random number about?
>
It's just the next free number in serial_core.h.
Ben
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailma
On Friday 31 October 2008, Stefan Roese wrote:
> + dev_dbg(&spi->dev, "%s: mode %d, %u bpw, %d hz\n",
> + __FUNCTION__, spi->mode, spi->bits_per_word,
> + spi->max_speed_hz);
Oh, and checkpatch.pl would warn about __FUNCTION__ vs __func__ ...
_
On Friday 31 October 2008, Stefan Roese wrote:
> +static int spi_ppc4xx_setupxfer(struct spi_device *spi, struct spi_transfer
> *t)
> +{
> ...
>
> + if (in_8(&hw->regs->cdm) != cdm)
> + out_8(&hw->regs->cdm, cdm);
... writes to hardware, updating SPI the clock ra
On Thursday 30 October 2008, Jason Hanna wrote:
> Also, any pointers to sample/test code incorporating a spi protocol
> driver would be incredibly helpful.
Look at Documentation/spi/*.c ... for user mode code
hooking up through "spidev".
> I'm very new to device driver
> programming and don't r
On Thu, 2008-11-20 at 18:23 +0100, Arnd Bergmann wrote:
> Kexec/kdump currently fails on the IBM QS2x blades when the kexec happens
> on a CPU other than the initial boot CPU. It turns out that this is the
> result of mpic_init trying to set affinity of each interrupt vector to the
> current boot
On Mon, 17 Nov 2008, Richard Purdie wrote:
> On Fri, 2008-10-24 at 16:09 -0700, Trent Piepho wrote:
>> +if (template->keep_state)
>> +state = !!gpio_get_value(led_dat->gpio) ^ led_dat->active_low;
>> +else
>> +state = template->default_state;
>>
>> state
On Mon, 2008-11-17 at 17:10 +0100, Arnd Bergmann wrote:
> The MSI capture logic for the axon bridge can sometimes
> lose interrupts in case of high DMA and interrupt load,
> when it signals an MSI interrupt to the MPIC interrupt
> controller while we are already handling another MSI.
>
8< 8< 8<
>
On Thu, Nov 20, 2008 at 03:01:23PM +0100, Arnd Bergmann wrote:
> From: Benjamin Krill <[EMAIL PROTECTED]>
>
> This patch adds support for the nwp serial device which is connected to
> a DCR bus. It uses the of_serial device driver to determine necessary
> properties from the device tree. The suppo
On Thu, Nov 20, 2008 at 01:07:11PM -0600, Milton Miller wrote:
> [I'm going to reply to several points in this thread in one reply. I
> have restored context that was trimmed in later replys when I wanted to
> speak to.]
>
> David Gibson wrote at 2008-11-18 00:28:28:
>> On Mon, Nov 17, 2008 at
On Thu, Nov 20, 2008 at 01:16:27PM -0600, Timur Tabi wrote:
> Milton Miller wrote:
>
> > Stated differently, if your routine (1) fundamently works one character
> > at a time and (2) is not interrupt driven, and (3) only supports one
> > channel, what avantage is there to an explicit hvc drive
Joakim Tjernlund writes:
> This little hack changes the kernel sys call handling in an crude
> way and then it works. Apperently the kernel thinks is an error if the
> syscall returns a value between -_LAST_ERRNO and -1.
Try this patch and let me if it fixes it. If it does I'll push it
upstream.
Ingo and Steven,
Here is a patch on top of Steven's for recordmcount.pl on arm.
-Jim
---
From: Jim Radford <[EMAIL PROTECTED]>
Subject: ftrace: mcountrecord.pl for arm
Signed-Off-By: Jim Radford <[EMAIL PROTECTED]>
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index c5c58ac..3
Ingo and Steven,
Here's an updated version of the arch/arm changes for dynamic ftrace
based on top of your latest tip/master.
-Jim
---
From: Jim Radford <[EMAIL PROTECTED]>
Subject: ftrace: enable dynamic ftrace for arm
Update to the latest api, syncing functions with the x86 versions.
Index:
Hi Nanda,
This is happening because you don't have access to
http://www.bitshrine.org/gpp for some reason.
If LTIB needs to download sources to build a package, it will get them
from bitshrine.org. Can you check that you are able to access this URL
from the command line with wget.
Regards, Stua
Hi Paul,
Please do a:
git pull \
git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs.git merge
For a spufs bugfix
Cheers,
Jeremy
---
diffstat:
arch/powerpc/platforms/cell/spufs/file.c |3 +++
1 file changed, 3 insertions(+)
1 commits:
po
From: Steven Rostedt <[EMAIL PROTECTED]>
Impact: quicken mcount calls that are not replaced by dyn ftrace
Dynamic ftrace no longer does on the fly recording of mcount locations.
The mcount locations are now found at compile time. The mcount
function no longer needs to store registers and call a s
Paul,
I have one more patch. I added it to the end of the ppc/ftrace branch.
The new way of handling the finding of mcounts means we do not need
to do anything in the mcount call itself. It should just be a stub
and when ftrace is enabled, it will change the caller sites to call
something other th
From: Steven Rostedt <[EMAIL PROTECTED]>
Impact: cleanup of recordmcount.pl
Now that more architectures are being ported to the MCOUNT_RECORD
method, there is no reason to have each declare their own arch
specific variable if most of them share the same value. This patch
creates a set of default
From: Matt Fleming <[EMAIL PROTECTED]>
First cut at dynamic ftrace support.
[
Steven Rostedt - only updated the recordmcount.pl file.
There are updates for PowerPC that will conflict with this,
and we need to base off of these changes.
]
Signed-off-by: Matt Fleming <[EMAIL PROTECTED]>
Ingo,
I took Matt's patch and stripped out all the sh changes, leaving
only the update to recordmcount.pl. Hopefully, this will disappear
when it is pulled into linux-next.
The second patch is the changes needed for PowerPC in the recordmcount.pl
script.
The thrird patch is the cleanup.
All of
From: Steven Rostedt <[EMAIL PROTECTED]>
Impact: Add PowerPC port to recordmcount.pl script
This patch updates the recordmcount.pl script to process
PowerPC.
Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]>
---
scripts/recordmcount.pl | 19 +--
1 files changed, 17 insertions(
On Thu, Nov 20, 2008 at 01:32:23PM +0100, Laurent Pinchart wrote:
> Instead of rounding the divider down, improve the baud-rate generators
> accuracy by rounding to the nearest integer.
>
> Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]>
This makes things worse on mpc8272ads -- the result of
On Thu, 20 Nov 2008, Ingo Molnar wrote:
> >
> > There is one exception and that is for the first patch. The first patch
> > is actually a fix for the irqsoff latency tracer which is already
> > in mainline for PowerPC.
> >
> > Steven Rostedt (5):
> > powerpc: ftrace, do not latency trace i
On Thu, Nov 20, 2008 at 09:54:21AM +1100, Paul Mackerras wrote:
> Sonny Rao writes:
>
> > On Wed, Nov 19, 2008 at 03:07:04PM +1100, Paul Mackerras wrote:
> > > I think we should be checking that dev->bsr_len == 4096 here.
> > >
> > > Paul.
> >
> > Well, dev->bsr_len could be 4096 or 8192
>
> Is
* Steven Rostedt <[EMAIL PROTECTED]> wrote:
> On Thu, 20 Nov 2008, Steven Rostedt wrote:
> >
> > 1) I removed the changes to recordmcount.pl. This is not a PowerPC
> > change, although PowerPC needs it for dynamic ftrace. But
> > the changes here can go via linux-tip.
>
> Ingo,
>
> I
* Steven Rostedt <[EMAIL PROTECTED]> wrote:
> Paul and Ingo,
>
> The following are the changes to get dynamic ftrace working on PowerPC.
> I modified these a little from the last postings.
>
> 1) I removed the changes to recordmcount.pl. This is not a PowerPC
> change, although PowerPC ne
Milton Miller wrote:
> Stated differently, if your routine (1) fundamently works one character
> at a time and (2) is not interrupt driven, and (3) only supports one
> channel, what avantage is there to an explicit hvc driver?
I think it's because HVC has the ability to use HVC client drivers
On Thu, 20 Nov 2008, Steven Rostedt wrote:
>
> 1) I removed the changes to recordmcount.pl. This is not a PowerPC
> change, although PowerPC needs it for dynamic ftrace. But
> the changes here can go via linux-tip.
Ingo,
I found that the recordmcount.pl change conflicts with a commit
From: Steven Rostedt <[EMAIL PROTECTED]>
Impact: Allow 64 bit PowerPC to trace modules with dynamic ftrace
This adds code to handle the PPC64 module trampolines, and allows for
PPC64 to use dynamic ftrace.
Thanks to Paul Mackerras for these updates:
- fix the mod and rec->arch.mod NULL checks
From: Steven Rostedt <[EMAIL PROTECTED]>
Impact: add ability to trace modules on 32 bit PowerPC
This patch performs the necessary trampoline calls to handle
modules with dynamic ftrace on 32 bit PowerPC.
Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]>
---
arch/powerpc/include/asm/module.h |
From: Steven Rostedt <[EMAIL PROTECTED]>
Impact: update to PowerPC ftrace arch API
This patch converts PowerPC to use the new dynamic ftrace arch API.
Thanks to Paul Mackennas for pointing out the mistakes of my original
test_24bit_addr function.
Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]
From: Steven Rostedt <[EMAIL PROTECTED]>
Impact: use cleaner probe_kernel API over assembly
Using probe_kernel_read/write interface is a much cleaner approach
than the current assembly version.
Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]>
---
arch/powerpc/kernel/ftrace.c | 53 +++
Paul and Ingo,
The following are the changes to get dynamic ftrace working on PowerPC.
I modified these a little from the last postings.
1) I removed the changes to recordmcount.pl. This is not a PowerPC
change, although PowerPC needs it for dynamic ftrace. But
the changes here can go v
From: Steven Rostedt <[EMAIL PROTECTED]>
Impact: fix for irq off latency tracer
When idle is called, interrupts are disabled, but the idle function
will still wake up on an interrupt. The problem is that the interrupt
disabled latency tracer will take this call to idle as a latency.
This patch d
[I'm going to reply to several points in this thread in one reply. I
have restored context that was trimmed in later replys when I wanted to
speak to.]
David Gibson wrote at 2008-11-18 00:28:28:
On Mon, Nov 17, 2008 at 01:41:24PM -0600, Timur Tabi wrote:
On Thu, Oct 23, 2008 at 9:54 PM, Da
Dear [EMAIL PROTECTED],
In message <[EMAIL PROTECTED]> you wrote:
>
> I've got a "little" problem with USB using a board based on lite5200.
>
> Some infos:
>
> -uBoot 1.2.0
> -Linux version 2.6.21.7-hrt1-WR2.0bl_standard
2.6.21 is a pretty old kernel. In mainline, it didn't include real
sta
Hi All, Iam forwarding the mail which I have posted to powerpc
linux list [EMAIL PROTECTED] Iam getting the below error during the
generation of rootfs.ext2.gz.uboot (Power PC Linux RAM Disk Image) and uImage
(Power PC Linux Kernel Image) for linux-2.6.20.6 kernel on the power PC MPC
8360E M
On my screen, when something crashes, I only have space for maybe
16 functions of the stack trace before the information above it
scrolls off the screen. It's easy to hack the kernel to print out
only that much, but it's harder to remember to do it. This patch
introduces a config option for it so t
On Thu, 2008-11-20 at 09:10 +1100, Paul Mackerras wrote:
> Johannes Berg writes:
>
> > On my screen, when something crashes, I only have space for maybe
> > 16 functions of the stack trace before the information above it
> > scrolls off the screen. It's easy to hack the kernel to print out
> > onl
Kexec/kdump currently fails on the IBM QS2x blades when the kexec happens
on a CPU other than the initial boot CPU. It turns out that this is the
result of mpic_init trying to set affinity of each interrupt vector to the
current boot CPU.
As far as I can tell, the same problem is likely to exist
On 20 Nov 2008 14:23:13 -
"nanda" <[EMAIL PROTECTED]> wrote:
> Testing ppp_url connectivity: FAIL, disabling Testing gpp_url connectivity:
> FAIL, disabling No network download connection available
for one, it sounds like you don't have a connection to the internet.
this is off topic for lin
We need to swap these out once we start using swiotlb, so add
them to dma_ops. Create CONFIG_PPC_NEED_DMA_SYNC_OPS Kconfig
option; this is currently enabled automatically if we're
CONFIG_NOT_COHERENT_CACHE. In the future, this will also
be enabled for builds that need swiotlb. If PPC_NEED_DMA_SY
On Thu, 2008-11-20 at 10:37 -0500, Josh Boyer wrote:
> On Thu, 20 Nov 2008 16:09:16 +0100
> "Joakim Tjernlund" <[EMAIL PROTECTED]> wrote:
>
> > Why does the below program end up reporting -1
> > multiple seconds when times() wrap:
>
> http://sources.redhat.com/bugzilla/show_bug.cgi?id=5209
>
> j
On Thursday 20 November 2008 17:00:54 Kumar Gala wrote:
> On Nov 20, 2008, at 9:57 AM, Laurent Pinchart wrote:
> > On Thursday 20 November 2008 16:32:21 Kumar Gala wrote:
> >> On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote:
> >>> Instead of rounding the divider down, improve the baud-rate
> >>
On Nov 20, 2008, at 9:57 AM, Laurent Pinchart wrote:
Hi Kumar,
On Thursday 20 November 2008 16:32:21 Kumar Gala wrote:
On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote:
Instead of rounding the divider down, improve the baud-rate
generators
accuracy by rounding to the nearest integer.
S
Hi Kumar,
On Thursday 20 November 2008 16:32:21 Kumar Gala wrote:
> On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote:
> > Instead of rounding the divider down, improve the baud-rate generators
> > accuracy by rounding to the nearest integer.
> >
> > Signed-off-by: Laurent Pinchart <[EMAIL PROTE
On Thu, Nov 20, 2008 at 8:33 AM, <[EMAIL PROTECTED]> wrote:
> I Grant
> I would but I cannot move up to an other kernel, project constraints.
>
> Complement of INFO:
> using a lite5200EVB USB works. using our board (kernel modified for our
> board), USB does not work.
>
> Have you got some ideas?
Hi Josh,
>What does 'NWP' stand for, and how is it different from a regular serial
>port? Also, what platforms can this device be found on currently?
>
>Some of that should be included in the changelog, but I'm curious as well
>too.
NWP stands for network processor and it is part of the QPACE -
On Thu, 20 Nov 2008 16:20:54 +0100
Benjamin Krill <[EMAIL PROTECTED]> wrote:
> Hi Josh,
>
> >What does 'NWP' stand for, and how is it different from a regular serial
> >port? Also, what platforms can this device be found on currently?
> >
> >Some of that should be included in the changelog, but
On Thu, 20 Nov 2008 16:09:16 +0100
"Joakim Tjernlund" <[EMAIL PROTECTED]> wrote:
> Why does the below program end up reporting -1
> multiple seconds when times() wrap:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=5209
josh
___
Linuxppc-dev mailin
On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote:
Instead of rounding the divider down, improve the baud-rate generators
accuracy by rounding to the nearest integer.
Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/cpm2.c |3 ++-
1 files changed, 2 insertions(+
On Nov 19, 2008, at 10:46 PM, Benjamin Herrenschmidt wrote:
On Wed, 2008-11-19 at 08:39 -0600, Kumar Gala wrote:
Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
Shouldn't this be protected by some ifdef ?
Ben.
arch/powerpc/kernel/process.c |2 ++
1 files changed, 2 insertions(+), 0 d
Why does the below program end up reporting -1
multiple seconds when times() wrap:
#include
#include
main()
{
unsigned long t1;
clock_t t2;
while(1){
t1 = times(NULL);
t2 = times(NULL);
sleep(1);
printf("uns
On Thu, 13 Nov 2008 10:36:23 -0500
Josh Boyer <[EMAIL PROTECTED]> wrote:
> Hi Paul,
>
> Please pull the merge branch of the powerpc-4xx git tree. It contains
> two small fixes that should go into .28.
Ping?
josh
> The following changes since commit cb8fdc69a2a80e81e1280ec58afd2c3217ac8a7f:
>
On Thu, Nov 20, 2008 at 7:09 AM, <[EMAIL PROTECTED]> wrote:
> Hi folks
>
> I've got a "little" problem with USB using a board based on lite5200.
>
> Some infos:
>
> -uBoot 1.2.0
> -Linux version 2.6.21.7-hrt1-WR2.0bl_standard
> -time_init: processor frequency = 396.00 MHz
There have been a
* Steven Rostedt <[EMAIL PROTECTED]> wrote:
> branch: ppc/ftrace-disable
>
>
> Matt Fleming (1):
> ftrace: align __mcount_loc sections
>
> Steven Rostedt (8):
> ftrace: disable dynamic ftrace from PowerPC
> powerpc: ftrace, do not latency trace idle
> powerpc: ftrac
Hi Kim,I did the following steps, but Iam unable to generate the
rootfs.ext2.gz.uboot - Executed the ./install command from the 8360CD. As a
result of it generated the ltib directory- In the ltib directory ./ltib
--configureIn the configure menu, I specified the following, before saving the
con
Hi folks
I've got a "little" problem with USB using a board based on lite5200.
Some infos:
-uBoot 1.2.0
-Linux version 2.6.21.7-hrt1-WR2.0bl_standard
-time_init: processor frequency = 396.00 MHz
We are using a minimal rootfs in order to jump on the real rootfs.
We reach the shell using th
On Thu, Nov 20, 2008 at 03:01:23PM +0100, Arnd Bergmann wrote:
>From: Benjamin Krill <[EMAIL PROTECTED]>
>
>This patch adds support for the nwp serial device which is connected to
>a DCR bus. It uses the of_serial device driver to determine necessary
>properties from the device tree. The supported
From: Benjamin Krill <[EMAIL PROTECTED]>
This patch adds support for the nwp serial device which is connected to
a DCR bus. It uses the of_serial device driver to determine necessary
properties from the device tree. The supported device is added as serial
port number 84.
Signed-off-by: Benjamin K
Instead of rounding the divider down, improve the baud-rate generators
accuracy by rounding to the nearest integer.
Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/cpm2.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/sysdev/cpm
On Thu, 20 Nov 2008, Ingo Molnar wrote:
>
> Hm, something like this shouldnt be pulled into the powerpc tree: it
> touches the core kernel, x86 code and ftrace code as well.
>
> Please do the suggestion i outlined and which Paul agreed with:
> prepare a branch that touches _only_ powerpc files
Adding use of newly added Epson RTX-8581 real-time clock driver to GE
Fanuc SBC610's dts file and adding driver to default config.
Signed-off-by: Martyn Welch <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/gef_sbc610.dts |5 +
arch/powerpc/configs/86xx/gef_sbc610_defconfig |
* Steven Rostedt <[EMAIL PROTECTED]> wrote:
>
> arch/powerpc/Kconfig |2 +
> arch/powerpc/include/asm/ftrace.h | 14 +-
> arch/powerpc/include/asm/module.h | 16 ++-
> arch/powerpc/kernel/ftrace.c | 473 +---
> arch/powerpc/kernel/i
65 matches
Mail list logo