From: Jacob Keller <jacob.e.keller@intel.com>
To: "Vecera, Ivan" <ivecera@redhat.com>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next 14/15] ice: dpll: fix rclk pin state get and misplaced header macros
Date: Mon, 4 May 2026 15:39:21 -0700 [thread overview]
Message-ID: <97261b38-3251-4b13-a106-67e4b4ecc8c8@intel.com> (raw)
In-Reply-To: <20260430-jk-iwl-net-next-2026-04-30-v1-14-6f27ae1cd073@intel.com>
On 4/30/2026 11:37 PM, Jacob Keller wrote:
> From: Ivan Vecera <ivecera@redhat.com>
>
> Fix two issues introduced in commit ad1df4f2d591 ("ice: dpll: Support
> E825-C SyncE and dynamic pin discovery"):
>
> * The refactoring of ice_dpll_rclk_state_on_pin_get() to use
> ice_dpll_pin_get_parent_idx() omitted the base_rclk_idx adjustment
> that was correctly added in the ice_dpll_rclk_state_on_pin_set() path.
> This breaks E810 devices where base_rclk_idx is non-zero, causing
> the wrong hardware index to be used for pin state lookup and incorrect
> recovered clock state to be reported via the DPLL subsystem. E825C is
> unaffected as its base_rclk_idx is 0.
>
> * Add bounds check against ICE_DPLL_RCLK_NUM_MAX on hw_idx after the
> base_rclk_idx subtraction in both ice_dpll_rclk_state_on_pin_{get,set}()
> to prevent out-of-bounds access on the pin state array.
>
> * The CGU register definitions (ICE_CGU_R10, ICE_CGU_R11 and related field
> masks) were placed after the #endif of the _ICE_DPLL_H_ include guard,
> leaving them unprotected. Move them inside the guard.
>
> Fixes: ad1df4f2d591 ("ice: dpll: Support E825-C SyncE and dynamic pin discovery")
> Signed-off-by: Ivan Vecera <ivecera@redhat.com>
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
> ---
Ivan,
Unless you have any objections I will go ahead and rebase this ontop of
net and submit it in my next round of fixes. I might split the changes
to have the CGU register definitions change in a separate patch since it
conceptually isn't the same issue as the other two.
Thanks,
Jake
next prev parent reply other threads:[~2026-05-04 22:39 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-01 6:37 [PATCH net-next 00/15] Intel Wired LAN Updates 2024-04-30 (ixgbe, i40e, ice) Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 01/15] ixgbe: E610: add discovering EEE capability Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 02/15] ixgbe: E610: update EEE supported speeds Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 03/15] ixgbe: E610: use new version of 0x601 ACI command buffer Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 04/15] ixgbe: E610: update ACI command structs with EEE fields Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 05/15] ixgbe: move EEE config validation out of ixgbe_set_eee() Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 06/15] ixgbe: E610: add EEE support Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 07/15] ixgbe: E610: add ACI dynamic debug Jacob Keller
2026-05-03 2:06 ` Jakub Kicinski
2026-05-04 22:33 ` Jacob Keller
2026-05-05 6:11 ` Kwapulinski, Piotr
2026-05-01 6:37 ` [PATCH net-next 08/15] ixgbe: E610: remove redundant assignment Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 09/15] ixgbe: fix unaligned u32 access in ixgbe_update_flash_X550() Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 10/15] i40e: only timestamp PTP event packets Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 11/15] ice: mention fw_activate action along with devlink reload Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 12/15] ice: access @pp through netmem_desc instead of page Jacob Keller
2026-05-04 9:48 ` Loktionov, Aleksandr
2026-05-01 6:37 ` [PATCH net-next 13/15] ice: dpll: Fix compilation warning Jacob Keller
2026-05-01 6:37 ` [PATCH net-next 14/15] ice: dpll: fix rclk pin state get and misplaced header macros Jacob Keller
2026-05-03 2:09 ` Jakub Kicinski
2026-05-04 18:38 ` Keller, Jacob E
2026-05-05 8:33 ` Ivan Vecera
2026-05-05 22:38 ` Jacob Keller
2026-05-04 22:39 ` Jacob Keller [this message]
2026-05-05 8:35 ` Ivan Vecera
2026-05-01 6:37 ` [PATCH net-next 15/15] ice: add support for unmanaged DPLL on E830 NIC Jacob Keller
2026-05-03 2:09 ` Jakub Kicinski
2026-05-03 2:20 ` [PATCH net-next 00/15] Intel Wired LAN Updates 2024-04-30 (ixgbe, i40e, ice) patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97261b38-3251-4b13-a106-67e4b4ecc8c8@intel.com \
--to=jacob.e.keller@intel.com \
--cc=ivecera@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox