mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Rosin <peda@axentia.se>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: "'linux-arm-kernel@lists.infradead.org'" 
	<linux-arm-kernel@lists.infradead.org>,
	"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: RE: Domain faults when CONFIG_CPU_SW_DOMAIN_PAN is enabled
Date: Thu, 3 Dec 2015 12:08:11 +0000	[thread overview]
Message-ID: <533b0f1f264e42e78b94bbff9570fb50@EMAIL.axentia.se> (raw)
In-Reply-To: <20151203115143.GM8644@n2100.arm.linux.org.uk>

Russell King wrote:
> On Thu, Dec 03, 2015 at 11:38:20AM +0000, Peter Rosin wrote:
> > Russell King wrote:
> > > On Thu, Dec 03, 2015 at 08:33:13AM +0000, Peter Rosin wrote:
> > > > I wrote:
> > > > > If I enable CONFIG_CPU_SW_DOMAIN_PAN, I sometimes (but not always) get the
> > > > > following (or very similar) on boot.
> > > > 
> > > > I should have said "if I don't disable", as the option is "default y".
> > > > 
> > > > Also, if it survives on boot, below is an example of later trouble (after
> > > > 30+ minutes on this occasion).
> > > 
> > > Please apply this patch so we (might) get a slightly better oops dump,
> > > and then try to reproduce.
> > 
> > Sure thing, but it's still "DAC: 00000051"...
> 
> Thanks, that confirms that something in the uaccess-with-memcpy code
> is clearing the DACR back to 0x51.
> 
> This has come up several times before, and I really can't spot the
> problem in this code, so I've always said to disable the
> uaccess-with-memcpy code.  Personally, I'd like to see the back
> of that code...

Ok, but it's not me doing crazy things if that's what you are implying
(not saying that you are), because the sama5_defconfig has

	CONFIG_UACCESS_WITH_MEMCPY=y

So, something needs to happen or sama5 remains default-broken.

Cheers,
Peter


  reply	other threads:[~2015-12-03 12:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03  8:33 Peter Rosin
2015-12-03 11:00 ` Russell King - ARM Linux
2015-12-03 11:38   ` Peter Rosin
2015-12-03 11:51     ` Russell King - ARM Linux
2015-12-03 12:08       ` Peter Rosin [this message]
2015-12-03 13:37         ` Russell King - ARM Linux
2015-12-03 16:12           ` Peter Rosin
2015-12-03 16:41             ` Russell King - ARM Linux
2015-12-03 17:27               ` Russell King - ARM Linux
2015-12-03 18:28                 ` Nicolas Pitre
2015-12-05 13:41                   ` Russell King - ARM Linux
2015-12-03 21:37                 ` Peter Rosin
2015-12-10  0:22                   ` Russell King - ARM Linux
2015-12-10 15:29                     ` Peter Rosin
2015-12-10 16:20                       ` Russell King - ARM Linux
2015-12-10 18:32                         ` Peter Rosin
2015-12-30 16:51                         ` Peter Rosin
2015-12-30 16:57                         ` Peter Rosin
  -- strict thread matches above, loose matches on Subject: below --
2015-12-03  7:43 Peter Rosin

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=533b0f1f264e42e78b94bbff9570fb50@EMAIL.axentia.se \
    --to=peda@axentia.se \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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

all inboxes | Powered by JetHome®