[ANNOUNCE] 4.1.42-rt50

2017-08-16 Thread Julia Cartwright
49 by applying the incremental patch: http://www.kernel.org/pub/linux/kernel/projects/rt/4.1/incr/patch-4.1.42-rt49-rt50.patch.xz Enjoy! Julia Changes from v4.1.42-rt49: --- Alex Shi (1): cpu_pm: replace raw_notifier to atomic_notifier Julia Cartwright (1): Linux 4.1.42-rt50

Re: [ANNOUNCE] 4.1.42-rt50

2017-08-17 Thread Julia Cartwright
On Thu, Aug 17, 2017 at 09:30:28AM +0200, Sebastian Andrzej Siewior wrote: > On 2017-08-16 15:42:28 [-0500], Julia Cartwright wrote: [..] > > diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c > > index 9656a3c36503..9da42f83ee03 100644 > > --- a/kernel/cpu_pm.c > > +++ b/ke

[PATCH] futex: Drop now unnecessary check in exit_pi_state()

2017-11-03 Thread Julia Cartwright
er Zijlstra Cc: Darren Hart Signed-off-by: Julia Cartwright --- I'm not sure my analysis is 100% correct here, so please carefully think through it, as I'm sure you all always do when futex patches hit your mailbox :). Julia kernel/futex.c | 16 ++-- 1 file changed, 2 in

[PATCH RT 22/22] Linux 4.9.115-rt94-rc1

2018-08-06 Thread Julia Cartwright
4.9.115-rt94-rc1 stable review patch. If you have any objection to the inclusion of this patch, let me know. --- 8< --- 8< --- 8< --- --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index e98a1fe050bd..dcc2fd2ca155 100644 -

[PATCH RT 15/22] Revert "block: blk-mq: Use swait"

2018-08-06 Thread Julia Cartwright
...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry-picked from ca3fd6cf836739fd59eac2f7a9b0261365e818bb) Signed-off-by: Julia Cartwright --- block/blk-core.c | 10 +- block/blk-mq.c | 6 +++--- include/linux/blkdev.h | 2 +- 3 files changed, 9 inserti

[PATCH RT 00/22] Linux 4.9.115-rt94-rc1

2018-08-06 Thread Julia Cartwright
q-off callsites Julia Cartwright (4): locallock: provide {get,put}_locked_ptr() variants squashfs: make use of local lock in multi_cpu decompressor seqlock: provide the same ordering semantics as mainline Linux 4.9.115-rt94-rc1 Paul E. McKenney (1): rcu: Suppress lockdep false-positive ->b

[PATCH RT 03/22] futex: Avoid violating the 10th rule of futex

2018-08-06 Thread Julia Cartwright
cks. Luckily the values can only change away and not to the value we're testing, this means we can do a speculative test and double check once we have the wait_lock. Fixes: 73d786bd043e ("futex: Rework inconsistent rt_mutex/futex_q state") Reported-by: Julia Cartwright Reporte

[PATCH RT 08/22] sched, tracing: Fix trace_sched_pi_setprio() for deboosting

2018-08-06 Thread Julia Cartwright
b91473ff6e97 ("sched,tracing: Update trace_sched_pi_setprio()") Link: http://lkml.kernel.org/r/20180524132647.gg6ziuogczdmj...@linutronix.de Signed-off-by: Ingo Molnar Signed-off-by: Julia Cartwright --- include/trace/events/sched.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

[PATCH RT 13/22] net: use task_struct instead of CPU number as the queue owner on -RT

2018-08-06 Thread Julia Cartwright
: Kurt Kanzenbach Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit d3a66ffd1c4f0253076069b10a8223e7b6e80e38) Signed-off-by: Julia Cartwright --- include/linux/netdevice.h | 54 ++- net/core/dev.c| 6 - 2 files changed,

[PATCH RT 05/22] rtmutex: Make rt_mutex_futex_unlock() safe for irq-off callsites

2018-08-06 Thread Julia Cartwright
ttps://lkml.kernel.org/r/20180309065630.8283-1-boqun.f...@gmail.com Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Julia Cartwright --- kernel/locking/rtmutex.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c in

[PATCH RT 20/22] squashfs: make use of local lock in multi_cpu decompressor

2018-08-06 Thread Julia Cartwright
cesses to the percpu compressor data on the local CPU will be serialized. Cc: stable...@vger.kernel.org Reported-by: Alexander Stein Tested-by: Alexander Stein Signed-off-by: Julia Cartwright Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit c160736542d7b3d67da32848d2f028b

[PATCH RT 04/22] futex: Fix OWNER_DEAD fixup

2018-08-06 Thread Julia Cartwright
d2...@hirez.programming.kicks-ass.net Signed-off-by: Ingo Molnar Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Julia Cartwright --- kernel/futex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/futex.c b/kernel/futex.c index cdd68ba6e3a6..57038131ad3f 1006

[PATCH RT 16/22] block: blk-mq: move blk_queue_usage_counter_release() into process context

2018-08-06 Thread Julia Cartwright
orey Minyard). The wq_has_sleeper() check has been suggested by Peter Zijlstra. Cc: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 2d701058d614554cce412a787f00568b9fdffade) Signed-off-by: Julia Cartwright --- block/blk-core.c | 14 ++

[PATCH RT 02/22] futex: Fix more put_pi_state() vs. exit_pi_state_list() races

2018-08-06 Thread Julia Cartwright
kaller-b...@googlegroups.com Cc: Fixes: c74aef2d06a9 ("futex: Fix pi_state->owner serialization") Link: http://lkml.kernel.org/r/20171031101853.xpfh72y643kdf...@hirez.programming.kicks-ass.net Signed-off-by: Ingo Molnar Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Julia Cartwright

[PATCH RT 21/22] seqlock: provide the same ordering semantics as mainline

2018-08-06 Thread Julia Cartwright
o provide the same guarantee. Also, while we're here, update the usage of ACCESS_ONCE() to use READ_ONCE(). Fixes: e69f15cf77c23 ("seqlock: Prevent rt starvation") Cc: stable...@vger.kernel.org Signed-off-by: Julia Cartwright Signed-off-by: Sebastian Andrzej Siewior (c

[PATCH RT 01/22] futex: Fix pi_state->owner serialization

2018-08-06 Thread Julia Cartwright
ge locking rules") Reported-by: Gratian Crisan Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Thomas Gleixner Cc: dvh...@infradead.org Cc: sta...@vger.kernel.org Link: https://lkml.kernel.org/r/20170922154806.jd3ffltfk24m4...@hirez.programming.kicks-ass.net Signed-off-by: Sebastian Andr

[PATCH RT 14/22] Revert "rt,ntp: Move call to schedule_delayed_work() to helper thread"

2018-08-06 Thread Julia Cartwright
led by SYS_clock_adjtime(). Reverting the patch. Cc: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 932c5783d4434250a1019f49ae81b80731dfd4cd) Signed-off-by: Julia Cartwright --- kernel/time/ntp.c | 26 -- 1 file changed, 26 de

[PATCH RT 09/22] crypto: limit more FPU-enabled sections

2018-08-06 Thread Julia Cartwright
timisations to see if it makes sense to keep them for RT. This kernel_fpu_resched() makes the code more preemptible which might hurt performance. Cc: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 0dcc4c1693ef37e166da420ef7c68c7047c996f1) Signed-

[PATCH RT 06/22] rcu: Do not include rtmutex_common.h unconditionally

2018-08-06 Thread Julia Cartwright
itions in preparation for suppressing lockdep false-positive ->boost_mtx complaints. Without this preparation, architectures not supporting rt_mutex will get build failures. Reported-by: kbuild test robot Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Paul E. McKenney Signed-off-by: Juli

[PATCH RT 12/22] locking: add types.h

2018-08-06 Thread Julia Cartwright
c: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 1289b06974d64f244a26455fab699c6a1332f4bc) Signed-off-by: Julia Cartwright --- include/linux/spinlock_types_raw.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/spinlock_types_raw.h b/incl

[PATCH RT 07/22] rcu: Suppress lockdep false-positive ->boost_mtx complaints

2018-08-06 Thread Julia Cartwright
y: Paul E. McKenney Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Julia Cartwright --- kernel/rcu/tree_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 3d18d08e8382..510de72ad8a3 100644 --- a/kerne

[PATCH RT 19/22] locallock: provide {get,put}_locked_ptr() variants

2018-08-06 Thread Julia Cartwright
symmetric with the {get,put}_cpu_ptr() per-CPU accessor variants. Signed-off-by: Julia Cartwright Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 3d45cf23db4f76cd356ebb0aa4cdaa7d92d1a64e) Signed-off-by: Julia Cartwright --- include/linux/locallock.h | 10 ++ 1 file ch

[PATCH RT 10/22] arm*: disable NEON in kernel mode

2018-08-06 Thread Julia Cartwright
able each algorithm. Cc: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit b3a776555e0d465df138d254d6dc3ac1b718ac6d) Signed-off-by: Julia Cartwright --- arch/arm/Kconfig | 2 +- arch/arm64/crypto/Kconfig | 14 +++--- 2 files changed, 8 i

[PATCH RT 17/22] alarmtimer: Prevent live lock in alarm_cancel()

2018-08-06 Thread Julia Cartwright
callback completion on RT. Prevent that by waiting for completion on RT, no change for a non RT kernel. Cc: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 51e376c469bf05f32cb1ceb9e39d31bb92f1f6c8) Signed-off-by: Julia Cartwright --- kernel/time/alarmti

[PATCH RT 18/22] posix-timers: move the rcu head out of the union

2018-08-06 Thread Julia Cartwright
effects I am moving the rcu pointer out of the union. Cc: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit b8401365af110949f12c7cf1fa86b4c0ea069bbd) Signed-off-by: Julia Cartwright --- include/linux/posix-timers.h | 2 +- kernel/time/posix-timers.c |

[ANNOUNCE] 4.9.115-rt93

2018-08-06 Thread Julia Cartwright
Hello RT Folks! I'm pleased to announce the 4.9.115-rt93 stable release. This release is just an update to the new stable 4.9.115 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

[PATCH RT 11/22] mm/slub: close possible memory-leak in kmem_cache_alloc_bulk()

2018-08-06 Thread Julia Cartwright
is limited since I can't find any users here. Cc: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 5022166d3b225bf5e343efb3ea01b3c5a41d69ba) Signed-off-by: Julia Cartwright --- mm/slub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/

Re: [patch v18 1/4] drivers: jtag: Add JTAG core driver

2018-01-29 Thread Julia Cartwright
On Mon, Jan 29, 2018 at 04:31:42PM +0200, Oleksandr Shamray wrote: > Initial patch for JTAG driver > JTAG class driver provide infrastructure to support hardware/software > JTAG platform drivers. It provide user layer API interface for flashing > and debugging external devices which equipped with J

[ANNOUNCE] 4.9.76-rt61

2018-01-16 Thread Julia Cartwright
Hello RT Folks! I'm pleased to announce the 4.9.76-rt61 stable release. This release is just an update to the new stable 4.9.76 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

Re: [ANNOUNCE] 4.9.76-rt61

2018-01-16 Thread Julia Cartwright
On Tue, Jan 16, 2018 at 11:11:32PM +, Bernhard Landauer wrote: > Ah. Working now after adding in validpgpkeys array in the PKGBUILD. This was the first v4.9-rt release since Steven handed over his maintainership , so that would explain why it would be signed by a different key (although, my ke

Re: [patch v17 1/4] drivers: jtag: Add JTAG core driver

2018-01-17 Thread Julia Cartwright
Hello Oleksandr- On Tue, Jan 16, 2018 at 09:18:56AM +0200, Oleksandr Shamray wrote: [..] > v16->v17 > Comments pointed by Julia Cartwright More review feedback below: [..] > +++ b/drivers/jtag/jtag.c [..] > +static long jtag_ioctl(struct file *file, unsigned int cmd, unsig

Re: [PATCH] futex: Avoid violating the 10th rule of futex

2018-01-08 Thread Julia Cartwright
t; > So instead of doing 3 consecutive wait_lock sections with who knows > what races, we do it all in a single section. Additionally, the usage > of pi_state->owner in fixup_owner() was only safe because only the > rt_mutex owner would modify it, which this additional case wrecks. >

Re: [patch v16 1/4] drivers: jtag: Add JTAG core driver

2018-01-15 Thread Julia Cartwright
Hello Oleksandr- I have a few comments below. On Fri, Jan 12, 2018 at 07:08:26PM +0200, Oleksandr Shamray wrote: > Initial patch for JTAG driver > JTAG class driver provide infrastructure to support hardware/software > JTAG platform drivers. It provide user layer API interface for flashing > and

Re: C tricks for efficient stack zeroing

2018-03-06 Thread Julia Cartwright
On Fri, Mar 02, 2018 at 08:50:17PM +0100, Jason A. Donenfeld wrote: [..] > What would be really nice would be to somehow keep track of the > maximum stack depth, and just before the function returns, clear from > the maximum depth to its stack base, all in one single call. This > would not only mak

Re: [PATCH v2 1/8] [PATCH 1/8] drivers/peci: Add support for PECI bus driver core

2018-03-06 Thread Julia Cartwright
On Wed, Feb 21, 2018 at 08:15:59AM -0800, Jae Hyun Yoo wrote: > This commit adds driver implementation for PECI bus into linux > driver framework. > > Signed-off-by: Jae Hyun Yoo > --- [..] > +static int peci_locked_xfer(struct peci_adapter *adapter, > + struct peci_xfer_m

Re: [PATCH RT] Defer migrate_enable migration while task state != TASK_RUNNING

2018-03-23 Thread Julia Cartwright
Hey Joe- Thanks for the writeup. On Fri, Mar 23, 2018 at 11:09:59AM -0400, joe.ko...@concurrent-rt.com wrote: > I see the below kernel splat in 4.9-rt when I run a test program that > continually changes the affinity of some set of running pids: > >do not call blocking ops when !TASK_RUNNING

Re: [PATCH RT] Defer migrate_enable migration while task state != TASK_RUNNING

2018-03-23 Thread Julia Cartwright
On Fri, Mar 23, 2018 at 01:21:31PM -0400, joe.ko...@concurrent-rt.com wrote: > On Fri, Mar 23, 2018 at 11:59:21AM -0500, Julia Cartwright wrote: > > On Fri, Mar 23, 2018 at 11:09:59AM -0400, joe.ko...@concurrent-rt.com wrote: > > > I see the below kernel splat in 4.9-rt when I

[PATCH RT 2/2] watchdog, rt: prevent deferral of watchdogd wakeup

2018-09-28 Thread Julia Cartwright
dogd to be correct w.r.t. their application needs. Cc: Guenter Roeck Reported-and-tested-by: Steffen Trumtrar Reported-by: Tim Sander Signed-off-by: Julia Cartwright --- drivers/watchdog/watchdog_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/watchd

[PATCH 0/2] Fix watchdogd wakeup deferral on RT

2018-09-28 Thread Julia Cartwright
not deferred through ktimersoftd w/ PREEMPT_RT). This patch depends on hrtimer patches carried in the RT patch, and so should therefore land there. Cc: Guenter Roeck Cc: Steffen Trumtrar Cc: Tim Sander Julia Cartwright (2): kthread: convert worker lock to raw spinlock watchdog, rt: prevent

[PATCH 1/2] kthread: convert worker lock to raw spinlock

2018-09-28 Thread Julia Cartwright
: Guenter Roeck Reported-and-tested-by: Steffen Trumtrar Reported-by: Tim Sander Signed-off-by: Julia Cartwright --- include/linux/kthread.h | 2 +- kernel/kthread.c| 42 - 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/include

Re: simple-framebuffer enquire

2018-06-26 Thread Julia Cartwright
On Tue, Jun 26, 2018 at 08:44:58PM +0200, Hans de Goede wrote: > Hi, > > On 26-06-18 18:35, Michael Nazzareno Trimarchi wrote: [..] > > cat memblock/reserved > > 0: 0x80004000..0x80007fff > > 1: 0x8010..0x81e030b3 > > 2: 0x8300..0x83007fff > > 3: 0x8400..0x85ff > >

[ANNOUNCE] 4.9.146-rt125

2018-12-20 Thread Julia Cartwright
Hello RT Folks! I'm pleased to announce the 4.9.146-rt125 stable release. Apologies for an update to the 4.9-rt tree being way overdue. This release is just an update to the new stable 4.9.146 version and no RT specific changes have been made. You can get this release via the git tree at: gi

Re: [LINUX PATCH v8 2/2] memory: pl353: Add driver for arm pl353 static memory controller

2018-04-03 Thread Julia Cartwright
Hello- On Wed, Mar 14, 2018 at 04:14:34PM +0530, nagasureshkumarre...@gmail.com wrote: > From: Naga Sureshkumar Relli I'm pleased to see this patchset revived and resubmitted! It would be easier to follow if you constructed your two patchsets with git format-patch --thread. Or, merge them into

[PATCH RT] seqlock: provide the same ordering semantics as mainline

2018-04-26 Thread Julia Cartwright
ot;seqlock: Prevent rt starvation") Cc: stable...@vger.kernel.org Signed-off-by: Julia Cartwright --- Found during code inspection of the RT seqlock implementation. Julia include/linux/seqlock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/seqlock.h

Re: [patch V2 1/1] Kconfig: Introduce CONFIG_PREEMPT_RT

2019-07-18 Thread Julia Cartwright
ed-by: Daniel Bristot de Oliveira > Acked-by: Frederic Weisbecker > Acked-by: Ingo Molnar > Acked-by: Peter Zijlstra (Intel) > Acked-by: Marc Zyngier > Acked-by: Daniel Wagner > --- I'm excited to see where this goes. Acked-by: Julia Cartwright Julia

Re: [patch 10/12] hrtimer: Determine hard/soft expiry mode for hrtimer sleepers on RT

2019-07-26 Thread Julia Cartwright
On Fri, Jul 26, 2019 at 08:30:58PM +0200, Thomas Gleixner wrote: > From: Sebastian Andrzej Siewior > > On PREEMPT_RT enabled kernels hrtimers which are not explicitely marked for > hard interrupt expiry mode are moved into soft interrupt context either for > latency reasons or because the hrtimer

[PATCH] iommu/dmar: fix buffer overflow during PCI bus notification

2019-02-20 Thread Julia Cartwright
+0x1f/0x40 The buggy address belongs to the variable: dmar_pci_notify_info_buf+0x40/0x60 Fixes: 57384592c433 ("iommu/vt-d: Store bus information in RMRR PCI device path") Signed-off-by: Julia Cartwright --- drivers/iommu/dmar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] iommu/dmar: fix buffer overflow during PCI bus notification

2019-02-20 Thread Julia Cartwright
On Wed, Feb 20, 2019 at 10:46:31AM -0600, Julia Cartwright wrote: > Commit 57384592c433 ("iommu/vt-d: Store bus information in RMRR PCI > device path") changed the type of the path data, however, the change in > path type was not reflected in size calculations. Update to use

Re: Re: [PATCH v3 1/3] KVM: arm/arm64: vgic: Make vgic_irq->irq_lock a raw_spinlock

2019-02-01 Thread Julia Cartwright
On Fri, Feb 01, 2019 at 03:30:58PM +, Julien Grall wrote: > Hi Julien, > > On 07/01/2019 15:06, Julien Thierry wrote: > > vgic_irq->irq_lock must always be taken with interrupts disabled as > > it is used in interrupt context. > > I am a bit confused with the reason here. The code mention tha

Re: [RFC PATCH] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state

2019-02-12 Thread Julia Cartwright
Hello Julien- On Fri, Feb 08, 2019 at 04:55:13PM +, Julien Grall wrote: > When the kernel is compiled with CONFIG_KERNEL_MODE_NEON, some part of > the kernel may be able to use FPSIMD/SVE. This is for instance the case > for crypto code. > > Any use of FPSIMD/SVE in the kernel are clearly mar

Re: [ANNOUNCE] Submit a topic for the RT Microconference at Linux Plumbers

2018-09-07 Thread Julia Cartwright
Hello all- On Tue, Sep 04, 2018 at 01:25:29PM -0400, Steven Rostedt wrote: > Hi RT folks! > > The call for proposals (CfP) is now open for the RT Microconference at > Linux Plumbers in Vancouver, Canada. The topics we are looking at this > year are: > > - How will PREEMPT_RT be maintained (is it

[ANNOUNCE] 4.9.98-rt76

2018-05-10 Thread Julia Cartwright
Hello RT Folks! I'm pleased to announce the 4.9.98-rt76 stable release. This release is just an update to the new stable 4.9.98 version and no RT specific changes have been made. Expect a 4.9.98-rt77-rc1 with backports from rt-devel soon. You can get this release via the git tree at: git://g

[PATCH RT 2/2] squashfs: make use of local lock in multi_cpu decompressor

2018-05-07 Thread Julia Cartwright
-by: Julia Cartwright --- fs/squashfs/decompressor_multi_percpu.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/fs/squashfs/decompressor_multi_percpu.c b/fs/squashfs/decompressor_multi_percpu.c index 23a9c28ad8ea..6a73c4fa88e7 100644 --- a/fs/squashfs

[PATCH RT 1/2] locallock: provide {get,put}_locked_ptr() variants

2018-05-07 Thread Julia Cartwright
Provide a set of locallocked accessors for pointers to per-CPU data; this is useful for dynamically-allocated per-CPU regions, for example. These are symmetric with the {get,put}_cpu_ptr() per-CPU accessor variants. Signed-off-by: Julia Cartwright --- include/linux/locallock.h | 10

Re: [LINUX PATCH v8 2/2] memory: pl353: Add driver for arm pl353 static memory controller

2018-05-07 Thread Julia Cartwright
On Mon, May 07, 2018 at 10:12:28AM +, Naga Sureshkumar Relli wrote: > Hi Julia, > > Thanks for reviewing the patch and Sorry for my late reply. This patch > went to junk folder, hence I didn't catch this patch. > > From: Julia Cartwright [mailto:ju...@ni.com] [..] >

[PATCH v2] sc16is7xx: Drop bogus use of IRQF_ONESHOT

2016-10-13 Thread Julia Cartwright
f-by: Josh Cartwright Cc: linux-rt-us...@vger.kernel.org Cc: Jakub Kicinski Cc: sta...@vger.kernel.org Cc: linux-ser...@vger.kernel.org Cc: Sebastian Andrzej Siewior Signed-off-by: Julia Cartwright Acked-by: Jakub Kicinski --- v1 -> v2: * Fixed up From: * Added Jakub's Acked-by. This patch h

Re: [PATCH 1/2] ARM: zynq: Remove skeleton.dtsi

2016-11-15 Thread Julia Cartwright
gt; > Signed-off-by: Michal Simek Reviewed-by: Julia Cartwright

Re: [PATCH 2/2] ARM: zynq: Fix W=1 dtc 1.4 warnings

2016-11-15 Thread Julia Cartwright
> but no reg property > Warning (unit_address_vs_reg): Node /memory has a reg or ranges > property, but no unit name > > Signed-off-by: Michal Simek Reviewed-by: Julia Cartwright > > --- > > arch/arm/boot/dts/zynq-7000.dtsi | 4 ++-- > arch/arm/boot/dts/zynq-

Re: [RFC 2/2] mmc: sdhci-pci: Use ACPI to get max frequency for Intel byt sdio host controller sub-vended by NI

2016-11-11 Thread Julia Cartwright
On Wed, Nov 09, 2016 at 10:08:29AM -0600, Zach Brown wrote: > On Wed, Nov 09, 2016 at 03:24:24PM +0200, Adrian Hunter wrote: > > On 08/11/16 22:07, Zach Brown wrote: > > > On NI 9037 boards the max SDIO frequency is limited by trace lengths > > > and other layout choices. The max SDIO frequency is

[PATCH v2 1/9] Coccinelle: locks: identify callers of spin_lock{,_irq,_irqsave}() in irqchip implementations

2017-03-21 Thread Julia Cartwright
e raw spinlock variants") as an example of _one_ such instance, which fixed a real bug seen in the field. Cc: Thomas Gleixner Cc: Sebastian Andrzej Siewior Cc: Linus Walleij Signed-off-by: Julia Cartwright --- v1 -> v2: - Make use of 'exists' on match to find any codepath which

[PATCH v2 4/9] mfd: asic3: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Acked-for-MFD-by: Lee Jones Signed-off-by: Julia Cartwright --- v1 -> v2: - No

[PATCH v2 9/9] gpio: pci-idio-16: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
spinlock w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- New patch as of v2 of series. drivers/gpio/gpi

[PATCH v2 6/9] mfd: tc6393xb: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Acked-for-MFD-by: Lee Jones Signed-off-by: Julia Cartwright --- v1 -> v2: - No

[PATCH v2 3/9] powerpc: mpc52xx_gpt: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- v1 -> v2: - No change. arch/powerpc/platforms/

[PATCH v2 5/9] mfd: t7l66xb: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Acked-for-MFD-by: Lee Jones Signed-off-by: Julia Cartwright --- v1 -> v2: - No

[PATCH v2 2/9] alpha: marvel: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- v1 -> v2: - Add hunk which properly initializes

[PATCH v2 8/9] gpio: 104-idio-16: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
spinlock w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- New patch as of v2 of series. drivers/gpio/gpi

[PATCH v2 0/9] fixup usage of non-raw spinlocks in irqchips

2017-03-21 Thread Julia Cartwright
org/r/cover.1489015238.git.ju...@ni.com Cc: Thomas Gleixner Cc: Sebastian Andrzej Siewior Cc: Linus Walleij Cc: Julia Lawall Cc: Gilles Muller Cc: Nicolas Palix Cc: Michal Marek Cc: Lee Jones Cc: co...@systeme.lip6.fr -- Julia Cartwright (9): Coccinelle: locks: identify calle

[PATCH v2 7/9] gpio: 104-idi-48: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
spinlock w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- New patch as of v2 of series. drivers/gpio/gp

Re: [PATCH v2 7/9] gpio: 104-idi-48: make use of raw_spinlock variants

2017-03-22 Thread Julia Cartwright
On Wed, Mar 22, 2017 at 08:44:14AM -0400, William Breathitt Gray wrote: > On Tue, Mar 21, 2017 at 05:43:07PM -0500, Julia Cartwright wrote: > >The 104-idi-48 gpio driver currently implements an irq_chip for handling > >interrupts; due to how irq_chip handling is done, it'

Re: [PATCH v2 1/9] Coccinelle: locks: identify callers of spin_lock{,_irq,_irqsave}() in irqchip implementations

2017-03-22 Thread Julia Cartwright
On Wed, Mar 22, 2017 at 10:54:15AM +0100, Julia Lawall wrote: > On Tue, 21 Mar 2017, Julia Cartwright wrote: > > On PREEMPT_RT, the spinlock_t type becomes an object which sleeps under > > contention. The codepaths used to support scheduling (irq dispatching, arch > > code,

Re: [PATCH RT 1/1] remoteproc: Prevent schedule while atomic

2017-03-22 Thread Julia Cartwright
On Wed, Mar 22, 2017 at 04:18:43PM +0100, Lionel Debieve wrote: > Use raw_spin_lock in enable/disable channel as it comes from > interrupt context. > > BUG: sleeping function called from invalid context at > kernel/locking/rtmutex.c:995 > in_atomic(): 1, irqs_disabled(): 128, pid: 307, name: pulse

Re: [PATCH RT 1/1] remoteproc: Prevent schedule while atomic

2017-03-22 Thread Julia Cartwright
On Wed, Mar 22, 2017 at 01:30:12PM -0500, Grygorii Strashko wrote: > > On 03/22/2017 01:01 PM, Steven Rostedt wrote: > > On Wed, 22 Mar 2017 12:37:59 -0500 > > Julia Cartwright wrote: > > > > > Which kernel were you testing on, here? From what I can tell, this

Re: [PATCH v4 1/4] pinctrl: rockchip: remove unnecessary locking

2017-03-23 Thread Julia Cartwright
Hello John- One quick question below. Apologies if this has been covered, but just want to be sure. On Thu, Mar 23, 2017 at 10:59:28AM +, John Keeping wrote: > regmap_update_bits does its own locking and everything else accessed > here is a local variable so there is no need to lock around i

Re: [PATCH v4 1/4] pinctrl: rockchip: remove unnecessary locking

2017-03-23 Thread Julia Cartwright
On Thu, Mar 23, 2017 at 06:55:50PM +0100, Heiko St?bner wrote: > Am Donnerstag, 23. März 2017, 17:51:53 CET schrieb John Keeping: > > On Thu, 23 Mar 2017 11:10:20 -0500, Julia Cartwright wrote: [..] > > > [..] > > > > > > > @@ -1185,17 +1177,14 @@ stat

Re: [PATCH v4 1/4] pinctrl: rockchip: remove unnecessary locking

2017-03-23 Thread Julia Cartwright
On Thu, Mar 23, 2017 at 09:01:43PM +0100, Heiko St?bner wrote: > Am Donnerstag, 23. März 2017, 13:29:10 CET schrieb Julia Cartwright: > > On Thu, Mar 23, 2017 at 06:55:50PM +0100, Heiko St?bner wrote: > > > Am Donnerstag, 23. März 2017, 17:51:53 CET schrieb John Keeping: >

Re: [PATCH RT 1/1] remoteproc: Prevent schedule while atomic

2017-03-23 Thread Julia Cartwright
On Thu, Mar 23, 2017 at 10:26:49AM +, Lee Jones wrote: > On Thu, 23 Mar 2017, Lionel DEBIEVE wrote: > > > On 03/22/2017 07:47 PM, Julia Cartwright wrote: > > > On Wed, Mar 22, 2017 at 01:30:12PM -0500, Grygorii Strashko wrote: > > >> On 03/22/2017 01:01 PM,

[ANNOUNCE] 4.1.39-rt47

2017-03-17 Thread Julia Cartwright
Hello RT Folks, I'm happy to announce the 4.1.39-rt47 stable release. This release is just an update to the new stable 4.1.39 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

Re: [PATCH v2 2/4] pinctrl: rockchip: convert to raw spinlock

2017-03-15 Thread Julia Cartwright
Hello John- On Wed, Mar 15, 2017 at 05:46:52PM +, John Keeping wrote: > This lock is used from rockchip_irq_set_type() which is part of the > irq_chip implementation and thus must use raw_spinlock_t as documented > in Documentation/gpio/driver.txt. > > Signed-off-by: John Keeping > Reviewed-

Re: [RFC PATCH 0/4] pinctrl: rockchip: PREEMPT_RT_FULL fixes

2017-03-15 Thread Julia Cartwright
k since with full RT preemption the regmap's spinlock may sleep. > > Nice work! It all looks good to me, let's see what Heiko says. > > Please keep Julia Cartwright on the CC for this patch series, she is > doing some coccinelle-based rewrites to use raw spinlocks as

Re: [PATCH v2 2/4] pinctrl: rockchip: convert to raw spinlock

2017-03-15 Thread Julia Cartwright
On Wed, Mar 15, 2017 at 07:16:53PM +0100, Heiko Stuebner wrote: > Am Mittwoch, 15. März 2017, 18:08:06 CET schrieb John Keeping: > > On Wed, 15 Mar 2017 13:01:37 -0500, Julia Cartwright wrote: > > > On Wed, Mar 15, 2017 at 05:46:52PM +, John Keeping wrote: > > &g

Re: [PATCH 14/19] mfd: t7l66xb: make use of raw_spinlock variants

2017-03-15 Thread Julia Cartwright
On Wed, Mar 15, 2017 at 11:17:44AM +, Lee Jones wrote: > On Thu, 09 Mar 2017, Julia Cartwright wrote: > > > The t7l66xb mfd driver currently implements an irq_chip for handling > > interrupts; due to how irq_chip handling is done, it's necessary for the > > irq_ch

[PATCH stable] powerpc/ptrace: Fix out of bounds array access warning

2017-03-16 Thread Julia Cartwright
Signed-off-by: Michael Ellerman Signed-off-by: Julia Cartwright --- Hello stable folks- The following patch introduces no run-time risk, but makes it possible to build olders in powerpc configurations with newer GCCs. It's landed upstream as 1e407ee3b21f981140491d5b8a36422979ca246f, and from

[PATCH RT 4/9] x86/mm/cpa: avoid wbinvd() for PREEMPT

2017-03-07 Thread Julia Cartwright
Peter Zijlstra (Intel) Signed-off-by: John Ogness Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 9e539d7327b265c639c859ab1fb7d3699ba0cb19) Signed-off-by: Julia Cartwright --- arch/x86/mm/pageattr.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/x86/mm/pa

[PATCH RT 3/9] pinctrl: qcom: Use raw spinlock variants

2017-03-07 Thread Julia Cartwright
4.1.38-rt46-rc1 stable review patch. If you have any objection to the inclusion of this patch, let me know. --- 8< --- 8< --- 8< --- From: Julia Cartwright The MSM pinctrl driver currently implements an irq_chip for handling GPIO interrupts; due to how irq_chip handling is done, it&#x

[PATCH RT 0/9] Linux 4.1.38-rt46-rc1

2017-03-07 Thread Julia Cartwright
: Fix compilation error for !CONFIG_MODULES and !CONFIG_SMP John Ogness (1): x86/mm/cpa: avoid wbinvd() for PREEMPT Julia Cartwright (2): pinctrl: qcom: Use raw spinlock variants Linux 4.1.38-rt46-rc1 Mike Galbraith (1): cpuset: Convert callback_lock to raw_spinlock_t Sebastian Andrzej

[PATCH RT 6/9] lockdep: Handle statically initialized PER_CPU locks

2017-03-07 Thread Julia Cartwright
cause the canonical address fails the static_obj(key) check for obvious reasons. Reported-by: Mike Galbraith Cc: stable...@vger.kernel.org Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit b2ee2b3e4642646571fa2368c350278b6b9d991b) Signed-off-b

[PATCH RT 5/9] rt: Drop mutex_disable() on !DEBUG configs and the GPL

2017-03-07 Thread Julia Cartwright
_mutex_destroy() (which we have for rt_mutex_lock() for instance) I am simply dropping the GPL part from the export. Reported-by: Alex Goins Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 93f3bd72784ed58cbba1a32b043a842f205a631f) Signed-off-by: Julia Cartwright --- include/linux/

[PATCH RT 7/9] rt: Drop the removal of _GPL from rt_mutex_destroy()'s

2017-03-07 Thread Julia Cartwright
Sebastian Andrzej Siewior (cherry picked from commit 5dbe8fd80a2ccfc8c24874e19259df51d91e02a2) Signed-off-by: Julia Cartwright --- kernel/locking/rtmutex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c index 469

[PATCH RT 1/9] cpuset: Convert callback_lock to raw_spinlock_t

2017-03-07 Thread Julia Cartwright
Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit 5625380ec638bdc89813f0bac9d1e431514e8a19) Signed-off-by: Julia Cartwright --- kernel/cpuset.c | 66 - 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/kernel/cp

[PATCH RT 9/9] Linux 4.1.38-rt46-rc1

2017-03-07 Thread Julia Cartwright
4.1.38-rt46-rc1 stable review patch. If you have any objection to the inclusion of this patch, let me know. --- 8< --- 8< --- 8< --- From: Julia Cartwright --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion

[PATCH RT 2/9] radix-tree: use local locks

2017-03-07 Thread Julia Cartwright
4) Signed-off-by: Julia Cartwright --- include/linux/radix-tree.h | 12 ++-- lib/radix-tree.c | 22 ++ 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h index 9a80663a1574..e46b414e9e39 100

[PATCH RT 8/9] lockdep: Fix compilation error for !CONFIG_MODULES and

2017-03-07 Thread Julia Cartwright
-by: Sebastian Andrzej Siewior (cherry picked from commit a88182f3f1818407d738e832650085110cae1f29) Signed-off-by: Julia Cartwright --- include/linux/module.h | 5 + kernel/module.c| 5 + 2 files changed, 10 insertions(+) diff --git a/include/linux/module.h b/include/linux/module.h

[PATCH 01/19] Coccinelle: locks: identify callers of spin_lock{,_irq,_irqsave}() in irqchip implementations

2017-03-09 Thread Julia Cartwright
e raw spinlock variants") as an example of _one_ such instance, which fixed a real bug seen in the field. Cc: Thomas Gleixner Cc: Sebastian Andrzej Siewior Cc: Linus Walleij Signed-off-by: Julia Cartwright --- .../coccinelle/locks/irq_chip_raw_spinlock.cocci | 96 ++ 1 fi

[PATCH 10/19] gpio: ws16c48: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- drivers/gpio/gpio

[PATCH 11/19] gpio: zx: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- drivers/gpio/gpio-zx.c | 24

[PATCH 16/19] pinctrl: bcm: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- drivers/pinctrl/bcm/pinctrl-ip

[PATCH 15/19] mfd: tc6393xb: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- drivers/mfd/

[PATCH 02/19] gpio: altera: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- drivers/gpio/gpio-altera.c | 24 -

[PATCH 06/19] gpio: ath79: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
k w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright --- drivers/gpio/gpio-ath79.c | 28 ++---

  1   2   >