Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp51513iof; Sun, 5 Jun 2022 20:49:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLe076pLeZ29fqsZfVNb4PQu6QSHU9McQpBANkJyCaQn+ZPuvAX+VaNqVW/Nj4NKHYrQzr X-Received: by 2002:a17:902:ef48:b0:159:51d:f725 with SMTP id e8-20020a170902ef4800b00159051df725mr22516261plx.47.1654487353000; Sun, 05 Jun 2022 20:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654487352; cv=none; d=google.com; s=arc-20160816; b=uWo43MARBKsWQNgtkfeb4RjNAzkZPaAPOHpqI6OiOa8JjzcvvfjaROj6rQTjA2UZ60 bBrnPjTQLWx6hmoXIPk7ZBmixy8QQe8kqVSKXmR6Py1if6/Abn3WVg3CZjCm0c6KTCFu 7UY9j74BfVkvqSz6osd42Px3N7tlvcu8AZbMcc2YOmLG1BnuEgO4lEnS3Ba/6uam/J7A bXCi3X3tKyPZHT89/5EI+3GsOFObx9aj/qbSe4E4UsISdL4vpZwlFs505yXfQcoAqxQ3 1K1R/xfnYgM/lTyeDhGMuu3p/zTBwtDaVeZ661aeUXTwSPw5euk2CrkDoDSbLH3e0xVe M2yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=p3OHmTUWRLi2a9puFadc7t+O3rYGfcwkImBjPtsts/w=; b=cP77wQxvzgsiGNmjBnYoIXmS3JcgoYMxGNjUJ3c8wWzJCvMg8BbqET3k3nIjWDFc9U f2DVDx9q7Dl2YPuo3CElAy8FoU3Wby6uBt1VVp+4vAko/aygtbYgrptauowf6Hl4U1NW u52YVjf2vIPD9e83d3lIOvWzSxc0VdAhh9iS569kh7a0Iwlo9YWrmv8y8UY4KoPljx5f sjyWHp9Oz6ck9qnUOX+5/MrcR829nba/Rvcoxp5JIsW9tzeyelBTNRbo8K9DBGWH2QAr mCOaFPkN+NfAv0QK+bIKjpPWo1bDZ6lRYm1cAXCYtXdN/R7jQibwmrJfWXdXvk5JQUEz gcyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KHXmqdVp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j33-20020a632321000000b003fc64b118b9si8838157pgj.450.2022.06.05.20.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 20:49:12 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KHXmqdVp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 14C775DD2C; Sun, 5 Jun 2022 20:41:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349543AbiFCWXj (ORCPT + 99 others); Fri, 3 Jun 2022 18:23:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231882AbiFCWXi (ORCPT ); Fri, 3 Jun 2022 18:23:38 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A687D3524A for ; Fri, 3 Jun 2022 15:23:37 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 25so11598485edw.8 for ; Fri, 03 Jun 2022 15:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=p3OHmTUWRLi2a9puFadc7t+O3rYGfcwkImBjPtsts/w=; b=KHXmqdVp1Py6tPB4jihW6F8gAB7ePDwC80+2OA2LXUT5rqg6K18ghEQC7FVZ1vN+1v eG276KEtetF5sUv5GWAKtIgImyVvz+peHUo4qmqPCQZeA4wIuEY7FQXh5WFSojXQF09v XdXsjSVZxHub8oI7LXmskOukvjMqllUJ/Zyno= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=p3OHmTUWRLi2a9puFadc7t+O3rYGfcwkImBjPtsts/w=; b=76z4pFHQxIMSm/bAZTJe3cV/QyampTxvHsVv6/D6vTyondvkURrtWin1H3IiSwjvQ+ ObHQy7SocTpDSeGEpSKDVxwMFeAH1INUOB1powdD1mlkE/5qA7ohTY6aOTNgHPpGetWH yEdyDPnqDwwZjWZWWlL05GVxSHtrcJ2sxIZgGP8unWJWdFPqChwMgxFWRTScO/RlyNM1 WVYV4IQSGMPs7HnvSqdBLhvuUlO3YycmcVYDMgzScamG70GEuhmQ61+BKwJ3ZMO2QQAx KCAP+qkcxgpg2CR5lHJnWTh8J4ETGUTdsI8hDs2+ypoJ/JCE0pba2nCTuTJndaasST1C 0bIA== X-Gm-Message-State: AOAM530IdYFE2L5nUPT0P/ztt9OnXaYXHIDNYn2SzfWX3Jyr4mJUuxSd BT8FmaCxX2XmOxf9S64N1q4VSltE3mB2HJUs X-Received: by 2002:aa7:dc09:0:b0:42a:aadd:8e71 with SMTP id b9-20020aa7dc09000000b0042aaadd8e71mr12935229edu.41.1654295016024; Fri, 03 Jun 2022 15:23:36 -0700 (PDT) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com. [209.85.128.51]) by smtp.gmail.com with ESMTPSA id j25-20020a50ed19000000b0042bcf1e0060sm4368856eds.65.2022.06.03.15.23.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Jun 2022 15:23:35 -0700 (PDT) Received: by mail-wm1-f51.google.com with SMTP id v4-20020a1cac04000000b00397001398c0so7006574wme.5 for ; Fri, 03 Jun 2022 15:23:34 -0700 (PDT) X-Received: by 2002:a05:600c:2e07:b0:39c:37df:2c40 with SMTP id o7-20020a05600c2e0700b0039c37df2c40mr6874704wmf.154.1654295014299; Fri, 03 Jun 2022 15:23:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Fri, 3 Jun 2022 15:23:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Driver core changes for 5.19-rc1 To: Greg KH , Takashi Iwai Cc: Andrew Morton , Linux Kernel Mailing List , Stephen Rothwell , Saravana Kannan Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Augh. This was very badly done, and I'm not talking about the deferred probe timeout things that caused problems for people. On Fri, Jun 3, 2022 at 4:28 AM Greg KH wrote: > > - firmware_loader reorganization and additions including the > ability to have XZ compressed firmware images and the ability > for userspace to initiate the firmware load when it needs to, > instead of being always initiated by the kernel. This is actively misleading. We *always* supported XZ compressed firmware images, and it was enabled by CONFIG_FW_LOADER_COMPRESS, What's new is the option to use ZSTD compression. However, the Kconfig file addition for this was done as badly as the above explanation was, and the FW_LOADER_COMPRESS_XZ option was added with a help message and a default value that both are complete garbage. So when you do "make oldconfig", you would be expected to say 'N', and in the process you lose the existing XZ compression. Only when the resulting kernel doesn't boot, and you spent half an hour trying to bisect things, and you start looking closer, do you notice that "ooh, the config changed in bad ways". Yeah, I'm a bit grumpy. This was *really* annoying. The commit that does this breakage is literally called "firmware: Add the support for ZSTD-compressed firmware files", and only when looking closer do you notice that IT REMOVES SUPPORT FOR XZ COMPRESSION BY DEFAULT. Because even when keeping the FW_LOADER_COMPRESS option enabled, the XZ compression is just gone, gone, gone, unless you realize that it was implicitly enabled before, and now needs that default disable of FW_LOADER_COMPRESS_XZ to be enabled. I've said this before, and I'll say it here again (and I bet I'll have to say it in the future too): the kernel config is probably the most annoying part of building a kernel for anybody. And it damn well does NOT HELP when people then actively break things, and ask actively bad and misleading questions. In this case, for example, it's not just that the XZ option is now misleading by default, it's also that the whole thing has been set up so that you can say "enable compressed images", but then HAVE NO ACTUAL COMPRESSION METHOD! Grr. This was *REALLY* badly done. Linus