<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/xen, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>xen/blkfront: Remove CTLFLAG_NEEDGIANT from sysctl.</title>
<updated>2022-01-02T21:39:28+00:00</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2021-12-26T02:24:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2572b6bd6bf3303d1fa00fe133ec1d3b864fda5d'/>
<id>2572b6bd6bf3303d1fa00fe133ec1d3b864fda5d</id>
<content type='text'>
It only converts bit field into string.  It does not need locking.

MFC after:	1 week

(cherry picked from commit 54daceab555cb56765a8d4e63071ea44cd877f53)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It only converts bit field into string.  It does not need locking.

MFC after:	1 week

(cherry picked from commit 54daceab555cb56765a8d4e63071ea44cd877f53)
</pre>
</div>
</content>
</entry>
<entry>
<title>xen(4): Fix two typos in source code comments</title>
<updated>2021-12-03T15:52:44+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2021-11-30T09:39:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d4c648f7793592bfef895a5de70316090ec65115'/>
<id>d4c648f7793592bfef895a5de70316090ec65115</id>
<content type='text'>
- s/segement/segment/

(cherry picked from commit e3080a9cca1b94ded20b42b653b97e49306d94d2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/segement/segment/

(cherry picked from commit e3080a9cca1b94ded20b42b653b97e49306d94d2)
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert vm_page_alloc() callers to use vm_page_alloc_noobj().</title>
<updated>2021-11-03T17:39:36+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2021-10-20T00:23:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=66cb1858f44992af73b6e1f9eeceb500bffd2534'/>
<id>66cb1858f44992af73b6e1f9eeceb500bffd2534</id>
<content type='text'>
Remove page zeroing code from consumers and stop specifying
VM_ALLOC_NOOBJ.  In a few places, also convert an allocation loop to
simply use VM_ALLOC_WAITOK.

Similarly, convert vm_page_alloc_domain() callers.

Note that callers are now responsible for assigning the pindex.

Reviewed by:	alc, hselasky, kib
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit a4667e09e6520dc2c4b0b988051f060fed695a91)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove page zeroing code from consumers and stop specifying
VM_ALLOC_NOOBJ.  In a few places, also convert an allocation loop to
simply use VM_ALLOC_WAITOK.

Similarly, convert vm_page_alloc_domain() callers.

Note that callers are now responsible for assigning the pindex.

Reviewed by:	alc, hselasky, kib
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit a4667e09e6520dc2c4b0b988051f060fed695a91)
</pre>
</div>
</content>
</entry>
<entry>
<title>xnb: Don't pass SIOC{ADD,DEL}MULTI to ifmedia_ioctl().</title>
<updated>2021-03-29T22:36:36+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2021-03-22T16:55:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=325427f71d379bac9a7708d5f87b4063e584ab54'/>
<id>325427f71d379bac9a7708d5f87b4063e584ab54</id>
<content type='text'>
ifmedia_ioctl() doesn't handle these requests, and this matches what
xn does.

Sponsored by:	DARPA

(cherry picked from commit 71ba16a0a02f4a3fd56d03e908615a8b5f701ba4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ifmedia_ioctl() doesn't handle these requests, and this matches what
xn does.

Sponsored by:	DARPA

(cherry picked from commit 71ba16a0a02f4a3fd56d03e908615a8b5f701ba4)
</pre>
</div>
</content>
</entry>
<entry>
<title>xen-blkback: fix leak of grant maps on ring setup failure</title>
<updated>2021-02-23T00:55:14+00:00</updated>
<author>
<name>Roger Pau Monné</name>
<email>royger@FreeBSD.org</email>
</author>
<published>2021-01-20T18:40:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ab3e1bd3c22a222520c23c2793cc39e3a23c9b46'/>
<id>ab3e1bd3c22a222520c23c2793cc39e3a23c9b46</id>
<content type='text'>
Multi page rings are mapped using a single hypercall that gets passed
an array of grants to map. One of the grants in the array failing to
map would lead to the failure of the whole ring setup operation, but
there was no cleanup of the rest of the grant maps in the array that
could have likely been created as a result of the hypercall.

Add proper cleanup on the failure path during ring setup to unmap any
grants that could have been created.

This is part of XSA-361.

Sponsored by:	Citrix Systems R&amp;D

(cherry picked from commit 808d4aad1022a2a33d222663b0c9badde30b9d45)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Multi page rings are mapped using a single hypercall that gets passed
an array of grants to map. One of the grants in the array failing to
map would lead to the failure of the whole ring setup operation, but
there was no cleanup of the rest of the grant maps in the array that
could have likely been created as a result of the hypercall.

Add proper cleanup on the failure path during ring setup to unmap any
grants that could have been created.

This is part of XSA-361.

Sponsored by:	Citrix Systems R&amp;D

(cherry picked from commit 808d4aad1022a2a33d222663b0c9badde30b9d45)
</pre>
</div>
</content>
</entry>
<entry>
<title>xen/privcmd: implement the restrict ioctl</title>
<updated>2021-01-11T15:33:27+00:00</updated>
<author>
<name>Roger Pau Monne</name>
<email>roger.pau@citrix.com</email>
</author>
<published>2020-06-25T17:16:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a7650787905d36ac01297aa699d3009da6cfaaa9'/>
<id>a7650787905d36ac01297aa699d3009da6cfaaa9</id>
<content type='text'>
Use an interface compatible with the Linux one so that the user-space
libraries already using the Linux interface can be used without much
modifications.

This allows an open privcmd instance to limit against which domains it
can act upon.

Sponsored by:	Citrix Systems R&amp;D
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use an interface compatible with the Linux one so that the user-space
libraries already using the Linux interface can be used without much
modifications.

This allows an open privcmd instance to limit against which domains it
can act upon.

Sponsored by:	Citrix Systems R&amp;D
</pre>
</div>
</content>
</entry>
<entry>
<title>xen/privcmd: implement the dm op ioctl</title>
<updated>2021-01-11T15:33:27+00:00</updated>
<author>
<name>Roger Pau Monne</name>
<email>roger.pau@citrix.com</email>
</author>
<published>2020-06-25T16:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ed78016d005c9ec97883a33c4468052ca9880c4f'/>
<id>ed78016d005c9ec97883a33c4468052ca9880c4f</id>
<content type='text'>
Use an interface compatible with the Linux one so that the user-space
libraries already using the Linux interface can be used without much
modifications.

This allows user-space to make use of the dm_op family of hypercalls,
which are used by device models.

Sponsored by:	Citrix Systems R&amp;D
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use an interface compatible with the Linux one so that the user-space
libraries already using the Linux interface can be used without much
modifications.

This allows user-space to make use of the dm_op family of hypercalls,
which are used by device models.

Sponsored by:	Citrix Systems R&amp;D
</pre>
</div>
</content>
</entry>
<entry>
<title>xen/privcmd: implement the map resource ioctl</title>
<updated>2021-01-11T15:15:00+00:00</updated>
<author>
<name>Roger Pau Monne</name>
<email>roger.pau@citrix.com</email>
</author>
<published>2020-06-23T09:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=658860e2d07065b4203bb3e7779bee0512c65c92'/>
<id>658860e2d07065b4203bb3e7779bee0512c65c92</id>
<content type='text'>
The interface is mostly the same as the Linux ioctl, so that we don't
need to modify the user-space libraries that make use of it.

The ioctl is just a proxy for the XENMEM_acquire_resource hypercall.

Sponsored by:	Citrix Systems R&amp;D
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The interface is mostly the same as the Linux ioctl, so that we don't
need to modify the user-space libraries that make use of it.

The ioctl is just a proxy for the XENMEM_acquire_resource hypercall.

Sponsored by:	Citrix Systems R&amp;D
</pre>
</div>
</content>
</entry>
<entry>
<title>xen/privcmd: split setup of virtual address range into helper</title>
<updated>2021-01-11T15:14:59+00:00</updated>
<author>
<name>Roger Pau Monné</name>
<email>royger@FreeBSD.org</email>
</author>
<published>2021-01-04T17:59:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=147e593921d7b9a6697a92a512ab7bd777f9a6b1'/>
<id>147e593921d7b9a6697a92a512ab7bd777f9a6b1</id>
<content type='text'>
Preparatory change for further additions that will also make use of
the same code. No functional change.

Sponsored by:	Citrix Systems R&amp;D
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Preparatory change for further additions that will also make use of
the same code. No functional change.

Sponsored by:	Citrix Systems R&amp;D
</pre>
</div>
</content>
</entry>
<entry>
<title>xen/privcmd: make some integers unsigned</title>
<updated>2021-01-11T15:14:59+00:00</updated>
<author>
<name>Roger Pau Monné</name>
<email>royger@FreeBSD.org</email>
</author>
<published>2021-01-04T18:03:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f713a5b37ecb831941dcac0db163e186b5d59638'/>
<id>f713a5b37ecb831941dcac0db163e186b5d59638</id>
<content type='text'>
There's no reason for them to be signed. No functional change.

Sponsored by:	Citrix Systems R&amp;D
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no reason for them to be signed. No functional change.

Sponsored by:	Citrix Systems R&amp;D
</pre>
</div>
</content>
</entry>
</feed>
