Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6757383rwp; Tue, 18 Jul 2023 05:37:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlEV2qW6J8M3peNqm4rZ2nv2wXe2P6WUBbqGhBnlhEE3M7ybGs3UJok2KJAKIz7N23fanKnz X-Received: by 2002:a17:902:868a:b0:1b8:1335:b775 with SMTP id g10-20020a170902868a00b001b81335b775mr13375585plo.0.1689683820145; Tue, 18 Jul 2023 05:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689683820; cv=none; d=google.com; s=arc-20160816; b=Yxemo38msQx/3Mn31c2WEmsMPXYJjx7FuZWz60ktKI/YGK/A5Ky0rcksMySgUvaMJ7 p5ee/VRxrhCW/CvHnaF6zAcycqp5nwyLhTRJ2kOgCwtfEo7mvB8onoO9wPlIoostCJM7 Cz96C+Wwb3+SSup3zHWyrhESXwAafNcpzS6rOKyxsz/gOX1lQUpOwV60UuRWdWFWzMzh QNdHQYwVXSedhZSG1sFpr85w9h3k2QZalQC5SUv1Xw7vHda2HN3Re94V/4a4k7s/OKvx 4c8J5mcKe7vZogaxhQaeEASFffRZGZm9G6YD9IMFgER/mEQNUoXBQdLjvEuDU5DVqzh5 SWyw== 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 :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature:dkim-signature; bh=KbjvdsHsS1PmNV4JGwm/IUUOXq5JvVmOTqBck+EzJEk=; fh=vuaf21Hj8xS7sGT6DxEZv6MCY7V3HPsbj7NBIUC1Fy8=; b=jvFJztWUY9UoHNhgebTNTrSR085Nak5WLAyiGKC/aDJfAU3f4WUw5dLvhxjw7RlIW9 SGBbdSIIIoveL7zKo2dz92h3rPo0r2ng3crbW+IXkei9GwsbNNgVyn8W1h2/0luFlgcF zbBh+4bheq0+IPu352VVkPqkUOseTrzFh2mI3X/umWnXTnO5UvE+K0SiNWSnHqRzODHG sl7t3gpAICAW+v6xj618hjzmffH4JSq9AtDskgX0mVoTn3J1rA+As4fmWJY4ApUR1ST2 Rm/k33A1G9GX0+gGCXO53brn5B/jmhPTK/Lz1xT0tiRkIPpbX9RmQURmF9jixdAFQl0Q YPBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=RymDNfSa; dkim=neutral (no key) header.i=@suse.de header.b=uLYybcIK; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a170902c71200b001b8ae9058d3si1502599plp.516.2023.07.18.05.36.47; Tue, 18 Jul 2023 05:37:00 -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=@suse.de header.s=susede2_rsa header.b=RymDNfSa; dkim=neutral (no key) header.i=@suse.de header.b=uLYybcIK; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231518AbjGRMbL (ORCPT + 99 others); Tue, 18 Jul 2023 08:31:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231420AbjGRMbH (ORCPT ); Tue, 18 Jul 2023 08:31:07 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FACF10E6; Tue, 18 Jul 2023 05:31:06 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id F40C22195A; Tue, 18 Jul 2023 12:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689683465; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KbjvdsHsS1PmNV4JGwm/IUUOXq5JvVmOTqBck+EzJEk=; b=RymDNfSaGPwdSqtX2PwhA7GLLqrSo7DFLn8fHZrcCEzTV4W0ZDaLLD+PJ1FRHPXu5SMgGc nCt9BxL8UUn0v7vXkgWrRRGXhKvEMpKGEpZhbTzb4J41+Iy1tapHlLc4WgIvZLfYjgCvd4 UxZ0GdERj5YY6gJk8lQL9178OX7pnZk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689683465; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KbjvdsHsS1PmNV4JGwm/IUUOXq5JvVmOTqBck+EzJEk=; b=uLYybcIKIBzGtKobmZyQ05Z9kjWOjiLzlEKIt6RmL5oXEsuCP67rph5FANpRa2tXuOmTyU l4Wi0hxzHCF52gDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id AEE8F134B0; Tue, 18 Jul 2023 12:31:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id sCHNKQiGtmQUSAAAMHmgww (envelope-from ); Tue, 18 Jul 2023 12:31:04 +0000 Date: Tue, 18 Jul 2023 14:31:04 +0200 Message-ID: <87351lo0zb.wl-tiwai@suse.de> From: Takashi Iwai To: Amadeusz =?ISO-8859-2?Q?S=B3awi=F1ski?= Cc: Bjorn Helgaas , Mark Brown , Takashi Iwai , alsa-devel@alsa-project.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Cezary Rojewski , Pierre-Louis Bossart , Kai Vehmanen , Andy Shevchenko , Ilpo =?ISO-8859-1?Q?J=E4rvinen?= , Hans de Goede Subject: Re: [PATCH v4 00/15] PCI: Define Intel PCI IDs and use them in drivers In-Reply-To: <20230717114511.484999-1-amadeuszx.slawinski@linux.intel.com> References: <20230717114511.484999-1-amadeuszx.slawinski@linux.intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 Mon, 17 Jul 2023 13:44:56 +0200, Amadeusz S?awi?ski wrote: > > PCI IDs for Intel HDA are duplicated across quite a few drivers, due to > various configurations and historical reasons. Currently almost all uses > of HDA PCI IDs have corresponding comment telling which platform it is. > Additionally there are some inconsistencies between drivers about which > ID corresponds to which device. > > Simplify things, by adding PCI IDs to global header and make use of them > in drivers. This allows for removal of comments by having IDs themselves > being self explanatory. Additionally it allows for removal of existing > inconsistencies by having one source of truth. > > Changes from v3: > - Fix double space in commit message title (Ilpo) > - Comment ACPI/PCI ID handling in Atom SST driver (Andy) > - Rebased once again and used --base this time (Andy) > > Changes from v2: > - Change CHV to BSW (Andy) > - Fix incorrectly rebased patches (Andy) > - Fix commit message and add suggestions from Andy to SST patch (Andy) > - Rebased on top of Linus tree commit: 4b810bf037e5 > > Changes from v1: > - Remove BXT-T PCI ID as it is not released (Andy) > - Reorder macros to start from pci_match_id() (Andy) > - Add comment about BXT->APL name change in commit messages (Andy) > - Use SST as part of macro name for DSP only devices (Andy) > - Add PCI IDs for all SST combinations (Andy) > > Changes from RFC: > - Sort Intel PCI IDs before adding new ones > - Fix ordering of new PCI IDs (Andy) > - Define all used Intel IDs (Andy) > - Add macros for controller type detection (Andy/Bjorn) > - Add set of patches changing to use above macro (Andy/Bjorn) > - Use PCI_DEVICE_DATA for Intel IDs in sound/pci/hda/hda_intel.c (Andy) > - Commit message wording (Andy) > - Remove unnecessary tabs (Andy) > > Amadeusz S?awi?ski (15): > PCI: Sort Intel PCI IDs by number > PCI: Add Intel Audio DSP devices to pci_ids.h > ASoC: SOF: Remove unused Broxton PCI ID > ALSA: Remove unused Broxton PCI ID > ALSA: hda: Add controller matching macros > ALSA: hda: Use global PCI match macro > ALSA: hda/i915: Use global PCI match macro > ASoC: Intel: Skylake: Use global PCI match macro > ALSA: intel-dsp-config: Convert to PCI device IDs defines > ALSA: hda: Convert to PCI device IDs defines > ASoC: Intel: avs: Convert to PCI device IDs defines > ASoC: Intel: avs: Convert to PCI device IDs defines > ASoC: Intel: Skylake: Convert to PCI device IDs defines > ASoC: SOF: Intel: Convert to PCI device IDs defines > ASoC: Intel: sst: Convert to PCI device IDs defines Now applied all to sound.git tree, merged to for-next branch. I pushed a signed tag hda-pci-ids including those (based on 6.5-rc2). git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/hda-pci-ids Feel free to merge to other trees. thanks, Takashi