Consider atomic_add and atomic_add_return in kernel code.
On Tue, Jun 30, 2009 at 2:59 AM, Ian Lance Taylori...@google.com wrote:
kernel mailz kernelma...@googlemail.com writes:
I tried a small example
int *p = 0x1000;
int a = *p;
asm(sync:::memory);
a = *p;
and
volatile int *p =
Hi Grant,
On Mon, Jun 29, 2009 at 05:42:21PM -0600, Grant Likely wrote:
From: Grant Likely grant.lik...@secretlab.ca
AC97 bus register read/write hooks need to provide locking, but the
mpc5200-psc-ac97 driver does not. This patch adds a mutex around
the register access routines.
Scott/David,
Your say on this patch below ?
Regards--
Subrata
On Fri, 2009-06-26 at 09:25 -0500, Subrata Modak wrote:
Hi David/Scott,
Today's next tree(20090626) produced the following build error:
CC [M] drivers/mtd/maps/sbc8240.o
drivers/mtd/maps/sbc8240.c:31:1: warning: DEBUG
Hi Scott,
I agree with you, kind of understand that it is required.
But buddy unless you see some construct work or by adding the
construct a visible difference is there, the concept is just piece of
theory.
I am trying all the kernel code inline assembly to find an example
that works differently
Hi,
Is USB host functionality supported by mainline kernel on MPC8536DS ?
Are there any limitations (e.g not all host ports supported, etc.) ?
Thanks a lot.
Felix.
--
View this message in context:
http://www.nabble.com/USB-Host-support-on-MPC8536DS-tp24267110p24267110.html
Sent from the
2009/6/30 Marco Stornelli marco.storne...@gmail.com:
2009/6/30 Johnny Hung johnny.hack...@gmail.com:
Thanks for your reply. So there are no PCI device resource info in
flat device tree.
How do PCI device resources be assign in general case or is there any
example?
I am so confusing, would
What kernel version are you using?
We are using kernel version 2.6.24. I've searched for current speed in
version 2.6.28.7 and I've found that string.
Yes, you need to modify the DTB. You have a back to back MII
connection, not a phy, so you do *not* want to have a PHY node in the
device
On Mon, Jun 29, 2009 at 08:26:12PM -0400, Jon Smirl wrote:
Does your touchscreen driver use this mutex? Or was this mutex needed
just for the AC97 driver?
It's in the register accesses so everything accessing the chip registers
will use it.
___
kernel mailz wrote:
Consider atomic_add and atomic_add_return in kernel code.
On Tue, Jun 30, 2009 at 2:59 AM, Ian Lance Taylori...@google.com wrote:
kernel mailz kernelma...@googlemail.com writes:
I tried a small example
int *p = 0x1000;
int a = *p;
asm(sync:::memory);
a = *p;
and
kernel mailz writes:
Consider atomic_add and atomic_add_return in kernel code.
I am not able to figure out why memory is added in latter
The memory indicates that gcc should not reorder accesses to memory
from one side of the asm to the other. The reason for putting it on
the atomic ops that
On Mon, 2009-06-29 at 18:34 -0500, Rob Landley wrote:
Which suggested that the problem was the new
CONFIG_PPC_OF_BOOT_TRAMPOLINE
symbol wasn't set, and once I switched that on it started working
again.
Ah, I might have forgot to set it to default y...
linuxppc-dev@lists.ozlabs.org is
On Mon, 2009-06-29 at 16:57 +0100, David Howells wrote:
kernel mailz kernelma...@googlemail.com wrote:
asm(sync);
Isn't gcc free to discard this as it has no dependencies, no indicated side
effects, and isn't required to be kept? I think this should probably be:
asm
On Tue, 2009-06-30 at 10:57 +0530, kernel mailz wrote:
Hi Scott,
I agree with you, kind of understand that it is required.
But buddy unless you see some construct work or by adding the
construct a visible difference is there, the concept is just piece of
theory.
In this case you'd rather get
On Tue, 2009-06-30 at 10:24 +1000, Michael Ellerman wrote:
On Mon, 2009-06-29 at 18:34 -0500, Rob Landley wrote:
Which suggested that the problem was the new CONFIG_PPC_OF_BOOT_TRAMPOLINE
symbol wasn't set, and once I switched that on it started working again.
What defconfig are you
Hi,
Preemption is disabled on the vast majority of powerpc
targets. Are there any known problems in this area ?
I'd like to enable CONFIG_PREEMPT_VOLUNTARY on
AMCC 405EX target, to increase application responsiveness.
Is it a bad idea ?
--
View this message in context:
/proc/cpuinfo should be showing the boards revision and the revision of the
FPGA fitted. The functions currently used to access this information as
incorrect.
Additionally the VME geographical address of the PPC9A and it's status as
system contoller are available in the board registers. Show
On Mon, Jun 29, 2009 at 6:40 PM, Grant Likelygrant.lik...@secretlab.ca wrote:
From: Grant Likely grant.lik...@secretlab.ca
Current implementation of spin_event_timeout can be interrupted by an
IRQ or context switch after testing the condition, but before checking
the timeout. This can cause
On Tue, Jun 30, 2009 at 2:35 AM, Frank
Prepelicafrank.prepel...@ubidyne.com wrote:
What kernel version are you using?
We are using kernel version 2.6.24. I've searched for current speed in
version 2.6.28.7 and I've found that string.
Yes, you need to modify the DTB. You have a back to back
On Jun 30, 2009, at 2:03 AM, Felix Radensky wrote:
Hi,
Is USB host functionality supported by mainline kernel on MPC8536DS ?
Are there any limitations (e.g not all host ports supported, etc.) ?
It should be. If you have any issues let us know and we can see if we
can help out.
- k
On Tue, Jun 30, 2009 at 12:33 PM, Jon Smirljonsm...@gmail.com wrote:
On Tue, Jun 30, 2009 at 12:50 PM, Grant Likelygrant.lik...@secretlab.ca
wrote:
On Tue, Jun 30, 2009 at 12:18 AM, Wolfram Sangw.s...@pengutronix.de wrote:
+
+ /* Force clear the data valid bit */
+
On Tue, Jun 30, 2009 at 12:50 PM, Grant Likelygrant.lik...@secretlab.ca wrote:
On Tue, Jun 30, 2009 at 12:18 AM, Wolfram Sangw.s...@pengutronix.de wrote:
+
+ /* Force clear the data valid bit */
+ in_be32(psc_dma-psc_regs-ac97_data);
+
No mutex involved here. I think this is either
On Tue, Jun 30, 2009 at 09:42:06AM -0400, Jon Smirl wrote:
Wolfram, do you have any way to test the on the Phytec hardware? The
WM9712 on the baseboard supports a touchscreen, is it brought out to a
header?
You can probably test adequately by writing a dummy AC97 driver that
sits in a thread
On Tue, Jun 30, 2009 at 2:18 AM, Wolfram Sangw.s...@pengutronix.de wrote:
Wolfram, do you have any way to test the on the Phytec hardware? The
WM9712 on the baseboard supports a touchscreen, is it brought out to a
header?
Hi Grant,
On Mon, Jun 29, 2009 at 05:42:21PM -0600, Grant Likely
This patch enables the XMC (PCIe daughter card) site on the SBC310.
STG enter the description for the patch above.
Signed-off-by: Martyn Welch martyn.we...@gefanuc.com
---
arch/powerpc/boot/dts/gef_sbc310.dts | 37 ++
1 files changed, 37 insertions(+), 0
On Tue, Jun 30, 2009 at 2:59 AM, Mark
Brownbroo...@opensource.wolfsonmicro.com wrote:
On Mon, Jun 29, 2009 at 08:26:12PM -0400, Jon Smirl wrote:
Does your touchscreen driver use this mutex? Or was this mutex needed
just for the AC97 driver?
It's in the register accesses so everything
I'll still try to figure out how to get u-boot to fill all this in.
Got it... thanks to
http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg05111.html;
I made sure that CONFIG_OF_LIBFDT and CONFIG_OF_BOARD_SETUP were both
present in u-boot-2009.03/include/configs/EP88x.h. Then
Hi,
I benchmarked performance of my network, which contains ppc405EX (Kilauea
board, kernel 2.6.30 from Denx) connected with a linux desktop via gigabit
ethernet. I used the netperf tool:
netperf -t UDP_STREAM -H 192.168.1.1 -- -m 32768
So I was sending UDP packets to the desktop. The resulting
Check the clock-frequency of the CPM BRG node. If u-boot isn't setting the
memory, it's probably not setting this either.
I set the CPM BRG clock-frequency = 153609 (value obtained from
u-boot's 'brginfo' command), set my CPU clock-frequency =
1 (down from 13000) to match what
28 matches
Mail list logo