Linux-rt-users archive on lore.kernel.org
 help / color / Atom feed
From: Thomas Graziadei <thomas.graziadei@omicronenergy.com>
To: "'Sebastian Andrzej Siewior'" <bigeasy@linutronix.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"rostedt@goodmis.org" <rostedt@goodmis.org>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: RE: [PATCH] powerpc: Fix lazy preemption for powerpc 32bit
Date: Thu, 19 Mar 2020 14:45:09 +0000
Message-ID: <95ef76b973f947fea9044b685e835de2@omicronenergy.com> (raw)
In-Reply-To: <20200319142452.dqmkuruts3i6wjyt@linutronix.de>

> From: Sebastian Andrzej Siewior [mailto:bigeasy@linutronix.de] 
> On 2020-03-18 21:26:40 [+0100], Thomas Graziadei wrote:
>> From: Thomas Graziadei <thomas.graziadei@omicronenergy.com>
>> 
>> The 32bit powerpc assembler implementation of the lazy preemption set 
>> the _TIF_PERSYSCALL_MASK on the low word. This could lead to modprobe 
>> segfaults and a kernel panic - not syncing: Attempt to kill init! 
>> issue.
>> 
>> Fixed by shifting the mask by 16 bit using andis and lis.
>
> bah. Thank you for catching this.
> Still e500 based powerpc I assume?

Well thanks for the great work and yes still e500 powerpc based.

>
>> Signed-off-by: Thomas Graziadei <thomas.graziadei@omicronenergy.com>
>
> Sebastian

Thomas

      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 20:26 Thomas Graziadei
2020-03-19 14:24 ` Sebastian Andrzej Siewior
2020-03-19 14:45   ` Thomas Graziadei [this message]

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=95ef76b973f947fea9044b685e835de2@omicronenergy.com \
    --to=thomas.graziadei@omicronenergy.com \
    --cc=bigeasy@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /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

Linux-rt-users archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rt-users/0 linux-rt-users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rt-users linux-rt-users/ https://lore.kernel.org/linux-rt-users \
		linux-rt-users@vger.kernel.org
	public-inbox-index linux-rt-users

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rt-users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git