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: 8452861 Return-Path: X-Original-To: patchwork-linux-acpi@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 92873C0554 for ; Mon, 29 Feb 2016 12:43:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D7DAC2027D for ; Mon, 29 Feb 2016 12:43:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 044A120254 for ; Mon, 29 Feb 2016 12:43:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755212AbcB2MnW (ORCPT ); Mon, 29 Feb 2016 07:43:22 -0500 Received: from mail-lb0-f171.google.com ([209.85.217.171]:36365 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755182AbcB2MnS (ORCPT ); Mon, 29 Feb 2016 07:43:18 -0500 Received: by mail-lb0-f171.google.com with SMTP id x1so79017700lbj.3 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=ln6All2urhsjzxGHqhA7f4boJBjzaswkOm2CGuJkG2BGRDWrBZ+ULiky8P7I3e82Zu dTPRKTmfiX6m+5zDVelCXLLbZFihw8Wg7S6oZTS7Sqwkddq+jlzm/DQ5CpYM2GQx7kl4 7kltRuFh2cnREGPK/KDHL8OKoUhZ7J8LCtyJxRqK2OYoNmBpQO4yFSgEazaz/2KHvjlb Xs6U7XOgMMBU8ihdwTGxeZgMVQuVrXzSwzH9Zsao4iGNSOmEymOuXMy2XSSRZPOPZktw qYLdyOerqsfuSQTLHwxDsz4/F8trxLDcDnmBpyhN0ljUHmK5C71LMppkeWL3065uTTdz +Udw== X-Gm-Message-State: AD7BkJIqmOI3u5mt+JcMSfQM6WA+uSQ2vWpLKQ8Dd977dzaHG/l9e6tHulbiCGJwxV82Hedx 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-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 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(+) 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); } }