Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1579687rdd; Thu, 11 Jan 2024 03:37:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEF3neYadVMlEEDj6fYBvwL61PdoJyU/xToW/88RMe9D+EPWbg37haNA7TtvoU3JFlwtwf8 X-Received: by 2002:a17:902:6803:b0:1d5:6114:b4e8 with SMTP id h3-20020a170902680300b001d56114b4e8mr712024plk.41.1704973034950; Thu, 11 Jan 2024 03:37:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704973034; cv=pass; d=google.com; s=arc-20160816; b=Onw7gfVXKnVwvlBePpAJHvqsWXpDrGa1aRixscAQy/nLvLabbr317eCwlhetSo4fcn QrW+YqNUa/9r4qZm6fy1tLs54/X6y7jDYBcr3pUpZgwvmNmXDrwSO5k9bDezBWwW3vpS +j+iv8Ll2LldRs4aXpIUGZ6Mw5dpOhhdzy0l2tQ08btDMAzvT1rfqCviB/+6PmG6tHBG uDNZK0m8YXLG/0dwRtLAKqFx2etVcUnvT4gTGQleORvSJL+PiwMCj/VaYUOHM3k3sAey rJeqkbOA4okqKzi3wN8qKPuykAdiLpHfeV02vJYTrguAlF4TSJl6VY0BqYvTJ0e+nCgj ZUQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=dkim-signature:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:in-reply-to:autocrypt :content-language:references:cc:to:subject:from:date:message-id; bh=fJfbe+QLg7WEQ5j2KCoXWBewKp+g+yPqTxXDxqwPDDQ=; fh=nc/TMrPGH8N2L1NvvChP0Y05xth3ZmIPizRDN7diBno=; b=gLTqY+gxkq0+bD6L++R7ENqFxnPVijVUiKYhGBw5GMWZUB+HFGNNjvhgQtLsma/UA7 DwiHR1V8B5Glul1KmerwHs+gJLQwiV6/KkEYtvRpVNIPRAJ/1A6kUtVNFq7k4ubzR4Xy b84yz28v2A0WfoZYfVN8P4UC4JFO68TpCmSzVmOfBoSQ2uloLWm9p9U7jTpzDj40PH6t vQXCwDl0iftB/4KIex81oYTj5NBD1btD4E4atj9JE7FXazifrHEId3mAEFuzouWRKDfZ q71R6IA6hvFnQ0Q+T8szdcrv8Sv5VjHer9SRFBMgfBPh+fAnveGDQuOBPLBYWV4883Hc rD9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@opensynergy.com header.s=TM-DKIM-20210503141657 header.b=YuM4JmWf; arc=pass (i=1 spf=pass spfdomain=opensynergy.com dkim=pass dkdomain=opensynergy.com dmarc=pass fromdomain=opensynergy.com); spf=pass (google.com: domain of linux-kernel+bounces-23501-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23501-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=opensynergy.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 193-20020a6300ca000000b00565e0624182si899196pga.404.2024.01.11.03.37.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:37:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23501-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@opensynergy.com header.s=TM-DKIM-20210503141657 header.b=YuM4JmWf; arc=pass (i=1 spf=pass spfdomain=opensynergy.com dkim=pass dkdomain=opensynergy.com dmarc=pass fromdomain=opensynergy.com); spf=pass (google.com: domain of linux-kernel+bounces-23501-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23501-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=opensynergy.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 95D0C286633 for ; Thu, 11 Jan 2024 11:37:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A857154B6; Thu, 11 Jan 2024 11:36:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=opensynergy.com header.i=@opensynergy.com header.b="YuM4JmWf" Received: from refb02.tmes.trendmicro.eu (refb02.tmes.trendmicro.eu [18.185.115.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03F6C14007 for ; Thu, 11 Jan 2024 11:36:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=opensynergy.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=opensynergy.com Received: from 104.47.11.168_.trendmicro.com (unknown [172.21.10.213]) by refb02.tmes.trendmicro.eu (Postfix) with ESMTPS id 5531F101CE766 for ; Thu, 11 Jan 2024 11:35:08 +0000 (UTC) Received: from 104.47.11.168_.trendmicro.com (unknown [172.21.165.80]) by repost01.tmes.trendmicro.eu (Postfix) with SMTP id 1BEF810001FC1; Thu, 11 Jan 2024 11:35:01 +0000 (UTC) X-TM-MAIL-RECEIVED-TIME: 1704972900.518000 X-TM-MAIL-UUID: e2589c17-a7a0-496b-8fe4-d2ccfd8d5875 Received: from DEU01-FR2-obe.outbound.protection.outlook.com (unknown [104.47.11.168]) by repre01.tmes.trendmicro.eu (Trend Micro Email Security) with ESMTPS id 7E9CA10000E54; Thu, 11 Jan 2024 11:35:00 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i5/8ByuaM4RRmY+mLSSVBD9raS9j/cE2Ei7TrDwvnmYGbwhReshKD0Op0URwH9W0pKDz3SUqV5GNj2k1gwhzQiX3qty65KxRkWn0JMAAYNFl8Evj5BpXWwA23HV2uyN2/967YVCsptgsTemPOOBCVmHONWtSeefM3yK8/liUNP0c+g4jGAw2fHIH8f9IW+NJgS0+tRi3xoVffhqSTItqiWzJ0+GW8953d5au1zZWtzlZ/C3du33MzFTQHImHr26bbMp1i+/Ek2mCEU8nOnQwaeQoEAe5lP3pMj3eNSmPrRI2IbjGBE62NREpbVwWA4CIMqL2TCfBSVLFQ/FAgVBZXg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fJfbe+QLg7WEQ5j2KCoXWBewKp+g+yPqTxXDxqwPDDQ=; b=Gj/b1kcgugq/hvAJnMadGzVXh5h6IAbmcu1BJuKkY+B/m+uk1Enh6mQLMPtrud/0OT7SxzDTAj6etvRpn6rg7KE6DMePu9mD2COXuExXOsK0QdLGW5c6JEzd/LRyn2gGY52QL68o+rtFUQaP9sK9TmbsBNp4KIY7OluT6R1LRZ8igZrZrUR3P3zte6bF0q+FzuX1HH6xglOxgSb4aSH5Yyrmz9mNX5XuteL/Y5vl/wza3FjS1cknl1ovfWAyRnW2v+LnILfX+eK4OD0KK94wJ0BJXD53gq15KEgg/j19pkGXYjTU13u23WbW1wOBvw+L2sDAvp4VjH51TKzsso8cxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=opensynergy.com; dmarc=pass action=none header.from=opensynergy.com; dkim=pass header.d=opensynergy.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=opensynergy.com; Message-ID: <03b8e9d3-ef57-4883-b02c-94b003398b61@opensynergy.com> Date: Thu, 11 Jan 2024 12:34:57 +0100 From: Peter Hilber Subject: Re: [RFC PATCH v2 2/7] x86/tsc: Add clocksource ID, set system_counterval_t.cs_id To: Simon Horman Cc: linux-kernel@vger.kernel.org, "D, Lakshmi Sowjanya" , Thomas Gleixner , jstultz@google.com, giometti@enneenne.com, corbet@lwn.net, andriy.shevchenko@linux.intel.com, "Dong, Eddie" , "Hall, Christopher S" , Sean Christopherson , Paolo Bonzini , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Wanpeng Li , Vitaly Kuznetsov , Mark Rutland , Marc Zyngier , Daniel Lezcano , Richard Cochran , kvm@vger.kernel.org, netdev@vger.kernel.org References: <20231215220612.173603-1-peter.hilber@opensynergy.com> <20231215220612.173603-3-peter.hilber@opensynergy.com> <20231224162709.GA230301@kernel.org> Content-Language: en-US Autocrypt: addr=peter.hilber@opensynergy.com; keydata= xsDNBFuyHTIBDAClsxKaykR7WINWbw2hd8SjAU5Ft7Vx2qOyRR3guringPRMDvc5sAQeDPP4 lgFIZS5Ow3Z+0XMb/MtbJt0vQHg4Zi6WQtEysvctmAN4JG08XrO8Kf1Ly86Z0sJOrYTzd9oA JoNqk7/JufMre4NppAMUcJnB1zIDyhKkkGgM1znDvcW/pVkAIKZQ4Be3A9297tl7YjhVLkph kuw3yL8eyj7fk+3vruuEbMafYytozKCSBn5pM0wabiNUlPK39iQzcZd8VMIkh1BszRouInlc 7hjiWjBjGDQ2eAbMww09ETAP1u38PpDolrO8IlTFb7Yy7OlD4lzr8AV+a2CTJhbKrCJznDQS +GPGwLtOqTP5S5OJ0DCqVHdQyKoZMe1sLaZSPLMLx1WYAGN5R8ftCZSBjilVpwJ3lFsqO5cj t5w1/JfNeVBWa4cENt5Z0B2gTuZ4F8j0QAc506uGxWO0wxH1rWNv2LuInSxj8d1yIUu76MqY p92TS3D4t/myerODX3xGnjkAEQEAAc07cGV0ZXIuaGl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PvMkxEYp9EGxT5yeu49fN5oB1SQCf819obhO7GfP2pUx8H3dy96Tv KFEQmuh15iXYCxgltrvy9TjUIHj9SbKiaXW1O45tjlDohZJofA0AZ1gU0X8ZVXwqn3vEmrML DBiko3gdBy7mx2vl+Z1LJyqYKBBvw+pi7wARAQABwsD2BBgBCAAgAhsMFiEE4+UwmTdY2H45 eYsEIj0/YkOOjDcFAl13fD0ACgkQIj0/YkOOjDfFhwv9F6qVRBlMFPmb3dWIs+QcbdgUW9Vi GOHNyjCnr+UBE5jc0ERP3IOzcgqavcL5YpuWadfPn4/LyMDhVcl5SQGIdk5oZlRWQRiSpqS+ IIU8idu+Ogl/Hdsp4n9S8GiINNwNh5KzWoCNN0PpcrjuMTacJnZur9/ym9tjr+mMvW7Z0k52 lnS9L+CRHLKHpVJSnccpTpShQHa335c5YvRC8NN+Ygj1uZL/98+1GmP1WMZ6nc1LSFDUxR60 cxnlbgH7cwBuy8y5DBeCCYiPHKBglVIp5nUFZdLG/HmufQT3f4/GVoDEo2Q7H0lq3KULX1xE wHFeXHw4NXR7mYeX/eftz/9GFMVU29c72NTw8UihOy9qJgNo19wroRYKHLz1eWtMVcqS3hbX m0/QcrG9+C9qCPXVxpC/L0YLAtmdvEIyaFtXWRyW7UQ3us6klHh4XUvSpsQhOgzLHFJ1Lpfc upeBYECJQdxgIYyhgFAwRHeLGIPxjlvUmk22C0ualbekkuPTQs/m In-Reply-To: <20231224162709.GA230301@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0097.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a1::15) To BEZP281MB3267.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:77::8) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BEZP281MB3267:EE_|FR3P281MB2252:EE_ X-MS-Office365-Filtering-Correlation-Id: 41aff268-be22-44c7-e2c2-08dc129957e5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tbQAPoC7DcA0i+OcZcXP0dT/fHg1xtAxduQ26y8Bdf9HLyUlC3MY7dDQFMLALyo5erMgn2GR2t5WLB47RwwzbMGlnZwufdNsF7eJUqBWPuWqRPtJkVKa2aWVS3DEz/dgxlSf/u7pO3vGwbFJTydMLZOh5DIOjaXUonOil40JW8JpkvixDewp0CZ7VHVJzsHmwQB9amqNrr9R321pG4CXVZA8f9P1OLQL9y3P30biBPiR+HsS/dy4K41OU+5JcxvLAuTRNwG2/nGHEmlk+/oTdSeTybfZ3uJfG9FfVkd1DqbqT0rtiWsrky4HUd9icFR47ZAy8Hg7hIQ/6Tbz8NWSVlK//sfir7PFUskiqzRxbbwnN6kVQEm9+bGSC0ioyO5i1oAEYWt3AJn5TwcsQfkhBWw0SXcGco+d/Z7Ox/ayYRoBCyRwyEPicLDn+iUtTcqGUR92D3Gnd2mTrXI3fqCWBmfVcGBVfL6tvYCVWgrB7PSxpjwFyW72BshnqvWLwqT2rif4zavJihU9X5GHnTMithMCKR9qNlOg1U8i30UVHJNnitQE8wWEVH5FP4CpcGJDG6zOBJTQDulhoQCMnyrG+QFc/Sd+YNdze3RBLyWEbPA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BEZP281MB3267.DEUP281.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(39840400004)(396003)(366004)(346002)(376002)(136003)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(316002)(8676002)(8936002)(2906002)(7416002)(5660300002)(38100700002)(44832011)(4326008)(31686004)(83380400001)(2616005)(478600001)(26005)(53546011)(66476007)(41300700001)(66946007)(66556008)(6916009)(86362001)(31696002)(42186006)(54906003)(36756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?ZXQ3UndqZ0p0SjJacTNQdHBlaTNmMkJqNlZqcUpNYk41Y0M2YVQ1WTdkeU8r?= =?utf-8?B?YUs1NDl1SUVTWWVZUDV4MmtVQXRIMnNCVW9JOWZaYXdsZW40YXdQOUpIaVlV?= =?utf-8?B?cHVUTzRhdlQwalJnaEgzUkVPczRsd054VXFoVitZYzhMV2Z4T0swbUtwNGpj?= =?utf-8?B?aEdSaDJyK3dFclorMGlRc0djNnNibm9WeFlYV01QdElpSi8wbUcwRE96TlVl?= =?utf-8?B?cUdxTWVaQU1nWjB0eFFWRGhKL2ZwRDllYmh5TjBJNU9rYmF4c3NKcm1LekVF?= =?utf-8?B?WGRlMlVQTXJLY3gyWW1Qa3BFY3NPZzg1eC9WdTZvOXl5S3NsYmRSSk5tMmM5?= =?utf-8?B?VjI5ckpZQm9wTXBzejdjbEN2eWZEZjhFN3MxQ0lpdytsL2dFZUZBVjRrbTJk?= =?utf-8?Q?TEfpXkLBFSsARanSl0neifrRW?= X-OriginatorOrg: opensynergy.com X-MS-Exchange-CrossTenant-Network-Message-Id: 41aff268-be22-44c7-e2c2-08dc129957e5 X-MS-Exchange-CrossTenant-AuthSource: BEZP281MB3267.DEUP281.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2024 11:34:59.5041 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 800fae25-9b1b-4edc-993d-c939c4e84a64 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6QR0eqdOmKY/+zLv6f/NO1WBQBHbPRuz/GEtIlfAVFKOmdMH2TMKsCI/1O9dQVSSozTTYG9uatRZ5OvPPITaOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: FR3P281MB2252 X-TM-AS-ERS: 104.47.11.168-0.0.0.0 X-TMASE-Version: StarCloud-1.3-9.1.1015-28112.006 X-TMASE-Result: 10--19.927500-4.000000 X-TMASE-MatchedRID: hls5oAVArl/5ETspAEX/ngw4DIWv1jSVbU+XbFYs1xK9i+/f9tLGG9T8 nzhI7jct08q4PMUbAPinyNbHJWoNRSbbwRdGbc5Ehi2C7dlNKWoSRRLwSueD2gHzrV7k27Q/P1b i6L5FWkPf3jJm6h2Ae5uIb9c3VdbGmisT+ybs5MYI1pqhes/vCcEYnQj44hfD86dFkmAkYZ+ECn xZMJxvURqoqV74MuLyPkO5+0gZtdsM177w97hxZmwEEr52PwDFm5eMQpabFXYhkL0gCMh6Ds+c7 BOZ9lQf31w1NnIhFDLCoxkUJ0PNYWiJ+5GHGsyDJPlTeUnhPwqs0m4CN4NCDVo7GmCOJYd1AqYB E3k9Mpw= X-TMASE-XGENCLOUD: 49bc9f4c-0eb1-4a58-b079-7d4ed6cb64c6-0-0-200-0 X-TM-Deliver-Signature: 74113D733E3B975245E7D4B75044E1C8 X-TM-Addin-Auth: Xk7WKXqnBn1/Y+8jl1AOGBP9KgPVZrLdC2d9+GIrP6Fgoe6DkztInLjsm0g ISfth25SzfbRedBKRZj3phNL6nlW/XtyUu275rfqGyjQ6uH2mM8ff7YFyvReOj/a8V4Coqs0Czc oNmTWUWZhiScrdx0N+PTzn51KfCL9/4i7jW++qMWtSFS0KEeFqY2O7mgJZksRB37nQjyJc6oStT e6WohBq3VyB9pHkhvKAPmBWegcPu0glqa+RKEVRriGiLZX1BGhy+0OMH9kl+xg0+hIF+symmHDi O71V7F5V4bxNaX8=.F2DcIaIW9hEWHO8iAPI4p1W0L5uXtVGLXjRiwSXj9gnImF57fPGAhm9ROy rTMroWsnLKamR7AuVgSYdx/PpiLb9EsCmGThumEnO36zaVj0gzDdngrfNQg08v3AEC91J8qK7BX hIMdxb3ydF5fHlmn/PmNCGYrjxAXodWajQZyUB9k5bnft6x+aIDCgIA/QGxtRgp2D/OFerkVjLg eyMFuIiaNcplTG6C1j2/u66/7MsVZKptGACGQUywsGgWXSISFI+se56tF+RgwWq4nF7O2Fnie3/ ANgeOPd9jITBgnvLoynEC5u9rKKYEgAQuewY9jOKbCNOTzpEi2TQ3pjQQig== X-TM-Addin-ProductCode: EMS DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opensynergy.com; s=TM-DKIM-20210503141657; t=1704972900; bh=eW+fpyWlizLYaNIzPsjX8SDD0TLigdxu7I2fvM0OzlI=; l=2533; h=Date:From:To; b=YuM4JmWfmZUSW/R0Mpa2WnlCRSC/ZbHvM4hPbLd0hdmBhzbuuMstL2lYn98Ylvx5b qrb/agEkjwSOL/c3So01eIyiNx7prAKxvubS8uoHRupMDlslYKFVGikPXlShasTmjk 9xVCmJn9dw0Kd2aa7CGpf7c7yutJYwBPJYv+5pTZ8uzYEPHg0ddbZfudp4fqmYMSAX CRUXlbLecSHBPuvfa9fwZeylO7hwpCZiSpP0t4A2ynSgzru8m0tQ6vvsWaY9wUnLrM lg+4yyNnklvfHFLLQ6rfkIRFrbB0aag0NpNN++Rl45cI5Rj26rlDjanXldekc+FdtQ U2DKEWhYtlIaQ== On 24.12.23 17:27, Simon Horman wrote: > On Fri, Dec 15, 2023 at 11:06:07PM +0100, Peter Hilber wrote: >> Add a clocksource ID for TSC and a distinct one for the early TSC. >> >> Use distinct IDs for TSC and early TSC, since those also have distinct >> clocksource structs. This should help to keep existing semantics when >> comparing clocksources. >> >> Also, set the recently added struct system_counterval_t member cs_id to the >> TSC ID in the cases where the clocksource member is being set to the TSC >> clocksource. In the future, this will keep get_device_system_crosststamp() >> working, when it will compare the clocksource id in struct >> system_counterval_t, rather than the clocksource. >> >> For the x86 ART related code, system_counterval_t.cs == NULL corresponds to >> system_counterval_t.cs_id == CSID_GENERIC (0). >> >> Signed-off-by: Peter Hilber > > Hi Peter, > > some minor feedback from my side that you may consider for > a future revision. > >> diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c > > ... > >> @@ -1327,12 +1334,15 @@ EXPORT_SYMBOL(convert_art_to_tsc); >> * that this flag is set before conversion to TSC is attempted. >> * >> * Return: >> - * struct system_counterval_t - system counter value with the pointer to the >> + * struct system_counterval_t - system counter value with the ID of the >> * corresponding clocksource >> * @cycles: System counter value >> * @cs: Clocksource corresponding to system counter value. Used >> * by timekeeping code to verify comparability of two cycle >> * values. >> + * @cs_id: Clocksource ID corresponding to system counter value. >> + * Used by timekeeping code to verify comparability of two >> + * cycle values. > > None of the documented parameters to convert_art_ns_to_tsc() above > correspond to the parameters of convert_art_ns_to_tsc() below. > > I would suggest a separate patch to address this. > And dropping this hunk from this patch. > In the quoted documentation, @cycles, @cs and @cs_id document members of the return type struct system_counterval_t (not parameters). I will just drop the members documentation, since they are documented at the struct definition site anyway. > The same patch that corrects the kernel doc for convert_art_ns_to_tsc() > could also correct the kernel doc for tsc_refine_calibration_work() > by documenting it's work parameter. > OK. Thanks for the comments, Peter