<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/xen/hypervisor.c, branch v2023.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/xen/hypervisor.c?h=v2023.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/xen/hypervisor.c?h=v2023.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-07-25T18:57:27Z</updated>
<entry>
<title>drivers: xen: unmap Enlighten page before jumping to Linux</title>
<updated>2022-07-25T18:57:27Z</updated>
<author>
<name>Dmytro Firsov</name>
<email>Dmytro_Firsov@epam.com</email>
</author>
<published>2022-07-19T14:55:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0001a964b840a62c66da42a89a10a2656831aa4b'/>
<id>urn:sha1:0001a964b840a62c66da42a89a10a2656831aa4b</id>
<content type='text'>
This commit fixes issue with usage of Xen hypervisor shared info page.
Previously U-boot did not unmap it at the end of OS boot process. Xen
did not prevent guest from this. So, it worked, but caused wierd
issues - one memory page, that was returned by memalign in U-boot
for Enlighten mapping was not unmaped by Xen (shared_info values was
not removed from there) and returned to allocator. During the Linux
boot, it uses shared_info page as regular RAM page, which leads to
hypervisor shared info corruption.

So, to fix this issue, as discussed on the xen-devel mailing list, the
code should:
   1) Unmap the page
   2) Populate the area with memory using XENMEM_populate_physmap

This patch adds page unmapping via XENMEM_remove_from_physmap, fills
hole in address space where page was mapped via XENMEM_populate_physmap
and return this address to memory allocator for freeing.

Signed-off-by: Dmytro Firsov &lt;dmytro_firsov@epam.com&gt;
Reviewed-by: Anastasiia Lukianenko &lt;vicooodin@gmail.com&gt;
</content>
</entry>
<entry>
<title>common: board_r: Drop initr_xen wrapper</title>
<updated>2021-01-15T19:36:12Z</updated>
<author>
<name>Ovidiu Panait</name>
<email>ovidiu.panait@windriver.com</email>
</author>
<published>2020-11-28T08:43:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eb2825b79d1e029fa0b9e9ff35fe08c2eca8ca17'/>
<id>urn:sha1:eb2825b79d1e029fa0b9e9ff35fe08c2eca8ca17</id>
<content type='text'>
Add a return value to xen_init and use it directly in the
post-relocation init sequence, rather than using a wrapper stub.

Signed-off-by: Ovidiu Panait &lt;ovidiu.panait@windriver.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>board: xen: De-initialize before jumping to Linux</title>
<updated>2020-08-14T19:18:30Z</updated>
<author>
<name>Oleksandr Andrushchenko</name>
<email>oleksandr_andrushchenko@epam.com</email>
</author>
<published>2020-08-06T09:43:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d17f6698b8e07b15941dd888a4b2d69aa046ae1e'/>
<id>urn:sha1:d17f6698b8e07b15941dd888a4b2d69aa046ae1e</id>
<content type='text'>
Free resources used by Xen board before jumping to Linux kernel.

Signed-off-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Signed-off-by: Anastasiia Lukianenko &lt;anastasiia_lukianenko@epam.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>xen: Port Xen grant table driver from mini-os</title>
<updated>2020-08-14T19:18:30Z</updated>
<author>
<name>Oleksandr Andrushchenko</name>
<email>oleksandr_andrushchenko@epam.com</email>
</author>
<published>2020-08-06T09:42:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c850674ff74b1625c17a77a454acec0e9cc6ec36'/>
<id>urn:sha1:c850674ff74b1625c17a77a454acec0e9cc6ec36</id>
<content type='text'>
Make required updates to run on u-boot.

Signed-off-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Signed-off-by: Anastasiia Lukianenko &lt;anastasiia_lukianenko@epam.com&gt;
</content>
</entry>
<entry>
<title>xen: Port Xen bus driver from mini-os</title>
<updated>2020-08-14T19:18:30Z</updated>
<author>
<name>Oleksandr Andrushchenko</name>
<email>oleksandr_andrushchenko@epam.com</email>
</author>
<published>2020-08-06T09:42:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=60e49ff1f8a0b8d48b0d12bad94d0dfb8fdbeec8'/>
<id>urn:sha1:60e49ff1f8a0b8d48b0d12bad94d0dfb8fdbeec8</id>
<content type='text'>
Make required updates to run on u-boot and strip test code.

Signed-off-by: Anastasiia Lukianenko &lt;anastasiia_lukianenko@epam.com&gt;
Signed-off-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
</content>
</entry>
<entry>
<title>xen: Port Xen event channel driver from mini-os</title>
<updated>2020-08-14T19:18:30Z</updated>
<author>
<name>Oleksandr Andrushchenko</name>
<email>oleksandr_andrushchenko@epam.com</email>
</author>
<published>2020-08-06T09:42:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=673fd82c507cf2a674ca6ec6d84d8d2854a6d78c'/>
<id>urn:sha1:673fd82c507cf2a674ca6ec6d84d8d2854a6d78c</id>
<content type='text'>
Make required updates to run on u-boot. Strip functionality
not needed by U-boot.

Signed-off-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Signed-off-by: Anastasiia Lukianenko &lt;anastasiia_lukianenko@epam.com&gt;
</content>
</entry>
<entry>
<title>xen: Port Xen hypervisor related code from mini-os</title>
<updated>2020-08-14T19:18:30Z</updated>
<author>
<name>Oleksandr Andrushchenko</name>
<email>oleksandr_andrushchenko@epam.com</email>
</author>
<published>2020-08-06T09:42:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=486544161fa97accff12c2fc585ffe218b8dfc52'/>
<id>urn:sha1:486544161fa97accff12c2fc585ffe218b8dfc52</id>
<content type='text'>
Port hypervisor related code from Mini-OS. This is referencing the code
of Mini-OS from [1] by Huang Shijie and Volodymyr Babchuk which is for
ARM64.
Update essential arch code to support required bit operations, memory
barriers etc.

Copyright for the bits ported belong to at least the following authors,
please see related files for details:

Copyright (c) 2002-2003, K A Fraser
Copyright (c) 2005, Grzegorz Milos, gm281@cam.ac.uk,Intel Research Cambridge
Copyright (c) 2014, Karim Allah Ahmed &lt;karim.allah.ahmed@gmail.com&gt;

[1] - https://github.com/zyzii/mini-os.git

Signed-off-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Signed-off-by: Anastasiia Lukianenko &lt;anastasiia_lukianenko@epam.com&gt;
[trini: Drop wmb() from musb-net/linux-compat.h now]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
