From patchwork Tue Apr 5 16:02:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 12801749 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 43401C433F5 for ; Tue, 5 Apr 2022 16:04:38 +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=yht7ytWWcqy9iP0e7XgtzOY9b77S1jIQuevJjIu35Ho=; b=k9j0OlnGvh5Yvp 5D6zCdMRLUVo5EESdmI7hly5ID5YHAV02yRx9Tl8JRp+JldMwR/1Tawjy98EQQuogPkA71e46K/ld SgAyuaAGJ6dRTQm2LfEm/sxn36HpAoqtcgUPx/z6W6j4mu50nI6ESJnHOx31FgNoATbV02Xrj5rh3 Zncu+uRgygw5zg9msKQF0TdLPPcItb9eSjX6iyOgxBIkyYX/gCFEx4+HAG0hM0Xh/OwURHrF4lHyh pgfGttyj+NNOBLBwLSDo7kMoNu6V2l+tjZTcxewltAC+RX+Eb9dPab87vNyBDasFqi51C5BmV7FjQ 7yeclM2/RTLg/syH/d1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbleE-001oPb-8u; Tue, 05 Apr 2022 16:03:14 +0000 Received: from mail-ve1eur01on061b.outbound.protection.outlook.com ([2a01:111:f400:fe1f::61b] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbleB-001oOS-CF for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2022 16:03:13 +0000 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=KQHoXwRsodOcp0au6cLYx80Ils3WGyDbNN6bS+nBejM=; b=DoYRlBCgqum79GSxLdiBwVKCHvvaVSwzMdmzZEPMljP01zdkFfkz7q/vAYLy0Oix7SuIHoYhkawhzDpWzJSB/ME38Ngn1zrVCRH2JtBD3RxFeR7+Ky64FLq0i5sMJyp6fLngOXzK2jK/GLaS/uCAjG09k/gMeSOn18JuEVwgfYE= Received: from AS9PR06CA0763.eurprd06.prod.outlook.com (2603:10a6:20b:484::17) by HE1PR0801MB2042.eurprd08.prod.outlook.com (2603:10a6:3:51::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.31; Tue, 5 Apr 2022 16:03:02 +0000 Received: from VE1EUR03FT053.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:484:cafe::d4) by AS9PR06CA0763.outlook.office365.com (2603:10a6:20b:484::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.30 via Frontend Transport; Tue, 5 Apr 2022 16:03:02 +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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT053.mail.protection.outlook.com (10.152.19.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.19 via Frontend Transport; Tue, 5 Apr 2022 16:03:02 +0000 Received: ("Tessian outbound facaf1373bbd:v118"); Tue, 05 Apr 2022 16:03:01 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 69c3b64c61178b52 X-CR-MTA-TID: 64aa7808 Received: from ef884922a0a8.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 59853A9C-9B83-4161-8462-7FD13A26B721.1; Tue, 05 Apr 2022 16:02:54 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ef884922a0a8.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 05 Apr 2022 16:02:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bGmWusmpzrbQUN7gxoELd2L0gG/sJdQXj+t5ZL3B1ck9oNiiOiCYBUb9nnr863jYQWCSkY9PgOQ+fFr5WIPeso+Ubt4m0G6bfg9NSWC/Um8k29wK78QzDclBxjcx55EkaciGZqjKm/EbBpRA6BN150CvN0Ev6OhZjwPd19ADHA70R115Z7iYy7r4xyhXJVK0ZOG+QF7pwKzpYoJC7LxUqqC24oCV/tRsLrMv/sidm+drPP8IX4/8/xn/GK5mqRN4h08T0TBhpBzKUNR39SYlwYaTSuKyfLwnk3Yi+IxA77F/pduUA5lj2Jt/IRchUr9KqYnyi/1lh1FjF8RaCdItPA== 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=KQHoXwRsodOcp0au6cLYx80Ils3WGyDbNN6bS+nBejM=; b=efrM05drI7GQA79D8hCwh4oF+ojSe6UVMFjNGIC29Oqm+JvfTeQ9A6f7aBohk51VuD5suslQCGXm80ySlSIetZ9BE23RncMSLoz1BXeJabwBcM8Vk/DCblbyszMNLUOjnveJVJgm4RptumZsG8ANIhKi5aY8JJYGGiQKc5kaxFAgexqMVJFbd319s8KXLUfpY5o4Q3PFfs3fCcHQlccy+FAFmErPZh0cPHppdL2dUYHGrejLOGdta151d8ZVSl7/hOx/dHcoDrLYXXTp+uAVHHgVInubeW++WFpvCy4OIh7XeuE6SQK7CC5MXEcOrms3aIT9qbKSQuffVWit7pGMWw== 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=KQHoXwRsodOcp0au6cLYx80Ils3WGyDbNN6bS+nBejM=; b=DoYRlBCgqum79GSxLdiBwVKCHvvaVSwzMdmzZEPMljP01zdkFfkz7q/vAYLy0Oix7SuIHoYhkawhzDpWzJSB/ME38Ngn1zrVCRH2JtBD3RxFeR7+Ky64FLq0i5sMJyp6fLngOXzK2jK/GLaS/uCAjG09k/gMeSOn18JuEVwgfYE= Received: from AS9PR06CA0565.eurprd06.prod.outlook.com (2603:10a6:20b:485::34) by AM0PR08MB5458.eurprd08.prod.outlook.com (2603:10a6:208:185::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.31; Tue, 5 Apr 2022 16:02:53 +0000 Received: from AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:485:cafe::1) by AS9PR06CA0565.outlook.office365.com (2603:10a6:20b:485::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.31 via Frontend Transport; Tue, 5 Apr 2022 16:02:53 +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; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT024.mail.protection.outlook.com (10.152.16.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5123.19 via Frontend Transport; Tue, 5 Apr 2022 16:02:53 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.27; Tue, 5 Apr 2022 16:02:55 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.27; Tue, 5 Apr 2022 16:02:48 +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.2308.27 via Frontend Transport; Tue, 5 Apr 2022 16:02:54 +0000 From: Joey Gouly To: CC: , , , , , , Subject: [PATCH v1 0/2] Enable orphan-handling=warn for VDSO Date: Tue, 5 Apr 2022 17:02:44 +0100 Message-ID: <20220405160246.1991-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: 7a587db7-725d-49e5-a498-08da171dc32e X-MS-TrafficTypeDiagnostic: AM0PR08MB5458:EE_|VE1EUR03FT053:EE_|HE1PR0801MB2042:EE_ X-Microsoft-Antispam-PRVS: 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: zJN6/KyOXfvmfMG3IYsFcW8q7btjI+Bdkqe6e/Ujx8+iF44WDhejuoIr0+6pjteH/QFxYBj4FcaLwDS8a5MK4jLX8zXO/Z+00JhjluYlPnHTe/wKyLCZQWUPLm47rrr8mcxej0SRpbBorWsk1hOumxp/td1mD8oDLQPeo09MobqKWfvr5Sh5Ve4RflL0+DYFPiXzjh92wE1RlQP3rfcC3M+0CCzUS8kSfPqw21yUvZ0FQf8cX26O+Yhv1VIuv5Iwryi+dOBg/zAQCBezIGYDHD4o8uHzCtVpzIkZQx+CVHRiN5BIblNCBWm807HmrJOyR0VM6Fi2YbQ97xUNJ1flwdYi/jOcdl1+8sAIgKldcYYTsNQwGd8Q9J61Kx9qPNYZRr5Dk4aW5/4MFUiXGQtbEeV7sEbJ78ZK4qdwkSeKBob0XSpsiDmnuZMSo3z+otlWipQWUqQ9q93e6CcLe5S3ZIxgWasgMiHoBrrN6tI3vb67Z3383KisPz3IFahot7St8wIFVkIqq/GIDU15+5XktgjgZuT7/REY3+AXvuDJf7GD9E71r2DwVvhQXqCjWym+70qeWvBeH0nir7Gf6hYdrA2lDUBGzvFIUUjutz3NZ3vY3Huu5NzRR8QkBXInQ2eWnqRLBDdMI52mo8ysHH0zuBOMA/hkHCh8kM7s5heXOBGXpf/rLFw2Zz2BvL+NoDs37UtKCaY0FrkPXvja1YMPiA== 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:(13230001)(4636009)(40470700004)(36840700001)(46966006)(47076005)(4744005)(36860700001)(2906002)(44832011)(8936002)(36756003)(86362001)(5660300002)(1076003)(81166007)(356005)(6666004)(316002)(70586007)(4326008)(82310400005)(8676002)(40460700003)(2616005)(54906003)(336012)(7696005)(426003)(508600001)(186003)(83380400001)(26005)(6916009)(70206006)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5458 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT053.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a64fbba3-e1fc-4b7b-f220-08da171dbe12 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y0+2N/5qP9IRkhlbuvY4WkL+jW8fj9yj63pTgfl4d9MUgQ5qDBblMI+F+RX+59tbELxlCzx/kbuWmQPNkI7HULKehNfUHU1HG6UppreCjiSYyG1oDV0mf5huNCB6yCwelCZjqaJcDfGEG5G4T7iSEuLoVIkRKNks/xxT9Y/LNxStgmT2AlFQleoyN7oGNro2OZGPSa9xz09L65LXGdIVIYQOSO3Zaz0hP5RIWfzpmsVutxjTMXbgbjT1FPFPhJd6t9xfAAzvDUQlYXuON263Uki70C9JhEXA65Ywie1kGeIdy3LW0kLwmERDSFO/ADtPCR8gk3lBJPQ73p4tTy/DL7pbeCsb3SadWWtCWVYHnjqrBqmcPYoQhkPSzMqs0mdnCYRdXiQltUQSbASYszyZDe/gHD2HGlU+xcYnSxDyrOLfTrZqd5kEJEUjf0qutK7i0NXHaVhmvKDdV+2aLsRgBUSPo0X1kFxvEuKfM7ZedLi7twLGJH/6HYCrbLlan4SvDO39UvN172cbwVrGeBjiN4/VOczCn3/ZZJPQ3911DPgM+jklzZKpmpvDcnPwy7CR5FxJPBfzchpJUGgqTOVe1brwU4PgVfl5GIOzdwmvdlE90KSgOAFWXJSdeNb6Cejro4n/gkxrxVg25ECf3/2KEbGSqOGXkjoxhq0d+wtIhW2vU4oedy888ue4psICfiWa 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:(13230001)(4636009)(36840700001)(46966006)(40470700004)(70206006)(81166007)(7696005)(6666004)(4326008)(86362001)(83380400001)(40460700003)(316002)(8676002)(54906003)(6916009)(70586007)(508600001)(26005)(1076003)(47076005)(36860700001)(82310400005)(186003)(36756003)(426003)(336012)(44832011)(8936002)(4744005)(5660300002)(2906002)(2616005)(107886003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2022 16:03:02.1327 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7a587db7-725d-49e5-a498-08da171dc32e 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: VE1EUR03FT053.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB2042 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220405_090311_454725_BA79F239 X-CRM114-Status: UNSURE ( 7.63 ) 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 small series enables the orphan-handling linker flag for the VDSO. This could catch subtle errors if features that use special sections are introduced into the VDSO implementation. Thanks, Joey Joey Gouly (2): arm64: vdso: put ELF related sections in the linker script arm64: vdso: enable orphan handling for VDSO arch/arm64/kernel/vdso/Makefile | 8 +++++++- arch/arm64/kernel/vdso/vdso.lds.S | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-)