diff options
Diffstat (limited to 'arch/powerpc/include')
| -rw-r--r-- | arch/powerpc/include/asm/async_tx.h | 18 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/fsl_85xx_cache_sram.h | 15 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/hmi.h | 14 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/imc-pmu.h | 6 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/io-workarounds.h | 15 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 2 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/livepatch.h | 14 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/mpc5xxx.h | 7 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/mpc85xx.h | 6 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/ppc4xx.h | 7 |
10 files changed, 11 insertions, 93 deletions
diff --git a/arch/powerpc/include/asm/async_tx.h b/arch/powerpc/include/asm/async_tx.h index 8b2dc55d01ab..a14758426dd5 100644 --- a/arch/powerpc/include/asm/async_tx.h +++ b/arch/powerpc/include/asm/async_tx.h | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2008-2009 DENX Software Engineering. | 3 | * Copyright (C) 2008-2009 DENX Software Engineering. |
| 3 | * | 4 | * |
| 4 | * Author: Yuri Tikhonov <yur@emcraft.com> | 5 | * Author: Yuri Tikhonov <yur@emcraft.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms of the GNU General Public License as published by the Free | ||
| 8 | * Software Foundation; either version 2 of the License, or (at your option) | ||
| 9 | * any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 14 | * more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along with | ||
| 17 | * this program; if not, write to the Free Software Foundation, Inc., 59 | ||
| 18 | * Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 19 | * | ||
| 20 | * The full GNU General Public License is included in this distribution in the | ||
| 21 | * file called COPYING. | ||
| 22 | */ | 6 | */ |
| 23 | #ifndef _ASM_POWERPC_ASYNC_TX_H_ | 7 | #ifndef _ASM_POWERPC_ASYNC_TX_H_ |
| 24 | #define _ASM_POWERPC_ASYNC_TX_H_ | 8 | #define _ASM_POWERPC_ASYNC_TX_H_ |
diff --git a/arch/powerpc/include/asm/fsl_85xx_cache_sram.h b/arch/powerpc/include/asm/fsl_85xx_cache_sram.h index 2af2bdc37b2e..0235a0447baa 100644 --- a/arch/powerpc/include/asm/fsl_85xx_cache_sram.h +++ b/arch/powerpc/include/asm/fsl_85xx_cache_sram.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2009 Freescale Semiconductor, Inc. | 3 | * Copyright 2009 Freescale Semiconductor, Inc. |
| 3 | * | 4 | * |
| @@ -7,20 +8,6 @@ | |||
| 7 | 8 | ||
| 8 | * This file is derived from the original work done | 9 | * This file is derived from the original work done |
| 9 | * by Sylvain Munaut for the Bestcomm SRAM allocator. | 10 | * by Sylvain Munaut for the Bestcomm SRAM allocator. |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify it | ||
| 12 | * under the terms of the GNU General Public License as published by the | ||
| 13 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 14 | * option) any later version. | ||
| 15 | * | ||
| 16 | * This program is distributed in the hope that it will be useful, | ||
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 19 | * GNU General Public License for more details. | ||
| 20 | * | ||
| 21 | * You should have received a copy of the GNU General Public License | ||
| 22 | * along with this program; if not, write to the Free Software | ||
| 23 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
| 26 | #ifndef __ASM_POWERPC_FSL_85XX_CACHE_SRAM_H__ | 13 | #ifndef __ASM_POWERPC_FSL_85XX_CACHE_SRAM_H__ |
diff --git a/arch/powerpc/include/asm/hmi.h b/arch/powerpc/include/asm/hmi.h index 9c14f7b5c46c..155748460c5d 100644 --- a/arch/powerpc/include/asm/hmi.h +++ b/arch/powerpc/include/asm/hmi.h | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Hypervisor Maintenance Interrupt header file. | 3 | * Hypervisor Maintenance Interrupt header file. |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program. | ||
| 16 | * | ||
| 17 | * Copyright 2015 IBM Corporation | 5 | * Copyright 2015 IBM Corporation |
| 18 | * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 6 | * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> |
| 19 | */ | 7 | */ |
diff --git a/arch/powerpc/include/asm/imc-pmu.h b/arch/powerpc/include/asm/imc-pmu.h index 7c2ef0e42661..4da4fcba0684 100644 --- a/arch/powerpc/include/asm/imc-pmu.h +++ b/arch/powerpc/include/asm/imc-pmu.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | #ifndef __ASM_POWERPC_IMC_PMU_H | 2 | #ifndef __ASM_POWERPC_IMC_PMU_H |
| 2 | #define __ASM_POWERPC_IMC_PMU_H | 3 | #define __ASM_POWERPC_IMC_PMU_H |
| 3 | 4 | ||
| @@ -7,11 +8,6 @@ | |||
| 7 | * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation. | 8 | * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation. |
| 8 | * (C) 2017 Anju T Sudhakar, IBM Corporation. | 9 | * (C) 2017 Anju T Sudhakar, IBM Corporation. |
| 9 | * (C) 2017 Hemant K Shaw, IBM Corporation. | 10 | * (C) 2017 Hemant K Shaw, IBM Corporation. |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or | ||
| 12 | * modify it under the terms of the GNU General Public License | ||
| 13 | * as published by the Free Software Foundation; either version | ||
| 14 | * 2 of the License, or later version. | ||
| 15 | */ | 11 | */ |
| 16 | 12 | ||
| 17 | #include <linux/perf_event.h> | 13 | #include <linux/perf_event.h> |
diff --git a/arch/powerpc/include/asm/io-workarounds.h b/arch/powerpc/include/asm/io-workarounds.h index f96dd096ff4e..01567ea4ceaf 100644 --- a/arch/powerpc/include/asm/io-workarounds.h +++ b/arch/powerpc/include/asm/io-workarounds.h | |||
| @@ -1,21 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Support PCI IO workaround | 3 | * Support PCI IO workaround |
| 3 | * | 4 | * |
| 4 | * (C) Copyright 2007-2008 TOSHIBA CORPORATION | 5 | * (C) Copyright 2007-2008 TOSHIBA CORPORATION |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along | ||
| 17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 19 | */ | 6 | */ |
| 20 | 7 | ||
| 21 | #ifndef _IO_WORKAROUNDS_H | 8 | #ifndef _IO_WORKAROUNDS_H |
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 013c76a0a03e..d10df677c452 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h | |||
| @@ -309,6 +309,7 @@ struct kvm_arch { | |||
| 309 | #ifdef CONFIG_PPC_BOOK3S_64 | 309 | #ifdef CONFIG_PPC_BOOK3S_64 |
| 310 | struct list_head spapr_tce_tables; | 310 | struct list_head spapr_tce_tables; |
| 311 | struct list_head rtas_tokens; | 311 | struct list_head rtas_tokens; |
| 312 | struct mutex rtas_token_lock; | ||
| 312 | DECLARE_BITMAP(enabled_hcalls, MAX_HCALL_OPCODE/4 + 1); | 313 | DECLARE_BITMAP(enabled_hcalls, MAX_HCALL_OPCODE/4 + 1); |
| 313 | #endif | 314 | #endif |
| 314 | #ifdef CONFIG_KVM_MPIC | 315 | #ifdef CONFIG_KVM_MPIC |
| @@ -325,6 +326,7 @@ struct kvm_arch { | |||
| 325 | #endif | 326 | #endif |
| 326 | struct kvmppc_ops *kvm_ops; | 327 | struct kvmppc_ops *kvm_ops; |
| 327 | #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE | 328 | #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE |
| 329 | struct mutex mmu_setup_lock; /* nests inside vcpu mutexes */ | ||
| 328 | u64 l1_ptcr; | 330 | u64 l1_ptcr; |
| 329 | int max_nested_lpid; | 331 | int max_nested_lpid; |
| 330 | struct kvm_nested_guest *nested_guests[KVM_MAX_NESTED_GUESTS]; | 332 | struct kvm_nested_guest *nested_guests[KVM_MAX_NESTED_GUESTS]; |
diff --git a/arch/powerpc/include/asm/livepatch.h b/arch/powerpc/include/asm/livepatch.h index c005aee5ea43..4a3d5d25fed5 100644 --- a/arch/powerpc/include/asm/livepatch.h +++ b/arch/powerpc/include/asm/livepatch.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * livepatch.h - powerpc-specific Kernel Live Patching Core | 3 | * livepatch.h - powerpc-specific Kernel Live Patching Core |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2015-2016, SUSE, IBM Corp. | 5 | * Copyright (C) 2015-2016, SUSE, IBM Corp. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | #ifndef _ASM_POWERPC_LIVEPATCH_H | 7 | #ifndef _ASM_POWERPC_LIVEPATCH_H |
| 20 | #define _ASM_POWERPC_LIVEPATCH_H | 8 | #define _ASM_POWERPC_LIVEPATCH_H |
diff --git a/arch/powerpc/include/asm/mpc5xxx.h b/arch/powerpc/include/asm/mpc5xxx.h index 5ce9c5fa434a..2f60f5c5461b 100644 --- a/arch/powerpc/include/asm/mpc5xxx.h +++ b/arch/powerpc/include/asm/mpc5xxx.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. | 3 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. |
| 3 | * | 4 | * |
| @@ -5,12 +6,6 @@ | |||
| 5 | * | 6 | * |
| 6 | * Description: | 7 | * Description: |
| 7 | * MPC5xxx Prototypes and definitions | 8 | * MPC5xxx Prototypes and definitions |
| 8 | * | ||
| 9 | * This is free software; you can redistribute it and/or modify it | ||
| 10 | * under the terms of the GNU General Public License as published by | ||
| 11 | * the Free Software Foundation; either version 2 of the License, or | ||
| 12 | * (at your option) any later version. | ||
| 13 | * | ||
| 14 | */ | 9 | */ |
| 15 | 10 | ||
| 16 | #ifndef __ASM_POWERPC_MPC5xxx_H__ | 11 | #ifndef __ASM_POWERPC_MPC5xxx_H__ |
diff --git a/arch/powerpc/include/asm/mpc85xx.h b/arch/powerpc/include/asm/mpc85xx.h index 213f3a81593d..21aabc323015 100644 --- a/arch/powerpc/include/asm/mpc85xx.h +++ b/arch/powerpc/include/asm/mpc85xx.h | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * MPC85xx cpu type detection | 3 | * MPC85xx cpu type detection |
| 3 | * | 4 | * |
| 4 | * Copyright 2011-2012 Freescale Semiconductor, Inc. | 5 | * Copyright 2011-2012 Freescale Semiconductor, Inc. |
| 5 | * | ||
| 6 | * This is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #ifndef __ASM_PPC_MPC85XX_H | 8 | #ifndef __ASM_PPC_MPC85XX_H |
diff --git a/arch/powerpc/include/asm/ppc4xx.h b/arch/powerpc/include/asm/ppc4xx.h index 610a5119ad8c..b37119e48543 100644 --- a/arch/powerpc/include/asm/ppc4xx.h +++ b/arch/powerpc/include/asm/ppc4xx.h | |||
| @@ -1,13 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * PPC4xx Prototypes and definitions | 3 | * PPC4xx Prototypes and definitions |
| 3 | * | 4 | * |
| 4 | * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de> | 5 | * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de> |
| 5 | * | ||
| 6 | * This is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | */ | 6 | */ |
| 12 | 7 | ||
| 13 | #ifndef __ASM_POWERPC_PPC4xx_H__ | 8 | #ifndef __ASM_POWERPC_PPC4xx_H__ |
