Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp856501pxr; Mon, 11 Apr 2022 08:51:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/TSEapVKCAFnqj6Xob2x4dKDNk4DVWF5w/zFVtIVK6Anw/WuBwuV/sr9hqMzixJ1vzByG X-Received: by 2002:a17:902:f683:b0:158:62d2:b6fb with SMTP id l3-20020a170902f68300b0015862d2b6fbmr5867568plg.30.1649692297155; Mon, 11 Apr 2022 08:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649692297; cv=none; d=google.com; s=arc-20160816; b=Ai+2uxu7ZBLbh9q5b/Axts0JU9BHQlhA/WofYjkH0HYPmHZ92PL64a3Aeb2eYjQ9uv 27GtIBX8k8UJYWSBpdi+hDbccbOFgv1t7RLL2oU1BSLZVHi7c7CKiOYQaf9JX/FJWsp9 hBEPCAPMVTpKVWpQXC1TKphkXqaMycE7v9BSJ/3e3SEfaxSeSJ22xSXd+V+au0ER0SS6 gKSM4Rub5OWX3otl3Elybul0Htu4KUeeKuE9nhqjQFwUXD8Ih6vMFxooBYeB9MUG6FEn 9uvIa+PWNro+Mu1rTwYIG7mDlo8P4X3GWikltrs/iAlBQ2JVRu3lhYZgpg40TtcLLnYA 1JsQ== 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:user-agent:mime-version :date:message-id; bh=6OFyzgDSvVpmvCNWrBUD5GtIkU9W5XEgdDOIf8OeHmk=; b=OkweZNsTDFIWl79pJLXvS0F0kLQVt79ZauzpNMI08Q8vGwXnpeVXqTDrxbo2jXiKM9 0GfFGeyOc2yxFFspllkeqFDf7Wx6qGYJsuTZAgTMQueKzJERNe4W4bjtglFS6v+tQjJ4 NuIg5s7t3Kj5l5jYDcKh5UCOBqRyUPE7D4AMuQcqXWnODx3nbg/YcRHdtyY225ArK+O7 jYRwERi8hZeBMqNK0nqoYl9qBMHkYurRrMhFHIcJuw/3D2/9qNeqFWtrkpLKOdY16Zjh fn5p0pDNeaT4XngZwivzuyFAm4Lf/BM/1OfOVWjuPxZPt09Hpc0TGJVtWaj7vQat+vB/ y88g== 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 141-20020a630293000000b0039859d7cf84si147440pgc.256.2022.04.11.08.51.21; Mon, 11 Apr 2022 08:51:37 -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 S241773AbiDIM4H (ORCPT + 99 others); Sat, 9 Apr 2022 08:56:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbiDIM4D (ORCPT ); Sat, 9 Apr 2022 08:56:03 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B0EE11C3D; Sat, 9 Apr 2022 05:53:55 -0700 (PDT) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1ndAbB-0004qw-9A; Sat, 09 Apr 2022 14:53:53 +0200 Message-ID: Date: Sat, 9 Apr 2022 14:53:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v3] si2157: unknown chip version Si2147-A30 ROM 0x50 Content-Language: en-US To: Mauro Carvalho Chehab Cc: Robert Schlabbach , LMML , Linux Kernel Mailing List , Antti Palosaari , Piotr Chmura References: From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1649508836;f84f5e71; X-HE-SMSGID: 1ndAbB-0004qw-9A X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi, this is your Linux kernel regression tracker. Top-posting for once, to make this easily accessible to everyone. Mauro, what's the hold-up here? Below patch is fixing a regression caused by one of your patches. Why haven't you applied this or provided feedback to Piotr what needs to be improved? Or am I missing something and progress was made? This really is overdue, the first version of this patch was already posted two and a half weeks ago. Reminder, the newly added document on handling regressions ( https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/handling-regressions.rst#n132 ) for this case states this as rule of thumb: "Aim to fix regressions within one week ". Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I'm getting a lot of reports on my table. I can only look briefly into most of them and lack knowledge about most of the areas they concern. I thus unfortunately will sometimes get things wrong or miss something important. I hope that's not the case here; if you think it is, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight. #regzbot poke On 31.03.22 17:55, Piotr Chmura wrote: > Fix firmware file names assignment in si2157 tuner, allow for running > devices without firmware files needed. > > > It's regression in kernel 5.17.0, worked fine in 5.16 series. > > device: 07ca:1871 AVerMedia Technologies, Inc. TD310 DVB-T/T2/C dongle > modprobe gives error: unknown chip version Si2147-A30 ROM 0x50 > Device initialization is interrupted. > > caused by: > 1. table si2157_tuners has swapped fields rom_id and required vs struct > si2157_tuner_info. > 2. both firmware file names can be null for devices with required == > false - device uses build-in firmware in this case > > Fix: > 1. Rearrange fields in table si2157_tuners > 2. Allow both firmware file names be NULL for devices defined with > required == false > > > Fixes: 1c35ba3bf972 ("media: si2157: use a different namespace for > firmware") > Link: https://bugzilla.kernel.org/show_bug.cgi?id=215726 > Link: > https://lore.kernel.org/lkml/5f660108-8812-383c-83e4-29ee0558d623@leemhuis.info/ > > Cc: stable@vger.kernel.org # 5.17.x > Signed-off-by: Piotr Chmura > Tested-by: Robert Schlabbach > > --- > > --- a/drivers/media/tuners/si2157.c    2022-03-20 21:14:17.000000000 +0100 > +++ b/drivers/media/tuners/si2157.c    2022-03-22 23:48:05.604408331 +0100 > @@ -77,16 +77,16 @@ err_mutex_unlock: >  } > >  static const struct si2157_tuner_info si2157_tuners[] = { > -    { SI2141, false, 0x60, SI2141_60_FIRMWARE, SI2141_A10_FIRMWARE }, > -    { SI2141, false, 0x61, SI2141_61_FIRMWARE, SI2141_A10_FIRMWARE }, > -    { SI2146, false, 0x11, SI2146_11_FIRMWARE, NULL }, > -    { SI2147, false, 0x50, SI2147_50_FIRMWARE, NULL }, > -    { SI2148, true,  0x32, SI2148_32_FIRMWARE, SI2158_A20_FIRMWARE }, > -    { SI2148, true,  0x33, SI2148_33_FIRMWARE, SI2158_A20_FIRMWARE }, > -    { SI2157, false, 0x50, SI2157_50_FIRMWARE, SI2157_A30_FIRMWARE }, > -    { SI2158, false, 0x50, SI2158_50_FIRMWARE, SI2158_A20_FIRMWARE }, > -    { SI2158, false, 0x51, SI2158_51_FIRMWARE, SI2158_A20_FIRMWARE }, > -    { SI2177, false, 0x50, SI2177_50_FIRMWARE, SI2157_A30_FIRMWARE }, > +    { SI2141, 0x60, false, SI2141_60_FIRMWARE, SI2141_A10_FIRMWARE }, > +    { SI2141, 0x61, false, SI2141_61_FIRMWARE, SI2141_A10_FIRMWARE }, > +    { SI2146, 0x11, false, SI2146_11_FIRMWARE, NULL }, > +    { SI2147, 0x50, false, SI2147_50_FIRMWARE, NULL }, > +    { SI2148, 0x32, true,  SI2148_32_FIRMWARE, SI2158_A20_FIRMWARE }, > +    { SI2148, 0x33, true,  SI2148_33_FIRMWARE, SI2158_A20_FIRMWARE }, > +    { SI2157, 0x50, false, SI2157_50_FIRMWARE, SI2157_A30_FIRMWARE }, > +    { SI2158, 0x50, false, SI2158_50_FIRMWARE, SI2158_A20_FIRMWARE }, > +    { SI2158, 0x51, false, SI2158_51_FIRMWARE, SI2158_A20_FIRMWARE }, > +    { SI2177, 0x50, false, SI2177_50_FIRMWARE, SI2157_A30_FIRMWARE }, >  }; > >  static int si2157_load_firmware(struct dvb_frontend *fe, > @@ -178,7 +178,7 @@ static int si2157_find_and_load_firmware >          } >      } > > -    if (!fw_name && !fw_alt_name) { > +    if (required && !fw_name && !fw_alt_name) { >          dev_err(&client->dev, >              "unknown chip version Si21%d-%c%c%c ROM 0x%02x\n", >              part_id, cmd.args[1], cmd.args[3], cmd.args[4], rom_id); >