From patchwork Mon Feb 22 13:46:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 8376701 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 E3874C0553 for ; Mon, 22 Feb 2016 13:53:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 020B520502 for ; Mon, 22 Feb 2016 13:53:44 +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 3940F204FF for ; Mon, 22 Feb 2016 13:53:43 +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 1aXquP-0001RT-JY; Mon, 22 Feb 2016 13:52:17 +0000 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aXqqU-0005WR-Mx for linux-arm-kernel@lists.infradead.org; Mon, 22 Feb 2016 13:48:16 +0000 Received: by mail-lb0-x22f.google.com with SMTP id x1so82055740lbj.3 for ; Mon, 22 Feb 2016 05:47:54 -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=J9eHZ5IuPQUE3q/ktWzwUhH77rKZDT0iINisI8bjo2o=; b=g1OL5xPszp17UJrJdQApYddFQYq2dSgG+9q1fSLUeAgb5HyQlVrWVII+KpvlX45gA5 bF/sxZlJBAgOq/YVZxUtzyna19za02pUkUlc2vem1xuZoomhtkO4oCcNXhYYqJu5AHPp 9VyZZVKkANi2U4wutM8eHwzV4e33fDt29tOfQ= 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=J9eHZ5IuPQUE3q/ktWzwUhH77rKZDT0iINisI8bjo2o=; b=MdkYW6p2R61iGsw2n6gLE1I/u3qN3nGh+mZ64z568RF33Ep6EaqRfBgI9WEO0lFZmw 1tMpHLtF6eykfiVS1fiD+lr0o/7OY71CWaE5xLEmIlJWqHRdAJ9AEQFvjwrUVRhO7oqm +FoI+DyTslA4zq08qIM8Xg+VI8gSGk2diyIrIS8m815xJygirkH4X+VJAhURRrSy4/9x 1oKQpYYbl5pLyNtFA9gLUA7g+c/zOj/Fv7KOlw/U9UgkLMiXhncT8Hv4WN1ZFTScARsP AlU+lDppe/VqE4nPkcaak9fm6TzL+S7vuWnUZteKqs04kCtEAQyqKNss1qpI7rwoaNWe qq8w== X-Gm-Message-State: AG10YOSJ4NB69Hqyt08mgDwH/U+QVUF78pjuQIiDCRk+H8qqfOEYIwWXd5Tf+AT9ornBGrFi X-Received: by 10.112.147.5 with SMTP id tg5mr5777905lbb.120.1456148873107; Mon, 22 Feb 2016 05:47:53 -0800 (PST) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id s5sm2564633lbr.12.2016.02.22.05.47.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Feb 2016 05:47:52 -0800 (PST) From: Aleksey Makarov To: linux-acpi@vger.kernel.org Subject: [PATCH 7/8] ACPI: enable ACPI_DBG2_TABLE on ARM64 Date: Mon, 22 Feb 2016 16:46:55 +0300 Message-Id: <1456148818-26257-8-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456148818-26257-1-git-send-email-aleksey.makarov@linaro.org> References: <1456148818-26257-1-git-send-email-aleksey.makarov@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160222_054815_122829_FED73FD5 X-CRM114-Status: GOOD ( 10.18 ) 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 , Graeme Gregory , Greg Kroah-Hartman , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, Leif Lindholm , Aleksey Makarov , Christopher Covington , linux-serial@vger.kernel.org, Catalin Marinas , Will Deacon , Al Stone , linux-arm-kernel@lists.infradead.org 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,RP_MATCHES_RCVD,T_DKIM_INVALID,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 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 6bb21d8..27cb5d7 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 7a944f7..890d36f 100644 --- a/arch/arm64/kernel/acpi.c +++ b/arch/arm64/kernel/acpi.c @@ -213,6 +213,8 @@ void __init acpi_boot_table_init(void) if (!param_acpi_force) disable_acpi(); } + + acpi_probe_device_table(dbg2); } #ifdef CONFIG_ACPI_APEI