diff options
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c index 59453c176580..53cdc5760f68 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |||
@@ -376,8 +376,8 @@ struct iwl_error_event_table_v1 { | |||
376 | struct iwl_error_event_table { | 376 | struct iwl_error_event_table { |
377 | u32 valid; /* (nonzero) valid, (0) log is empty */ | 377 | u32 valid; /* (nonzero) valid, (0) log is empty */ |
378 | u32 error_id; /* type of error */ | 378 | u32 error_id; /* type of error */ |
379 | u32 pc; /* program counter */ | 379 | u32 trm_hw_status0; /* TRM HW status */ |
380 | u32 blink1; /* branch link */ | 380 | u32 trm_hw_status1; /* TRM HW status */ |
381 | u32 blink2; /* branch link */ | 381 | u32 blink2; /* branch link */ |
382 | u32 ilink1; /* interrupt link */ | 382 | u32 ilink1; /* interrupt link */ |
383 | u32 ilink2; /* interrupt link */ | 383 | u32 ilink2; /* interrupt link */ |
@@ -389,7 +389,7 @@ struct iwl_error_event_table { | |||
389 | u32 tsf_hi; /* network timestamp function timer */ | 389 | u32 tsf_hi; /* network timestamp function timer */ |
390 | u32 gp1; /* GP1 timer register */ | 390 | u32 gp1; /* GP1 timer register */ |
391 | u32 gp2; /* GP2 timer register */ | 391 | u32 gp2; /* GP2 timer register */ |
392 | u32 gp3; /* GP3 timer register */ | 392 | u32 fw_rev_type; /* firmware revision type */ |
393 | u32 major; /* uCode version major */ | 393 | u32 major; /* uCode version major */ |
394 | u32 minor; /* uCode version minor */ | 394 | u32 minor; /* uCode version minor */ |
395 | u32 hw_ver; /* HW Silicon version */ | 395 | u32 hw_ver; /* HW Silicon version */ |
@@ -408,7 +408,7 @@ struct iwl_error_event_table { | |||
408 | * time_flag */ | 408 | * time_flag */ |
409 | u32 isr4; /* isr status register LMPM_NIC_ISR4: | 409 | u32 isr4; /* isr status register LMPM_NIC_ISR4: |
410 | * wico interrupt */ | 410 | * wico interrupt */ |
411 | u32 isr_pref; /* isr status register LMPM_NIC_PREF_STAT */ | 411 | u32 last_cmd_id; /* last HCMD id handled by the firmware */ |
412 | u32 wait_event; /* wait event() caller address */ | 412 | u32 wait_event; /* wait event() caller address */ |
413 | u32 l2p_control; /* L2pControlField */ | 413 | u32 l2p_control; /* L2pControlField */ |
414 | u32 l2p_duration; /* L2pDurationField */ | 414 | u32 l2p_duration; /* L2pDurationField */ |
@@ -419,7 +419,7 @@ struct iwl_error_event_table { | |||
419 | u32 u_timestamp; /* indicate when the date and time of the | 419 | u32 u_timestamp; /* indicate when the date and time of the |
420 | * compilation */ | 420 | * compilation */ |
421 | u32 flow_handler; /* FH read/write pointers, RX credit */ | 421 | u32 flow_handler; /* FH read/write pointers, RX credit */ |
422 | } __packed /* LOG_ERROR_TABLE_API_S_VER_2 */; | 422 | } __packed /* LOG_ERROR_TABLE_API_S_VER_3 */; |
423 | 423 | ||
424 | /* | 424 | /* |
425 | * UMAC error struct - relevant starting from family 8000 chip. | 425 | * UMAC error struct - relevant starting from family 8000 chip. |
@@ -529,9 +529,9 @@ static void iwl_mvm_dump_nic_error_log_old(struct iwl_mvm *mvm) | |||
529 | 529 | ||
530 | trace_iwlwifi_dev_ucode_error(trans->dev, table.error_id, table.tsf_low, | 530 | trace_iwlwifi_dev_ucode_error(trans->dev, table.error_id, table.tsf_low, |
531 | table.data1, table.data2, table.data3, | 531 | table.data1, table.data2, table.data3, |
532 | table.blink1, table.blink2, table.ilink1, | 532 | table.blink2, table.ilink1, table.ilink2, |
533 | table.ilink2, table.bcon_time, table.gp1, | 533 | table.bcon_time, table.gp1, table.gp2, |
534 | table.gp2, table.gp3, table.ucode_ver, 0, | 534 | table.gp3, table.ucode_ver, 0, |
535 | table.hw_ver, table.brd_ver); | 535 | table.hw_ver, table.brd_ver); |
536 | IWL_ERR(mvm, "0x%08X | %-28s\n", table.error_id, | 536 | IWL_ERR(mvm, "0x%08X | %-28s\n", table.error_id, |
537 | desc_lookup(table.error_id)); | 537 | desc_lookup(table.error_id)); |
@@ -615,14 +615,14 @@ void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm) | |||
615 | 615 | ||
616 | trace_iwlwifi_dev_ucode_error(trans->dev, table.error_id, table.tsf_low, | 616 | trace_iwlwifi_dev_ucode_error(trans->dev, table.error_id, table.tsf_low, |
617 | table.data1, table.data2, table.data3, | 617 | table.data1, table.data2, table.data3, |
618 | table.blink1, table.blink2, table.ilink1, | 618 | table.blink2, table.ilink1, |
619 | table.ilink2, table.bcon_time, table.gp1, | 619 | table.ilink2, table.bcon_time, table.gp1, |
620 | table.gp2, table.gp3, table.major, | 620 | table.gp2, table.fw_rev_type, table.major, |
621 | table.minor, table.hw_ver, table.brd_ver); | 621 | table.minor, table.hw_ver, table.brd_ver); |
622 | IWL_ERR(mvm, "0x%08X | %-28s\n", table.error_id, | 622 | IWL_ERR(mvm, "0x%08X | %-28s\n", table.error_id, |
623 | desc_lookup(table.error_id)); | 623 | desc_lookup(table.error_id)); |
624 | IWL_ERR(mvm, "0x%08X | uPc\n", table.pc); | 624 | IWL_ERR(mvm, "0x%08X | trm_hw_status0\n", table.trm_hw_status0); |
625 | IWL_ERR(mvm, "0x%08X | branchlink1\n", table.blink1); | 625 | IWL_ERR(mvm, "0x%08X | trm_hw_status1\n", table.trm_hw_status1); |
626 | IWL_ERR(mvm, "0x%08X | branchlink2\n", table.blink2); | 626 | IWL_ERR(mvm, "0x%08X | branchlink2\n", table.blink2); |
627 | IWL_ERR(mvm, "0x%08X | interruptlink1\n", table.ilink1); | 627 | IWL_ERR(mvm, "0x%08X | interruptlink1\n", table.ilink1); |
628 | IWL_ERR(mvm, "0x%08X | interruptlink2\n", table.ilink2); | 628 | IWL_ERR(mvm, "0x%08X | interruptlink2\n", table.ilink2); |
@@ -634,7 +634,7 @@ void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm) | |||
634 | IWL_ERR(mvm, "0x%08X | tsf hi\n", table.tsf_hi); | 634 | IWL_ERR(mvm, "0x%08X | tsf hi\n", table.tsf_hi); |
635 | IWL_ERR(mvm, "0x%08X | time gp1\n", table.gp1); | 635 | IWL_ERR(mvm, "0x%08X | time gp1\n", table.gp1); |
636 | IWL_ERR(mvm, "0x%08X | time gp2\n", table.gp2); | 636 | IWL_ERR(mvm, "0x%08X | time gp2\n", table.gp2); |
637 | IWL_ERR(mvm, "0x%08X | time gp3\n", table.gp3); | 637 | IWL_ERR(mvm, "0x%08X | uCode revision type\n", table.fw_rev_type); |
638 | IWL_ERR(mvm, "0x%08X | uCode version major\n", table.major); | 638 | IWL_ERR(mvm, "0x%08X | uCode version major\n", table.major); |
639 | IWL_ERR(mvm, "0x%08X | uCode version minor\n", table.minor); | 639 | IWL_ERR(mvm, "0x%08X | uCode version minor\n", table.minor); |
640 | IWL_ERR(mvm, "0x%08X | hw version\n", table.hw_ver); | 640 | IWL_ERR(mvm, "0x%08X | hw version\n", table.hw_ver); |
@@ -645,7 +645,7 @@ void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm) | |||
645 | IWL_ERR(mvm, "0x%08X | isr2\n", table.isr2); | 645 | IWL_ERR(mvm, "0x%08X | isr2\n", table.isr2); |
646 | IWL_ERR(mvm, "0x%08X | isr3\n", table.isr3); | 646 | IWL_ERR(mvm, "0x%08X | isr3\n", table.isr3); |
647 | IWL_ERR(mvm, "0x%08X | isr4\n", table.isr4); | 647 | IWL_ERR(mvm, "0x%08X | isr4\n", table.isr4); |
648 | IWL_ERR(mvm, "0x%08X | isr_pref\n", table.isr_pref); | 648 | IWL_ERR(mvm, "0x%08X | last cmd Id\n", table.last_cmd_id); |
649 | IWL_ERR(mvm, "0x%08X | wait_event\n", table.wait_event); | 649 | IWL_ERR(mvm, "0x%08X | wait_event\n", table.wait_event); |
650 | IWL_ERR(mvm, "0x%08X | l2p_control\n", table.l2p_control); | 650 | IWL_ERR(mvm, "0x%08X | l2p_control\n", table.l2p_control); |
651 | IWL_ERR(mvm, "0x%08X | l2p_duration\n", table.l2p_duration); | 651 | IWL_ERR(mvm, "0x%08X | l2p_duration\n", table.l2p_duration); |