Message ID | 20230714202457.423866-4-amadeuszx.slawinski@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2473620vqm; Fri, 14 Jul 2023 05:38:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlELKJOep4pEpFlGHeFKw+ueIC/wGIz+cC8eBCBlcZYlJyHwcNHfNtO8vlvOgy/sqz90hA4U X-Received: by 2002:a05:6a20:a10f:b0:133:5da8:2fa7 with SMTP id q15-20020a056a20a10f00b001335da82fa7mr3429132pzk.25.1689338295227; Fri, 14 Jul 2023 05:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689338295; cv=none; d=google.com; s=arc-20160816; b=LhuMuQcb8OAbAh1qDFfzwYCgP+hihklCLkdjlexF9Af+ym9HR0ZEOYASvoP0sKWwwf Q6T6V61u3hMx7At/eORfkvSahqFjDS9hAiHcy35h+53DmKU+s+Md4fa+/v4wJwo7gBtJ 2aEdM2rPbE5l+0bllbLfstLmLUlyURNv2yhOcODI8ABeMWeaFCK8mlwMLjCdXZ3cGgA1 PNZZojLlyfVCqFKPDL5MkS+op2+XYJCnuqqlAajKYbsEQXsidbZ88Q13bcKRnb7bevL2 QxevdSmku6efAmK7M49i221rFBWvKZiTkOsissKxTKUYTAIyQRC/9UT8Zl0/BamWEiME NorQ== 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:date:subject:cc:to:from :dkim-signature; bh=WwnzmoVDvcdtLDi044IKoYN9PoONDmwi+aFqtLRmnSk=; fh=iLu8mJV3L09dzJN6VXkKj+SRT/C9p8fR4gJYErWu4bc=; b=ULyH8bvubl6N2h5LjCVbIgZXmFQSJNQQTx0icTwD/6VHuTjx3DpfeWqp6XhH9mfUHM 4t/tO0Lg0eIF9YP1NFhi+BzGrtChaSrNe5dxgu8CNHf69GPGIcodB+CK9p6d4FMoey+P YT31Qo0tcN80r9HmXBYe2IWSmaG8CjAS39QVStvf1VKso2pwxXF/ua+FWKv5k8pTwWTz KT7BaE9cOFJojL2BmM4ePU8q1bU0GPVVq078KyTUfasZpsi0oHdX+SuLSk3cpj0pVMsB EtJgc0e6T9BEPkMb+gQ4MTBuIbMAZ1OfIeynzeDK9mrujq0ZNe6vnJG6pWbLeVPvNN9z SSYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hm6yBrtZ; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t13-20020a63f34d000000b005526bd13605si6770200pgj.775.2023.07.14.05.38.02; Fri, 14 Jul 2023 05:38:15 -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=@intel.com header.s=Intel header.b=hm6yBrtZ; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234989AbjGNMX5 (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Fri, 14 Jul 2023 08:23:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235812AbjGNMXx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 14 Jul 2023 08:23:53 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 786E130F8; Fri, 14 Jul 2023 05:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689337431; x=1720873431; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=t3HZv5qJPf5xVVC8Dhp4RNscGO5uzAyDv01K9l4KYPQ=; b=hm6yBrtZo5/VwVia18mz4sftTZ7IUUvCYAv2vLSNuM9YMIFpkxWh2Goj VePPTZT7HH0/Z7mQJCeGhtefvgalP3bZ17AxCKubPztiR7S3wJeXHeqKn WRS9qYbOsAYA5kGU9pcymJMqqNEdI8bL5mPP8f+Fuczw8j1Z/DRHmuL6n y40F3hHyJCIRBI9KSnSis+FbXaGL44+UNwBZQgzoMoe6vssH6iRQsj8d3 V5AY/q8Jm3t6bB4ZkzIRr4bWVzsxU9UPX6WOjLKoZTD01ngs8f9UKlKCj AS1s8xPImUpQ6FObsrMqDkUVX4hpbUnqwCKokv60Pi43jhOB3imCbOr1y g==; X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="429225803" X-IronPort-AV: E=Sophos;i="6.01,205,1684825200"; d="scan'208";a="429225803" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2023 05:23:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="1053034865" X-IronPort-AV: E=Sophos;i="6.01,205,1684825200"; d="scan'208";a="1053034865" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga005.fm.intel.com with ESMTP; 14 Jul 2023 05:23:48 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= <amadeuszx.slawinski@linux.intel.com> To: Bjorn Helgaas <bhelgaas@google.com>, Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com> Cc: alsa-devel@alsa-project.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Cezary Rojewski <cezary.rojewski@intel.com>, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>, Kai Vehmanen <kai.vehmanen@linux.intel.com>, Andy Shevchenko <andriy.shevchenko@intel.com>, Hans de Goede <hdegoede@redhat.com>, =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= <amadeuszx.slawinski@linux.intel.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com> Subject: [PATCH v3 03/15] ASoC: SOF: Remove unused Broxton PCI ID Date: Fri, 14 Jul 2023 22:24:45 +0200 Message-Id: <20230714202457.423866-4-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230714202457.423866-1-amadeuszx.slawinski@linux.intel.com> References: <20230714202457.423866-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771399591981281153 X-GMAIL-MSGID: 1771399591981281153 |
Series |
PCI: Define Intel PCI IDs and use them in drivers
|
|
Commit Message
Amadeusz Sławiński
July 14, 2023, 8:24 p.m. UTC
Current code references 0x1a98 which is BXT-M (not -T as it is commented) and it's an RVP, BXT-M B0 to be specific. From what we know no BXT is available on market. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> --- sound/hda/intel-dsp-config.c | 7 ------- sound/soc/sof/intel/pci-apl.c | 2 -- 2 files changed, 9 deletions(-)
Comments
On Fri, Jul 14, 2023 at 10:24:45PM +0200, Amadeusz Sławiński wrote: > Current code references 0x1a98 which is BXT-M (not -T as it is > commented) and it's an RVP, BXT-M B0 to be specific. From what we know > no BXT is available on market. ... > sound/hda/intel-dsp-config.c | 7 ------- > sound/soc/sof/intel/pci-apl.c | 2 -- I dunno how SOF and HDA are related to each other, but in the next patch you also do something about HDA, either group all of them, or split HDA, or split on per file basis. I'm not familiar with the relationship between them up to you which way you choose.
On 7/14/2023 2:35 PM, Andy Shevchenko wrote: > On Fri, Jul 14, 2023 at 10:24:45PM +0200, Amadeusz Sławiński wrote: >> Current code references 0x1a98 which is BXT-M (not -T as it is >> commented) and it's an RVP, BXT-M B0 to be specific. From what we know >> no BXT is available on market. > > ... > >> sound/hda/intel-dsp-config.c | 7 ------- >> sound/soc/sof/intel/pci-apl.c | 2 -- > > I dunno how SOF and HDA are related to each other, but in the next patch you > also do something about HDA, either group all of them, or split HDA, or split > on per file basis. I'm not familiar with the relationship between them up to > you which way you choose. > Well SOF is a DSP driver, so that's why I split it from HDA - intel-dsp-config.c file is used to perform checks to know if it should load DSP driver (and which one), hence the "weird" split.
On Fri, Jul 14, 2023 at 02:44:06PM +0200, Amadeusz Sławiński wrote: > On 7/14/2023 2:35 PM, Andy Shevchenko wrote: > > On Fri, Jul 14, 2023 at 10:24:45PM +0200, Amadeusz Sławiński wrote: ... > > > sound/hda/intel-dsp-config.c | 7 ------- > > > sound/soc/sof/intel/pci-apl.c | 2 -- > > > > I dunno how SOF and HDA are related to each other, but in the next patch you > > also do something about HDA, either group all of them, or split HDA, or split > > on per file basis. I'm not familiar with the relationship between them up to > > you which way you choose. > > > > Well SOF is a DSP driver, so that's why I split it from HDA - > intel-dsp-config.c file is used to perform checks to know if it should load > DSP driver (and which one), hence the "weird" split. Ah, okay that explains!
diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c index 317bdf6dcbef..5cee995f7a42 100644 --- a/sound/hda/intel-dsp-config.c +++ b/sound/hda/intel-dsp-config.c @@ -53,13 +53,6 @@ static const struct config_entry config_table[] = { .device = 0x119a, }, #endif -/* Broxton-T */ -#if IS_ENABLED(CONFIG_SND_SOC_SOF_APOLLOLAKE) - { - .flags = FLAG_SOF, - .device = 0x1a98, - }, -#endif /* * Apollolake (Broxton-P) * the legacy HDAudio driver is used except on Up Squared (SOF) and diff --git a/sound/soc/sof/intel/pci-apl.c b/sound/soc/sof/intel/pci-apl.c index 69cad5a6bc72..bc3ad64baec5 100644 --- a/sound/soc/sof/intel/pci-apl.c +++ b/sound/soc/sof/intel/pci-apl.c @@ -87,8 +87,6 @@ static const struct sof_dev_desc glk_desc = { static const struct pci_device_id sof_pci_ids[] = { { PCI_DEVICE(0x8086, 0x5a98), /* BXT-P (ApolloLake) */ .driver_data = (unsigned long)&bxt_desc}, - { PCI_DEVICE(0x8086, 0x1a98),/* BXT-T */ - .driver_data = (unsigned long)&bxt_desc}, { PCI_DEVICE(0x8086, 0x3198), /* GeminiLake */ .driver_data = (unsigned long)&glk_desc}, { 0, }