All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: John David Anglin <dave.anglin@bell.net>,
	Sven Schnelle <svens@stackframe.org>,
	Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: Carlo Pisani <carlojpisani@gmail.com>,
	linux-parisc@vger.kernel.org,
	James Bottomley <James.Bottomley@hansenpartnership.com>
Subject: Re: [PATCH v3] parisc: Fix crash due alternative coding for NP iopdir_fdc bit
Date: Wed, 29 May 2019 16:15:03 +0200	[thread overview]
Message-ID: <61253aef-2571-f8bb-756a-bf2018e533e4@gmx.de> (raw)
In-Reply-To: <f782e9cd-0824-6c29-09bc-986813dd1e56@bell.net>

On 28.05.19 20:40, John David Anglin wrote:
> On 2019-05-28 1:39 p.m., Sven Schnelle wrote:
>> Hi,
>>
>> On Tue, May 28, 2019 at 07:24:29PM +0200, Rolf Eike Beer wrote:
>>> Am Dienstag, 28. Mai 2019, 19:06:48 CEST schrieb John David Anglin:
>>>> On 2019-05-28 11:38 a.m., Sven Schnelle wrote:
>>>>> Interesting. Now that you mention it i see that my C3750 reports the same.
>>>>> Google returned the following page
>>>>> https://support.hpe.com/hpsc/swd/public/detail?swItemId=PF_CCJ70020
>>>>>
>>>>> Which is 2.0, and only mentions "C3650/C3700/C3750/J6700/J6750 firmware"
>>>>> So maybe these machines have NP set, and machines "below" (like C3600)
>>>>> don't have it set.
>>>>>
>>>>> I wonder what happens if you try to flash a 5.0 firmware to such a box.
>>>>
>>>> From what I see, the "C3650/C3700/C3750/J6700/J6750" and "HP 9000 Model
>>>> B1000/C3000/J5000/J7000" use different firmware.
>>>
>>> Which makes sense as the former have use a 8600 CPU, while the latter have
>>> 8700 ones.
>>
>> Exactly. And as:
>>
>> a) All C3600 PDC versions clear the NP bit
>> b) All C37XX/J5000 PDC version set the NP bit
>>
>> i don't think there's some bug in the PDC. I would guess that the patch Carlo
>> reported to fix issues is just hiding the real problem. Would be interesting
>> to run Carlo's Test on a C37XX.
>
> Probably, hardware cache coherent I/O is not implemented correctly for Elroy based systems.
> https://www.hpl.hp.com/hpjournal/96feb/feb96a6.pdf
> Does it work on C360?

I slowly start to get confused...
Just thinking about another possibility: Maybe we can rely on the value of the
NP iopdir_fdc bit only on machines with >= PA8700 CPUs?
For older machines (which would need opdir_fdc) HP-UX or other operating
systems decides on the found CPU.
This would explain why it's not  set on Carlo's C3600, and if Sven's C240
(with a PA8200 CPU) doesn't has the bit set too, then this could explain this theory.

Helge

  reply	other threads:[~2019-05-29 14:15 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-27 19:20 [PATCH v3] parisc: Fix crash due alternative coding for NP iopdir_fdc bit Helge Deller
2019-05-27 19:35 ` Carlo Pisani
2019-05-27 20:13   ` John David Anglin
2019-05-27 20:22     ` Sven Schnelle
2019-05-27 20:49       ` John David Anglin
2019-05-27 20:15   ` Sven Schnelle
2019-05-28 11:06     ` Sven Schnelle
2019-05-28 11:28       ` Rolf Eike Beer
2019-05-28 15:41         ` Sven Schnelle
2019-05-28 15:52           ` Helge Deller
     [not found]       ` <e81b7ae4-3126-5fda-58e4-4a83bd4fcfcf@bell.net>
2019-05-28 15:11         ` Helge Deller
2019-05-28 15:38           ` Sven Schnelle
2019-05-28 17:06             ` John David Anglin
2019-05-28 17:24               ` Rolf Eike Beer
2019-05-28 17:39                 ` Sven Schnelle
2019-05-28 18:40                   ` John David Anglin
2019-05-29 14:15                     ` Helge Deller [this message]
2019-05-29 17:01                       ` John David Anglin
2019-05-30 19:55                       ` Sven Schnelle
2019-05-30 20:59                         ` Sven Schnelle
2019-05-31 12:23                           ` John David Anglin
2019-06-02 10:29                             ` Carlo Pisani
2019-06-02 14:45                               ` John David Anglin
2019-06-02 14:38                             ` John David Anglin
2019-06-02 16:12                               ` John David Anglin
2019-05-27 19:41 ` John David Anglin
2019-05-27 20:11   ` Helge Deller
2019-05-27 20:16     ` Carlo Pisani
2019-05-27 20:45     ` John David Anglin

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=61253aef-2571-f8bb-756a-bf2018e533e4@gmx.de \
    --to=deller@gmx.de \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=carlojpisani@gmail.com \
    --cc=dave.anglin@bell.net \
    --cc=eike-kernel@sf-tec.de \
    --cc=linux-parisc@vger.kernel.org \
    --cc=svens@stackframe.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 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.