[Intel-wired-lan] [PATCH v2 iwl-net 4/4] ice: Add correct PHY lane assignment

2024-10-10 Thread Karol Kolacinski
t PTP init for 2x50G E825C devices") Reviewed-by: Przemek Kitszel Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 40 + drivers/net/ethernet/intel/ice/ice_common.h | 1 + drivers/net/ethernet/intel/ice/

[Intel-wired-lan] [PATCH v2 iwl-net 2/4] ice: Fix quad registers read on E825

2024-10-10 Thread Karol Kolacinski
based on port. Rename rmn_0 to phy_0 and remove rmn_1 and rmn_2 as E82X HW does not support it. Rename eth56g_phy_1 to phy_0_peer. Fixes: 7cab44f1c35f ("ice: Introduce ETH56G PHY model for E825C products") Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- V1 -> V

[Intel-wired-lan] [PATCH v2 iwl-net 3/4] ice: Fix ETH56G FC-FEC Rx offset value

2024-10-10 Thread Karol Kolacinski
) Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_ptp_consts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_ptp_consts.h b/drivers/net/ethernet/intel/ice/ice_ptp_consts.h index e6

[Intel-wired-lan] [PATCH v2 iwl-net 1/4] ice: Fix E825 initialization

2024-10-10 Thread Karol Kolacinski
ned-off-by: Karol Kolacinski --- V1 -> V2: Removed net-next hunks drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 22 - drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 3 ++- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_ptp_hw

[Intel-wired-lan] [PATCH v2 iwl-net 0/4] Fix E825 initialization

2024-10-10 Thread Karol Kolacinski
addition, E825 uses PF ID for indexing per PF registers and as a primary PHY lane number, which is incorrect. Karol Kolacinski (4): ice: Fix E825 initialization ice: Fix quad registers read on E825 ice: Fix ETH56G FC-FEC Rx offset value ice: Add correct PHY lane assignment drivers/net

[Intel-wired-lan] [PATCH v2 iwl-next 4/4] ice: Add correct PHY lane assignment

2024-10-09 Thread Karol Kolacinski
t PTP init for 2x50G E825C devices") Reviewed-by: Przemek Kitszel Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 40 + drivers/net/ethernet/intel/ice/ice_common.h | 1 + drivers/net/ethernet/intel/ice/

[Intel-wired-lan] [PATCH v2 iwl-next 3/4] ice: Fix ETH56G FC-FEC Rx offset value

2024-10-09 Thread Karol Kolacinski
) Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_ptp_consts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_ptp_consts.h b/drivers/net/ethernet/intel/ice/ice_ptp_consts.h index e6

[Intel-wired-lan] [PATCH v2 iwl-next 2/4] ice: Fix quad registers read on E825

2024-10-09 Thread Karol Kolacinski
based on port. Rename rmn_0 to phy_0 and remove rmn_1 and rmn_2 as E82X HW does not support it. Rename eth56g_phy_1 to phy_0_peer. Fixes: 7cab44f1c35f ("ice: Introduce ETH56G PHY model for E825C products") Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- V1 -> V

[Intel-wired-lan] [PATCH v2 iwl-next 1/4] ice: Fix E825 initialization

2024-10-09 Thread Karol Kolacinski
ned-off-by: Karol Kolacinski --- V1 -> V2: Removed net-next hunks drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 22 - drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 3 ++- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_ptp_hw

[Intel-wired-lan] [PATCH v2 iwl-next 0/4] Fix E825 initialization

2024-10-09 Thread Karol Kolacinski
addition, E825 uses PF ID for indexing per PF registers and as a primary PHY lane number, which is incorrect. Karol Kolacinski (4): ice: Fix E825 initialization ice: Fix quad registers read on E825 ice: Fix ETH56G FC-FEC Rx offset value ice: Add correct PHY lane assignment drivers/net

Re: [Intel-wired-lan] [PATCH v2 iwl-next] ice: Add in/out PTP pin delays

2024-10-09 Thread Kolacinski, Karol
On 08 October 2024 13:46, Paul Menzel wrote: > Am 08.10.24 um 13:05 schrieb Karol Kolacinski: >> HW can have different input/output delays for each of the pins. >> Add a field in ice_ptp_pin_desc structure to reflect that. > > What is the current status, that means before y

[Intel-wired-lan] [PATCH v2 iwl-next] ice: Add in/out PTP pin delays

2024-10-08 Thread Karol Kolacinski
-by: Karol Kolacinski --- V1 -> V2: removed duplicate gpio_pin variable and restored missing ICE_E810_E830_SYNC_DELAY drivers/net/ethernet/intel/ice/ice_ptp.c | 82 +++ drivers/net/ethernet/intel/ice/ice_ptp.h | 2 + .../net/ethernet/intel/ice/ice_ptp_const

[Intel-wired-lan] [PATCH iwl-next] ice: Add in/out PTP pin delays

2024-10-03 Thread Karol Kolacinski
-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_ptp.c | 81 +++ drivers/net/ethernet/intel/ice/ice_ptp.h | 2 + .../net/ethernet/intel/ice/ice_ptp_consts.h | 12 --- drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 24 -- 4 files changed, 49 insertions

[Intel-wired-lan] [PATCH v12 iwl-next 7/7] ice: Implement PTP support for E830 devices

2024-09-30 Thread Karol Kolacinski
-by: Milena Olech Co-developed-by: Paul Greenwalt Signed-off-by: Paul Greenwalt Signed-off-by: Michal Michalik Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V11 -> V12: Fixed missing E830 case in ice_get_base_incval() V10 -> V11: Fixed adjustments not working on E

[Intel-wired-lan] [PATCH v12 iwl-next 3/7] ice: Use FIELD_PREP for timestamp values

2024-09-30 Thread Karol Kolacinski
Instead of using shifts and casts, use FIELD_PREP after reading 40b timestamp values. Reviewed-by: Simon Horman Signed-off-by: Karol Kolacinski --- V5 -> V6: Replaced removed macros with the new ones drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 9 ++--- drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v12 iwl-next 6/7] ice: Refactor ice_ptp_init_tx_*

2024-09-30 Thread Karol Kolacinski
Unify ice_ptp_init_tx_* functions for most of the MAC types except E82X. This simplifies the code for the future use with new MAC types. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Renamed the patch and reworded the commit message drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v12 iwl-next 4/7] ice: Process TSYN IRQ in a separate function

2024-09-30 Thread Karol Kolacinski
iewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 timestamp handling to "ice: Implement PTP support for E830 devices" drivers/net/ethernet/intel/ice/ice_main.c | 18 + drivers/net/ethernet/intel/ice/ice_ptp.c | 49 ++

[Intel-wired-lan] [PATCH v12 iwl-next 5/7] ice: Add unified ice_capture_crosststamp

2024-09-30 Thread Karol Kolacinski
Reviewed-by: Przemek Kitszel Signed-off-by: Jacob Keller Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 cross timestamp handling to "ice: Implement PTP support for E830 devices" and explained the rest of previous changes in the commit description V4 -&g

[Intel-wired-lan] [PATCH v12 iwl-next 2/7] ice: Remove unncecessary ice_is_e8xx() functions

2024-09-30 Thread Karol Kolacinski
nally, because all further function calls check the MAC type anyway and this allows simpler code in the future with addition of the new MAC types. Reorder ICE_MAC_* cases in switches in ice_ptp* as in enum ice_mac_type. Signed-off-by: Karol Kolacinski --- V9 -> V10: Fixed E825C MAC cond

[Intel-wired-lan] [PATCH v12 iwl-next 1/7] ice: Don't check device type when checking GNSS presence

2024-09-30 Thread Karol Kolacinski
ce_id first, then set other variables. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 90 drivers/net/ethernet/intel/ice/ice_common.h | 2 + drivers/net/ethernet/intel/ice/ice_gnss.c | 29 +++ drivers/net/ethernet/intel/ice/ice_gnss.h

[Intel-wired-lan] [PATCH v12 iwl-next 0/7] ice: Implement PTP support for E830 devices

2024-09-30 Thread Karol Kolacinski
. Jacob Keller (1): ice: Add unified ice_capture_crosststamp Karol Kolacinski (5): ice: Don't check device type when checking GNSS presence ice: Remove unncecessary ice_is_e8xx() functions ice: Use FIELD_PREP for timestamp values ice: Process TSYN IRQ in a separate function ice: Ref

[Intel-wired-lan] [PATCH iwl-net 5/5] ice: Add correct PHY lane assignment

2024-09-30 Thread Karol Kolacinski
t PTP init for 2x50G E825C devices") Reviewed-by: Przemek Kitszel Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 40 + drivers/net/ethernet/intel/ice/ice_common.h | 1 + drivers/net/ethernet/intel/ice/

[Intel-wired-lan] [PATCH iwl-net 4/5] ice: Remove unnecessary offset calculation for PF scoped registers

2024-09-30 Thread Karol Kolacinski
uot;) Fixes: 03cb4473be92 ("ice: add low level PTP clock access functions") Fixes: 13a64f0b9894 ("ice: support crosstimestamping on E822 devices if supported") Reviewed-by: Przemek Kitszel Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Jacob Keller Signed-off-by: Karol Ko

[Intel-wired-lan] [PATCH iwl-net 3/5] ice: Fix ETH56G FC-FEC Rx offset value

2024-09-30 Thread Karol Kolacinski
) Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_ptp_consts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_ptp_consts.h b/drivers/net/ethernet/intel/ice/ice_ptp_consts.h index e6

[Intel-wired-lan] [PATCH iwl-net 1/5] ice: Fix E825 initialization

2024-09-30 Thread Karol Kolacinski
PF_SB_REM_DEV_CTL modification. Configure synchronization delay for E825 product to ensure proper PHY timers initialization on SYNC command. Fixes: 7cab44f1c35f ("ice: Introduce ETH56G PHY model for E825C products") Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- d

[Intel-wired-lan] [PATCH iwl-net 2/5] ice: Fix quad registers read on E825

2024-09-30 Thread Karol Kolacinski
based on port. Rename rmn_0 to phy_0 and remove rmn_1 and rmn_2 as E82X HW does not support it. Rename eth56g_phy_1 to phy_0_peer. Fixes: 7cab44f1c35f ("ice: Introduce ETH56G PHY model for E825C products") Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- drivers/ne

[Intel-wired-lan] [PATCH iwl-net 0/5] Fix E825 initialization

2024-09-30 Thread Karol Kolacinski
addition, E825 uses PF ID for indexing per PF registers and as a primary PHY lane number, which is incorrect. Jacob Keller (1): ice: Remove unnecessary offset calculation for PF scoped registers Karol Kolacinski (4): ice: Fix E825 initialization ice: Fix quad registers read on E825 ice: Fix

[Intel-wired-lan] [PATCH v11 iwl-next 7/7] ice: Implement PTP support for E830 devices

2024-09-18 Thread Karol Kolacinski
-by: Milena Olech Co-developed-by: Paul Greenwalt Signed-off-by: Paul Greenwalt Signed-off-by: Michal Michalik Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V10 -> V11: Fixed adjustments not working on E830 V9 -> V10: Removed ICE_FLAG_PTP_SUPPORTED check for E830,

[Intel-wired-lan] [PATCH v11 iwl-next 6/7] ice: Refactor ice_ptp_init_tx_*

2024-09-18 Thread Karol Kolacinski
Unify ice_ptp_init_tx_* functions for most of the MAC types except E82X. This simplifies the code for the future use with new MAC types. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Renamed the patch and reworded the commit message drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v11 iwl-next 5/7] ice: Add unified ice_capture_crosststamp

2024-09-18 Thread Karol Kolacinski
Reviewed-by: Przemek Kitszel Signed-off-by: Jacob Keller Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 cross timestamp handling to "ice: Implement PTP support for E830 devices" and explained the rest of previous changes in the commit description V4 -&g

[Intel-wired-lan] [PATCH v11 iwl-next 4/7] ice: Process TSYN IRQ in a separate function

2024-09-18 Thread Karol Kolacinski
iewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 timestamp handling to "ice: Implement PTP support for E830 devices" drivers/net/ethernet/intel/ice/ice_main.c | 18 + drivers/net/ethernet/intel/ice/ice_ptp.c | 49 ++

[Intel-wired-lan] [PATCH v11 iwl-next 3/7] ice: Use FIELD_PREP for timestamp values

2024-09-18 Thread Karol Kolacinski
Instead of using shifts and casts, use FIELD_PREP after reading 40b timestamp values. Reviewed-by: Simon Horman Signed-off-by: Karol Kolacinski --- V5 -> V6: Replaced removed macros with the new ones drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 9 ++--- drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v11 iwl-next 0/7] ice: Implement PTP support for E830 devices

2024-09-18 Thread Karol Kolacinski
. Jacob Keller (1): ice: Add unified ice_capture_crosststamp Karol Kolacinski (5): ice: Don't check device type when checking GNSS presence ice: Remove unncecessary ice_is_e8xx() functions ice: Use FIELD_PREP for timestamp values ice: Process TSYN IRQ in a separate function ice: Ref

[Intel-wired-lan] [PATCH v11 iwl-next 2/7] ice: Remove unncecessary ice_is_e8xx() functions

2024-09-18 Thread Karol Kolacinski
nally, because all further function calls check the MAC type anyway and this allows simpler code in the future with addition of the new MAC types. Reorder ICE_MAC_* cases in switches in ice_ptp* as in enum ice_mac_type. Signed-off-by: Karol Kolacinski --- V9 -> V10: Fixed E825C MAC cond

[Intel-wired-lan] [PATCH v11 iwl-next 1/7] ice: Don't check device type when checking GNSS presence

2024-09-18 Thread Karol Kolacinski
ce_id first, then set other variables. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 90 drivers/net/ethernet/intel/ice/ice_common.h | 2 + drivers/net/ethernet/intel/ice/ice_gnss.c | 29 +++ drivers/net/ethernet/intel/ice/ice_gnss.h

[Intel-wired-lan] [PATCH v10 iwl-next 7/7] ice: Implement PTP support for E830 devices

2024-09-12 Thread Karol Kolacinski
-by: Milena Olech Co-developed-by: Paul Greenwalt Signed-off-by: Paul Greenwalt Signed-off-by: Michal Michalik Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V9 -> V10: Removed ICE_FLAG_PTP_SUPPORTED check for E830, which was disabling PTP only for E830 V7 -&

[Intel-wired-lan] [PATCH v10 iwl-next 6/7] ice: Refactor ice_ptp_init_tx_*

2024-09-12 Thread Karol Kolacinski
Unify ice_ptp_init_tx_* functions for most of the MAC types except E82X. This simplifies the code for the future use with new MAC types. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Renamed the patch and reworded the commit message drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v10 iwl-next 5/7] ice: Add unified ice_capture_crosststamp

2024-09-12 Thread Karol Kolacinski
Reviewed-by: Przemek Kitszel Signed-off-by: Jacob Keller Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 cross timestamp handling to "ice: Implement PTP support for E830 devices" and explained the rest of previous changes in the commit description V4 -&g

[Intel-wired-lan] [PATCH v10 iwl-next 4/7] ice: Process TSYN IRQ in a separate function

2024-09-12 Thread Karol Kolacinski
iewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 timestamp handling to "ice: Implement PTP support for E830 devices" drivers/net/ethernet/intel/ice/ice_main.c | 18 + drivers/net/ethernet/intel/ice/ice_ptp.c | 49 ++

[Intel-wired-lan] [PATCH v10 iwl-next 3/7] ice: Use FIELD_PREP for timestamp values

2024-09-12 Thread Karol Kolacinski
Instead of using shifts and casts, use FIELD_PREP after reading 40b timestamp values. Reviewed-by: Simon Horman Signed-off-by: Karol Kolacinski --- V5 -> V6: Replaced removed macros with the new ones drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 9 ++--- drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v10 iwl-next 2/7] ice: Remove unncecessary ice_is_e8xx() functions

2024-09-12 Thread Karol Kolacinski
nally, because all further function calls check the MAC type anyway and this allows simpler code in the future with addition of the new MAC types. Reorder ICE_MAC_* cases in switches in ice_ptp* as in enum ice_mac_type. Signed-off-by: Karol Kolacinski --- V9 -> V10: Fixed E825C MAC cond

[Intel-wired-lan] [PATCH v10 iwl-next 1/7] ice: Don't check device type when checking GNSS presence

2024-09-12 Thread Karol Kolacinski
ce_id first, then set other variables. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 90 drivers/net/ethernet/intel/ice/ice_common.h | 2 + drivers/net/ethernet/intel/ice/ice_gnss.c | 29 +++ drivers/net/ethernet/intel/ice/ice_gnss.h

[Intel-wired-lan] [PATCH v10 iwl-next 0/7] ice: Implement PTP support for E830 devices

2024-09-12 Thread Karol Kolacinski
. Jacob Keller (1): ice: Add unified ice_capture_crosststamp Karol Kolacinski (5): ice: Don't check device type when checking GNSS presence ice: Remove unncecessary ice_is_e8xx() functions ice: Use FIELD_PREP for timestamp values ice: Process TSYN IRQ in a separate function ice: Ref

[kwin] [Bug 489657] Certain fractional scaling levels cause mouse to stick at screen edge independent of edge barrier feature

2024-09-07 Thread Karol Bryd
https://bugs.kde.org/show_bug.cgi?id=489657 Karol Bryd changed: What|Removed |Added CC||karo...@gmail.com --- Comment #11 from Karol Bryd

[plasmashell] [Bug 489862] Cursor stuck at screen edge when moving from one screen to another (dual screen side by side)

2024-09-07 Thread Karol Bryd
https://bugs.kde.org/show_bug.cgi?id=489862 Karol Bryd changed: What|Removed |Added CC||karo...@gmail.com --- Comment #7 from Karol Bryd

[Intel-wired-lan] [PATCH v4 iwl-next 6/7] ice: Read SDP section from NVM for pin definitions

2024-08-30 Thread Karol Kolacinski
. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Yochai Hagvi Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski Reviewed-by: Simon Horman --- .../net/ethernet/intel/ice/ice_adminq_cmd.h | 9 ++ drivers/net/ethernet/intel/ice/ice_ptp.c | 138 ++ drivers

[Intel-wired-lan] [PATCH v4 iwl-next 7/7] ice: Enable 1PPS out from CGU for E825C products

2024-08-30 Thread Karol Kolacinski
Kubalewski Signed-off-by: Sergey Temerkhanov Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski Reviewed-by: Simon Horman --- V1 -> V2: Added return value description, renamed the function and enable parameter. Reworded commit message. drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v4 iwl-next 5/7] ice: Disable shared pin on E810 on setfunc

2024-08-30 Thread Karol Kolacinski
When setting a new supported function for a pin on E810, disable other enabled pin that shares the same GPIO. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski Reviewed-by: Simon Horman --- V1 -> V2: Fixed incorrect call to ice_ptp_set_sma_cfg_e810t() drivers/net/ether

[Intel-wired-lan] [PATCH v4 iwl-next 4/7] ice: Cache perout/extts requests and check flags

2024-08-30 Thread Karol Kolacinski
Signed-off-by: Karol Kolacinski Reviewed-by: Simon Horman --- V1 -> V2: Fixed unresolved merge conflict drivers/net/ethernet/intel/ice/ice_ptp.c | 360 +- drivers/net/ethernet/intel/ice/ice_ptp.h | 27 +- .../net/ethernet/intel/ice/ice_ptp_consts.h | 2 +- drivers/

[Intel-wired-lan] [PATCH v4 iwl-next 3/7] ice: Align E810T GPIO to other products

2024-08-30 Thread Karol Kolacinski
Instead of having separate PTP GPIO implementation for E810T, use existing one from all other products. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski Reviewed-by: Simon Horman --- V1 -> V2: restored blank line and moved enable and verify assignment drivers/net/ether

[Intel-wired-lan] [PATCH v4 iwl-next 2/7] ice: Add SDPs support for E825C

2024-08-30 Thread Karol Kolacinski
Add support of PTP SDPs (Software Definable Pins) for E825C products. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski Reviewed-by: Simon Horman --- V1 -> V2: Removed redundant n_pins assignment and enable and verify move drivers/net/ethernet/intel/ice/ice_ptp.c |

[Intel-wired-lan] [PATCH v4 iwl-next 1/7] ice: Implement ice_ptp_pin_desc

2024-08-30 Thread Karol Kolacinski
Add a new internal structure describing PTP pins. Use the new structure for all non-E810T products. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski Reviewed-by: Simon Horman --- V1 -> V2: Removed unused err variable drivers/net/ethernet/intel/ice/ice_ptp.c |

[Intel-wired-lan] [PATCH v4 iwl-next 0/7] ice: Cleanup and refactor PTP pin handling

2024-08-30 Thread Karol Kolacinski
This series cleans up current PTP GPIO pin handling, fixes minor bugs, refactors implementation for all products, introduces SDP (Software Definable Pins) for E825C and implements reading SDP section from NVM for E810 products. Karol Kolacinski (5): ice: Implement ice_ptp_pin_desc ice: Add

[Intel-wired-lan] [PATCH v9 iwl-next 7/7] ice: Implement PTP support for E830 devices

2024-08-29 Thread Karol Kolacinski
-by: Milena Olech Co-developed-by: Paul Greenwalt Signed-off-by: Paul Greenwalt Signed-off-by: Michal Michalik Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 parts of other patches to this patch V6 -> V7: Fixed timestamp acquisition V4 -> V

[Intel-wired-lan] [PATCH v9 iwl-next 6/7] ice: Refactor ice_ptp_init_tx_*

2024-08-29 Thread Karol Kolacinski
Unify ice_ptp_init_tx_* functions for most of the MAC types except E82X. This simplifies the code for the future use with new MAC types. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Renamed the patch and reworded the commit message drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v9 iwl-next 5/7] ice: Add unified ice_capture_crosststamp

2024-08-29 Thread Karol Kolacinski
Reviewed-by: Przemek Kitszel Signed-off-by: Jacob Keller Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 cross timestamp handling to "ice: Implement PTP support for E830 devices" and explained the rest of previous changes in the commit description V4 -&g

[Intel-wired-lan] [PATCH v9 iwl-next 2/7] ice: Remove unncecessary ice_is_e8xx() functions

2024-08-29 Thread Karol Kolacinski
nally, because all further function calls check the MAC type anyway and this allows simpler code in the future with addition of the new MAC types. Reorder ICE_MAC_* cases in switches in ice_ptp* as in enum ice_mac_type. Signed-off-by: Karol Kolacinski --- V8 -> V9: Fixed compilation issue after r

[Intel-wired-lan] [PATCH v9 iwl-next 4/7] ice: Process TSYN IRQ in a separate function

2024-08-29 Thread Karol Kolacinski
iewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 timestamp handling to "ice: Implement PTP support for E830 devices" drivers/net/ethernet/intel/ice/ice_main.c | 18 + drivers/net/ethernet/intel/ice/ice_ptp.c | 49 ++

[Intel-wired-lan] [PATCH v9 iwl-next 3/7] ice: Use FIELD_PREP for timestamp values

2024-08-29 Thread Karol Kolacinski
Instead of using shifts and casts, use FIELD_PREP after reading 40b timestamp values. Reviewed-by: Simon Horman Signed-off-by: Karol Kolacinski --- V5 -> V6: Replaced removed macros with the new ones drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 9 ++--- drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v9 iwl-next 1/7] ice: Don't check device type when checking GNSS presence

2024-08-29 Thread Karol Kolacinski
ce_id first, then set other variables. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 90 drivers/net/ethernet/intel/ice/ice_common.h | 2 + drivers/net/ethernet/intel/ice/ice_gnss.c | 29 +++ drivers/net/ethernet/intel/ice/ice_gnss.h

[Intel-wired-lan] [PATCH v9 iwl-next 0/7] ice: Implement PTP support for E830 devices

2024-08-29 Thread Karol Kolacinski
. Jacob Keller (1): ice: Add unified ice_capture_crosststamp Karol Kolacinski (5): ice: Don't check device type when checking GNSS presence ice: Remove unncecessary ice_is_e8xx() functions ice: Use FIELD_PREP for timestamp values ice: Process TSYN IRQ in a separate function ice: Ref

[Intel-wired-lan] [PATCH v3 iwl-next 7/7] ice: Enable 1PPS out from CGU for E825C products

2024-08-29 Thread Karol Kolacinski
Kubalewski Signed-off-by: Sergey Temerkhanov Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V1 -> V2: Added return value description, renamed the function and enable parameter. Reworded commit message. drivers/net/ethernet/intel/ice/ice_ptp.c|

[Intel-wired-lan] [PATCH v3 iwl-next 6/7] ice: Read SDP section from NVM for pin definitions

2024-08-29 Thread Karol Kolacinski
. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Yochai Hagvi Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- .../net/ethernet/intel/ice/ice_adminq_cmd.h | 9 ++ drivers/net/ethernet/intel/ice/ice_ptp.c | 138 ++ drivers/net/ethernet/intel/ice

[Intel-wired-lan] [PATCH v3 iwl-next 5/7] ice: Disable shared pin on E810 on setfunc

2024-08-29 Thread Karol Kolacinski
When setting a new supported function for a pin on E810, disable other enabled pin that shares the same GPIO. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- V1 -> V2: Fixed incorrect call to ice_ptp_set_sma_cfg_e810t() drivers/net/ethernet/intel/ice/ice_ptp.c |

[Intel-wired-lan] [PATCH v3 iwl-next 4/7] ice: Cache perout/extts requests and check flags

2024-08-29 Thread Karol Kolacinski
Signed-off-by: Karol Kolacinski --- V1 -> V2: Fixed unresolved merge conflict drivers/net/ethernet/intel/ice/ice_ptp.c | 354 +- drivers/net/ethernet/intel/ice/ice_ptp.h | 27 +- .../net/ethernet/intel/ice/ice_ptp_consts.h | 2 +- drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v3 iwl-next 3/7] ice: Align E810T GPIO to other products

2024-08-29 Thread Karol Kolacinski
Instead of having separate PTP GPIO implementation for E810T, use existing one from all other products. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- V1 -> V2: restored blank line and moved enable and verify assignment drivers/net/ethernet/intel/ice/ice_gnss.c |

[Intel-wired-lan] [PATCH v3 iwl-next 2/7] ice: Add SDPs support for E825C

2024-08-29 Thread Karol Kolacinski
Add support of PTP SDPs (Software Definable Pins) for E825C products. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- V1 -> V2: Removed redundant n_pins assignment and enable and verify move drivers/net/ethernet/intel/ice/ice_ptp.c | 20 ++-- 1 f

[Intel-wired-lan] [PATCH v3 iwl-next 1/7] ice: Implement ice_ptp_pin_desc

2024-08-29 Thread Karol Kolacinski
Add a new internal structure describing PTP pins. Use the new structure for all non-E810T products. Reviewed-by: Arkadiusz Kubalewski Signed-off-by: Karol Kolacinski --- V1 -> V2: Removed unused err variable drivers/net/ethernet/intel/ice/ice_ptp.c | 270 +++ drivers/

[Intel-wired-lan] [PATCH v3 iwl-next 0/7] ice: Cleanup and refactor PTP pin handling

2024-08-29 Thread Karol Kolacinski
This series cleans up current PTP GPIO pin handling, fixes minor bugs, refactors implementation for all products, introduces SDP (Software Definable Pins) for E825C and implements reading SDP section from NVM for E810 products. Karol Kolacinski (5): ice: Implement ice_ptp_pin_desc ice: Add

[Intel-wired-lan] [PATCH v8 iwl-next 7/7] ice: Implement PTP support for E830 devices

2024-08-27 Thread Karol Kolacinski
-by: Milena Olech Co-developed-by: Paul Greenwalt Signed-off-by: Paul Greenwalt Signed-off-by: Michal Michalik Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 parts of other patches to this patch V6 -> V7: Fixed timestamp acquisition V4 -> V

[Intel-wired-lan] [PATCH v8 iwl-next 6/7] ice: Refactor ice_ptp_init_tx_*

2024-08-27 Thread Karol Kolacinski
Unify ice_ptp_init_tx_* functions for most of the MAC types except E82X. This simplifies the code for the future use with new MAC types. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Renamed the patch and reworded the commit message drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v8 iwl-next 5/7] ice: Add unified ice_capture_crosststamp

2024-08-27 Thread Karol Kolacinski
Reviewed-by: Przemek Kitszel Signed-off-by: Jacob Keller Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 cross timestamp handling to "ice: Implement PTP support for E830 devices" and explained the rest of previous changes in the commit description V4 -&g

[Intel-wired-lan] [PATCH v8 iwl-next 3/7] ice: Use FIELD_PREP for timestamp values

2024-08-27 Thread Karol Kolacinski
Instead of using shifts and casts, use FIELD_PREP after reading 40b timestamp values. Reviewed-by: Simon Horman Signed-off-by: Karol Kolacinski --- V5 -> V6: Replaced removed macros with the new ones drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 9 ++--- drivers/net/ethernet/intel/

[Intel-wired-lan] [PATCH v8 iwl-next 4/7] ice: Process TSYN IRQ in a separate function

2024-08-27 Thread Karol Kolacinski
iewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- V7 -> V8: Moved E830 timestamp handling to "ice: Implement PTP support for E830 devices" drivers/net/ethernet/intel/ice/ice_main.c | 18 + drivers/net/ethernet/intel/ice/ice_ptp.c | 49 ++

[Intel-wired-lan] [PATCH v8 iwl-next 2/7] ice: Remove unncecessary ice_is_e8xx() functions

2024-08-27 Thread Karol Kolacinski
nally, because all further function calls check the MAC type anyway and this allows simpler code in the future with addition of the new MAC types. Reorder ICE_MAC_* cases in switches in ice_ptp* as in enum ice_mac_type. Signed-off-by: Karol Kolacinski --- V7 -> V8: Added reordering of ICE_MAC_*

[Intel-wired-lan] [PATCH v8 iwl-next 1/7] ice: Don't check device type when checking GNSS presence

2024-08-27 Thread Karol Kolacinski
ce_id first, then set other variables. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 90 drivers/net/ethernet/intel/ice/ice_common.h | 2 + drivers/net/ethernet/intel/ice/ice_gnss.c | 29 +++ drivers/net/ethernet/intel/ice/ice_gnss.h

[Intel-wired-lan] [PATCH v8 iwl-next 0/7] ice: Implement PTP support for E830 devices

2024-08-27 Thread Karol Kolacinski
. Jacob Keller (1): ice: Add unified ice_capture_crosststamp Karol Kolacinski (5): ice: Don't check device type when checking GNSS presence ice: Remove unncecessary ice_is_e8xx() functions ice: Use FIELD_PREP for timestamp values ice: Process TSYN IRQ in a separate function ice: Ref

Re: [Intel-wired-lan] [PATCH v7 iwl-next 1/6] ice: Remove unncecessary ice_is_e8xx() functions

2024-08-27 Thread Kolacinski, Karol
   return err; >> + /* Enable quad interrupts */ >> + err = ice_ptp_cfg_phy_interrupt(pf, true, 1); >> + if (err) >> + return err; >>  >> - ice_ptp_restart_all_phy(pf); >> - } >> + ice_ptp_restart_all_phy(pf); >>  >>    /* Re-enable all periodic outputs and external timestamp events */ >>    ice_ptp_enable_all_perout(pf); > > Here too. Why is it ok to unconditionally enable quad interrupts? All functions called in ice_ptp_cfg_phy_interrupt() check the MAC type anyway, so there's no need to check it here. Thanks, Karol

[kscreenlocker] [Bug 483094] When monitor goes to sleep and system locks, kscreenlocker becomes unresponsive/stuck when monitor wakes up

2024-08-20 Thread Karol Bryd
https://bugs.kde.org/show_bug.cgi?id=483094 Karol Bryd changed: What|Removed |Added CC||karo...@gmail.com --- Comment #28 from Karol Bryd

[Intel-wired-lan] [PATCH v7 iwl-next 6/6] ice: combine cross timestamp functions for E82x and E830

2024-08-20 Thread Karol Kolacinski
ooking for... Reviewed-by: Przemek Kitszel Signed-off-by: Jacob Keller Signed-off-by: Karol Kolacinski --- V4 -> V5: Removed unnecessary CPU features check for SoCs (E82X) and X86_FEATURE_TSC_KNOWN_FREQ check for E830 drivers/net/ethernet/intel/Kconfig| 2 +- ...

[Intel-wired-lan] [PATCH v7 iwl-next 5/6] ice: Add timestamp ready bitmap for E830 products

2024-08-20 Thread Karol Kolacinski
E830 PHY supports timestamp ready bitmap. Enable the bitmap by refactoring tx init function. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_ptp.c | 56 +++- drivers/net/ethernet/intel/ice/ice_ptp.h | 3 +- 2 files

[Intel-wired-lan] [PATCH v7 iwl-next 4/6] ice: Process TSYN IRQ in a separate function

2024-08-20 Thread Karol Kolacinski
Simplify TSYN IRQ processing by moving it to a separate function and having appropriate behavior per PHY model, instead of multiple conditions not related to HW, but to specific timestamping modes. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice

[Intel-wired-lan] [PATCH v7 iwl-next 3/6] ice: Implement PTP support for E830 devices

2024-08-20 Thread Karol Kolacinski
: Milena Olech Signed-off-by: Milena Olech Co-developed-by: Paul Greenwalt Signed-off-by: Paul Greenwalt Signed-off-by: Michal Michalik Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V6 -> V7: Fixed timestamp acquisition V4 -> V5: Edited return values V3 -> V4: F

[Intel-wired-lan] [PATCH v7 iwl-next 2/6] ice: Use FIELD_PREP for timestamp values

2024-08-20 Thread Karol Kolacinski
Instead of using shifts and casts, use FIELD_PREP after reading 40b timestamp values. Signed-off-by: Karol Kolacinski --- V5 -> V6: Replaced removed macros with the new ones drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 9 ++--- drivers/net/ethernet/intel/ice/ice_ptp_hw.h |

[Intel-wired-lan] [PATCH v7 iwl-next 1/6] ice: Remove unncecessary ice_is_e8xx() functions

2024-08-20 Thread Karol Kolacinski
Remove unnecessary ice_is_e8xx() functions and PHY model. Instead, use MAC type where applicable. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 128 +--- drivers/net/ethernet/intel/ice/ice_common.h | 19 ++- drivers/net/ethernet/intel/ice

[Intel-wired-lan] [PATCH v7 iwl-next 0/6] ice: Implement PTP support for E830 devices

2024-08-20 Thread Karol Kolacinski
Add specific functions and definitions for E830 devices to enable PTP support. Refactor processing of timestamping interrupt and cross timestamp to avoid code redundancy. Jacob Keller (1): ice: combine cross timestamp functions for E82x and E830 Karol Kolacinski (4): ice: Remove unncecessary

[Intel-wired-lan] [PATCH v6 iwl-next 5/6] ice: Add timestamp ready bitmap for E830 products

2024-08-14 Thread Karol Kolacinski
E830 PHY supports timestamp ready bitmap. Enable the bitmap by refactoring tx init function. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_ptp.c | 56 +++- drivers/net/ethernet/intel/ice/ice_ptp.h | 3 +- 2 files

[Intel-wired-lan] [PATCH v6 iwl-next 6/6] ice: combine cross timestamp functions for E82x and E830

2024-08-14 Thread Karol Kolacinski
ooking for... Reviewed-by: Przemek Kitszel Signed-off-by: Jacob Keller Signed-off-by: Karol Kolacinski --- V4 -> V5: Removed unnecessary CPU features check for SoCs (E82X) and X86_FEATURE_TSC_KNOWN_FREQ check for E830 drivers/net/ethernet/intel/Kconfig| 2 +- ...

[Intel-wired-lan] [PATCH v6 iwl-next 4/6] ice: Process TSYN IRQ in a separate function

2024-08-14 Thread Karol Kolacinski
Simplify TSYN IRQ processing by moving it to a separate function and having appropriate behavior per PHY model, instead of multiple conditions not related to HW, but to specific timestamping modes. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice

[Intel-wired-lan] [PATCH v6 iwl-next 3/6] ice: Implement PTP support for E830 devices

2024-08-14 Thread Karol Kolacinski
: Milena Olech Signed-off-by: Milena Olech Co-developed-by: Paul Greenwalt Signed-off-by: Paul Greenwalt Signed-off-by: Michal Michalik Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V4 -> V5: Edited return values V3 -> V4: Fixed kdoc for other ice_is_e***() and

[Intel-wired-lan] [PATCH v6 iwl-next 2/6] ice: Use FIELD_PREP for timestamp values

2024-08-14 Thread Karol Kolacinski
Instead of using shifts and casts, use FIELD_PREP after reading 40b timestamp values. Signed-off-by: Karol Kolacinski --- V5 -> V6: Replaced removed macros with the new ones drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 9 ++--- drivers/net/ethernet/intel/ice/ice_ptp_hw.h |

[Intel-wired-lan] [PATCH v6 iwl-next 1/6] ice: Remove unncecessary ice_is_e8xx() functions

2024-08-14 Thread Karol Kolacinski
Remove unnecessary ice_is_e8xx() functions and PHY model. Instead, use MAC type where applicable. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 128 +--- drivers/net/ethernet/intel/ice/ice_common.h | 19 ++- drivers/net/ethernet/intel/ice

[Intel-wired-lan] [PATCH v6 iwl-next 0/6] ice: Implement PTP support for E830 devices

2024-08-14 Thread Karol Kolacinski
Add specific functions and definitions for E830 devices to enable PTP support. Refactor processing of timestamping interrupt and cross timestamp to avoid code redundancy. Jacob Keller (1): ice: combine cross timestamp functions for E82x and E830 Karol Kolacinski (4): ice: Remove unncecessary

[Intel-wired-lan] [PATCH v5 iwl-next 6/6] ice: combine cross timestamp functions for E82x and E830

2024-08-08 Thread Karol Kolacinski
ooking for... Reviewed-by: Przemek Kitszel Signed-off-by: Jacob Keller Signed-off-by: Karol Kolacinski --- V4 -> V5: Removed unnecessary CPU features check for SoCs (E82X) and X86_FEATURE_TSC_KNOWN_FREQ check for E830 drivers/net/ethernet/intel/Kconfig| 2 +- ...

[Intel-wired-lan] [PATCH v5 iwl-next 5/6] ice: Add timestamp ready bitmap for E830 products

2024-08-08 Thread Karol Kolacinski
E830 PHY supports timestamp ready bitmap. Enable the bitmap by refactoring tx init function. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_ptp.c | 56 +++- drivers/net/ethernet/intel/ice/ice_ptp.h | 3 +- 2 files

[Intel-wired-lan] [PATCH v5 iwl-next 3/6] ice: Implement PTP support for E830 devices

2024-08-08 Thread Karol Kolacinski
: Milena Olech Signed-off-by: Milena Olech Co-developed-by: Paul Greenwalt Signed-off-by: Paul Greenwalt Signed-off-by: Michal Michalik Co-developed-by: Karol Kolacinski Signed-off-by: Karol Kolacinski --- V4 -> V5: Edited return values V3 -> V4: Fixed kdoc for other ice_is_e***() and

[Intel-wired-lan] [PATCH v5 iwl-next 4/6] ice: Process TSYN IRQ in a separate function

2024-08-08 Thread Karol Kolacinski
Simplify TSYN IRQ processing by moving it to a separate function and having appropriate behavior per PHY model, instead of multiple conditions not related to HW, but to specific timestamping modes. Reviewed-by: Przemek Kitszel Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice

[Intel-wired-lan] [PATCH v5 iwl-next 1/6] ice: Remove unncecessary ice_is_e8xx() functions

2024-08-08 Thread Karol Kolacinski
Remove unnecessary ice_is_e8xx() functions and PHY model. Instead, use MAC type where applicable. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_common.c | 128 +--- drivers/net/ethernet/intel/ice/ice_common.h | 19 ++- drivers/net/ethernet/intel/ice

[Intel-wired-lan] [PATCH v5 iwl-next 2/6] ice: Use FIELD_PREP for timestamp values

2024-08-08 Thread Karol Kolacinski
Instead of using shifts and casts, use FIELD_PREP after reading 40b timestamp values. Signed-off-by: Karol Kolacinski --- drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 6 -- drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 13 + 2 files changed, 9 insertions(+), 10 deletions

[Intel-wired-lan] [PATCH v5 iwl-next 0/6] ice: Implement PTP support for E830 devices

2024-08-08 Thread Karol Kolacinski
Add specific functions and definitions for E830 devices to enable PTP support. Refactor processing of timestamping interrupt and cross timestamp to avoid code redundancy. Jacob Keller (1): ice: combine cross timestamp functions for E82x and E830 Karol Kolacinski (4): ice: Remove unncecessary

  1   2   3   4   5   6   7   8   9   10   >