Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1856198ybx; Thu, 7 Nov 2019 18:38:06 -0800 (PST) X-Google-Smtp-Source: APXvYqy2m1xUCZDrL5nmX5p5jotXUKBo2WOxBCYT+MCLgfPlxHwEQ688vJxlVEETZ/1zfIGO1j6T X-Received: by 2002:a17:906:2ada:: with SMTP id m26mr6502125eje.87.1573180686881; Thu, 07 Nov 2019 18:38:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573180686; cv=pass; d=google.com; s=arc-20160816; b=u0TAgAmd7o3WOYKoahgBXaO8AvXJqoqsDXhlc2Y0rsRZYfVQqao33yu1uqZ7YBJHOI VTjEJs2ViG6avW3xAsu7KH4zVm8ZnOmilcKSZ2Rae7bDiTHBRL9mzL3Mn1nHBmN2WGif rGcEkReRgmbJ8i25c1Cwr2yH5bejU9FIvB2etwFZ6PiDdM0In3mHS98DYQj9dJllsm2G nN6ZX30SrWfrCfg5+j559lwUMkQHGlEQruDYMDxaCxUPxx5YT9kEbGCpDHuBh243k+gx jkcNi8Noj8KXwlET8+G/R4ifEuwQiripGEqX88DV2Qzz4IP4Ohu7cxwALmjO3MQglMJ9 xlcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:nodisclaimer :original-authentication-results:mime-version :content-transfer-encoding:authentication-results-original :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=PIliT+ZwJAQ302yB2UMh7uMoHcc1AWzo6q6WGkj6Z6M=; b=kq442Symg1oS0K/UHyRMq4agFJuZ7wQOK8qsl+qiWuz9gILUGc1nO3cmlQxfMFOhea PA/RGWg7IoBufYqzV9cZGVa/uGyMi7bkly5cOZE5vpxSTjzujGrg1kvmNRcxZbisySpj /vzFHN2TGjz1AXg0etEZoya41wcHSCkRo3knmGSbP/cwrxg2+Nhf32ORCpAaE33cidR+ KY0iqRi1XtzzqSA18I2KwxWI6ShPpZBOw+WsjMN294AiAW+luC2Wbmulh93xZIZdXlyE 6a2GtICf0GSYD95sN0Wq0PIjnbydl9XIdUOf/QT+Aqs5UjpgGvN6LDp5h5WfmkzU5QAp +WKA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=s7Edlzih; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=s7Edlzih; arc=pass (i=1 spf=pass spfdomain=arm.com dkim=pass dkdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si3735604edj.28.2019.11.07.18.37.31; Thu, 07 Nov 2019 18:38:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=s7Edlzih; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=s7Edlzih; arc=pass (i=1 spf=pass spfdomain=arm.com dkim=pass dkdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728688AbfKHCgw (ORCPT + 99 others); Thu, 7 Nov 2019 21:36:52 -0500 Received: from mail-eopbgr140085.outbound.protection.outlook.com ([40.107.14.85]:34021 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725940AbfKHCgw (ORCPT ); Thu, 7 Nov 2019 21:36:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PIliT+ZwJAQ302yB2UMh7uMoHcc1AWzo6q6WGkj6Z6M=; b=s7EdlzihSAIHNyWg/HOQmXeG+Gqqdh0lmjPnpQQRdmyNMT5D02fwtvkbp/0gAGsXKl/GP3hzHqQBDVTvgeF8Jvg7mVeatllW8z8VzMAvHzzJb+5LGXg8f1udT3OBBW8wqrsT5ZqkAUYukxawN0cum5qV+beXg0Xlq9ojnMx2s+s= Received: from VI1PR0801CA0077.eurprd08.prod.outlook.com (2603:10a6:800:7d::21) by AM6PR08MB4296.eurprd08.prod.outlook.com (2603:10a6:20b:b6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.23; Fri, 8 Nov 2019 02:35:07 +0000 Received: from AM5EUR03FT057.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::205) by VI1PR0801CA0077.outlook.office365.com (2603:10a6:800:7d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2430.20 via Frontend Transport; Fri, 8 Nov 2019 02:35:07 +0000 Authentication-Results: spf=fail (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; vger.kernel.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;vger.kernel.org; dmarc=none action=none header.from=arm.com; Received-SPF: Fail (protection.outlook.com: domain of arm.com does not designate 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT057.mail.protection.outlook.com (10.152.17.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2430.21 via Frontend Transport; Fri, 8 Nov 2019 02:35:06 +0000 Received: ("Tessian outbound 3fba803f6da3:v33"); Fri, 08 Nov 2019 02:35:06 +0000 X-CR-MTA-TID: 64aa7808 Received: from 88a04053134b.2 (cr-mta-lb-1.cr-mta-net [104.47.0.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id A96A875F-18B3-4220-954F-2F1A74F3A608.1; Fri, 08 Nov 2019 02:35:01 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01lp2052.outbound.protection.outlook.com [104.47.0.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 88a04053134b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 08 Nov 2019 02:35:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FWXfaidLUpOj/1qpmMklKDxTmVdGj1Gi8upqTC/DulGa79dRnSkP7AbcFucK7ZI1fRVA8XX53SE1noqZhrvJYIp5bH6ALWEJcUyG1Rht4gtT6rNHDnrQlVs9HKW3z8PTtbcNoFkjIe0mhG7ZO7g+4/aXKBSGrGTG8fFJkXBqudGwyDuVQm4nqORdqFuqqX5X/UzB5FICJEpWoTgNyB7Jk/U1295Ftc6IBAGvTd+PzvsF1qRg3J4a9Ut5pn6rE2p+vlkr/WXTJmvLmZo8JWjVURoNVRqydcOjCXxTYzUTqRCn3QtAhsUM0hNA5k4wie1N331f2+3N2V1s2oKBVQPZvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PIliT+ZwJAQ302yB2UMh7uMoHcc1AWzo6q6WGkj6Z6M=; b=UYlcNIClOvLiugGo0fTYuUOoLNBiU/Ixn7NvcRMz1+VDVgITeRti2u3rN3mKP/qavo5/FWV1zIEJJKWVdwAr93yCmD7OLiv/TBHkzARJfWpfVTXrNw8WXxbxX4NpJd6452hwJtvCqtpzbUOkH26CJc3n1O0cjy6h/HmUAa7bT/Cdkama9EmAixrmp0K3KfszSeIrX/paueXTR+Ef7WXBaaEq/AiPvyUGBgNtqUenb8N8Xisg//v2NScFsU36qM88CtXIjfZ/CpJB2O5QKxV2IuDdL4rO/cAn9uZYjtYjP3hWUogA3k5xmidkNPDpMky7uAeSANeHL/Z2SwIoR6V9mQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PIliT+ZwJAQ302yB2UMh7uMoHcc1AWzo6q6WGkj6Z6M=; b=s7EdlzihSAIHNyWg/HOQmXeG+Gqqdh0lmjPnpQQRdmyNMT5D02fwtvkbp/0gAGsXKl/GP3hzHqQBDVTvgeF8Jvg7mVeatllW8z8VzMAvHzzJb+5LGXg8f1udT3OBBW8wqrsT5ZqkAUYukxawN0cum5qV+beXg0Xlq9ojnMx2s+s= Received: from HE1PR0801MB1676.eurprd08.prod.outlook.com (10.168.146.150) by HE1PR0801MB1642.eurprd08.prod.outlook.com (10.168.149.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.20; Fri, 8 Nov 2019 02:34:58 +0000 Received: from HE1PR0801MB1676.eurprd08.prod.outlook.com ([fe80::453c:d9b6:5398:2294]) by HE1PR0801MB1676.eurprd08.prod.outlook.com ([fe80::453c:d9b6:5398:2294%8]) with mapi id 15.20.2430.023; Fri, 8 Nov 2019 02:34:57 +0000 From: "Jianyong Wu (Arm Technology China)" To: Thomas Gleixner CC: "netdev@vger.kernel.org" , "yangbo.lu@nxp.com" , "john.stultz@linaro.org" , "pbonzini@redhat.com" , "sean.j.christopherson@intel.com" , "maz@kernel.org" , "richardcochran@gmail.com" , Mark Rutland , "will@kernel.org" , Suzuki Poulose , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "kvmarm@lists.cs.columbia.edu" , "kvm@vger.kernel.org" , Steve Capper , "Kaly Xin (Arm Technology China)" , "Justin He (Arm Technology China)" , nd Subject: RE: [RFC PATCH v6 4/7] time: Add mechanism to recognize clocksource in time_get_snapshot Thread-Topic: [RFC PATCH v6 4/7] time: Add mechanism to recognize clocksource in time_get_snapshot Thread-Index: AQHVilqW9INaaa6hrkmF99YEVswOAKd/bNoAgAEv+oA= Date: Fri, 8 Nov 2019 02:34:57 +0000 Message-ID: References: <20191024110209.21328-1-jianyong.wu@arm.com> <20191024110209.21328-5-jianyong.wu@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 9726902c-df6f-42b3-93a3-231d59260141.1 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Jianyong.Wu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ba5fcc04-e399-46ae-c445-08d763f4447f X-MS-TrafficTypeDiagnostic: HE1PR0801MB1642:|HE1PR0801MB1642:|AM6PR08MB4296: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; x-forefront-prvs: 0215D7173F X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4636009)(136003)(346002)(396003)(376002)(39860400002)(366004)(189003)(199004)(13464003)(71190400001)(71200400001)(74316002)(55016002)(3846002)(8676002)(6916009)(25786009)(9686003)(6116002)(81166006)(81156014)(2906002)(6436002)(7736002)(256004)(7416002)(14454004)(4326008)(229853002)(52536014)(6246003)(14444005)(305945005)(316002)(6506007)(54906003)(26005)(99286004)(7696005)(86362001)(76176011)(5660300002)(76116006)(102836004)(55236004)(53546011)(486006)(11346002)(476003)(446003)(478600001)(8936002)(66066001)(186003)(64756008)(66556008)(66446008)(33656002)(66476007)(66946007)(87944003);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0801MB1642;H:HE1PR0801MB1676.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 0sDQ5v4bsIlURXo9/J6EIcRpiTRwufiFwIdJLM+1sYVZoJpj62Hw9tbqHL1wrCRXHMxQ70NuU14MGqxwZPdk5dmlSBBCsnj5XNj3PtnldRplsYtJz3dYHS0sKlzzR3M7wSS2xIiWnxnb8KjA+bd+GrBRLGRYqZr6PcFznuci4Ikv2IThN9nHFuIU6XCLOLy7ZwADkoVvR8EtGI48z4FB3sAHFQovSTl3y+3xxbcN5HA54EMnUrCGEkyar/cnDVzE9cdKz3oFfkWryDE2cMogyzftobqCa2ZIeeK5vX8qhcA40DoRD2cnDi4pg616Qywk8Szzean0hP7UTReh0W5N+8AW0i145/5UMFcoVAOXAGW66/YEq8sl1xvt8om1sRIG6o9MnjTZbCmgyYs42/IvN0OeKUnw07JcjqTyXfYKhpEd35q0c/QM3VduEi2hteTg Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1642 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jianyong.Wu@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT057.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;IPV:CAL;SCL:-1;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(376002)(346002)(396003)(136003)(1110001)(339900001)(13464003)(199004)(189003)(23726003)(81156014)(486006)(446003)(126002)(8746002)(8936002)(476003)(336012)(33656002)(26005)(36906005)(54906003)(105606002)(7736002)(74316002)(305945005)(81166006)(356004)(53546011)(97756001)(6116002)(76176011)(3846002)(186003)(99286004)(8676002)(450100002)(11346002)(316002)(102836004)(7696005)(2906002)(9686003)(26826003)(70206006)(76130400001)(5660300002)(50466002)(55016002)(86362001)(6246003)(14444005)(14454004)(478600001)(66066001)(47776003)(6506007)(4326008)(6862004)(46406003)(229853002)(52536014)(25786009)(22756006)(70586007)(87944003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR08MB4296;H:64aa7808-outbound-1.mta.getcheckrecipient.com;FPR:;SPF:Fail;LANG:en;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;A:1;MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: af5d8f6a-ae40-4735-84c2-08d763f43f2d NoDisclaimer: True X-Forefront-PRVS: 0215D7173F X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: O1e+yb8PMrqxej0uPSvfbYdRd/w5HZSUVTB5AklI08yPBImLh8e050eYyFJvYrAxd88U0CCrLLB2E34OglRzsGYSnb6565QpcRDPSLR9IZ5S6KFIhiyANH/xbz7+cP0+gXVkmIZRmb2NKLyXBGRa6gRkc7wdc3nZrJ0ZTw68UlOai5ftE9GRFmzjrNnNAKoNsZTTfRLNVb5+lJopku7EQXxOaePKZdKyxSzM1OGVHUUVPemfSZ95qb5UrbqBVMLekhYAMo9/uKnLRGPtH5XsMeRdSH48gYBboneaH5mTSx93do10ZgnwOm0iYdzvV3dfiJ8p/qhUy/DutX0LMsBtW46Kkh766C//Mc85jO7c7cR5ZDPspd0i7hOZr6OTTewphKzwByJqjXtUin+rVylFYEHWveS9WP0Tjfe+Ykxx6cBUzZUCFbLaKJZuq4skiiJE X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2019 02:35:06.7677 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ba5fcc04-e399-46ae-c445-08d763f4447f X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4296 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi tglx, > -----Original Message----- > From: Thomas Gleixner > Sent: Thursday, November 7, 2019 3:56 PM > To: Jianyong Wu (Arm Technology China) > Cc: netdev@vger.kernel.org; yangbo.lu@nxp.com; john.stultz@linaro.org; > pbonzini@redhat.com; sean.j.christopherson@intel.com; maz@kernel.org; > richardcochran@gmail.com; Mark Rutland ; > will@kernel.org; Suzuki Poulose ; linux- > kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; > kvmarm@lists.cs.columbia.edu; kvm@vger.kernel.org; Steve Capper > ; Kaly Xin (Arm Technology China) > ; Justin He (Arm Technology China) > ; nd > Subject: Re: [RFC PATCH v6 4/7] time: Add mechanism to recognize > clocksource in time_get_snapshot >=20 > On Thu, 24 Oct 2019, Jianyong Wu wrote: > > From: Thomas Gleixner > > > > In some scenario like return device time to ptp_kvm guest, we need > > identify the current clocksource outside core time code. > > > > This patch add a mechanism to recognize the current clocksource by > > export clocksource id in time_get_snapshot. >=20 > Please check Documentation/process/submitting-patches.rst and search for > 'This patch'. >=20 Yeah, the expression should be more impersonal. > > diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h > > index b21db536fd52..ac8016b22734 100644 > > --- a/include/linux/clocksource.h > > +++ b/include/linux/clocksource.h > > @@ -19,6 +19,7 @@ > > #include > > #include > > #include > > +#include >=20 > Please place that include to the other linux includes. You might notice t= hat > there is ordering here. > Ok,=20 =20 > But where is that include? It's not part of that series, so how is this s= upposed > to compile? OMG! Sorry, I added this file when I prepared my patches but missed to incl= ude it into this patch! This must be avoid latter. Thanks Jianyong >=20 > Thanks, >=20 > tglx