All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Kaneda <erik.kaneda@intel.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>, linux-acpi@vger.kernel.org
Cc: Cezary Rojewski <cezary.rojewski@intel.com>,
	Bob Moore <robert.moore@intel.com>,
	Erik Kaneda <erik.kaneda@intel.com>
Subject: [PATCH 08/10] ACPICA: Add NHLT table signature
Date: Fri, 27 Mar 2020 15:21:08 -0700	[thread overview]
Message-ID: <20200327222110.1204634-9-erik.kaneda@intel.com> (raw)
In-Reply-To: <20200327222110.1204634-1-erik.kaneda@intel.com>

From: Cezary Rojewski <cezary.rojewski@intel.com>

ACPICA commit 422166b656565d180bb3aac712009bdce5e70cdd

NHLT (Non-HDAudio Link Table) provides configuration of audio
endpoints for Intel SST (Smart Sound Technology) DSP products.
Similarly to other ACPI tables, data provided by BIOS may not
describe it correctly, thus overriding is required.

ACPI override mechanism checks for unknown signature before
proceeding. Update known signatures array to support NHLT.

Link: https://github.com/acpica/acpica/commit/422166b6
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/tables.c | 2 +-
 include/acpi/actbl2.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
index 180ac4329763..0e905c3d1645 100644
--- a/drivers/acpi/tables.c
+++ b/drivers/acpi/tables.c
@@ -501,7 +501,7 @@ static const char * const table_sigs[] = {
 	ACPI_SIG_WDDT, ACPI_SIG_WDRT, ACPI_SIG_DSDT, ACPI_SIG_FADT,
 	ACPI_SIG_PSDT, ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT,
 	ACPI_SIG_IORT, ACPI_SIG_NFIT, ACPI_SIG_HMAT, ACPI_SIG_PPTT,
-	NULL };
+	ACPI_SIG_NHLT, NULL };
 
 #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
 
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index 2175b3f84f02..ec66779cb193 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -43,6 +43,7 @@
 #define ACPI_SIG_SBST           "SBST"	/* Smart Battery Specification Table */
 #define ACPI_SIG_SDEI           "SDEI"	/* Software Delegated Exception Interface Table */
 #define ACPI_SIG_SDEV           "SDEV"	/* Secure Devices table */
+#define ACPI_SIG_NHLT           "NHLT"	/* Non-HDAudio Link Table */
 
 /*
  * All tables must be byte-packed to match the ACPI specification, since
-- 
2.25.1


  parent reply	other threads:[~2020-03-27 22:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27 22:21 [PATCH 00/10] ACPICA release 20200326 Erik Kaneda
2020-03-27 22:21 ` [PATCH 01/10] ACPICA: Fix a typo in a comment field Erik Kaneda
2020-03-27 22:21 ` [PATCH 02/10] ACPICA: Implement IVRS IVHD type 11h parsing Erik Kaneda
2020-03-27 22:21 ` [PATCH 03/10] ACPICA: Fix IVRS IVHD type 10h reserved field name Erik Kaneda
2020-03-27 22:21 ` [PATCH 04/10] ACPICA: Change PlatformCommChannel ASL keyword to PCC Erik Kaneda
2020-03-27 22:21 ` [PATCH 05/10] ACPICA: acpiexec: remove redeclaration of acpi_gbl_db_opt_no_region_support Erik Kaneda
2020-03-27 22:21 ` [PATCH 06/10] ACPICA: utilities: fix sprintf() Erik Kaneda
2020-03-27 22:21 ` [PATCH 07/10] ACPICA: WSMT: Fix typo, no functional change Erik Kaneda
2020-03-27 22:21 ` Erik Kaneda [this message]
2020-03-27 22:21 ` [PATCH 09/10] ACPICA: Fixes for acpiExec namespace init file Erik Kaneda
2020-03-27 22:21 ` [PATCH 10/10] ACPICA: Update version 20200326 Erik Kaneda
2020-03-28 12:34 ` [PATCH 00/10] ACPICA release 20200326 Rafael J. Wysocki

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=20200327222110.1204634-9-erik.kaneda@intel.com \
    --to=erik.kaneda@intel.com \
    --cc=cezary.rojewski@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robert.moore@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: link
Be 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.