https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273263

Joerg Pulz <joerg.p...@frm2.tum.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i...@freebsd.org

--- Comment #12 from Joerg Pulz <joerg.p...@frm2.tum.de> ---
I've finished my firmwae/NVRAM handling rework for now.

See pull request: https://github.com/freebsd/freebsd-src/pull/877

Runtime tested and approved to work on real hardware with:
  - QLogic ISP 2532 (QLogic QLE2560 8Gb FC Adapter)
  - QLogic ISP 2722 (QLogic QLE2690 16Gb FC Adapter)
  - QLogic ISP 2812 (QLogic QLE2772 32Gbit 2Port FC Adapter)

As soon as I can get my hands on a 26xx based card (Arne???) I will verify this
one too and provide feedback here.

Output using hint.isp.0.debug="0xf" and hint.isp.0.fwload_disable NOT set:

QLogic ISP 2532:
isp0: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x8000-0x80ff mem
0xb8900000-0xb8903fff,0xb8800000-0xb88fffff at device 0.0 numa-domain 0 on pci9
isp0: FLT[FLT]: boot=0x0 fw=0x20000 vpd_nvram=0x48000 vpd=0x48000 nvram=0x48080
fdt=0x50000 flt=0x50400 npiv=0x5c000 fcp_prif_cfg=0x3c000
isp0: Loaded ispfw(4) firmware isp_2500
isp0: Firmware revision (ispfw) 8.8.207 (109095).
isp0: Board Type 2532, Chip Revision 0x2, loaded F/W Revision 8.8.207
isp0: FW Attributes Lower: Class2 MultiID T10CRC MSIX VP0_Decoupling
isp0: FW Attributes Upper: NPMOFF
isp0: FW Ext. Attributes Lower:
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set

QLogic ISP 2722:
isp0: <Qlogic ISP 2722 PCI FC Adapter> mem
0xb8902000-0xb8902fff,0xb8900000-0xb8901fff,0xb8800000-0xb88fffff at device 0.0
numa-domain 0 on pci9
isp0: FLT[FLT]: boot=0x200000 fw=0x240000 vpd_nvram=0x270000 vpd=0x270000
nvram=0x270080 fdt=0xfc000 flt=0xfc400 npiv=0x2a8000 fcp_prif_cfg=0x0
isp0: Loaded ispfw(4) firmware isp_2700
isp0: Firmware revision (ispfw) 9.12.0 (785ad0d5).
isp0: Primary image is active
isp0: Loading primary firmware image.
isp0: Firmware revision (flash) 8.8.231 (785ad0d5).
isp0: Loading RISC with newer ispfw(4) firmware
isp0: Maximum supported speed: 16Gbit/s
isp0: Board Type 2700, Chip Revision 0x1, loaded F/W Revision 9.12.0
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling HotFW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst) (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ SCM NVMe-2 (unknown 0xc200)
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set
isp0: Primary aux image not addressed
isp0: Secondary aux image not addressed

QLogic ISP 2812:
isp0: <Qlogic ISP 2812 PCI FC Adapter> mem
0xeea05000-0xeea05fff,0xeea02000-0xeea03fff,0xee900000-0xee9fffff at device 0.0
numa-domain 1 on pci14
isp0: FLT[FLT]: boot=0x240000 fw=0xf0000 vpd_nvram=0x300000 vpd=0x300000
nvram=0x300080 fdt=0x4000 flt=0x4400 npiv=0x320000 fcp_prif_cfg=0x338000
isp0: Loaded ispfw(4) firmware isp_2800
isp0: Firmware revision (ispfw) 9.12.1 (785ad0d5).
isp0: Secondary image is active
isp0: Loading secondary firmware image.
isp0: Firmware revision (flash) 9.4.1 (785ad0d5).
isp0: Loading RISC with newer ispfw(4) firmware
isp0: Maximum supported speed: 32Gbit/s
isp0: Board Type 2800, Chip Revision 0x2, loaded F/W Revision 9.12.1
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling HotFW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst) (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ EDIF SCM NVMe-2 (unknown 0xc600)
isp0: FW Ext. Attributes Upper: (unknown 0x0001)
isp0: 2048 max I/O command limit set
isp0: Secondary aux image is active
isp0: Loading primary NVRAM image


Output using hint.isp.0.debug="0xf" and hint.isp.0.fwload_disable="1":

QLogic ISP 2532:
isp0: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x8000-0x80ff mem
0xb8900000-0xb8903fff,0xb8800000-0xb88fffff at device 0.0 numa-domain 0 on pci9
isp0: FLT[FLT]: boot=0x0 fw=0x20000 vpd_nvram=0x48000 vpd=0x48000 nvram=0x48080
fdt=0x50000 flt=0x50400 npiv=0x5c000 fcp_prif_cfg=0x3c000
isp0: Skipping ispfw(4) firmware download
isp0: Board Type 2532, Chip Revision 0x2, resident F/W Revision 8.8.207
isp0: FW Attributes Lower: Class2 MultiID T10CRC MSIX VP0_Decoupling
isp0: FW Attributes Upper: NPMOFF
isp0: FW Ext. Attributes Lower:
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set

QLogic ISP 2722:
isp0: <Qlogic ISP 2722 PCI FC Adapter> mem
0xb8902000-0xb8902fff,0xb8900000-0xb8901fff,0xb8800000-0xb88fffff at device 0.0
numa-domain 0 on pci9
isp0: FLT[FLT]: boot=0x200000 fw=0x240000 vpd_nvram=0x270000 vpd=0x270000
nvram=0x270080 fdt=0xfc000 flt=0xfc400 npiv=0x2a8000 fcp_prif_cfg=0x0
isp0: Primary image is active
isp0: Loading primary firmware image.
isp0: Firmware revision (flash) 8.8.231 (785ad0d5).
isp0: Skipping ispfw(4) firmware download
isp0: Maximum supported speed: 16Gbit/s
isp0: Board Type 2700, Chip Revision 0x1, resident F/W Revision 8.8.231
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling HotFW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst)
 (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ (unknown 0x0200)
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set
isp0: Primary aux image not addressed
isp0: Secondary aux image not addressed

QLogic ISP 2812:
isp0: <Qlogic ISP 2812 PCI FC Adapter> mem
0xeea05000-0xeea05fff,0xeea02000-0xeea03fff,0xee900000-0xee9fffff at device 0.0
numa-domain 1 on pci14
isp0: FLT[FLT]: boot=0x240000 fw=0xf0000 vpd_nvram=0x300000 vpd=0x300000
nvram=0x300080 fdt=0x4000 flt=0x4400 npiv=0x320000 fcp_prif_cfg=0x338000
isp0: Secondary image is active
isp0: Loading secondary firmware image.
isp0: Firmware revision (flash) 9.4.1 (785ad0d5).
isp0: Skipping ispfw(4) firmware download
isp0: Maximum supported speed: 32Gbit/s
isp0: Board Type 2800, Chip Revision 0x2, resident F/W Revision 9.4.1
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling HotFW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst) (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ EDIF SCM (unknown 0x0600)
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set
isp0: Secondary aux image is active
isp0: Loading primary NVRAM image


For completeness
Output using hint.isp.0.debug="0x3f" and hint.isp.0.fwload_disable NOT set:

QLogic ISP 2722:
isp0: <Qlogic ISP 2722 PCI FC Adapter> mem
0xb8902000-0xb8902fff,0xb8900000-0xb8901fff,0xb8800000-0xb88fffff at device 0.0
numa-domain 0 on pci9
isp0: set PCI latency to 64
isp0: request area @ 0x6ccd5a000/0x80000
isp0: response area @ 0x6ccdda000/0x10000
isp0: FLTL[DEF]: 0xfc400
isp0: FLT[DEF]: version=0x1 length=0x448(1096) checksum=0x6e23
isp0: FLT[DEF]: regions=68
isp0: FLT[0xce]: start=0x0 end=0x3fff size=0x4000 attribute=0x0
isp0: FLT[0xd3]: start=0x4000 end=0x7fff size=0x4000 attribute=0x0
isp0: FLT[0xd1]: start=0x8000 end=0xffff size=0x8000 attribute=0x0
isp0: FLT[0xcf]: start=0x10000 end=0x17fff size=0x8000 attribute=0x0
isp0: FLT[0x13]: start=0x18000 end=0x1ffff size=0x8000 attribute=0x0
isp0: FLT[0xd2]: start=0x20000 end=0x27fff size=0x8000 attribute=0x0
isp0: FLT[0x66]: start=0x28000 end=0x2ffff size=0x8000 attribute=0x0
isp0: FLT[0x95]: start=0x30000 end=0x33fff size=0x4000 attribute=0x0
isp0: FLT[0x96]: start=0x34000 end=0x37fff size=0x4000 attribute=0x0
isp0: FLT[0xdc]: start=0x38000 end=0xdffff size=0xa8000 attribute=0x0
isp0: FLT[0x82]: start=0xe0000 end=0xe3fff size=0x4000 attribute=0x0
isp0: FLT[0xdd]: start=0xe4000 end=0xfbfff size=0x18000 attribute=0x0
isp0: FLT[0x1a]: start=0xfc000 end=0xfc01f size=0x20 attribute=0x0
isp0: FLT[0x1b]: start=0xfc020 end=0xfc3ff size=0x3e0 attribute=0x0
isp0: FLT[0x1c]: start=0xfc400 end=0xfc7ff size=0x400 attribute=0x0
isp0: FLT[0x26]: start=0xfc800 end=0xfcbff size=0x400 attribute=0x0
isp0: FLT[0xde]: start=0xfcc00 end=0x12ffff size=0x33400 attribute=0x0
isp0: FLT[0x84]: start=0x130000 end=0x137fff size=0x8000 attribute=0x0
isp0: FLT[0xf0]: start=0x138000 end=0x13bfff size=0x4000 attribute=0x0
isp0: FLT[0xdf]: start=0x13c000 end=0x13ffff size=0x4000 attribute=0x0
isp0: FLT[0xf1]: start=0x140000 end=0x147fff size=0x8000 attribute=0x0
isp0: FLT[0x67]: start=0x148000 end=0x14ffff size=0x8000 attribute=0x0
isp0: FLT[0xe0]: start=0x150000 end=0x1dffff size=0x90000 attribute=0x0
isp0: FLT[0x9]: start=0x1e0000 end=0x1effff size=0x10000 attribute=0x0
isp0: FLT[0xa]: start=0x1f0000 end=0x1fffff size=0x10000 attribute=0x0
isp0: FLT[0x7]: start=0x200000 end=0x20ffff size=0x10000 attribute=0x0
isp0: FLT[0x11]: start=0x210000 end=0x21ffff size=0x10000 attribute=0x0
isp0: FLT[0xe1]: start=0x220000 end=0x23ffff size=0x20000 attribute=0x0
isp0: FLT[0x1]: start=0x240000 end=0x25ffff size=0x20000 attribute=0x2
isp0: FLT[0x9e]: start=0x260000 end=0x267fff size=0x8000 attribute=0x0
isp0: FLT[0x9f]: start=0x268000 end=0x26ffff size=0x8000 attribute=0x0
isp0: FLT[0x14]: start=0x270000 end=0x27007f size=0x80 attribute=0x0
isp0: FLT[0x15]: start=0x270080 end=0x2700ff size=0x80 attribute=0x0
isp0: FLT[0x16]: start=0x270100 end=0x27017f size=0x80 attribute=0x0
isp0: FLT[0x17]: start=0x270180 end=0x2701ff size=0x80 attribute=0x0
isp0: FLT[0xd4]: start=0x270200 end=0x27027f size=0x80 attribute=0x0
isp0: FLT[0xd5]: start=0x270280 end=0x2702ff size=0x80 attribute=0x0
isp0: FLT[0xd6]: start=0x270300 end=0x27037f size=0x80 attribute=0x0
isp0: FLT[0xd7]: start=0x270380 end=0x2703ff size=0x80 attribute=0x0
isp0: FLT[0x3e]: start=0x270400 end=0x273fff size=0x3c00 attribute=0x0
isp0: FLT[0xba]: start=0x274000 end=0x27bfff size=0x8000 attribute=0x0
isp0: FLT[0x50]: start=0x27c000 end=0x27c07f size=0x80 attribute=0x0
isp0: FLT[0x51]: start=0x27c080 end=0x27c0ff size=0x80 attribute=0x0
isp0: FLT[0x52]: start=0x27c100 end=0x27c17f size=0x80 attribute=0x0
isp0: FLT[0x53]: start=0x27c180 end=0x27c1ff size=0x80 attribute=0x0
isp0: FLT[0xd8]: start=0x27c200 end=0x27c27f size=0x80 attribute=0x0
isp0: FLT[0xd9]: start=0x27c280 end=0x27c2ff size=0x80 attribute=0x0
isp0: FLT[0xda]: start=0x27c300 end=0x27c37f size=0x80 attribute=0x0
isp0: FLT[0xdb]: start=0x27c380 end=0x27c3ff size=0x80 attribute=0x0
isp0: FLT[0x3f]: start=0x27c400 end=0x27ffff size=0x3c00 attribute=0x0
isp0: FLT[0x1d]: start=0x280000 end=0x2803ff size=0x400 attribute=0x0
isp0: FLT[0x1f]: start=0x280400 end=0x2807ff size=0x400 attribute=0x0
isp0: FLT[0xf2]: start=0x280800 end=0x280bff size=0x400 attribute=0x0
isp0: FLT[0xf3]: start=0x280c00 end=0x280fff size=0x400 attribute=0x0
isp0: FLT[0xe3]: start=0x281000 end=0x283fff size=0x3000 attribute=0x0
isp0: FLT[0x21]: start=0x284000 end=0x287fff size=0x4000 attribute=0x0
isp0: FLT[0x2]: start=0x288000 end=0x2a7fff size=0x20000 attribute=0x2
isp0: FLT[0x29]: start=0x2a8000 end=0x2a9fff size=0x2000 attribute=0x0
isp0: FLT[0x2a]: start=0x2aa000 end=0x2abfff size=0x2000 attribute=0x0
isp0: FLT[0x5e]: start=0x2ac000 end=0x2adfff size=0x2000 attribute=0x0
isp0: FLT[0x5f]: start=0x2ae000 end=0x2affff size=0x2000 attribute=0x0
isp0: FLT[0x2f]: start=0x2b0000 end=0x2cffff size=0x20000 attribute=0x0
isp0: FLT[0xe5]: start=0x2d0000 end=0x2effff size=0x20000 attribute=0x0
isp0: FLT[0xc5]: start=0x2f0000 end=0x2f3fff size=0x4000 attribute=0x0
isp0: FLT[0xa0]: start=0x2f4000 end=0x2f40ff size=0x100 attribute=0x0
isp0: FLT[0xa1]: start=0x2f4100 end=0x2f7fff size=0x3f00 attribute=0x0
isp0: FLT[0xc1]: start=0x2f8000 end=0x3fffff size=0x108000 attribute=0x0
isp0: FLT[0xff]: start=0x0 end=0x3fffff size=0x400000 attribute=0x0
isp0: FLT[FLT]: boot=0x200000 fw=0x240000 vpd_nvram=0x270000 vpd=0x270000
nvram=0x270080 fdt=0xfc000 flt=0xfc400 npiv=0x2a8000 fcp_prif_cfg=0x0
isp0: Loaded ispfw(4) firmware isp_2700
isp0: Firmware revision (ispfw) 9.12.0 (785ad0d5).
isp0: Primary image status: mask=0x01 gen=0x0001 ver=1.0 map=0x0 sum=0x04310421
sig=0xfacefade
isp0: Primary image is active
isp0: Secondary image status: mask=0x00 gen=0x0000 ver=1.0 map=0x0
sum=0x04310522 sig=0xfacefade
isp0: active image primary (1)
isp0: Loading primary firmware image.
isp0: FW: Loading firmware from flash (0x240000).
isp0: Firmware revision (flash) 8.8.231 (785ad0d5).
isp0: Loading RISC with newer ispfw(4) firmware
isp0: LOAD RISC RAM 85888 (0x14f80) words at load address 0x100000
isp0: LOAD RISC RAM 23680 (0x5c80) words at load address 0x122000
isp0: Firmware ability mask: 0x1080010
isp0: Maximum supported speed: 16Gbit/s
isp0: Board Type 2700, Chip Revision 0x1, loaded F/W Revision 9.12.0
isp0: FW Attributes Lower: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling HotFW
isp0: FW Attributes Upper: EXMOFF NPMOFF DIFCHOP NVMe(updated) NVMe(first
burst) (unknown 0x3800)
isp0: FW Ext. Attributes Lower: ASICTMP ATIOMQ SCM NVMe-2 (unknown 0xc200)
isp0: FW Ext. Attributes Upper:
isp0: 2048 max I/O command limit set
isp0: Primary aux image not addressed
isp0: Secondary aux image not addressed
isp0: aux images active: BCFG=0 VPD/NVR=0 NPIV0/1=0 NPIV2/3=0, NVME=0
isp0: NVRAM 0x0000000000000000 0x210034800d3ebaac maxframelen 2048
isp0: NVRAM loopid 0 fwopt1 0x20c6 fwopt2 0x26 fwopt3 0x4000
isp0: Chan 0 0x200034800d3ebaac/0x210034800d3ebaac Role Initiator
isp0: Setting ICB Node 0x200034800d3ebaac Port 0x210034800d3ebaac
isp0: isp_init: fwopt1 0x60c6 fwopt2 0x4401026 fwopt3 0x4022
isp0: isp_init: rqst 00000006ccd5a000 rsp 00000006ccdda000
isp0: isp_init:
isp0: 0x00000000: 01 00 00 00 00 08 00 00 00 00 00 00 21 00 34 80
isp0: 0x00000010: 0d 3e ba ac 20 00 34 80 0d 3e ba ac 00 00 00 00
isp0: 0x00000020: 03 00 00 00 00 04 00 20 00 00 00 00 00 a0 d5 cc
isp0: 0x00000030: 06 00 00 00 00 a0 dd cc 06 00 00 00 00 00 00 00
isp0: 0x00000040: 00 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00
isp0: 0x00000050: 00 00 00 00 00 00 00 00 00 00 0a 00 c6 60 00 00
isp0: 0x00000060: 26 10 40 04 22 40 00 00 00 00 00 00 00 00 00 00
isp0: 0x00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
isp0: INIT F/W from 000000010a0e2000

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to