Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1052284ybb; Fri, 20 Mar 2020 12:28:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsdpEb7WsZupnSs13Biu1y8QUJQXztdmgXYQcgNELOR5uN1/7mEh/6y2+xkOXHNOeXpRqZB X-Received: by 2002:aca:4f57:: with SMTP id d84mr7646210oib.161.1584732523381; Fri, 20 Mar 2020 12:28:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584732523; cv=none; d=google.com; s=arc-20160816; b=xSPosvgY3EttrtCnavIik0ambTruKu/8yK1WavziqMf300XxXAQ2zNvPgZI6gDVfoS gFj/Y2sVBWiraK/gk4fwD0WAif1Pfmeym8lIXU9hRivVHf4h+kImYLmLGrVCpQUH89g+ HqmBaMGFXDt0WZk716QEnYeh+ft07Is9uqxeGl2xYQAtqlVnN+vjuNkFjx64BUz2zUEn a0UoY5Q3ll++5HPB4cu9gZi9/MBI9jYo4C96LWzAevF14WUw4Ngh6eAtyT2at2zaADY7 bYKepyTxCnycuNs7+niplDPZlah5ANGsus00jZOSVPddP56ObVzUZ13yCrMOQ95Qw28s XAwQ== 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 :ironport-sdr:ironport-sdr; bh=/QnFAjTu0BwE6ULKeUqIu/ThEi06sy6pn7l6p4Belho=; b=S07gANkRK2eyw3NvO2LfUFg2J6V2y76Ur38gdcJvJtHLDLTyoJJH4pV4qCSozUqR1i SkGmZXZ+EpvCs0EsZ6qbJWP5MFJQUN5AxbOoXaufaLNt4srGEI2lYj7wkEiUWFl3dRKr YROEd1ezFWbq6wS/RVwNp2eiKQU5P2kuhQF6al+TU+3GbIsk6AtH2beYPzKmrdiLMAN8 qMaH/Ugjy1CPubclRuiyBdkmA1eWa92eADHOiu7gAAW1DmomvA/tZHxKWKm8RHcLhmzi qOJyktzvNZ8EVYRJ/n+aMkzYylIuOD103OdpLfVKudn7bXBz9OYpd61/7xBn4cLJQh3o puWg== 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 s11si3738414otp.95.2020.03.20.12.28.28; Fri, 20 Mar 2020 12:28:43 -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 S1726997AbgCTT2N (ORCPT + 99 others); Fri, 20 Mar 2020 15:28:13 -0400 Received: from mga17.intel.com ([192.55.52.151]:32545 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726814AbgCTT2N (ORCPT ); Fri, 20 Mar 2020 15:28:13 -0400 IronPort-SDR: QGMDbq2j2oV/5Fm3JJN9HYNEL5TqSf4U63TRwArg4/xProb2Sch0ifl+C+5FB70dGv0H91GlAB orQz8sx3LrLA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2020 12:28:12 -0700 IronPort-SDR: Yetx+1ziaSCB5Y1zU6AmK+/oXrtZVEj07pPS9ynG1p+MBVtT8mt9WCMYXJpLL9+i+N9hnqj4Vq qKEP38mY9BNA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,285,1580803200"; d="scan'208";a="280521980" Received: from crojewsk-ctrl.igk.intel.com ([10.102.9.28]) by fmsmga002.fm.intel.com with ESMTP; 20 Mar 2020 12:28:09 -0700 From: Cezary Rojewski To: linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, erik.schmauss@intel.com, lenb@kernel.org, rafael@kernel.org, Cezary Rojewski , Erik Kaneda , Robert Moore , "Rafael J . Wysocki" Subject: [RESEND PATCH] acpi: Add NHLT table signature Date: Fri, 20 Mar 2020 20:27:27 +0100 Message-Id: <20200320192727.20560-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