mirror_ubuntu-kernels/drivers/net/wireless/intel/iwlwifi
Randy Dunlap 609a1bcd7b wifi: iwlwifi: mvm: add dependency for PTP clock
When the code to use the PTP HW clock was added, it didn't update
the Kconfig entry for the PTP dependency, leading to build errors,
so update the Kconfig entry to depend on PTP_1588_CLOCK_OPTIONAL.

aarch64-linux-ld: drivers/net/wireless/intel/iwlwifi/mvm/ptp.o: in function `iwl_mvm_ptp_init':
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:294: undefined reference to `ptp_clock_register'
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:294:(.text+0xce8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ptp_clock_register'
aarch64-linux-ld: drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:301: undefined reference to `ptp_clock_index'
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:301:(.text+0xd18): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ptp_clock_index'
aarch64-linux-ld: drivers/net/wireless/intel/iwlwifi/mvm/ptp.o: in function `iwl_mvm_ptp_remove':
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:315: undefined reference to `ptp_clock_index'
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:315:(.text+0xe80): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ptp_clock_index'
aarch64-linux-ld: drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:319: undefined reference to `ptp_clock_unregister'
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:319:(.text+0xeac): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ptp_clock_unregister'

Fixes: 1595ecce1c ("wifi: iwlwifi: mvm: add support for PTP HW clock (PHC)")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/all/202308110447.4QSJHmFH-lkp@intel.com/
Cc: Krishnanand Prabhu <krishnanand.prabhu@intel.com>
Cc: Luca Coelho <luciano.coelho@intel.com>
Cc: Gregory Greenman <gregory.greenman@intel.com>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@kernel.org>
Cc: linux-wireless@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org> # build-tested
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230812052947.22913-1-rdunlap@infradead.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-08-15 10:54:06 +02:00
..
cfg wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
dvm wifi: iwlwifi: dvm: fix -Wunused-const-variable gcc warning 2023-06-19 14:35:29 +02:00
fw wifi: iwlwifi: mvm: Add support for IGTK in D3 resume flow 2023-06-21 14:14:40 +02:00
mei wifi: iwlwifi: iwlmei: fix compilation error 2023-06-06 13:38:21 +02:00
mvm wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
pcie wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
queue wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-agn-hw.h
iwl-config.h wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-context-info-gen3.h wifi: iwlwifi: Enable loading of reduce-power tables into several segments 2023-06-06 13:44:52 +02:00
iwl-context-info.h wifi: iwlwifi: Generalize the parsing of the pnvm image 2023-06-06 13:43:06 +02:00
iwl-csr.h wifi: iwlwifi: Add RF Step Type for BZ device 2023-04-14 13:15:26 +02:00
iwl-dbg-tlv.c wifi: iwlwifi: dbg-tlv: clear FW debug memory on init 2023-06-14 12:32:21 +02:00
iwl-dbg-tlv.h
iwl-debug.c wifi: iwlwifi: debug: fix crash in __iwl_err() 2023-04-13 16:29:58 +02:00
iwl-debug.h
iwl-devtrace-data.h
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h tracing/iwlwifi: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00
iwl-devtrace-ucode.h
iwl-devtrace.c wifi: iwlwifi: Avoid disabling GCC specific flag with clang 2023-03-16 08:51:56 +01:00
iwl-devtrace.h
iwl-drv.c wifi: iwlwifi: cfg: remove trailing dash from FW_PRE constants 2023-06-21 14:07:01 +02:00
iwl-drv.h wifi: iwlwifi: unify Bz/Gl device configurations 2023-06-21 14:07:01 +02:00
iwl-eeprom-parse.c
iwl-eeprom-parse.h wifi: iwlwifi: nvm: Update HE capabilities on 6GHz band for EHT device 2023-04-13 16:30:00 +02:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-io.c wifi: iwlwifi: unify checks for HW error values 2023-06-14 12:32:18 +02:00
iwl-io.h
iwl-modparams.h wifi: iwlwifi: mvm: Advertise EHT capabilities 2022-11-28 17:52:51 +02:00
iwl-nvm-parse.c wifi: iwlwifi: limit EHT capabilities based on PCIe link speed 2023-06-21 14:02:15 +02:00
iwl-nvm-parse.h wifi: iwlwifi: update response for mcc_update command 2023-06-14 12:32:17 +02:00
iwl-op-mode.h
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h wifi: iwlwifi: fw: Add new FSEQ defines to fw dump 2023-06-19 12:05:25 +02:00
iwl-scd.h
iwl-trans.c wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-trans.h wifi: iwlwifi: limit EHT capabilities based on PCIe link speed 2023-06-21 14:02:15 +02:00
Kconfig wifi: iwlwifi: mvm: add dependency for PTP clock 2023-08-15 10:54:06 +02:00
Makefile wifi: iwlwifi: split 22000.c into multiple files 2023-06-21 14:07:00 +02:00