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() ...
Showing the changes to include (39 of 72 files). Show all
Unified · Split
| @@ -53,7 +53,6 @@ unsigned long HYPERVISOR_hvm_op(int op, void *arg); · 52 unmodified lines | ||
| 53 | 53 | int HYPERVISOR_memory_op(unsigned int cmd, void *arg); |
| 54 | 54 | int HYPERVISOR_physdev_op(int cmd, void *arg); |
| 55 | 55 | int HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args); |
| 56 | −int HYPERVISOR_tmem_op(void *arg); | |
| 57 | 56 | int HYPERVISOR_vm_assist(unsigned int cmd, unsigned int type); |
| 58 | 57 | int HYPERVISOR_dm_op(domid_t domid, unsigned int nr_bufs, |
| 59 | 58 | struct xen_dm_op_buf *bufs); |
| @@ -74,18 +73,4 @@ HYPERVISOR_suspend(unsigned long start_info_mfn) · 14 unmodified lines | ||
| 74 | 73 | return HYPERVISOR_sched_op(SCHEDOP_shutdown, &r); |
| 75 | 74 | } |
| 76 | 75 | |
| 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 | − | |
| 91 | 76 | #endif /* _ASM_ARM_XEN_HYPERCALL_H */ |
| @@ -26,9 +26,6 @@ extern struct balloon_stats balloon_stats; · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | void balloon_set_new_target(unsigned long target); |
| 28 | 28 | |
| 29 | −int alloc_xenballooned_pages(int nr_pages, struct page **pages); | |
| 30 | −void free_xenballooned_pages(int nr_pages, struct page **pages); | |
| 31 | − | |
| 32 | 29 | #ifdef CONFIG_XEN_BALLOON |
| 33 | 30 | void xen_balloon_init(void); |
| 34 | 31 | #else |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * callback.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright (c) 2006, Ian Campbell |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * elfnote.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright (c) 2006, Ian Campbell, XenSource Ltd. |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /****************************************************************************** |
| 3 | 3 | * event_channel.h |
| 4 | 4 | * |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /****************************************************************************** |
| 3 | 3 | * features.h |
| 4 | 4 | * |
| @@ -1,27 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * grant_table.h |
| 3 | 4 | * |
| 4 | 5 | * Interface for granting foreign access to page frames, and receiving |
| 5 | 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 | 8 | * Copyright (c) 2004, K A Fraser |
| 26 | 9 | */ |
| 27 | 10 | |
| @@ -1,23 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /* |
| 2 | 3 | * 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 | 6 | #ifndef __XEN_PUBLIC_HVM_DM_OP_H__ |
| @@ -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 */ | |
| 20 | 2 | |
| 21 | 3 | #ifndef __XEN_PUBLIC_HVM_HVM_OP_H__ |
| 22 | 4 | #define __XEN_PUBLIC_HVM_HVM_OP_H__ |
| @@ -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 | 3 | * Copyright (c) 2015, Roger Pau Monne <roger.pau@citrix.com> |
| 21 | 4 | */ |
| 22 | 5 | |
| @@ -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 */ | |
| 20 | 2 | |
| 21 | 3 | #ifndef __XEN_PUBLIC_HVM_PARAMS_H__ |
| 22 | 4 | #define __XEN_PUBLIC_HVM_PARAMS_H__ |
| @@ -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 | 3 | * Copyright (c) 2016, Citrix Systems, Inc. |
| 21 | 4 | */ |
| 22 | 5 | |
| @@ -1,24 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /* |
| 2 | 3 | * 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 | 5 | * Copyright (C) 2017 Stefano Stabellini <stefano@aporeto.com> |
| 23 | 6 | */ |
| 24 | 7 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /****************************************************************************** |
| 3 | 3 | * blkif.h |
| 4 | 4 | * |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /****************************************************************************** |
| 3 | 3 | * console.h |
| 4 | 4 | * |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * displif.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright (C) 2016-2017 EPAM Systems Inc. |
| 25 | 8 | * |
| 26 | 9 | * Authors: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> |
| @@ -1,24 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /* |
| 2 | 3 | * 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 | 5 | * Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com> |
| 23 | 6 | * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com> |
| 24 | 7 | */ |
| @@ -1,24 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /* |
| 2 | 3 | * 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 | 5 | * Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com> |
| 23 | 6 | * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com> |
| 24 | 7 | */ |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * xen_netif.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright (c) 2003-2004, Keir Fraser |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,24 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /* |
| 2 | 3 | * 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 | 5 | * Author: Ryan Wilson <hap9@epoch.ncsc.mil> |
| 23 | 6 | */ |
| 24 | 7 | #ifndef __XEN_PCI_COMMON_H__ |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | #ifndef __XEN_PROTOCOLS_H__ |
| 3 | 3 | #define __XEN_PROTOCOLS_H__ |
| 4 | 4 | |
| @@ -1,3 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | + | |
| 1 | 3 | #ifndef __XEN_PUBLIC_IO_XEN_PVCALLS_H__ |
| 2 | 4 | #define __XEN_PUBLIC_IO_XEN_PVCALLS_H__ |
| 3 | 5 | |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * ring.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Tim Deegan and Andrew Warfield November 2004. |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * sndif.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright (C) 2013-2015 GlobalLogic Inc. |
| 25 | 8 | * Copyright (C) 2016-2017 EPAM Systems Inc. |
| 26 | 9 | * |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * vscsiif.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright(c) FUJITSU Limited 2008. |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /***************************************************************************** |
| 3 | 3 | * xenbus.h |
| 4 | 4 | * |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /* |
| 3 | 3 | * Details of the "wire" protocol between Xen Store Daemon and client |
| 4 | 4 | * library or guest kernel. |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /****************************************************************************** |
| 3 | 3 | * memory.h |
| 4 | 4 | * |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /****************************************************************************** |
| 3 | 3 | * nmi.h |
| 4 | 4 | * |
| @@ -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 */ | |
| 20 | 2 | |
| 21 | 3 | #ifndef __XEN_PUBLIC_PHYSDEV_H__ |
| 22 | 4 | #define __XEN_PUBLIC_PHYSDEV_H__ |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * platform.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright (c) 2002-2006, K Fraser |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * sched.h |
| 3 | 4 | * |
| 4 | 5 | * 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 | 7 | * Copyright (c) 2005, Keir Fraser <keir@xensource.com> |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * vcpu.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright (c) 2005, Keir Fraser <keir@xensource.com> |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | /****************************************************************************** |
| 3 | 3 | * version.h |
| 4 | 4 | * |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * arch-x86/mca.h |
| 3 | 4 | * Guest OS machine check interface to x86 Xen. |
| @@ -1,26 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | * xen.h |
| 3 | 4 | * |
| 4 | 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 | 7 | * Copyright (c) 2004, K A Fraser |
| 25 | 8 | */ |
| 26 | 9 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | +/* SPDX-License-Identifier: MIT */ | |
| 2 | 2 | #ifndef __XEN_PUBLIC_XENPMU_H__ |
| 3 | 3 | #define __XEN_PUBLIC_XENPMU_H__ |
| 4 | 4 | |
| @@ -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 | |
| @@ -52,13 +52,7 @@ bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, · 51 unmodified lines | ||
| 52 | 52 | extern u64 xen_saved_max_mem_size; |
| 53 | 53 | #endif |
| 54 | 54 | |
| 55 | −#ifdef CONFIG_XEN_UNPOPULATED_ALLOC | |
| 56 | 55 | int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages); |
| 57 | 56 | 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 | |
| 63 | 57 | |
| 64 | 58 | #endif /* _XEN_XEN_H */ |