Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1367856rdb; Mon, 2 Oct 2023 07:33:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGEzivjzeJOxziVqAu33pEPxpmkzzUlhbQHwuvRC7agJjDst/Ei4iWCQtbVlxa/tbHpFXfq X-Received: by 2002:a17:902:ce92:b0:1bf:27a2:b52b with SMTP id f18-20020a170902ce9200b001bf27a2b52bmr15587681plg.58.1696257211196; Mon, 02 Oct 2023 07:33:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696257211; cv=pass; d=google.com; s=arc-20160816; b=CD1k8WceiYkVEiPgJZt2MtLOR/snER35V2anwafZ9tCu1oeGWCNz9xmmdJWGbefRdv rOjZpflVgvbjF6G5SLCBoEu9G2lrZg1OTqwsukezJ0br3tt654i4fJI3jMgaJc4+qRyL 7JOWABMyAvsrWVyZoiWzbg9f8ZpyE6ekHFRAZKqXABAzXgZ59r08hgohlx6J5XXHNVZA Am6Jq8SRKG2T7dogPR7vTouezFydslTnwqaqt/UOuORf5OJd/DYN6rmlWX9fSDO0YCZv N5g5ACCt1CE63WNThIkaJqTdoUaqQTi+qm9RZrI4E/1qF4rv9y1sSqip8f+ftGZE8OFN NG0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=nkXCr9AZsn2DSc4zBYdWzj+gL85invJvX3X/qMvK4pk=; fh=IbHuv+mBxUXiIza7NHRs9E9fTND7//y+UfRPmifLKh0=; b=GDCVuyMUlFbqxvn/FGNZw5+8GCEs7eXp5Nd8QdrU2mVYsuj4/rmzvYk/H+y+atDhaY cGgQzFxasc9FUzWQtmM+0mkbYhANMl7nY5L3EU3gh5dVuzZg4Lnofh7uZ+Lp48kXphHx IcU3HCg2wWg3CU6hpBJsiJjJjso54pZPHjtwPTpntfYhFJGVM0QMB1CG1AKifZ+YonAj ZyABx//8YfRYg5/XX1amM508UkQ7cvHpOPkm0BgvFGUsSsVOLPqCXn6ZTxODpxybUHSs qttIgBSstVrDyndMtOoUI1bCzjDIO0tSIJ6pn+34p3JUhSYQwnhpoqsVuRINEiip2CpW YqeA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=H20EWCl6; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c9-20020a170903234900b001c737e1db94si11236204plh.110.2023.10.02.07.33.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 07:33:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=H20EWCl6; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 3B90B808D213; Mon, 2 Oct 2023 07:20:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237729AbjJBOUR (ORCPT + 99 others); Mon, 2 Oct 2023 10:20:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237719AbjJBOUP (ORCPT ); Mon, 2 Oct 2023 10:20:15 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2064.outbound.protection.outlook.com [40.107.237.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 684D2D7; Mon, 2 Oct 2023 07:20:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KxT6cB+2v4OSpm0uL8tJu1jGu9QVTgaf45bS8iND8jOt4Q751p2kt/Ui6y0Kcs6gVM3ewNumNoYA3k5jqMZvBG6dqnF7ayCH4vpbb5WQoiLGkdjcNFgjzLGZwyot3+6zQ6FHKlYAf4nHlqgOnRLwh1axmw55+hPsQssKtH62OWg2DA6swjLnrF+joMluDnz7i7a3LxwpdQcMzJm1UjNqzlmp8OEluTLT/LQvtdT22CAmUL+m399QJ2WXbyuMKR+kjoww8rfV+nBhNcUXjdid100sarDCrk4Qs0hyvxWclWv8Tb2XWXvcEH+bWxiS543LVt9XOBL471oGKwJF8X8roQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nkXCr9AZsn2DSc4zBYdWzj+gL85invJvX3X/qMvK4pk=; b=nRuGCND/FGM8nh0iPyws8/d3AY+Hg/XXCCNVNaLRTioIMDWSnHDW65b9+HznPnzGYFz/BqqUS1dZ8LfzxKjrd340xIeEbAyX1BxsDA3qe/EWdHzkFWNa0Carf6DgNCPqC1CA63j0BPKv1E6V++iIb4CsQac+nzMeJ5dSexunZwjHc1Bm1PjU8EErZTnKQRyiGQKNQ9QuSRsCv2vKLyTG1EOj9lmkASSNv6rFgVPR46JLz43SDy/KP86q2sd+1lXV/OBMx6GbtQ9YTDhzlFTi/VDi1tpSWU3p5JGGM9wGIyZYtwNGtosfhH406XR70Dl3ooQtpOoMKQGcJASZ896aWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nkXCr9AZsn2DSc4zBYdWzj+gL85invJvX3X/qMvK4pk=; b=H20EWCl67uzC4+V45rCOLxp5sfNNpk7KH1E0IK5ydX7JgScV4CkSHtNDexaGq1WFvA8eF9Dy60xklwvPuDIzrb6bWu6/wKFMaB5TIGkgok0tAhx/7m5tlf2gA4Zx6tZfE/DakRJGkPBTFos2zNcDO3xqx272m3X2qonRpYWURF0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by DM6PR12MB4329.namprd12.prod.outlook.com (2603:10b6:5:211::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.29; Mon, 2 Oct 2023 14:20:09 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::3e65:d396:58fb:27d4]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::3e65:d396:58fb:27d4%3]) with mapi id 15.20.6838.028; Mon, 2 Oct 2023 14:20:09 +0000 Message-ID: <28e38593-4861-4d61-b27d-994328ea4e82@amd.com> Date: Mon, 2 Oct 2023 09:20:04 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4] ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM Content-Language: en-US To: Linux regressions mailing list , Mark Brown Cc: Sven Frotscher , git@augustwikerfors.se, alsa-devel@alsa-project.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Takashi Iwai References: <20230927223758.18870-1-sven.frotscher@gmail.com> <46560887-0b6e-42ac-96c3-b4dbc1d7cb61@leemhuis.info> <4fa7d39d-dc34-4550-97fa-2b089f364cca@sirena.org.uk> <0a3feafc-b843-420a-9b04-c835f8210c1a@amd.com> <048d9715-9cb2-4bc0-b8b0-5e30a0db54c7@leemhuis.info> From: Mario Limonciello In-Reply-To: <048d9715-9cb2-4bc0-b8b0-5e30a0db54c7@leemhuis.info> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SN7PR04CA0016.namprd04.prod.outlook.com (2603:10b6:806:f2::21) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|DM6PR12MB4329:EE_ X-MS-Office365-Filtering-Correlation-Id: ea04ef76-5348-4791-972b-08dbc352aebd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yKzc4wdOUw6IbpUcYNRqlDNdlHix9FUeUHyEpHW708imwo8tlE7MOWcDkPXwgteAoZ1y4R7awF2Mog3Rdg7tYSTly6NnmPy/J3lc8qn1S6It/g9uCh1n4DIpsEBwC9yu4WwldRMiaQQOgFuLxXnz9KldFmCT0TJrGEff/5J+AJzq9rlp/xLSwIOQrfpzx2fasguwSFvFkiSSfZAIR9EU0EOk9HGm+YbtlxmmQT6W/1NO251F0mdleeKBQiEOKM2lzKyRQb83QiBF8wCTGy6qo4PfpFY0T59BVXa9WWqxDy1g35Uv4W8ciRCbM+x1CT8uBkrjWguHU8EpI9n2AdDdRWOjy01fZDnfFrDedZj96PYnYzLSibGUFzCO+IqlwJrdVQ9yDwTrKjsZHIVQHb1ifg4uh7MASsnRN+Hp5qhAlqMXmLTrWa5tmtgc+411s7ZWk3/HkmvviYm1Lr5kkv/zVri7ZeROKo0WvvUJAfsGD6mcYSmPasUTqHTKSqGJPOfGIium6Su0i9FEwX8lM4lvCJ/GfLOW+v1WQ12Qg17rHjbmC0S9W2W9c7K4HFNzXk4uy4/ahlhYsOAE7mZZsDyMjOKf0c7SVzgNFuX1aVJiLdb3oAg/jrdtDA6RKUbY8Sm5 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6101.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(346002)(376002)(396003)(136003)(366004)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(2616005)(26005)(38100700002)(31696002)(36756003)(86362001)(83380400001)(316002)(54906003)(44832011)(8676002)(5660300002)(4326008)(41300700001)(66476007)(66556008)(8936002)(110136005)(66946007)(2906002)(31686004)(6666004)(6506007)(53546011)(6512007)(478600001)(6486002)(966005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c0N0QUZrcjlJU2o4cERDQnBpTERVKzZoaWRiTWRYZExQaUJicUxFaDdXNGpy?= =?utf-8?B?T25iRWpxSnhDcENCRmVtWnoyWlROczFNVUdGUGVka1FBTE1QaVJKRWxmVEhU?= =?utf-8?B?N2ZTR1l4eGRxOUljZHV6QXBpMmcyTDZlUjNPQlcwU2M1SDV2dks2TENJakZD?= =?utf-8?B?QXh5cXVpUlNGOXRQc2JaekFUckdkWlRaSFBXV1ZxeUlKM3NjeEJzUjQzRlAx?= =?utf-8?B?RVhDRTI5VmtrdTlMK0JaSExBbEcwUzc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RSRWhSNG05UytObUJpYmFKT2gvalh6NWJZckVUVHFkeU9HWTdwUTFG?= =?utf-8?Q?vvMwdhjKyBvbEUbVRdba2NT5L?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea04ef76-5348-4791-972b-08dbc352aebd X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2023 14:20:09.1397 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zr2rx2c/lh6ZvtjQEyCgHXzll88ClILWEHH1mzM9bd3sxN0Nx06bX62FyNxstpdgG3pFJzCJ2b/J8Nm3ih6Jxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4329 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 02 Oct 2023 07:20:42 -0700 (PDT) On 10/2/2023 09:13, Linux regression tracking (Thorsten Leemhuis) wrote: > On 02.10.23 15:47, Mario Limonciello wrote: >> On 10/2/2023 06:52, Mark Brown wrote: >>> On Mon, Oct 02, 2023 at 11:32:48AM +0200, Linux regression tracking >>> (Thorsten Leemhuis) wrote: >>> >>>> Makes me wonder: How many more such quirk entries will be needed? Will >>>> we have all machines listed soon, or do we expect that future Lenovo >>>> hardware will need entries as well? If it's the latter: are quirks >>>> really the right solution here, or do they just hide some bug or then >>>> need for code that automatically handles things? >>> >>> x86 firmware descriptions are terrible, it's just an endless procession >>> of quirks.  The model for ACPI is not to describe key information in the >>> kernel and instead on Windows load device specific information from >>> separately supplied tables.  On Linux that translates into these endless >>> quirks, on Windows it's platform specific drivers for otherwise generic >>> audio hardware. >> >> I knew there was a TON of "82" prefix systems from Lenovo so it was an >> educated guess that all of them needed DMIC support.  This was incorrect >> because one of them didn't have DMIC and that caused a no mic support >> problem on that system. >> >> So in the case of this seemingly endless list of systems being added to >> enable DMIC support Mark is right, Windows does it differently. > > Now I understand things better, many thx. But please allow me one more > question from the cheap seats: > > Seems before c008323fe361 things worked for a lot of systems for about > one year thx to 2232b2dd8cd4 (which added the wide "82" prefix quirk). > We then made that one machine work with c008323fe361, but broke a lot of > others with it that now need to be fixed with additional quirks; that > "TON of 82 prefix systems" sounds like we might not be close to the end > of that journey. > > So can't we just do it the other way around and assume DMIC support on > Lenovo 82* machines, except on those where we know it to cause trouble? > > Again: you are the experts here. If you are positive that we soon got > all machines covered where c008323fe361 causes a regression, then I > guess it's best to continue the patch we're on. I don't like lists that enable something for a ton of systems and then lists that disable something for a subset of them. This becomes difficult to maintain. I'm not positive, but the only way we get a full list is from Lenovo. > > 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.