All of lore.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] v4.14.12-rt10
@ 2018-01-09 12:34 Sebastian Andrzej Siewior
  2018-01-09 14:29 ` Gene Heskett
  2018-01-16  3:27 ` Gene Heskett
  0 siblings, 2 replies; 8+ messages in thread
From: Sebastian Andrzej Siewior @ 2018-01-09 12:34 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: LKML, linux-rt-users, Steven Rostedt

Dear RT folks!

I'm pleased to announce the v4.14.12-rt10 patch set. 

Changes since v4.14.8-rt9:

  - updated to v4.14.12

  - An additional include to avoid a build failure on ARM after a header
    disappeared somewhere during the stable update.

  - The patch "nohz: Prevent erroneous tick stop invocations" was merged
    differently upstream. The original issue where a slow box could lock up
    with a pending timer remained. I currently assume that this is a RT only
    issue and keep the patch as RT only.

Known issues
     - A warning triggered in "rcu_note_context_switch" originated from
       SyS_timer_gettime(). The issue was always there, it is now
       visible. Reported by Grygorii Strashko and Daniel Wagner.

You can get this release via the git tree at:

    git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v4.14.12-rt10

The RT patch against v4.14.12 can be found here:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/older/patch-4.14.12-rt10.patch.xz

The split quilt queue is available at:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/older/patches-4.14.12-rt10.tar.xz

The RT-specific delta is appended below.

Sebastian
diff --git a/include/linux/spinlock_types_raw.h b/include/linux/spinlock_types_raw.h
--- a/include/linux/spinlock_types_raw.h
+++ b/include/linux/spinlock_types_raw.h
@@ -1,6 +1,8 @@
 #ifndef __LINUX_SPINLOCK_TYPES_RAW_H
 #define __LINUX_SPINLOCK_TYPES_RAW_H
 
+#include <linux/types.h>
+
 #if defined(CONFIG_SMP)
 # include <asm/spinlock_types.h>
 #else
diff --git a/kernel/softirq.c b/kernel/softirq.c
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -838,8 +838,13 @@ static inline void tick_irq_exit(void)
 	int cpu = smp_processor_id();
 
 	/* Make sure that timer wheel updates are propagated */
+#ifdef CONFIG_PREEMPT_RT_BASE
 	if ((idle_cpu(cpu) || tick_nohz_full_cpu(cpu)) &&
-	    !need_resched() && !local_softirq_pending()) {
+	    !need_resched() && !local_softirq_pending())
+#else
+	if ((idle_cpu(cpu) && !need_resched()) || tick_nohz_full_cpu(cpu))
+#endif
+	{
 		if (!in_interrupt())
 			tick_nohz_irq_exit();
 	}
diff --git a/localversion-rt b/localversion-rt
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt9
+-rt10

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ANNOUNCE] v4.14.12-rt10
  2018-01-09 12:34 [ANNOUNCE] v4.14.12-rt10 Sebastian Andrzej Siewior
@ 2018-01-09 14:29 ` Gene Heskett
  2018-01-12 18:42   ` Sebastian Andrzej Siewior
  2018-01-16  3:27 ` Gene Heskett
  1 sibling, 1 reply; 8+ messages in thread
From: Gene Heskett @ 2018-01-09 14:29 UTC (permalink / raw)
  To: linux-rt-users

On Tuesday 09 January 2018 07:34:33 Sebastian Andrzej Siewior wrote:

> Dear RT folks!
>
> I'm pleased to announce the v4.14.12-rt10 patch set.
>
> Changes since v4.14.8-rt9:
>
>   - updated to v4.14.12
>
>   - An additional include to avoid a build failure on ARM after a
> header disappeared somewhere during the stable update.
>
>   - The patch "nohz: Prevent erroneous tick stop invocations" was
> merged differently upstream. The original issue where a slow box could
> lock up with a pending timer remained. I currently assume that this is
> a RT only issue and keep the patch as RT only.
>
> Known issues
>      - A warning triggered in "rcu_note_context_switch" originated
> from SyS_timer_gettime(). The issue was always there, it is now
> visible. Reported by Grygorii Strashko and Daniel Wagner.
>
> You can get this release via the git tree at:
>
>    
> git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
> v4.14.12-rt10

No such file or directory. Browsing the site, I am pulling 
v4.14.y.rt10.tar.gz. Is this the correct file?

> The RT patch against v4.14.12 can be found here:
>
>    
> https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/older/patch-4
>.14.12-rt10.patch.xz
>
> The split quilt queue is available at:
>
>    
> https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/older/patches
>-4.14.12-rt10.tar.xz
>
> The RT-specific delta is appended below.
>
> Sebastian
> diff --git a/include/linux/spinlock_types_raw.h
> b/include/linux/spinlock_types_raw.h ---
> a/include/linux/spinlock_types_raw.h
> +++ b/include/linux/spinlock_types_raw.h
> @@ -1,6 +1,8 @@
>  #ifndef __LINUX_SPINLOCK_TYPES_RAW_H
>  #define __LINUX_SPINLOCK_TYPES_RAW_H
>
> +#include <linux/types.h>
> +
>  #if defined(CONFIG_SMP)
>  # include <asm/spinlock_types.h>
>  #else
> diff --git a/kernel/softirq.c b/kernel/softirq.c
> --- a/kernel/softirq.c
> +++ b/kernel/softirq.c
> @@ -838,8 +838,13 @@ static inline void tick_irq_exit(void)
>  	int cpu = smp_processor_id();
>
>  	/* Make sure that timer wheel updates are propagated */
> +#ifdef CONFIG_PREEMPT_RT_BASE
>  	if ((idle_cpu(cpu) || tick_nohz_full_cpu(cpu)) &&
> -	    !need_resched() && !local_softirq_pending()) {
> +	    !need_resched() && !local_softirq_pending())
> +#else
> +	if ((idle_cpu(cpu) && !need_resched()) || tick_nohz_full_cpu(cpu))
> +#endif
> +	{
>  		if (!in_interrupt())
>  			tick_nohz_irq_exit();
>  	}
> diff --git a/localversion-rt b/localversion-rt
> --- a/localversion-rt
> +++ b/localversion-rt
> @@ -1 +1 @@
> --rt9
> +-rt10
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-rt-users" in the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ANNOUNCE] v4.14.12-rt10
  2018-01-09 14:29 ` Gene Heskett
@ 2018-01-12 18:42   ` Sebastian Andrzej Siewior
  2018-01-12 22:41     ` Gene Heskett
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastian Andrzej Siewior @ 2018-01-12 18:42 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-rt-users

On 2018-01-09 09:29:19 [-0500], Gene Heskett wrote:
> > git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
> > v4.14.12-rt10
> 
> No such file or directory. Browsing the site, I am pulling 
> v4.14.y.rt10.tar.gz. Is this the correct file?

forgot to push the tag. It has been done now and should show up in a few
secs.

Sebastian

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ANNOUNCE] v4.14.12-rt10
  2018-01-12 18:42   ` Sebastian Andrzej Siewior
@ 2018-01-12 22:41     ` Gene Heskett
  2018-01-13  5:07       ` Ralf Mardorf
  0 siblings, 1 reply; 8+ messages in thread
From: Gene Heskett @ 2018-01-12 22:41 UTC (permalink / raw)
  To: linux-rt-users

On Friday 12 January 2018 13:42:00 Sebastian Andrzej Siewior wrote:

> On 2018-01-09 09:29:19 [-0500], Gene Heskett wrote:
> > > git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.gi
> > >t v4.14.12-rt10
> >
> > No such file or directory. Browsing the site, I am pulling
> > v4.14.y.rt10.tar.gz. Is this the correct file?
>
> forgot to push the tag. It has been done now and should show up in a
> few secs.
>
> Sebastian

I built the one I did pull, took a hair over 3 hours on a rock64, but I 
think I did not strip it to what the rock64 needed, so theres no doubt a 
bunch of gingerbread it will never use.
I have another Q floating around, about installing on a u-boot system. 

Seems to me with 4 gigs of ram, there ought to be room for grub, but I've 
read it will need a firmware update to change that, and I have not found 
one of those.  Hints gleefully checked out as my google-foo has been 
known to be bad in the past.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ANNOUNCE] v4.14.12-rt10
  2018-01-12 22:41     ` Gene Heskett
@ 2018-01-13  5:07       ` Ralf Mardorf
  0 siblings, 0 replies; 8+ messages in thread
From: Ralf Mardorf @ 2018-01-13  5:07 UTC (permalink / raw)
  To: linux-rt-users

On Fri, 12 Jan 2018 17:41:07 -0500, Gene Heskett wrote:
>I think I did not strip it to what the rock64 needed, so theres no
>doubt a bunch of gingerbread it will never use.

[rocketmouse@archlinux ~]$ grep -A19 "make localmodconfig" /usr/lib/modules/4.14.12-rt10-1-rt/build/Documentation/admin-guide/README.rst
     "make localmodconfig" Create a config based on current config and
                           loaded modules (lsmod). Disables any module
                           option that is not needed for the loaded modules.

                           To create a localmodconfig for another machine,
                           store the lsmod of that machine into a file
                           and pass it in as a LSMOD parameter.

                   target$ lsmod > /tmp/mylsmod
                   target$ scp /tmp/mylsmod host:/tmp

                   host$ make LSMOD=/tmp/mylsmod localmodconfig

                           The above also works when cross compiling.

     "make localyesconfig" Similar to localmodconfig, except it will convert
                           all module options to built in (=y) options.

   You can find more information on using the Linux kernel config tools
   in Documentation/kbuild/kconfig.txt.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ANNOUNCE] v4.14.12-rt10
  2018-01-09 12:34 [ANNOUNCE] v4.14.12-rt10 Sebastian Andrzej Siewior
  2018-01-09 14:29 ` Gene Heskett
@ 2018-01-16  3:27 ` Gene Heskett
  2018-01-16  7:16   ` Ralf Mardorf
  1 sibling, 1 reply; 8+ messages in thread
From: Gene Heskett @ 2018-01-16  3:27 UTC (permalink / raw)
  To: linux-rt-users

On Tuesday 09 January 2018 07:34:33 Sebastian Andrzej Siewior wrote:

> git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
> v4.14.12-rt10

On 01/15/2018, this is still an instant failure from my place in West 
Virginia, USA.

rock64@rock64:/media/slash/home/rock64/Downloads$ 
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git 
v4.14.12-rt10

-bash: 
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git: No 
such file or directory

The git installed is: 2.11.0 if thats a clue.

uname -a on that machine is:
Linux rock64 4.4.77-rockchip-ayufan-130 #1 SMP Thu Sep 21 20:40:34 UTC 
2017 aarch64 GNU/Linux

Any clues why I can't pull it?

Thanks & Cheers

Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ANNOUNCE] v4.14.12-rt10
  2018-01-16  3:27 ` Gene Heskett
@ 2018-01-16  7:16   ` Ralf Mardorf
  2018-01-16 12:35     ` Gene Heskett
  0 siblings, 1 reply; 8+ messages in thread
From: Ralf Mardorf @ 2018-01-16  7:16 UTC (permalink / raw)
  To: linux-rt-users

On Mon, 15 Jan 2018 22:27:58 -0500, Gene Heskett wrote:
>rock64@rock64:/media/slash/home/rock64/Downloads$ 
>git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git 
>v4.14.12-rt10
>
>-bash: 
>git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git:
>No such file or directory
>
>The git installed is: 2.11.0 if thats a clue.

Hi,

I'm not an advanced git user, but shouldn't you use a command instead of just an URL?

[rocketmouse@archlinux .tmp]$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
Cloning into 'linux-rt-devel'...
remote: Counting objects: 6197952, done.
remote: Compressing objects: 100% (944316/944316), done.
remote: Total 6197952 (delta 5210675), reused 6196073 (delta 5209729)
Receiving objects: 100% (6197952/6197952), 1.11 GiB | 708.00 KiB/s, done.
Resolving deltas: 100% (5210675/5210675), done.
[rocketmouse@archlinux .tmp]$ 
[rocketmouse@archlinux .tmp]$ 
[rocketmouse@archlinux .tmp]$ 
[rocketmouse@archlinux .tmp]$ 
[rocketmouse@archlinux .tmp]$ cd linux-rt-devel/
[rocketmouse@archlinux linux-rt-devel]$ 
[rocketmouse@archlinux linux-rt-devel]$ 
[rocketmouse@archlinux linux-rt-devel]$ 
[rocketmouse@archlinux linux-rt-devel]$ 
[rocketmouse@archlinux linux-rt-devel]$ git branch
* master
[rocketmouse@archlinux linux-rt-devel]$ git describe --tags $(git rev-list --tags --max-count=10)
v4.14.12-rt10-patches
v4.14.12-rt10
v4.14.12-405-g5536f5491a2e
v4.14.12-rt10-rebase
v4.14.12-380-g038ecb81aa81
v4.14.12-379-gca6de2d16341
v4.14.12-378-g278da228d04c
v4.14.12-377-g85db952da1f4
v4.14.12-376-g0cc094ba4d14
v4.14.12-375-g54a259a815f7
[rocketmouse@archlinux linux-rt-devel]$ git checkout v4.14.12-rt10
Note: checking out 'v4.14.12-rt10'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at df269158d3f0... v4.14.12-rt10
[rocketmouse@archlinux linux-rt-devel]$ git branch
* (HEAD detached at v4.14.12-rt10)
  master
[rocketmouse@archlinux linux-rt-devel]$ git checkout master
Previous HEAD position was df269158d3f0... v4.14.12-rt10
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
[rocketmouse@archlinux linux-rt-devel]$ git describe
v4.14
[rocketmouse@archlinux linux-rt-devel]$ git remote update
Fetching origin
[rocketmouse@archlinux linux-rt-devel]$ git pull --all
Fetching origin
Already up to date.

Regards,
Ralf

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ANNOUNCE] v4.14.12-rt10
  2018-01-16  7:16   ` Ralf Mardorf
@ 2018-01-16 12:35     ` Gene Heskett
  0 siblings, 0 replies; 8+ messages in thread
From: Gene Heskett @ 2018-01-16 12:35 UTC (permalink / raw)
  To: linux-rt-users

On Tuesday 16 January 2018 02:16:14 Ralf Mardorf wrote:

> On Mon, 15 Jan 2018 22:27:58 -0500, Gene Heskett wrote:
> >rock64@rock64:/media/slash/home/rock64/Downloads$
> >git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
> >v4.14.12-rt10
> >
> >-bash:
> >git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git:
> >No such file or directory
> >
> >The git installed is: 2.11.0 if thats a clue.
>
> Hi,
>
> I'm not an advanced git user, but shouldn't you use a command instead
> of just an URL?
>
> [rocketmouse@archlinux .tmp]$ git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
> Cloning into 'linux-rt-devel'...
> remote: Counting objects: 6197952, done.
> remote: Compressing objects: 100% (944316/944316), done.
> remote: Total 6197952 (delta 5210675), reused 6196073 (delta 5209729)
> Receiving objects: 100% (6197952/6197952), 1.11 GiB | 708.00 KiB/s,
> done. Resolving deltas: 100% (5210675/5210675), done.
> [rocketmouse@archlinux .tmp]$
> [rocketmouse@archlinux .tmp]$
> [rocketmouse@archlinux .tmp]$
> [rocketmouse@archlinux .tmp]$
> [rocketmouse@archlinux .tmp]$ cd linux-rt-devel/
> [rocketmouse@archlinux linux-rt-devel]$
> [rocketmouse@archlinux linux-rt-devel]$
> [rocketmouse@archlinux linux-rt-devel]$
> [rocketmouse@archlinux linux-rt-devel]$
> [rocketmouse@archlinux linux-rt-devel]$ git branch
> * master
> [rocketmouse@archlinux linux-rt-devel]$ git describe --tags $(git
> rev-list --tags --max-count=10) v4.14.12-rt10-patches
> v4.14.12-rt10
> v4.14.12-405-g5536f5491a2e
> v4.14.12-rt10-rebase
> v4.14.12-380-g038ecb81aa81
> v4.14.12-379-gca6de2d16341
> v4.14.12-378-g278da228d04c
> v4.14.12-377-g85db952da1f4
> v4.14.12-376-g0cc094ba4d14
> v4.14.12-375-g54a259a815f7
> [rocketmouse@archlinux linux-rt-devel]$ git checkout v4.14.12-rt10
> Note: checking out 'v4.14.12-rt10'.
>
> You are in 'detached HEAD' state. You can look around, make
> experimental changes and commit them, and you can discard any commits
> you make in this state without impacting any branches by performing
> another checkout.
>
> If you want to create a new branch to retain commits you create, you
> may do so (now or later) by using -b with the checkout command again.
> Example:
>
>   git checkout -b <new-branch-name>
>
> HEAD is now at df269158d3f0... v4.14.12-rt10
> [rocketmouse@archlinux linux-rt-devel]$ git branch
> * (HEAD detached at v4.14.12-rt10)
>   master
> [rocketmouse@archlinux linux-rt-devel]$ git checkout master
> Previous HEAD position was df269158d3f0... v4.14.12-rt10
> Switched to branch 'master'
> Your branch is up to date with 'origin/master'.
> [rocketmouse@archlinux linux-rt-devel]$ git describe
> v4.14
> [rocketmouse@archlinux linux-rt-devel]$ git remote update
> Fetching origin
> [rocketmouse@archlinux linux-rt-devel]$ git pull --all
> Fetching origin
> Already up to date.
>
> Regards,
> Ralf

All of which makes sense, so I'll give it a shot after the morning coffee 
has kicked in.

Thanks Ralf.
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-rt-users" in the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


Cheers, Gene Heskett
The above content, added by Maurice E. Heskett, is Copyright 2018 by 
Maurice E. Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-16 12:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-09 12:34 [ANNOUNCE] v4.14.12-rt10 Sebastian Andrzej Siewior
2018-01-09 14:29 ` Gene Heskett
2018-01-12 18:42   ` Sebastian Andrzej Siewior
2018-01-12 22:41     ` Gene Heskett
2018-01-13  5:07       ` Ralf Mardorf
2018-01-16  3:27 ` Gene Heskett
2018-01-16  7:16   ` Ralf Mardorf
2018-01-16 12:35     ` Gene Heskett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.