From patchwork Fri Nov 9 12:37:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincenzo Frascino X-Patchwork-Id: 10675825 Return-Path: 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 9209B14D6 for ; Fri, 9 Nov 2018 12:38:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80CC02EC2B for ; Fri, 9 Nov 2018 12:38:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74D642EC2D; Fri, 9 Nov 2018 12:38:17 +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 2DD752EC2B for ; Fri, 9 Nov 2018 12:38:17 +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=s0UPAGqmioN7cvx2NdHsRMOuOaxFiCdwIgxGDqhVe8M=; b=rFgNYBe1pjB2Q3 VhWReeuRzFZBc1jH1dmeojh/nW//at8DFGPd9l3OhdpndaplSnKOFYMJDRqF7tGc+irgoEY25CP6w Y0wR4T65Yh4gvUyOr6VS3WfWfd+5dAvZR9bdxHee5NlOtT85z0Fd9yYdVnjBi5+Le9SFO0HT846cr /bKpD4hd9bWeTwoe2ngU2WVQFUkq0nZ/aqHajp24znxWa44Vu0A5ytd4tawoK2JEHtUm2gDRO3oGS Bpxop+aJiLDH0uZXs3A26WjoIw4CiZvjx2G0gzxY5XvO0HMcJe+zlz0R3RZmuBf3Gi23/aHtLBTHW d2hQpd1740NZoIrtH3eg==; 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 1gL63C-0004h7-MQ; Fri, 09 Nov 2018 12:38:14 +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 1gL634-0004Xd-D9 for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 12:38:06 +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=Wf+rRgqW7DoFxm32GuTVrdX4nqJKSQNBOGl+uBs7H6g=; b=QK428qX/Nh5QyorzKdTdZfQqDr /Yo2kpIgA1nCZ/b7YKT7TEJ3Ybj+9MHHtlmwnnBmfJtcCirCuBM/4A/B8AcaXZGfjO0QlZ+b4CaT4 m0C35uIBa+EfkclWH7EEDVB6+kV4/W8mLsadaCACD4v3czuG/3NXN4e1wRBL1M5gnATTVb47uE3x0 HUgzAGzb773xtB2IwzAHlEt//5Cu/PAqyCsNtyZUV/pYlDutegWKo7eTptPd+LijhMD9g4ZpSh/bN xAIUZehVl2ibC4wSMWYrRkGTf0k22wdY+wrWTJm9R17nEoRbMQQ698dXAhZDDMAykk1NQIWdKb17s lWyUKzxA==; Received: from foss.arm.com ([217.140.101.70]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL631-0003uM-E1 for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 12:38:04 +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 206091682; Fri, 9 Nov 2018 04:38:01 -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 0EC0C3F718; Fri, 9 Nov 2018 04:37:58 -0800 (PST) From: Vincenzo Frascino To: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/27] kernel: Add clock_mode support Date: Fri, 9 Nov 2018 12:37:08 +0000 Message-Id: <20181109123730.8743-6-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_609409_8935962C X-CRM114-Status: GOOD ( 14.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Catalin Marinas , Daniel Lezcano , Will Deacon , Russell King , Ralf Baechle , Mark Salyzyn , Paul Burton , Thomas Gleixner , Peter Collingbourne Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some architectures store the clock mode into the vDSO datapage, consequently the generic datapage needs to be aligned to expose this information. This patch adds support for clock_mode in datapage.h. Cc: Arnd Bergmann Signed-off-by: Vincenzo Frascino --- include/vdso/datapage.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h index fb6ce4c3f2d0..9a934158f1b8 100644 --- a/include/vdso/datapage.h +++ b/include/vdso/datapage.h @@ -43,6 +43,7 @@ struct vdso_data { __u32 tz_minuteswest; /* Whacky timezone stuff */ __u32 tz_dsttime; __u32 use_syscall; + __u32 clock_mode; }; #endif /* !__ASSEMBLY__ */