From patchwork Tue Jun 28 15:13:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 12898460 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 C3ED6C43334 for ; Tue, 28 Jun 2022 15:14:55 +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=dC6tsY/aLygjw/FTuWWSpgZV69+yS/LUyE4EYpVv+CA=; b=CHON9Az9KV0IAs KFeKMrMvCU75NZDvi/qD0LM2EkdlnEka9RO4AeZB9JAzuiZ/MpcoTkVOebsoRLoqtoE0KHIK59sgS 7vTUQXNGJ8Efn/631yInxBJaetRmqt/5DhZYoWb9SYBInIH5J6Xqd3FzrNRkz7fdzhJOp+G11AWe7 FaaVSUUU+OTLMqPom+NjjwLlsLU/0S2seWVRcD3V7r1fwZdarvo0dkPiSW8rL0d6wD/teJ2CdXzBr MjLTo0dtQpK5d2rE57yKO9ofPgZAUuSP4YimBWt3djoCyLkqxHiDpvIB/rcMPH6OD8UTEMBTBn6fN Soav6+MbERo6/i9Ekr3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6CuB-006pd5-B7; Tue, 28 Jun 2022 15:13:31 +0000 Received: from mail-vi1eur05on2062.outbound.protection.outlook.com ([40.107.21.62] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6Cu8-006pbW-1U for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2022 15:13:30 +0000 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=S+vf9F4RqS6SEAWGPSNVBEg2x7bE//rHgi5Psv0ythwCS52fpbdUnG02peuHf1QsWae7YHkb5Az64ScLJIxq2AT3aSiFvYlhCwXR6ShzAmzsc7JyPbQVdKeANeDK4+CgtZg9QzdNHAGkhfgIu+n49GPO3CHIkwuF79ccZjtjUs9P3iiWPqrBktVuLnStr3Eoi5e/ak8EcISyD6s6x2X93R7XvWAdLrcVFFejviyNDm09XhtyBzeUUXY8yIIRc/Fvvw0svuMi24VV/D3SwKXvPV4SvimE2lNfIzAJ/v8HpNVj6+lqnVvoOr3swMzo3rB83Lw9DBi/8BMLaF3r6lbEvw== ARC-Message-Signature: i=2; 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=hhe6KFeER7/fnkzRFSzG/uBoN6VoortVOwy5JKFEbUc=; b=KuGQ8ZWStTl6TINyfbbYZbm/y82YL7/yio2Nv5piXOE2RlyBCjsIFyfpPg51UGCqGwq4vN+RVxjO8Cz7AAvBCY76syF7UHEpxOLC5zdMbvpglsHPziOiNMKsxNIfXt1TekWI0UsjNpSo18dNPMN+K93PUU+vzlBdS4tpvsezN8rEKblC5zKsS+idvyI8txyxCzp9rOnYnjND9UDtUwMaXdKE8FAotF3CKH8hdi2QfkagSbW4QEmiApJbZl3q29vOenIZv+zDAqRecdNP3q4gUEwbw74ryiuSiT1Yx2dtE49Lvx3HBCWBktAjHkQrQcOKbsV8imB7dhF6eONE+1IVrQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hhe6KFeER7/fnkzRFSzG/uBoN6VoortVOwy5JKFEbUc=; b=aLC3N3LxoJilDVuD/87AnbRBSeRX+tJVVWodZ3/BuMNdN1SoNmN0t6Z5rciHVMBUtCupycUCMXNjoTjtB7+6hPyeLV0lNsVt3In9PeF9h3TA+FVdTXy92Bu7eR5Cl1X01fuitStooAZUiwnY/3xH+nFJ++OP9x6W+La3c2X7o7c= Received: from AM5PR0602CA0002.eurprd06.prod.outlook.com (2603:10a6:203:a3::12) by AM9PR08MB6882.eurprd08.prod.outlook.com (2603:10a6:20b:302::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.16; Tue, 28 Jun 2022 15:13:23 +0000 Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::99) by AM5PR0602CA0002.outlook.office365.com (2603:10a6:203:a3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17 via Frontend Transport; Tue, 28 Jun 2022 15:13:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT039.mail.protection.outlook.com (10.152.17.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15 via Frontend Transport; Tue, 28 Jun 2022 15:13:22 +0000 Received: ("Tessian outbound 9336577968ca:v121"); Tue, 28 Jun 2022 15:13:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4a8a5e6d2c10fdf0 X-CR-MTA-TID: 64aa7808 Received: from 509663ace554.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ABE290B5-0E0F-49BD-BD37-9EFC1877AD19.1; Tue, 28 Jun 2022 15:13:16 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 509663ace554.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 28 Jun 2022 15:13:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CPBz24nhaVudL8u1f1tH99iJOVRvUcmImgCsOFBWGuDKGPyv9cJ6qofqlOEmf8yWANuYZ8LX7Lntr9ygyS/NguLhlxTOyvZ/RuZ5Mopq7ehF8ZCsotjF/kkJJDwoVDo0iFJ2DpaKBH22BOa8pa4cA/d+LRhc4Yh0dp9UmhIfP2P1CaWlLq1+NzJbCj/Jv1Dd9rP4ItkNzmdVdtBSCMGlQiBFMp1xrgDNDxAbWsqZPQVFeY23XJXiYA6iqzCMAZ02KAVI7QZSPzL16blxJGTRGwPWHhLOUEXeW/b7nAMpfUq62jTk29RhmjbeTCPfpffRP1sxN8jTvVOoUSoAvvcnUw== 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=hhe6KFeER7/fnkzRFSzG/uBoN6VoortVOwy5JKFEbUc=; b=azbiHaaIP3fJtCIWQDmDRo4E+vlqLiwm5vBnt6sMf1YKv4/2pHE/oYMmxPuhc5OeM3KY2pLGAiZNElGVSuEFuWnjOGbF0gyHVz2fJ9sDPuK23F7d1MSdpHrnGf44rQYp7n8rOqDYw0b9vo/oGGf67/3ESejWEia/AOlgNvaXY1U+uy4GL0DVbZ5ZXLnqc1/JWUq8cGhhZeM60gqJUzcMtradckdKDUQ53yDKY6dZRRJrizJ0ZjkShJrsSWlXaVaziZDgL5WySiBo/14Lzt0pMoteocu15UgZ3nSPfN6MeBlHUgoorIEUnRGIjuRy4LFYMJMneoywYG9zfZOz+0diWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hhe6KFeER7/fnkzRFSzG/uBoN6VoortVOwy5JKFEbUc=; b=aLC3N3LxoJilDVuD/87AnbRBSeRX+tJVVWodZ3/BuMNdN1SoNmN0t6Z5rciHVMBUtCupycUCMXNjoTjtB7+6hPyeLV0lNsVt3In9PeF9h3TA+FVdTXy92Bu7eR5Cl1X01fuitStooAZUiwnY/3xH+nFJ++OP9x6W+La3c2X7o7c= Received: from DB6PR0301CA0046.eurprd03.prod.outlook.com (2603:10a6:4:54::14) by AM0PR08MB4049.eurprd08.prod.outlook.com (2603:10a6:208:12c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17; Tue, 28 Jun 2022 15:13:14 +0000 Received: from DBAEUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:54:cafe::7e) by DB6PR0301CA0046.outlook.office365.com (2603:10a6:4:54::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.21 via Frontend Transport; Tue, 28 Jun 2022 15:13:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DBAEUR03FT040.mail.protection.outlook.com (100.127.142.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5373.15 via Frontend Transport; Tue, 28 Jun 2022 15:13:14 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Tue, 28 Jun 2022 15:13:13 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.9 via Frontend Transport; Tue, 28 Jun 2022 15:13:13 +0000 From: Joey Gouly To: CC: , Joey Gouly Subject: [PATCH v1 0/2] vDSO linkerscript follow up Date: Tue, 28 Jun 2022 16:13:05 +0100 Message-ID: <20220628151307.35561-1-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 77368abe-8b12-4283-a92a-08da5918be1b X-MS-TrafficTypeDiagnostic: AM0PR08MB4049:EE_|AM5EUR03FT039:EE_|AM9PR08MB6882:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: SsraXdUnxMLa3CvzvCdqLnzKO0x+efsfrgNi2ktERZgKa4GDNi9csTQEj5/zikMO3IDqIwsrgcQkSrY4NRB5lLv2L2IpgtiQGWt5kmAM6jp6QG6OuzkN39Ga5dRlGXSZIGF4khwlZ55ISgzW6JWmqfgcQtIJ2RT4rjpxzlXAP05RokkAz5yZ3+fb5ZhmLkezGHnRZUkBpcUm9toO7CSeJYh05ehcbmmpanfPA8qZPjfwS0o13QrowFxgX6GooHp3a3iW5SquPOwfDKPvW//ijna1fzLngdk56RQ0Kajrvm/hDe5RkTVXUEIsDHuKBfCvzup4waDi5RQ6P++KoLJf/erRXKbglrnifrD4tCkl1VISfGkipVn+1y1480dVg7kO0GJnE2MfNJ7uMrjBENJqLgC+vol9To5rPV/kN2SuLmJg/keIXiWM9QOpmVPx32UM/n1qa1yJdutCaMBYXuuorndmucIg4Ob2Vv+sG6jPDL3CFtk03wiSmfdLRst/wN2Db+uvEoUMSSNf7PdpyftOPAVVGyFvYjoEkWuqX3r0pobsJwLsISEf+FnTNNGLNVPzvN0GkKshI6SUpxGu1ww1Nc+vYZ5TNUg3tO+E9XmuXp54miDdBSifu4E1XEykJlCUcRHgBNvzxhpRkmW6xE0kzduD3qg/XVPiBuld6sKWg+tQUOCOBHlxMM30mhSNXVivXsNTulHpmm3cf9gr7M28TIcdcYcMXoZCC6xobereQJQRH/gjBmHghBjWZsfa9nNvtSNM4a9jyF8UYRDQTOyONKqLb0RVbRkOJG0cArQvrjnr49uJ7Cc7rguxIShsNYrfVehLWS0Xqc5T1ssSxzU5a22TQMeq2yOR/e10UhkDtJvwkrlKvzrNAmCvbAB+vgI+y/LqqkPDw8BI3oe4VMrT/Q== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(376002)(136003)(396003)(346002)(46966006)(36840700001)(40470700004)(7696005)(86362001)(6666004)(336012)(1076003)(478600001)(82310400005)(70586007)(4744005)(426003)(2616005)(5660300002)(47076005)(356005)(44832011)(8936002)(2906002)(81166007)(186003)(6916009)(41300700001)(26005)(36756003)(4326008)(82740400003)(70206006)(8676002)(54906003)(36860700001)(40480700001)(83380400001)(966005)(40460700003)(316002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4049 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 9e1103ae-06bd-4489-0ad2-08da5918b8cc X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wt76JNvB3PsFSSbc2c3WtB9Y0tXaxz/NaM3elygsiDwChDNMW22PiOl54PHaA6SwAnR5N1OMfzoIhm8iYYkXHRxG/qiAOkSx7v08Y1sqAvQidybDomxKmGvt8x7zihPcQmnA+RoTyq/yywNtOBwg0lYT+vvMSidRs/QWoYuS4OzhbZ7VfLOr2IdDK5X2EpErI5DPIkuGBuIHO+ckwTjpYbJZtBhXEBUokbg7tl6/m+KEP+FJ6uXGnyiZkuhK5KY47SgjBz19SRGyHR5zQEb+Yw5vyWB4q9JWJaUE4vrZflgGTdJfp/5KzNXv25zub7dbbuzuhNuaM866TuZx1jEG07iGFMt5ZJRp1nEIh+KCNw5jBsYvquIiEW50adVXjq3skVCtLClW4321B0HSgXrNTeQn9IphyLCRLp1yfwb+14ergipknE7x/s3mqFmHn5s3qSaIqJzV5bPPABeK+KpVEWG/GEh66j20hHsozIMFUvhKJKQvlkAwzo1RZOqpfX85yhOK0Gv4QqD7f6AxoFdfetdYXjskBd61tSjmhZSVmaMv5JtLSVmsIIavCcZkBzE9xwqmVYaKcZ4qwCnqKF4XrbhU7vbmXSn+Q0zRh/KjNb6jd29ZL9zy1/0dXPuNot62pelDDtFgWBz831B2Nyj/gH0YLREyshwzUyk8V9tQJ3l4SyWn0j069Q8HWxSduZq3d6zNM2Epjy1Z5FzKmMdSqUw75Tr70qM/wsOvXDMkHfkYBXuubqTvC6xacIi301MEMYSwYHCuOglb66k1N3h2CjAXSD/VgALlsVWt5/mogkREX2STx1s+RZInBh2EYgFtonpIVFFC0gVBhbHL93JVi5QJU2YSwP4qyqpBZ2n6ae/KGPoPJpr+MY2C+Fz49FIi X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230016)(4636009)(376002)(39860400002)(346002)(396003)(136003)(36840700001)(46966006)(40470700004)(4744005)(966005)(2906002)(86362001)(5660300002)(44832011)(4326008)(81166007)(6916009)(8676002)(8936002)(478600001)(82740400003)(36860700001)(1076003)(316002)(40460700003)(426003)(47076005)(6666004)(2616005)(26005)(336012)(40480700001)(7696005)(54906003)(83380400001)(70206006)(82310400005)(70586007)(41300700001)(186003)(36756003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2022 15:13:22.9292 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 77368abe-8b12-4283-a92a-08da5918be1b X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6882 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_081328_126173_A41A2040 X-CRM114-Status: UNSURE ( 7.41 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, This is a follow up to the vDSO linker script fixes, that was pulled into the arm64 tree. Patch 1 fixes the issue found by Will: https://lore.kernel.org/linux-arm-kernel/20220623175352.GA17471@willie-the-truck/ Patch 2 fixes the comments Vincenzo had: https://lore.kernel.org/linux-arm-kernel/00abb0c5-6360-0004-353f-e7a88b3bd22c@arm.com/o This is based on for-next/vdso: 2d304afaedc4 ("arm64: compat: Move kuser32.S to .rodata section") Thanks, Joey Joey Gouly (2): arm64: vdso32: add ARM.exidx* sections arm64: vdso*: place got/plt sections in .rodata arch/arm64/kernel/vdso/vdso.lds.S | 12 +++++------- arch/arm64/kernel/vdso32/vdso.lds.S | 24 +++++++++++------------- 2 files changed, 16 insertions(+), 20 deletions(-)