Message ID | 1530822201-5890-2-git-send-email-agustinv@codeaurora.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 87E406024A for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 5 Jul 2018 20:38:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 789B927968 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 5 Jul 2018 20:38:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C7A827D29; Thu, 5 Jul 2018 20:38:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0735C27968 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 5 Jul 2018 20:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KG0JAft1ysC5eNTk3EjK6klbRcIDai0O5N6DHizS9Ks=; b=X/5PQLDm0l/vJSqGj8KEEX/0dl QsX+uz6dV9Uk99aBgZqPLby6Fr+eccKeEOgaEniMgrgG1v2TbkQhMmuGTUvIPMrztrhFkGE01KqXR +hl4G+ZMWwgB9vzeUESkaSyVn7urWiCwqLNxIW6Q12jV66tbYaH1kwcgbtWaCpg2y5tuC2+rdYTN3 AU1GjJnL2bXQ42f7Ma1Lqnn+zQFjKiH9X0PVU3MKD9jVk6XYjG5LdyxqKLLbo0NYfP2BFw2s5L4gS khvd9V/kteefNy91kSbNgNIWPhvt2JN0S8f8bpY706J6awHKKp6w7/v2/OuJkbrbH7BAK7EOpYbj/ UTehws2Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbB1h-0006pO-Uw; Thu, 05 Jul 2018 20:38:53 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbAnT-0008Cm-F4 for linux-arm-kernel@lists.infradead.org; Thu, 05 Jul 2018 20:24:14 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 487F660B69; Thu, 5 Jul 2018 20:24:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530822242; bh=RE0n/Lgh2NQmzRVYJKnkhK4CzlQfn0qYvFmmL9NyJ18=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X7Jd5GUfAkNAA6m4ifsKtJZcoNoyzaXA6+7R+A0cM9Mwthoyli2J1JIsuxORsVGSE S4W8OkOJrt95whI5VV2yFAMpup7o+uMNb3neqCRKtb8DXpDLEEeAkEOTTliLVIzT4l xqRYMZS6wNvV3BbfqYiGYMXB0yYgL/a7oZrkwk04= Received: from azshara.qualcomm.com (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: agustinv@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 12A5D60A06; Thu, 5 Jul 2018 20:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530822241; bh=RE0n/Lgh2NQmzRVYJKnkhK4CzlQfn0qYvFmmL9NyJ18=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mkNiriMHpGpbRm6RYXdmtnZLOAcNow2Go99ni3QWdrq7OmjVPNpzQIgOLrtbU7uMs 71k2uDdz+Utl5OGJtavM2gnEjb0P/p9jNj35+EtmJK1ppzlllkY5h/Vz6kTbuXV8m0 kIU+ZNkJJmioy70nS49Ra+N6RBIOZ6vEfZvLAJaI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 12A5D60A06 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=agustinv@codeaurora.org From: Agustin Vega-Frias <agustinv@codeaurora.org> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, Will Deacon <will.deacon@arm.com>, Mark Rutland <mark.rutland@arm.com>, Jeremy Linton <jeremy.linton@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Marc Zyngier <marc.zyngier@arm.com>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, "Rafael J. Wysocki" <rafael@kernel.org> Subject: [RFC V4 1/4] ACPI: add support for sentinel-delimited probe tables Date: Thu, 5 Jul 2018 16:23:18 -0400 Message-Id: <1530822201-5890-2-git-send-email-agustinv@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1530822201-5890-1-git-send-email-agustinv@codeaurora.org> References: <1530822201-5890-1-git-send-email-agustinv@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180705_132411_576867_77660931 X-CRM114-Status: GOOD ( 12.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Vijaya Kilari <vkilari@codeaurora.org>, Jeff Hugo <jhugo@codeaurora.org>, Phani Pabba <pabba@codeaurora.org>, Richard Ruigrok <rruigrok@codeaurora.org>, Agustin Vega-Frias <agustin.vega.frias@gmail.com>, Rahul Ramasubramanian <rahulr@codeaurora.org>, Agustin Vega-Frias <agustinv@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index e373e2e..1ec0411 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -228,7 +228,8 @@ . = ALIGN(8); \ __##name##_acpi_probe_table = .; \ KEEP(*(__##name##_acpi_probe_table)) \ - __##name##_acpi_probe_table_end = .; + __##name##_acpi_probe_table_end = .; \ + KEEP(*(__##name##_acpi_probe_table_end)) #else #define ACPI_PROBE_TABLE(name) #endif
Tables declared with the ACPI_PROBE_TABLE linker macro are typically traversed by using the start and end symbols created by the linker script. However, there are some APIs that use sentinel-delimited tables (e.g. acpi_match_device). To better support these APIs an additional section is added at the end of the probe table. This section can be used to add a sentinel for tables that require it. Signed-off-by: Agustin Vega-Frias <agustinv@codeaurora.org> --- include/asm-generic/vmlinux.lds.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)