ARM: How to use reserved-memory in devicetree

2017-02-16 Thread Cyberman Wu
;/dev/mem", ...) in application, the data read in mapped virtual address is not the data writing by FPGA. Should I write a kernel driver, or use another device for mmap()? -- Cyberman Wu

ARM: How to use reserved-memory in devicetree

2017-02-16 Thread Cyberman Wu
;/dev/mem", ...) in application, the data read in mapped virtual address is not the data writing by FPGA. Should I write a kernel driver, or use another device for mmap()? -- Cyberman Wu

Re: Is this a kernel bug?

2012-11-11 Thread Cyberman Wu
On Fri, Nov 9, 2012 at 9:11 AM, Tejun Heo wrote: > Hello, > > On Fri, Nov 09, 2012 at 08:53:49AM +0800, Cyberman Wu wrote: >> A lot of these message on many CPU: > > What I'm really curious about is the *first* exception. > > Is the following the first one? So

Re: Is this a kernel bug?

2012-11-11 Thread Cyberman Wu
On Fri, Nov 9, 2012 at 9:11 AM, Tejun Heo t...@kernel.org wrote: Hello, On Fri, Nov 09, 2012 at 08:53:49AM +0800, Cyberman Wu wrote: A lot of these message on many CPU: What I'm really curious about is the *first* exception. Is the following the first one? Some lines (why the stackdump

Re: Is this a kernel bug?

2012-11-08 Thread Cyberman Wu
the same issue. I only tested it on Gx platform from Tilera, but that second exception should occur on any platform if kworker got exception and can't be recovered. On Thu, Nov 8, 2012 at 12:28 AM, Tejun Heo wrote: > Hello, Cyberman. > > On Sat, Nov 03, 2012 at 04:03:21PM +0800, Cyberman

Re: Is this a kernel bug?

2012-11-08 Thread Cyberman Wu
, 2012 at 04:03:21PM +0800, Cyberman Wu wrote: Recent days we got a exception in kernel thread [kworker/n:m], but exception handler Can you please post kernel messages for the initial exception? Thanks. -- tejun -- Cyberman Wu -- To unsubscribe from this list: send the line unsubscribe

Is this a kernel bug?

2012-11-03 Thread Cyberman Wu
e of kernel version 3.6.5, it seems have the same process, only with files and functions split. -- Cyberman Wu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.

Is this a kernel bug?

2012-11-03 Thread Cyberman Wu
, it seems have the same process, only with files and functions split. -- Cyberman Wu -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Cyberman Wu
ather than 4K.) > > I/O space is very limited to begin with (many architectures only > *have* 64K), so I hesitate to add a bias in the PCI core. But we do > something similar in arch_remove_reservations(), and I think you could > implement it that way if you wanted to. > > Bjor

Re: PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Cyberman Wu
the same card inserted into x86 platform, the allocated I/O space is not start from 0, so it works fine. On Fri, Oct 26, 2012 at 4:03 PM, Bjorn Helgaas wrote: > [+cc Chris, also a few comments below] > > On Fri, Oct 26, 2012 at 12:59 AM, Cyberman Wu wrote: >> After we upgrade to M

PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Cyberman Wu
-10-22 14:56:59.783096378 +0800 +++ Tilera_src/src/linux-2.6.40.38/arch/tile/kernel/pci_gx.c2012-10-26 13:55:02.731947886 +0800 @@ -368,6 +368,10 @@ int num_trio_shims = 0; int ctl_index = 0; int i, j; +// Modified by Cyberman Wu on Oct 25th, 2012. + resource_size_t

PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Cyberman Wu
:59.783096378 +0800 +++ Tilera_src/src/linux-2.6.40.38/arch/tile/kernel/pci_gx.c2012-10-26 13:55:02.731947886 +0800 @@ -368,6 +368,10 @@ int num_trio_shims = 0; int ctl_index = 0; int i, j; +// Modified by Cyberman Wu on Oct 25th, 2012. + resource_size_t io_mem_start

Re: PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Cyberman Wu
from 0, so it works fine. On Fri, Oct 26, 2012 at 4:03 PM, Bjorn Helgaas bhelg...@google.com wrote: [+cc Chris, also a few comments below] On Fri, Oct 26, 2012 at 12:59 AM, Cyberman Wu cyphe...@gmail.com wrote: After we upgrade to MDE 4.1.0 from Tilera, we encounter a problem that only

Re: PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Cyberman Wu
something similar in arch_remove_reservations(), and I think you could implement it that way if you wanted to. Bjorn -- Cyberman Wu -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: Using ps to display process information never exit, and can't be killed

2012-10-12 Thread Cyberman Wu
n so some output lost) The first time Ctrl-C quit strace, but it doesn't work second time. It seem ps hang while it read /proc/5/stat, which I've check it 'comm' and is some thing like 'kworker/u:0'. The system now stop response for any input, even in serial port, so I can't check it again. Output of our applic

Re: Using ps to display process information never exit, and can't be killed

2012-10-12 Thread Cyberman Wu
, but nothing can be typed in. On Fri, Oct 12, 2012 at 3:18 PM, devendra.aaru devendra.a...@gmail.com wrote: On Fri, Oct 12, 2012 at 1:56 AM, Cyberman Wu cyphe...@gmail.com wrote: Sorry to use that big mail list account since I don't know any specific mail list account should be used

Using ps to display process information never exit, and can't be killed

2012-10-11 Thread Cyberman Wu
mechanism can be used to get it stack, or other information, to help me figure out what's the cause of ps pend on *RUNNING*? System information: # uname -a Linux localhost 2.6.38.8-MDE-4.0.0.141101 #7 SMP Fri Sep 28 21:46:08 CST 2012 tilegx GNU/Linux Best regards. -- Cyberman Wu

Using ps to display process information never exit, and can't be killed

2012-10-11 Thread Cyberman Wu
mechanism can be used to get it stack, or other information, to help me figure out what's the cause of ps pend on *RUNNING*? System information: # uname -a Linux localhost 2.6.38.8-MDE-4.0.0.141101 #7 SMP Fri Sep 28 21:46:08 CST 2012 tilegx GNU/Linux Best regards. -- Cyberman Wu