xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad@kernel.org>
To: xen-devel@lists.xenproject.org, konrad@kernel.org,
	boris.ostrovsky@oracle.com, jgross@suse.com
Cc: sstabellini@kernel.org, wei.liu2@citrix.com,
	martin.petersen@oracle.com, George.Dunlap@eu.citrix.com,
	andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com,
	tim@xen.org, jbeulich@suse.com
Subject: [PATCH RFC] Add size alignment to page allocator.
Date: Tue, 29 Nov 2016 23:39:37 -0500	[thread overview]
Message-ID: <1480480779-12078-1-git-send-email-konrad.wilk@oracle.com> (raw)


Hey!

Please see the two RFC patches to add in the XENMEM_exchange hypercall
another argument to get MFNs which are size aligned.

The use case is also attached - which is to provide the framework
for dma_alloc_coherent which sets certain guarantees that were not
provided by Linux Xen-SWIOTLB leading to driver corruptions.

Thanks!

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2016-11-30  4:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30  4:39 Konrad Rzeszutek Wilk [this message]
2016-11-30  4:39 ` [PATCH RFC 1/2] xen/page_alloc: Add size_align parameter to provide MFNs which are size aligned Konrad Rzeszutek Wilk
2016-11-30  9:30   ` Jan Beulich
2016-11-30 16:42     ` Konrad Rzeszutek Wilk
2016-11-30 16:45       ` Jan Beulich
2016-11-30  4:39 ` [PATCH RFC 2/2] xen-swiotlb: Provide size aligned DMA addresses Konrad Rzeszutek Wilk

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=1480480779-12078-1-git-send-email-konrad.wilk@oracle.com \
    --to=konrad@kernel.org \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jgross@suse.com \
    --cc=martin.petersen@oracle.com \
    --cc=sstabellini@kernel.org \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).