<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/xen/grant_table.h, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-09-12T15:21:40Z</updated>
<entry>
<title>xen/m2p: do not reuse kmap_op-&gt;dev_bus_addr</title>
<updated>2012-09-12T15:21:40Z</updated>
<author>
<name>Stefano Stabellini</name>
</author>
<published>2012-09-12T11:44:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2fc136eecd0c647a6b13fcd00d0c41a1a28f35a5'/>
<id>urn:sha1:2fc136eecd0c647a6b13fcd00d0c41a1a28f35a5</id>
<content type='text'>
If the caller passes a valid kmap_op to m2p_add_override, we use
kmap_op-&gt;dev_bus_addr to store the original mfn, but dev_bus_addr is
part of the interface with Xen and if we are batching the hypercalls it
might not have been written by the hypervisor yet. That means that later
on Xen will write to it and we'll think that the original mfn is
actually what Xen has written to it.

Rather than "stealing" struct members from kmap_op, keep using
page-&gt;index to store the original mfn and add another parameter to
m2p_remove_override to get the corresponding kmap_op instead.
It is now responsibility of the caller to keep track of which kmap_op
corresponds to a particular page in the m2p_override (gntdev, the only
user of this interface that passes a valid kmap_op, is already doing that).

CC: stable@kernel.org
Reported-and-Tested-By: Sander Eikelenboom &lt;linux@eikelenboom.it&gt;
Signed-off-by: Stefano Stabellini &lt;stefano.stabellini@eu.citrix.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>xenbus: Add support for xenbus backend in stub domain</title>
<updated>2012-05-21T13:53:18Z</updated>
<author>
<name>Daniel De Graaf</name>
</author>
<published>2012-05-08T13:46:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2fb4c51c7471a23f0a95526b624c14cec62603d'/>
<id>urn:sha1:d2fb4c51c7471a23f0a95526b624c14cec62603d</id>
<content type='text'>
Add an ioctl to the /dev/xen/xenbus_backend device allowing the xenbus
backend to be started after the kernel has booted. This allows xenstore
to run in a different domain from the dom0.

Signed-off-by: Daniel De Graaf &lt;dgdegra@tycho.nsa.gov&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>xen/grant-table: Support mappings required by blkback</title>
<updated>2011-12-20T22:07:27Z</updated>
<author>
<name>Daniel De Graaf</name>
</author>
<published>2011-12-14T20:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d17e84bb8356b1d9f4402dd82a0e270a3d59a4f'/>
<id>urn:sha1:7d17e84bb8356b1d9f4402dd82a0e270a3d59a4f</id>
<content type='text'>
Add support for mappings without GNTMAP_contains_pte. This was not
supported because the unmap operation assumed that this flag was being
used; adding a parameter to the unmap operation to allow the PTE
clearing to be disabled is sufficient to make unmap capable of
supporting either mapping type.

Signed-off-by: Daniel De Graaf &lt;dgdegra@tycho.nsa.gov&gt;
[v1: Fix cleanpatch warnings]
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>xen/granttable: Support transitive grants</title>
<updated>2011-12-16T16:25:39Z</updated>
<author>
<name>Annie Li</name>
</author>
<published>2011-12-12T10:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9438ce9dbbf512fd717051284f568d5cb35e5cf1'/>
<id>urn:sha1:9438ce9dbbf512fd717051284f568d5cb35e5cf1</id>
<content type='text'>
These allow a domain A which has been granted access on a page of domain B's
memory to issue domain C with a copy-grant on the same page.  This is useful
e.g. for forwarding packets between domains.

Signed-off-by: Annie Li &lt;annie.li@oracle.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>xen/granttable: Support sub-page grants</title>
<updated>2011-12-16T16:25:02Z</updated>
<author>
<name>Annie Li</name>
</author>
<published>2011-12-12T10:14:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6666754b11297526c699f8df63c52d50c24fe946'/>
<id>urn:sha1:6666754b11297526c699f8df63c52d50c24fe946</id>
<content type='text'>
- They can't be used to map the page (so can only be used in a GNTTABOP_copy
  hypercall).
- It's possible to grant access with a finer granularity than whole pages.
- Xen guarantees that they can be revoked quickly (a normal map grant can
  only be revoked with the cooperation of the domain which has been granted
  access).

Signed-off-by: Annie Li &lt;annie.li@oracle.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>xen/granttable: Keep code format clean</title>
<updated>2011-11-22T14:26:20Z</updated>
<author>
<name>Annie Li</name>
</author>
<published>2011-11-22T01:59:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c123799a41bf466ce5b199331aac4c1f28f67ec3'/>
<id>urn:sha1:c123799a41bf466ce5b199331aac4c1f28f67ec3</id>
<content type='text'>
Acked-by: Ian Campbell &lt;ian.campbell@citrix.com&gt;
Signed-off-by: Annie Li &lt;annie.li@oracle.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>xen/granttable: Grant tables V2 implementation</title>
<updated>2011-11-22T14:24:51Z</updated>
<author>
<name>Annie Li</name>
</author>
<published>2011-11-22T01:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85ff6acb075a484780b3d763fdf41596d8fc0970'/>
<id>urn:sha1:85ff6acb075a484780b3d763fdf41596d8fc0970</id>
<content type='text'>
Receiver-side copying of packets is based on this implementation, it gives
better performance and better CPU accounting. It totally supports three types:
full-page, sub-page and transitive grants.

However this patch does not cover sub-page and transitive grants, it mainly
focus on Full-page part and implements grant table V2 interfaces corresponding
to what already exists in grant table V1, such as: grant table V2
initialization, mapping, releasing and exported interfaces.

Each guest can only supports one type of grant table type, every entry in grant
table should be the same version. It is necessary to set V1 or V2 version before
initializing the grant table.

Grant table exported interfaces of V2 are same with those of V1, Xen is
responsible to judge what grant table version guests are using in every grant
operation.

V2 fulfills the same role of V1, and it is totally backwards compitable with V1.
If dom0 support grant table V2, the guests runing on it can run with either V1
or V2.

Acked-by: Ian Campbell &lt;ian.campbell@citrix.com&gt;
Signed-off-by: Annie Li &lt;annie.li@oracle.com&gt;
[v1: Modified alloc_vm_area call (new parameters), indentation, and cleanpatch
     warnings]
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>xen/granttable: Introducing grant table V2 stucture</title>
<updated>2011-11-22T14:23:44Z</updated>
<author>
<name>Annie Li</name>
</author>
<published>2011-11-22T01:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f9f5a9588468cddeccc9146b86798492c7cd4f5'/>
<id>urn:sha1:0f9f5a9588468cddeccc9146b86798492c7cd4f5</id>
<content type='text'>
This patch introduces new structures of grant table V2, grant table V2 is an
extension from V1. Grant table is shared between guest and Xen, and Xen is
responsible to do corresponding work for grant operations, such as: figure
out guest's grant table version, perform different actions based on
different grant table version, etc. Although full-page structure of V2
is different from V1, it play the same role as V1.

Acked-by: Ian Campbell &lt;ian.campbell@citrix.com&gt;
Signed-off-by: Annie Li &lt;annie.li@oracle.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable/vmalloc-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen</title>
<updated>2011-11-07T02:31:36Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2011-11-07T02:31:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06d381484fe8fb1ba2996c22e89595a273e3634c'/>
<id>urn:sha1:06d381484fe8fb1ba2996c22e89595a273e3634c</id>
<content type='text'>
* 'stable/vmalloc-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
  net: xen-netback: use API provided by xenbus module to map rings
  block: xen-blkback: use API provided by xenbus module to map rings
  xen: use generic functions instead of xen_{alloc, free}_vm_area()
</content>
</entry>
<entry>
<title>xen: use generic functions instead of xen_{alloc, free}_vm_area()</title>
<updated>2011-09-29T19:02:18Z</updated>
<author>
<name>David Vrabel</name>
</author>
<published>2011-09-29T15:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4dcaebbf6586d299be8513512a1253f177b803d7'/>
<id>urn:sha1:4dcaebbf6586d299be8513512a1253f177b803d7</id>
<content type='text'>
Replace calls to the Xen-specific xen_alloc_vm_area() and
xen_free_vm_area() functions with the generic equivalent
(alloc_vm_area() and free_vm_area()).

On x86, these were identical already.

Signed-off-by: David Vrabel &lt;david.vrabel@citrix.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
</feed>
