From patchwork Thu Mar 24 12:52:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 8660631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 46217C0553 for ; Thu, 24 Mar 2016 12:58:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7697C203AE for ; Thu, 24 Mar 2016 12:58:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 51D68203A0 for ; Thu, 24 Mar 2016 12:58:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aj4os-0001eG-NR; Thu, 24 Mar 2016 12:56:58 +0000 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aj4mo-0006ui-PV for linux-arm-kernel@lists.infradead.org; Thu, 24 Mar 2016 12:54:58 +0000 Received: by mail-lf0-x22f.google.com with SMTP id q73so31027273lfe.2 for ; Thu, 24 Mar 2016 05:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=t2LxFeV0QSwu9Wr6dPJO4vyCQUnuUO/vkE/ZtQQf8v8=; b=SCsfQTOHcu6GhIOafAzWLZkfnojAibyodLi+v9SJBiriNt+aw0tq4eck1ZqnNMGI0X r+0vZcHB4iPK0P9J/Effa16xdp+bq6ngBNM0iVxIT4Q6zbkCJ0Mi6C58MSbHEr8koe+q 7QL309eELPcUasFlJqJGmp5mk5G3tGCDfdclM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=t2LxFeV0QSwu9Wr6dPJO4vyCQUnuUO/vkE/ZtQQf8v8=; b=amGO8hI1/ntUynp3uiS+J/nlEYLNGaWwnVVjXCaP4GvS+BpXpbqKuHErM9l38d+iAH CslHvjY+KJniMZQaavNQkae7astK1k0HNeuzortqXVMfmeXG5YxrsQxkLbNPD775ZSvK 4SO2Esw///tiBxuNqNuz1RkBmqxZBE0H35Zot/NbQlSXbcDBSVWV2w/ysBOtVtNcXr8G H5O4rKi+MA0bjHTt7a+jPScQimfqsqTWzAZn2v075DzcaPTx4rfeVdsx2IZnoBC4zQ1T MtNty/wTwfa925gcwLMfvsGc3dTeE+q1DKOiqRulUidye6azINM0tDi38jku8etJ0Z+9 wfOA== X-Gm-Message-State: AD7BkJLZhyehHGwPgFGIMEpvdecczgU+L7C/larVEr2Z++EhfvKY88F6cTdjC57nX6l1nANb X-Received: by 10.25.170.85 with SMTP id t82mr2758107lfe.57.1458824068332; Thu, 24 Mar 2016 05:54:28 -0700 (PDT) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id rh2sm1167378lbb.36.2016.03.24.05.54.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Mar 2016 05:54:27 -0700 (PDT) From: Aleksey Makarov To: Greg Kroah-Hartman , "Rafael J . Wysocki" , Len Brown Subject: [PATCH v6 2/5] ACPI: add definitions of DBG2 subtypes Date: Thu, 24 Mar 2016 15:52:00 +0300 Message-Id: <1458823925-19560-3-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1458823925-19560-1-git-send-email-aleksey.makarov@linaro.org> References: <1458823925-19560-1-git-send-email-aleksey.makarov@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160324_055451_670049_3FAC158E X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell King , Peter Hurley , Graeme Gregory , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Leif Lindholm , Robert Moore , linux-acpi@vger.kernel.org, Aleksey Makarov , Yury Norov , Christopher Covington , linux-serial@vger.kernel.org, devel@acpica.org, Al Stone , linux-arm-kernel@lists.infradead.org, "Zheng, Lv" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The recent version of Microsoft Debug Port Table 2 (DBG2) [1] specifies additional serial debug port subtypes. These constants are also referred by Serial Port Console Redirection Table (SPCR) [2] Add these constants. [1] https://msdn.microsoft.com/en-us/library/windows/hardware/dn639131(v=vs.85).aspx [2] https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx Signed-off-by: Aleksey Makarov --- include/acpi/actbl2.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index a4ef625..652f747 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -371,6 +371,11 @@ struct acpi_dbg2_device { #define ACPI_DBG2_16550_COMPATIBLE 0x0000 #define ACPI_DBG2_16550_SUBSET 0x0001 +#define ACPI_DBG2_ARM_PL011 0x0003 +#define ACPI_DBG2_ARM_SBSA_32BIT 0x000D +#define ACPI_DBG2_ARM_SBSA_GENERIC 0x000E +#define ACPI_DBG2_ARM_DCC 0x000F +#define ACPI_DBG2_BCM2835 0x0010 #define ACPI_DBG2_1394_STANDARD 0x0000