linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: illegal instructions / irqs disabled warning
Date: Wed, 14 Dec 2005 16:13:11 +0100	[thread overview]
Message-ID: <1134573191.3875.18.camel@localhost> (raw)
In-Reply-To: <D5163F2D-A7C9-47E2-BE8D-E291B6C98A40@kernel.crashing.org>

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

On Wed, 2005-12-14 at 09:07 -0600, Kumar Gala wrote:

> It is, we just need to ensure that the user page we are copying from  
> is in memory.

So in the interrupt handler we need to ensure this and then call
__copy_from_user_inatomic instead?

> But, now that I go back and look at your log message, its odd. I  
> didn't expect ProgramExceptions to be executed with the MSR[EE] = 0.  
> Now, I'm wondering why that is.

Hm. I can tell you what I did: Something like 
  mtspr 940, r3

in userland :)
Not sure if it was 940, might have been one of the other registers
reserved for performance monitoring.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2005-12-14 15:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-14 14:05 illegal instructions / irqs disabled warning Johannes Berg
2005-12-14 14:41 ` Kumar Gala
2005-12-14 14:49   ` Johannes Berg
2005-12-14 15:07     ` Kumar Gala
2005-12-14 15:13       ` Johannes Berg [this message]
2005-12-14 21:46 ` Andy Fleming
2005-12-15  9:40   ` Johannes Berg
2005-12-14 22:07 ` Paul Mackerras
2005-12-14 22:29   ` Kumar Gala
2005-12-15  9:44   ` Johannes Berg
2005-12-15 14:04     ` Kumar Gala
2005-12-15 14:10       ` Johannes Berg
2005-12-15 15:47         ` Kumar Gala

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=1134573191.3875.18.camel@localhost \
    --to=johannes@sipsolutions.net \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).