Message ID | 20181109123730.8743-3-vincenzo.frascino@arm.com (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-2.web.codeaurora.org (Postfix) with ESMTP id F313014E2 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Nov 2018 12:39:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1EBD2DB5F for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Nov 2018 12:39:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E046A2EC2B; Fri, 9 Nov 2018 12:39:22 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 8D3922DB5F for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Nov 2018 12:39:22 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=GbKBcDsF9nvsn9mvxlBzTPVvk5MHKxlVmvOkA0DkddE=; b=IEYG2K40gQxdj0 3bThEwsJ+ggwZ9hhBkpZRafl40DdUcAYM7jBWZC3535cY1eLrJE2+QEhiBFMFB/L5+bHlQUKVIYy7 JmzQIMziKKHq4xK6B9Lby4rnH/8cFPf4o6MIxjEZ2ChYb+VAaWSPC4a/p4++2GILJmt8nDj9hpUW9 rTnzu39plq8chr2OjI/bXJJ+stCmY6mNpoU+wsLHMK0HIpN/MFqaravYeauHXkuG/7WKLnZVKJuUG ii0ID4ONfqcDxsByUs4v4E3SRSqdCMMZnQ6FY94RiCbHWkMv4sQFiV4L71dbPuC6cXCBDB09zDVOy ONhmZsyq6DGFalUsKfpg==; 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 1gL64F-0005dA-4K; Fri, 09 Nov 2018 12:39:19 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL635-0004YW-6D for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 12:38:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=y1nVlXaPNnXNCUPa0LAWV7Z5QlSVhHeR3fdEQ5z9dd0=; b=Ce85yG+67rgnvf+4XBC8DktNAK YRtZbK3CVhDe58AzhXxntPA2Fbhnr1XSdd09NyP35sh1mL6Prg4m4jwz9vyVSzQfe6RwpNXUhKVOI v6m2NhLm+RFEYl8OpA7/NmbKqlNEdx18vnmnrNSeAe2A0grv9HgZH/gtWqsOL07OhmTS+WYgOvpB8 SoGSZ/9rYBEVzuYTG9p4OVykrIZKgvra+t3Mba5R9ZdmzcAX7is9vNZ/dNsUwsYPtaTN7maXhHlKX E3OQrU5oulxEqAIeMTbI0ZL2A+qOpxC8RlvRIUShWYir30VYlFsN+EwnBYzgLsdrmFFUjWNzFpjBB T3WybriA==; Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL631-0003uH-Dz for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 12:38:05 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2544015AD; Fri, 9 Nov 2018 04:37:54 -0800 (PST) Received: from e119884-lin.cambridge.arm.com (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 13C3C3F718; Fri, 9 Nov 2018 04:37:51 -0800 (PST) From: Vincenzo Frascino <vincenzo.frascino@arm.com> To: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/27] kernel: Add Monotonic boot time support Date: Fri, 9 Nov 2018 12:37:05 +0000 Message-Id: <20181109123730.8743-3-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181109123730.8743-1-vincenzo.frascino@arm.com> References: <20181109123730.8743-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_073803_609157_0E4AABDE X-CRM114-Status: GOOD ( 15.07 ) 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: Arnd Bergmann <arnd@arndb.de>, Catalin Marinas <catalin.marinas@arm.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Will Deacon <will.deacon@arm.com>, Russell King <linux@armlinux.org.uk>, Ralf Baechle <ralf@linux-mips.org>, Mark Salyzyn <salyzyn@android.com>, Paul Burton <paul.burton@mips.com>, Thomas Gleixner <tglx@linutronix.de>, Peter Collingbourne <pcc@google.com> 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 |
Series |
Unify vDSOs across more architectures
|
expand
|
diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h index a02ca170d56e..52189c21d422 100644 --- a/include/vdso/datapage.h +++ b/include/vdso/datapage.h @@ -32,6 +32,7 @@ struct vdso_data { __u64 xtime_coarse_nsec; __u64 wtm_clock_sec; /* Wall to monotonic time */ __u64 wtm_clock_nsec; + __u64 btm_nsec; /* Monotonic to boot time */ __u32 tb_seq_count; /* Timebase sequence counter */ __u32 cs_mono_mult; /* NTP-adjusted clocksource multiplier */ __u32 cs_shift; /* Clocksource shift (mono = raw) */
Currently, datapage.h has no support for CLOCK_BOOTTIME. CLOCK_BOOTTIME is identical to CLOCK_MONOTONIC, but includes any time spent in suspend. This patch adds monotonic boot time support (btm_nsec) to datapage.h. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> --- include/vdso/datapage.h | 1 + 1 file changed, 1 insertion(+)