wipe framebuffer with dd command

2015-12-04 Thread Ran Shalit
Hello, I would like to ask what is the effect of wiping frame buffer (dd if=/dev/zero of=/dev/fb0) ? I have some issue with framebuffer timing on LCD 240x320. I could not find a timing with width=240, height=320 which result in stable picture, but the following timing gave me stable ppicture with

Re: cache maintenance for device memory

2015-12-04 Thread Random Guy
On Fri, Dec 4, 2015 at 5:12 PM, Random Guy wrote: > Ok, I did some research and all drivers that I've found that map memory > to userspace do it with caching disabled. correction: 'that map device memory to userspace'. ___ Kernelnewbies mailing list Ke

Re: cache maintenance for device memory

2015-12-04 Thread Random Guy
On Thu, Dec 3, 2015 at 1:29 PM, Random Guy wrote: > I have a device with a piece of RAM. That memory is accessible to CPU. > I write a driver for that device and it maps device memory directly to > userspace processes. This mapping is cacheable. So far so good. Ok, I did some research and all dri

Re: cache maintenance for device memory

2015-12-04 Thread Random Guy
Hi syed, thanks for your response. On Fri, Dec 4, 2015 at 9:16 AM, sk.syed2 wrote: >> I have a device with a piece of RAM. That memory is accessible to CPU. >> I write a driver for that device and it maps device memory directly to >> userspace processes. This mapping is cacheable. So far so good

Re: How to correctly decode fun+X/Y

2015-12-04 Thread Daniel Baluta
On Thu, Dec 3, 2015 at 8:14 PM, Matwey V. Kornilov wrote: > Hello, > > I have the following stack trace: > > [ 1351.381696] a.out S c0afb050 0 1676 1658 0x > [ 1351.387048] [] (__schedule) from [] > (schedule+0x58/0xcc) > [ 1351.392436] [] (schedule) from [] > (tty_port_bl