LWN.net Logo

dma_ops for i386

From:  Glauber Costa <gcosta@redhat.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH 0/20] dma_ops for i386
Date:  Tue, 25 Mar 2008 18:36:19 -0300
Message-ID:  <1206480999-21767-1-git-send-email-gcosta@redhat.com>
Cc:  kvm-devel@lists.sourceforge.net, avi@qumranet.com, akpm@linux-foundation.org
Archive-link:  Article, Thread

Hello,

Here there is a series of 20 patches that lays the foundations for
using dma_ops in i386 in the very same way x86_64, as well as many other
architectures already do.

The functions themselves for i386 are placed in a pci-base_32.c, but just
a few among them are actually implemented. Most were no-ops anyway.

Also, as I said, this is by no means a complete coverage of dma_ops.
there are still some call sites to be patches in pci-dma_32.c (although I don't
really plan to change them, but to integrate them in a single pci-dma.c).
I intend to have it done progressively.

The granularity is per-operation, meaning each patch moves one specific function
to the common header. This is compiled-tested in both i386 and x86_64 in 
~5 randconfigs each, and boot-tested in my hardware with my default configs

The motivation for that is the ongoing work for pci-passthrough in KVM.
So ingo, avi, what do you think it's the best way to handle these patches through?

Thanks



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http:/...

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.