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=67.231.154.183 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796169124; b=4MMSgKdF1bMjF3F+hX6VqkwVJ+yGTMlGMeJz51/mfCg7zOHMwHhBGIlpRGcXH38KeNTv ocUT1AxGUTygobsiyi82/4Ex82h9BWDrlFvcf+h0aGmsmcMtglJRY625e56eegUjuODkP YpQzecOdcN4miPIzhENYhOjxE2w11avOeLmv1FDKZmk2huJLcfxHzTrkdsJfIcJoxVxuy boEgnbQZ2h4OFmZ3QGC/uxVsluOkCx6jL3ZamZFeA9kK3ZzN1n8EFCf1OzgWL+o3W7+RF lw5Kk//j0IwCTYmZxNM3BGuU5/0tJXEtvN0Y5BglgrulfB23KW1+vOWYmSbjF97g/6w== 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=5DapxgVmhprvI7HUlIxu4NlusEjMQXiTeP6BT+Aduog=; b=ZNKN8b/HeocmMzDuIkjBDS81c1josEhoPB9IpFL0fEMLQhZLZUVNPzLX3dne3W2Dvl8x /dwC6ZSGAfqr+bXrpdu81dyYZ0FzBXVaifsiRLU9XWvxKwNSr0iyMbgEqK+ci6VOEvge0 Qm13sw+10x5cZZJDdJYo71uy/6a3/Bk4TI9HK2iTyXH+EQm1dkYkQzAxaCQVtAUmHxv+9 ujdclMsJ1aBG1qTonETHs9RGvfxz4AEmSzLB5nXn+KxqugtBqpjUubsZ/VU6RYFBcnzM+ 32No/oFSuImDu71F8PmGSORZfBFvr6jDuyT6JFzuV2Oe7GNCe3tHM9+K8z7Tk6RwPvA== 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=fzbUjnwe; dkim=pass header.d=Sitime.onmicrosoft.com header.i=@Sitime.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-Sitime-onmicrosoft-com header.b=nB8pSfC9; arc=pass header.oldest-pass=0 smtp.remote-ip=67.231.154.183 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.183]) (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 75A91606B483; Tue, 1 Dec 2026 23:52:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 75A91606B483 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=fzbUjnwe; 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=nB8pSfC9 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=5DapxgVmhprvI7HUlIxu4NlusEjMQXiTeP6BT+Aduog=; b=fzbUjnwe0O73HQlSBL1f0vuVya8kwXXKiQmyv7FgtqE7cFww4CoGOsbb83lHlbJu/o2FTaiZikvUJcEdN3obRrfZK59KG/ldswjoow53k0ovTRmFV/rHWfrmcPFR8JaaYsjQ7cpuyttMy8BZ1TTdbg90R6QhgGMYlV4vbf2Tj0pHxP4uI2f3hG671gnyQz3DfcFr47AYoFg1WN54dVlpVdqa7hdk6DdXa+Chj7IITdRqcYkZnoiLOYsr7CHY2b3C6viQhZLqL1LZAFTDwsvm6qYtkew+yzZcDHeI1HwnCwVIZBpq918PxYDlNBgpnrshKjPcgyTgyjkNtwAHJM0Erw== X-Virus-Scanned: Proofpoint Essentials engine Received: from CH5PR02CU005.outbound.protection.outlook.com (mail-northcentralusazon11022089.outbound.protection.outlook.com [40.107.200.89]) (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 4DB3B30006F; Tue, 1 Dec 2026 23:51:56 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VER4/ZrB2r32G+sP6R3+nW48YXnw4ij+HACJ+mErIxc2H2heC/Hx5mNtexOfmMNz1Xla/6mwGXiJ09taS7ogDW2ejg8SIM243nfse9sd9nlX7QWnn2mthiJOoHmIvVIml5o+JToKk3Ug3YLF6dGo3Id/aKXYzQTptHx94Mkm6SB82RdDTlS6UYoKprlefKnDObPdKlfZefnXOaDShHUC2otwfD+aV5wHK9dbtvcnKuibRLdwIs7oPe/6+XazDgMeVKoilX7qtMNNOSr6+J+jG99PfqZyqeJquvUFQfGybqR+jmNyDNWfBNYq84f33xJjfcjZVSPyifQxg6pcOONAIA== 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=5DapxgVmhprvI7HUlIxu4NlusEjMQXiTeP6BT+Aduog=; b=vihXY8k9KssM8SGCoSPQ9EL7gFXFlj3WOePfTcrAfKa1A5wtu03VkVkg8BZiei0T/JWqZKxJEYNZWiUd+gVgOy91B+yjTZFYyqXt8gVhesxnSsJON4TWebqwW0nL3btXWW5XRQ30xfRS6aBpWyXQIdK+zXt0X4JVX0cpnHVGO3JLORBG5P5gDRVlNXGrwWSPBK+baNmaYLpDnf8RIwCtbJxOezHAohr2KgZTFfvT88uD6Yjir6Ioc83rSKfWn21kwoqlkhrvV8qbHdWWGevF6INPcwq/ZINbbsutPBMBYrX8x46VqrC3Yc5gEWrkoyZk7Lzg9gMaGO9GZtM5wciCgQ== 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=5DapxgVmhprvI7HUlIxu4NlusEjMQXiTeP6BT+Aduog=; b=nB8pSfC96gYcpfRjWjrJhR+m68HPfd1wmGz8DnpLej/5Fw9GvbnKa5RhNNyTGPehn+qOA6OM2XowL27pRrZzAwNRgBv/noumY/EYTfHCsBp5Y3HuH71f7SCMdJOwOQg9A+DkjQT3CUEkZbsW22QOP69z1Hy+ZkE+dWFv38F5fVUIPGki96GvVjJJ8bpyoO7/9h4xL30pGWZrb9qq4SeNuYZ17NgvcEsnIytlUHqswW0rYU2MbF7YzjwsFmCk00OgQAI8OY8foXXhlocQ7NMInq2b9JEYl8OnEXmSyaADtCllIB4PSDZgSek+VaRkA4q5a+CAzXSOZ/DK3qNwjTmXSg== 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:43 +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:43 +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 09/13] dpll: sit9531x: add support to get and set frequency on pins Thread-Topic: [PATCH net-next v16 09/13] dpll: sit9531x: add support to get and set frequency on pins Thread-Index: AQHdeHlsoPKLgadWMEGDWDhGB4q5Wbc8Z/QAgAyE4QA= Date: Tue, 1 Dec 2026 23:51:41 +0000 Message-ID: <20261201235136.95422-8-arouhi@sitime.com> References: <20261119225752.41846-1-arouhi@sitime.com> <20261119225752.41846-10-arouhi@sitime.com> <179548085020.3135.4311909833990050378@kernel.org> In-Reply-To: <179548085020.3135.4311909833990050378@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: 678ccc2f-2850-4ade-2927-08df50060d5b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|376014|23010399003|38070700021|261009221727099003|10067099003|260925021311599003|260925022911599003|260925021911599003|56012099006|5023799004|261022075727099003|261009221227099003|261021121427099003|261009223327099003|261009223027099003|261009220027099003|261102123227099003|261022105027099003|261028144727099003|261026140227099003|261026121527099003|18002099003|22082099003|4143699003|6133799003|3023799007; x-microsoft-antispam-message-info: YlWi/UxE390tKSrZ+MCygkT3IRpLNpC2mfeKrQnYlhFW1jlJLNWPSgA/NAJ8AHFyvWz+IjLrMljhZVIc2prIkpmx1vLL6q1WP5UFJ+DivDLDorGUo6CXFkXcnu8WLwk0Vx02ZZ+iV9Y4YGU0KGma1Tvrngc48JuP4rk5FKc1C0uvqjb7POkEsc+LdvI/qn/jx9BgjHDmJrQgH20NN8Vjs18Blp/GgcIS3rRt1JL5fLCUhXMjm0pETDtBkIy0ecadKf8q2Ut2G7eY5PVjCpiRp8UJuPhaPj7LCUIO/1jDN41W5I1EPLF/iHApFM8nj1oKQoKAgTjF3KzcHB8P9gfXgZWWZFyzUEw0EfHhDCcPqU0bfBP2Ahk5IPSAQvu9nfUdO8Eq/yEFZ0aVs2MZg8t3MNqfL0w4Yak2HLMuBwYP9DuWSv8evm8YB1C/SikCkh+UY6m7QUIlaRYKY5HpXhDmx7J21ym4/QIMFyblPLBa8nucWwxq2vQWx/h6QkXvaA2cPBWFGXdRsYydPDp+LyAvcf/Vj4K1bCZDViWax94B1seMKhBVCa1XC4yD7miEZ3duP8XhPUTxugJCOYZ1WqP4cFZellbWTlL1ZsuKsUC3+KM2JfFg0MnDUxopn/DG5ozKEjL8l27AZPqXDAL+ghqQf/YgC8ZvbbCY+c3sDsDk/kqQTiwKcIRBlRqPON48igXVOITTzNksJv1unLfyqGr8l2/ShU3ad8sJsvThKwqL9+I= 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)(261009221727099003)(10067099003)(260925021311599003)(260925022911599003)(260925021911599003)(56012099006)(5023799004)(261022075727099003)(261009221227099003)(261021121427099003)(261009223327099003)(261009223027099003)(261009220027099003)(261102123227099003)(261022105027099003)(261028144727099003)(261026140227099003)(261026121527099003)(18002099003)(22082099003)(4143699003)(6133799003)(3023799007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?wnj+GqJYt3/g9v7erJ3hlKcvMNgLIUmwjyfYy+wCeG4n031yOHlVbP0uQs?= =?iso-8859-1?Q?HBoc1vQDqnbyUOrTCFjoS7fn7MMGvICIz8wu0IwuDTQDRS8aRs4GR2I9HK?= =?iso-8859-1?Q?IGeTpC0AXN2G1fjNtCw9R2ObN6dtLxJS9lyp4W4cEzEsl2tzNtwWdESo0W?= =?iso-8859-1?Q?Xthl4aGlji6Y0YPzPFDwNYNqllKRmlp2vgQ7qOQSz+eBDF36SvsXoo6n+M?= =?iso-8859-1?Q?GlMm2BJQkATaOMlQDitu7IJPja4d8kHTX3vN95Vev9tvzSX9WJ0hUrgkSP?= =?iso-8859-1?Q?o/yc2xenIp+/Pclg/mf2rRgbfgu4GIDbZJrfpxoRim6VuG72cK0p1xN7qm?= =?iso-8859-1?Q?egjJQVJvmgB6mxOe47g6XzBjjgLrUVyc0u48xLq3CTlyHZMpzTNqne9shk?= =?iso-8859-1?Q?vABljLgUu803rgNoi+jDUVaGJGuKWe2GNgdTOWie0nqrhSjfQ4yU0DNMZI?= =?iso-8859-1?Q?9wEelisxDyKGOh++UWPjjw+/W8roAwirdcNQRXEkStbvHKzurDof4ElCA7?= =?iso-8859-1?Q?BYtXDUJzMn0303SgTKWdp20L924w+5AJVr47wzFbo/QaTINOozmUvS4u5T?= =?iso-8859-1?Q?Rwaq3+Kqw1dmEWgHb76AgJYxX9Ol7da8xD20tgWn/2WWa5FCXiPCK2mjST?= =?iso-8859-1?Q?707JBzCfsuCEmy79SSPwOWfYw4Z+AWL1SCFV8UUuagcPkN4+pct3hwdSyD?= =?iso-8859-1?Q?txKVz1GwezF9Zrmws71SjnVN+qkueI5MOTd6ttOG0b+U03EyzpxC1CZPHD?= =?iso-8859-1?Q?kG6vjFTewy2Ktt5Rz08CXydFBtFXWg6bjrzLiIbM54Ix2lIC4AT4CP0/hi?= =?iso-8859-1?Q?lqtifmWGibllwbMIFYOYrEfwtt1X7LYD9uSlAEcrD0aKhnXeozC71meJEW?= =?iso-8859-1?Q?VwxDDZ5zfOmpbjzkKJe2qYP+RbMnQlwkFawTv1Zp9pW4OT9oK0J+XMCDbG?= =?iso-8859-1?Q?BvO6gY+iWDrvA1iw3g3VGZlam32b+KPElNDHPe0m49Ku8c+OhZ32ol85YQ?= =?iso-8859-1?Q?zRGtDm3cNzSTyD58GR8E8agIZtlOP4stZvhlYBN0Olk7ulS49ZBeejEULm?= =?iso-8859-1?Q?srz0vP8HnY6MtJFeLOBNwo39ZdqRIKF7P15TBDAHuLwIB5p9wylo4Uhulv?= =?iso-8859-1?Q?fiqq+lASbYUMB6y5VfU7zA6OHHqUXa3ldu6kJol8TgY3vZD2DySzdLr/MW?= =?iso-8859-1?Q?au/BfGeUOZBqf6wiPG71hrsai2LDQj9hyprk5dsmlBlzGabnCrA2WOMwIC?= =?iso-8859-1?Q?T0fgzZnWHPp0juiGoZ90FHhDmzBbvWg0fVSdHT2sXTLPZpzvqd9MQcLCus?= =?iso-8859-1?Q?p26nu/JGJxfnRDSoGmiU0wYKQaq8TpPAPVXYlTocIUnNYTu/kM8sZ2IgOa?= =?iso-8859-1?Q?pfIqPnHsDDCXV73BzNwFFZuJatkZalY3Ophk8Rfq1SS5yRBnHYvqUspyDL?= =?iso-8859-1?Q?NmStNnsElpdTRcNb/u2LfHh9NvUeaSC+1o9CpLwYx4f6r2jb5ULpyMl3Qd?= =?iso-8859-1?Q?cLU27DyBhAbtbawHkHIZKpvekuDytlIJ84w9Bej1qQC7H10TpbauQkNufS?= =?iso-8859-1?Q?K0a5Bu3RlC1H93OzA5I57ibkeEfUsfQBhkiFTZ1SsQptqwmUHwBtBPRY37?= =?iso-8859-1?Q?mSCJC4/NDe3HIOnKsWM5g6LgRLMbaP3V2dvBHS0xgAT/YyI9vuPullpWCE?= =?iso-8859-1?Q?pRNGeH7TURBzZhMTaSNwljC1TkyIewEDNjXHmrYz2rd6sTgNAh06MmmVmW?= =?iso-8859-1?Q?q9b4oJhasFxkcEJfHxJ/6c4qFRSO8EWLteqebNHOhjQUsd?= 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: Zsi61IQoMdz37fqWu35ucVBYeKQ7dcERLI0HeIjEOipSfij6lnW4ecrqVJH3onD7MCpVe+exPF8hG0DLC1rbr3xIHYEiUQzfgGeRzpoEU1eK5LA0FOKh8ypLkFgazvHjLeROZmv57LLUs38OG2xHVOncLu2WEyySmawWZ1pVPk3g3rvZrOrbmsPXDJfgpr+eZSaAV3KQSET3c4g2qSGZni9jh8JPWPizePeUW7VuUKBK55XYSrIVtk7iR9TFcuXLj9AEX7Qer9qeQe3p2H4SHnsUbKjxeFOE4CDkj4DQ2RA4rCV9xvPSXJ1X6Xm4lKTrMLuvqTu8a+pCllozy3dMcA== 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: 678ccc2f-2850-4ade-2927-08df50060d5b X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2026 23:51:41.8297 (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: kEkq5tjktCZ9/HyRz5xO7xOzvWkYzJeQnIo7l4jukelooD8EtEtITMkBin791oj74DZkoiVVvr+otH4iPbCVTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR20MB5775 X-MDID: 1796169117-WD5snryW_oXp X-PPE-STACK: {"stack":"us1"} X-MDID-O: us1;at1;1796169117;WD5snryW_oXp;;5de2396b9b83917d02f0372d9ae54394 X-PPE-TRUSTED: V=1;DIR=OUT; On Tue, 24 Nov 2026 00:40:50 +0000, netdev-bot+sashiko@kernel.org wrote:=0A= =0A= > > + "PLL%c: Fref * DIVN =3D %llu Hz is outside its VCO band\n",=0A= > > + 'A' + pll_idx, *fvco);=0A= > > + }=0A= > > +=0A= > > + return 0;=0A= > > +}=0A= >=0A= > [Severity: Medium]=0A= > If Fref * DIVN is above the low-band minimum but outside this PLL's own= =0A= > band, sit9531x_get_fvco() warns once and still returns 0. The comment=0A= > above says such a value is usually not the rate the PLL runs at.=0A= >=0A= > For that PLL, sit9531x_output_freq_get() then reports and caches=0A= > div64_u64(fvco, divo). sit9531x_output_divo_calc() rejects the same=0A= > Fvco:=0A= >=0A= > if (!sit9531x_fvco_in_band(pll_idx, fvco)) {=0A= > dev_dbg(sitdev->dev,=0A= > "out%u: PLL%c Fvco %llu Hz is outside its VCO band, rate not settable\= n",=0A= > ...=0A= > return -EINVAL;=0A= > }=0A= >=0A= > So would a cascaded PLL report a nonzero DPLL_A_PIN_FREQUENCY that the=0A= > driver itself treats as wrong?=0A= >=0A= > The commit message says "An output whose divider chain does not resolve= =0A= > reports 0 Hz". Should sit9531x_output_freq_get() apply the same band=0A= > check and return -ENODATA?=0A= >=0A= > The later patch "dpll: sit9531x: add support to adjust output phase"=0A= > adds the comment "Fref * DIVN outside the VCO band is not the rate the=0A= > PLL runs at" in sit9531x_output_phase_adjust_set(). Even so,=0A= > sit9531x_output_freq_get() still has no band check at the end of the=0A= > series.=0A= =0A= No. In v17 sit9531x_get_fvco() returns -ENODATA for a product outside=0A= the PLL's VCO band; the getter reports 0 Hz and the setter refuses the=0A= rate.=0A= =0A= > > + ctrl | SIT9531X_DIVO_PHASE_TRIG);=0A= > > +=0A= > > +restore:=0A= > > + ret =3D sit9531x_write_u8(sitdev, SIT9531X_REG_GPIO_FUNC_CTRL1, orig)= ;=0A= > > + if (ret && !rc)=0A= > > + rc =3D ret;=0A= >=0A= > [Severity: Medium]=0A= > regs.h describes the flush as "DIVO_PHASE_SEL_REG selects the register=0A= > trigger; pulsing DIVO_PHASE_TRIG high then low flushes".=0A= >=0A= > Here, the final write of orig clears DIVO_PHASE_TRIG and restores=0A= > DIVO_PHASE_SEL_REG in the same transfer. Suppose the profile had the pin= =0A= > trigger selected, so SEL_REG is clear in orig. Then the register=0A= > trigger's high-to-low transition happens at the same moment the mux=0A= > switches back to the external pin.=0A= >=0A= > If the flush acts on the falling edge, can the flush be missed while=0A= > sit9531x_output_freq_set() still reports success? Would it help to write= =0A= > ctrl (SEL_REG set, TRIG clear) before restoring orig?=0A= >=0A= > The same ordering is still there at the end of the series in=0A= > sit9531x_phase_flush_undo(), which writes the original ctrl straight=0A= > after the TRIG-high write.=0A= =0A= v17 lowers the trigger with the register select still set and restores=0A= the select in a separate write after it, the order of the reference=0A= sequence.=0A= =0A= > > + sitdev->out[out_idx].freq =3D 0;=0A= > > + return rc;=0A= > > + }=0A= > > +=0A= > > + *frequency =3D div64_u64(fvco, divo);=0A= > > + sitdev->out[out_idx].freq =3D *frequency;=0A= >=0A= > [Severity: Medium]=0A= > Suppose the UPDATE_NVM write fails here but one of the LOOP_LOCK=0A= > attempts that follow succeeds. sitdev->loops_open then ends up false,=0A= > and nothing records that the bank update was never issued. Neither the=0A= > retry in sit9531x_dev_chan_states_update() nor the one in=0A= > sit9531x_dev_stop() will run, since both key on loops_open.=0A= >=0A= > sit9531x_output_freq_set() returns the error, but the five DIVO bytes=0A= > from sit9531x_output_divo_write() stay in the registers. The back flag=0A= > that sit9531x_output_divo_write() fills in is never checked.=0A= >=0A= > On that error, sit9531x_dpll_output_pin_frequency_set() calls=0A= > sit9531x_output_freq_get(). That reads the new DIVO bytes back through=0A= > sit9531x_output_divo_read() and caches Fvco / DIVO in=0A= > sitdev->out[].freq. If the result differs from the old value, the=0A= > setter then sends __dpll_pin_change_ntf().=0A= >=0A= > If the divider only takes effect once UPDATE_NVM is written, user space= =0A= > gets an error together with a notification for a rate the part is not=0A= > running. The cached freq follows the uncommitted register contents=0A= > rather than the hardware.=0A= >=0A= > Should a failed UPDATE_NVM be tracked as pending and retried by the=0A= > poll worker? Or should sit9531x_output_freq_set() restore the old DIVO=0A= > bytes before it closes the programming state?=0A= >=0A= > At the end of the series the retry path is sit9531x_prg_relock(), which= =0A= > does not repeat the bank update either.=0A= =0A= v17 records a failed bank update and issues it again from the poll and=0A= at removal, inside the programming sequence, so the divider the error=0A= path reads back is the one the retry commits.=0A= =0A= > [Severity: Medium]=0A= > Can this value fall outside the range the pin advertises? For an output= =0A= > without supported-frequencies-hz, sit9531x_pin_props_get() advertises:=0A= >=0A= > ranges[j].min =3D 1;=0A= > ranges[j].max =3D 1000000000ULL; /* 1 GHz */=0A= >=0A= > Fvco is at least SIT9531X_FVCO_LOWBAND_MIN (4.9152 GHz). A profile with= =0A= > DIVO of 4 or less therefore gives a reported frequency above 1 GHz. When= =0A= > there is a DT list, the truncated Fvco / DIVO also need not match any=0A= > listed value.=0A= >=0A= > dpll_pin_freq_set() in the core calls dpll_pin_is_freq_supported() before= =0A= > its freq =3D=3D old_freq shortcut. Writing back the value just read would= =0A= > then fail with "frequency is not supported by the device". Is that=0A= > intended?=0A= >=0A= > The 1 GHz cap is unchanged at the end of the series.=0A= =0A= It could in v16. In v17 an output without a list advertises the=0A= datasheet rates, the setter accepts up to 2949.12 MHz and 250 MHz on an=0A= LVCMOS output, and the getter rounds to the nearest hertz.=0A= =0A= > > =0A= > > + /* Retry pending writes first so the reads below see their result */= =0A= > > + if (sitdev->loops_open)=0A= > > + sit9531x_prg_commit(sitdev);=0A= > > +=0A= > > sit9531x_input_off_retry(sitdev);=0A= >=0A= > [Severity: Medium]=0A= > Does this retry run with the Page 3 debug key locked?=0A= >=0A= > When every LOOP_LOCK attempt fails, sit9531x_prg_commit() sets=0A= > loops_open but still relocks the key at the end:=0A= >=0A= > sitdev->loops_open =3D !!rc2;=0A= >=0A= > msleep(100);=0A= > ...=0A= > rc3 =3D sit9531x_write_close(sitdev, SIT9531X_REG_OUTSYS_DEBUG,=0A= > SIT9531X_DEBUG_LOCK_VAL);=0A= >=0A= > This retry calls sit9531x_prg_commit() directly, and so does the one in= =0A= > sit9531x_dev_stop(). Neither does the unlock that sit9531x_prg_enter()=0A= > performs before every other PRG_DIR_GEN write:=0A= >=0A= > rc =3D sit9531x_write_u8(sitdev, SIT9531X_REG_OUTSYS_DEBUG,=0A= > SIT9531X_DEBUG_UNLOCK_VAL);=0A= >=0A= > If PRG_DIR_GEN commands only take effect while the key is unlocked, the= =0A= > LOOP_LOCK write would be ACKed but have no effect, and loops_open would= =0A= > be cleared anyway. sit9531x_dev_stop() would then skip its "output loops= =0A= > left unlocked at removal" warning, and later readers of loops_open would= =0A= > treat the loops as closed.=0A= >=0A= > This retry also sends UPDATE_NVM again, outside the PRG_CMD sequence.=0A= >=0A= > The later patch "dpll: sit9531x: implement output pin state on a DPLL"=0A= > changes the retry to sit9531x_prg_relock(), which drops the UPDATE_NVM.= =0A= > It still writes LOOP_LOCK without opening the debug window, though.=0A= =0A= It did in v16. In v17 the retry opens the output-system debug key before=0A= the loop lock, as the first attempt does, and with a bank update pending=0A= it enters the programming sequence first.=0A= =0A= > > struct regmap *regmap;=0A= > > const struct sit9531x_chip_info *info;=0A= > > - /* Serializes multi-step register sequences */=0A= > > struct mutex multiop_lock;=0A= > > - /* Serializes a page select and the transfer it is for */=0A= > > struct mutex page_lock;=0A= >=0A= > [Severity: Low]=0A= > This isn't a bug, but removing these two comments looks unrelated to=0A= > frequency get/set, and the commit message doesn't mention it.=0A= >=0A= > The block comment above the struct is not kernel-doc, so checkpatch=0A= > --strict will report "struct mutex definition without comment" for both= =0A= > locks. The comments are still missing at the end of the series.=0A= =0A= Agreed. v17 leaves both comments in place.=0A=