You can do down_interruptible to make the down interruptible.
Bhuvan Kumar MITTAL wrote:
I'll rephrase the problem as follow:
I have a userthread which makes ioctl calls to the kernel and once it reaches inside the kernel it waits on a semaphore. It then does some work inside the kernel and
I'll rephrase the problem as follow:
I have a userthread which makes ioctl calls to the kernel and once it reaches
inside the kernel it waits on a semaphore. It then does some work inside the
kernel and continuously keeps looping between the kernel and user space in an
endless while loop.
I
I'll rephrase the problem as follow:
I have a userthread which makes ioctl calls to the kernel and once it reaches
inside the kernel it waits on a semaphore. It then does some work inside the
kernel and continuously keeps looping between the kernel and user space in an
endless while loop.
I
You can do down_interruptible to make the down interruptible.
Bhuvan Kumar MITTAL wrote:
I'll rephrase the problem as follow:
I have a userthread which makes ioctl calls to the kernel and once it reaches inside the kernel it waits on a semaphore. It then does some work inside the kernel and
Bhuvan Kumar MITTAL wrote:
Hi Alan,Nick
Thanks for your inputs. I was able to solve the problem of mapping kernel
buffer to user space. Just FYI, I am working on a sh4 based architecture
proprietary board with Linux kernel 2.6.17.3
So... you used flush_dcache_page? Or what?
Initially I
Bhuvan Kumar MITTAL wrote:
Hi Alan,Nick
Thanks for your inputs. I was able to solve the problem of mapping kernel
buffer to user space. Just FYI, I am working on a sh4 based architecture
proprietary board with Linux kernel 2.6.17.3
So... you used flush_dcache_page? Or what?
Initially I
inux-kernel@vger.kernel.org
Subject: Re: How to make mmap'ed kernel buffer non-cacheable
Bhuvan Kumar MITTAL wrote:
> Hi Alan,
>
> I believe that dma_alloc_coherent will mark the kernel buffer as uncached at
> alocation time.
> But that is not my intention. I have mapped som
mmap'ed kernel buffer non-cacheable
Bhuvan Kumar MITTAL wrote:
Hi Alan,
I believe that dma_alloc_coherent will mark the kernel buffer as uncached at
alocation time.
But that is not my intention. I have mapped some user space memory to the
kernel buffer and I wish to ensure
Bhuvan Kumar MITTAL wrote:
Hi Alan,
I believe that dma_alloc_coherent will mark the kernel buffer as uncached at alocation time.
But that is not my intention. I have mapped some user space memory to the kernel buffer and I wish to ensure that the contents of both are coherent and correctly
Hi Alan,
I believe that dma_alloc_coherent will mark the kernel buffer as uncached at
alocation time.
But that is not my intention. I have mapped some user space memory to the
kernel buffer and I wish to ensure that the contents of both are coherent and
correctly ordered.
In other words I
Hi Alan,
I believe that dma_alloc_coherent will mark the kernel buffer as uncached at
alocation time.
But that is not my intention. I have mapped some user space memory to the
kernel buffer and I wish to ensure that the contents of both are coherent and
correctly ordered.
In other words I
Bhuvan Kumar MITTAL wrote:
Hi Alan,
I believe that dma_alloc_coherent will mark the kernel buffer as uncached at alocation time.
But that is not my intention. I have mapped some user space memory to the kernel buffer and I wish to ensure that the contents of both are coherent and correctly
On Fri, 20 Apr 2007 18:30:25 +0530
Bhuvan Kumar MITTAL <[EMAIL PROTECTED]> wrote:
> Hi,
> I am working on an audio device driver development on Linux. I have a
> kernel buffer which I have mapped to user space using mmap call from user
> space. My problem is that the data which comes to the
On 20 Apr, 14:20, Bhuvan Kumar MITTAL <[EMAIL PROTECTED]> wrote:
Hi,
I am working on an audio device driver development on Linux. I have a kernel
buffer which I have mapped to user space using mmap call from user space. My
problem is that the data which comes to the kernel buffer is getting
On 20 Apr, 14:20, Bhuvan Kumar MITTAL [EMAIL PROTECTED] wrote:
Hi,
I am working on an audio device driver development on Linux. I have a kernel
buffer which I have mapped to user space using mmap call from user space. My
problem is that the data which comes to the kernel buffer is getting
On Fri, 20 Apr 2007 18:30:25 +0530
Bhuvan Kumar MITTAL [EMAIL PROTECTED] wrote:
Hi,
I am working on an audio device driver development on Linux. I have a
kernel buffer which I have mapped to user space using mmap call from user
space. My problem is that the data which comes to the kernel
16 matches
Mail list logo