Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp803497ybh; Thu, 12 Mar 2020 11:24:58 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt0/pjBvb9KZyOM8ppkTrWuryXKRMAScFX0qelW4LFp29ix1TYjqHCFa8/TgLSQg2u/Zm49 X-Received: by 2002:aca:b902:: with SMTP id j2mr3223274oif.49.1584037497927; Thu, 12 Mar 2020 11:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584037497; cv=none; d=google.com; s=arc-20160816; b=H6QN1BF83TYG+NmS8e/9HbysL1ARFM8edtsD5mU7d+hhzDiIW7ENYC/9FscEEHjMSA q6JkXS8X9fZJUa+vdV3V91Nx1hJP8Bn0Q6zQ7Eiu/zxKXo02mtRJUCfQjDnyS5U73UlT dH49m5LmXmr5lHK+9xecNJDvetIwxvmurKXUKN1bcgzJgsOiEAiI9rC/5gDd2vo/j5vV dh8Lxo75GheJXpTqO8mYqnerfpJgg5QL9xlEEwXbBJFGqwTBpW/Mi7lSLmG2REKsO8xO yNXHcsfcBDCa/TMqDJ2C0z815o21y7oq75o3Y34u5QJZqqQINIqb81ODs+/bId4pjE85 msww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=CD4X8uQJ9NYxKsqh9Sy4Rhi0mP1XoOFxKKBSYo3MB+Q=; b=QVNBnHSQSL+gMcZQyGDZo/q9eryrv2dsZn53rrtIMxz/hXtEgnqiaCiKM9jxkWn7WL CXhuGBpS77IgSgHBjlaTu1xIY2NGNoU/NqlDO206Zl5I3ODqd0sHOVrsogDlkEEH6QAz cXRWATjnaNUlNtua4j9yJ98Ne3vvsANBkf7Zy+JGPbFbSKNGOiycqNQId7wKsZntRf5j KntTIp2NAWjmQFLfa8aCCLhIFrWLSev1VYzE333ncyvcB+1eLGEN2lfOS8ilyum3WeS1 G0OY6uo2Q+oCeLqjSim27MLKMpun7kJroYCRXIVkBSDzQMBZeXGYXnWi4ubSHGWgGTsE ltDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si2829829oic.140.2020.03.12.11.24.46; Thu, 12 Mar 2020 11:24:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726526AbgCLSXD (ORCPT + 99 others); Thu, 12 Mar 2020 14:23:03 -0400 Received: from mga01.intel.com ([192.55.52.88]:1990 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbgCLSXD (ORCPT ); Thu, 12 Mar 2020 14:23:03 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2020 11:23:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,545,1574150400"; d="scan'208";a="322555535" Received: from crojewsk-ctrl.igk.intel.com ([10.102.9.28]) by orsmga001.jf.intel.com with ESMTP; 12 Mar 2020 11:23:01 -0700 From: Cezary Rojewski To: linux-kernel@vger.kernel.org Cc: alsa-devel@alsa-project.org, Cezary Rojewski , Erik Kaneda , Robert Moore , "Rafael J . Wysocki" Subject: [PATCH] acpi: Add NHLT table signature Date: Thu, 12 Mar 2020 19:22:16 +0100 Message-Id: <20200312182216.7818-1-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. CC: Erik Kaneda CC: Robert Moore CC: Rafael J. Wysocki Signed-off-by: Cezary Rojewski --- 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 e45ced27f4c3..876ccf50ec36 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.17.1