mainlining shenanigans
Go to file
Juergen Gross 251e90e7e3 xen: don't require virtio with grants for non-PV guests
Commit fa1f57421e ("xen/virtio: Enable restricted memory access using
Xen grant mappings") introduced a new requirement for using virtio
devices: the backend now needs to support the VIRTIO_F_ACCESS_PLATFORM
feature.

This is an undue requirement for non-PV guests, as those can be operated
with existing backends without any problem, as long as those backends
are running in dom0.

Per default allow virtio devices without grant support for non-PV
guests.

On Arm require VIRTIO_F_ACCESS_PLATFORM for devices having been listed
in the device tree to use grants.

Add a new config item to always force use of grants for virtio.

Fixes: fa1f57421e ("xen/virtio: Enable restricted memory access using Xen grant mappings")
Reported-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Tested-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> # Arm64 guest using Xen
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/20220622063838.8854-4-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
2022-08-01 07:43:03 +02:00
arch xen: don't require virtio with grants for non-PV guests 2022-08-01 07:43:03 +02:00
block
certs
crypto
Documentation - Update the mitigations= kernel param documentation 2022-07-31 09:26:53 -07:00
drivers xen: don't require virtio with grants for non-PV guests 2022-08-01 07:43:03 +02:00
fs Thirteen hotfixes, Eight are cc:stable and the remainder are for post-5.18 2022-07-26 19:38:46 -07:00
include xen: don't require virtio with grants for non-PV guests 2022-08-01 07:43:03 +02:00
init
ipc
kernel kernel: remove platform_has() infrastructure 2022-08-01 07:42:56 +02:00
lib
LICENSES
mm Two hotfixes, both cc:stable. 2022-07-29 21:02:35 -07:00
net net: ping6: Fix memleak in ipv6_renew_options(). 2022-07-28 10:42:08 -07:00
samples
scripts
security
sound
tools perf tools fixes for v5.19: 5th batch 2022-07-29 11:26:28 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap ARM: SoC fixes for 5.19, part 4 2022-07-27 09:43:07 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS kernel: remove platform_has() infrastructure 2022-08-01 07:42:56 +02:00
Makefile Linux 5.19 2022-07-31 14:03:01 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.