From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=148.163.129.49 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796169124; b=sfgvB8vRoedClhaCb+Aj1s8EXLuVuGCPrHaaL0Gzy3BMggv1B6wgknDZEyHwLsBC0zMv FWfrDJcsjR2vl51g4VGzDsmDDBjxSGWz7gSpSweiLgAgTuPEtQveE1aePAe7VhVbATe+K i255dqD/zuhNcOOe4qc9VIymU/184WdTac8T6n3zXvRk75bTClXzvbgMHWbNJq+JUNjeV SNEHdbM+4akHLaol7KSwxjbgCQMgQiW6UR36pNR2isBr923uQXy0iBeriPf7sdFoQkZkS V1tfZxOOg9ImY+zrIpLvwq0UA2kq0LfqGAduHGCTzqfIwL5pB2skntoEgwkxRN/c0Jw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796169124; h=DMARC-Filter:DKIM-Signature:X-Virus-Scanned:Received:DKIM-Signature: Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language:Content-Language: X-MS-Has-Attach:X-MS-TNEF-Correlator:x-ms-publictraffictype: x-ms-traffictypediagnostic:x-ms-office365-filtering-correlation-id: x-ms-exchange-senderadcheck:x-ms-exchange-antispam-relay: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report: x-ms-exchange-antispam-messagedata-chunkcount: x-ms-exchange-antispam-messagedata-0:Content-Type: Content-Transfer-Encoding:MIME-Version: X-Exchange-RoutingPolicyChecked:X-OriginatorOrg: X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-MDID:X-PPE-STACK: X-MDID-O:X-PPE-TRUSTED; bh=iLMz08QxO/pP4n18XW/Q6HJ0if1hXcmMPU2ywl+Yhl8=; b=Jz8TsHHUic4DOv93sT7J8bKVicLTAZU+9E2gTnzPue6XDD/1a6r1TI5UlqVTYk8ef/AB 31jMQqEqFMgnwPvXe1UCXwRbQoy3ojN5sE1M0PjsLSdcgar5q+m8qKqmKgNug23uWgYCt svmZZgOEwsk6Wd0eT0tCnCy+ivhwhMm3mYMqO3u5hCQHKNAla/sclwTZ31PCJkZwyzhXn Q5Y6ETXhgCgovbN33UyTpAUw+erJZlQKNdcvVSwSvr/d56Dq1yfSI87gP3+207PhmIrPO yDKqcXvOfNK/Pqc0w/2TArUeIm43LKSZmEVHMtQjcbdvtCbBv864GEl8i3CbskdNlTw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=sitime.com; spf=pass smtp.mailfrom=sitime.com; dkim=pass header.d=sitime.com header.i=@sitime.com header.a=rsa-sha256 header.s=mail header.b=aXqeYDdm; dkim=pass header.d=Sitime.onmicrosoft.com header.i=@Sitime.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-Sitime-onmicrosoft-com header.b=YXRVzWZx; arc=pass header.oldest-pass=0 smtp.remote-ip=148.163.129.49 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53E06606B49C; Tue, 1 Dec 2026 23:52:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 53E06606B49C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sitime.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sitime.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sitime.com header.i=@sitime.com header.a=rsa-sha256 header.s=mail header.b=aXqeYDdm; dkim=pass (2048-bit key) header.d=Sitime.onmicrosoft.com header.i=@Sitime.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-Sitime-onmicrosoft-com header.b=YXRVzWZx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sitime.com; h=cc:cc:content-transfer-encoding:content-transfer-encoding:content-type:content-type:date:date:from:from:in-reply-to:in-reply-to:message-id:message-id:mime-version:mime-version:references:references:subject:subject:to:to; s=mail; bh=iLMz08QxO/pP4n18XW/Q6HJ0if1hXcmMPU2ywl+Yhl8=; b=aXqeYDdm4YtTzdZHHJAxsyj+uC4BLYAvbO3IQuXa0X0JYH5tFaSgUmxnctaGr17ZZXhMjZjUuv8Fx4r2MHGlMPUj1tq8IAR/3gZglIly3QWSIs/bOd/gkfVieGZc2clYEcHDN+ll2lMhtxdDsXcDK+K204tCaz9pIbt0RI6ulNwTlZFjNAWzRCsx4cpusI50WWv1nMz9fqEbSz1gFecCeADlsoBfjxd4a2H/Ohnh0V7cvTt4DvD5D1sj67GrzJu+qxJyE4PnpaZDdm1uV/oFAk6bDTVQ4k9OvHITPAjyVievD0s02HmO6avLQXnEEVakITAznapZZWyfG7Th8Ohpkg== X-Virus-Scanned: Proofpoint Essentials engine Received: from CO1PR03CU002.outbound.protection.outlook.com (mail-westus2azon11020117.outbound.protection.outlook.com [52.101.46.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 4319CC008D; Tue, 1 Dec 2026 23:51:57 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XPiOmP5xL1LO6QUrz2Fl6jjMJx9h3/2dgujwbo/nylYCeurUOSLliU4gPfMXRSRwohJ9FEiY3mf7rvEZh4t9q3Gumh4bXttbGBuqFBwOAqkwN36v0MzMqc89YyrMFRj6ekWShx5g4PlxOOa4KFVzMsZOmFKgp/zEhLeFaXh1ZQXRylFrKXMVyvrrpYrXitIvNxi4u3SW83m5Xwj6OXDDREw5hgaOAQqmOUitn7ZhgF8I578ZKCRRD+ZaV0TXrMOW9+rpznzFcY8+ya9ftRZBfkHxFa0jbFuX5Y1MkEFykuPuuz4fJpbEVfo0huttGAFxXRDS4zFtlwzmky/1qlhDlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=iLMz08QxO/pP4n18XW/Q6HJ0if1hXcmMPU2ywl+Yhl8=; b=wPRowHLP+iuT9y9VrIa/uAxMDVA/UpEisP54dyMg3YQ+NJv1wkLavrzTpzhdfWikp/M8EU9Q5fLLgVckUHWS6QV87AcY/Vs/vr4jWQTdjvJYbkTJYB7FK6eUoFIV0wX/8G8UR0VhdT9+wMiOjBFVsjxTv6YR64cR0MHo60KC/hahP8vrJSeQR5t4QlKqekaLC/L7RZVsyaOQZA8PyCDM+mFZd6AIGd3tkEaN+/8PFZ6udMcHd589VmOil40d/PB7LnIMUIXWIKf4Z+Ufq6UvPua0PWE/FYGtFaqsm8t0oTX6cb+Kbrma6lc0OTff5IK072h9vEV5d16poarSJWodfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sitime.com; dmarc=pass action=none header.from=sitime.com; dkim=pass header.d=sitime.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Sitime.onmicrosoft.com; s=selector1-Sitime-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iLMz08QxO/pP4n18XW/Q6HJ0if1hXcmMPU2ywl+Yhl8=; b=YXRVzWZxT9ZDUOOaBCbdAEKryq48nT+UYikRaVlgcHi34dQQbhBicAzJmiHxr8uL7RtzmjJ5BXAnvEFjnpHOMut+UUBYG00hq4lOHXYybcYSIBcMncisEyRGMssQnDI9RCyoFRa9HGqUDg5GmSTapKaTJR+VRf7l0yKHa01BtXN26xcA88pknK3CAToBsQJsKjfYgHlsplp3xgIyNO6rRHfSIP5958wPyLQ68aBQiW5IOD+0xa85an3Iu58/iZgjsXsFBI3vyqo434zfkGI6bm2xRpqCsk+sTRXeC9gT+jhlLoTyoA6nIwJ0xsFFPtfYFz52G5/ujaD0/UY6Fkt0qA== Received: from LVWPR20MB994915.namprd20.prod.outlook.com (2603:10b6:408:3bf::16) by PH0PR20MB5775.namprd20.prod.outlook.com (2603:10b6:510:28c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Tue, 1 Dec 2026 23:51:45 +0000 Received: from LVWPR20MB994915.namprd20.prod.outlook.com ([fe80::9551:3864:128b:8c01]) by LVWPR20MB994915.namprd20.prod.outlook.com ([fe80::9551:3864:128b:8c01%4]) with mapi id 15.21.0688.009; Tue, 1 Dec 2026 23:51:44 +0000 From: Ali Rouhi To: "netdev-bot+sashiko@kernel.org" CC: "jiri@resnulli.us" , "vadim.fedorenko@linux.dev" , "arkadiusz.kubalewski@intel.com" , "ivecera@redhat.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "robh@kernel.org" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "cjubran@nvidia.com" , "Oleg.Zadorozhnyi@devoxsoftware.com" , "prabhakar.mahadev-lad.rj@bp.renesas.com" , "devicetree@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net-next v16 12/13] dpll: sit9531x: add support to get phase offset on the connected input Thread-Topic: [PATCH net-next v16 12/13] dpll: sit9531x: add support to get phase offset on the connected input Thread-Index: AQHdeHltTTnyNCyqLEueoCssDMpygrc8Z/kAgAyE34A= Date: Tue, 1 Dec 2026 23:51:43 +0000 Message-ID: <20261201235136.95422-11-arouhi@sitime.com> References: <20261119225752.41846-1-arouhi@sitime.com> <20261119225752.41846-13-arouhi@sitime.com> <179548085403.3135.8775847073019311030@kernel.org> In-Reply-To: <179548085403.3135.8775847073019311030@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=sitime.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LVWPR20MB994915:EE_|PH0PR20MB5775:EE_ x-ms-office365-filtering-correlation-id: 6bbfc085-a3fb-4d0b-7e2b-08df50060e43 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|376014|23010399003|38070700021|10067099003|56012099006|261021123027099003|261021121427099003|261009223027099003|261022115727099003|261102123227099003|261022105027099003|261028144727099003|261026140227099003|261026121527099003|18002099003|22082099003|4143699003|3023799007; x-microsoft-antispam-message-info: uqLdiQKwlTSl2JHxwkIicjl24FESepttVio34TkRFtdCIdjT5LYD5mUricAkA/tvZBsrMqAZOOZS0CJajRiOW0H9VUvrhYSkK36iUGGN1zrBeEsEv5Q893GRO4gloX1lszLA5mIU8NqVEFi0enfzDfvqid22eX+DVc8mtg3YmfoseRd+97MJHEdil2j/bqGu1yR5LlyqVZ/bnuH/HO9bGCwdXfpI/LnaNz3gfHUTvjQK0hIwFtt8p4g83c7wc/9JMNnqER6gU1tCI9mbr1DBhxQ08jhg3FveBi+Q1MJYIr7Nt1dqfoz/P46m6OUcJBofmzfldTxYl65CT40VG8JLEKkvPS48MPTyAlZBG7odp9lrmHGqwYP61HkR6U5CwUtba5Sl1qajtf3z+0MC38BCCkymKEtTU/lViYT5xlsoiPfW1uRszvI1xSljHKq6sUOjWWRuqboQhu/75MK67azi47//R0iTZWS+8KjGKKK+hO2oIlkPgRNk0FHHYRhyWPfIB5MmGrPcWYqjVUdhMLt2AxnqxH5oYzhuelM0gQmwltX9RoNNOfXsaFhpNavCCtoXYBsxr3oJJns0T3A0jufJBTiArrLGfjkUFI005f7KM/Yvumgff5mP+oBePY/4JzmYwPoDUbZ3XeIx2Ui7TcDJvoymu5SAMtenucdDv0oYFUrbwHAoZxScPUdMbZE7H2V3hV+rkSS3+hmFFZleGdEAzvBzXRisRtlclzkRjJkomKw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LVWPR20MB994915.namprd20.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(23010399003)(38070700021)(10067099003)(56012099006)(261021123027099003)(261021121427099003)(261009223027099003)(261022115727099003)(261102123227099003)(261022105027099003)(261028144727099003)(261026140227099003)(261026121527099003)(18002099003)(22082099003)(4143699003)(3023799007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?m8YkKSjNLwf0XtgPuMb1jQzkNgbt+Uyds9sIRVIdV8jTa478Jk8dTy9FAh?= =?iso-8859-1?Q?ZB4QjaKBxm2t+tH517kwhQQ1koPI7KqvoBmTawrG7x3UhOn5aCg5QK0J2L?= =?iso-8859-1?Q?CuDmUwGYmWb+0QqyB7ZWCfPdR8RVW1yPc2BPUV2lGJrV2ebJsl6iwG1rXa?= =?iso-8859-1?Q?PKXn1EXi6fgrhU0WCxoVdJaSDiC9u49lfoU8n33LeBNS/ZMsKd9ZFp9kA5?= =?iso-8859-1?Q?qwOoeBRile2MOykhvkbsMLtZ5GwtxQnQubieXQePvlwi2Kj4qVF+JHBq5v?= =?iso-8859-1?Q?8aXlWLP/rK9GWuRmjAbNOsSxT8tBp+K4SMq+F05QNyO8OIiT1Nnx77B06s?= =?iso-8859-1?Q?RmtTDwIwKRcz3wapQX1zvPyDvKgQIF5l5otpYJzvDB96G7RAalE5UZ/Ptt?= =?iso-8859-1?Q?WVSlKR5QvWfQXbVLP35Jmv+QEPf3f89I3KODlc74NPyAH51CBDexhNvPwm?= =?iso-8859-1?Q?Pqq9fREoy4ABibGzctZYhSejAdDZ9UyfAf2Eq9fFr1GCXJP+UtL2f+F4ib?= =?iso-8859-1?Q?GfkIIBAv+yDFJ/0GS5AbHaUC+Hgfbi1wyUM2+m2KvABdvVhr2barPHU6I3?= =?iso-8859-1?Q?oT8435jXj+BJB2/g+20tz6S2dkQH2iVR3ilIm/mPSjN2dhKNVjBN6neyq5?= =?iso-8859-1?Q?cox/6hniqy90N463gahDiKvqyPtOYUk56OcRQLE8+yt8qpwUeT9voUgirL?= =?iso-8859-1?Q?Kz715p/ZIa+9F/BPMzrSozXKiAaVoYoMumxumnAZtFoQ1SuSAEnC+NgOGH?= =?iso-8859-1?Q?meWUoOBpAOn0jtHUNbYzhExPeLxho9VGrm6pHtEwl5qVa9gVM3YBOc9INx?= =?iso-8859-1?Q?+iy167YhZGwzxgExZUpgRdGjvYeBD4A7dkqCD5ug34duOZl5klJnusqwhg?= =?iso-8859-1?Q?GKGtJIJ+lfxWAIxMQTO/s8INzvcQ9tqCxq8oylfAqqjOiREzG1Oy8zobqy?= =?iso-8859-1?Q?GJu/IUrz0bb2lcu3s6vFmhmWWSmlOTDtCB6F4fbjx4Nob41LPDFjAEQ8eV?= =?iso-8859-1?Q?DbdncgDHZK0pdxouSr1Tj5hsYIJZ+wg6nZHpSZ/6n+etVfpxV5Vqa9C8Sy?= =?iso-8859-1?Q?puIp7JgbgH2lqi84ahnthvax05RFfQYa3OEICfGY8k934l78LR7Aw5oyiY?= =?iso-8859-1?Q?DQ6qxwKcyS99xpsaEYHArLLDi6GuAw8CODPdAGGgIQJ8ExbHX7Vuzt86kb?= =?iso-8859-1?Q?bsFZC5O4ULkGK8Pd3XuGS9O8i9qXn+pRKIsJc7V72gH51oC47tavVjp0Mv?= =?iso-8859-1?Q?l+SUvgrpsZVU4HXD3Uy7C87coSqwHb2EdGthXNWQU8Eku3g/8hvZudPiim?= =?iso-8859-1?Q?PVOwWzRIP74SFE9fDNsyuXQtJ6iDKZaeTj404CpfU+wPm4yt+YZ9fzLJJw?= =?iso-8859-1?Q?0Vad8xTNUv0mQaGTw7MRGMSIZZppBd2Oz2r4XDIuVZPtrkklkCO+/ggJ5R?= =?iso-8859-1?Q?lyShgU937cMIkPmBiFJCW/M2KE6lWtNYQ7QcQQgeco0qOnCfBAf4PzrWVj?= =?iso-8859-1?Q?3pYaVnKK1c+EcMTPrC1YcwpduGtHyvEorVsWlYm5DHFdLfePecG5bny6Kk?= =?iso-8859-1?Q?UgG6bt0bbD5tMRKsUaPfXqqY4s/kXFN+FJ3mB/70YZdXk6pqqkAQHNYnXS?= =?iso-8859-1?Q?zV6gqnvSQ0AgaHAx3FJL0R0uoWjjlS8bJr4v1TFn2noph5PAemQ8UqoN0y?= =?iso-8859-1?Q?vBDnb+tZ57B1ofSedBJp14aK0pIT0SFRTQLh8ETtVJapfE7G7HlL3Ne+d9?= =?iso-8859-1?Q?CPRvpRXhPQsptqFCCSCNJcOBQJeCrnq78LhcCegoQvlQeX?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Exchange-RoutingPolicyChecked: TpAJ1b+gduw8aUloldqAGLsZ2LRUvnbSouUjlB9uCGEFX4Lf8plYW9+L4Z4OAl+M4mUL4vUDY0rbfpVNcS9Tv8/AGeRCJ+X5CCEF4zU5RpZevc+lzeHneZpRaHYn0XM47vDK42NcxTMFQzXC6F+cihrr7BDetHFSGI93XJtPIa8E1OEsF7dqi8ESwLAxadnUxU7oEopi/qBdTQdFkRXzfMpC84sRNVxTDAUHbS+hZBglFbogv25mJuV1Wo+804uMwJZe8YvwN8S4T8OamGBTr3uQxZZR3jdnNWvatccXOxa3IJIj7uXRtzvfzAGJbYBx8y49+M919Y06yz6NKAhjSQ== X-OriginatorOrg: sitime.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LVWPR20MB994915.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6bbfc085-a3fb-4d0b-7e2b-08df50060e43 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2026 23:51:43.2287 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8fb55916-cf10-4b0d-96f4-cf3952657263 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: j9SZxA1jOqc7DrZLWTZb8V7pJnpBMwjlyzhv4Sne1T02oEXoc9xKWSrJSxUVsO2hzjaY+jzcuf9plrNjF8++vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR20MB5775 X-MDID: 1796169117-CEOvCiPOtxWx X-PPE-STACK: {"stack":"us1"} X-MDID-O: us1;ut7;1796169117;CEOvCiPOtxWx;;5de2396b9b83917d02f0372d9ae54394 X-PPE-TRUSTED: V=1;DIR=OUT; On Tue, 24 Nov 2026 00:40:54 +0000, netdev-bot+sashiko@kernel.org wrote:=0A= =0A= > > The offset is sampled when asked for, not by the poll: a sample is=0A= > > several dozen transfers per PLL.=0A= >=0A= > [Severity: Low]=0A= > Is this accurate for notifications?=0A= >=0A= > The poll worker calls sit9531x_dpll_changes_check(). That function calls= =0A= > dpll_pin_change_ntf() for every selection pin whose state, operstate or= =0A= > prio changed. The core then builds the full pin message for that=0A= > notification:=0A= >=0A= > sit9531x_dpll_changes_check()=0A= > dpll_pin_change_ntf()=0A= > dpll_pin_event_send()=0A= > dpll_cmd_pin_get_one()=0A= > dpll_msg_add_phase_offset()=0A= > sit9531x_dpll_input_pin_phase_offset_get()=0A= >=0A= > So when the poll notifies the active input of a PLL (for example, the new= =0A= > reference after a switch), the poll worker does two input monitor=0A= > fetches, two routed reference reads and a full TDC sample. A failure ther= e=0A= > can also set tap_pending or key_pending from the poll.=0A= >=0A= > This only happens on change notifications, not on every poll tick. The=0A= > callback also maps errors to -ENODATA, so the notification still goes=0A= > out. Could the commit message be reworded to say this?=0A= =0A= Intended: the offset is sampled whenever the core builds a pin message,=0A= the poll's notifications included, and a sample that fails leaves the=0A= attribute out. The v17 message says so.=0A= =0A= > > + if (rc =3D=3D -ENODATA)=0A= > > + dev_dbg(sitdev->dev,=0A= > > + "PLL%c: Fvco unknown, skip TDC\n",=0A= > > + 'A' + pll_idx);=0A= > > + return rc;=0A= > > + }=0A= >=0A= > [Severity: Medium]=0A= > Is an out-of-band Fvco safe to use here?=0A= >=0A= > sit9531x_get_fvco() returns 0 even when Fref * DIVN falls outside the=0A= > PLL's VCO band. It only warns once:=0A= >=0A= > drivers/dpll/sit9531x/core.c:sit9531x_get_fvco() {=0A= > ...=0A= > /*=0A= > * Outside the PLL's VCO band, Fref * DIVN is usually not the rate the= =0A= > * PLL runs at, as for a PLL fed from another PLL.=0A= > */=0A= > if (!sit9531x_fvco_in_band(pll_idx, *fvco) &&=0A= > !(sitdev->fvco_band_warned & BIT(pll_idx))) {=0A= > ...=0A= > return 0;=0A= > }=0A= >=0A= > This value has two other users, sit9531x_output_divo_calc() and=0A= > sit9531x_output_phase_adjust_set(). Both return -EINVAL when=0A= > sit9531x_fvco_in_band() fails ("rate not settable" and "delay not=0A= > settable").=0A= >=0A= > This function only checks rc, and then divides the TDC code by that Fvco:= =0A= >=0A= > mag =3D mul_u64_u64_div_u64(tdc_signed < 0 ? -tdc_signed : tdc_signed,= =0A= > 1000000000000ULL * DPLL_PHASE_OFFSET_DIVIDER,=0A= > fvco);=0A= >=0A= > The "one code is 203.45 ps at 4.9152 GHz" comment suggests one TDC code i= s=0A= > one period of the real VCO. If so, wouldn't the reported phase offset be= =0A= > off by the ratio of the computed VCO rate to the real one?=0A= > sit9531x_dpll_input_pin_phase_offset_get() would then return 0, and user= =0A= > space would receive the wrong value as a valid attribute.=0A= >=0A= > Should this return -ENODATA when sit9531x_fvco_in_band() fails, so the=0A= > attribute is left out?=0A= =0A= No. From patch 9 in v17, sit9531x_get_fvco() returns -ENODATA outside=0A= the band, and the phase offset read passes it on, so the attribute is=0A= left out.=0A= =0A= > > SIT9531X_PLL_REG_DEBUG,=0A= > > SIT9531X_PLL_DEBUG_LOCK);=0A= > > + sitdev->chan[pll_idx].key_pending =3D !!lock_rc;=0A= > > =0A= > > return rc ? rc : lock_rc;=0A= > > }=0A= >=0A= > [Severity: Low]=0A= > This line also changes the existing poll path.=0A= > sit9531x_chan_routed_ref_read() runs from sit9531x_chan_state_fetch() on= =0A= > every poll and at probe, so a failed relock there now sets key_pending.= =0A= >=0A= > The next poll's sit9531x_tap_back_retry() then retries it. At removal,=0A= > sit9531x_tap_pending_retry() warns "left with its debug taps moved or=0A= > window open". Before this patch, that relock failure was never retried.= =0A= >=0A= > The retry itself looks reasonable, but the documentation only describes= =0A= > the phase-offset path. The kernel-doc in core.h says:=0A= >=0A= > * @key_pending: debug key not locked again after a phase-offset read or = tap=0A= > * retry=0A= >=0A= > The comment above sit9531x_tap_back_retry() says "after a failed=0A= > phase-offset read", and the commit message only mentions the taps moved= =0A= > for a sample.=0A= >=0A= > Could the kernel-doc, the sit9531x_tap_back_retry() comment and the=0A= > commit message also mention the routed reference read?=0A= =0A= In v17 the retry of a failed relock on the poll comes with patch 7, so=0A= this patch no longer changes the poll, and the @key_pending kernel-doc=0A= covers any PLL-page debug key left open.=0A=