From patchwork Fri Feb 10 20:18:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Saeger X-Patchwork-Id: 13136358 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6DF69C636D4 for ; Fri, 10 Feb 2023 20:25:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ue+YNX84iShxQ6MTmwt3nDLeiNT8tbOAR1H2WRsB0/I=; b=J9xfpyvy9h1H6m 2SxA4tuITkZMZk/CFyO0AYDDCwb34VKRbnl2XR5EuH16V10eHBGVIgPmHiaBL9Ho4WvAWGyKR+TWM yVwQ1/4n3JNkd09scrCn2c4W4PJ0mkysnAIGhJc6cFiNoRYvNkJvjkST1brIr06PguPnsQWra1f5B Juznj/u76dgtXzubAN2tRUrOCVCuVGJKqju8waW4JtZe5WK9QZcmH4TgKdJw7c9ywzHlr61yCmA09 bGv58Bk3KbkuycNb/hsTVuigcJCzfgtT23QFHC69bKgQgyI59F4YcnKEy7UUJjwup2qLAEUZ/ApSn NVXH+WqlLqZINOhPW+YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQZx0-007NVP-2A; Fri, 10 Feb 2023 20:24:54 +0000 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQZrP-007LXx-IG; Fri, 10 Feb 2023 20:19:12 +0000 Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31AHwjcq007847; Fri, 10 Feb 2023 20:18:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=e3umdm81dahy+Zhbs9L57FHDiKgSN37UUlTTkTbgOiY=; b=aKXGzd+wvykP7Y8ZMRNx17x2IlAqIbEz2Xd2N1+Rpd6bd9JfnFQ7EZc+YStTMl9loWWl s6Xnrs55+nRL5nTJgQTMxKSGyCvx6hIXVDBdfk3V62WnAKmd+oE+1tQypYyh7M7Q2RcG XKfs0hoAPXihrqlFP6AwoGYRzkalA3bQr7acK3W7DScAWkLt/gSZRJj6pqalS6UOlBLk x5FbUQXCxfenq42HeYD0v1lqxInj0ziwsknj7grQwnPHwbaFFJHVpkCB2HlXePv0G4A8 bteVI4H55ENUgAjDKBVfovGCmeisyAxBm/UtI+rfNmdmPAyN2CBAr0V6n/azXRkRNzwW Lg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nhdsdx4kc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Feb 2023 20:18:54 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31AJ6w6i025750; Fri, 10 Feb 2023 20:18:53 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2109.outbound.protection.outlook.com [104.47.70.109]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3nhdthte9f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Feb 2023 20:18:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kGIp0ELLcz+tNCq5lnEzZXzJ/9o2Qc3Qmz8WUMmpkMuy7aXpsjz6I6hS5aV1hlkH61aUNXXK6iUhgm5PeHaXV72QOTcsx8Gen5RlAu0kDMGb++Vk6tqVQEQz0sGoP06DbiicaceDOw07SCs41Kv7Qy/RZ2wyOufSCwpVfIZZcJyN9rPqkDHljNE89C2NmV/FeYY1SVL0e1Ap32km2lEhWo9UQXdtk/i+aqVWareLAjMt20oSNwCsAnjdG3SDXxrPIaaZXEkHQYwPxCoXVd1TChDm20m2tcnx2iEN/+J3T5d0K4EuHXRhxqjrRpcclAGd7YNCSaj6o/EUMTJMyQsKSw== 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=e3umdm81dahy+Zhbs9L57FHDiKgSN37UUlTTkTbgOiY=; b=bVXX0n5Wa4nmhefyDGYt/L0jDOEMwEUilE4J9Piitl3pXkjESliDRcN/g1iilGSXdMxQ0vqeHQaFlguHjc47qfskk1vehCFSFEi6tOQ8rihR54wT3XkzWqH7QtVnkD6bVjUUAfw+i6FQndBby1m9wMz6YM3TafASDL22W3186Q3m91qo8yjkT4PYLmmrNe1vufT615vvfVgbH7GswSPs+GAiBZiiFV/M448OBHwBK5c/g//X3EiXG/t3ZbjXOtGwEnbm067ecmUQTfKJDPZiAaGvtTP3bX6D/aQ1TwJQ2xoWru5VwgUBhzMsQDOIMNdZwe6HgQhGQ0bDQLUmIVDC/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e3umdm81dahy+Zhbs9L57FHDiKgSN37UUlTTkTbgOiY=; b=hcF2W/4tPFVjapZGkUyb3FMQ764Zsb5yQ7CV/TffqmdI0vPmrBTqV+cTK3aLSvKc9xrKOQgd3gZ8Bnx6jk4m0K4KrheW7VAvEUg/pDbRSR0c/kP722Ec31hgGcZ2JwQ/abIY4pTFl0tS8P3K6KP938twTFtsMnyoa9AFpilia6Y= Received: from BY5PR10MB3794.namprd10.prod.outlook.com (2603:10b6:a03:1b2::30) by PH7PR10MB6083.namprd10.prod.outlook.com (2603:10b6:510:1f9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.6; Fri, 10 Feb 2023 20:18:51 +0000 Received: from BY5PR10MB3794.namprd10.prod.outlook.com ([fe80::f37e:ad45:7d9e:d84d]) by BY5PR10MB3794.namprd10.prod.outlook.com ([fe80::f37e:ad45:7d9e:d84d%6]) with mapi id 15.20.6111.006; Fri, 10 Feb 2023 20:18:51 +0000 From: Tom Saeger To: Greg Kroah-Hartman Cc: Sasha Levin , Naresh Kamboju , John Paul Adrian Glaubitz , Rich Felker , Masahiro Yamada , Ard Biesheuvel , Nathan Chancellor , Dennis Gilmore , Palmer Dabbelt , Arnd Bergmann , Andrew Morton , Tom Saeger , stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, Michael Ellerman , Heiko Carstens , Christoph Hellwig , Yoshinori Sato Subject: [PATCH 5.15 v2 0/5] Fix Build ID on arm64 if CONFIG_MODVERSIONS=y Date: Fri, 10 Feb 2023 13:18:39 -0700 Message-Id: <20230210-tsaeger-upstream-linux-stable-5-15-v2-0-6c68622745e9@oracle.com> X-Mailer: git-send-email 2.39.1 X-Mailer: b4 0.12.1 X-ClientProxiedBy: SJ0PR13CA0022.namprd13.prod.outlook.com (2603:10b6:a03:2c0::27) To BY5PR10MB3794.namprd10.prod.outlook.com (2603:10b6:a03:1b2::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR10MB3794:EE_|PH7PR10MB6083:EE_ X-MS-Office365-Filtering-Correlation-Id: 29cffd04-6627-4f24-5672-08db0ba405f8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kX4+i+xIkXibshrmS0Vz3v8bNJ1YhUT5PVqzv63JG2LDNX5Ej+LzAyymumUWBLSALnSlhr/jdHinT8TonfbaUA1dFHOLxhvsB+RRvY3CiBlAAp4aEgp7rK5Ttg6g9n7Wcl0Xt1qeUhVRdJFyxNBkUbY++uhWXlbDZTyddvwq5BAplXM5/1EiaUWlvZ5RQ+8v7EzfkHreIxndS2LDEoy+99nLqqKgEQeOocAXbWW6CLM/MMZgNlgspW9j50vTY7+j5vu+M3CLoH7l8xgdO/JaTQQIYdC2KTkpOuK3bJNfQ7sR/+XHMUS13f2TYRftQTcHE0PS2E1jbGHn1z3YwXtu3ieN20OyTPJ6Ldy93aBuxApgk2IDoO8vs93hu6kmMJVfWFkIR6RgIXpldNYY4wvMIE4KmDjUltsGJgkQpAsp2RUlt2SeN5POzER5HM+yBXCDuH4BiOTjo22ca8X+kF/4Jb2/ye/46I52/lRKsYpEPtxPwQUTMtH9oY077jEXYfw0raLpi9WoxqRej9KP4ZkBawhSNNTBm7vbdjihzN3OHJ2Yt+wPMSDbHKK4InfpNytM4GNYLoAjGAp4paOZOD6jX0j2p+4gGAZzLbWAB/KeERqrRllqn5W1tI+YDZblfv8c9aM8Q9H9NPu5ImHQbaSFXWu/1nzjWsQm/o8qKS02n2aZIUZ2FaUvM2cEhCRwaSSsVij3VsGDXQ7ftYXGnDcizw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR10MB3794.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(396003)(346002)(376002)(366004)(39860400002)(136003)(451199018)(86362001)(36756003)(38100700002)(6916009)(8936002)(66556008)(8676002)(7416002)(6512007)(6506007)(66946007)(4326008)(186003)(66476007)(41300700001)(44832011)(5660300002)(6666004)(478600001)(966005)(6486002)(316002)(54906003)(83380400001)(2906002)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?mlFJTlv6zTFQvc9LyRmkYCyr+UI2?= =?utf-8?q?Sgl1rIIblIAzivdgqpkAZUali08swTAGePUZhGLrRFe0HXW5prvNlWLMGJ7YS2Hwg?= =?utf-8?q?cO7PpMrr6E2Zhyd7ct1yqtTiwhHbRibAbaDKvAfLuamWkKEBCo5XCaI0TRpVFxn8k?= =?utf-8?q?OWi9+rz67EISFClKQdDYXeT+I9XAbrnW/PgcBfBTJkRxOBxMbtTHvdVz/AlQxbdD/?= =?utf-8?q?STXxz4cum+z69ND1bSiy941wI2RK3wA3AlRbYSTHHZkf1TZru3H/zDVHsRydlHZIH?= =?utf-8?q?nIeX3TbTcrOfdnBgZEyq4d8qgS0BrptW3cqC37X3zc2rDVLNTFzlYi7qw1IMimh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=?utf-8?q?JVl6zs3dqYlE100FyMqU30qSTTSF27eEr3LVN8D15D2YTmhlbORMmKcsOxazy1h+Z?= =?utf-8?q?cvsFL+wQS+/6DgwAadWWw7hC1G9ZhMZNQCBZ/fPozjlFaUCyxvcavO7kqBWszUGLh?= =?utf-8?q?l8owPhV8V74dStYshCt265Yvkew5JO5Q87CLlW446OmoHIZe5wJGPlyZ/MY+WbnnB?= =?utf-8?q?yuwO1fhwZI6y4okODrIZp90DDGIOxWEOF/82EJf7r74QMGNHdb2GPwLdMmIJbifjP?= =?utf-8?q?orvjDa7uu2WMe9154gfFObOe5q+9rdPhj9z98xABG98JCxgfATRh3idOKj4ey5JPW?= =?utf-8?q?vXVDsPLHq8AHAUJDei7v8s02urLbdKlSiYLCnIJCuQHa9ks+qbTW+L4=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?utf-8?q?ddPgGqcS2pzW7gF7?= =?utf-8?q?7lSEXy3+n7NRH0vJSDbDygPevlyYdH/s9ujQBKAb3VK/ymW2pcDZ2gQg00+gluNPj?= =?utf-8?q?FWDxchv7ZcB8dRED4ydZQRxdPwKYAqIgqNs/p0V15gJU3WrJ2JTyEcjPQVHjvnxxQ?= =?utf-8?q?SA0CNGYOehi6QVmtLySTFpdT/MMLb2/kEJFh5uYOdlTLVHZOcr+zWqBau9YgX83Rr?= =?utf-8?q?77IOzoI9mpqMGUy6JOya9vWQxtJybv4dNCkh6U43MlEUvZGrLIEKIbJyvmFO4sbKn?= =?utf-8?q?g6eprjKeW23ISPXnr4taQSNERc2IifLh8bseIqgpU5nSpauJ7cRMENOIHvhgMwysU?= =?utf-8?q?CD6IPwlwRQ2BXgUtDkEqLGN7CUFioSwt1ToFWNi9LmGG80jo9rEx8kWW+yBEZ/ryG?= =?utf-8?q?b3lWCoOF5fVu/9fSk41hwzIQjK6/9vMvoRYNy6FmAx83GDaqyWtU1eLk74KQR54nk?= =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X-MS-Exchange-CrossTenant-Network-Message-Id: 29cffd04-6627-4f24-5672-08db0ba405f8 X-MS-Exchange-CrossTenant-AuthSource: BY5PR10MB3794.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2023 20:18:50.8572 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: a++gMSnlxElw1/2qZwBA5X60uqDWmSn2RQ3+luEEtkIJJMxlnMVlwhrSrPPgJZr/RoOW9j/G5EP+7ZygHOIvFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6083 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-10_15,2023-02-09_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=983 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302100173 X-Proofpoint-ORIG-GUID: MZd5OmdPAGvsyIup3ERzD9R-Ow0Yg5Lk X-Proofpoint-GUID: MZd5OmdPAGvsyIup3ERzD9R-Ow0Yg5Lk X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230210_121907_769302_321EED4E X-CRM114-Status: GOOD ( 15.98 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Build ID is missing for arm64 with CONFIG_MODVERSIONS=y using ld >= 2.36 on 5.4, 5.10, and 5.15 Backport BuildID fixes. I've build tested this on {x86_64, arm64, riscv, powerpc, s390, sh}. # view Build ID $ readelf -n vmlinux | grep "Build ID" Changes for v2: - rebase 5/5 c1c551bebf92 ("sh: define RUNTIME_DISCARD_EXIT") from upstream Previous threads: [1] https://lore.kernel.org/all/cover.1674851705.git.tom.saeger@oracle.com/ [2] https://lore.kernel.org/all/3df32572ec7016e783d37e185f88495831671f5d.1671143628.git.tom.saeger@oracle.com/ [3] https://lore.kernel.org/all/cover.1670358255.git.tom.saeger@oracle.com/ Signed-off-by: Tom Saeger --- Masahiro Yamada (2): arch: fix broken BuildID for arm64 and riscv s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36 Michael Ellerman (2): powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds Tom Saeger (1): sh: define RUNTIME_DISCARD_EXIT arch/powerpc/kernel/vmlinux.lds.S | 6 +++++- arch/s390/kernel/vmlinux.lds.S | 2 ++ arch/sh/kernel/vmlinux.lds.S | 1 + include/asm-generic/vmlinux.lds.h | 5 +++++ 4 files changed, 13 insertions(+), 1 deletion(-) --- base-commit: 85d7786c66b69d3f07cc149ac2f78d8f330c7c11 change-id: 20230210-tsaeger-upstream-linux-stable-5-15-f7bf45952c23 Best regards,