Lines Matching refs:error

118  *   Any other value - indicates an error.
162 "error, mbxCmd x%x READ_NVPARM, "
256 * mailbox error, either way we are done.
413 * Any other value - error.
603 /* Set up error attention (ERATT) polling timer */
733 * Any other value - error
754 * Any other value - error
838 * Any other value - error
880 * Any other value - error.
1062 * Any other value - error.
1081 * Any other value - error.
1172 * Any other value - error.
1255 * no error conditions detected, the heart-beat mailbox command timer is
1627 * lpfc_offline_eratt - Bring lpfc offline on hardware error attention
1630 * This routine is called to bring the HBA offline when HBA hardware error
1656 * lpfc_sli4_offline_eratt - Bring lpfc offline on SLI4 hardware error attention
1659 * This routine is called to bring a SLI4 HBA offline when HBA hardware error
1682 * lpfc_handle_deferred_eratt - The HBA hardware deferred error handler
1685 * This routine is invoked to handle the deferred HBA hardware error
1686 * conditions. This type of error is indicated by HBA by setting ER1
1688 * wait until the ER1 bit clears before handling the error condition.
1725 * There was a firmware error. Take the hba offline and then
1776 * lpfc_handle_eratt_s3 - The SLI3 HBA hardware error handler
1779 * This routine is invoked to handle the following HBA hardware error
1781 * 1 - HBA error attention interrupt
1809 /* Send an internal error event to mgmt application */
1844 * There was a firmware error. Take the hba offline and then
1883 * twice. This is the adapter hardware error path.
1924 * On error status condition, driver need to wait for port
1982 * lpfc_handle_eratt_s4 - The SLI4 HBA hardware error handler
1985 * This routine is invoked to handle the SLI4 HBA hardware error attention
2024 /* consider PCI bus read error as pci_channel_offline */
2084 /* consider PCI bus read error as pci_channel_offline */
2150 "3152 Unrecoverable error\n");
2159 /* Send an internal error event to mgmt application */
2170 * lpfc_handle_eratt - Wrapper func for handling hba error attention
2173 * This routine wraps the actual SLI3 or SLI4 hba error attention handling
2178 * Any other value - error.
3693 int i, error = 0;
3723 error = lpfc_nvme_create_localport(phba->pport);
3724 if (error)
3727 "on nvmei error x%x\n", error);
4710 int error = 0;
4839 error = scsi_add_host_with_dma(shost, dev, &phba->pcidev->dev);
4840 if (error)
6122 /* Did port __idx reported an error */
6196 "3202 trunk error:0x%x (%s) seen on port0:%s "
6198 * SLI-4: We have only 0xA error codes
7068 * @phba structure. If the magic is incorrect, an error message is
7210 * -Eval if an error was encountered
7229 /* 0 means no data. A negative means error. A positive means
7237 /* Some error. Just exit and return it to the caller.*/
7271 * Returns nonzero error if event processing encountered an error.
7286 * could have cleared it. Only error is a negative return
7480 * other values - error
7555 /* If resets are disabled then set error state and return. */
7594 * API call does not considered as an error condition for most of the device.
7620 * API call does not considered as an error condition for most of the device.
7668 * other values - error
7746 * other values - error
7912 * other values - error
8602 * other values - error
8607 int error;
8613 error = PTR_ERR(phba->worker_thread);
8614 return error;
8674 * other values - error
9019 * NULL - error
9113 * other values - error
9278 * other values - error
9287 int error;
9293 error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
9294 if (error)
9295 error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
9296 if (error)
9297 return error;
9298 error = -ENODEV;
9374 return error;
9435 /* Port has a fatal POST error, break out */
9446 * If there was a port error during POST, then don't proceed with
9527 "2888 Unrecoverable port error "
9530 "error 1=0x%x, error 2=0x%x\n",
11736 * it as an error.
11756 "0x%x error 1=0x%x, error 2=0x%x\n",
11817 * other values - error
11824 int error;
11831 error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
11832 if (error)
11833 error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
11834 if (error)
11835 return error;
11917 error = -ENOMEM;
11924 error = -ENOMEM;
11942 error = -ENOMEM;
11965 error = -ENOMEM;
11970 error = lpfc_sli4_bar2_register_memmap(phba, LPFC_VF0);
11971 if (error)
11974 error = -ENOMEM;
11992 error = -ENOMEM;
12026 return error;
12076 * other values - error
12180 * other values - error
12222 * other values - error
12992 * other values - error
13148 * other values - error
13213 * LPFC_INTR_ERROR - error
13354 * I/Os every 30 seconds, log error message, and wait forever. Only when
13957 int error;
13966 error = lpfc_enable_pci_dev(phba);
13967 if (error)
13971 error = lpfc_api_table_setup(phba, LPFC_PCI_DEV_LP);
13972 if (error)
13976 error = lpfc_sli_pci_mem_setup(phba);
13977 if (error) {
13984 error = lpfc_sli_driver_resource_setup(phba);
13985 if (error) {
13993 error = lpfc_init_iocb_list(phba, LPFC_IOCB_LIST_CNT);
13994 if (error) {
14001 error = lpfc_setup_driver_resource_phase2(phba);
14002 if (error) {
14012 error = lpfc_create_shost(phba);
14013 if (error) {
14021 error = lpfc_alloc_sysfs_attr(vport);
14022 if (error) {
14028 shost = lpfc_shost_from_vport(vport); /* save shost for error cleanup */
14039 error = -ENODEV;
14046 error = -ENODEV;
14099 return error;
14266 int error;
14275 error = PTR_ERR(phba->worker_thread);
14278 "thread: error=x%x.\n", error);
14279 return error;
14381 * lpfc_io_error_detected_s3 - Method for handling SLI-3 device PCI I/O error
14385 * This routine is called from the PCI subsystem for I/O error handling to
14387 * subsystem after a PCI bus error affecting this device has been detected.
14406 /* Non-fatal error, prepare for recovery */
14410 /* Fatal error, prepare for slot reset */
14420 "0472 Unknown PCI error state: x%x\n", state);
14430 * This routine is called from the PCI subsystem for error handling to
14433 * During the PCI subsystem error recovery, after driver returns
14434 * PCI_ERS_RESULT_NEED_RESET, the PCI subsystem will perform proper error
14499 * This routine is called from the PCI subsystem for error handling to device
14500 * with SLI-3 interface spec. It is called when kernel error recovery tells
14502 * error recovery. After this call, traffic can start to flow from this device
14511 /* Bring device online, it will be no-op for non-fatal error resume */
14573 * (3) Some other error during FW update.
14711 "3062 Firmware update error, status %d.\n", rc);
14779 int error;
14790 error = lpfc_enable_pci_dev(phba);
14791 if (error)
14795 error = lpfc_api_table_setup(phba, LPFC_PCI_DEV_OC);
14796 if (error)
14800 error = lpfc_sli4_pci_mem_setup(phba);
14801 if (error) {
14808 error = lpfc_sli4_driver_resource_setup(phba);
14809 if (error) {
14819 error = lpfc_setup_driver_resource_phase2(phba);
14820 if (error) {
14847 error = -ENODEV;
14861 error = lpfc_create_shost(phba);
14862 if (error) {
14868 shost = lpfc_shost_from_vport(vport); /* save shost for error cleanup */
14871 error = lpfc_alloc_sysfs_attr(vport);
14872 if (error) {
14882 error = -ENODEV;
14903 error = lpfc_nvme_create_localport(vport);
14904 if (error) {
14907 "failed, error x%x\n",
14908 error);
14943 return error;
15099 int error;
15108 error = PTR_ERR(phba->worker_thread);
15111 "thread: error=x%x.\n", error);
15112 return error;
15214 * lpfc_io_error_detected_s4 - Method for handling PCI I/O error to SLI-4 device
15218 * This routine is called from the PCI subsystem for error handling to device
15220 * after a PCI bus error affecting this device has been detected. When this
15238 /* Non-fatal error, prepare for recovery */
15243 /* Fatal error, prepare for slot reset */
15248 "2832 Already handling PCI error "
15262 "2825 Unknown PCI error state: x%x\n", state);
15272 * This routine is called from the PCI subsystem for error handling to device
15275 * PCI subsystem error recovery, after the driver returns
15276 * PCI_ERS_RESULT_NEED_RESET, the PCI subsystem will perform proper error
15344 * This routine is called from the PCI subsystem for error handling to device
15345 * with SLI-4 interface spec. It is called when kernel error recovery tells
15347 * error recovery. After this call, traffic can start to flow from this device
15511 * lpfc_io_error_detected - lpfc method for handling PCI I/O error
15515 * This routine is registered to the PCI subsystem for error handling. This
15516 * function is called by the PCI subsystem after a PCI bus error affecting
15518 * the action to the proper SLI-3 or SLI-4 device error detected handling
15519 * routine, which will perform the proper error detected operation.
15556 * This routine is registered to the PCI subsystem for error handling. This
15593 * This routine is registered to the PCI subsystem for error handling. It
15594 * is called when kernel error recovery tells the lpfc driver that it is
15595 * OK to resume normal PCI operation after PCI bus error recovery. When
15723 int error = 0;
15728 error = misc_register(&lpfc_mgmt_dev);
15729 if (error)
15731 "misc_register returned with status %d", error);
15733 error = -ENOMEM;
15754 error = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN,
15757 if (error < 0)
15759 lpfc_cpuhp_state = error;
15761 error = pci_register_driver(&lpfc_driver);
15762 if (error)
15765 return error;
15775 return error;