All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>
To: "Zhang, Yang Z" <yang.z.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Konrad Rzeszutek Wilk
	<konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,
	"roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
	<roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org"
	<xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org>,
	Lukas Hejtmanek
	<xhejtman-8qz54MUs51PtwjQa/ONI9g@public.gmane.org>,
	Jan Beulich <JBeulich-IBi9RG/b67k@public.gmane.org>,
	"Liu,
	Jijiang" <jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: [Xen-devel] BUG: bad page map under Xen
Date: Thu, 2 Jan 2014 14:18:23 +0000	[thread overview]
Message-ID: <52C5752F.3080005@citrix.com> (raw)
In-Reply-To: <A9667DDFB95DB7438FA9D7D576C3D87E0A99CE00-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>

On 26/12/13 06:39, Zhang, Yang Z wrote:
> 
> Any conclusion for this issue? Our custom also saw the same issue
> that they want to map an MMIO to userspace address(through UIO
> approach), but current ->mmap function call remap_pfn_range without
> setting _PAGE_IOMAP and cause the host crashed. It seems all
> userspace device drivers that tries to map device's mmio will caused
> host crashed.
> 
> They are using 3.10 kernel.

My first attempt at fixing this was broken and I need to find time for
another look.

There were problems with pages that started out pre-ballooned.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-01-02 14:18 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-21 11:57 BUG: bad page map under Xen Lukas Hejtmanek
2013-10-21 12:59 ` konrad wilk
2013-10-21 13:14 ` Jan Beulich
     [not found] ` <20131021115740.GN20913-8qz54MUs51PtwjQa/ONI9g@public.gmane.org>
2013-10-21 12:59   ` [Xen-devel] " konrad wilk
2013-10-21 13:18     ` Jan Beulich
     [not found]     ` <52652534.2040303-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2013-10-21 13:18       ` [Xen-devel] " Jan Beulich
     [not found]         ` <526545E002000078000FC5F1-ce6RLXgGx+vWGUEhTRrCg1aTQe2KTcn/@public.gmane.org>
2013-10-21 13:39           ` konrad wilk
2013-10-21 13:57             ` konrad wilk
     [not found]             ` <52652E95.3020305-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2013-10-21 13:57               ` [Xen-devel] " konrad wilk
2013-10-21 14:06               ` Lukas Hejtmanek
2013-10-21 14:18                 ` Konrad Rzeszutek Wilk
2013-10-21 14:23                   ` Lukas Hejtmanek
     [not found]                   ` <20131021141855.GA4211-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-10-21 14:23                     ` [Xen-devel] " Lukas Hejtmanek
2013-10-21 14:27                     ` Jan Beulich
2013-10-21 14:44                       ` Konrad Rzeszutek Wilk
     [not found]                       ` <5265560602000078000FC73E-ce6RLXgGx+vWGUEhTRrCg1aTQe2KTcn/@public.gmane.org>
2013-10-21 14:44                         ` [Xen-devel] " Konrad Rzeszutek Wilk
     [not found]                           ` <20131021144407.GC4560-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-10-21 15:12                             ` Jan Beulich
2013-10-23 15:36                               ` Konrad Rzeszutek Wilk
     [not found]                               ` <5265609802000078000FC7B7-ce6RLXgGx+vWGUEhTRrCg1aTQe2KTcn/@public.gmane.org>
2013-10-23 15:36                                 ` [Xen-devel] " Konrad Rzeszutek Wilk
2013-10-23 15:45                                   ` Jan Beulich
     [not found]                                   ` <20131023153645.GA28011-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-10-23 15:45                                     ` [Xen-devel] " Jan Beulich
     [not found]                                       ` <5267FD3102000078000A56A1-ce6RLXgGx+vWGUEhTRrCg1aTQe2KTcn/@public.gmane.org>
2013-10-23 16:04                                         ` Konrad Rzeszutek Wilk
     [not found]                                           ` <20131023160433.GA28260-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-10-23 16:35                                             ` Jan Beulich
2013-10-23 16:35                                           ` Jan Beulich
2013-10-23 16:04                                       ` Konrad Rzeszutek Wilk
2013-10-24 23:08                                     ` [Xen-devel] " David Vrabel
     [not found]                                       ` <5269A865.2010100-5LkwijKnu/2sTnJN9+BGXg@public.gmane.org>
2013-10-25 14:21                                         ` Konrad Rzeszutek Wilk
     [not found]                                           ` <20131025142147.GB3742-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-12-26  6:39                                             ` Zhang, Yang Z
     [not found]                                               ` <A9667DDFB95DB7438FA9D7D576C3D87E0A99CE00-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-01-02 14:18                                                 ` David Vrabel [this message]
2014-01-02 14:18                                               ` David Vrabel
2013-12-26  6:39                                           ` Zhang, Yang Z
2013-10-25 14:21                                       ` Konrad Rzeszutek Wilk
2013-10-24 23:08                                   ` David Vrabel
2013-10-21 15:12                           ` Jan Beulich
2013-10-21 14:27                   ` Jan Beulich
     [not found]                 ` <20131021140607.GQ20913-8qz54MUs51PtwjQa/ONI9g@public.gmane.org>
2013-10-21 14:20                   ` [Xen-devel] " Jan Beulich
2013-10-21 14:20                 ` Jan Beulich
2013-10-21 14:06             ` Lukas Hejtmanek
2013-10-21 13:39         ` konrad wilk
2013-10-21 13:14   ` [Xen-devel] " Jan Beulich

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=52C5752F.3080005@citrix.com \
    --to=david.vrabel-sxgqhf6nn4dqt0dzr+alfa@public.gmane.org \
    --cc=JBeulich-IBi9RG/b67k@public.gmane.org \
    --cc=jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org \
    --cc=xhejtman-8qz54MUs51PtwjQa/ONI9g@public.gmane.org \
    --cc=yang.z.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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.