From patchwork Tue Dec 6 17:58:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 9463027 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 59AAF60231 for ; Tue, 6 Dec 2016 17:59:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50EDA2848F for ; Tue, 6 Dec 2016 17:59:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 459552849F; Tue, 6 Dec 2016 17:59:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB9422848F for ; Tue, 6 Dec 2016 17:59:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752043AbcLFR7T (ORCPT ); Tue, 6 Dec 2016 12:59:19 -0500 Received: from mail-wj0-f177.google.com ([209.85.210.177]:33839 "EHLO mail-wj0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753132AbcLFR7E (ORCPT ); Tue, 6 Dec 2016 12:59:04 -0500 Received: by mail-wj0-f177.google.com with SMTP id tg4so76152887wjb.1 for ; Tue, 06 Dec 2016 09:58:58 -0800 (PST) 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=AE9m090pm1kIyPqcYy2MrgtrOTfKZMaOJ545OXy+6BM=; b=jcbT7uUWEeyTFIFHJDiYXJO5M7CpCciBGBm8Rm6JOObFVEGArlZ5oRFXPyjIChN2a+ HXpgdnajSu9ccrfQ/BqtfPhH+tm1XcWI6QxDXrnqYgY5YE643J/OEFzXDvsUUmVW2Mgn nKa8kIz3FaZI6bRKL3sYRtzdiRyLQbN0GMlTA= 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=AE9m090pm1kIyPqcYy2MrgtrOTfKZMaOJ545OXy+6BM=; b=jCYSPi9DRiPSWOyVrLZwm3FIZ9WL83ZWZ7pyKzhoEtQoyXCA20zDRdWC8rmRby32i1 ohcs1pBPJ4r3jH6tS+w3mHNPXRWl8JqIpCLjkMb6ihOyeRGBW97ztZX0pRkBvIaNCubL RJMxKgbxEIpr9pHrJhLBFYcQ7hDh5FMrBSnL7T9bXOXLAcRUKE/3wDZ8Juz90HLufAmM RS+xyVItTqCNGd9j2pLQ9wEkhiIXSDH6E4pnC87puaMFP5qhgzHMzoFCUHiUq7ABlxa3 AL4Rgw0errcbNykMHN92eljFRbhJUmHFWfpwxjmxZvV4p5Y17pQgYoX5Ou4kK4SVT0P/ +/MQ== X-Gm-Message-State: AKaTC03ZwuTZxBdnD/izvL0/lJFdRgvFHT5/3YBoIMX685zRsyWiEMD5ImwqdvSBiU4T2aYl X-Received: by 10.25.79.15 with SMTP id d15mr1264653lfb.118.1481047137964; Tue, 06 Dec 2016 09:58:57 -0800 (PST) Received: from localhost.localdomain (host-95-189-166-46.pppoe.omsknet.ru. [95.189.166.46]) by smtp.gmail.com with ESMTPSA id y26sm3972918lja.22.2016.12.06.09.58.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 09:58:57 -0800 (PST) From: Aleksey Makarov To: "Rafael J . Wysocki" Cc: linux-acpi@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Russell King , Peter Hurley , Aleksey Makarov , Jon Masters , Mark Salter , Duc Dang , Rob Herring , Robert Moore , Lv Zheng , "Rafael J. Wysocki" , Len Brown , devel@acpica.org Subject: [RFC v2 3/4] ACPI: DBG2: add 16550 UART with 32-bit access Date: Tue, 6 Dec 2016 23:58:28 +0600 Message-Id: <20161206175830.6989-4-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161206175830.6989-1-aleksey.makarov@linaro.org> References: <20161206175830.6989-1-aleksey.makarov@linaro.org> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It was suggested to add a new Microsoft Debug Port Table 2 (DBG2) (the table used to enumerate the various subtypes of serial port covered by the SPCR) 16550 UART subtype that may be needed for some additional platforms, such as those based upon AppliedMicro X-Gene ARMv8 SoCs. This new subtype would be 16550-compatible with 32-bit access. There already exists 32-bit variant ACPI_DBG2_ARM_SBSA_32BIT of SBSA console ACPI_DBG2_ARM_SBSA_GENERIC. This patch introduces it to Linux kernel. Signed-off-by: Aleksey Makarov --- include/acpi/actbl2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index c93dbad..f219b04 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -371,6 +371,7 @@ struct acpi_dbg2_device { #define ACPI_DBG2_16550_COMPATIBLE 0x0000 #define ACPI_DBG2_16550_SUBSET 0x0001 +#define ACPI_DBG2_16550_32BIT 0x0002 #define ACPI_DBG2_ARM_PL011 0x0003 #define ACPI_DBG2_ARM_SBSA_32BIT 0x000D #define ACPI_DBG2_ARM_SBSA_GENERIC 0x000E