Re: [PATCH] megaraid_sas: Fix probing cards without io port

2016-08-10 Thread Martin K. Petersen
> "Yinghai" == Yinghai Lu writes: Yinghai> Found one megaraid_sas HBA probe fails, [ 187.235190] scsi Yinghai> host2: Avago SAS based MegaRAID driver [ 191.112365] Yinghai> megaraid_sas :89:00.0: BAR 0: can't reserve [io Yinghai> 0x-0x00ff] [ 191.120548] megaraid_sas :89:00.0: IO

RE: [PATCH] megaraid_sas: Fix probing cards without io port

2016-08-09 Thread Kashyap Desai
> > that does not io port resource allocated from BIOS, and kernel can not > > assign one as io port shortage. > > > > The driver is only looking for MEM, and should not fail. > > > It turns out megasas_init_fw() etc are using bar index as mask. > > index 1 is used as mask 1, so that pci_request_s

Re: [PATCH] megaraid_sas: Fix probing cards without io port

2016-08-08 Thread Martin K. Petersen
> "Yinghai" == Yinghai Lu writes: > Found one megaraid_sas HBA probe fails, > > [ 187.235190] scsi host2: Avago SAS based MegaRAID driver > [ 191.112365] megaraid_sas :89:00.0: BAR 0: can't reserve [io > 0x-0x00ff] > [ 191.120548] megaraid_sas :89:00.0: IO memory region busy

[PATCH] megaraid_sas: Fix probing cards without io port

2016-08-06 Thread Yinghai Lu
Found one megaraid_sas HBA probe fails, [ 187.235190] scsi host2: Avago SAS based MegaRAID driver [ 191.112365] megaraid_sas :89:00.0: BAR 0: can't reserve [io 0x-0x00ff] [ 191.120548] megaraid_sas :89:00.0: IO memory region busy! and the card has resource like, [ 125.097714] pc