lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1233868079.3548.699.camel@macbook.infradead.org>
Date:	Thu, 05 Feb 2009 21:07:59 +0000
From:	David Woodhouse <dwmw2@...radead.org>
To:	Joerg Roedel <joerg.roedel@....com>
Cc:	mingo@...hat.com, linux-kernel@...r.kernel.org,
	fujita.tomonori@....ntt.co.jp, iommu@...ts.linux-foundation.org,
	davem@...emloft.net
Subject: Re: [PATCH 08/16] dma-debug: add core checking functions

On Mon, 2009-01-19 at 15:46 +0100, Joerg Roedel wrote:
>  
> +       if (ref->type != entry->type) {
> +               err_printk(ref->dev, "DMA-API: device driver frees "
> +                          "DMA memory with wrong function "
> +                          "[device address=0x%016llx] [size=%llu bytes] "
> +                          "[mapped as %s] [unmapped as %s]\n",
> +                          ref->dev_addr, ref->size,
> +                          type2name[entry->type], type2name[ref->type]);

e1000e 0000:00:19.0: DMA-API: device driver frees DMA memory with wrong
function [device address=0x00000000ffedc002] [size=90 bytes] [mapped as
single] [unmapped as page]


<davem> That debug check is excessive, substituting those two things
works for every DMA API implementation I am aware of

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse@...el.com                              Intel Corporation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ