Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp1148131pxr; Mon, 11 Apr 2022 16:42:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaJuDJ9f88RmV4njWyQZYaoJ54ZnUwSgpks/R45s+S+ohEc5RIAd/BjlaIy/TycZflCwlc X-Received: by 2002:a05:6a00:14cb:b0:4fb:2c72:1fdc with SMTP id w11-20020a056a0014cb00b004fb2c721fdcmr35132173pfu.55.1649720537036; Mon, 11 Apr 2022 16:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649720537; cv=none; d=google.com; s=arc-20160816; b=ugFqBJ0L6cneAEkQ3T7M8i94Lp2ag2p1AQkMcERuAfBrPTjDHLgjurctNpXruSNwNI CPHvu2G8EnNPv5BWyw4/3H8KUrAdsmS3g0kY5caEBSn7uo+lfoggYpEf8gpTmdQC1bS4 NiR38feAecN+fFjroT1Z1v+U8I75s6UlhFbe4kPMvUKZ3WfhnXNQgRB18mwLMfiRNS34 +u7dkTBd3v4Yzq4DkjGw0i/Br+/15ACS8x2nRBAKF319Z0AZsRSMEiICMKn4fXloOhZU tGN7mPYa4nxUF211HmJD1swY6jYR3IuAPnMYpOuyJR0Iuv+oaNEe0IQEKEL15dMDKl/A AARg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=qkCpK6MVFOKiSgzMd0n9OxylUJSaUt2IgSS/RL9bsi4=; b=u5UYjxX1tZp/uRHKtAy0TKjy1xQM9HQV7N+yp07IzT7Kzn1eJtMqYLwdXm5jlIN+lh NYGb599hGhQYk9glcmw5SvwlwiLSq69cxZsHwl6kI8gki0nth+SKO3Hmz2cfRRNMKlj7 rvIyjpFcsTXS6DR13R8JhvjxK/v59V7x7w67ZWEInUfbyxG4NMmM6KAUbveymexqN3UX 0R5mOVS5B/a0eE9kSLlCkZFev5SlV6mUAFXgOx6pdRIyy4XUNvLX2uPDDTlOtcGJkyJV yiVqkGdYBlgJl5VAHtGgpeq1CG4xFzY07axY1MQPwcgiiRTupMqiPA0gAxhiIAkZ5qXA rQ5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZuCreQDs; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c133-20020a621c8b000000b004fdecdf87c5si8941407pfc.172.2022.04.11.16.42.02; Mon, 11 Apr 2022 16:42:17 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZuCreQDs; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242546AbiDIPtd (ORCPT + 99 others); Sat, 9 Apr 2022 11:49:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231217AbiDIPta (ORCPT ); Sat, 9 Apr 2022 11:49:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46D1263D4; Sat, 9 Apr 2022 08:47:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F1D24B80838; Sat, 9 Apr 2022 15:47:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46329C385A0; Sat, 9 Apr 2022 15:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649519238; bh=1hDJD3hTsuVDxAsALlgt5YmHYTWI48kaqDcXIUmC9rs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZuCreQDsJXuQvEv4wdldU3vz7oDqN2sf4luGmaRHkbnsSwDuMpvLPE6xMEaDYPtJO poirqCbd+K6UkKAyha8WHUDYh9zjb6bG+R/R2XXTrGkMtByzhjSQVAF7a9qnUf5Ffy HhlCTVVsxD7tTwXNSGs5Iknx1T159h9T99qJnKt4Zs6El9eIWMuCiieOeqTUHPmXXw rjmF0aANwSwaEHfJPGO3+zREeLuByw0EKJmXU697B0wu4kIcXgETiSpqRYaQpjld00 oMd8DNn2uGpcSq1NKoGApl52Ay+E5SITuoSzyF96tU0R4VyOpNJMJPJoFhtHgWtCv4 fhIf5Cf3IpdDw== Date: Sat, 9 Apr 2022 17:47:14 +0200 From: Mauro Carvalho Chehab To: Thorsten Leemhuis , Piotr Chmura Cc: Robert Schlabbach , LMML , Linux Kernel Mailing List , Antti Palosaari Subject: Re: [PATCH v3] si2157: unknown chip version Si2147-A30 ROM 0x50 Message-ID: <20220409174714.0c94f78d@coco.lan> In-Reply-To: <20220409173138.2a9d8a6e@coco.lan> References: <20220409173138.2a9d8a6e@coco.lan> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Em Sat, 9 Apr 2022 17:31:38 +0200 Mauro Carvalho Chehab escreveu: > Em Sat, 9 Apr 2022 14:53:52 +0200 > Thorsten Leemhuis escreveu: >=20 > > Hi, this is your Linux kernel regression tracker. Top-posting for once, > > to make this easily accessible to everyone. > >=20 > > 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? =20 >=20 > We're currently without a sub-maintainer for dvb, so it takes a longer > time for patches like that to be noticed. >=20 > In the specific case of this patch, the problem is that it doesn't apply.= .. > The emailer mangled the patch, replacing spaces by U+0xa0 characters. >=20 > Piotr, >=20 > Please re-submit them with git send-email (or use some other client > that won't damage whitespaces. Nevermind. as the patch is short, I fixed it this time. Next time, please check please use an emailer that is capable of properly encoding whitespaces and tabs. Regards, Mauro >=20 > Regards, > Mauro >=20 > >=20 > > 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 ". > >=20 > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > >=20 > > 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. > >=20 > >=20 > > #regzbot poke > >=20 > >=20 > > On 31.03.22 17:55, Piotr Chmura wrote: =20 > > > Fix firmware file names assignment in si2157 tuner, allow for running > > > devices without firmware files needed. > > >=20 > > >=20 > > > It's regression in kernel 5.17.0, worked fine in 5.16 series. > > >=20 > > > 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. > > >=20 > > > caused by: > > > 1. table si2157_tuners has swapped fields rom_id and required vs stru= ct > > > si2157_tuner_info. > > > 2. both firmware file names can be null for devices with required =3D= =3D > > > false - device uses build-in firmware in this case > > >=20 > > > Fix: > > > 1. Rearrange fields in table si2157_tuners > > > 2. Allow both firmware file names be NULL for devices defined with > > > required =3D=3D false > > >=20 > > >=20 > > > Fixes: 1c35ba3bf972 ("media: si2157: use a different namespace for > > > firmware") > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=3D215726 > > > Link: > > > https://lore.kernel.org/lkml/5f660108-8812-383c-83e4-29ee0558d623@lee= mhuis.info/ > > >=20 > > > Cc: stable@vger.kernel.org # 5.17.x > > > Signed-off-by: Piotr Chmura > > > Tested-by: Robert Schlabbach > > >=20 > > > --- > > >=20 > > > --- a/drivers/media/tuners/si2157.c=C2=A0=C2=A0=C2=A0 2022-03-20 21:1= 4:17.000000000 +0100 > > > +++ b/drivers/media/tuners/si2157.c=C2=A0=C2=A0=C2=A0 2022-03-22 23:4= 8:05.604408331 +0100 > > > @@ -77,16 +77,16 @@ err_mutex_unlock: > > > =C2=A0} > > >=20 > > > =C2=A0static const struct si2157_tuner_info si2157_tuners[] =3D { > > > -=C2=A0=C2=A0=C2=A0 { SI2141, false, 0x60, SI2141_60_FIRMWARE, SI2141= _A10_FIRMWARE }, > > > -=C2=A0=C2=A0=C2=A0 { SI2141, false, 0x61, SI2141_61_FIRMWARE, SI2141= _A10_FIRMWARE }, > > > -=C2=A0=C2=A0=C2=A0 { SI2146, false, 0x11, SI2146_11_FIRMWARE, NULL }, > > > -=C2=A0=C2=A0=C2=A0 { SI2147, false, 0x50, SI2147_50_FIRMWARE, NULL }, > > > -=C2=A0=C2=A0=C2=A0 { SI2148, true,=C2=A0 0x32, SI2148_32_FIRMWARE, S= I2158_A20_FIRMWARE }, > > > -=C2=A0=C2=A0=C2=A0 { SI2148, true,=C2=A0 0x33, SI2148_33_FIRMWARE, S= I2158_A20_FIRMWARE }, > > > -=C2=A0=C2=A0=C2=A0 { SI2157, false, 0x50, SI2157_50_FIRMWARE, SI2157= _A30_FIRMWARE }, > > > -=C2=A0=C2=A0=C2=A0 { SI2158, false, 0x50, SI2158_50_FIRMWARE, SI2158= _A20_FIRMWARE }, > > > -=C2=A0=C2=A0=C2=A0 { SI2158, false, 0x51, SI2158_51_FIRMWARE, SI2158= _A20_FIRMWARE }, > > > -=C2=A0=C2=A0=C2=A0 { SI2177, false, 0x50, SI2177_50_FIRMWARE, SI2157= _A30_FIRMWARE }, > > > +=C2=A0=C2=A0=C2=A0 { SI2141, 0x60, false, SI2141_60_FIRMWARE, SI2141= _A10_FIRMWARE }, > > > +=C2=A0=C2=A0=C2=A0 { SI2141, 0x61, false, SI2141_61_FIRMWARE, SI2141= _A10_FIRMWARE }, > > > +=C2=A0=C2=A0=C2=A0 { SI2146, 0x11, false, SI2146_11_FIRMWARE, NULL }, > > > +=C2=A0=C2=A0=C2=A0 { SI2147, 0x50, false, SI2147_50_FIRMWARE, NULL }, > > > +=C2=A0=C2=A0=C2=A0 { SI2148, 0x32, true,=C2=A0 SI2148_32_FIRMWARE, S= I2158_A20_FIRMWARE }, > > > +=C2=A0=C2=A0=C2=A0 { SI2148, 0x33, true,=C2=A0 SI2148_33_FIRMWARE, S= I2158_A20_FIRMWARE }, > > > +=C2=A0=C2=A0=C2=A0 { SI2157, 0x50, false, SI2157_50_FIRMWARE, SI2157= _A30_FIRMWARE }, > > > +=C2=A0=C2=A0=C2=A0 { SI2158, 0x50, false, SI2158_50_FIRMWARE, SI2158= _A20_FIRMWARE }, > > > +=C2=A0=C2=A0=C2=A0 { SI2158, 0x51, false, SI2158_51_FIRMWARE, SI2158= _A20_FIRMWARE }, > > > +=C2=A0=C2=A0=C2=A0 { SI2177, 0x50, false, SI2177_50_FIRMWARE, SI2157= _A30_FIRMWARE }, > > > =C2=A0}; > > >=20 > > > =C2=A0static int si2157_load_firmware(struct dvb_frontend *fe, > > > @@ -178,7 +178,7 @@ static int si2157_find_and_load_firmware > > > =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 } > > > =C2=A0=C2=A0=C2=A0=C2=A0 } > > >=20 > > > -=C2=A0=C2=A0=C2=A0 if (!fw_name && !fw_alt_name) { > > > +=C2=A0=C2=A0=C2=A0 if (required && !fw_name && !fw_alt_name) { > > > =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 dev_err(&client->dev, > > > =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 "unkno= wn chip version Si21%d-%c%c%c ROM 0x%02x\n", > > > =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 part_i= d, cmd.args[1], cmd.args[3], cmd.args[4], rom_id); > > > =20 > > =20 >=20 >=20 >=20 > Thanks, > Mauro Thanks, Mauro