Skip to content

Commit

Permalink
Merge pull request #4 from vivekrnv/linux-5.10.140-update
Browse files Browse the repository at this point in the history
Adapt mellanox related patches to work on 5.10.140 source
  • Loading branch information
saiarcot895 authored Oct 31, 2022
2 parents 594b7a9 + 893d2f0 commit 89a01ad
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 232 deletions.
138 changes: 0 additions & 138 deletions patch/0014-thermal-drivers-core-Use-a-char-pointer-for-the.patch

This file was deleted.

6 changes: 3 additions & 3 deletions patch/kconfig-inclusions
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ CONFIG_SENSORS_TPS53679=m
CONFIG_SENSORS_UCD9000=m
CONFIG_SENSORS_UCD9200=m
CONFIG_SENSORS_XDPE122=m
#CONFIG_SENSORS_MP2888=m
CONFIG_SENSORS_MP2888=m
CONFIG_SENSORS_MP2975=m
CONFIG_SENSORS_TMP421=m
CONFIG_SENSORS_STTS751=m
Expand All @@ -75,9 +75,9 @@ CONFIG_MAX1363=m
CONFIG_THERMAL_NETLINK=y
CONFIG_THERMAL_STATISTICS=n

#CONFIG_NVSW_SN2201=m
CONFIG_NVSW_SN2201=m
CONFIG_TI_ADS1015=m
#CONFIG_SENSORS_EMC2305=m
CONFIG_SENSORS_EMC2305=m
CONFIG_SENSORS_JC42=m
CONFIG_SENSORS_POWR1220=m

Expand Down
181 changes: 90 additions & 91 deletions patch/series
Original file line number Diff line number Diff line change
Expand Up @@ -56,97 +56,96 @@ kernel-compat-always-include-linux-compat.h-from-net-compat.patch
#

# Mellanox patches for 5.10
#0001-i2c-mlxcpld-Update-module-license.patch
#0002-i2c-mlxcpld-Decrease-polling-time-for-performan.patch
#0003-i2c-mlxcpld-Add-support-for-I2C-bus-frequency-s.patch
#0004-i2c-mux-mlxcpld-Update-module-license.patch
#0005-i2c-mux-mlxcpld-Move-header-file-out-of-x86-rea.patch
#0006-i2c-mux-mlxcpld-Convert-driver-to-platform-driv.patch
#0007-i2c-mux-mlxcpld-Prepare-mux-selection-infrastru.patch
#0008-i2c-mux-mlxcpld-Get-rid-of-adapter-numbers-enfo.patch
#0009-i2c-mux-mlxcpld-Extend-driver-to-support-word-a.patch
#0010-i2c-mux-mlxcpld-Extend-supported-mux-number.patch
#0011-i2c-mux-mlxcpld-Add-callback-to-notify-mux-crea.patch
#0012-hwmon-mlxreg-fan-Add-support-for-fan-drawers-ca.patch
#0013-hwmon-pmbus-shrink-code-and-remove-pmbus_do_rem.patch
#0014-thermal-drivers-core-Use-a-char-pointer-for-the.patch
#0015-mlxsw-core-Remove-critical-trip-points-from-the.patch
#0016-net-don-t-include-ethtool.h-from-netdevice.h.patch
#0017-mlxsw-reg-Extend-MTMP-register-with-new-thresho.patch
#0018-mlxsw-thermal-Add-function-for-reading-module-t.patch
#0019-mlxsw-thermal-Read-module-temperature-threshold.patch
#0020-mlxsw-thermal-Fix-null-dereference-of-NULL-temp.patch
#0021-mlxsw-reg-Add-bank-number-to-MCIA-register.patch
#0022-mlxsw-reg-Document-possible-MCIA-status-values.patch
#0023-ethtool-Allow-network-drivers-to-dump-arbitrary.patch
#0024-net-ethtool-Export-helpers-for-getting-EEPROM-i.patch
#0025-ethtool-Add-fallback-to-get_module_eeprom-from-.patch
#0026-mlxsw-core-Add-support-for-module-EEPROM-read-b.patch
#0027-ethtool-Decrease-size-of-module-EEPROM-get-poli.patch
#0028-ethtool-Use-kernel-data-types-for-internal-EEPR.patch
#0029-ethtool-Validate-module-EEPROM-length-as-part-o.patch
#0030-ethtool-Validate-module-EEPROM-offset-as-part-o.patch
#0031-mlxsw-core_env-Read-module-temperature-threshol.patch
#0032-mlxsw-core_env-Avoid-unnecessary-memcpy-s.patch
#0035-hwmon-pmbus-Increase-maximum-number-of-phases-p.patch
#0036-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2.patch
#0037-dt-bindings-Add-MP2888-voltage-regulator-device.patch
#0038-ethtool-wire-in-generic-SFP-module-access.patch
#0039-ethtool-Fix-NULL-pointer-dereference-during-mod.patch
#0040-phy-sfp-add-netlink-SFP-support-to-generic-SFP-.patch
#0042-ethtool-support-FEC-settings-over-netlink.patch
#0045-i2c-mlxcpld-Fix-criteria-for-frequency-setting.patch
#0046-i2c-mlxcpld-Reduce-polling-time-for-performance.patch
#0047-i2c-mlxcpld-Allow-flexible-polling-time-setting.patch
#0052-hwmon-mlxreg-fan-Return-non-zero-value-when-fan.patch
#0053-mlxsw-core-Avoid-creation-virtual-hwmon-objects.patch
#0054-mlxsw-minimal-Simplify-method-of-modules-number.patch
#0055-platform_data-mlxreg-Add-new-type-to-support-mo.patch
#0056-platform-x86-mlx-platform-Add-initial-support-f.patch
#0057-platform-mellanox-mlxreg-hotplug-Extend-logic-f.patch
#0058-platform-x86-mlx-platform-Configure-notifier-ca.patch
#0059-platform-mellanox-mlxreg-io-Extend-number-of-hw.patch
#0060-platform_data-mlxreg-Add-new-field-for-secured-.patch
#0061-platform-mellanox-mlxreg-lc-Add-initial-support.patch
#0062-Documentation-ABI-Add-new-attributes-for-mlxreg.patch
#0063-Documentation-ABI-Add-new-line-card-attributes-.patch
#0064-hwmon-mlxreg-fan-Extend-the-maximum-number-of-t.patch
#0065-platform-x86-mlx-platform-Extend-FAN-and-LED-co.patch
#0066-platform-x86-mlx-platform-Add-new-attributes-fo.patch
#0068-mlxsw-core-Initialize-switch-driver-last.patch
#0069-mlxsw-core-Remove-mlxsw_core_is_initialized.patch
#0070-mlxsw-core_env-Defer-handling-of-module-tempera.patch
#0071-mlxsw-core_env-Convert-module_info_lock-to-a-mu.patch
#0072-mlxsw-Track-per-module-port-status.patch
#0073-mlxsw-reg-Add-fields-to-PMAOS-register.patch
#0074-mlxsw-Make-PMAOS-pack-function-more-generic.patch
#0075-mlxsw-Add-support-for-transceiver-modules-reset.patch
#0076-ethtool-Add-ability-to-control-transceiver-modu.patch
#0077-mlxsw-reg-Add-Port-Module-Memory-Map-Properties.patch
#0078-mlxsw-reg-Add-Management-Cable-IO-and-Notificat.patch
#0079-mlxsw-Add-ability-to-control-transceiver-module.patch
#0080-ethtool-Add-transceiver-module-extended-states.patch
#0081-platform-x86-mlx-platform-Add-support-for-multi.patch
#0082-mlxsw-core-Extend-external-cooling-device-whitelist-.patch
#0083-platform_data-mlxreg-Add-field-for-notification-call.patch
#0084-i2c-mlxcpld-Add-callback-to-notify-probing-completio.patch
#0085-hwmon-powr1220-Upgrade-driver-to-support-hwmon-info-.patch
#0086-hwmon-powr1220-Add-support-for-Lattice-s-POWR1014-po.patch
#0087-hwmon-Add-support-for-EMC2305-RPM-based-PWM-Fan-Spee.patch
#0088-dt-bindings-Add-description-for-EMC2305-for-RPM-base.patch
#0089-platform-mellanox-Add-support-for-new-SN2201-system.patch
#0090-Documentation-ABI-Add-new-attributes-for-mlxreg-io-s.patch
#0091-platform-x86-mlx-platform-Add-support-for-new-s.patch
#0092-platform-mellanox-mlxreg-lc-fix-error-code-in-m.patch
#0093-hwmon-mlxreg-fan-Extend-driver-to-support-multi.patch
#0094-hwmon-mlxreg-fan-Extend-driver-to-support-multi.patch
#0095-hwmon-mlxreg-fan-Fix-out-of-bounds-read-on-arra.patch
#0096-hwmon-mlxreg-fan-Modify-PWM-connectivity-valida.patch
#0097-hwmon-mlxreg-fan-Support-distinctive-names-per-.patch
#0999-Revert-mlxsw-thermal-Fix-out-of-bounds-memory-a.patch
#0098-mlxsw-i2c-Prevent-transaction-execution-for.patch
#0163-platform-mellanox-Add-COME-board-revision-register.patch
#0167-leds-mlxreg-Send-udev-change-event.patch
0001-i2c-mlxcpld-Update-module-license.patch
0002-i2c-mlxcpld-Decrease-polling-time-for-performan.patch
0003-i2c-mlxcpld-Add-support-for-I2C-bus-frequency-s.patch
0004-i2c-mux-mlxcpld-Update-module-license.patch
0005-i2c-mux-mlxcpld-Move-header-file-out-of-x86-rea.patch
0006-i2c-mux-mlxcpld-Convert-driver-to-platform-driv.patch
0007-i2c-mux-mlxcpld-Prepare-mux-selection-infrastru.patch
0008-i2c-mux-mlxcpld-Get-rid-of-adapter-numbers-enfo.patch
0009-i2c-mux-mlxcpld-Extend-driver-to-support-word-a.patch
0010-i2c-mux-mlxcpld-Extend-supported-mux-number.patch
0011-i2c-mux-mlxcpld-Add-callback-to-notify-mux-crea.patch
0012-hwmon-mlxreg-fan-Add-support-for-fan-drawers-ca.patch
0013-hwmon-pmbus-shrink-code-and-remove-pmbus_do_rem.patch
0015-mlxsw-core-Remove-critical-trip-points-from-the.patch
0016-net-don-t-include-ethtool.h-from-netdevice.h.patch
0017-mlxsw-reg-Extend-MTMP-register-with-new-thresho.patch
0018-mlxsw-thermal-Add-function-for-reading-module-t.patch
0019-mlxsw-thermal-Read-module-temperature-threshold.patch
0020-mlxsw-thermal-Fix-null-dereference-of-NULL-temp.patch
0021-mlxsw-reg-Add-bank-number-to-MCIA-register.patch
0022-mlxsw-reg-Document-possible-MCIA-status-values.patch
0023-ethtool-Allow-network-drivers-to-dump-arbitrary.patch
0024-net-ethtool-Export-helpers-for-getting-EEPROM-i.patch
0025-ethtool-Add-fallback-to-get_module_eeprom-from-.patch
0026-mlxsw-core-Add-support-for-module-EEPROM-read-b.patch
0027-ethtool-Decrease-size-of-module-EEPROM-get-poli.patch
0028-ethtool-Use-kernel-data-types-for-internal-EEPR.patch
0029-ethtool-Validate-module-EEPROM-length-as-part-o.patch
0030-ethtool-Validate-module-EEPROM-offset-as-part-o.patch
0031-mlxsw-core_env-Read-module-temperature-threshol.patch
0032-mlxsw-core_env-Avoid-unnecessary-memcpy-s.patch
0035-hwmon-pmbus-Increase-maximum-number-of-phases-p.patch
0036-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2.patch
0037-dt-bindings-Add-MP2888-voltage-regulator-device.patch
0038-ethtool-wire-in-generic-SFP-module-access.patch
0039-ethtool-Fix-NULL-pointer-dereference-during-mod.patch
0040-phy-sfp-add-netlink-SFP-support-to-generic-SFP-.patch
0042-ethtool-support-FEC-settings-over-netlink.patch
0045-i2c-mlxcpld-Fix-criteria-for-frequency-setting.patch
0046-i2c-mlxcpld-Reduce-polling-time-for-performance.patch
0047-i2c-mlxcpld-Allow-flexible-polling-time-setting.patch
0052-hwmon-mlxreg-fan-Return-non-zero-value-when-fan.patch
0053-mlxsw-core-Avoid-creation-virtual-hwmon-objects.patch
0054-mlxsw-minimal-Simplify-method-of-modules-number.patch
0055-platform_data-mlxreg-Add-new-type-to-support-mo.patch
0056-platform-x86-mlx-platform-Add-initial-support-f.patch
0057-platform-mellanox-mlxreg-hotplug-Extend-logic-f.patch
0058-platform-x86-mlx-platform-Configure-notifier-ca.patch
0059-platform-mellanox-mlxreg-io-Extend-number-of-hw.patch
0060-platform_data-mlxreg-Add-new-field-for-secured-.patch
0061-platform-mellanox-mlxreg-lc-Add-initial-support.patch
0062-Documentation-ABI-Add-new-attributes-for-mlxreg.patch
0063-Documentation-ABI-Add-new-line-card-attributes-.patch
0064-hwmon-mlxreg-fan-Extend-the-maximum-number-of-t.patch
0065-platform-x86-mlx-platform-Extend-FAN-and-LED-co.patch
0066-platform-x86-mlx-platform-Add-new-attributes-fo.patch
0068-mlxsw-core-Initialize-switch-driver-last.patch
0069-mlxsw-core-Remove-mlxsw_core_is_initialized.patch
0070-mlxsw-core_env-Defer-handling-of-module-tempera.patch
0071-mlxsw-core_env-Convert-module_info_lock-to-a-mu.patch
0072-mlxsw-Track-per-module-port-status.patch
0073-mlxsw-reg-Add-fields-to-PMAOS-register.patch
0074-mlxsw-Make-PMAOS-pack-function-more-generic.patch
0075-mlxsw-Add-support-for-transceiver-modules-reset.patch
0076-ethtool-Add-ability-to-control-transceiver-modu.patch
0077-mlxsw-reg-Add-Port-Module-Memory-Map-Properties.patch
0078-mlxsw-reg-Add-Management-Cable-IO-and-Notificat.patch
0079-mlxsw-Add-ability-to-control-transceiver-module.patch
0080-ethtool-Add-transceiver-module-extended-states.patch
0081-platform-x86-mlx-platform-Add-support-for-multi.patch
0082-mlxsw-core-Extend-external-cooling-device-whitelist-.patch
0083-platform_data-mlxreg-Add-field-for-notification-call.patch
0084-i2c-mlxcpld-Add-callback-to-notify-probing-completio.patch
0085-hwmon-powr1220-Upgrade-driver-to-support-hwmon-info-.patch
0086-hwmon-powr1220-Add-support-for-Lattice-s-POWR1014-po.patch
0087-hwmon-Add-support-for-EMC2305-RPM-based-PWM-Fan-Spee.patch
0088-dt-bindings-Add-description-for-EMC2305-for-RPM-base.patch
0089-platform-mellanox-Add-support-for-new-SN2201-system.patch
0090-Documentation-ABI-Add-new-attributes-for-mlxreg-io-s.patch
0091-platform-x86-mlx-platform-Add-support-for-new-s.patch
0092-platform-mellanox-mlxreg-lc-fix-error-code-in-m.patch
0093-hwmon-mlxreg-fan-Extend-driver-to-support-multi.patch
0094-hwmon-mlxreg-fan-Extend-driver-to-support-multi.patch
0095-hwmon-mlxreg-fan-Fix-out-of-bounds-read-on-arra.patch
0096-hwmon-mlxreg-fan-Modify-PWM-connectivity-valida.patch
0097-hwmon-mlxreg-fan-Support-distinctive-names-per-.patch
0999-Revert-mlxsw-thermal-Fix-out-of-bounds-memory-a.patch
0098-mlxsw-i2c-Prevent-transaction-execution-for.patch
0163-platform-mellanox-Add-COME-board-revision-register.patch
0167-leds-mlxreg-Send-udev-change-event.patch

# Cisco patches for 5.10 kernel
cisco-mtd-part.patch
Expand Down

0 comments on commit 89a01ad

Please sign in to comment.