From patchwork Thu Mar 10 15:08:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 12776542 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 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 6D0EEC433F5 for ; Thu, 10 Mar 2022 15:12:03 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.288429.489057 (Exim 4.92) (envelope-from ) id 1nSKS8-0006eD-Fi; Thu, 10 Mar 2022 15:11:44 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 288429.489057; Thu, 10 Mar 2022 15:11:44 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nSKS8-0006e6-Ce; Thu, 10 Mar 2022 15:11:44 +0000 Received: by outflank-mailman (input) for mailman id 288429; Thu, 10 Mar 2022 15:11:42 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nSKS6-0006dy-Jg for xen-devel@lists.xenproject.org; Thu, 10 Mar 2022 15:11:42 +0000 Received: from esa3.hc3370-68.iphmx.com (esa3.hc3370-68.iphmx.com [216.71.145.155]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 5a94fb2e-a084-11ec-853a-5f4723681683; Thu, 10 Mar 2022 16:11:27 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 5a94fb2e-a084-11ec-853a-5f4723681683 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1646925100; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=6lltD7RbU95+l7kCtzVlCPCZzcfOoZJ1ClNq1SLzFtA=; b=g47g8Ud7NYp0zPcnzbHympIqIUhoKJcTGbJGW12EliY26ZBE5FPmpyVS qfj+zACJEzsiFQ/MzggWrZNrdUG72QZVlLfe4IFQdD6Gp8HcKO08FOIu1 kkM358hJS1juO2paMjKXR9v0XsMJt4doStoAhGa7FiiSnpCbKMkVsgco3 U=; Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com X-SBRS: 5.1 X-MesageID: 65923541 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:Awc0qqu1g6peyPfyPthiAG928ufnVE1eMUV32f8akzHdYApBsoF/q tZmKWCAbP/ZZjbyfdhxOYWxoBgH7JOHmt4wTVA4pCgzFyND+JbJXdiXEBz9bniYRiHhoOOLz Cm8hv3odp1coqr0/0/1WlTZhSAgk/nOHNIQMcacUsxLbVYMpBwJ1FQyw4bVvqYy2YLjW1jU4 YuoyyHiEATNNwBcYzp8B52r8HuDjNyq0N/PlgVjDRzjlAa2e0g9VPrzF4noR5fLatA88tqBb /TC1NmEElbxpH/BPD8HfoHTKSXmSpaKVeSHZ+E/t6KK2nCurQRquko32WZ1he66RFxlkvgoo Oihu6BcRi9qFZTspOYGbyUHPHhQIKRl6Y/uIGqW5Jn7I03uKxMAwt1rBUAye4YZ5vx2ESdF8 vlwxDIlN07ZwbjsmfTiF7cq1p9LwMrDZevzvll6yj7UF7A+SI3rSKTW/95Imjw3g6iiGN6AO ptDMmczNXwsZTVEOnQ4BrUEldyhoWbPYSVK8wiOpagotj27IA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o/LSUQtxq0ayqX0+1cYOkn1kV5cEYrM5l/1UwKpsKuZOIMvG0vFoLA E3Z/uspcq+MGnqJEwxh1MfjOBFBR8Ib1e7qktrgL3m79EZpgE786Ii/r1vop4xzuNCd3B63Z W1Dk0RrsA3ciY3V9MIOA5Te7rBNoTyKSi8Q156Z26XVp06Bw== X-IronPort-AV: E=Sophos;i="5.90,171,1643691600"; d="scan'208";a="65923541" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ku3shC2bPTrgLMREMU8NyTohcyWMBscyT8JIY67udoJsN0XCeYHDOX7inl9qlFmKK7fuAbFJ8jzm/XGhQlltv+uwEmsNGUldZ10unzWrRA+9P69xO57bNS1k194HhLdyDEZhQ8pF8sB3Oid02c87pMC7R1HxW8RKgSAGbJaHjOB6XTyoWuTHFUvJURKpdihS7AajPAOzwFBUNe+Lytl65CRy9/kCbztEQ8O0Nap9pVlTtdSNoayvnaJrFFTIhruxiAcSWiSbtOFQ8ixZ08A05kqBiwFQbNqv2WWHXmIQABaZEcHLQ5uUWCMhq/IdFeWvU922WlddyXJ9+JzvhVOjiw== 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=jTx68lV40wpFf4puUT35jyfriJILkHHvN0WT+lMixn0=; b=kRTXGH9G0q8xXMV+wSU73TaBqOjmgCGQPcl7V9Yi4+fHQqSxwmx9q8fXnvjgDlTrVz1mEq6qJE0thoIY0YKTTj3zlaOvpIqAXerHgEwlUWZL/T2WESWFBAYYG13mN56a7HEPxrOTXJOIXtAt89jyPqp+B4t7vMRSF8FfgULruZyfzOX8ATRMRQgt5rm2ctC88PqLjUQNEqIbpijEGBNopOpU/767rMXcHyQfONbOd5WJlGvctXbZ60OGMkEmspIAB5lLsNMMXC/3SbLXqS7bAJ/twXJkHnYUUUFphYJb6vQxxwtam39bxIYhpwTPPKvbxR0p8dMc218lV1v9MxBwKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jTx68lV40wpFf4puUT35jyfriJILkHHvN0WT+lMixn0=; b=Rg3UuVfFu8RzRlo/MJIAjk5ttEqtSFouSyxi04V2X+vBBlrfd5NSH2/7DAHVPDUHH7m29LvtnykyfNs2vAB+FL1xvjHzPaeJc7UUDse/JHpXCVHGqo/PVGq+U/NnYvE+bP1uHETNKE2J9Mn0P/wYzIjvjgu/cKfCcbbj4jWbUUo= From: Roger Pau Monne To: CC: Konrad Rzeszutek Wilk , Ross Lagerwall , , Roger Pau Monne Subject: [PATCH 0/3] livepatch: further fixes Date: Thu, 10 Mar 2022 16:08:31 +0100 Message-ID: <20220310150834.98815-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: LO2P265CA0382.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a3::34) To DS7PR03MB5608.namprd03.prod.outlook.com (2603:10b6:5:2c9::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eec5b8b5-3e52-411d-efb5-08da02a8439b X-MS-TrafficTypeDiagnostic: SJ0PR03MB5758:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OjhFNi+3w6qiie0Pu5dCKAY299vOuXeL6Pd+CFHOmx+hDF7fF0hDxjECjKxIOrrdG6NcWy29YLH7bhdHIoIYFdRZmNl38qXHEHBEEV+BxxHuEPsvWfPsV7AwARYNljz6B7KLf1F35WV7gJO78tuCvciFbt/gZjVsmP0CXFOlulRv37nrh5u91EVQZdED6ir/R7GWqC+tsYA5cVBVqEUQdTeY9jvZKjKO1YhrrHSR0vbzy/eT3jkiD7L6xyK9l+oCYD8My6Yox5A04iWLQXPh6jCZ7wi235FstKo6CR845dvneP1cI7zLN3Ctgen2jh9cLZaukAvdYe8GcYGXkltw9hBQfbx7LcoEpqt3r5D/uPw1/lQTxI5b/EbBcJq609CFQTISiUbOUfhvexASJZBq/sUYBG0COxrshks+uHYpIfHCGbttQA41tHMR2qbNFR8ReeSYBDpFOk2/U7L8gejuVDc6pGMHKdQOHJvu2kbvqgNR+bFnjVP0XcTKCbGU+PQ77OfgqruJE8rabypzJ3KZ/7yaOWv8Xkdke6JqpN9D7T33S/H/JzivW4zfMyNO2AtC3IJoBvahd67WOeOp/4JJY9GhwvdRlJjEWuOQAjBS/X6uOcQWNT3i1Tro21wcaGfWiMVUIAon0WvkFJx54x7Gsg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR03MB5608.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(26005)(86362001)(1076003)(186003)(2616005)(6486002)(508600001)(107886003)(6666004)(6512007)(6506007)(38100700002)(83380400001)(82960400001)(66476007)(66556008)(8676002)(66946007)(36756003)(4326008)(2906002)(316002)(6916009)(5660300002)(54906003)(8936002)(4744005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?xQwoQm58qRLJXXT/84EGoQ/NLA2G?= =?utf-8?q?g11vecFjmb8QWDZ+Xe2xLypD+hYe6WkNH86hlNqLbGfu9h+G9ingQ3ngjof1L1wtq?= =?utf-8?q?lT34YND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GpPyfVgEGYK3yS3xTt95k5rpU4Y852rrWfnG5LqMOSR5CdoyHqn6cpWCtj?= =?utf-8?q?YWXonQ9sL+4dt5uyvm+QRb6IkJ2yGAxCPImjCP+QSQdWs1rIDjoRwJkStPYq6tIYa?= =?utf-8?q?HdmpK6m9448DQFbb9BgjYGuWrUKbW2y2yvTJOKgwBl454r3AyFwT1GaPfQCAP/L8e?= =?utf-8?q?LrO01aKyvRTKuyGD6bAeiL6/xPvz39plM1oOSnEyaX5vy8RXLdR3DoSHWxZfHxI21?= =?utf-8?q?ERR9mVCl4P6ZdAYyc0el2j40TjNxvIdVEyuYIFD4zCRGiwwN8MnrWJgAZ9rkRIPu/?= =?utf-8?q?n+zRndmYAlS0hRHA4krpzDPv1M1DltLD0B8hMxLQjKD7fOIgRrxlc+2/QILdsRiiT?= =?utf-8?q?DX6NItumkiseFLnSdZc2Y4C2NAmqO8KSHPAM2cm6MhhjK+h8SGIPGyhwA9pAORfQX?= =?utf-8?q?GTdpIBzmhtv4F8UW8f2TPqXLHy/2e7mR7Lb6ZHpFtsfKlOfv2KFOVpfNyahKFUw/O?= =?utf-8?q?E+tOesKLAHbmcEhksfDi21rteIZQlPOu3rjLmxMALJA2uje8jOM6f24iUB76CJaAY?= =?utf-8?q?ledq5IDATNarUvxHtx53REjC73BSyADgFd2wTq7qZUcDo6Ftj5++5wc=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: eec5b8b5-3e52-411d-efb5-08da02a8439b X-MS-Exchange-CrossTenant-AuthSource: DS7PR03MB5608.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 15:11:33.9181 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: pf4norN1aVlENCPNaemOItMy2LvIud3/BJitIbUdfldPfH4scEtEgHF5gNW/lbfzniGczK/0zAzT/lOibJgIVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB5758 X-OriginatorOrg: citrix.com Hello, The following series does some more cleanup after the Xen hypervisor build changes (patches 1 and 2). Patch 3 fixes handling of .altinstr* sections. Thanks, Roger. Roger Pau Monne (3): livepatch: use basename to perform object file matching livepatch: add extra efi/ objects to be ignored livepatch: correctly handle altinstruction sections common.c | 7 +++++-- create-diff-object.c | 26 -------------------------- livepatch-gcc | 14 +++++++++----- 3 files changed, 14 insertions(+), 33 deletions(-)