From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796376600; b=w/eoPgBqprUfybtZMZuOZR+IMeSZeZP2P++VZ5F572+OQSWHoCEKtqRs28gsREoaRopb FGbyyWq4vySANMfmNVGzfHd/J+sif0OPwknZr+D5BF9eWarfsuY6vUAYFHpPJ6apTkfjT sU5GlJPfoIf6yE57Aiyj9BB2gwKrk5nnX67WINhH6zdnWXBJqcUB64vrKvO3xlMaPcSuz /W3At0QNNUmCdTjWYmx6nJC/XJD4nyY1BHCuwyS9lHaSiIR1pfldov4UNr+WTsauk8EAE RJcus4JqWISmUDWLxR5rDOs33FTkFi5cBPAyzxC7NCCE5VuPQtJNZ24vyrRvqOxT9KQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796376600; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:From:To:Cc:Subject:Date: Message-ID:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Scanned-By; bh=rAcd33x2KDykcImPHGw6rR9FIsYwxC79DhTIPaZzqEU=; b=Kg/P5zCEy1d+y5FkvdZ+WSGZPZqyqd8sRpWqDkd215+SfWl9+2UqHcjAa3yDKOVcDVJS TD31b7DWKBvJ24f91bRQZHcdy13CaUfdqM4BzaYv5oybpUDQxmJph2oAA8sKBf7YabQaZ Tdyddccev1wBAczWdrwW9zP16sY2Ms9H2pGZ6UYGDHK/CnnK3r0KHGoJ82oa5tuzkl2D0 84jwTduZzqXKlPsRc32Dye+4sgGUyAF4q/VU75438XhfF8bNndfRK1n0s1AaPuHzvxSvc RrKh/iYG/UJ1ZgZcYuj+z0rnXofnMz9zXXI964sm/bix1E9wd25RT+lx8RXxot0kqnw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=jVgiImZS; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 340BE606A32C for ; Fri, 4 Dec 2026 09:30:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 340BE606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=jVgiImZS DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796376600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rAcd33x2KDykcImPHGw6rR9FIsYwxC79DhTIPaZzqEU=; b=jVgiImZSAuz8fQyontEeWlmnyk+I/IRAbIeZLz9Dyy842sHzNG4oX5d9EB3BOTv+rQqG6D n1Apf8L3a5S+Rn3xpmsMWUDCegp+OJ4Irs5ulYujDLKjoFYWCA5HdbFynKia7Kxu5EH/5z xlEJnheWQwT084FBKTGkz5DKsjzBlKQ= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-591-U7QDla5fMf2RVHq26L4Xjg-1; Fri, 4 Dec 2026 09:29:55 +0000 X-MC-Unique: U7QDla5fMf2RVHq26L4Xjg-1 X-Mimecast-MFC-AGG-ID: U7QDla5fMf2RVHq26L4Xjg_1796376593 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6EEB218FDFED; Fri, 4 Dec 2026 09:29:53 +0000 (UTC) Received: from poros-thinkpadp16vgen1.tpbc.com (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id ED4E13003E8D; Fri, 4 Dec 2026 09:29:47 +0000 (UTC) From: Petr Oros To: netdev-bot+sashiko@kernel.org Cc: Petr Oros , netdev@vger.kernel.org, Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Arkadiusz Kubalewski , Alexander Nowlin , intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v2 1/2] ice: fix DPLL registration on boards without the SMA clock mux Date: Fri, 4 Dec 2026 10:29:41 +0100 Message-ID: <20261204092943.3830090-1-poros@redhat.com> In-Reply-To: <179633228142.3146.7257777743538378508@kernel.org> References: <20261202211046.3007751-2-poros@redhat.com> <179633228142.3146.7257777743538378508@kernel.org> 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 > Does ICE_F_SMA_CTRL guarantee that ice_read_sma_ctrl() will find the > PCA9575 expander here? No, and the patch does not need it to. It removes a dependency instead of adding one. Before the patch ice_dpll_init_info_sw_pins() called ice_read_sma_ctrl() unconditionally, so every board where ice_get_pca9575_handle() fails lost the whole DPLL registration. That is the bug being fixed. After the patch the read happens only when the netlist advertises a clock mux, so the set of boards that can still reach -ENXIO is a strict subset of the ones that hit it today. Nothing regresses. What remains needs firmware that reports a GEN_CLK_MUX node while no PCA9575 answers at the GPIO_CTRL index the lookup uses, or a BACKPLANE/XXV device reporting a clock mux at all. On the E810 timing boards the PCA9575 is what drives that mux and both netlist nodes come together. Such a board is equally broken today, so it deserves its own fix with a reporter and hardware to test on rather than a speculative change in a stable backport. > Should both helpers also check !hidden, as the register and unregister > helpers already do? They could, but it changes nothing. The hidden pins are never registered, dpll_pin_event_send() returns -ENODEV and no netlink message is generated. ice_dpll_pin_ntf() already notifies the hidden CGU inputs behind the SMA wrappers, so tightening both helpers is a net-next cleanup rather than part of this fix. Regards, Petr