public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "René Rebe" <rene@exactcode.de>
To: Himanshu Madhani <himanshu.madhani@oracle.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] fix qla2xxx regression on sparc64
Date: Fri, 21 Aug 2020 16:47:22 +0200	[thread overview]
Message-ID: <EC166A40-AA26-47F7-974B-E81C213C9861@exactcode.de> (raw)
In-Reply-To: <153E6E8E-1C07-42C5-B847-010DA7B12206@oracle.com>

Hey,

> On 21. Aug 2020, at 15:49, Himanshu Madhani <himanshu.madhani@oracle.com> wrote:
> 
> Hi Rene,
> 
> 
>> On Aug 21, 2020, at 7:28 AM, Rene Rebe <rene@exactcode.com> wrote:
>> 
>> 
>> Commit 9a50aaefc1b896e734bf7faf3d085f71a360ce97 in 2014 broke
>> qla2xxx on sparc64, e.g. as in the Sun Blade 1000 / 2000.
>> Unbreak by fixing endianess in nvram firmware defaults
>> initialization.
>> 
> 
> I could not find this commit 9a50aaefc1b896e734bf7faf3d085f71a360ce97 in Linus or SCSI tree. 

Did I copy this wrong?
	https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/scsi/qla2xxx?id=9a50aaefc1b896e734bf7faf3d085f71a360ce97

> Can you please provide details of the commit which introduced this regression.

See above, there was plenty of more reworks and code shuffling, and the quoted commit is also a condensed changes of other /14 series and other scsi work, …

Have a nice weekend,
	René

> Also when you
> resubmit this patch please use Fixes tag. See documentation here for the correct format.
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst
> 
>> Signed-off-by: René Rebe <rene@exactcode.de>
>> 
>> --- linux-5.8/drivers/scsi/qla2xxx/qla_init.c.vanilla	2020-08-21 09:55:18.600926737 +0200
>> +++ linux-5.8/drivers/scsi/qla2xxx/qla_init.c	2020-08-21 09:57:35.992926885 +0200
>> @@ -4603,18 +4603,18 @@
>> 			nv->firmware_options[1] = BIT_7 | BIT_5;
>> 			nv->add_firmware_options[0] = BIT_5;
>> 			nv->add_firmware_options[1] = BIT_5 | BIT_4;
>> -			nv->frame_payload_size = 2048;
>> +			nv->frame_payload_size = cpu_to_le16(2048);
>> 			nv->special_options[1] = BIT_7;
>> 		} else if (IS_QLA2200(ha)) {
>> 			nv->firmware_options[0] = BIT_2 | BIT_1;
>> 			nv->firmware_options[1] = BIT_7 | BIT_5;
>> 			nv->add_firmware_options[0] = BIT_5;
>> 			nv->add_firmware_options[1] = BIT_5 | BIT_4;
>> -			nv->frame_payload_size = 1024;
>> +			nv->frame_payload_size = cpu_to_le16(1024);
>> 		} else if (IS_QLA2100(ha)) {
>> 			nv->firmware_options[0] = BIT_3 | BIT_1;
>> 			nv->firmware_options[1] = BIT_5;
>> -			nv->frame_payload_size = 1024;
>> +			nv->frame_payload_size = cpu_to_le16(1024);
>> 		}
>> 
>> 		nv->max_iocb_allocation = cpu_to_le16(256);
>> 
>> -- 
>> René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
>> https://urldefense.com/v3/__https://exactcode.com__;!!GqivPVa7Brio!KU2euUgVJIRXqzU0RdhkxvMdgtotnSUfdk9KmK73n26lyGlTMhmSvyadcgXXxI-1EV4u$  | https://urldefense.com/v3/__https://t2sde.org__;!!GqivPVa7Brio!KU2euUgVJIRXqzU0RdhkxvMdgtotnSUfdk9KmK73n26lyGlTMhmSvyadcgXXxAAjd8CY$  | https://urldefense.com/v3/__https://rene.rebe.de__;!!GqivPVa7Brio!KU2euUgVJIRXqzU0RdhkxvMdgtotnSUfdk9KmK73n26lyGlTMhmSvyadcgXXxDUjMdad$ 
> 
> --
> Himanshu Madhani	 Oracle Linux Engineering
> 

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com
 https://exactscan.com | https://ocrkit.com | https://t2sde.org | https://rene.rebe.de


  reply	other threads:[~2020-08-21 15:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21 12:28 [PATCH] fix qla2xxx regression on sparc64 Rene Rebe
2020-08-21 13:49 ` Himanshu Madhani
2020-08-21 14:47   ` René Rebe [this message]
2020-08-21 15:17     ` Himanshu Madhani
2020-08-21 17:49       ` René Rebe
2020-08-21 18:00         ` Himanshu Madhani
2020-08-21 20:21           ` René Rebe
2020-08-21 20:36             ` Himanshu Madhani
2020-08-21 20:55 ` Bart Van Assche
  -- strict thread matches above, loose matches on Subject: below --
2020-08-22 11:59 Rene Rebe
2020-08-22 15:53 ` Bart Van Assche

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=EC166A40-AA26-47F7-974B-E81C213C9861@exactcode.de \
    --to=rene@exactcode.de \
    --cc=himanshu.madhani@oracle.com \
    --cc=linux-scsi@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox