Re: Accessing 64-bit BARs

2007-10-04 Thread yogeshwar sonawane
hello, Thanks rolf & roland. pci_iomap() is not doing something extra. only it is some kind of abstraction for IO-mapped OR memory mapped. I know that my BARs are MMIO, so using ioremap() & readl()/writel() combination should be fine. But for the problem as explained in my first mail, any

Accessing 64-bit BARs

2007-10-04 Thread yogeshwar sonawane
Hello all, For accessing memory-mapped 64bit-BAR regions of a PCI card, the respective BAR regions has to be made accessible to the kernel using ioremap() function. Then readl()/writel() can be used on the address returned by ioremap(). I am doing the similar steps to access the BARs of a card.

Accessing 64-bit BARs

2007-10-04 Thread yogeshwar sonawane
Hello all, For accessing memory-mapped 64bit-BAR regions of a PCI card, the respective BAR regions has to be made accessible to the kernel using ioremap() function. Then readl()/writel() can be used on the address returned by ioremap(). I am doing the similar steps to access the BARs of a card.

Re: Accessing 64-bit BARs

2007-10-04 Thread yogeshwar sonawane
hello, Thanks rolf roland. pci_iomap() is not doing something extra. only it is some kind of abstraction for IO-mapped OR memory mapped. I know that my BARs are MMIO, so using ioremap() readl()/writel() combination should be fine. But for the problem as explained in my first mail, any

Re: Excessive printks increase top mem usage?

2007-02-04 Thread yogeshwar sonawane
cc to lkml On 2/3/07, yogeshwar sonawane <[EMAIL PROTECTED]> wrote: Thanks for the explanation. On 1/26/07, David Schwartz <[EMAIL PROTECTED]> wrote: > > > On 1/25/07, yogeshwar sonawane <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I am running

Re: Excessive printks increase top mem usage?

2007-02-04 Thread yogeshwar sonawane
cc to lkml On 2/3/07, yogeshwar sonawane [EMAIL PROTECTED] wrote: Thanks for the explanation. On 1/26/07, David Schwartz [EMAIL PROTECTED] wrote: On 1/25/07, yogeshwar sonawane [EMAIL PROTECTED] wrote: Hi all, I am running a user application which will just open/close my driver

Re: Excessive printks increase top mem usage?

2007-01-25 Thread yogeshwar sonawane
Subject is updated On 1/25/07, yogeshwar sonawane <[EMAIL PROTECTED]> wrote: Hi all, I am running a user application which will just open/close my driver (simple one, empty functions with only printks) infinitely. A massive use of printk can slow down the system noticeably OR it can affec

Sub - Excessive printks increase top mem usage?

2007-01-25 Thread yogeshwar sonawane
Hi all, I am running a user application which will just open/close my driver (simple one, empty functions with only printks) infinitely. A massive use of printk can slow down the system noticeably OR it can affect some time calculations. Apart from this, it was increasing top mem usage also.

Sub - Excessive printks increase top mem usage?

2007-01-25 Thread yogeshwar sonawane
Hi all, I am running a user application which will just open/close my driver (simple one, empty functions with only printks) infinitely. A massive use of printk can slow down the system noticeably OR it can affect some time calculations. Apart from this, it was increasing top mem usage also.

Re: Excessive printks increase top mem usage?

2007-01-25 Thread yogeshwar sonawane
Subject is updated On 1/25/07, yogeshwar sonawane [EMAIL PROTECTED] wrote: Hi all, I am running a user application which will just open/close my driver (simple one, empty functions with only printks) infinitely. A massive use of printk can slow down the system noticeably OR it can affect some