public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
	John Ogness <john.ogness@linutronix.de>,
	Steven Rostedt <rostedt@goodmis.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Peter Zijlstra <peterz@infradead.org>,
	Michael Ellerman <mpe@ellerman.id.au>
Subject: Re: [PATCH 0/3] Allow to enable PREEMPT_RT.
Date: Mon, 30 Sep 2024 12:22:23 +0200	[thread overview]
Message-ID: <20240930102223.j780j0oy@linutronix.de> (raw)
In-Reply-To: <e058fcbd-dc30-4e7e-b54b-969d9dd67d4a@linux.ibm.com>

On 2024-09-30 10:39:17 [+0530], Shrikanth Hegde wrote:
> Hi Sebastian.
Hi Shrikanth,

> 
> Added the ARCH_SUPPORTS_RT in arch/powerpc/Kconfig. Selected the preempt_rt in menuconfig.
> It *compiled and booted successfully* on POWERPC/ppc64le.
> So, Curious to know what are those patches that are left for POWERPC?
> would like to work on those and get it enabled on POWERPC.

Based on [0] this is what I have in my queue:
| powerpc__traps__Use_PREEMPT_RT.patch
| powerpc_pseries_iommu__Use_a_locallock_instead_local_irq_save.patch
| powerpc-pseries-Select-the-generic-memory-allocator.patch
| powerpc_kvm__Disable_in-kernel_MPIC_emulation_for_PREEMPT_RT.patch
| powerpc_stackprotector__work_around_stack-guard_init_from_atomic.patch
| POWERPC__Allow_to_enable_RT.patch

Be aware that PREEMPT_RT run only on 32bit PowerPC and 64bit from FSL
which is the embedded variant. That means it (64bit) had altivec but
also a "simple" MMU. The P-Series (server grade hardware) version has a
hashing MMU which has additional locking constrains. I never tested this
outside of qemu and this was limited to booting.

The traps patch in the queue was submitted a while ago
	https://lore.kernel.org/linuxppc-dev/20191015191821.11479-4-bigeasy@linutronix.de/

and reduced to the traps.c part.
The powerpc should be reviewed and then decided what to do with them
before enabling.

[0] https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/tree/patches/series?h=v6.11-rt7-patches&id=28e79a9ab2504e245837070f27f525520a6f5acb#n147

Sebastian

      reply	other threads:[~2024-09-30 10:22 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-06 10:59 [PATCH 0/3] Allow to enable PREEMPT_RT Sebastian Andrzej Siewior
2024-09-06 10:59 ` [PATCH 1/3] x86: " Sebastian Andrzej Siewior
2024-09-09 17:27   ` [tip: sched/rt] " tip-bot2 for Sebastian Andrzej Siewior
2024-09-17  9:15   ` tip-bot2 for Sebastian Andrzej Siewior
2024-09-06 10:59 ` [PATCH 2/3] arm64: " Sebastian Andrzej Siewior
2024-09-06 11:30   ` Will Deacon
2024-09-06 14:13     ` Steven Rostedt
2024-09-09 17:27   ` [tip: sched/rt] " tip-bot2 for Sebastian Andrzej Siewior
2024-09-17  9:15   ` tip-bot2 for Sebastian Andrzej Siewior
2024-09-06 10:59 ` [PATCH 3/3] riscv: " Sebastian Andrzej Siewior
2024-09-06 15:13   ` Nam Cao
2024-09-06 18:48     ` Palmer Dabbelt
2024-09-17 10:44       ` Sebastian Andrzej Siewior
2024-10-09 16:47         ` Palmer Dabbelt
2024-10-09 16:44       ` Palmer Dabbelt
2024-10-09 17:41         ` Nam Cao
2024-10-10  8:54         ` John Ogness
2024-10-10 12:21         ` Sebastian Andrzej Siewior
2024-09-09 17:27   ` [tip: sched/rt] " tip-bot2 for Sebastian Andrzej Siewior
2024-09-17  9:15   ` tip-bot2 for Sebastian Andrzej Siewior
2024-09-10  2:39 ` [PATCH 0/3] " Mingcong Bai
2024-09-12  7:14   ` Sebastian Andrzej Siewior
2024-09-30  5:09 ` Shrikanth Hegde
2024-09-30 10:22   ` Sebastian Andrzej Siewior [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=20240930102223.j780j0oy@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=john.ogness@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=mpe@ellerman.id.au \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=sshegde@linux.ibm.com \
    --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
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