From patchwork Wed Feb 24 17:10:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 8409911 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 5C33EC0553 for ; Wed, 24 Feb 2016 17:13:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EDF7B202AE for ; Wed, 24 Feb 2016 17:13:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 22AB3202E9 for ; Wed, 24 Feb 2016 17:13:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758338AbcBXRL7 (ORCPT ); Wed, 24 Feb 2016 12:11:59 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:35689 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758249AbcBXRLJ (ORCPT ); Wed, 24 Feb 2016 12:11:09 -0500 Received: by mail-lb0-f180.google.com with SMTP id bc4so14181151lbc.2 for ; Wed, 24 Feb 2016 09:11:08 -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=gdyjp2mvOIniqB2ingtdtUcO9xDB4fhmpdbrGSezfXk=; b=RmQxew6Mw0c+XAYRV+hMgBygfoArnznw/AdLsh2T3oGQ87mU+T2Jo5zSPYsVZAO64l +xrjhGlJVmsCWnURfop6TwmwoGM43qYd6twrg7slQUigevpkD+9MTNN8vOCYO7uXahsV m8hdHOGU/TYfvBCc8AVD3GrEph+ADtQ4PXjbg= 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=gdyjp2mvOIniqB2ingtdtUcO9xDB4fhmpdbrGSezfXk=; b=UrgHoHtwUgQgaKgccS78FzJ6+dmP/ipXuN5EYNVdDxp40AnsiUpy6JaOuwwFg/fRev 1jWnvR4x34WlF791KL0KG/PMx6M4aE3KjfE01nRV8lW2RpDO4xq2PyhBUL2sJry3737s /wqkO1fEL/PGf2pD+KFCAOrb5s6sNFz72D/+1IeTRxVro0/wrvTbYOFS9TTZUWJjjB/u mEeFOEkAyZ0z1LAwdJ/xnOuVgZJO7Hi5U1u3icaZMKfqs60wyc4BI1mftPOiEuyzYYPO jXWveIF3Js8jssjKgFofNJJXwLcRlnerbm1PJkBBbuLIOUs1Rl72Fx7FwG8NISZxBOfs 7puQ== X-Gm-Message-State: AG10YOTc2WnUxmBfzV3LAW0ieCyVpvFLK9Ha2Hr4HfMQf4Pd3WLJNuU0WXEbSRkMoX7X6Stq X-Received: by 10.112.162.231 with SMTP id yd7mr14853904lbb.40.1456333867442; Wed, 24 Feb 2016 09:11:07 -0800 (PST) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id ne8sm509556lbc.21.2016.02.24.09.11.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Feb 2016 09:11:06 -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 , Catalin Marinas , Will Deacon Subject: [PATCH v2 7/8] ACPI: enable ACPI_DBG2_TABLE on ARM64 Date: Wed, 24 Feb 2016 20:10:16 +0300 Message-Id: <1456333819-13482-8-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456333819-13482-1-git-send-email-aleksey.makarov@linaro.org> References: <1456333819-13482-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 2ee5731..4ad33f8 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 3faa323..bb93022 100644 --- a/arch/arm64/kernel/acpi.c +++ b/arch/arm64/kernel/acpi.c @@ -207,6 +207,8 @@ void __init acpi_boot_table_init(void) if (!param_acpi_force) disable_acpi(); } + + acpi_probe_device_table(dbg2); } #ifdef CONFIG_ACPI_APEI