Message ID | 20220414104611.17748-3-joey.gouly@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 3FEADC433EF for <linux-arm-kernel@archiver.kernel.org>; Thu, 14 Apr 2022 10:49:02 +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:References:In-Reply-To: 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: List-Owner; bh=WFG/AV7AflXrAc+VA9KUymA05Jsdypvj8n6szYjkg4E=; b=iKaSyrKYdyRmbH 3Z7r/QjOp/CuGhqOZpLHAofaCSAwIzwqewr/kqSESdXepOXzDWp4dJWxNd9jFl8QKi2uhZ37HnLJA kkx5TFZls15CH8nxjmrPJPq/byaP45u80YS/NFg/X1VJhVuxTasZM+RYh9sjIO9CfJr0XKFFA3Dms bJn8jzZtEmbnIJtWBfM7DsHm5OfOFZ1Nb5tW3VxScFNISU41rc9aLf6KFt7E6AAlBwpbFquuupli3 7V8peTgIyWVml2hxBDe3EvrYt2RDOuM3YMKtij2HEGrUtkdNYbzrkEF0MLmYTiXCIfLT9BX2ya33s Pyg2W8eIAhd6e6+Ua8+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nex0t-005Bhs-B2; Thu, 14 Apr 2022 10:47:49 +0000 Received: from mail-db3eur04on062e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::62e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1newzt-005BPK-4M for linux-arm-kernel@lists.infradead.org; Thu, 14 Apr 2022 10:46:46 +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=qJC6qb560ILk5EtQmr15Z1Qu2o3kT8peovqn5Siu0KE=; b=Qr0/Jf+h0WWYLpOGDLryYahSRv1Uz/jO7IPOYpBGHfRZMRc3BdS6zXF4X4+wI8F28zWXVuS3nHdV3ckTZwy3wvUEex+LNWGv+WqzFYmIO7H6KhNNuyYTMSSQCad5IbIfsJBIsqyZqmoIC7+Da+fDGtcxiTFWDRykYSEY7zTFU1c= Received: from DB7PR05CA0057.eurprd05.prod.outlook.com (2603:10a6:10:2e::34) by PAXPR08MB6893.eurprd08.prod.outlook.com (2603:10a6:102:13f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Thu, 14 Apr 2022 10:46:40 +0000 Received: from DB5EUR03FT028.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::c8) by DB7PR05CA0057.outlook.office365.com (2603:10a6:10:2e::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.18 via Frontend Transport; Thu, 14 Apr 2022 10:46:40 +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 DB5EUR03FT028.mail.protection.outlook.com (10.152.20.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.19 via Frontend Transport; Thu, 14 Apr 2022 10:46:40 +0000 Received: ("Tessian outbound 2d401af10eb3:v118"); Thu, 14 Apr 2022 10:46:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7c0f4c1cec93a043 X-CR-MTA-TID: 64aa7808 Received: from 26d982f2f0f7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 32CCD2DB-7628-4B12-930F-CE19301E4228.1; Thu, 14 Apr 2022 10:46:32 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 26d982f2f0f7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 14 Apr 2022 10:46:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G6asJkS4toZy5pX1/BvQy2foG+Pg4PXPaXG+bEWckHrOWEqRYlYmZXIKmKhLDD7ExetQ+CyKsbnhZiRQcznSBTMEuv+LBfMIK5PtO/2u2+MJHrBhLg2Np2MbSAgmL7NcH+cVA0itqJl/fPY3m9HPSclOEmNFOvA5yY50S8GZP6jbinkX/u2EkAh9x+KUHAd8uMw7q+cFj5TMw5ELh9/YTxQ4AwZHB7LDZq/jBF2YIzTmm7WNrPDhH5fGhPbD7WdveUlxXIdKPObQF+kTiNixlt42waePrZ5MpU501BzR7FeMcJ8LImCJPmuRhey2BZpuLKFLZlqOfITNYEEZomI9SQ== 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=qJC6qb560ILk5EtQmr15Z1Qu2o3kT8peovqn5Siu0KE=; b=Z+bgwTZOS8moyhgFCv60DGAN8OpgbLYRGPAWPLuF0vIEVN7mArxASuAXDxhtilmrOTHh+K36Z8l+zu2OY5O7mbXBlYFzil/FjTLjNQ9HcejcFgXU/+mzWmcIlUgqdIoI4E2cS59TYtBR0eubMvwA2nEUaniASVVOjTNE7Yx+s1pF+k9/Fg8LbHsv1ALreV9Oqo5ZrD/CdWJLXccYXR6a+QZOQ5yg3RlAEoKtaYBBAUnl9ZCaNfEqfRkrOoTBFUSEMf0HtUDiI7X7/y/QzekqIhjjMX75F/ZeJ5t/nRWtX3MKQASlu3XIkyHIhVuSEQ8Nd4MPZf6dmwy0cLQl+DdIeQ== 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=qJC6qb560ILk5EtQmr15Z1Qu2o3kT8peovqn5Siu0KE=; b=Qr0/Jf+h0WWYLpOGDLryYahSRv1Uz/jO7IPOYpBGHfRZMRc3BdS6zXF4X4+wI8F28zWXVuS3nHdV3ckTZwy3wvUEex+LNWGv+WqzFYmIO7H6KhNNuyYTMSSQCad5IbIfsJBIsqyZqmoIC7+Da+fDGtcxiTFWDRykYSEY7zTFU1c= Received: from AS9PR06CA0398.eurprd06.prod.outlook.com (2603:10a6:20b:461::17) by DB8PR08MB5482.eurprd08.prod.outlook.com (2603:10a6:10:116::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Thu, 14 Apr 2022 10:46:30 +0000 Received: from AM5EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:461:cafe::4c) by AS9PR06CA0398.outlook.office365.com (2603:10a6:20b:461::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.19 via Frontend Transport; Thu, 14 Apr 2022 10:46:30 +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 AM5EUR03FT046.mail.protection.outlook.com (10.152.16.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5164.19 via Frontend Transport; Thu, 14 Apr 2022 10:46:30 +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; Thu, 14 Apr 2022 10:46:30 +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; Thu, 14 Apr 2022 10:46:21 +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; Thu, 14 Apr 2022 10:46:29 +0000 From: Joey Gouly <joey.gouly@arm.com> To: <linux-arm-kernel@lists.infradead.org> CC: <nd@arm.com>, <catalin.marinas@arm.com>, <joey.gouly@arm.com>, <keescook@chromium.org>, <masahiroy@kernel.org>, <vincenzo.frascino@arm.com>, <will@kernel.org> Subject: [PATCH v4 2/4] arm64: vdso: enable orphan handling for VDSO Date: Thu, 14 Apr 2022 11:46:09 +0100 Message-ID: <20220414104611.17748-3-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220414104611.17748-1-joey.gouly@arm.com> References: <20220414104611.17748-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: df5d42a6-5322-4686-12eb-08da1e040eb1 X-MS-TrafficTypeDiagnostic: DB8PR08MB5482:EE_|DB5EUR03FT028:EE_|PAXPR08MB6893:EE_ X-Microsoft-Antispam-PRVS: <PAXPR08MB6893BABED15B1A77426A041F94EF9@PAXPR08MB6893.eurprd08.prod.outlook.com> 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: heBTax779WjbOBYVdqWXmjZfEeR4AnO9oOC/7KXWwrBN18pIquY+zLynTu+tiuIk6CcvWDBPBw/dfyKYrS4sx6a6Hn0CPOGI7YCYod6LCzW10pak9WslJmunzY5yQ5nn0/7O8CWo/xOcCwLMlrzmgonIvk+f2hpppXWlURvV6CAaGs2CzQbzn8jAKXrTiLoxkp1PnmOKIbatjIVrvTsE6NAF78Jzgj8kKHHKJMyuKzSI2M9A/DIbGRFFWxiwhVQO9R3JBKmbM6uAlT3JjEuip6/w5lWHAxgjHOB2elXH40NLSp64f/ijAzwedZqQNvyeDspCItN++XTJR4s43EaD/EjTawKdROFW5J+w0mZzYUdt1hJ7zzY81BR4p+htW+vj9rth41xqlImyNU0mXvHFSCc6h118BaAzJlGO8xZFqC7zOo9onabwT3FfNv8stznWNxWCUHzPv1YQycn3I/G0X/GS1Pv23QvTFRPklK0yHdUgwNYcVmjkVPHVrObk6P5dGx6g7l7o2ZCO7zocoQczy+s5cBhOulFH8/xUXKxwdkGKMNHF9mTdvCw8PJgYNqbvlQz9dRe4bg7ALEx0sF5hs7pzY1YhWaF5x+8TFlFh99nNHNgHPvSa4Si3z+Nkw/zY8nVQx/0RcJnNRFqYtGATAN9oxI5yGuxSpqKNRpJW4ZFgpuThY2eHwOc20vub6v9fEVOTWYj29tEiouvULQki9A== 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)(46966006)(36840700001)(6666004)(36860700001)(44832011)(356005)(6916009)(36756003)(54906003)(316002)(83380400001)(7696005)(1076003)(2906002)(508600001)(26005)(47076005)(5660300002)(186003)(426003)(336012)(86362001)(8936002)(40460700003)(8676002)(82310400005)(81166007)(70586007)(4326008)(2616005)(70206006)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5482 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT028.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: fb947326-a808-465d-d689-08da1e0408b1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DoYupZbOVYMfoq/M8mHJ3gJzHtTBmEr9FiLECWn8LjKCKR+ZIzggkJzDAWWtAkSENbS+gKaq6lecKbnd463Z32TBDgXepOphfR25Ltb9f0Zc/NoKqg2OVQWcNmZSR+cMaf4SrjYTlABR+/7iG5aqHv6Sc8gKjzXivFHnIuoDOqgM50K4NF1a6MLqeVKn4vYpb5n71kNQG42D80NAwrEvsXw2aDuU5BsMavKjMGOqSOz2PRoYBAe2jiHXUeBKpjUeinnCgoJuYUoP/QBRYI9sKsHg6+TtkkiM+j5I77h/8t0oQ0mb1/APOKVmL4xGrbRzpU+18CjXfEVPKTgn2hQO4ekudWUds74F3SWrLYjxRL/plg9ZmgbMnPl6LSGpzBkt6UKdTQv7OvshLevreR7o2RqkD+BJIyRA04pQEHNWgJueODnO9sO2mxuB6IP+meYTqlHK2nU38jX2BP0qK5e8xQT2ymPEZrXG69t5FQC0FcCgPMdLWaYbqQDx71wXxnxD1j+WTAhv2iZtBFTJQvfaGMeWfK/R5ZGv7m8iggQTSldeeKYy2cVW7Nu3PuGGB0dzPZL6aDn+llTCl6AGGH1V7E+cGHHt/Jnl/cEzdAxhYANspDR9Ab7JmtHXhAqxluYLhymQ+joPpEgUZY2up4xsVVkw0M6aqDe57fOJO9vZp2QQxzFXYGapXwE9zvnnbkuP 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)(46966006)(36840700001)(40470700004)(2616005)(186003)(26005)(54906003)(6916009)(107886003)(1076003)(40460700003)(336012)(426003)(7696005)(36756003)(82310400005)(47076005)(508600001)(36860700001)(2906002)(44832011)(86362001)(5660300002)(4326008)(81166007)(8676002)(70206006)(316002)(70586007)(6666004)(83380400001)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2022 10:46:40.1378 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: df5d42a6-5322-4686-12eb-08da1e040eb1 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: DB5EUR03FT028.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6893 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220414_034645_250536_115CA916 X-CRM114-Status: UNSURE ( 9.08 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series | Enable orphan-handling=warn for VDSO | expand |
diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile index 172452f79e46..623d9ad2c717 100644 --- a/arch/arm64/kernel/vdso/Makefile +++ b/arch/arm64/kernel/vdso/Makefile @@ -24,7 +24,13 @@ btildflags-$(CONFIG_ARM64_BTI_KERNEL) += -z force-bti # routines, as x86 does (see 6f121e548f83 ("x86, vdso: Reimplement vdso.so # preparation in build-time C")). ldflags-y := -shared -soname=linux-vdso.so.1 --hash-style=sysv \ - -Bsymbolic --build-id=sha1 -n $(btildflags-y) -T + -Bsymbolic --build-id=sha1 -n $(btildflags-y) + +ifdef CONFIG_LD_ORPHAN_WARN + ldflags-y += --orphan-handling=warn +endif + +ldflags-y += -T ccflags-y := -fno-common -fno-builtin -fno-stack-protector -ffixed-x18 ccflags-y += -DDISABLE_BRANCH_PROFILING -DBUILD_VDSO