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: 62575 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1245650lbl; Mon, 22 Feb 2016 05:48:34 -0800 (PST) X-Received: by 10.98.42.8 with SMTP id q8mr37861409pfq.13.1456148914298; Mon, 22 Feb 2016 05:48:34 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pj4si32553859pac.45.2016.02.22.05.48.33; Mon, 22 Feb 2016 05:48:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-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-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-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 S1755245AbcBVNr4 (ORCPT + 7 others); Mon, 22 Feb 2016 08:47:56 -0500 Received: from mail-lb0-f171.google.com ([209.85.217.171]:33145 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755253AbcBVNry (ORCPT ); Mon, 22 Feb 2016 08:47:54 -0500 Received: by mail-lb0-f171.google.com with SMTP id x4so82813211lbm.0 for ; Mon, 22 Feb 2016 05:47:53 -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=ND3rNdVyBBL61LBEWy97J2cifXKHVmMmFsFPXuzhB+lO0EjMnHTnpw5AdqgYvgU78F spsDghNzrBuwivGB8qQpKwWtLZvg/bHthbCX3+GK6zlT+SN5NKlqJse+GyTbnVc2E9of Kp9Z7NJ+4OZ1xzAnlazweGiRwgYPzFkczO37RCYujHj2FCCX3ahMa18WAMX73+4gRHuj D1zs4E93TGX/XevcDS4MtQhTKs/xgpjldFC3/5vmsZN24Xo3ukNtaU9EZjUhhegzZDHH QXVk+i6kCu4L1Wb9Lscg5oe+Xcx3Dcaa42rKijkuQCQJUeClF8yUZVT8+2MccxBMrj9B 8GFg== X-Gm-Message-State: AG10YOQCCeVVb4wka5V4pDVBCOtTMK3NpfCbMqkCevn4Mq0D/xNJBOy/qh/thPt5Xvx5lcYV 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 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 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> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@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-acpi" 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 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