History

Merge tag 'for-linus-5.16b-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip

Pull xen updates from Juergen Gross: - a series to speed up the boot of Xen PV guests - some cleanups in Xen related code - replacement of license texts with the appropriate SPDX headers and fixing of wrong SPDX headers in Xen header files - a small series making paravirtualized interrupt masking much simpler and at the same time removing complaints of objtool - a fix for Xen ballooning hogging workqueues for too long - enablement of the Xen pciback driver for Arm - some further small fixes/enhancements * tag 'for-linus-5.16b-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: (22 commits) xen/balloon: fix unused-variable warning xen/balloon: rename alloc/free_xenballooned_pages xen/balloon: add late_initcall_sync() for initial ballooning done x86/xen: remove 32-bit awareness from startup_xen xen: remove highmem remnants xen: allow pv-only hypercalls only with CONFIG_XEN_PV x86/xen: remove 32-bit pv leftovers xen-pciback: allow compiling on other archs than x86 x86/xen: switch initial pvops IRQ functions to dummy ones x86/xen: remove xen_have_vcpu_info_placement flag x86/pvh: add prototype for xen_pvh_init() xen: Fix implicit type conversion xen: fix wrong SPDX headers of Xen related headers xen/pvcalls-back: Remove redundant 'flush_workqueue()' calls x86/xen: Remove redundant irq_enter/exit() invocations xen-pciback: Fix return in pm_ctrl_init() xen/x86: restrict PV Dom0 identity mapping xen/x86: there's no highmem anymore in PV mode xen/x86: adjust handling of the L3 user vsyscall special page table xen/x86: adjust xen_set_fixmap() ...

Linus Torvalds committed 5 years ago

Commit bf98ecb2 parents 4287af3 501586e72 files · +496 −968Browse files

Showing the changes to include (39 of 72 files). Show all

Unified · Split

39 files
  1. include/xen/arm/hypercall.h +0 −15
  2. include/xen/balloon.h +0 −3
  3. include/xen/interface/callback.h +1 −18
  4. include/xen/interface/elfnote.h +1 −18
  5. include/xen/interface/event_channel.h +1 −1
  6. include/xen/interface/features.h +1 −1
  7. include/xen/interface/grant_table.h +1 −18
  8. include/xen/interface/hvm/dm_op.h +1 −18
  9. include/xen/interface/hvm/hvm_op.h +1 −19
  10. include/xen/interface/hvm/hvm_vcpu.h +1 −18
  11. include/xen/interface/hvm/params.h +1 −19
  12. include/xen/interface/hvm/start_info.h +1 −18
  13. include/xen/interface/io/9pfs.h +1 −18
  14. include/xen/interface/io/blkif.h +1 −1
  15. include/xen/interface/io/console.h +1 −1
  16. include/xen/interface/io/displif.h +1 −18
  17. include/xen/interface/io/fbif.h +1 −18
  18. include/xen/interface/io/kbdif.h +1 −18
  19. include/xen/interface/io/netif.h +1 −18
  20. include/xen/interface/io/pciif.h +1 −18
  21. include/xen/interface/io/protocols.h +1 −1
  22. include/xen/interface/io/pvcalls.h +2 −0
  23. include/xen/interface/io/ring.h +1 −18
  24. include/xen/interface/io/sndif.h +1 −18
  25. include/xen/interface/io/vscsiif.h +1 −18
  26. include/xen/interface/io/xenbus.h +1 −1
  27. include/xen/interface/io/xs_wire.h +1 −1
  28. include/xen/interface/memory.h +1 −1
  29. include/xen/interface/nmi.h +1 −1
  30. include/xen/interface/physdev.h +1 −19
  31. include/xen/interface/platform.h +1 −18
  32. include/xen/interface/sched.h +1 −18
  33. include/xen/interface/vcpu.h +1 −18
  34. include/xen/interface/version.h +1 −1
  35. include/xen/interface/xen-mca.h +1 −0
  36. include/xen/interface/xen.h +1 −18
  37. include/xen/interface/xenpmu.h +1 −1
  38. include/xen/pci.h +28 −0
  39. include/xen/xen.h +0 −6
include/xen/arm/hypercall.h+0−15
@@ -53,7 +53,6 @@ unsigned long HYPERVISOR_hvm_op(int op, void *arg); · 52 unmodified lines
5353 int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
5454 int HYPERVISOR_physdev_op(int cmd, void *arg);
5555 int HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args);
56−int HYPERVISOR_tmem_op(void *arg);
5756 int HYPERVISOR_vm_assist(unsigned int cmd, unsigned int type);
5857 int HYPERVISOR_dm_op(domid_t domid, unsigned int nr_bufs,
5958 struct xen_dm_op_buf *bufs);
@@ -74,18 +73,4 @@ HYPERVISOR_suspend(unsigned long start_info_mfn) · 14 unmodified lines
7473 return HYPERVISOR_sched_op(SCHEDOP_shutdown, &r);
7574 }
7675
77−static inline void
78−MULTI_update_va_mapping(struct multicall_entry *mcl, unsigned long va,
79− unsigned int new_val, unsigned long flags)
80−{
81− BUG();
82−}
83−
84−static inline void
85−MULTI_mmu_update(struct multicall_entry *mcl, struct mmu_update *req,
86− int count, int *success_count, domid_t domid)
87−{
88− BUG();
89−}
90−
9176 #endif /* _ASM_ARM_XEN_HYPERCALL_H */
include/xen/balloon.h+0−3
@@ -26,9 +26,6 @@ extern struct balloon_stats balloon_stats; · 25 unmodified lines
2626
2727 void balloon_set_new_target(unsigned long target);
2828
29−int alloc_xenballooned_pages(int nr_pages, struct page **pages);
30−void free_xenballooned_pages(int nr_pages, struct page **pages);
31−
3229 #ifdef CONFIG_XEN_BALLOON
3330 void xen_balloon_init(void);
3431 #else
include/xen/interface/callback.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * callback.h
34 *
45 * Register guest OS callbacks with Xen.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (c) 2006, Ian Campbell
258 */
269
include/xen/interface/elfnote.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * elfnote.h
34 *
45 * Definitions used for the Xen ELF notes.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (c) 2006, Ian Campbell, XenSource Ltd.
258 */
269
include/xen/interface/event_channel.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /******************************************************************************
33 * event_channel.h
44 *
include/xen/interface/features.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /******************************************************************************
33 * features.h
44 *
include/xen/interface/grant_table.h+1−18
@@ -1,27 +1,10 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * grant_table.h
34 *
45 * Interface for granting foreign access to page frames, and receiving
56 * page-ownership transfers.
67 *
7− * Permission is hereby granted, free of charge, to any person obtaining a copy
8− * of this software and associated documentation files (the "Software"), to
9− * deal in the Software without restriction, including without limitation the
10− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11− * sell copies of the Software, and to permit persons to whom the Software is
12− * furnished to do so, subject to the following conditions:
13− *
14− * The above copyright notice and this permission notice shall be included in
15− * all copies or substantial portions of the Software.
16− *
17− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23− * DEALINGS IN THE SOFTWARE.
24− *
258 * Copyright (c) 2004, K A Fraser
269 */
2710
include/xen/interface/hvm/dm_op.h+1−18
@@ -1,23 +1,6 @@
1+/* SPDX-License-Identifier: MIT */
12 /*
23 * Copyright (c) 2016, Citrix Systems Inc
3− *
4− * Permission is hereby granted, free of charge, to any person obtaining a copy
5− * of this software and associated documentation files (the "Software"), to
6− * deal in the Software without restriction, including without limitation the
7− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8− * sell copies of the Software, and to permit persons to whom the Software is
9− * furnished to do so, subject to the following conditions:
10− *
11− * The above copyright notice and this permission notice shall be included in
12− * all copies or substantial portions of the Software.
13− *
14− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20− * DEALINGS IN THE SOFTWARE.
214 */
225
236 #ifndef __XEN_PUBLIC_HVM_DM_OP_H__
include/xen/interface/hvm/hvm_op.h+1−19
@@ -1,22 +1,4 @@
1−/*
2− * Permission is hereby granted, free of charge, to any person obtaining a copy
3− * of this software and associated documentation files (the "Software"), to
4− * deal in the Software without restriction, including without limitation the
5− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6− * sell copies of the Software, and to permit persons to whom the Software is
7− * furnished to do so, subject to the following conditions:
8− *
9− * The above copyright notice and this permission notice shall be included in
10− * all copies or substantial portions of the Software.
11− *
12− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18− * DEALINGS IN THE SOFTWARE.
19− */
1+/* SPDX-License-Identifier: MIT */
202
213 #ifndef __XEN_PUBLIC_HVM_HVM_OP_H__
224 #define __XEN_PUBLIC_HVM_HVM_OP_H__
include/xen/interface/hvm/hvm_vcpu.h+1−18
@@ -1,22 +1,5 @@
1+/* SPDX-License-Identifier: MIT */
12 /*
2− * Permission is hereby granted, free of charge, to any person obtaining a copy
3− * of this software and associated documentation files (the "Software"), to
4− * deal in the Software without restriction, including without limitation the
5− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6− * sell copies of the Software, and to permit persons to whom the Software is
7− * furnished to do so, subject to the following conditions:
8− *
9− * The above copyright notice and this permission notice shall be included in
10− * all copies or substantial portions of the Software.
11− *
12− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18− * DEALINGS IN THE SOFTWARE.
19− *
203 * Copyright (c) 2015, Roger Pau Monne <roger.pau@citrix.com>
214 */
225
include/xen/interface/hvm/params.h+1−19
@@ -1,22 +1,4 @@
1−/*
2− * Permission is hereby granted, free of charge, to any person obtaining a copy
3− * of this software and associated documentation files (the "Software"), to
4− * deal in the Software without restriction, including without limitation the
5− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6− * sell copies of the Software, and to permit persons to whom the Software is
7− * furnished to do so, subject to the following conditions:
8− *
9− * The above copyright notice and this permission notice shall be included in
10− * all copies or substantial portions of the Software.
11− *
12− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18− * DEALINGS IN THE SOFTWARE.
19− */
1+/* SPDX-License-Identifier: MIT */
202
213 #ifndef __XEN_PUBLIC_HVM_PARAMS_H__
224 #define __XEN_PUBLIC_HVM_PARAMS_H__
include/xen/interface/hvm/start_info.h+1−18
@@ -1,22 +1,5 @@
1+/* SPDX-License-Identifier: MIT */
12 /*
2− * Permission is hereby granted, free of charge, to any person obtaining a copy
3− * of this software and associated documentation files (the "Software"), to
4− * deal in the Software without restriction, including without limitation the
5− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6− * sell copies of the Software, and to permit persons to whom the Software is
7− * furnished to do so, subject to the following conditions:
8− *
9− * The above copyright notice and this permission notice shall be included in
10− * all copies or substantial portions of the Software.
11− *
12− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18− * DEALINGS IN THE SOFTWARE.
19− *
203 * Copyright (c) 2016, Citrix Systems, Inc.
214 */
225
include/xen/interface/io/9pfs.h+1−18
@@ -1,24 +1,7 @@
1+/* SPDX-License-Identifier: MIT */
12 /*
23 * 9pfs.h -- Xen 9PFS transport
34 *
4− * Permission is hereby granted, free of charge, to any person obtaining a copy
5− * of this software and associated documentation files (the "Software"), to
6− * deal in the Software without restriction, including without limitation the
7− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8− * sell copies of the Software, and to permit persons to whom the Software is
9− * furnished to do so, subject to the following conditions:
10− *
11− * The above copyright notice and this permission notice shall be included in
12− * all copies or substantial portions of the Software.
13− *
14− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20− * DEALINGS IN THE SOFTWARE.
21− *
225 * Copyright (C) 2017 Stefano Stabellini <stefano@aporeto.com>
236 */
247
include/xen/interface/io/blkif.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /******************************************************************************
33 * blkif.h
44 *
include/xen/interface/io/console.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /******************************************************************************
33 * console.h
44 *
include/xen/interface/io/displif.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * displif.h
34 *
45 * Unified display device I/O interface for Xen guest OSes.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (C) 2016-2017 EPAM Systems Inc.
258 *
269 * Authors: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
include/xen/interface/io/fbif.h+1−18
@@ -1,24 +1,7 @@
1+/* SPDX-License-Identifier: MIT */
12 /*
23 * fbif.h -- Xen virtual frame buffer device
34 *
4− * Permission is hereby granted, free of charge, to any person obtaining a copy
5− * of this software and associated documentation files (the "Software"), to
6− * deal in the Software without restriction, including without limitation the
7− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8− * sell copies of the Software, and to permit persons to whom the Software is
9− * furnished to do so, subject to the following conditions:
10− *
11− * The above copyright notice and this permission notice shall be included in
12− * all copies or substantial portions of the Software.
13− *
14− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20− * DEALINGS IN THE SOFTWARE.
21− *
225 * Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com>
236 * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com>
247 */
include/xen/interface/io/kbdif.h+1−18
@@ -1,24 +1,7 @@
1+/* SPDX-License-Identifier: MIT */
12 /*
23 * kbdif.h -- Xen virtual keyboard/mouse
34 *
4− * Permission is hereby granted, free of charge, to any person obtaining a copy
5− * of this software and associated documentation files (the "Software"), to
6− * deal in the Software without restriction, including without limitation the
7− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8− * sell copies of the Software, and to permit persons to whom the Software is
9− * furnished to do so, subject to the following conditions:
10− *
11− * The above copyright notice and this permission notice shall be included in
12− * all copies or substantial portions of the Software.
13− *
14− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20− * DEALINGS IN THE SOFTWARE.
21− *
225 * Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com>
236 * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com>
247 */
include/xen/interface/io/netif.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * xen_netif.h
34 *
45 * Unified network-device I/O interface for Xen guest OSes.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (c) 2003-2004, Keir Fraser
258 */
269
include/xen/interface/io/pciif.h+1−18
@@ -1,24 +1,7 @@
1+/* SPDX-License-Identifier: MIT */
12 /*
23 * PCI Backend/Frontend Common Data Structures & Macros
34 *
4− * Permission is hereby granted, free of charge, to any person obtaining a copy
5− * of this software and associated documentation files (the "Software"), to
6− * deal in the Software without restriction, including without limitation the
7− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8− * sell copies of the Software, and to permit persons to whom the Software is
9− * furnished to do so, subject to the following conditions:
10− *
11− * The above copyright notice and this permission notice shall be included in
12− * all copies or substantial portions of the Software.
13− *
14− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20− * DEALINGS IN THE SOFTWARE.
21− *
225 * Author: Ryan Wilson <hap9@epoch.ncsc.mil>
236 */
247 #ifndef __XEN_PCI_COMMON_H__
include/xen/interface/io/protocols.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 #ifndef __XEN_PROTOCOLS_H__
33 #define __XEN_PROTOCOLS_H__
44
include/xen/interface/io/pvcalls.h+2−0
@@ -1,3 +1,5 @@
1+/* SPDX-License-Identifier: MIT */
2+
13 #ifndef __XEN_PUBLIC_IO_XEN_PVCALLS_H__
24 #define __XEN_PUBLIC_IO_XEN_PVCALLS_H__
35
include/xen/interface/io/ring.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * ring.h
34 *
45 * Shared producer-consumer ring macros.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Tim Deegan and Andrew Warfield November 2004.
258 */
269
include/xen/interface/io/sndif.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * sndif.h
34 *
45 * Unified sound-device I/O interface for Xen guest OSes.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (C) 2013-2015 GlobalLogic Inc.
258 * Copyright (C) 2016-2017 EPAM Systems Inc.
269 *
include/xen/interface/io/vscsiif.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * vscsiif.h
34 *
45 * Based on the blkif.h code.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright(c) FUJITSU Limited 2008.
258 */
269
include/xen/interface/io/xenbus.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /*****************************************************************************
33 * xenbus.h
44 *
include/xen/interface/io/xs_wire.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /*
33 * Details of the "wire" protocol between Xen Store Daemon and client
44 * library or guest kernel.
include/xen/interface/memory.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /******************************************************************************
33 * memory.h
44 *
include/xen/interface/nmi.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /******************************************************************************
33 * nmi.h
44 *
include/xen/interface/physdev.h+1−19
@@ -1,22 +1,4 @@
1−/*
2− * Permission is hereby granted, free of charge, to any person obtaining a copy
3− * of this software and associated documentation files (the "Software"), to
4− * deal in the Software without restriction, including without limitation the
5− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6− * sell copies of the Software, and to permit persons to whom the Software is
7− * furnished to do so, subject to the following conditions:
8− *
9− * The above copyright notice and this permission notice shall be included in
10− * all copies or substantial portions of the Software.
11− *
12− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18− * DEALINGS IN THE SOFTWARE.
19− */
1+/* SPDX-License-Identifier: MIT */
202
213 #ifndef __XEN_PUBLIC_PHYSDEV_H__
224 #define __XEN_PUBLIC_PHYSDEV_H__
include/xen/interface/platform.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * platform.h
34 *
45 * Hardware platform operations. Intended for use by domain-0 kernel.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (c) 2002-2006, K Fraser
258 */
269
include/xen/interface/sched.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * sched.h
34 *
45 * Scheduler state interactions
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>
258 */
269
include/xen/interface/vcpu.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * vcpu.h
34 *
45 * VCPU initialisation, query, and hotplug.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>
258 */
269
include/xen/interface/version.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 /******************************************************************************
33 * version.h
44 *
include/xen/interface/xen-mca.h+1−0
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * arch-x86/mca.h
34 * Guest OS machine check interface to x86 Xen.
include/xen/interface/xen.h+1−18
@@ -1,26 +1,9 @@
1+/* SPDX-License-Identifier: MIT */
12 /******************************************************************************
23 * xen.h
34 *
45 * Guest OS interface to Xen.
56 *
6− * Permission is hereby granted, free of charge, to any person obtaining a copy
7− * of this software and associated documentation files (the "Software"), to
8− * deal in the Software without restriction, including without limitation the
9− * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10− * sell copies of the Software, and to permit persons to whom the Software is
11− * furnished to do so, subject to the following conditions:
12− *
13− * The above copyright notice and this permission notice shall be included in
14− * all copies or substantial portions of the Software.
15− *
16− * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17− * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18− * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19− * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20− * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21− * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22− * DEALINGS IN THE SOFTWARE.
23− *
247 * Copyright (c) 2004, K A Fraser
258 */
269
include/xen/interface/xenpmu.h+1−1
@@ -1,4 +1,4 @@
1−/* SPDX-License-Identifier: GPL-2.0 */
1+/* SPDX-License-Identifier: MIT */
22 #ifndef __XEN_PUBLIC_XENPMU_H__
33 #define __XEN_PUBLIC_XENPMU_H__
44
include/xen/pci.h+28−0
@@ -0,0 +1,28 @@
1+/* SPDX-License-Identifier: GPL-2.0 */
2+
3+#ifndef __XEN_PCI_H__
4+#define __XEN_PCI_H__
5+
6+#if defined(CONFIG_XEN_DOM0)
7+int xen_find_device_domain_owner(struct pci_dev *dev);
8+int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain);
9+int xen_unregister_device_domain_owner(struct pci_dev *dev);
10+#else
11+static inline int xen_find_device_domain_owner(struct pci_dev *dev)
12+{
13+ return -1;
14+}
15+
16+static inline int xen_register_device_domain_owner(struct pci_dev *dev,
17+ uint16_t domain)
18+{
19+ return -1;
20+}
21+
22+static inline int xen_unregister_device_domain_owner(struct pci_dev *dev)
23+{
24+ return -1;
25+}
26+#endif
27+
28+#endif
include/xen/xen.h+0−6
@@ -52,13 +52,7 @@ bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, · 51 unmodified lines
5252 extern u64 xen_saved_max_mem_size;
5353 #endif
5454
55−#ifdef CONFIG_XEN_UNPOPULATED_ALLOC
5655 int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages);
5756 void xen_free_unpopulated_pages(unsigned int nr_pages, struct page **pages);
58−#else
59−#define xen_alloc_unpopulated_pages alloc_xenballooned_pages
60−#define xen_free_unpopulated_pages free_xenballooned_pages
61−#include <xen/balloon.h>
62−#endif
6357
6458 #endif /* _XEN_XEN_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t