diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2023-08-23 14:36:37 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2023-08-23 14:36:37 +0200 |
| commit | 6daf5a682463c6c44538995c72bde2be992dc8e0 (patch) | |
| tree | 424761c851c79cc1b41aab5971d0bba6ee851631 /arch/s390/kernel | |
| parent | cfd012107f11ec4af010f11eca341edc831abf6c (diff) | |
| parent | f88fb1335733029b4630fb93cfaad349a81e57b2 (diff) | |
| download | linux-6daf5a682463c6c44538995c72bde2be992dc8e0.tar.gz linux-6daf5a682463c6c44538995c72bde2be992dc8e0.tar.bz2 linux-6daf5a682463c6c44538995c72bde2be992dc8e0.zip | |
Merge branch 'vfio-ap' into features
Tony Krowiak says:
===================
This patch series is for the changes required in the vfio_ap device
driver to facilitate pass-through of crypto devices to a secure
execution guest. In particular, it is critical that no data from the
queues passed through to the SE guest is leaked when the guest is
destroyed. There are also some new response codes returned from the
PQAP(ZAPQ) and PQAP(TAPQ) commands that have been added to the
architecture in support of pass-through of crypto devices to SE guests;
these need to be accounted for when handling the reset of queues.
===================
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
| -rw-r--r-- | arch/s390/kernel/uv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kernel/uv.c b/arch/s390/kernel/uv.c index 66f0eb1c872b..b771f1b4cdd1 100644 --- a/arch/s390/kernel/uv.c +++ b/arch/s390/kernel/uv.c @@ -88,7 +88,7 @@ fail: * Requests the Ultravisor to pin the page in the shared state. This will * cause an intercept when the guest attempts to unshare the pinned page. */ -static int uv_pin_shared(unsigned long paddr) +int uv_pin_shared(unsigned long paddr) { struct uv_cb_cfs uvcb = { .header.cmd = UVC_CMD_PIN_PAGE_SHARED, @@ -100,6 +100,7 @@ static int uv_pin_shared(unsigned long paddr) return -EINVAL; return 0; } +EXPORT_SYMBOL_GPL(uv_pin_shared); /* * Requests the Ultravisor to destroy a guest page and make it |
