All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Kapp <tquarkk@isis-it.de>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-dev <xen-devel@lists.xensource.com>,
	Frank Mundinger <f.mundinger@gmx.net>
Subject: Re: xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide
Date: Sun, 26 Oct 2008 09:40:35 +0100	[thread overview]
Message-ID: <49042D03.3040301@isis-it.de> (raw)
In-Reply-To: <C5296772.1E873%keir.fraser@eu.citrix.com>

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

Keir Fraser wrote:
> On 25/10/08 21:05, "Michael Kapp" <tquarkk@isis-it.de> wrote:
> 
>> ----------- [cut here ] --------- [please bite here ] ---------
>> Kernel BUG at arch/x86_64/kernel/../../i386/kernel/pci-dma-xen.c:377
> 
> What's at line 377 in that source file in your kernel source tree?

See attachment of the specific part from pci-dma-xen.c.

>  -- Keir

Regards,
Michael



[-- Attachment #2: pci-dma-xen.c.sources.xen.txt --]
[-- Type: text/plain, Size: 655 bytes --]

362 dma_addr_t
363 dma_map_single(struct device *dev, void *ptr, size_t size,
364            enum dma_data_direction direction)
365 {
366     dma_addr_t dma;
367
368     if (direction == DMA_NONE)
369         BUG();
370     WARN_ON(size == 0);
371
372     if (swiotlb) {
373         dma = swiotlb_map_single(dev, ptr, size, direction);
374     } else {
375         dma = gnttab_dma_map_page(virt_to_page(ptr)) +
376               offset_in_page(ptr);
377         IOMMU_BUG_ON(range_straddles_page_boundary(__pa(ptr), size));
378         IOMMU_BUG_ON(address_needs_mapping(dev, dma));
379     }
380
381     flush_write_buffers();
382     return dma;
383 }

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2008-10-26  8:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-25 20:05 xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide Michael Kapp
2008-10-25 23:16 ` Keir Fraser
2008-10-26  8:40   ` Michael Kapp [this message]
2008-10-26  8:35     ` Keir Fraser
2008-10-26  8:58       ` Michael Kapp
2008-10-26  9:15         ` Keir Fraser
2008-10-26 10:48           ` Michael Kapp
2008-10-26 16:55             ` Keir Fraser
2008-10-26 19:17               ` Michael Kapp
2008-10-26 21:02                 ` Keir Fraser

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=49042D03.3040301@isis-it.de \
    --to=tquarkk@isis-it.de \
    --cc=f.mundinger@gmx.net \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.