Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2108584rwr; Fri, 21 Apr 2023 04:36:47 -0700 (PDT) X-Google-Smtp-Source: AKy350Y62FpUN8KuVcgYGfL4H0mKHhKTdkJugjdHfRfwd0k8LwfQL2/+o2sJHvZbhgkOKohCBJnn X-Received: by 2002:a05:6a00:1d8f:b0:63b:4978:a50a with SMTP id z15-20020a056a001d8f00b0063b4978a50amr5254088pfw.1.1682077007673; Fri, 21 Apr 2023 04:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682077007; cv=none; d=google.com; s=arc-20160816; b=B9+kBaU6VVXe7OcmCx16sbpRw6STD1LouU/HWGzyMWZyks0aRRbhodrCX5MhOkftSO 3N0YRzeIKHvv+Z4pOmSiASlefhRDC6w0c8MzwbPZs4GkDUgJeAV2ssfUWyILFm1ugdLG +AO2hy+e38sxzVVeLtTpjvFKPdjY+mVpuDoD5H+iwnNq0BOS13p3yL1BhYj4jgaU4Xcn kamAKWCsFXxXF6Ya+Sx1tNFrhlOrioary9thltj+DBC17mhA5VcJcP6FBGfAXJpKJt1T q6D/PYXo0mfF0F7Osy2LG3xNVr1XPFf9Ng0pxtY4SWixAeqdEl8X5FmrqXlGOResRqNe pDGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:reply-to:user-agent :mime-version:date:message-id; bh=S+aUbJ44GF/h/gSaEPYeyaoBNfGvMzMRE1v4GNmxUpk=; b=mp7ER8KxPF/nNRrA5b7hmRbWe+3Ke9WoTfQUy3A3ZHWrxNUp2fTu9039fp3QiifwdO ll1MWYGyl7Xch6J7XhufF1BT7peGYqtVZJn4UgZmb4HLBoG4TW11PCx9TT7+qHMnGTwj hVMHmqitb5AoUv5sROHXhz2pz24Y8Ng/3mjUM+xuRFjeVtBn+t46TDrSI4XYmSVIuHWf XvgCVU/zzZckJdNiSbbAXL/7zuxVq0vMxTW5lsIWlSMoPrpVPpwdRJGV+8Ogg2RGsJMr QpVlsuRXPGxkdQ7qBybadgN2MJddpz+dev0MYpAkq/TxtExFbiVooWYblNVdwdTPs52m Sq1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s64-20020a625e43000000b00625c2bd736asi4073386pfb.20.2023.04.21.04.36.36; Fri, 21 Apr 2023 04:36:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231450AbjDULcb (ORCPT + 99 others); Fri, 21 Apr 2023 07:32:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjDULc3 (ORCPT ); Fri, 21 Apr 2023 07:32:29 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38EF193F6 for ; Fri, 21 Apr 2023 04:32:28 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1ppp05-000755-84; Fri, 21 Apr 2023 13:32:25 +0200 Message-ID: Date: Fri, 21 Apr 2023 13:32:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Reply-To: Linux regressions mailing list Subject: Re: [PATCH v3] firmware/sysfb: Fix VESA format selection Content-Language: en-US, de-DE To: Pierre Asselin , dri-devel@lists.freedesktop.org Cc: Daniel Vetter , Javier Martinez Canillas , linux-kernel@vger.kernel.org, Hans de Goede , Thomas Zimmermann , Ard Biesheuvel , Linux kernel regressions list References: <20230420155705.21463-1-pa@panix.com> From: "Linux regression tracking (Thorsten Leemhuis)" In-Reply-To: <20230420155705.21463-1-pa@panix.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1682076748;ca384fe1; X-HE-SMSGID: 1ppp05-000755-84 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.04.23 17:57, Pierre Asselin wrote: > Some legacy BIOSes report no reserved bits in their 32-bit rgb mode, > breaking the calculation of bits_per_pixel in commit f35cd3fa7729 > ("firmware/sysfb: Fix EFI/VESA format selection"). However they report > lfb_depth correctly for those modes. Keep the computation but > set bits_per_pixel to lfb_depth if the latter is larger. > > v2 fixes the warnings from a max3() macro with arguments of different > types; split the bits_per_pixel assignment to avoid uglyfing the code > with too many casts. > > v3 fixes space and formatting blips pointed out by Javier, and change > the bit_per_pixel assignment back to a single statement using two casts. > > Link: https://lore.kernel.org/r/4Psm6B6Lqkz1QXM@panix3.panix.com > Link: https://lore.kernel.org/r/20230412150225.3757223-1-javierm@redhat.com > Link: https://lore.kernel.org/dri-devel/20230418183325.2327-1-pa@panix.com/T/#u > Link: https://lore.kernel.org/dri-devel/20230419044834.10816-1-pa@panix.com/T/#u > Fixes: f35cd3fa7729 ("firmware/sysfb: Fix EFI/VESA format selection") > Signed-off-by: Pierre Asselin Linus might release the final this weekend and this is among the last few 6.3 regressions I track. Hence please allow me to ask: Pierre, Tomas, Javier, et. al: how many "legacy BIOSes" do we suspect are affected by this? So many that it might be worth delaying the release by one week? And in case everybody involved might agree that this patch is ready by today or tomorrow: might it be worth asking Linus to merge this patch directly[1]? [FWIW, I highly suspect the answer to the last two questions is "no, that's definitely not worth is", just wanted to confirm] Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page. [1] yes, that's a thing we do: https://lore.kernel.org/all/CAHk-=wis_qQy4oDNynNKi5b7Qhosmxtoj1jxo5wmB6SRUwQUBQ@mail.gmail.com/