lkml.org 
[lkml]   [2008]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] x86: remove the NULL device hack in dma-mapping.h
FUJITA Tomonori wrote:
> On Wed, 3 Sep 2008 22:01:14 +0200
> Joerg Roedel <joro@8bytes.org> wrote:
>
>> On Thu, Sep 04, 2008 at 03:04:23AM +0900, FUJITA Tomonori wrote:
>>> +static void *x86_swiotlb_alloc_coherent(struct device *dev, size_t size,
>>> + dma_addr_t *dma_handle, gfp_t gfp)
>>> +{
>>> + if (!dev) {
>>> + dev = &x86_dma_fallback_dev;
>>> + gfp |= GFP_DMA;
>>> + }
>> This really should be checked in the generic x86 dma_alloc_coherent
>> function.
>
> I don't think so. Any motherboards with the recent IOMMUs support ISA?

Probably some LPC devices on those boards..


\
 
 \ /
  Last update: 2008-09-05 01:57    [W:0.023 / U:1.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site