Message ID | 20181109123730.8743-25-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 2D63415A6 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Nov 2018 12:45:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B98F2EBF5 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Nov 2018 12:45:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0FC932EC3F; Fri, 9 Nov 2018 12:45:51 +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 B42212EBF5 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Nov 2018 12:45:50 +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=gaULTYWOIjrdnv4clQr2TmZWE5KTQzgEMG5JljEwcow=; b=gJZ86/wo1JFmJP o9xljp+cQ26QReaGYNXWB8ceZPPOKeyxS3mubkyQSI46sMTE5ygw14+NCZ2AvsZeZXeJpY9wavHv8 V+fRWLg58NknOwngie4+HhYTHBweoPp23QaT4gC35dM+r5QoCCRMNRgJyfnVmwVKvb1OUJQ4JiK0G Cobgrkj2U1UtVUIw6A6M/MWHvx4/O1YXhwCMETgPC1DdmP5N0LiB3vvDGkBkPt6Nn5azNxwHzDfFe Am+IGKCtT3JtZRDVq31V5QwhdqJJ3wEHvYHBJ1U3moTP9GrxCKPp0YX1Jeyi3BKGbQmvgOMhMHOc4 +Jf/HKk47scpDI5XNVcw==; 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 1gL6AQ-0005GL-AD; Fri, 09 Nov 2018 12:45:42 +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 1gL63u-0005O6-Un for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 12:38:58 +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=6Grz1sF3WsUw8XDZjyNxcWe1RDeMlazea/IDROUfO9o=; b=yWdbW0xJVN5RUV++gsmR6Xd0z1 vmnsie76nYyroNKoerKfmgcMdldW3OWzyeWWnoe1RMkeIJSPL0/nEOC7jwMM0CzFdL8TMXP4SWRj8 y1JqFDdEpONeyjFr1++veZ9MPJBO9hbH99yQqUwiU77/BG3aBncmOwIE6L1IGVgSxm/X5f5srZ9vl 3QfbIUooB8+Yz+77TF6Yy53Sh65Zr8ukae9VGHlFdD30USic03st1G6qtd7/OUDK0T6Hk+tqb1wuD IgSS7q3C5n4+f/ti531KVtlBjksOPBS3EyL4meVcluxEedncQibFGZAxjy2fns54u1pnRjuzIrqne 0MyYyQXQ==; Received: from foss.arm.com ([217.140.101.70]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL63s-0003wj-5e for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 12:38:56 +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 9EBD580D; Fri, 9 Nov 2018 04:38:45 -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 8D24D3F718; Fri, 9 Nov 2018 04:38:43 -0800 (PST) From: Vincenzo Frascino <vincenzo.frascino@arm.com> To: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 24/27] mips: Introduce vdso_direct Date: Fri, 9 Nov 2018 12:37:27 +0000 Message-Id: <20181109123730.8743-25-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_073856_327184_667DBD71 X-CRM114-Status: GOOD ( 14.91 ) 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/arch/mips/include/asm/clocksource.h b/arch/mips/include/asm/clocksource.h index 3deb1d0c1a94..eab11ee4871a 100644 --- a/arch/mips/include/asm/clocksource.h +++ b/arch/mips/include/asm/clocksource.h @@ -23,6 +23,7 @@ * @vdso_clock_mode: Method the VDSO should use to access the clocksource. */ struct arch_clocksource_data { + bool vdso_direct; u8 vdso_clock_mode; };
vdso_direct is an architectural clock configuration parameter that exposes the usage of not of the vDSO. If vdso_direct is false, the time related syscalls will be used instead of the vDSO library. This patch introduces the parameter in the mips architecture to prepare the ground for the support of the generic vDSO library. Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> --- arch/mips/include/asm/clocksource.h | 1 + 1 file changed, 1 insertion(+)