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
53int HYPERVISOR_memory_op(unsigned int cmd, void *arg);53int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
54int HYPERVISOR_physdev_op(int cmd, void *arg);54int HYPERVISOR_physdev_op(int cmd, void *arg);
55int HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args);55int HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args);
56int HYPERVISOR_tmem_op(void *arg);
57int HYPERVISOR_vm_assist(unsigned int cmd, unsigned int type);56int HYPERVISOR_vm_assist(unsigned int cmd, unsigned int type);
58int HYPERVISOR_dm_op(domid_t domid, unsigned int nr_bufs,57int HYPERVISOR_dm_op(domid_t domid, unsigned int nr_bufs,
59 struct xen_dm_op_buf *bufs);58 struct xen_dm_op_buf *bufs);
@@ -74,18 +73,4 @@ HYPERVISOR_suspend(unsigned long start_info_mfn) · 14 unmodified lines
74 return HYPERVISOR_sched_op(SCHEDOP_shutdown, &r);73 return HYPERVISOR_sched_op(SCHEDOP_shutdown, &r);
75}74}
76 75
77static inline void
78MULTI_update_va_mapping(struct multicall_entry *mcl, unsigned long va,
79 unsigned int new_val, unsigned long flags)
80{
81 BUG();
82}
83
84static inline void
85MULTI_mmu_update(struct multicall_entry *mcl, struct mmu_update *req,
86 int count, int *success_count, domid_t domid)
87{
88 BUG();
89}
90
91#endif /* _ASM_ARM_XEN_HYPERCALL_H */76#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
26 26
27void balloon_set_new_target(unsigned long target);27void balloon_set_new_target(unsigned long target);
28 28
29int alloc_xenballooned_pages(int nr_pages, struct page **pages);
30void free_xenballooned_pages(int nr_pages, struct page **pages);
31
32#ifdef CONFIG_XEN_BALLOON29#ifdef CONFIG_XEN_BALLOON
33void xen_balloon_init(void);30void xen_balloon_init(void);
34#else31#else
include/xen/interface/callback.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * callback.h3 * callback.h
3 *4 *
4 * Register guest OS callbacks with Xen.5 * Register guest OS callbacks with Xen.
5 *6 *
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 *
24 * Copyright (c) 2006, Ian Campbell7 * Copyright (c) 2006, Ian Campbell
25 */8 */
26 9
include/xen/interface/elfnote.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * elfnote.h3 * elfnote.h
3 *4 *
4 * Definitions used for the Xen ELF notes.5 * Definitions used for the Xen ELF notes.
5 *6 *
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 *
24 * Copyright (c) 2006, Ian Campbell, XenSource Ltd.7 * Copyright (c) 2006, Ian Campbell, XenSource Ltd.
25 */8 */
26 9
include/xen/interface/event_channel.h+1−1
@@ -1,4 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: MIT */
2/******************************************************************************2/******************************************************************************
3 * event_channel.h3 * event_channel.h
4 *4 *
include/xen/interface/features.h+1−1
@@ -1,4 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: MIT */
2/******************************************************************************2/******************************************************************************
3 * features.h3 * features.h
4 *4 *
include/xen/interface/grant_table.h+1−18
@@ -1,27 +1,10 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * grant_table.h3 * grant_table.h
3 *4 *
4 * Interface for granting foreign access to page frames, and receiving5 * Interface for granting foreign access to page frames, and receiving
5 * page-ownership transfers.6 * page-ownership transfers.
6 *7 *
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 *
25 * Copyright (c) 2004, K A Fraser8 * Copyright (c) 2004, K A Fraser
26 */9 */
27 10
include/xen/interface/hvm/dm_op.h+1−18
@@ -1,23 +1,6 @@
1/* SPDX-License-Identifier: MIT */
1/*2/*
2 * Copyright (c) 2016, Citrix Systems Inc3 * 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.
21 */4 */
22 5
23#ifndef __XEN_PUBLIC_HVM_DM_OP_H__6#ifndef __XEN_PUBLIC_HVM_DM_OP_H__
include/xen/interface/hvm/hvm_op.h+1−19
@@ -1,22 +1,4 @@
1/*1/* SPDX-License-Identifier: MIT */
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 */
20 2
21#ifndef __XEN_PUBLIC_HVM_HVM_OP_H__3#ifndef __XEN_PUBLIC_HVM_HVM_OP_H__
22#define __XEN_PUBLIC_HVM_HVM_OP_H__4#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 */
1/*2/*
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 *
20 * Copyright (c) 2015, Roger Pau Monne <roger.pau@citrix.com>3 * Copyright (c) 2015, Roger Pau Monne <roger.pau@citrix.com>
21 */4 */
22 5
include/xen/interface/hvm/params.h+1−19
@@ -1,22 +1,4 @@
1/*1/* SPDX-License-Identifier: MIT */
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 */
20 2
21#ifndef __XEN_PUBLIC_HVM_PARAMS_H__3#ifndef __XEN_PUBLIC_HVM_PARAMS_H__
22#define __XEN_PUBLIC_HVM_PARAMS_H__4#define __XEN_PUBLIC_HVM_PARAMS_H__
include/xen/interface/hvm/start_info.h+1−18
@@ -1,22 +1,5 @@
1/* SPDX-License-Identifier: MIT */
1/*2/*
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 *
20 * Copyright (c) 2016, Citrix Systems, Inc.3 * Copyright (c) 2016, Citrix Systems, Inc.
21 */4 */
22 5
include/xen/interface/io/9pfs.h+1−18
@@ -1,24 +1,7 @@
1/* SPDX-License-Identifier: MIT */
1/*2/*
2 * 9pfs.h -- Xen 9PFS transport3 * 9pfs.h -- Xen 9PFS transport
3 *4 *
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 *
22 * Copyright (C) 2017 Stefano Stabellini <stefano@aporeto.com>5 * Copyright (C) 2017 Stefano Stabellini <stefano@aporeto.com>
23 */6 */
24 7
include/xen/interface/io/blkif.h+1−1
@@ -1,4 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: MIT */
2/******************************************************************************2/******************************************************************************
3 * blkif.h3 * blkif.h
4 *4 *
include/xen/interface/io/console.h+1−1
@@ -1,4 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: MIT */
2/******************************************************************************2/******************************************************************************
3 * console.h3 * console.h
4 *4 *
include/xen/interface/io/displif.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * displif.h3 * displif.h
3 *4 *
4 * Unified display device I/O interface for Xen guest OSes.5 * Unified display device I/O interface for Xen guest OSes.
5 *6 *
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 *
24 * Copyright (C) 2016-2017 EPAM Systems Inc.7 * Copyright (C) 2016-2017 EPAM Systems Inc.
25 *8 *
26 * Authors: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>9 * Authors: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
include/xen/interface/io/fbif.h+1−18
@@ -1,24 +1,7 @@
1/* SPDX-License-Identifier: MIT */
1/*2/*
2 * fbif.h -- Xen virtual frame buffer device3 * fbif.h -- Xen virtual frame buffer device
3 *4 *
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 *
22 * Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com>5 * Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com>
23 * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com>6 * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com>
24 */7 */
include/xen/interface/io/kbdif.h+1−18
@@ -1,24 +1,7 @@
1/* SPDX-License-Identifier: MIT */
1/*2/*
2 * kbdif.h -- Xen virtual keyboard/mouse3 * kbdif.h -- Xen virtual keyboard/mouse
3 *4 *
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 *
22 * Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com>5 * Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com>
23 * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com>6 * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com>
24 */7 */
include/xen/interface/io/netif.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * xen_netif.h3 * xen_netif.h
3 *4 *
4 * Unified network-device I/O interface for Xen guest OSes.5 * Unified network-device I/O interface for Xen guest OSes.
5 *6 *
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 *
24 * Copyright (c) 2003-2004, Keir Fraser7 * Copyright (c) 2003-2004, Keir Fraser
25 */8 */
26 9
include/xen/interface/io/pciif.h+1−18
@@ -1,24 +1,7 @@
1/* SPDX-License-Identifier: MIT */
1/*2/*
2 * PCI Backend/Frontend Common Data Structures & Macros3 * PCI Backend/Frontend Common Data Structures & Macros
3 *4 *
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 *
22 * Author: Ryan Wilson <hap9@epoch.ncsc.mil>5 * Author: Ryan Wilson <hap9@epoch.ncsc.mil>
23 */6 */
24#ifndef __XEN_PCI_COMMON_H__7#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 */
2#ifndef __XEN_PROTOCOLS_H__2#ifndef __XEN_PROTOCOLS_H__
3#define __XEN_PROTOCOLS_H__3#define __XEN_PROTOCOLS_H__
4 4
include/xen/interface/io/pvcalls.h+2−0
@@ -1,3 +1,5 @@
1/* SPDX-License-Identifier: MIT */
2
1#ifndef __XEN_PUBLIC_IO_XEN_PVCALLS_H__3#ifndef __XEN_PUBLIC_IO_XEN_PVCALLS_H__
2#define __XEN_PUBLIC_IO_XEN_PVCALLS_H__4#define __XEN_PUBLIC_IO_XEN_PVCALLS_H__
3 5
include/xen/interface/io/ring.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * ring.h3 * ring.h
3 *4 *
4 * Shared producer-consumer ring macros.5 * Shared producer-consumer ring macros.
5 *6 *
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 *
24 * Tim Deegan and Andrew Warfield November 2004.7 * Tim Deegan and Andrew Warfield November 2004.
25 */8 */
26 9
include/xen/interface/io/sndif.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * sndif.h3 * sndif.h
3 *4 *
4 * Unified sound-device I/O interface for Xen guest OSes.5 * Unified sound-device I/O interface for Xen guest OSes.
5 *6 *
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 *
24 * Copyright (C) 2013-2015 GlobalLogic Inc.7 * Copyright (C) 2013-2015 GlobalLogic Inc.
25 * Copyright (C) 2016-2017 EPAM Systems Inc.8 * Copyright (C) 2016-2017 EPAM Systems Inc.
26 *9 *
include/xen/interface/io/vscsiif.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * vscsiif.h3 * vscsiif.h
3 *4 *
4 * Based on the blkif.h code.5 * Based on the blkif.h code.
5 *6 *
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 *
24 * Copyright(c) FUJITSU Limited 2008.7 * Copyright(c) FUJITSU Limited 2008.
25 */8 */
26 9
include/xen/interface/io/xenbus.h+1−1
@@ -1,4 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: MIT */
2/*****************************************************************************2/*****************************************************************************
3 * xenbus.h3 * xenbus.h
4 *4 *
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 */
2/*2/*
3 * Details of the "wire" protocol between Xen Store Daemon and client3 * Details of the "wire" protocol between Xen Store Daemon and client
4 * library or guest kernel.4 * 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 */
2/******************************************************************************2/******************************************************************************
3 * memory.h3 * memory.h
4 *4 *
include/xen/interface/nmi.h+1−1
@@ -1,4 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: MIT */
2/******************************************************************************2/******************************************************************************
3 * nmi.h3 * nmi.h
4 *4 *
include/xen/interface/physdev.h+1−19
@@ -1,22 +1,4 @@
1/*1/* SPDX-License-Identifier: MIT */
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 */
20 2
21#ifndef __XEN_PUBLIC_PHYSDEV_H__3#ifndef __XEN_PUBLIC_PHYSDEV_H__
22#define __XEN_PUBLIC_PHYSDEV_H__4#define __XEN_PUBLIC_PHYSDEV_H__
include/xen/interface/platform.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * platform.h3 * platform.h
3 *4 *
4 * Hardware platform operations. Intended for use by domain-0 kernel.5 * Hardware platform operations. Intended for use by domain-0 kernel.
5 *6 *
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 *
24 * Copyright (c) 2002-2006, K Fraser7 * Copyright (c) 2002-2006, K Fraser
25 */8 */
26 9
include/xen/interface/sched.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * sched.h3 * sched.h
3 *4 *
4 * Scheduler state interactions5 * Scheduler state interactions
5 *6 *
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 *
24 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>7 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>
25 */8 */
26 9
include/xen/interface/vcpu.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * vcpu.h3 * vcpu.h
3 *4 *
4 * VCPU initialisation, query, and hotplug.5 * VCPU initialisation, query, and hotplug.
5 *6 *
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 *
24 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>7 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>
25 */8 */
26 9
include/xen/interface/version.h+1−1
@@ -1,4 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: MIT */
2/******************************************************************************2/******************************************************************************
3 * version.h3 * version.h
4 *4 *
include/xen/interface/xen-mca.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * arch-x86/mca.h3 * arch-x86/mca.h
3 * Guest OS machine check interface to x86 Xen.4 * Guest OS machine check interface to x86 Xen.
include/xen/interface/xen.h+1−18
@@ -1,26 +1,9 @@
1/* SPDX-License-Identifier: MIT */
1/******************************************************************************2/******************************************************************************
2 * xen.h3 * xen.h
3 *4 *
4 * Guest OS interface to Xen.5 * Guest OS interface to Xen.
5 *6 *
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 *
24 * Copyright (c) 2004, K A Fraser7 * Copyright (c) 2004, K A Fraser
25 */8 */
26 9
include/xen/interface/xenpmu.h+1−1
@@ -1,4 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: MIT */
2#ifndef __XEN_PUBLIC_XENPMU_H__2#ifndef __XEN_PUBLIC_XENPMU_H__
3#define __XEN_PUBLIC_XENPMU_H__3#define __XEN_PUBLIC_XENPMU_H__
4 4
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)
7int xen_find_device_domain_owner(struct pci_dev *dev);
8int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain);
9int xen_unregister_device_domain_owner(struct pci_dev *dev);
10#else
11static inline int xen_find_device_domain_owner(struct pci_dev *dev)
12{
13 return -1;
14}
15
16static inline int xen_register_device_domain_owner(struct pci_dev *dev,
17 uint16_t domain)
18{
19 return -1;
20}
21
22static 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
52extern u64 xen_saved_max_mem_size;52extern u64 xen_saved_max_mem_size;
53#endif53#endif
54 54
55#ifdef CONFIG_XEN_UNPOPULATED_ALLOC
56int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages);55int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages);
57void xen_free_unpopulated_pages(unsigned int nr_pages, struct page **pages);56void 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
63 57
64#endif /* _XEN_XEN_H */58#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