All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tbogendoerfer@suse.de>
To: Magnus Lindholm <linmag7@gmail.com>
Cc: "Maciej W. Rozycki" <macro@orcam.me.uk>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	linux-scsi@vger.kernel.org
Subject: Re: qla1280 driver for qlogic-1040 on alpha
Date: Tue, 12 Nov 2024 14:52:53 +0100	[thread overview]
Message-ID: <20241112145253.7aa5c2ab@samweis> (raw)
In-Reply-To: <CA+=Fv5Q5Q1BUscm2Tua9y1b=2f33+3SkULNwe0gKQpJFL1PLig@mail.gmail.com>

On Tue, 5 Nov 2024 20:24:58 +0100
Magnus Lindholm <linmag7@gmail.com> wrote:

> >  Thomas, Magnus, can you please check what hardware revision is actually
> > reported by your devices?  Also a dump of the PCI configuration space
> > would be very useful, or at the very least the value of the PCI Revision
> > ID register, which is independent from the hardware revision reported via
> > the device I/O registers.  
> 
> Below is some info from my Alpha ES40 with an ISP1040. I've added a
> printout of hardware revision number to the driver, as previously
> pointed out the revision numbers in qla1280.h is wrong so I've used
> info from NetBSD
> rev5 is a "B" which matches what is actually printed on the chip as
> well. This seems to be consistent with PCI Revision ID register.
> 
> output from driver:
> 
> qla1280: QLA1040 found on PCI bus 2, dev 4
> revision=5 <-- printout of cfg0 register 5 = rev B
> QLogic QLA1040 PCI to SCSI Host Adapter
> Firmware version:  7.65.06, Driver version 3.27.1
> 
> #lspci -s 0001:02:04.0 -vvv
> 0001:02:04.0 SCSI storage controller: QLogic Corp. ISP1020/1040
> Fast-wide SCSI (rev 05)
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-  
>         Latency: 248, Cache Line Size: 64 bytes
>         Interrupt: pin A routed to IRQ 52
>         Region 0: I/O ports at 200008000 [size=256]
>         Region 1: Memory at 209050000 (32-bit, non-prefetchable) [size=4K]
>         Expansion ROM at 209040000 [disabled] [size=64K]
>         Kernel driver in use: qla1280
>         Kernel modules: qla1280

0000:00:00.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 05)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 256 bytes
	Interrupt: pin A routed to IRQ 8
	Region 0: I/O ports at 1f200000 [size=256]
	Region 1: Memory at 1f200000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at 1f210000 [disabled] [size=64K]
	Kernel driver in use: qla1280

0000:00:01.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 05)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 256 bytes
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at 1f400000 [size=256]
	Region 1: Memory at 1f400000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at 1f410000 [disabled] [size=64K]
	Kernel driver in use: qla1280

qla1280: QLA1040 found on PCI bus 0, dev 0
qla1280 0000:00:00.0: enabling device (0006 -> 0007)
random: crng init done
cfg_0 5
scsi(0:0): Resetting SCSI BUS
scsi host0: QLogic QLA1040 PCI to SCSI Host Adapter
       Firmware version:  7.65.06, Driver version 3.27.1
qla1280: QLA1040 found on PCI bus 0, dev 1
qla1280 0000:00:01.0: enabling device (0006 -> 0007)
scsi 0:0:1:0: Direct-Access     FUJITSU  MAW3073NC        0104 PQ: 0 ANSI: 3
scsi(0:0:1:0): Sync: period 10, offset 12, Wide, Tagged queuing: depth 31
scsi 0:0:2:0: Direct-Access     SEAGATE  SX118202LS       B808 PQ: 0 ANSI: 2
scsi(0:0:2:0): Sync: period 10, offset 12, Wide, Tagged queuing: depth 31
cfg_0 5
scsi(1:0): Resetting SCSI BUS

So the Octane 1040 chips are the same revision and working with 64bit addressing.

Thomas.

-- 
SUSE Software Solutions Germany GmbH
HRB 36809 (AG Nürnberg)
Geschäftsführer: Ivo Totev, Andrew McDonald, Werner Knoblich

  reply	other threads:[~2024-11-12 13:53 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-19 17:37 qla1280 driver for qlogic-1040 on alpha Magnus Lindholm
2024-10-25 20:00 ` Martin K. Petersen
2024-10-25 20:48   ` Magnus Lindholm
2024-10-27 23:05     ` Magnus Lindholm
2024-10-29  2:18       ` Martin K. Petersen
2024-10-29  6:51         ` Magnus Lindholm
2024-10-30  1:02         ` Maciej W. Rozycki
2024-10-30  7:52           ` Magnus Lindholm
2024-10-30  9:25             ` Thomas Bogendoerfer
2024-10-30 11:50               ` Magnus Lindholm
2024-10-31  7:37                 ` Maciej W. Rozycki
2024-10-31 10:35                   ` Magnus Lindholm
2024-10-31 17:30                     ` Maciej W. Rozycki
2024-10-31 22:19                       ` Magnus Lindholm
2024-11-01  2:36                         ` Maciej W. Rozycki
2024-11-04  7:41                       ` Christoph Hellwig
2024-11-04 20:49                         ` Magnus Lindholm
2024-11-04 21:52                           ` Maciej W. Rozycki
2024-11-05  1:40                             ` Martin K. Petersen
2024-11-05  8:34                               ` Thomas Bogendoerfer
2024-11-05 11:17                                 ` Magnus Lindholm
2024-11-05 18:16                                 ` Maciej W. Rozycki
2024-11-05 19:24                                   ` Magnus Lindholm
2024-11-12 13:52                                     ` Thomas Bogendoerfer [this message]
2024-11-15 23:39                                       ` Magnus Lindholm
2024-11-25 19:55                                         ` Maciej W. Rozycki
2024-11-26 21:33                                           ` Magnus Lindholm
2025-01-27 16:30                                             ` Magnus Lindholm
2025-04-04 21:35                                               ` Magnus Lindholm
2024-11-05 19:56                                   ` Martin K. Petersen
2024-11-05 21:06                                     ` Magnus Lindholm
2024-11-05 21:33                                     ` Thomas Bogendoerfer
2024-11-09 18:28                                       ` Magnus Lindholm
2024-11-10 15:59                                         ` Maciej W. Rozycki
2024-11-10 17:41                                           ` Magnus Lindholm
2024-11-04 21:54                         ` Maciej W. Rozycki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241112145253.7aa5c2ab@samweis \
    --to=tbogendoerfer@suse.de \
    --cc=linmag7@gmail.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=macro@orcam.me.uk \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.