From: Mark Brown <broonie@kernel.org> To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Cc: alsa-devel@alsa-project.org, Kai Vehmanen <kai.vehmanen@linux.intel.com>, Takashi Iwai <tiwai@suse.de>, linux-kernel@vger.kernel.org, Takashi Iwai <tiwai@suse.com>, Liam Girdwood <lgirdwood@gmail.com>, Ranjani Sridharan <ranjani.sridharan@linux.intel.com>, linux-tegra@vger.kernel.org, Jon Hunter <jonathanh@nvidia.com>, Bard liao <yung-chuan.liao@linux.intel.com> Subject: Re: [PATCH V2] ASoC: soc-core: Prevent warning if no DMI table is present Date: Wed, 10 Mar 2021 18:16:11 +0000 [thread overview] Message-ID: <20210310181611.GE28564@sirena.org.uk> (raw) In-Reply-To: <cf03ce61-1501-e0e7-6887-d921c7d1af62@linux.intel.com> [-- Attachment #1: Type: text/plain, Size: 726 bytes --] On Wed, Mar 10, 2021 at 11:50:13AM -0600, Pierre-Louis Bossart wrote: > On 3/10/21 10:52 AM, Mark Brown wrote: > > Build time dependencies aren't going to help anything, arm64 (and to my > > understanding some future x86 systems, LynxPoint IIRC) supports both DT > > and ACPI and so you have kernels built with support for both. > well, that's what I suggested initially: > if (is_of_node(card->dev->fwnode)) > I used the of_node test as a proxy for 'no DMI' since I am not aware of any > means to detect if DMI is enabled at run-time. Can we not fix the DMI code so it lets us check dmi_available either directly or with an accessor? I don't understand why all the proposals are dancing around local bodges here. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org> To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Cc: alsa-devel@alsa-project.org, Kai Vehmanen <kai.vehmanen@linux.intel.com>, Takashi Iwai <tiwai@suse.de>, Takashi Iwai <tiwai@suse.com>, Liam Girdwood <lgirdwood@gmail.com>, linux-kernel@vger.kernel.org, Ranjani Sridharan <ranjani.sridharan@linux.intel.com>, linux-tegra@vger.kernel.org, Jon Hunter <jonathanh@nvidia.com>, Bard liao <yung-chuan.liao@linux.intel.com> Subject: Re: [PATCH V2] ASoC: soc-core: Prevent warning if no DMI table is present Date: Wed, 10 Mar 2021 18:16:11 +0000 [thread overview] Message-ID: <20210310181611.GE28564@sirena.org.uk> (raw) In-Reply-To: <cf03ce61-1501-e0e7-6887-d921c7d1af62@linux.intel.com> [-- Attachment #1: Type: text/plain, Size: 726 bytes --] On Wed, Mar 10, 2021 at 11:50:13AM -0600, Pierre-Louis Bossart wrote: > On 3/10/21 10:52 AM, Mark Brown wrote: > > Build time dependencies aren't going to help anything, arm64 (and to my > > understanding some future x86 systems, LynxPoint IIRC) supports both DT > > and ACPI and so you have kernels built with support for both. > well, that's what I suggested initially: > if (is_of_node(card->dev->fwnode)) > I used the of_node test as a proxy for 'no DMI' since I am not aware of any > means to detect if DMI is enabled at run-time. Can we not fix the DMI code so it lets us check dmi_available either directly or with an accessor? I don't understand why all the proposals are dancing around local bodges here. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2021-03-10 18:18 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-03 11:55 [PATCH V2] ASoC: soc-core: Prevent warning if no DMI table is present Jon Hunter 2021-03-03 11:55 ` Jon Hunter 2021-03-04 0:54 ` Mark Brown 2021-03-04 0:54 ` Mark Brown 2021-03-09 19:41 ` Pierre-Louis Bossart 2021-03-09 19:41 ` Pierre-Louis Bossart 2021-03-10 13:35 ` Mark Brown 2021-03-10 13:35 ` Mark Brown 2021-03-10 15:44 ` Pierre-Louis Bossart 2021-03-10 16:18 ` Mark Brown 2021-03-10 16:37 ` Takashi Iwai 2021-03-10 16:41 ` Pierre-Louis Bossart 2021-03-10 16:52 ` Mark Brown 2021-03-10 16:52 ` Mark Brown 2021-03-10 17:50 ` Pierre-Louis Bossart 2021-03-10 17:50 ` Pierre-Louis Bossart 2021-03-10 18:16 ` Mark Brown [this message] 2021-03-10 18:16 ` Mark Brown 2021-03-10 18:37 ` Pierre-Louis Bossart 2021-03-10 18:37 ` Pierre-Louis Bossart 2021-03-10 19:17 ` Jon Hunter 2021-03-10 19:17 ` Jon Hunter 2021-03-10 20:16 ` Mark Brown 2021-03-10 20:16 ` Mark Brown 2021-03-10 16:50 ` Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210310181611.GE28564@sirena.org.uk \ --to=broonie@kernel.org \ --cc=alsa-devel@alsa-project.org \ --cc=jonathanh@nvidia.com \ --cc=kai.vehmanen@linux.intel.com \ --cc=lgirdwood@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-tegra@vger.kernel.org \ --cc=pierre-louis.bossart@linux.intel.com \ --cc=ranjani.sridharan@linux.intel.com \ --cc=tiwai@suse.com \ --cc=tiwai@suse.de \ --cc=yung-chuan.liao@linux.intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.