From nobody Tue Jun 30 13:08:08 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AE72C433EF for ; Mon, 17 Jan 2022 06:41:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234843AbiAQGlw (ORCPT ); Mon, 17 Jan 2022 01:41:52 -0500 Received: from mail-eopbgr90040.outbound.protection.outlook.com ([40.107.9.40]:18372 "EHLO FRA01-MR2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234820AbiAQGlu (ORCPT ); Mon, 17 Jan 2022 01:41:50 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C/NgRkCsWEebVGNyg+zDanY+kEKU8xqKghZacK5LRTwyBR0c61ciM+vpViJkhO6lJykNK3Q8vvPGbJfpOrCG4uNpclocaGMOI05ALfoI8/HDnI9LUg8mxzAUpqSkf4Y177ZaZIMPSqEDEvR+xua9I49x8OtrupvqHVFrWTx2nlqKV4uIbVGlz8aFcED95s61ZjrZFvCgogS2K+kK/t8uOmjI4FvbkYd/sY6nuYph73awStIYUOA550ACvHxPhECuwrZGeIZDGAxI9POK7XaJS3gW9+GOjSNtZb0vkELTfGXnxT0KmXBvY/07pg6DpoWrzzWkHxdQF/Lp9LCkQB0NcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mZMQKX8xCoMehh+tUBGDa6QPMa9xQ3qcN3aHdNxgqWU=; b=QCqpchZy8FKTbVo8jKxslw9kkxEyUeQsmq84lSfJhd9pDpxLVY6ZOWs9ldd1VcqGQiV11wXpRz/LAXigz1QkM8thd7LXoGhHXJ9uBsaJKrB8XOJqSmpka6i9RY2GsGmjidr+XQoNMTHtNNv73jNO/O16+gMnWUfiK5n4vkhoC1Bhh+SxUUAz4SFohE1riYqEMkaf/Raq6hP16zPxWPwKeOJrLCoU2AGWtFDLBomWJVxqzc5ofRn4XhT+SptU4uY3k/qg4nuRMaeNncjh7Ipy/bKcTkMNUCg7Fp381hbi8O0F6XelMZ7H2qfs/ymN2ymRzaK/YbDpBaFKtFT+utQYqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=csgroup.eu; dmarc=pass action=none header.from=csgroup.eu; dkim=pass header.d=csgroup.eu; arc=none Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:31::15) by MRZP264MB2168.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.11; Mon, 17 Jan 2022 06:41:45 +0000 Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::9d4f:1090:9b36:3fc5]) by MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::9d4f:1090:9b36:3fc5%5]) with mapi id 15.20.4888.013; Mon, 17 Jan 2022 06:41:45 +0000 From: Christophe Leroy To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman CC: Christophe Leroy , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , Thomas Gleixner , Greg Kroah-Hartman , "linux-spdx@vger.kernel.org" Subject: [PATCH v2] powerpc: Add missing SPDX license identifiers Thread-Topic: [PATCH v2] powerpc: Add missing SPDX license identifiers Thread-Index: AQHYC21LmQgf7/8ga0qik3WguYsU/g== Date: Mon, 17 Jan 2022 06:41:45 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=csgroup.eu; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 90449240-d763-4836-1550-08d9d9846e1b x-ms-traffictypediagnostic: MRZP264MB2168:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:849; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KfU+mcHJ4lQIuOyRuNQJ1qg1uMEUu0TvrXZ2HW+jiAlv+UUTdFAGe6+slQVc2/QyTNT6Raq16KZI3+k+DBATg/wfEWBwkQo9brU+4SdbgIIDT50hOK2XTFjAF1pDoSO41d/px8TCiY0DJPDzRcmhin1Xdhg6E8xjq+XDWoYivCu/6rfRTA3nSQhxnJFBfltz6Y+Ixn/yd24l0aWAipBpSmeChVHM6UN/uXRf2msJZz73ajAXo518b0XPE9kDpkXs+X4oNEiA17Gz+yXwx632c56uEP5nptH3eKOomW8U5ZHBV1RTcjLJIbQxTGxSkQu3aA9ii7Wr6VaAGuPGRmdd/+L421TNDxUaf2X9vVFQZ3vP/IH0CnTGW3DguVOCMFeCElJhx4ps4WWEC9xSHQVwtO4bxxPuGdb6qwQoGU7juOGXJuqLoKqrN4xbXq39BT9NzJi0sINE8bRK17meNyBjVROmuBjEowNrTxqgrVkJkDxKpRfi6VAMf3/dVTk8ODgXfeHnzsTapBx9tFoKrM1XmLwNZht18ctXMOybfJXoW6or2kZema0+K5XzxennTkgwljfdcOSppWUTOYv03Ff4OTtjADQPxUyW2VkcT29kKSIJrgwCDeYJAAswBeoqPS30OZL3PXtJ7GCLbw/6AWtLBCDeAEfQEtiMHhHYxBKjoIwUrbHIgrZtYjQUPL76XJdo5ElSRzfwD2Tj0+lIUl/ECFCeocZsN7nzm2dywJoUbF4= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(4636009)(366004)(38070700005)(38100700002)(4326008)(186003)(8676002)(86362001)(122000001)(44832011)(110136005)(6506007)(54906003)(2906002)(5660300002)(6512007)(316002)(8936002)(76116006)(91956017)(26005)(2616005)(83380400001)(36756003)(71200400001)(66476007)(30864003)(66556008)(64756008)(66446008)(508600001)(6486002)(66946007)(2004002)(579004)(559001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WkNZZDVCQXlzMDVqNktvWSt2bWNYY0piMW10ZkVacDI2Ukk5bldiZUtoZm51?= =?utf-8?B?c2ZpWWpVejlGWVcxWDhzUytUNEpRdHFET3FXV0tKOGhxaU9RTFltc0tENkNP?= =?utf-8?B?ZTRIdDBXbzBSMFlMbHJsdmlncytMeDB0ZmpSVW80dlhUZHVsZ0FQZFJHRVVB?= =?utf-8?B?SU9vdHI5eGRqSnRrM1k1TXdOaUcydkVhdmtKa09VQkFydmsrbndiTDJOcmZC?= =?utf-8?B?ak84R1hTMzVpOW10MWM0UERBTlBTT1FsQnF5WDVXZ0lWSGFYWDJiMVlkKzdN?= =?utf-8?B?dzRzMEVsazhLRllyY1JuczBVOTBLdEF6N3Q4NElaN2I2eXdLL29ieFAvbjRr?= =?utf-8?B?SUx4bmtNcHVuaU1qeGFOVFZVQnJXVlhUNllnSHArMFpvMGJJKzJSdzMzb09p?= =?utf-8?B?dmNIRTJOWVBJYitLSU5LVTNYT3V0clNvV0hSbVR5TVFFTHlmVi9rOFZ5dXI0?= =?utf-8?B?ZkZlWUxrMGwzdFhZZkw2Mnp1NkREbk9Pckd5SjVwdlpLWDVma1ZFdTdGdk44?= =?utf-8?B?Z0ROc3g0R1RsYUxxNDNUTTJhSGR2ZnZEZHRBRWQ4Wm90Y1RzQWdsdm5QbVNE?= =?utf-8?B?MEtQNEdNcURvRnJPNC82UE5LTWkwMkNOQWVZakZSSHdKWE43eWRxak9mRTJq?= =?utf-8?B?b1REd3VmOVNHb1MxbE9aYTFPeVB2L3dMNjlhdzdRSnRjUHpTYytLekdkejhN?= =?utf-8?B?QmpreEUrbTMreDJwdkFLUDZYaTJtUlFWajA0ZktJSXBmWTI2czBXRWlLbTY2?= =?utf-8?B?OERXbE5JbnN3NGlHeXVmSEJxUkdPVEdBSjBFQkkxODFPN2lhZTBXMCtSQzRk?= =?utf-8?B?eDNpU2lXWUxYd3pHemg5T3dGNG11STNSVzRIa3o1ZFZZTDcybHlQcjdzQUZH?= =?utf-8?B?STVCZVI3aXhaOUlSR0xINEtYWFJZRDNqYytVM0ZieFpKaGhiOGVudWUyWHIz?= =?utf-8?B?Z2hSVi9ERENvL01URzFJNVNCWUQ2ZnBBUm5LcGdqeGhUeXlFWWNQSDN5NE1P?= =?utf-8?B?aEJZczdkQUlpa3dIbjRJZ2NlUk9hd0FRN0JuYjNkVXVIalVsVlNUY2tJcGtR?= =?utf-8?B?QjVUdmZTbnhIL3lYSTg5SzYxM082emx6NkhWeEt4bDRQVzNMZ21JWU04ZlAv?= =?utf-8?B?ODRRTStHZy9HRVpKRHExTkRPWVZkUm5tUEREcERqK0hFeXBCY3VOeG04dURz?= =?utf-8?B?RWxGeFBEZlM3T3RjRW5tRGhWSStZNzZZc3NiYUI2RGtzNDN0bGQ4aDJLZ0JQ?= =?utf-8?B?d2xBT0hjcmUyeW41ZWp5a3ZTRGE1VVEwdFN0Y1hZSG1XcEVWdjh6empQOHNv?= =?utf-8?B?cEFISFREVENycU15bWtGa2NJdDI5QWN6SWhpMFlCVmdPeTdlVExONEZ5Mk5V?= =?utf-8?B?b09VQ1VuUGxFaWJXem1OQVZpS0QvdC9OMXRYVWYxeXRFL3ZJS3VORVBUVHFK?= =?utf-8?B?WlB5QWFwNmZUV1EwZzY0TmVvR0Y1dmt3N2huY3hLeWV3c091UGYrcXFqaHpJ?= =?utf-8?B?QWVqRU01N2hXT2lJMytFZmhLSTFNUHhkTnE2ZTZvQUpNUjVBRVRWYzdXQ2dp?= =?utf-8?B?djdhQlV3Q0xkdmJBVWo1OWJHRlZTVjhya2JUMlJEeGdZVUdTT05iMmg5L2tV?= =?utf-8?B?TFlUUUkvNithRnpjblhOaTg1NUlub2pPTWVFc21hNlpoNStmaVBhMXN2ZHQ2?= =?utf-8?B?M1ErRy9OSTZZajhCR09SdjZzb2I4YnlDaFNXenFYeGFLQURkSUFCSktWWFd5?= =?utf-8?B?YU5EdDdPTjlaSG0zaXduN09UNnNNRWdXQVNaVlQyNlpERTZtL1dFYWVMMTVz?= =?utf-8?B?ZFhma01MZzRlL0YxYmV4L2VvY1BJK2tPTTYxV0M0UlBqVGsrdFVERWN5Y0pJ?= =?utf-8?B?TFBUdXRzRlo2YmEwaFFBaFg3T1NRUThoNHRrVzB3VlhEejROV2ZGQmwrVUQx?= =?utf-8?B?QnhzSnpZaytBT0dKRVZWL2ZRcmZJaDNzMTZScXRMVWplblJYMHN0OFJoWVJU?= =?utf-8?B?WmNYNnVCdXhHeHkwQk1ZM2hlNlVFOEVoTU1hT1pOTyttK1hlU29QQ2k1ZWlB?= =?utf-8?B?T1cxeDh1U0hEQW0yYkppOFZSczVpRXBUWE9VM3c0ZmtySEFnTmZuRDYxRURz?= =?utf-8?B?ZXozUFRkNmZVMWFsbWo4VVRibm44ZDdvS2FhbDRTeTV0Vk51Y1dUd3Nhc2Js?= =?utf-8?B?NFlpbzU1RmlwS3FZbnV1WlFNS3JsUDhpdmlaeHpmRzJCQTZnNmR5WFFRVTdY?= =?utf-8?Q?Ftgm6mayuCzJGc/NZRKo88whGiQ6asOLZTCsDKNLQc=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: csgroup.eu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 90449240-d763-4836-1550-08d9d9846e1b X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2022 06:41:45.4565 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9914def7-b676-4fda-8815-5d49fb3b45c8 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: H6LFVTsB4+VKoBrs8vnQtV5f9Kxm7fgsSoxoIesfL+DDA3Rip/7Fgge2vcDSkwUfjrOYfbJR9/NwUuMzLCZBeOkdLeEB7uMKHa+SbSu4lVk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MRZP264MB2168 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Several files are missing SPDX license identifiers. Following files are given the following SPDX identifier based on the commen= ts in the top of the file: boot/crtsavres.S:/* SPDX-License-Identifier: GPL-2.0+ */ include/asm/epapr_hcalls.h:/* SPDX-License-Identifier: GPL-2.0+ OR BSD */ include/asm/fsl_hcalls.h:/* SPDX-License-Identifier: GPL-2.0+ OR BSD */ include/asm/ibmebus.h:/* SPDX-License-Identifier: GPL-2.0 OR OpenIB BSD */ include/asm/sfp-machine.h:/* SPDX-License-Identifier: LGPL-2.0+ */ kvm/mpic.c:// SPDX-License-Identifier: GPL-2.0 lib/crtsavres.S:/* SPDX-License-Identifier: GPL-2.0+ */ mm/book3s64/hash_4k.c:// SPDX-License-Identifier: LGPL-2.0 mm/book3s64/hash_64k.c:// SPDX-License-Identifier: LGPL-2.0 mm/book3s64/hash_hugepage.c:// SPDX-License-Identifier: LGPL-2.1 platforms/pseries/ibmebus.c:// SPDX-License-Identifier: GPL-2.0 OR OpenIB = BSD tools/head_check.sh:# SPDX-License-Identifier: GPL-2.0+ xmon/ppc.h:/* SPDX-License-Identifier: GPL-1.0+ */ Add to other files the default kernel license identifier, in extenso GPL-2.= 0. DTS files are handled in a separate commit. Signed-off-by: Christophe Leroy Cc: Thomas Gleixner Cc: Greg Kroah-Hartman Cc: linux-spdx@vger.kernel.org --- v2: Changed from GPL-2.0 to a licence consistant with the file's comments f= or the few files listed in the commit message. --- arch/powerpc/Makefile | 1 + arch/powerpc/boot/44x.h | 1 + arch/powerpc/boot/4xx.h | 1 + arch/powerpc/boot/crtsavres.S | 1 + arch/powerpc/boot/dummy.c | 1 + arch/powerpc/boot/install.sh | 1 + arch/powerpc/boot/ops.h | 1 + arch/powerpc/boot/serial.c | 1 + arch/powerpc/boot/simple_alloc.c | 1 + arch/powerpc/include/asm/8xx_immap.h | 1 + arch/powerpc/include/asm/asm-compat.h | 1 + arch/powerpc/include/asm/asm-const.h | 1 + arch/powerpc/include/asm/asm-offsets.h | 1 + arch/powerpc/include/asm/cpm.h | 1 + arch/powerpc/include/asm/dtl.h | 1 + arch/powerpc/include/asm/edac.h | 1 + arch/powerpc/include/asm/ehv_pic.h | 1 + arch/powerpc/include/asm/emergency-restart.h | 1 + arch/powerpc/include/asm/epapr_hcalls.h | 1 + arch/powerpc/include/asm/fixmap.h | 1 + arch/powerpc/include/asm/floppy.h | 1 + arch/powerpc/include/asm/fs_pd.h | 1 + arch/powerpc/include/asm/fsl_hcalls.h | 1 + arch/powerpc/include/asm/hydra.h | 1 + arch/powerpc/include/asm/ibmebus.h | 1 + arch/powerpc/include/asm/kgdb.h | 1 + arch/powerpc/include/asm/membarrier.h | 1 + arch/powerpc/include/asm/module.lds.h | 1 + arch/powerpc/include/asm/mpc52xx.h | 1 + arch/powerpc/include/asm/mpc52xx_psc.h | 1 + arch/powerpc/include/asm/pmac_feature.h | 1 + arch/powerpc/include/asm/ppc_asm.h | 1 + arch/powerpc/include/asm/pte-walk.h | 1 + arch/powerpc/include/asm/rheap.h | 1 + arch/powerpc/include/asm/sfp-machine.h | 1 + arch/powerpc/include/asm/vmalloc.h | 1 + arch/powerpc/include/asm/word-at-a-time.h | 1 + arch/powerpc/kernel/interrupt_64.S | 1 + arch/powerpc/kernel/kgdb.c | 1 + arch/powerpc/kernel/ptrace/ptrace.c | 1 + arch/powerpc/kernel/ptrace/ptrace32.c | 1 + arch/powerpc/kernel/signal.c | 1 + arch/powerpc/kernel/signal.h | 1 + arch/powerpc/kernel/vdso32/note.S | 1 + arch/powerpc/kernel/vdso64/note.S | 1 + arch/powerpc/kvm/mpic.c | 1 + arch/powerpc/lib/crtsavres.S | 1 + arch/powerpc/lib/restart_table.c | 1 + arch/powerpc/lib/rheap.c | 1 + arch/powerpc/mm/book3s64/hash_4k.c | 1 + arch/powerpc/mm/book3s64/hash_64k.c | 1 + arch/powerpc/mm/book3s64/hash_hugepage.c | 1 + arch/powerpc/mm/hugetlbpage.c | 1 + arch/powerpc/perf/req-gen/_end.h | 1 + arch/powerpc/platforms/44x/fsp2.h | 1 + arch/powerpc/platforms/4xx/pci.c | 1 + arch/powerpc/platforms/4xx/pci.h | 1 + arch/powerpc/platforms/52xx/efika.c | 1 + arch/powerpc/platforms/52xx/mpc52xx_common.c | 1 + arch/powerpc/platforms/52xx/mpc52xx_pci.c | 1 + arch/powerpc/platforms/52xx/mpc52xx_pic.c | 1 + arch/powerpc/platforms/85xx/ksi8560.c | 1 + arch/powerpc/platforms/85xx/p1022_ds.c | 1 + arch/powerpc/platforms/85xx/p1022_rdk.c | 1 + arch/powerpc/platforms/8xx/ep88xc.c | 1 + arch/powerpc/platforms/8xx/mpc86xads.h | 1 + arch/powerpc/platforms/8xx/mpc86xads_setup.c | 1 + arch/powerpc/platforms/8xx/mpc885ads.h | 1 + arch/powerpc/platforms/8xx/mpc885ads_setup.c | 1 + arch/powerpc/platforms/8xx/mpc8xx.h | 1 + arch/powerpc/platforms/8xx/pic.c | 1 + arch/powerpc/platforms/8xx/pic.h | 1 + arch/powerpc/platforms/8xx/tqm8xx_setup.c | 1 + arch/powerpc/platforms/cell/spufs/spu_restore_dump.h_shipped | 1 + arch/powerpc/platforms/cell/spufs/spu_save_dump.h_shipped | 1 + arch/powerpc/platforms/chrp/gg2.h | 1 + arch/powerpc/platforms/embedded6xx/linkstation.c | 1 + arch/powerpc/platforms/embedded6xx/ls_uart.c | 1 + arch/powerpc/platforms/embedded6xx/mpc10x.h | 1 + arch/powerpc/platforms/embedded6xx/storcenter.c | 1 + arch/powerpc/platforms/microwatt/Makefile | 1 + arch/powerpc/platforms/microwatt/setup.c | 1 + arch/powerpc/platforms/pseries/ibmebus.c | 1 + arch/powerpc/sysdev/cpm2.c | 1 + arch/powerpc/sysdev/cpm2_pic.c | 1 + arch/powerpc/sysdev/ehv_pic.c | 1 + arch/powerpc/sysdev/ge/ge_pic.c | 1 + arch/powerpc/sysdev/mpic.c | 1 + arch/powerpc/sysdev/rtc_cmos_setup.c | 1 + arch/powerpc/tools/ci-build.sh | 1 + arch/powerpc/tools/head_check.sh | 1 + arch/powerpc/xmon/ppc.h | 1 + 92 files changed, 92 insertions(+) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 5f16ac1583c5..b0298c5a78d3 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # This file is included by the global makefile so that you can add your own # architecture-specific flags and dependencies. # diff --git a/arch/powerpc/boot/44x.h b/arch/powerpc/boot/44x.h index 02563443788a..16a4c47c8c41 100644 --- a/arch/powerpc/boot/44x.h +++ b/arch/powerpc/boot/44x.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * PowerPC 44x related functions * diff --git a/arch/powerpc/boot/4xx.h b/arch/powerpc/boot/4xx.h index 7dc5d45361bc..f13267f67155 100644 --- a/arch/powerpc/boot/4xx.h +++ b/arch/powerpc/boot/4xx.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * PowerPC 4xx related functions * diff --git a/arch/powerpc/boot/crtsavres.S b/arch/powerpc/boot/crtsavres.S index 085fb2b9a8b8..a39fabab50f4 100644 --- a/arch/powerpc/boot/crtsavres.S +++ b/arch/powerpc/boot/crtsavres.S @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Special support for eabi and SVR4 * diff --git a/arch/powerpc/boot/dummy.c b/arch/powerpc/boot/dummy.c index 31dbf45bf99c..3f9ccbf52783 100644 --- a/arch/powerpc/boot/dummy.c +++ b/arch/powerpc/boot/dummy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 int main(void) { return 0; diff --git a/arch/powerpc/boot/install.sh b/arch/powerpc/boot/install.sh index 14473150ddb4..62479150e772 100644 --- a/arch/powerpc/boot/install.sh +++ b/arch/powerpc/boot/install.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0 # # This file is subject to the terms and conditions of the GNU General Publ= ic # License. See the file "COPYING" in the main directory of this archive diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h index 6455fc9a244f..eafdb44bb6ed 100644 --- a/arch/powerpc/boot/ops.h +++ b/arch/powerpc/boot/ops.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Global definition of all the bootwrapper operations. * diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c index 54d2522be485..8aebbeda735c 100644 --- a/arch/powerpc/boot/serial.c +++ b/arch/powerpc/boot/serial.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Generic serial console support * diff --git a/arch/powerpc/boot/simple_alloc.c b/arch/powerpc/boot/simple_al= loc.c index 65ec135d0157..5b3c2fb16860 100644 --- a/arch/powerpc/boot/simple_alloc.c +++ b/arch/powerpc/boot/simple_alloc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Implement primitive realloc(3) functionality. * diff --git a/arch/powerpc/include/asm/8xx_immap.h b/arch/powerpc/include/as= m/8xx_immap.h index bdf0563ba423..0cd91d52e3fd 100644 --- a/arch/powerpc/include/asm/8xx_immap.h +++ b/arch/powerpc/include/asm/8xx_immap.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * MPC8xx Internal Memory Map * Copyright (c) 1997 Dan Malek (dmalek@jlc.net) diff --git a/arch/powerpc/include/asm/asm-compat.h b/arch/powerpc/include/a= sm/asm-compat.h index 2b736d9fbb1b..a6cdaf40d7b4 100644 --- a/arch/powerpc/include/asm/asm-compat.h +++ b/arch/powerpc/include/asm/asm-compat.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_ASM_COMPAT_H #define _ASM_POWERPC_ASM_COMPAT_H =20 diff --git a/arch/powerpc/include/asm/asm-const.h b/arch/powerpc/include/as= m/asm-const.h index bfb3c3534877..922ba500c3f2 100644 --- a/arch/powerpc/include/asm/asm-const.h +++ b/arch/powerpc/include/asm/asm-const.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_ASM_CONST_H #define _ASM_POWERPC_ASM_CONST_H =20 diff --git a/arch/powerpc/include/asm/asm-offsets.h b/arch/powerpc/include/= asm/asm-offsets.h index d370ee36a182..9f8535716392 100644 --- a/arch/powerpc/include/asm/asm-offsets.h +++ b/arch/powerpc/include/asm/asm-offsets.h @@ -1 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include diff --git a/arch/powerpc/include/asm/cpm.h b/arch/powerpc/include/asm/cpm.h index ce483b0f8a4d..475781aa71c5 100644 --- a/arch/powerpc/include/asm/cpm.h +++ b/arch/powerpc/include/asm/cpm.h @@ -1 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include diff --git a/arch/powerpc/include/asm/dtl.h b/arch/powerpc/include/asm/dtl.h index 1625888f27ef..1368c2963dfd 100644 --- a/arch/powerpc/include/asm/dtl.h +++ b/arch/powerpc/include/asm/dtl.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_DTL_H #define _ASM_POWERPC_DTL_H =20 diff --git a/arch/powerpc/include/asm/edac.h b/arch/powerpc/include/asm/eda= c.h index 5571e23d253e..d10e4ea565bb 100644 --- a/arch/powerpc/include/asm/edac.h +++ b/arch/powerpc/include/asm/edac.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * PPC EDAC common defs * diff --git a/arch/powerpc/include/asm/ehv_pic.h b/arch/powerpc/include/asm/= ehv_pic.h index dc7d48e3ea90..fecf32db2014 100644 --- a/arch/powerpc/include/asm/ehv_pic.h +++ b/arch/powerpc/include/asm/ehv_pic.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * EHV_PIC private definitions and structure. * diff --git a/arch/powerpc/include/asm/emergency-restart.h b/arch/powerpc/in= clude/asm/emergency-restart.h index 3711bd9d50bd..ba702050dced 100644 --- a/arch/powerpc/include/asm/emergency-restart.h +++ b/arch/powerpc/include/asm/emergency-restart.h @@ -1 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include diff --git a/arch/powerpc/include/asm/epapr_hcalls.h b/arch/powerpc/include= /asm/epapr_hcalls.h index c99ba08a408d..a53c5c3873a0 100644 --- a/arch/powerpc/include/asm/epapr_hcalls.h +++ b/arch/powerpc/include/asm/epapr_hcalls.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD */ /* * ePAPR hcall interface * diff --git a/arch/powerpc/include/asm/fixmap.h b/arch/powerpc/include/asm/f= ixmap.h index 947b5b9c4424..62d1ba66ea7d 100644 --- a/arch/powerpc/include/asm/fixmap.h +++ b/arch/powerpc/include/asm/fixmap.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * fixmap.h: compile-time virtual memory allocation * diff --git a/arch/powerpc/include/asm/floppy.h b/arch/powerpc/include/asm/f= loppy.h index f8ce178b43b7..d84e3ef8ed4b 100644 --- a/arch/powerpc/include/asm/floppy.h +++ b/arch/powerpc/include/asm/floppy.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Architecture specific parts of the Floppy driver * diff --git a/arch/powerpc/include/asm/fs_pd.h b/arch/powerpc/include/asm/fs= _pd.h index 8def56ec05c6..ae13bdea65d5 100644 --- a/arch/powerpc/include/asm/fs_pd.h +++ b/arch/powerpc/include/asm/fs_pd.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Platform information definitions. * diff --git a/arch/powerpc/include/asm/fsl_hcalls.h b/arch/powerpc/include/a= sm/fsl_hcalls.h index b889d13547fd..6b3808c744a1 100644 --- a/arch/powerpc/include/asm/fsl_hcalls.h +++ b/arch/powerpc/include/asm/fsl_hcalls.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD */ /* * Freescale hypervisor call interface * diff --git a/arch/powerpc/include/asm/hydra.h b/arch/powerpc/include/asm/hy= dra.h index d024447283a0..94cce3047058 100644 --- a/arch/powerpc/include/asm/hydra.h +++ b/arch/powerpc/include/asm/hydra.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-ppc/hydra.h -- Mac I/O `Hydra' definitions * diff --git a/arch/powerpc/include/asm/ibmebus.h b/arch/powerpc/include/asm/= ibmebus.h index 088f95b2e14f..016add86faae 100644 --- a/arch/powerpc/include/asm/ibmebus.h +++ b/arch/powerpc/include/asm/ibmebus.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR OpenIB BSD */ /* * IBM PowerPC eBus Infrastructure Support. * diff --git a/arch/powerpc/include/asm/kgdb.h b/arch/powerpc/include/asm/kgd= b.h index a9e098a3b881..28bf91f99f34 100644 --- a/arch/powerpc/include/asm/kgdb.h +++ b/arch/powerpc/include/asm/kgdb.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * The PowerPC (32/64) specific defines / externs for KGDB. Based on * the previous 32bit and 64bit specific files, which had the following diff --git a/arch/powerpc/include/asm/membarrier.h b/arch/powerpc/include/a= sm/membarrier.h index de7f79157918..012bba812c3a 100644 --- a/arch/powerpc/include/asm/membarrier.h +++ b/arch/powerpc/include/asm/membarrier.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_MEMBARRIER_H #define _ASM_POWERPC_MEMBARRIER_H =20 diff --git a/arch/powerpc/include/asm/module.lds.h b/arch/powerpc/include/a= sm/module.lds.h index cea5dc124be4..a4dd672e8c6a 100644 --- a/arch/powerpc/include/asm/module.lds.h +++ b/arch/powerpc/include/asm/module.lds.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* Force alignment of .toc section. */ SECTIONS { diff --git a/arch/powerpc/include/asm/mpc52xx.h b/arch/powerpc/include/asm/= mpc52xx.h index ce1e0aabaa64..604d6c3651e8 100644 --- a/arch/powerpc/include/asm/mpc52xx.h +++ b/arch/powerpc/include/asm/mpc52xx.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Prototypes, etc. for the Freescale MPC52xx embedded cpu chips * May need to be cleaned as the port goes on ... diff --git a/arch/powerpc/include/asm/mpc52xx_psc.h b/arch/powerpc/include/= asm/mpc52xx_psc.h index ec995b289280..d42245686250 100644 --- a/arch/powerpc/include/asm/mpc52xx_psc.h +++ b/arch/powerpc/include/asm/mpc52xx_psc.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-ppc/mpc52xx_psc.h * diff --git a/arch/powerpc/include/asm/pmac_feature.h b/arch/powerpc/include= /asm/pmac_feature.h index e08e829261b6..5fe92ff953b1 100644 --- a/arch/powerpc/include/asm/pmac_feature.h +++ b/arch/powerpc/include/asm/pmac_feature.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Definition of platform feature hooks for PowerMacs * diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/= ppc_asm.h index 3c06a33b5da4..d9c6f12e6d3e 100644 --- a/arch/powerpc/include/asm/ppc_asm.h +++ b/arch/powerpc/include/asm/ppc_asm.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1995-1999 Gary Thomas, Paul Mackerras, Cort Dougan. */ diff --git a/arch/powerpc/include/asm/pte-walk.h b/arch/powerpc/include/asm= /pte-walk.h index 714a35f0d425..dc8bd55e749f 100644 --- a/arch/powerpc/include/asm/pte-walk.h +++ b/arch/powerpc/include/asm/pte-walk.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_PTE_WALK_H #define _ASM_POWERPC_PTE_WALK_H =20 diff --git a/arch/powerpc/include/asm/rheap.h b/arch/powerpc/include/asm/rh= eap.h index 8e83703d6736..cd6455e594e4 100644 --- a/arch/powerpc/include/asm/rheap.h +++ b/arch/powerpc/include/asm/rheap.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-ppc/rheap.h * diff --git a/arch/powerpc/include/asm/sfp-machine.h b/arch/powerpc/include/= asm/sfp-machine.h index 8b957aabb826..777b339b317c 100644 --- a/arch/powerpc/include/asm/sfp-machine.h +++ b/arch/powerpc/include/asm/sfp-machine.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.0+ */ /* Machine-dependent software floating-point definitions. PPC version. Copyright (C) 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/arch/powerpc/include/asm/vmalloc.h b/arch/powerpc/include/asm/= vmalloc.h index 4c69ece52a31..6f8df6b07c8a 100644 --- a/arch/powerpc/include/asm/vmalloc.h +++ b/arch/powerpc/include/asm/vmalloc.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_VMALLOC_H #define _ASM_POWERPC_VMALLOC_H =20 diff --git a/arch/powerpc/include/asm/word-at-a-time.h b/arch/powerpc/inclu= de/asm/word-at-a-time.h index f3f4710d4ff5..96245747720d 100644 --- a/arch/powerpc/include/asm/word-at-a-time.h +++ b/arch/powerpc/include/asm/word-at-a-time.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_WORD_AT_A_TIME_H #define _ASM_WORD_AT_A_TIME_H =20 diff --git a/arch/powerpc/kernel/interrupt_64.S b/arch/powerpc/kernel/inter= rupt_64.S index 92088f848266..46e886c4264b 100644 --- a/arch/powerpc/kernel/interrupt_64.S +++ b/arch/powerpc/kernel/interrupt_64.S @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #ifdef CONFIG_PPC_BOOK3S diff --git a/arch/powerpc/kernel/kgdb.c b/arch/powerpc/kernel/kgdb.c index 9f8d0fa7b718..10d64d54d2a1 100644 --- a/arch/powerpc/kernel/kgdb.c +++ b/arch/powerpc/kernel/kgdb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PowerPC backend to the KGDB stub. * diff --git a/arch/powerpc/kernel/ptrace/ptrace.c b/arch/powerpc/kernel/ptra= ce/ptrace.c index 7c7093c17c45..0be1c76a0e65 100644 --- a/arch/powerpc/kernel/ptrace/ptrace.c +++ b/arch/powerpc/kernel/ptrace/ptrace.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) diff --git a/arch/powerpc/kernel/ptrace/ptrace32.c b/arch/powerpc/kernel/pt= race/ptrace32.c index 19c224808982..adffe6f1e7d8 100644 --- a/arch/powerpc/kernel/ptrace/ptrace32.c +++ b/arch/powerpc/kernel/ptrace/ptrace32.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ptrace for 32-bit processes running on a 64-bit kernel. * diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index b93b87df499d..d541b6e00069 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Common signal handling code for both 32 and 64 bits * diff --git a/arch/powerpc/kernel/signal.h b/arch/powerpc/kernel/signal.h index 618aeccdf691..b2e398dae4fc 100644 --- a/arch/powerpc/kernel/signal.h +++ b/arch/powerpc/kernel/signal.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Corporation * Extracted from signal_32.c and signal_64.c diff --git a/arch/powerpc/kernel/vdso32/note.S b/arch/powerpc/kernel/vdso32= /note.S index 227a7327399e..1698e72d4cbf 100644 --- a/arch/powerpc/kernel/vdso32/note.S +++ b/arch/powerpc/kernel/vdso32/note.S @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This supplies .note.* sections to go into the PT_NOTE inside the vDSO t= ext. * Here we can supply some information useful to userland. diff --git a/arch/powerpc/kernel/vdso64/note.S b/arch/powerpc/kernel/vdso64= /note.S index dc2a509f7e8a..bd1fa23597d6 100644 --- a/arch/powerpc/kernel/vdso64/note.S +++ b/arch/powerpc/kernel/vdso64/note.S @@ -1 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include "../vdso32/note.S" diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index 23e9c2bd9f27..e0982f87150a 100644 --- a/arch/powerpc/kvm/mpic.c +++ b/arch/powerpc/kvm/mpic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OpenPIC emulation * diff --git a/arch/powerpc/lib/crtsavres.S b/arch/powerpc/lib/crtsavres.S index 7e5e1c28e56a..02f4d8fb1f48 100644 --- a/arch/powerpc/lib/crtsavres.S +++ b/arch/powerpc/lib/crtsavres.S @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Special support for eabi and SVR4 * diff --git a/arch/powerpc/lib/restart_table.c b/arch/powerpc/lib/restart_ta= ble.c index bccb662c1b7b..aaf89522d23e 100644 --- a/arch/powerpc/lib/restart_table.c +++ b/arch/powerpc/lib/restart_table.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include #include =20 diff --git a/arch/powerpc/lib/rheap.c b/arch/powerpc/lib/rheap.c index 6aa774aa5b16..4dbe073766bf 100644 --- a/arch/powerpc/lib/rheap.c +++ b/arch/powerpc/lib/rheap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * A Remote Heap. Remote means that we don't touch the memory that the * heap points to. Normal heap implementations use the memory they manage diff --git a/arch/powerpc/mm/book3s64/hash_4k.c b/arch/powerpc/mm/book3s64/= hash_4k.c index 7de1a8a0c62a..f49741c96da6 100644 --- a/arch/powerpc/mm/book3s64/hash_4k.c +++ b/arch/powerpc/mm/book3s64/hash_4k.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-2.0 /* * Copyright IBM Corporation, 2015 * Author Aneesh Kumar K.V diff --git a/arch/powerpc/mm/book3s64/hash_64k.c b/arch/powerpc/mm/book3s64= /hash_64k.c index 998c6817ed47..17d8b1e8d183 100644 --- a/arch/powerpc/mm/book3s64/hash_64k.c +++ b/arch/powerpc/mm/book3s64/hash_64k.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-2.0 /* * Copyright IBM Corporation, 2015 * Author Aneesh Kumar K.V diff --git a/arch/powerpc/mm/book3s64/hash_hugepage.c b/arch/powerpc/mm/boo= k3s64/hash_hugepage.c index c0fabe6c5a12..939a284e0e83 100644 --- a/arch/powerpc/mm/book3s64/hash_hugepage.c +++ b/arch/powerpc/mm/book3s64/hash_hugepage.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-2.1 /* * Copyright IBM Corporation, 2013 * Author Aneesh Kumar K.V diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c index ddead41e2194..5cdd7a587e09 100644 --- a/arch/powerpc/mm/hugetlbpage.c +++ b/arch/powerpc/mm/hugetlbpage.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PPC Huge TLB Page Support for Kernel. * diff --git a/arch/powerpc/perf/req-gen/_end.h b/arch/powerpc/perf/req-gen/_= end.h index 8a406980b6bf..6687fccd3752 100644 --- a/arch/powerpc/perf/req-gen/_end.h +++ b/arch/powerpc/perf/req-gen/_end.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ =20 #undef REQ_GEN_PREFIX #undef REQUEST_BEGIN diff --git a/arch/powerpc/platforms/44x/fsp2.h b/arch/powerpc/platforms/44x= /fsp2.h index 9e1d52754c8b..ae637bf2b58b 100644 --- a/arch/powerpc/platforms/44x/fsp2.h +++ b/arch/powerpc/platforms/44x/fsp2.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_FSP_DCR_H_ #define _ASM_POWERPC_FSP_DCR_H_ #ifdef __KERNEL__ diff --git a/arch/powerpc/platforms/4xx/pci.c b/arch/powerpc/platforms/4xx/= pci.c index 24f41e178cbc..1dabc65d5b3e 100644 --- a/arch/powerpc/platforms/4xx/pci.c +++ b/arch/powerpc/platforms/4xx/pci.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PCI / PCI-X / PCI-Express support for 4xx parts * diff --git a/arch/powerpc/platforms/4xx/pci.h b/arch/powerpc/platforms/4xx/= pci.h index bb4821938ab1..364838cc90ff 100644 --- a/arch/powerpc/platforms/4xx/pci.h +++ b/arch/powerpc/platforms/4xx/pci.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * PCI / PCI-X / PCI-Express support for 4xx parts * diff --git a/arch/powerpc/platforms/52xx/efika.c b/arch/powerpc/platforms/5= 2xx/efika.c index 3b7d70d71692..8a5563ccac30 100644 --- a/arch/powerpc/platforms/52xx/efika.c +++ b/arch/powerpc/platforms/52xx/efika.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Efika 5K2 platform code * Some code really inspired from the lite5200b platform. diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c b/arch/powerpc/pl= atforms/52xx/mpc52xx_common.c index 565e3a83dc9e..15608a2e8d72 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_common.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * * Utility functions for the Freescale MPC52xx. diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pci.c b/arch/powerpc/platf= orms/52xx/mpc52xx_pci.c index af0f79995214..014e6abb10d0 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_pci.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_pci.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PCI code for the Freescale MPC52xx embedded CPU. * diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pic.c b/arch/powerpc/platf= orms/52xx/mpc52xx_pic.c index 76a8102bdb98..3b1b3421de3c 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_pic.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_pic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * * Programmable Interrupt Controller functions for the Freescale MPC52xx. diff --git a/arch/powerpc/platforms/85xx/ksi8560.c b/arch/powerpc/platforms= /85xx/ksi8560.c index 6ef8580fdc0e..8c235d9e876a 100644 --- a/arch/powerpc/platforms/85xx/ksi8560.c +++ b/arch/powerpc/platforms/85xx/ksi8560.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Board setup routines for the Emerson KSI8560 * diff --git a/arch/powerpc/platforms/85xx/p1022_ds.c b/arch/powerpc/platform= s/85xx/p1022_ds.c index 1f1af0557470..4770108d2d32 100644 --- a/arch/powerpc/platforms/85xx/p1022_ds.c +++ b/arch/powerpc/platforms/85xx/p1022_ds.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * P1022DS board specific routines * diff --git a/arch/powerpc/platforms/85xx/p1022_rdk.c b/arch/powerpc/platfor= ms/85xx/p1022_rdk.c index fd9e3e7ef234..ab12a8eb80a8 100644 --- a/arch/powerpc/platforms/85xx/p1022_rdk.c +++ b/arch/powerpc/platforms/85xx/p1022_rdk.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * P1022 RDK board specific routines * diff --git a/arch/powerpc/platforms/8xx/ep88xc.c b/arch/powerpc/platforms/8= xx/ep88xc.c index ebcf34a14789..46daa968aa2d 100644 --- a/arch/powerpc/platforms/8xx/ep88xc.c +++ b/arch/powerpc/platforms/8xx/ep88xc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Platform setup for the Embedded Planet EP88xC board * diff --git a/arch/powerpc/platforms/8xx/mpc86xads.h b/arch/powerpc/platform= s/8xx/mpc86xads.h index 17b1fe75e0b2..fb3ee1fc5709 100644 --- a/arch/powerpc/platforms/8xx/mpc86xads.h +++ b/arch/powerpc/platforms/8xx/mpc86xads.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * A collection of structures, addresses, and values associated with * the Freescale MPC86xADS board. diff --git a/arch/powerpc/platforms/8xx/mpc86xads_setup.c b/arch/powerpc/pl= atforms/8xx/mpc86xads_setup.c index 8d02f5ff4481..3676df5d6e37 100644 --- a/arch/powerpc/platforms/8xx/mpc86xads_setup.c +++ b/arch/powerpc/platforms/8xx/mpc86xads_setup.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /*arch/powerpc/platforms/8xx/mpc86xads_setup.c * * Platform setup for the Freescale mpc86xads board diff --git a/arch/powerpc/platforms/8xx/mpc885ads.h b/arch/powerpc/platform= s/8xx/mpc885ads.h index 19412f76fa3b..c41f98ea1c06 100644 --- a/arch/powerpc/platforms/8xx/mpc885ads.h +++ b/arch/powerpc/platforms/8xx/mpc885ads.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * A collection of structures, addresses, and values associated with * the Freescale MPC885ADS board. diff --git a/arch/powerpc/platforms/8xx/mpc885ads_setup.c b/arch/powerpc/pl= atforms/8xx/mpc885ads_setup.c index a0c83c1905c6..5946f86d38f1 100644 --- a/arch/powerpc/platforms/8xx/mpc885ads_setup.c +++ b/arch/powerpc/platforms/8xx/mpc885ads_setup.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Platform setup for the Freescale mpc885ads board * diff --git a/arch/powerpc/platforms/8xx/mpc8xx.h b/arch/powerpc/platforms/8= xx/mpc8xx.h index 31cc2ecace42..3baa2def744e 100644 --- a/arch/powerpc/platforms/8xx/mpc8xx.h +++ b/arch/powerpc/platforms/8xx/mpc8xx.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Prototypes, etc. for the Freescale MPC8xx embedded cpu chips * May need to be cleaned as the port goes on ... diff --git a/arch/powerpc/platforms/8xx/pic.c b/arch/powerpc/platforms/8xx/= pic.c index f2ba837249d6..4130cea17239 100644 --- a/arch/powerpc/platforms/8xx/pic.c +++ b/arch/powerpc/platforms/8xx/pic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include #include #include diff --git a/arch/powerpc/platforms/8xx/pic.h b/arch/powerpc/platforms/8xx/= pic.h index 9fe00eebdc8b..45ec3966a2ce 100644 --- a/arch/powerpc/platforms/8xx/pic.h +++ b/arch/powerpc/platforms/8xx/pic.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PPC_KERNEL_MPC8xx_H #define _PPC_KERNEL_MPC8xx_H =20 diff --git a/arch/powerpc/platforms/8xx/tqm8xx_setup.c b/arch/powerpc/platf= orms/8xx/tqm8xx_setup.c index 4cea8b1afa44..e8bbe1df929f 100644 --- a/arch/powerpc/platforms/8xx/tqm8xx_setup.c +++ b/arch/powerpc/platforms/8xx/tqm8xx_setup.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Platform setup for the MPC8xx based boards from TQM. * diff --git a/arch/powerpc/platforms/cell/spufs/spu_restore_dump.h_shipped b= /arch/powerpc/platforms/cell/spufs/spu_restore_dump.h_shipped index f383b027e8bf..f997a8c9edd2 100644 --- a/arch/powerpc/platforms/cell/spufs/spu_restore_dump.h_shipped +++ b/arch/powerpc/platforms/cell/spufs/spu_restore_dump.h_shipped @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * spu_restore_dump.h: Copyright (C) 2005 IBM. * Hex-dump auto generated from spu_restore.c. diff --git a/arch/powerpc/platforms/cell/spufs/spu_save_dump.h_shipped b/ar= ch/powerpc/platforms/cell/spufs/spu_save_dump.h_shipped index b9f81ac8a632..f85f798e270e 100644 --- a/arch/powerpc/platforms/cell/spufs/spu_save_dump.h_shipped +++ b/arch/powerpc/platforms/cell/spufs/spu_save_dump.h_shipped @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * spu_save_dump.h: Copyright (C) 2005 IBM. * Hex-dump auto generated from spu_save.c. diff --git a/arch/powerpc/platforms/chrp/gg2.h b/arch/powerpc/platforms/chr= p/gg2.h index 341ae55b99fb..4d984bf6917c 100644 --- a/arch/powerpc/platforms/chrp/gg2.h +++ b/arch/powerpc/platforms/chrp/gg2.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * include/asm-ppc/gg2.h -- VLSI VAS96011/12 `Golden Gate 2' register def= initions * diff --git a/arch/powerpc/platforms/embedded6xx/linkstation.c b/arch/powerp= c/platforms/embedded6xx/linkstation.c index eb8342e7f84e..02514e2ad67e 100644 --- a/arch/powerpc/platforms/embedded6xx/linkstation.c +++ b/arch/powerpc/platforms/embedded6xx/linkstation.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Board setup routines for the Buffalo Linkstation / Kurobox Platform. * diff --git a/arch/powerpc/platforms/embedded6xx/ls_uart.c b/arch/powerpc/pl= atforms/embedded6xx/ls_uart.c index 9d891bd5df5a..87e1264d0c9c 100644 --- a/arch/powerpc/platforms/embedded6xx/ls_uart.c +++ b/arch/powerpc/platforms/embedded6xx/ls_uart.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AVR power-management chip interface for the Buffalo Linkstation / * Kurobox Platform. diff --git a/arch/powerpc/platforms/embedded6xx/mpc10x.h b/arch/powerpc/pla= tforms/embedded6xx/mpc10x.h index 5ad12023e562..1f410e478ad5 100644 --- a/arch/powerpc/platforms/embedded6xx/mpc10x.h +++ b/arch/powerpc/platforms/embedded6xx/mpc10x.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Common routines for the Motorola SPS MPC106/8240/107 Host bridge/Mem * ctlr/EPIC/etc. diff --git a/arch/powerpc/platforms/embedded6xx/storcenter.c b/arch/powerpc= /platforms/embedded6xx/storcenter.c index e188b90f7016..ac29d1d1a7b4 100644 --- a/arch/powerpc/platforms/embedded6xx/storcenter.c +++ b/arch/powerpc/platforms/embedded6xx/storcenter.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Board setup routines for the storcenter * diff --git a/arch/powerpc/platforms/microwatt/Makefile b/arch/powerpc/platf= orms/microwatt/Makefile index 116d6d3ad3f0..7defeadac694 100644 --- a/arch/powerpc/platforms/microwatt/Makefile +++ b/arch/powerpc/platforms/microwatt/Makefile @@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y +=3D setup.o rng.o diff --git a/arch/powerpc/platforms/microwatt/setup.c b/arch/powerpc/platfo= rms/microwatt/setup.c index 0b02603bdb74..fe6c242f788f 100644 --- a/arch/powerpc/platforms/microwatt/setup.c +++ b/arch/powerpc/platforms/microwatt/setup.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Microwatt FPGA-based SoC platform setup code. * diff --git a/arch/powerpc/platforms/pseries/ibmebus.c b/arch/powerpc/platfo= rms/pseries/ibmebus.c index 7ee3ed7d6cc2..154ab5b6d7f5 100644 --- a/arch/powerpc/platforms/pseries/ibmebus.c +++ b/arch/powerpc/platforms/pseries/ibmebus.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR OpenIB BSD /* * IBM PowerPC IBM eBus Infrastructure Support. * diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c index 3f130312b6e9..16ce448f0029 100644 --- a/arch/powerpc/sysdev/cpm2.c +++ b/arch/powerpc/sysdev/cpm2.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * General Purpose functions for the global management of the * 8260 Communication Processor Module. diff --git a/arch/powerpc/sysdev/cpm2_pic.c b/arch/powerpc/sysdev/cpm2_pic.c index 9e86074719a9..91850496f2e5 100644 --- a/arch/powerpc/sysdev/cpm2_pic.c +++ b/arch/powerpc/sysdev/cpm2_pic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Platform information definitions. * diff --git a/arch/powerpc/sysdev/ehv_pic.c b/arch/powerpc/sysdev/ehv_pic.c index 00705258ecf9..2eb956ffcd27 100644 --- a/arch/powerpc/sysdev/ehv_pic.c +++ b/arch/powerpc/sysdev/ehv_pic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for ePAPR Embedded Hypervisor PIC * diff --git a/arch/powerpc/sysdev/ge/ge_pic.c b/arch/powerpc/sysdev/ge/ge_pi= c.c index 02553a8ce191..73dfe371c783 100644 --- a/arch/powerpc/sysdev/ge/ge_pic.c +++ b/arch/powerpc/sysdev/ge/ge_pic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Interrupt handling for GE FPGA based PIC * diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index d5cb48b61bbd..5071c776eed4 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * arch/powerpc/kernel/mpic.c * diff --git a/arch/powerpc/sysdev/rtc_cmos_setup.c b/arch/powerpc/sysdev/rtc= _cmos_setup.c index af0f9beddca9..25ba1e7306de 100644 --- a/arch/powerpc/sysdev/rtc_cmos_setup.c +++ b/arch/powerpc/sysdev/rtc_cmos_setup.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Setup code for PC-style Real-Time Clock. * diff --git a/arch/powerpc/tools/ci-build.sh b/arch/powerpc/tools/ci-build.sh index 420df6ec5a2f..a861fd722495 100755 --- a/arch/powerpc/tools/ci-build.sh +++ b/arch/powerpc/tools/ci-build.sh @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 =20 if [[ -z "$TARGET" || -z "$IMAGE" ]]; then echo "Error: required environment variables not set!" diff --git a/arch/powerpc/tools/head_check.sh b/arch/powerpc/tools/head_che= ck.sh index 689907cda996..4e80ad4ac6b7 100644 --- a/arch/powerpc/tools/head_check.sh +++ b/arch/powerpc/tools/head_check.sh @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # Copyright =C2=A9 2016 IBM Corporation =20 # This program is free software; you can redistribute it and/or diff --git a/arch/powerpc/xmon/ppc.h b/arch/powerpc/xmon/ppc.h index d00f33dcf192..a291df56226d 100644 --- a/arch/powerpc/xmon/ppc.h +++ b/arch/powerpc/xmon/ppc.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-1.0+ */ /* ppc.h -- Header file for PowerPC opcode table Copyright (C) 1994-2016 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support --=20 2.33.1