From: John David Anglin <dave.anglin@bell.net>
To: Alex Ivanov <gnidorah@p0n4ik.tk>
Cc: "linux-parisc@vger.kernel.org" <linux-parisc@vger.kernel.org>
Subject: Re: [PATCH] parisc: fix LMMIO mismatch between PAT length and MASK register
Date: Wed, 10 Jul 2013 16:28:56 -0400 [thread overview]
Message-ID: <51DDC408.6040406@bell.net> (raw)
In-Reply-To: <216411373487566@web6f.yandex.ru>
On 7/10/2013 4:19 PM, Alex Ivanov wrote:
> Sorry for not CC'ing to the list.
>
> 10.07.2013, 03:35, "John David Anglin" <dave.anglin@bell.net>:
>
>> On 9-Jul-13, at 4:59 PM, John David Anglin wrote:
>>> On 7/9/2013 3:45 PM, Alex Ivanov wrote:
>>>> The panic on SMP kernel changed to another one:
>>>> http://pastebin.com/SfUfd0Un
>>> This is just a guess but I don't think page is valid
>>> if the pfn is not valid. You might try this untested change.
>>>
>>> flush_cache_mm might have same problem (i.e., we may need to
>>> check whether the pfn for the pte is valid).
>> This version compiles and boots on rp3440.
>>
>> Dave
>> --
>> John David Anglin dave.anglin@bell.net
> Dave,
>
> Thank you so much! Your guess looks to be right. After applying of your
> patch there was no more KP and X just worked.
I have been studying this issue a bit more. It looks to me as if it
would be better to call
vm_normal_page to get the page. It returns NULL when we a have special
mapping that
doesn't want to be associated with a struct page. See comment in
mm/memory.c.
I'll send a patch when I get a chance to test this approach.
Dave
--
John David Anglin dave.anglin@bell.net
next prev parent reply other threads:[~2013-07-10 20:28 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 7:11 [PATCH] parisc: fix LMMIO mismatch between PAT length and MASK register Helge Deller
2013-06-14 7:28 ` Matt Turner
2013-06-14 7:38 ` Helge Deller
2013-06-14 7:40 ` Helge Deller
2013-06-14 8:38 ` Thomas Bogendoerfer
2013-07-09 5:34 ` Alex Ivanov
2013-07-09 15:18 ` John David Anglin
2013-07-09 19:45 ` Alex Ivanov
2013-07-09 20:59 ` John David Anglin
2013-07-09 23:35 ` John David Anglin
2013-07-10 20:19 ` Alex Ivanov
2013-07-10 20:28 ` John David Anglin [this message]
2013-07-10 21:14 ` Matt Turner
2013-07-10 21:29 ` Alex Ivanov
[not found] ` <51DF0B90.3040506@gmx.de>
2013-07-11 19:47 ` Helge Deller
2013-08-04 11:00 ` Alex Ivanov
2013-08-04 15:44 ` John David Anglin
2013-08-04 16:28 ` Matt Turner
2013-08-10 19:41 ` John David Anglin
2013-06-14 8:39 ` Thomas Bogendoerfer
2013-06-18 21:21 ` Helge Deller
[not found] <A7728478-8754-4B8E-81DD-CDB70165FFAB@p0n4ik.tk>
2013-08-10 19:56 ` Fwd: " Alex Ivanov
2013-08-14 23:36 ` 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=51DDC408.6040406@bell.net \
--to=dave.anglin@bell.net \
--cc=gnidorah@p0n4ik.tk \
--cc=linux-parisc@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