From patchwork Mon Feb 29 12:42:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 63207 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1223931lbc; Mon, 29 Feb 2016 04:43:36 -0800 (PST) X-Received: by 10.66.122.3 with SMTP id lo3mr21471788pab.25.1456749806393; Mon, 29 Feb 2016 04:43:26 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si3212675pat.114.2016.02.29.04.43.26; Mon, 29 Feb 2016 04:43:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-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-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755182AbcB2MnX (ORCPT + 1 other); Mon, 29 Feb 2016 07:43:23 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:34596 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754917AbcB2MnS (ORCPT ); Mon, 29 Feb 2016 07:43:18 -0500 Received: by mail-lb0-f181.google.com with SMTP id of3so78945476lbc.1 for ; Mon, 29 Feb 2016 04:43:17 -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=O5q2WHbZxutmzL3RQgelrzBXlkBRQaRXyPCJvOcBUFc=; b=RCcySlqahTNMsQjOQKhoeDv62opV9f0oIFSEYpr/83q5idhDqW+mfqDYpqIjUsFLz/ R17ghlMrAzlr0TGTso2eO/CLefnxWYhieRrmecbuf4sxRXvMBU8uFo31QqGT1TJEygl5 7XUfyn6NjOkwbdD4rjsu2AC5Fio1Ze1yWWZs4= 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=O5q2WHbZxutmzL3RQgelrzBXlkBRQaRXyPCJvOcBUFc=; b=cq19QxjxreluaSZuSmQJ/fqEN5SnOUoMoLKFWXPfRZ7XfWOUY1E7MJLGWFiBYqr1JP umY+KAR7cnWaF375MWw86YVwL/yNiXoMsyG6PurnbogkSX3cIHvec+09O26uMBTJ0tf7 FUbgV34AYeZLVR4DJzd6VUOF7ntzIGb6lq+lIrzZoPfrXCLe2KjGLFhFX/PbSNqw4fzI nAyqUpEfhuZDvDHZVgtzftAtkYufYjDAnFLYSN7N9CMpTOOB0bTUBmiBBKCgvXbTGKPK 0YiLb4Jk+t9BTUIwq0WQHLY31Qpw8Y3/X0VrukFMCMs8cwW3r3b9QWYSaUdNgpHT2D3Z RRPg== X-Gm-Message-State: AD7BkJJQmq6pttQW0XSeUcwjipp1JMjNAzwHzdKprsduvPUsQRhfgu8ZAGoqWE13G6SCMDeg X-Received: by 10.112.166.100 with SMTP id zf4mr5416461lbb.58.1456749797093; Mon, 29 Feb 2016 04:43:17 -0800 (PST) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id ke9sm3929150lbc.28.2016.02.29.04.43.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 04:43:16 -0800 (PST) From: Aleksey Makarov To: linux-acpi@vger.kernel.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aleksey Makarov , Russell King , Greg Kroah-Hartman , "Rafael J . Wysocki" , Leif Lindholm , Graeme Gregory , Al Stone , Christopher Covington , Matthias Brugger , Catalin Marinas , Will Deacon Subject: [PATCH v3 6/7] ACPI: enable ACPI_DBG2_TABLE on ARM64 Date: Mon, 29 Feb 2016 15:42:03 +0300 Message-Id: <1456749726-30261-7-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456749726-30261-1-git-send-email-aleksey.makarov@linaro.org> References: <1456749726-30261-1-git-send-email-aleksey.makarov@linaro.org> Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org SBBR mentions DBG2 as a mandatory ACPI table. So enable it for ARM64 Signed-off-by: Aleksey Makarov --- arch/arm64/Kconfig | 1 + arch/arm64/kernel/acpi.c | 2 ++ 2 files changed, 3 insertions(+) -- 2.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9dc5209..0b614d4 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -3,6 +3,7 @@ config ARM64 select ACPI_CCA_REQUIRED if ACPI select ACPI_GENERIC_GSI if ACPI select ACPI_REDUCED_HARDWARE_ONLY if ACPI + select ACPI_DBG2_TABLE if ACPI select ARCH_HAS_DEVMEM_IS_ALLOWED select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select ARCH_HAS_ELF_RANDOMIZE diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c index d1ce8e2..3370046 100644 --- a/arch/arm64/kernel/acpi.c +++ b/arch/arm64/kernel/acpi.c @@ -208,6 +208,8 @@ void __init acpi_boot_table_init(void) pr_err("Failed to init ACPI tables\n"); if (!param_acpi_force) disable_acpi(); + } else { + acpi_probe_device_table(dbg2); } }