Message ID | 1528379808-27970-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 83F8960234 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 7 Jun 2018 13:57:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71E5129FA5 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 7 Jun 2018 13:57:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 663A529FC5; Thu, 7 Jun 2018 13:57:42 +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 1105D29FA5 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 7 Jun 2018 13:57:42 +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=oQUdHCh+9DQaYV5Bzc2G7Kw8iCokDxOWetnqO450M9o=; b=T0/E74YAX9W9ID/ItHI9jIU+w8 i9mdOiM0+wXrUwzdSzq+Jf75oijk+4H5s3FsARatJA+9ZKsUhVLNx/93paJk/OP5Ppqkohjqh/bj5 uO9x1YhsHT++IDU3hJpO77iaJvMR9Gy7umqT8RG3ukXr6+Uv1xG/UMSWGdQ8km11FgsTLaQmQ+wky i39RlrM6mdCpKaowbkhL5X3VdcLvAUWMOIIrCUoISRRLcqLYXrOj3gzr6fY5kRk/EaiApCqAyYc4r eu86I3AMDPk6tfNjh0cz9V+ff3E5vmeyXiDD7SUnbniVgyewijDcmZ7DCEETGnP+QzX4hxH7MY3Y7 51Dl8aVQ==; 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 1fQvQ0-0008JI-Em; Thu, 07 Jun 2018 13:57:36 +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 1fQvPw-0008Fp-Ms for linux-arm-kernel@lists.infradead.org; Thu, 07 Jun 2018 13:57:34 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BD9D5608C9; Thu, 7 Jun 2018 13:57:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528379841; bh=4YH7zUXB9uysXF1AY0kEzc8hBNIgUA2yk1xRvlkTZf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BjyyRbbu+YtKOfAdgy4pkTXQoA2djtAOQw2IUwrcn4D3HXsYzWOGSbvM4XKhmML6z 3EWLRuz/5iXcbgDiWRRdVeu5L2gshVcFf/TGJ2jy76RGUGTuVS+ZMJipapRidlcEfh rGRy/VE+V6isxAsqe54VT7PtygTA1XLj5JNLzMqo= 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 5A55B602FC; Thu, 7 Jun 2018 13:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528379841; bh=4YH7zUXB9uysXF1AY0kEzc8hBNIgUA2yk1xRvlkTZf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BjyyRbbu+YtKOfAdgy4pkTXQoA2djtAOQw2IUwrcn4D3HXsYzWOGSbvM4XKhmML6z 3EWLRuz/5iXcbgDiWRRdVeu5L2gshVcFf/TGJ2jy76RGUGTuVS+ZMJipapRidlcEfh rGRy/VE+V6isxAsqe54VT7PtygTA1XLj5JNLzMqo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5A55B602FC 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, 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> Subject: [RFC V2 1/3] ACPI: add support for sentinel-delimited probe tables Date: Thu, 7 Jun 2018 09:56:46 -0400 Message-Id: <1528379808-27970-2-git-send-email-agustinv@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1528379808-27970-1-git-send-email-agustinv@codeaurora.org> References: <1528379808-27970-1-git-send-email-agustinv@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180607_065732_775142_3D2AA986 X-CRM114-Status: GOOD ( 13.27 ) 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: timur@codeaurora.org, 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 af24057..5894049 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -219,7 +219,8 @@ . = ALIGN(8); \ VMLINUX_SYMBOL(__##name##_acpi_probe_table) = .; \ KEEP(*(__##name##_acpi_probe_table)) \ - VMLINUX_SYMBOL(__##name##_acpi_probe_table_end) = .; + VMLINUX_SYMBOL(__##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(-)