From patchwork Fri Feb 10 20:17:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Saeger X-Patchwork-Id: 13136285 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 7E05CC64ED8 for ; Fri, 10 Feb 2023 20:18:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233626AbjBJUST (ORCPT ); Fri, 10 Feb 2023 15:18:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233537AbjBJUSQ (ORCPT ); Fri, 10 Feb 2023 15:18:16 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C35C6E8C; Fri, 10 Feb 2023 12:18:15 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31AHwiHJ005562; Fri, 10 Feb 2023 20:17:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=IoNI4TdnjHbJa0KX8fml/bNacgTZvDQCEnCdDB3uHrA=; b=plKHewvCazTfjfGfGye8aJesPyTCtAdHIHshUbpIOP9qbQ8X+9K3cAoB8Nb5iO5/uw5L X1LpioAml/odRs4b7iwDbuWxLF7b9P7expxHGev+Fv7Hn9WkDlUT2xWkxQ3F1VmKzV7A gueQWAsc66JiPDDdT1L/W9l8zCCO6VxHPUDYbV1vTVeLpYglGyUA7UbYFC4LeObjQ6Fy loVTy7ThzgVNMa9RXVBOymd8BbmBXQCZFPv2tLO74A5DQsZJi8xbQANl6HSmKPC7IX9d sYy0M7kxZfX2QNvqNX37X9YM8xa8WCTvDd01nv7yzvrxHOUB59XLUZ0+4pauKPj4DOxY sw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nhe53p6ag-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Feb 2023 20:17:35 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31AJxX5g015199; Fri, 10 Feb 2023 20:17:34 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2042.outbound.protection.outlook.com [104.47.57.42]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3njrbf8n6s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Feb 2023 20:17:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ia3Dm7r4QBWRBlAi0msk0znoukx2XlMzedovt+U5h7TaZvwjnNDh6GxWCayfkDNfNlGkCKShhmVRNGI8N2mWvKKWnYruTCY4KQKKm7uem68H7wdRdWqMRr9ZrvpzopbSDGfCaY7GhdC2u9LftJEm2/Eu/UuwYDxODKiVbcPUD62G4p9ioip2hFeh/StJB43W26KFHIfwhzxk/k/Px57lXBQ0iGGZwADB6HL48Mt0bL+TLHkudTI3HzwEohKxRTubQmhOjHqcgidAWy9LKC9tMcvfaaV+hhx7YiAF1Fipa10PniXOfUQ0uNJlhvumehHOEm1raC2dFS7pqOmo6s7R3Q== 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=IoNI4TdnjHbJa0KX8fml/bNacgTZvDQCEnCdDB3uHrA=; b=hLs4LvMhBdiZE8FWKKrBbDRSMwDxM7C1c3yf0zwdECmMDyIIOCKtepdIPAAOgtfOsyhY3akbnpU6Go1TrIXdD0qyHV33kUf7FrM2qGUuU0DGBtIj+b5V9JsIGxP7LvI7CHHcQ0en+m9YcHske3lRJV9bbDpmXlb84DiLFAgJcNMMDe4gC2MMIEczrozp3pshOMkBTVQMUpo+M55hQsfGEFnVpLfmrmefOcB+Fs/IIXDv4xFV1WpRJnzcbLn1kEf4tUTZliqNdhJ2vbT+o/d2x+tUhxXm+FsRPwHHY8puYq/Jx93Xekd8NINd9bxxol2xQkUuvFPDWCTBPg+QJC5cZQ== 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=IoNI4TdnjHbJa0KX8fml/bNacgTZvDQCEnCdDB3uHrA=; b=b/6citxO0P+cOgBbyR24QFMySNlFuZqsYkLyVlmxg9J8owrP0EJYCmLEs5+P5MpmdSFxI51aoCXR2evVng3AgObzpyGnobfS2DlrVME0yoEhvwR8onkyjskpBOqZRu90RbdL8FKaAczqxEGtD0L0C0cFNHENIKUOe0SJWBxoCms= Received: from BY5PR10MB3794.namprd10.prod.outlook.com (2603:10b6:a03:1b2::30) by SA3PR10MB7093.namprd10.prod.outlook.com (2603:10b6:806:304::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.7; Fri, 10 Feb 2023 20:17:32 +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:17:32 +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, Jisheng Zhang Subject: [PATCH 6.1 v2 1/7] riscv: remove special treatment for the link order of head.o Date: Fri, 10 Feb 2023 13:17:16 -0700 Message-Id: <20230210-tsaeger-upstream-linux-6-1-y-v2-1-3689d04e29fc@oracle.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230210-tsaeger-upstream-linux-6-1-y-v2-0-3689d04e29fc@oracle.com> References: <20230210-tsaeger-upstream-linux-6-1-y-v2-0-3689d04e29fc@oracle.com> X-Mailer: b4 0.12.1 X-ClientProxiedBy: SA9PR13CA0090.namprd13.prod.outlook.com (2603:10b6:806:23::35) To BY5PR10MB3794.namprd10.prod.outlook.com (2603:10b6:a03:1b2::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR10MB3794:EE_|SA3PR10MB7093:EE_ X-MS-Office365-Filtering-Correlation-Id: 151d1994-5283-4df6-46d8-08db0ba3d749 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ivG52g4EreSCCf5Bw7pY1N995yLo3q/rIrS9a/KaEGswmSjqWlnsIxj37pleWh27OIzAwAY9PLDzgKEh9HR89zgG7l8V7k4E01jJPKFKX4aoCKLHHsrOQihx/B9jRSF+IP6MyQsf7VyoRzIeT9D6nNGNW8VGR02Uj/EGuEfTkaWevh1KLD7i8lCdmZa1tpozxMdDGpkDP6LMogXmxxvIvU2OymgSQrMolwhp8C/wz2xMYTBmLrWz8zUbfl+L+R980NluLhjPNOrMS86yPwu23AuI545sgbgklF6my4VUQ9fTiE3fVkWOvepH3cNxbldezz1JdST7r36nLdIsvT4Vi87eQlScSs9//a+GrT011hpqOv0SyDXk8OcGw8HRVIqvcpwbw1jVWu/P0oL8exFWtkvOoiOyKNg58N++RIkGx3h7iGk9jwsmU3SvDnaVuCDg/0QDl/KORGcY+uW0AU+ATsSNTHL7Dx/2VV8IexkgBBI6U+chc+2KKoxOF7WolCOqoZmIZ+zH7zxLRR/lrAlPkLuaUUOTDAL5H2aReFWvts029ny4C7o5QEVlk8SBjaWNUtLYsJGoRnLFiNaHeZ1axGE2dLewu31szMnFGI/fVl6fVmgmL3X/VFSJ+EHs8yoS7UjRsl6o8B3s+RJ+UHDYwWYYvi7jljQmh6hQRwA1Cn0= 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)(366004)(136003)(346002)(376002)(396003)(39860400002)(451199018)(44832011)(6506007)(5660300002)(7416002)(186003)(6512007)(8936002)(36756003)(83380400001)(86362001)(38100700002)(2616005)(2906002)(316002)(54906003)(6486002)(966005)(478600001)(41300700001)(6666004)(66476007)(4326008)(66946007)(8676002)(6916009)(66556008);DIR:OUT;SFP:1101; X-M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6ShCQi6NdG48/t3mvAzZFGIYFcX?= =?utf-8?q?gKrgf+mi+RU07O/1TxYCWhe+f1onJyMhJkNXlFifSSmnUUUeEvXVwe2ySkhaVpzfS?= =?utf-8?q?PeWlB+74jp2f0b94hFq6okCZrZbcGARuSYXUA4PCbtGRw1wMT8elqPqJTv/jBzzLp?= =?utf-8?q?Imyd3a1mySOiLdmfj13htyKisfAg82bjVz4NGhU1xTaBKEwEokKVNy6oRQO9wyj8N?= =?utf-8?q?ckNtgLV29a2PGOnEUDJFE7TaGm5X2Q0ww0PIg+pR9Rafdzb737ZmKIeljf+Tk8U6t?= =?utf-8?q?d0NkLZnSb2mEyme0jhDTuiznQ0aVlEuYot2fONCdxpevNS/S0Fnrysr0lgJ5k+yo0?= =?utf-8?q?zWMQhdWWdfaQjj6MnVkcUxwD3xquNpo4svmrslmlgJapacwxTW5OEmcjAlVksBvIh?= =?utf-8?q?593nc2yrca/hFpzJugnHCaaUGihNy0fxIVONvxcCImNEbs6QKh8oAej8vVHL4nszU?= =?utf-8?q?sp6I4BIaY9MtxCvEf4gIp8nSJJH0FSAghllDRVdOw+VC5vP3k7IMQYHwBSdrAAK2O?= =?utf-8?q?1Hn+1U3G/TMp8Uzl0kshdgR4UwasLpwrcQaa4fEwxIsISAsUrt7iYL6zAE781TZYh?= =?utf-8?q?wte/1VTblmZbWgSVrtF+pDTq8FODheQmyVdvZ4nbFFkCFb1tBYxyjZrI5Ek0pfKef?= =?utf-8?q?x4nlm8SXi/6sKeIs90buhcd8LofwU4IkqXRlh79wxx/79fUclp4Q65AOXOGcM6g8f?= =?utf-8?q?3Ymegde6PNGREa/tGJjW5ZOjobWeQCM1vzjtaTT1EpMSVNKkQ1JY5yc=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?utf-8?q?IYdIA7pWTHrfEtYe?= =?utf-8?q?aZlg1NVl+B3HZiGVQrX1eLJvKl0XHWNULb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vXGK3YRPjd1gc8dP57LlZVAskMnjO?= =?utf-8?q?TXuZvIju2g9dUrKQN0Yx4z+5ESr+6dvLC7GkGTXIDHTEPIOE+F2G1cP9m9KbP7Y/u?= =?utf-8?q?AnSNovhgvliBmV3b0t6peWg3fBzjczzeCX4FhZcUAch7+8f78m7bD3gewyGUEfYVZ?= =?utf-8?q?2tDqGEcX8Zk0xOYKeIULgLSRnz2xUC5niLt8voAvJPssj4xkrfHT8+DdnT6AiKcrF?= =?utf-8?q?T11MyN8OUqsiJ8RPgr38S0GUeaIFCK?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 151d1994-5283-4df6-46d8-08db0ba3d749 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:17:32.5191 (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: JUDTiZvqE54v3kwnwhHrUgiI5pZ/6bjkJDTzZi2K1P5ab0UnO0Tbpk0ouUqZulSfIbmEmXjef93b0rw79YE+jQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR10MB7093 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 phishscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302100172 X-Proofpoint-ORIG-GUID: VJJEde0bV8RO-iVlHJ7Ssau9QM8RL0MY X-Proofpoint-GUID: VJJEde0bV8RO-iVlHJ7Ssau9QM8RL0MY Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Jisheng Zhang commit 2348e6bf44213c5f447ff698e43c089185241ed7 upstream. arch/riscv/kernel/head.o does not need any special treatment - the only requirement is the ".head.text" section must be placed before the normal ".text" section. The linker script does the right thing to do. The build system does not need to manipulate the link order of head.o. Signed-off-by: Jisheng Zhang Link: https://lore.kernel.org/r/20221018141200.1040-1-jszhang@kernel.org Signed-off-by: Palmer Dabbelt Signed-off-by: Tom Saeger --- scripts/head-object-list.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/head-object-list.txt b/scripts/head-object-list.txt index b16326a92c45..105ea7ac4751 100644 --- a/scripts/head-object-list.txt +++ b/scripts/head-object-list.txt @@ -39,7 +39,6 @@ arch/powerpc/kernel/entry_64.o arch/powerpc/kernel/fpu.o arch/powerpc/kernel/vector.o arch/powerpc/kernel/prom_init.o -arch/riscv/kernel/head.o arch/s390/kernel/head64.o arch/sh/kernel/head_32.o arch/sparc/kernel/head_32.o