Message ID | ae3f21f6-6a66-2fe5-9d4a-3f93e6dd64d7@suse.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <xen-devel-bounces@lists.xenproject.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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 54EA0C3DA7D for <xen-devel@archiver.kernel.org>; Thu, 5 Jan 2023 11:11:11 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.471807.731810 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1pDO9E-0008DN-DM; Thu, 05 Jan 2023 11:11:00 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 471807.731810; Thu, 05 Jan 2023 11:11:00 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1pDO9E-0008DG-8p; Thu, 05 Jan 2023 11:11:00 +0000 Received: by outflank-mailman (input) for mailman id 471807; Thu, 05 Jan 2023 11:10:58 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <SRS0=lIpW=5C=suse.com=JBeulich@srs-se1.protection.inumbo.net>) id 1pDO9C-0008D0-Ns for xen-devel@lists.xenproject.org; Thu, 05 Jan 2023 11:10:58 +0000 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2080.outbound.protection.outlook.com [40.107.249.80]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id a0e0defa-8ce9-11ed-91b6-6bf2151ebd3b; Thu, 05 Jan 2023 12:10:57 +0100 (CET) Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by AM0PR04MB6929.eurprd04.prod.outlook.com (2603:10a6:208:181::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Thu, 5 Jan 2023 11:10:56 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::2991:58a4:e308:4389]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::2991:58a4:e308:4389%7]) with mapi id 15.20.5944.019; Thu, 5 Jan 2023 11:10:56 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> X-Inumbo-ID: a0e0defa-8ce9-11ed-91b6-6bf2151ebd3b ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AWZoSVZvVS+yUg0EpG/vMUAWdVh7Qo1rQaUII+hhTEbOZzXd40K+Xfg1Bsb2St6lhcHH+X3KuvXCBVu9lk7DgMwvPua9effvt/RTqnGYzkEm/4dpJfA4tyMi1euxjP3jSMAO2k9tbIYnUZje0xREeiJfFMo93SMDuOXes9+Zr6DrAj75wvJRFhrtiQ0HrtY9iEeOccAJE4zpTFjLu/CNFLMAItB+HCl7xZSb11DEkkw1Ne5ubIwEihcMG/mp9f5Lvzfk7ZniUDKF9T1vf+7wUW2uBGMcS6EccPQgFizn4yV/CoF+NqDxyHlARI/OlsUl/fb6W25l165lsjRMKklPgQ== 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=iUugKwc+XLh8jVo+BdOIcApbl8H5L6XGAwjWzprilPQ=; b=MK31eb6SjI/yXHQ26o2U1qacXuWd5JhoFc+O3P3VcrwrmUMCgrCaQ8C4CucMhl4UZfUNo6FbH8EC+hzVC+OttvKYU/PQRA7hKkOj+Vm+ZlJGZs3imAxSQEnPgFu8O1hUydvafIIqbSem/RlN+Y3+r3s2xmUT/26oSWJyLQTXeiVJ6Cx9HI8e7i5o45tfKpK+MwSVsskFLiMoOk0c2WfxeI2XJfanVEOEHwMgJybc0lvPLnO56KbxG16peR8uM5p/W+MVtWriRIJwm9IDFF5aYhZT4sYerbEb8ZZJBekDb9grUxTuR8U3rJmzkXc82e5qspT0ZggBMV1MLyQIAt0XtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iUugKwc+XLh8jVo+BdOIcApbl8H5L6XGAwjWzprilPQ=; b=ODjQ5kewyuCXTJX3CKR0265bER3XIRcv/DPSRzYl7EGk0lOdTTUJZDI1mq2OhZRxxfoIQdG/BD1OXGjMOmvD8Uo8tYdW6O++q4Ea+hbbA/rxPU026cldN8SJJa91C1Qn6urKZ0V+QbIRu31t4xp0aaO08YVAfeCQYos+6oxUTqIjHcUBilTjLMI7TG7Yb8+ILUTVcRYtYNsrJO0vkULDtCiM+cTD4PAxtQRiW6Dhh4Wk/XGXl/9g6hfev+KHjwsbgZL00wEqkGVjX/22NjLb0AYu/tMqt0jDgGkjzmI3EWzNcU5ovFY0CbVYIrC42m4czmz/GSXTYiFsD19N2C4M3Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <ae3f21f6-6a66-2fe5-9d4a-3f93e6dd64d7@suse.com> Date: Thu, 5 Jan 2023 12:10:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org> Cc: Andrew Cooper <andrew.cooper3@citrix.com>, Wei Liu <wl@xen.org>, =?utf-8?q?Roger_Pau_Monn=C3=A9?= <roger.pau@citrix.com> From: Jan Beulich <jbeulich@suse.com> Subject: [PATCH 0/2] x86: adjustments to .fixup section handling Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0132.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::14) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|AM0PR04MB6929:EE_ X-MS-Office365-Filtering-Correlation-Id: 516afa8e-5c22-4e95-a115-08daef0d8429 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: moD69y5FSppqjtD+p6wntZ4D4cgsMjR4/ZGuXCAKFyPUm4zo6hCJm+cQdOgMxrL9PvXtXyAUW1WBSQINJJZ1Z8PIBz9IXQ/EWZkXCyDiJOY5OnJTw7FJM6/n+NQ7COS4tHvtmVNHczCG+Sp+ynHE3jiMWo+tdjOkp3lYaxKRdJlGL/cfNPi/bwX3hr/+R22lR9/xnJV8eS+vkYjPJ2qU0O4c3fNXRm4AQpPbLt6MVjuABCMkISikg5a+Ov+rMbvPGsjnRRftdkUUVQho3RJxwJw34brRD3PuWpzdxQM4AQZgtbWAb+bZcGYpnH0HEU06t0gGcQATQ7lTqZwalq8ZfhFJgNuPUOh1637ibw0rmur04wsoKdRZKl51pY0tWZactzgsvzrTzAITcPgXqt84YGEsyD3aEZfjzawbYaKpsSQMWEW3CJ+UZuJVJWFCiRP0Q2RdIG9BBUOas24+6FqaFxnu3/sXO8u4yzGDHw6ti4M382aEXt4qCvdyNSO9s+tVnhG+KsHD03FyB90+pESdHMPPhJDv/z/YYwWrF+PUJOxJtWfLRT2lJCgAcD7KvD6ZgMZRgyLXrP8hkuAwDuIBvjCzmLFu6KTetjT8VDNdz5D37I3IVuNGGDOrx8qYsq4qGfeHGKb9OqqwPVrXLKwRQx+1q5IuTNbpMwt/WcbjO0UaDi6b2DuliquwfatbTOADfpPu0VZ1TLvyt84VThp5xQTWdvd/9WhA5oSrOOn/P4j1RIKy1yrV4AM9NMU4W11F X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6560.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(346002)(366004)(396003)(376002)(136003)(451199015)(31686004)(5660300002)(316002)(8676002)(54906003)(6916009)(2906002)(41300700001)(4326008)(66556008)(66476007)(8936002)(66946007)(6486002)(6506007)(478600001)(36756003)(186003)(86362001)(26005)(2616005)(6512007)(558084003)(31696002)(38100700002)(142923001)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?bflXTWUtp5zTX5T/nCt5hA4djCWs?= =?utf-8?q?nS0HGHEYodC6BTJ80aA4EgbvqqoBDFAqLkTeKESKW0XtC3+Z+/BEPrwCEiUztH4pP?= =?utf-8?q?Md0Gq5tqeJMYLuR7hPfRkqXZ4YUliLn9ysBrF2DCGWjU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VafDXO3?= =?utf-8?q?49nZ4CoRdpNjlXEk1BbB6WvA0vOLDr6QKkX8SnE1d/WTRsr4y30jymC1eRrWruyvf?= =?utf-8?q?myrYg6sE+FMTe2Jv58Z8N0We8xTJlAfAiundbz2GSkMYeeI1++NuO7BoGHOQr6JWb?= =?utf-8?q?at/SKGenqMSuhbLe6d47vPz5FD+MuWXMuWhKEEY1UdA5NVTztl/PhEYEjpMG6HIXp?= =?utf-8?q?dR2AaeaItc2DbHn9YqyeH2PQp/shORgnkR5hQq/emlCZQ/uhVtOrhGvdjI5vs+Q6h?= =?utf-8?q?EuVFDo69omqNudKyTmMSf3hET1aKGua8Or6oBg1BCee3lk7icweCwLFQb899gsyBv?= =?utf-8?q?oXBJ3OBkWBweWPp4MKRIxBohq0zp92MkHTu/BVDrZrDlbvncKhfBa3NmwkCoKv17e?= =?utf-8?q?CRRlgjwDCxUKY4xGzbFYw5XoEUvCbwKoYPrkejRCQps1cfio+GUh5HzARHXwSbAYy?= =?utf-8?q?nKtHZWsXI9G3DtwAsKZzxZ1UxtaIJrIRUEzueY01y+Z6UM4IlfHqk0EFqKPS1sI9A?= =?utf-8?q?/UY9e7AvviqR?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 516afa8e-5c22-4e95-a115-08daef0d8429 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2023 11:10:56.0092 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: padRoTB60SLNRoV3a9fmw9Zx70KJNpLIH6RdmH90E4ma+DKGhHbt/ybxFqKBIQbdgO/kIm++gEWMzdY8YaXtMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6929 |
Series |
x86: adjustments to .fixup section handling
|
expand
|
On 05/01/2023 11:10 am, Jan Beulich wrote: > 1: macroize switches to/from .fixup section > 2: split .fixup section with new enough gas > > Jan Honestly, I was planning to make another effort to up the minimum compiler versions to something which supports asm goto, and delete .fixup entirely. This is a prerequisite for taking objtool and using ORC unwinding. The use of the fixup section in the first place actually interferes with backtraces; most uses can be removed with some tweaks (and tightening overall) to the extable handling mechanism, but the VMX VM* instructions (needing jae err) in particular can't use extable. Given that we want to do this for several reasons anyway, I'm not sure the added complexity here is useful. As for extable size note, splitting into two tables will complicate the lookup logic at runtime. And even by splitting the table, you're only reducing the search length by less than 1 step. I don't see splitting the tables turning out to be a win, but there is a far simpler option I think. Table is sorted by address, so all we need to do is make extable_end[] variable, and move it forward when we free .init, at which point we only binary search through the first part of the table. ~Andrew