Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lYhOI-0002yn-5G for mharc-grub-devel@gnu.org; Mon, 19 Apr 2021 23:49:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYhOE-0002yI-EW for grub-devel@gnu.org; Mon, 19 Apr 2021 23:49:31 -0400 Received: from de-smtp-delivery-102.mimecast.com ([62.140.7.102]:51198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYhO9-00034R-T2 for grub-devel@gnu.org; Mon, 19 Apr 2021 23:49:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1618890562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bSgXPpC6KihiFczD4zMvgNTsSh0BslYPGZyaNKv5dWQ=; b=CCx8a07JaEEYbNiBlBpJVV5K7HOszH9LH98Qp/CGQc4aQ8kOg8P40WY6mfWoG4Sk/iaHCv JMeUtkKcaKMPJIoF7hdV4kbEvc6SQgbt+Puh7W46jif9AZqbxoxWYLJN9MEKZhkRepb0uo Kwi13YrU3La/63CJNpIbRwqEpEy1Wfw= Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04lp2057.outbound.protection.outlook.com [104.47.12.57]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-36-uoajOqHJMF2Z40P8fMouqA-1; Tue, 20 Apr 2021 05:49:20 +0200 X-MC-Unique: uoajOqHJMF2Z40P8fMouqA-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TCGnUHz+lknYWUHvR4xrNQ/O5RjIQUHw6mcQ0FhOCIOzEPwTN+pLDQGGwD4mFbtH9Wl0i1XncMe6OCKpTVm1bZWowDEF7bP3mG3dBLgwvd1ioZfnHXpjLj2goI1+MAnGYuM5Ec26SQIDOgz/zbDCIxoB3+q+YjtDSgWTGQXIacUech1RohVRuud3UoQy16/qJo/Q23oEW6cRXB5WxWJghArCwixojFDjZniRYgil9cdSTozrs/boWnT/a2N1bhxnbeow/bOMlEbKYnTjZsNo2qXRk5KyQxaKy6qZ2X7X/wD081Evyqz8nnVDiBApa9n0kuT50/q1A2xRFuItI080xw== 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-SenderADCheck; bh=bSgXPpC6KihiFczD4zMvgNTsSh0BslYPGZyaNKv5dWQ=; b=blr02gjX2SG0m8zKRGlzck2ZFKmw01CfXjII95VY/s4NQg3PNNMSlhzgQb4WX5I9Gf1M+cc+TX1AvfGz7iySVtPgoiMCVIYyJ3btTt7YkFdV50mn2BcGtQPSX+050KlcINVCc77F+kfNd1rkPErISOmD62I8DYKfcwaI0a8qfo2qwjJjvryBdpDTJHQFXIJWGXrZQpbCLG3qgi/WGPGdDzbPLsz9xI+/iMVgjPyyH2xsp2o0stiC+7ADOhHNZP5elpEVhv+8VzQhQMeeD5anCC3lAePVHR0lSZTEINgV8n9m4DMUlXL4IAML6mkAtCLbXzNUBdygOBONtvkj7BaalQ== 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 Authentication-Results: net-space.pl; dkim=none (message not signed) header.d=none;net-space.pl; dmarc=none action=none header.from=suse.com; Received: from VI1PR04MB4991.eurprd04.prod.outlook.com (2603:10a6:803:57::28) by VE1PR04MB6607.eurprd04.prod.outlook.com (2603:10a6:803:121::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Tue, 20 Apr 2021 03:49:19 +0000 Received: from VI1PR04MB4991.eurprd04.prod.outlook.com ([fe80::8582:6caf:553:d91e]) by VI1PR04MB4991.eurprd04.prod.outlook.com ([fe80::8582:6caf:553:d91e%6]) with mapi id 15.20.4042.024; Tue, 20 Apr 2021 03:49:19 +0000 Date: Tue, 20 Apr 2021 11:49:09 +0800 From: Michael Chang To: Daniel Kiper Cc: Michael Chang via Grub-devel , Colin Watson , Glenn Washburn , Marco A Benatto , Javier Martinez Canillas Subject: Re: [PATCH v2] i386-pc: build verifiers API as module Message-ID: <20210420034909.GA13843@mercury> References: <20210322152000.ebheegnkkhpqa4d3@tomti.i.net-space.pl> <20210322161626.GN26923@riva.ucam.org> <20210322151906.5946fb23@crass-HP-ZBook-15-G2> <20210322204527.GO26923@riva.ucam.org> <20210323163312.xmhzcsxfqovgm27y@tomti.i.net-space.pl> <20210324044452.GB4620@mercury> <20210326170101.bjup2bcu3trlyh6v@tomti.i.net-space.pl> <20210412131553.xd7qejacnadm2nwn@tomti.i.net-space.pl> <20210413041302.GA24779@mercury> <20210414132235.pr3jl32qb3op2e57@tomti.i.net-space.pl> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210414132235.pr3jl32qb3op2e57@tomti.i.net-space.pl> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [36.226.46.191] X-ClientProxiedBy: HK2PR02CA0203.apcprd02.prod.outlook.com (2603:1096:201:20::15) To VI1PR04MB4991.eurprd04.prod.outlook.com (2603:10a6:803:57::28) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mercury (36.226.46.191) by HK2PR02CA0203.apcprd02.prod.outlook.com (2603:1096:201:20::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.16 via Frontend Transport; Tue, 20 Apr 2021 03:49:17 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e687e509-c300-44ce-4b14-08d903af4698 X-MS-TrafficTypeDiagnostic: VE1PR04MB6607: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jxFfRc6IcQHsLueVQHVGnr1c9gW+Nn4gJSXBFqyhFNlOVE8o2mox3CkSE8Odn3PlU5F6PDjkuU9Vd7PjYy1ImR9D68h82ETugeSB6efmCp7OAHqNcUTCFBXyFpXeBqbK3WuxTmXUrTRE4UeCAtU+vGX8b3KgypFz80vFRkROs4plxLiVQGRsPg8Lj8YR0mIWn4N93/FVwe0hMfOJ/PpnrKEBA+SNsuHyg1ATmiQFfvvSe4xOR3EcU44Tbx8UWbOT5GMToLMbUeuKPvG3O9Toz1TBJ0tzTN/PJrH9M7+9NYVUWS0qHFbGKAdJxPwCqUup1aMd/PQKDAL4XpawBCZTQ8hhmhzxXzvnePeCqSLDXEHFMHfC1q8xtj+lUlF7r/bRQZ/AXog4kc1lR9iAdbX66RSGebgsCZwI7or4DqMIzn187qSX3kR7doDDIosgNFPptti5cKp6eRvn/QSxEziIqW2HxrhFdFXu5k4nai0DGlFF+oMwYm612nrh/+vfH0x2Y6b/mrLR+4iZgqERCCHysDcORzKmK43qkSCiSfsERNCBnC8Ph6DzQlByBwRuPR5rY+kY8rL+1QJIP1XCVrNZm20ynVOkcPLhsi+EQ6w/xkoeaO0S4AslbpDY1ukpHdpVOfGSIePecR/JjjhVeR0IQg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4991.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(366004)(346002)(39860400002)(376002)(136003)(2906002)(33716001)(6916009)(66476007)(6666004)(66556008)(4326008)(66946007)(16526019)(54906003)(186003)(8676002)(33656002)(1076003)(83380400001)(52116002)(26005)(6496006)(316002)(8936002)(5660300002)(86362001)(956004)(478600001)(55016002)(9576002)(38100700002)(38350700002)(9686003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?clUmIxZ0Fna1XwsKYTWAvBlSlhdi9B0oYUmHSg2LL5MqEVemq0JU65m4bY7V?= =?us-ascii?Q?jOjm/s2O0YNJ4aLfAlnR0ndtWLaSrPSgOW19k4sPH1fYCUFLDQxdE0VstFih?= =?us-ascii?Q?LK0QsxdT3IhBm9WdtN3DvOu2GoYcyUcM0pFevu1NMcx1Onm1SNDvjFTlUZUn?= =?us-ascii?Q?uRPNswmEyhBlNrx10RXw1ITMxztPPuEW4ewfyHPfjScrJTeYP/uZOk9l2mQ/?= =?us-ascii?Q?23KncIx8GJH5O2o+g4iCdFjRxuXPYflz2vQkMblGTomlMTnhLKfsHYM6fhdt?= =?us-ascii?Q?C4n42ZwKr+R9XbPoxb66Mx2blGGVdcwNroHJQ5Ruy1D8jCoQVDlqTEn/q68B?= =?us-ascii?Q?MHzp4VR1HQ6FTg28mNU4iMTZj2J6NVDRfBDXudW+34pG0DIZe8DepXzjFvs6?= =?us-ascii?Q?RoFhJI7ZlWALsMaZrlSHM0dSug4orVBEwBgzvsE72EUXAkpw4cVgoKJcxxWH?= =?us-ascii?Q?GL7+sKoIsE47z1sqmzXo17Zyy6oZA7Kp7aJOIC6QG33MLi5nvdY1CRwpmXg5?= =?us-ascii?Q?T2V71YSesNcDk953fJxXKWguSKkENlASN7UNmjmPDq6lSlDec4s1z2LAP3eV?= =?us-ascii?Q?1ud4J91/pFrK2u4hfdG0X/SCWuQMJP7cVe/XRbGiSbhuqivQIlOqPT+NuKeH?= =?us-ascii?Q?jRmtWl9IadzNup+rp2cE5Tl3ihygMQauCk0PDBfjDxEftxRYBObgASvIejgC?= =?us-ascii?Q?NWsxwAIX/JMLDIWANue9vw2HowxdKqOj6XQyvrjTaEz6rWC7lY2csyJtq/pY?= =?us-ascii?Q?g7a3dHEHYw7SstJYZmCWf7thUdOY36Ay4hYsvZlE7vG2o8WdQnsUH4nvS6/U?= =?us-ascii?Q?O1fyggmdJkR4iXTMtAkNSDwpBIy6uyCAOv+qnchPlqOJYLh94B0atWXoMIfP?= =?us-ascii?Q?Mjlrm4MxIYvAk3s+wtxTB/C9VpCrxWA8fJfeZpeta/oiCGmL3c59FM6OB/v3?= =?us-ascii?Q?SBYpsK5Zo5q+sZfVBXqDx577ed1BY06pOeNNQCIZYrXP65+62RK1BWwov30f?= =?us-ascii?Q?ahEXWtW2VrJCt20mQJlGICnl+3T7DtBDhYZzeKVii49xpVmCJnNCfLQKwtA0?= =?us-ascii?Q?MEO4PreBYR+PM1S4Ct3fyQEvVwJHYhZf5x4FB5ZPF4HJ5kZ4m58ljgzh7rhw?= =?us-ascii?Q?2XJFCaqMZZE/ZTNRvqkLsFFHc4AR2iDJwv2AddXKoZS4h9Bv2AHe5akhcNaf?= =?us-ascii?Q?ivlk6jXi1L8KIRbmgcvoxk28RRoR2I6jwEYAV5hAigTO+7ingqMI9wZsni9h?= =?us-ascii?Q?niPEPcZSttempB7CnHR/2G0DL1QBfuuVDpv7F1XK7QG8VYZt7znS4lIJQiPj?= =?us-ascii?Q?Gsvf2AWbiiuWqqIojf1LATur?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: e687e509-c300-44ce-4b14-08d903af4698 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4991.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2021 03:49:19.1539 (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: 0xxIFVFPEhrIxH4AVO/hvrqU3HBJi2MEyja6MDiVIcjSBI4tEIRN/0052DYt/WhN X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6607 Received-SPF: pass client-ip=62.140.7.102; envelope-from=mchang@suse.com; helo=de-smtp-delivery-102.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 03:49:31 -0000 On Wed, Apr 14, 2021 at 03:22:35PM +0200, Daniel Kiper wrote: > On Tue, Apr 13, 2021 at 12:13:02PM +0800, Michael Chang via Grub-devel wrote: > > On Mon, Apr 12, 2021 at 03:15:53PM +0200, Daniel Kiper wrote: > > > On Fri, Mar 26, 2021 at 06:01:01PM +0100, Daniel Kiper wrote: > > > > On Wed, Mar 24, 2021 at 12:44:52PM +0800, Michael Chang via Grub-devel wrote: > > > > > On Tue, Mar 23, 2021 at 05:33:12PM +0100, Daniel Kiper wrote: > > > > > > On Mon, Mar 22, 2021 at 08:45:27PM +0000, Colin Watson wrote: > > > > [snip] > > > > > > After some thinking it seems to me we can do this. I can take "i386-pc: > > > > build verifiers API as module", "kern/misc: Move grub_printf_fmt_check > > > > to gfxmenu" and similar patches into 2.06. I will revert after the > > > > release all the patches which adds ifdefery or make code ugly and do not > > > > benefit other platforms than i386-pc. This way you will have support for > > > > small MBR gaps in 2.06 and I will have clean code after 2.06 release. > > > > > > > > Does it work for you guys? > > > > > > Does anybody care? > > > > Could you please consider not reverting them ? For me it is worse than > > keeping them as distribution specific patch, as we will have a hard time > > to explain what's going on when we have to reintroduce them in rebasing > > to commits later to 2.06. > > Colin, Michael, how long are you going to support small MBR gaps? Sorry I may not be able to provide right answer. I think the problem has two folds. 1. For the development code stream, especially upstream git. We wanted to stop short mbr gap support for good. There are good reasons for doing so. (clean code, free to add new features and so on). 2. For the maintenace code stream, especially downstream branch with long term service support for years. We cherry-picked patch only for bug and security fixes. The long life span may have building up quite some number of setup running on short mbr gap. Ideally we didn't have to worry about that, as long as no new feature would be allowed to add up the core size. But things changed after this very high priority boothole security fixes that contributed too much size growth and may have very bad consequence. We have no choice but to manage that or the result is out of our control. If we are seeking for the common ground. For me it would be that the size still matters for bug and security fixes as that would be the material interested by LTSS backport. For new features, it is nice to have. But that still depends on the feedback as different distrubution may see different needs. Finally, thanks your patience for this issue. Regards, Michael > > Daniel >