Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752003AbdLKUUt (ORCPT ); Mon, 11 Dec 2017 15:20:49 -0500 Received: from mx0a-00010702.pphosted.com ([148.163.156.75]:32842 "EHLO mx0b-00010702.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750886AbdLKUUm (ORCPT ); Mon, 11 Dec 2017 15:20:42 -0500 Date: Mon, 11 Dec 2017 14:20:17 -0600 From: Julia Cartwright To: Corey Minyard CC: LKML , linux-rt-users , Steven Rostedt , Thomas Gleixner , Carsten Emde , John Kacur , Sebastian Andrzej Siewior , Daniel Wagner , , Alex Shi Subject: Re: [ANNOUNCE] 4.1.46-rt52 Message-ID: <20171211202017.GA19068@jcartwri.amer.corp.natinst.com> References: <20171129231317.GB1361@jcartwri.amer.corp.natinst.com> <7b0d39d5-91ab-c8f0-bfec-7e26e71395bd@mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <7b0d39d5-91ab-c8f0-bfec-7e26e71395bd@mvista.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-11_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=inbound_policy_notspam policy=inbound_policy score=30 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=30 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712110288 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4072 Lines: 98 On Mon, Dec 11, 2017 at 01:04:58PM -0600, Corey Minyard wrote: > On 11/29/2017 05:13 PM, Julia Cartwright wrote: > > Hello RT Folks! > > > > I'm pleased to announce the 4.1.46-rt52 stable release. > > > > You can get this release via the git tree at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git > > > > branch: v4.1-rt > > Head SHA1: 6e737a91c1ce923d4e10db831e14cfef9a2459cc > > > > Or to build 4.1.46-rt52 directly, the following patches should be applied: > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kernel.org_pub_linux_kernel_v4.x_linux-2D4.1.tar.xz&d=DwICaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=cAXq_8W9Othb2h8ZcWv8Vw&m=a5KTpX9A0-pHwmQkOOLr5_xeWPavI-lgN7Z0Goes2So&s=tGmSNpZKEKvhTpeVu_ktmD4I5PIXfIJhZ79DxwbCjtQ&e= > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kernel.org_pub_linux_kernel_v4.x_patch-2D4.1.46.xz&d=DwICaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=cAXq_8W9Othb2h8ZcWv8Vw&m=a5KTpX9A0-pHwmQkOOLr5_xeWPavI-lgN7Z0Goes2So&s=hx9pHgRy7tWhUeeiJhPOH0T8qdDrhtZvWxOWuIBZZgs&e= > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kernel.org_pub_linux_kernel_projects_rt_4.1_patch-2D4.1.46-2Drt52.patch.xz&d=DwICaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=cAXq_8W9Othb2h8ZcWv8Vw&m=a5KTpX9A0-pHwmQkOOLr5_xeWPavI-lgN7Z0Goes2So&s=Pm8ed_xvW1drpPxNkt035bj6ILvSImuN9vvgEAt8IiM&e= > > > > > > You can also build from 4.1.46-rt51 by applying the incremental patch: > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kernel.org_pub_linux_kernel_projects_rt_4.1_incr_patch-2D4.1.46-2Drt51-2Drt52.patch.xz&d=DwICaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=cAXq_8W9Othb2h8ZcWv8Vw&m=a5KTpX9A0-pHwmQkOOLr5_xeWPavI-lgN7Z0Goes2So&s=ZM64-JCd0WNFQgFlB3wbCfn8Jtf9rq5QyCO2-GJsC2Q&e= > > > > Enjoy! > > Julia > > > > Changes from v4.1.46-rt51: > > --- > > Julia Cartwright (2): > > workqueue: fixup rcu check for RT > > Linux 4.1.46-rt52 > > > > Sebastian Andrzej Siewior (2): > > PM / CPU: replace raw_notifier with atomic_notifier (fixup) > > This change breaks the compile of 4.1 on ARM (and other things using > kernel/cpu_pm.c). > > rcu_irq_enter_irqson() and friends doesn't exist in 4.1. In fact, > rcu_irq_enter() doesn't even exist. > > Sorry I didn't get to testing this earlier, I've been focused on other things. Thanks! My current builds apparently don't currently cover CPU_PM builds, so I didn't see this :(. Thanks for the report. v4.1 does contain rcu_irq_enter(), and it looks like what we should be using in 4.1 instead. I'm thinking the below should be okay; I'll be standing up a proper cpu hotplugging test to give it some runtime. Thanks, Julia -- 8< -- Subject: [PATCH] PM / CPU: replace usage of rcu_irq_{enter,exit}_irqson() Commit c50243950f97e ("PM / CPU: replace raw_notifier with atomic_notifier (fixup)") intended to fix up RCU usage in idle, by telling RCU to pay attention. However, the cherry-pick back from rt-devel included the invocation of the _irqson() variants of rcu_irq_{enter,exit}() API which doesn't exist in 4.1. For 4.1, just simply drop the _irqson() variant, and instead use rcu_irq_{enter,exit}() directly instead. This is safe, because in 4.1, these functions internally disable interrupts. Reported-by: Corey Minyard Signed-off-by: Julia Cartwright