<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/drivers/bus, branch master</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/drivers/bus?h=master</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/drivers/bus?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2017-07-03T12:38:55+00:00</updated>
<entry>
<title>[usb] Use non-zero language ID to retrieve strings</title>
<updated>2017-07-03T12:38:55+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2017-07-03T12:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=8e48d0df6b5a249e4f9f0759cc55a45af186b564'/>
<id>urn:sha1:8e48d0df6b5a249e4f9f0759cc55a45af186b564</id>
<content type='text'>
We currently use a zero language ID to retrieve strings such as the
ECM/NCM MAC address.  This works on most hardware devices, but is
known to fail on some software emulated CDC-NCM devices.

Fix by using the first supported language ID, falling back to English
(0x0409) if any error occurs when fetching the list of supported
languages.  This matches the behaviour of the Linux kernel.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[usb] Use correct length for memcpy()</title>
<updated>2017-03-22T12:14:57+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2017-03-22T12:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=21d8624da828f35f544b5bc7a764eb7f7edea90b'/>
<id>urn:sha1:21d8624da828f35f544b5bc7a764eb7f7edea90b</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[usb] Use correct length for memcpy()</title>
<updated>2017-03-21T12:21:54+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2017-03-21T12:21:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=7b113bc744a4c15f25c2dfb4b8560da8be21bfbd'/>
<id>urn:sha1:7b113bc744a4c15f25c2dfb4b8560da8be21bfbd</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[virtio] Remove queue size limit in legacy virtio</title>
<updated>2017-01-22T13:22:19+00:00</updated>
<author>
<name>Ladi Prosek</name>
</author>
<published>2016-12-16T13:07:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=fba3b39900af52e695d59bc34f28bb8d22526ddb'/>
<id>urn:sha1:fba3b39900af52e695d59bc34f28bb8d22526ddb</id>
<content type='text'>
Virtio 0.9 implementation was limited to the maximum virtqueue size of
MAX_QUEUE_NUM and the virtio-net driver would fail to initialize on hosts
exceeding this limit.

This commit lifts the restriction by allocating the queue memory based on
the actual queue size instead of using a fixed maximum. Note that virtio
1.0 still uses the MAX_QUEUE_NUM constant to cap the size (unfortunately
this functionality is not available in virtio 0.9).

Signed-off-by: Ladi Prosek &lt;lprosek@redhat.com&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[virtio] Simplify virtqueue shutdown</title>
<updated>2017-01-22T13:20:42+00:00</updated>
<author>
<name>Ladi Prosek</name>
</author>
<published>2016-12-16T12:31:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=b782a56be725569fb68f92b81a01903d1652c5b0'/>
<id>urn:sha1:b782a56be725569fb68f92b81a01903d1652c5b0</id>
<content type='text'>
This commit introduces virtnet_free_virtqueues called on all virtqueue
error and shutdown paths. vpm_find_vqs no longer cleans up after itself
and instead expects virtnet_free_virtqueues to be always called to undo
its effect.

Signed-off-by: Ladi Prosek &lt;lprosek@redhat.com&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[virtio] Cap queue size to MAX_QUEUE_NUM</title>
<updated>2017-01-22T13:18:28+00:00</updated>
<author>
<name>Ladi Prosek</name>
</author>
<published>2016-12-16T09:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=e45451c6994f6e93729ee3860e45fa965483356f'/>
<id>urn:sha1:e45451c6994f6e93729ee3860e45fa965483356f</id>
<content type='text'>
vpm_find_vqs incorrectly accepted the host provided queue size with no
regard to iPXE's internal limitations. Virtio 1.0 makes it possible for
the driver to override the queue size to reduce memory requirements and
iPXE is a great use case for this feature.

Also removing the extra vq-&gt;vring.num assignment which is already
handled in vring_init.

Signed-off-by: Ladi Prosek &lt;lprosek@redhat.com&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[virtio] Fix virtio-pci logging</title>
<updated>2016-06-20T13:23:53+00:00</updated>
<author>
<name>Ladi Prosek</name>
</author>
<published>2016-05-31T08:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=040aa980d630e45cb6d9e5fbaf5719b814accd5f'/>
<id>urn:sha1:040aa980d630e45cb6d9e5fbaf5719b814accd5f</id>
<content type='text'>
iPXE debug logging doesn't support %u.  This commit replaces it with
%d in virtio-pci debug format strings.

Signed-off-by: Ladi Prosek &lt;lprosek@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[pci] Support systems with multiple PCI root bridges</title>
<updated>2016-06-09T08:36:28+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2016-06-09T08:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=f76210961c76a3f54f673d668e21e30d2eed9612'/>
<id>urn:sha1:f76210961c76a3f54f673d668e21e30d2eed9612</id>
<content type='text'>
Extend the 16-bit PCI bus:dev.fn address to a 32-bit seg:bus:dev.fn
address, assuming a segment value of zero in contexts where multiple
segments are unsupported by the underlying data structures (e.g. in
the iBFT or BOFM tables).

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[pci] Add support for PCI Enhanced Allocation</title>
<updated>2016-05-20T15:51:56+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2016-05-14T17:34:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=6d2bdc4ea3bfefb061a69f0667d6a70fbb862523'/>
<id>urn:sha1:6d2bdc4ea3bfefb061a69f0667d6a70fbb862523</id>
<content type='text'>
Some embedded devices have immovable BARs, which are described via a
PCI Enhanced Allocation capability.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[virtio] Add virtio 1.0 PCI support</title>
<updated>2016-04-15T16:41:26+00:00</updated>
<author>
<name>Ladi Prosek</name>
</author>
<published>2016-04-11T09:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=8a055a2a707f8cb92e7b62512391e03b4e25cae2'/>
<id>urn:sha1:8a055a2a707f8cb92e7b62512391e03b4e25cae2</id>
<content type='text'>
This commit adds support for driving virtio 1.0 PCI devices.  In
addition to various helpers, a number of vpm_ functions are introduced
to be used instead of their legacy vp_ counterparts when accessing
virtio 1.0 (aka modern) devices.

Signed-off-by: Ladi Prosek &lt;lprosek@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Modified-by: Michael Brown &lt;mcb30@ipxe.org&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
</feed>
