All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alejandro Riveira Fernández" <ariveira@gmail.com>
To: FunFlyer@gmx.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: Disabling DMA with ICH10?
Date: Mon, 28 Sep 2009 22:37:27 +0200	[thread overview]
Message-ID: <20090928223727.0b1367b7@varda> (raw)
In-Reply-To: <1254173481.4454.32.camel@goodbyte.homelinux.com>

El Mon, 28 Sep 2009 23:31:21 +0200
Lennart Baruschka <FunFlyer@gmx.net> escribió:

> Hello,
> 
> I'm new to this list, so please forgive me if this is the wrong place to
> ask. I'm trying to build a 2.6.30.5 kernel causing as little DMA traffic
> as possible in order to reduce latencies on a real-time system (using
> RTAI). 
> 
> 1. Is there a way to completely disable DMA usage system-wide?
> If not:
> 2. My system uses an ICH10 chipset, the harddrive is connected to the
> Intel SATA controller. Is there a way to disable DMA and switch back to
> PIO? I tried compiling with libata support and without SCSI support, but
> the kernel is unable to mount root (no matter if /dev/sda1
> or /dev/hda1), then.
  
  AFAIK libata needs scsi support. To disable dma in libata I get from
  Documentation/kernel-parameters.txt --> libata.dma = 0


> 3. Another source seems to be the ATL1E driver for ethernet. Is it
> possible to either disable DMA for this? 
  
  That I dunno

> 
> If disabling DMA is impossible for some reason for one or both drivers,
> is it at least possible to reduce the burst sizes so the bus gets free
> for a short time during which I could access it from my real time kernel
> module?
> 
> Please point me in the right direction; any suggestion will be greatly
> appreciated!
> 
> Cheers,
> Lennart
   
  Saludos,
  Alejandro 



  reply	other threads:[~2009-09-28 20:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 21:31 Disabling DMA with ICH10? Lennart Baruschka
2009-09-28 20:37 ` Alejandro Riveira Fernández [this message]
2009-09-28 22:40 ` Alan Cox
2009-09-29  7:54   ` Lennart Baruschka
2009-09-29  8:11     ` Arjan van de Ven
2009-09-29 12:29       ` Krzysztof Halasa
2009-09-29 17:05         ` Alan Cox
2009-09-29 20:35           ` Krzysztof Halasa
2009-09-29 22:35             ` Alan Cox
2009-09-30 12:21               ` Krzysztof Halasa
2009-09-29 10:46     ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090928223727.0b1367b7@varda \
    --to=ariveira@gmail.com \
    --cc=FunFlyer@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.