From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2045.outbound.protection.outlook.com [40.107.21.45]) by sourceware.org (Postfix) with ESMTPS id BD3A23858D28 for ; Fri, 12 Aug 2022 16:44:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BD3A23858D28 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=oaC6ajOgcXkWGmWw6I+Cv+OA+lpt/gB/NeDXU5/zdSf/6wshXAg7F0tj4Fehxh4Fh+LR/T/OhCKdP2O3aToetpA+RKdCpLQNkyb60BIQfEFETUQ5JHCIjq25qr6/SCVQCSRTPA37evpacTz4GjkUIPLivKvSlFFmJb7P4O+Nk24Mq16FuoLThViKBkPqd7BIm9/wNtgO3FE8v18d+6DeCgcURXFYsdlBDYfoTA/78H9+u3Mn6oee6Tlgmxrf3OjwcYV8QP/hpXKEkD8TuLuefAia4u5y3KSbmP0lFSEJ4UVxU7zrtEagqo6xpFyaF6dasMySn29p8WaOymIqJqzWTw== 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=XuWELxnu1GGrP8yy/NxpgqprM44m/ptG1cNcFEY9W5s=; b=BFrTVYrAaoRgzmRdSXJCekssblL9XWEweV8Ucl2/x0B600ZS7Xel7W+lz487zU9syvuDjVyaFRUGWzh9wl6nRYUG9ZSuXKuOIEQ3b2Gz1mcjx6Z5kVZyE5zgxj0GDrisUhtsdtlxA5OHoFmMVZ8cn03xowijTcICOW2ZjMAfVupFY8NAT2ATY/M9fdPKpk0qVT/UpXS8UaaDoNwdGkkNtqMYZ9FtZ+Ljl3DcRpfCs75lXbxDWMoFmPtBET0tbHTTMpqqcMbvxuFXHy23crKzZiwHE2HT+ew8FgHev4asY/ydrqb/pvLA6DElMzQO3euNS0yFeIeaU8a+I/BNLMDXmQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.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]) Received: from AM5PR1001CA0042.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:15::19) by AM0PR08MB3505.eurprd08.prod.outlook.com (2603:10a6:208:da::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.10; Fri, 12 Aug 2022 16:44:25 +0000 Received: from VE1EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:15:cafe::d2) by AM5PR1001CA0042.outlook.office365.com (2603:10a6:206:15::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.11 via Frontend Transport; Fri, 12 Aug 2022 16:44:25 +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 VE1EUR03FT039.mail.protection.outlook.com (10.152.19.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.11 via Frontend Transport; Fri, 12 Aug 2022 16:44:24 +0000 Received: ("Tessian outbound fccf984e7173:v123"); Fri, 12 Aug 2022 16:44:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0dc0ce4a2d647cc3 X-CR-MTA-TID: 64aa7808 Received: from b13333594986.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CDF90949-C9A7-4E37-A0AE-43A3DEB0270D.1; Fri, 12 Aug 2022 16:44:18 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b13333594986.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 12 Aug 2022 16:44:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W2w1OknNHV9/5ddMTcsZpGCMrHanElzmSKjFm8Z3R59S+Rvo9/g4BCqVe0rNFxPTJJXQFhsVvTlobZfqttpgGldjxyncjC/qu8mb4jsaE2O9RFS3mJJFTMPZQDiR6qiCL5ZaKqXOB13BCwKC1PjFxx7swmHfnc8cPuGXN0i9Fb2y0adrVBauWiJf2IiaLrFPTdX2kN684yavqvdqwogn8oJs7Ol6Tv68hCcM5lrM5xKA2yVRQGGrXmddIcJWv+ZNtWXnZs2TUNlABQIofM5MngL0sR2WF10LEOho8/PEFDineeIXdgFg8lQHfYZKjC63OcH2w8wcSDb0Acjz9rNJ2w== 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=XuWELxnu1GGrP8yy/NxpgqprM44m/ptG1cNcFEY9W5s=; b=Y7KRCbAaT6okFPOZ4Qr5vq3krBvZD6oQjUg6D/s/0Qdjl10c4y3l16k/FZF0I1lZ/hlMnfIX2kWYJawa2V79jzLBAzbLsC9GKNqpN42AGF6xSNkuT8LbCdcTScRzt670oMpmUT1Wj8E1aCal26y4aSTf2AwSyarEqZufrmcAwhRR2QceM026aS3SjFjyVZaK/TzXgHSaeoaDKw8G0WBzGn6DGbxB0EFvWsl2AScxlwFY9ZFWfaoLC1aVyFZazuPbaJwMyspm7eXo4Nh3oGnWP1xdc6YdxFrAYDps8fhyEIAOPLP6FwQwZEpoBtxFyXZi61y0j/lkl6agcns0fTTtjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=gcc.gnu.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 Received: from DB6PR0301CA0036.eurprd03.prod.outlook.com (2603:10a6:4:3e::46) by AM6PR08MB3909.eurprd08.prod.outlook.com (2603:10a6:20b:8e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14; Fri, 12 Aug 2022 16:44:16 +0000 Received: from DBAEUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::c3) by DB6PR0301CA0036.outlook.office365.com (2603:10a6:4:3e::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.14 via Frontend Transport; Fri, 12 Aug 2022 16:44:16 +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 DBAEUR03FT060.mail.protection.outlook.com (100.127.142.238) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5525.11 via Frontend Transport; Fri, 12 Aug 2022 16:44:15 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Fri, 12 Aug 2022 16:44:15 +0000 Received: from e124257 (10.34.105.24) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9 via Frontend Transport; Fri, 12 Aug 2022 16:44:14 +0000 From: Andrea Corallo To: Andrea Corallo via Gcc-patches CC: Richard Earnshaw , nd Subject: Re: [PATCH 0/15] arm: Enables return address verification and branch target identification on Cortex-M References: Date: Fri, 12 Aug 2022 18:44:14 +0200 In-Reply-To: (Andrea Corallo via Gcc-patches's message of "Fri, 12 Aug 2022 16:26:49 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 0ab1b820-f504-49ac-c02d-08da7c81ea2f X-MS-TrafficTypeDiagnostic: AM6PR08MB3909:EE_|VE1EUR03FT039:EE_|AM0PR08MB3505: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: hwk9L2ywEBB65oEhXbVvJapTCGSlOw55KiWX7CO3d6lcEZ6l7stOVLLEX89Xz5ieuKX71OSWj+2R3mzvCoxO7fJBn35F2CzGXUD230mZUr1KOh1WSTPNVta9d7ReLoHV1glfoo2TqNQhsDnMBtFYJMXMAis+WnNBfbI5Zv4ra3jct0ezxVgTiBXhiaT4AJUkCBiKlJIZiVoOkFzZ3vsI6+Yhgi6OpimkN9DBScSTZzl6yJEg7KRcLcoQDqiLvb0Wc5suXMTFEg/A7HboEDnUdXndW9RfbVK8OzPtVUQRBEjSL0iYnsqAfM5Lqmxmi5ZfymHg6q6pHLYGmVB2by/uK6A9uv4MygRJLtRcnCsam4kxG1re6h7ptROxCaWtgwOg31s2JgTedPSH6G4Q62p0lD8wxFukTo1lcMkw32mtFG1PHFMNVZq33WESXWDMuqOZwp0XwKEliwa2JA9Zds07DdK0ivFUTVGv3GXv6gdK/19bksBuurNTk/rif5l3kjAx41TDgb3GiJQiRLFw4o6q8W5/pqzYIvEFfgkQO5fY52Lc+sHvrn7Ph9XnPXEFRU9bH11XIr1x/QTBleO+IJkiKPDenBM78En039ApWQftNO3cLDSnSf7bk8lN1qHWQFHI/mvQkzGrkPXGOc/1sqfD2Z979kuok3gDvz37T77KxzI0EVwqvKd51k+H/iw46ym38pi61hxcGUET0x2R8VQMl2ct9k7asqLmDc11R7jh6htLOrxqiR+8U6XPug5pUg3iTbVtfGZ3oXkhfhcENLjxuCEYXirqKK7e3SVxBIWvptA= 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)(136003)(376002)(39860400002)(346002)(396003)(46966006)(40470700004)(36840700001)(40460700003)(36756003)(2906002)(15650500001)(83380400001)(40480700001)(4744005)(44832011)(82740400003)(5660300002)(36860700001)(8936002)(41300700001)(4326008)(8676002)(47076005)(426003)(81166007)(2616005)(70206006)(70586007)(186003)(336012)(356005)(478600001)(316002)(54906003)(82310400005)(6916009)(26005)(86362001)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3909 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 0878856d-7c16-46af-0d71-08da7c81e4e0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ml+WgqT50P7mnQglvIcRhqAFxCYXBVNt02BTDXnLjFqgLAxtfUlo+4piKFEDXtWJqqX4qibC023/SbV4MuynxoXWVRSedz8zZ101/dKyY3yl6EkgSNbXazDW23nxCjsRK5p8atVof4Lbsnz1KBxmxn1OjFdGsrpQuLO5vG4ha1O9AC0YbEMopF/ER/6HrCXiipkn6CMKvD3uSxjl9wEaVzJ0UgVSOpLiQyaKddHGOoDoQdNV3JqVT4e1PBLgEmtIGjgsvYmHjN9lDaNEwXW3ZOkpT4mX0LtSbqQw2uBp5gYwasxj8x5QxmwUlOHWrfFYpVbe3cdJbMUy9Hy/pMPi4t0Gtp4ZClnW0SAYISJ7lKMI18Tf2p67wPn+35tIS/THCADkJqe5YkXefTZjCV/cGKqSWSN2owGLEDLqIJBSA7nF1iuEW0QhvHdxFhtA2Uu1UyCKQxtN0njJCIoxMKUv10dM9WSB9UZIXBIkQjsPJK3c68jsDGo31rD0IlFvzkwNgYjyNvNudFxQdV6ZTPxuJrOsJ2YwypfyVZZOYQapb2blGissJdGxL0hRB2E+iYbNqR7BWWP3NQISxpg4sqbfc4yYoNheoGO+ZHZAkZoW9vqsv56fRcRo60pCw+D/LYv8nqgX+9T6vmzoXnlYuQBTzvNsCnigpeuDfDHU8/EwBKENKwglWOKACZ9+HNY5sIcC1L6J/Df0Pm+oczroDfycCUda9rTJdE9QJ/wQ4a80JZRfkitJeBrXhxQsD3UBR/wW 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)(136003)(376002)(39860400002)(346002)(396003)(46966006)(36840700001)(40470700004)(336012)(6916009)(40480700001)(54906003)(47076005)(2616005)(426003)(478600001)(41300700001)(82310400005)(316002)(186003)(86362001)(26005)(82740400003)(40460700003)(81166007)(83380400001)(8936002)(2906002)(8676002)(44832011)(36860700001)(4326008)(5660300002)(70586007)(36756003)(70206006)(15650500001)(4744005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2022 16:44:24.6876 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0ab1b820-f504-49ac-c02d-08da7c81ea2f 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: VE1EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3505 X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2022 16:44:38 -0000 Andrea Corallo via Gcc-patches writes: > Hi all, > > as I respinned few patches, dropped one and added another, I'm reposting > this series thant enables return address verification and branch target > identification based on Armv8.1-M Pointer Authentication and Branch > Target Identification Extension [1] for Arm Cortex-M. > > This feature is controlled by the newly introduced '-mbranch-protection' > option, contextually the Armv8.1-M Mainline target feature '+pacbti' is > added. > > Best Regards > > Andrea > > [1] > Hi all, FYI I've pushed these rebased on gcc-12 in 'endors/ARM/arm-12-m-pacbti'. Best Regards Andrea