[PATCH 5.3 152/166] ptp_qoriq: Initialize the registers spinlock before calling ptp_qoriq_settime

2019-10-06 Thread Greg Kroah-Hartman
From: Vladimir Oltean [ Upstream commit db34a4714c013b644eec2de0ec81b1f0373b8b93 ] Because ptp_qoriq_settime is being called prior to spin_lock_init, the following stack trace can be seen at driver probe time: [2.269117] the code is fine but needs lockdep annotation. [2.274569] turning

Re: linux-next: build warnings after merge of the rdma tree

2018-07-09 Thread Jason Gunthorpe
On Tue, Jul 10, 2018 at 11:33:42AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the rdma tree, today's linux-next build (x86_64 > allmodconfig) produced these warnings: > > In file included from include/linux/printk.h:336:0, > from incl

Re: [PATCH 2/3] gpio: Fix gpiochip_add_data_with_key() error path

2019-03-28 Thread Linus Walleij
c/gpio@e605 > CPU: 1 PID: 20 Comm: kworker/1:1 Not tainted 5.1.0-rc2-koelsch+ #407 > Hardware name: Generic R-Car Gen2 (Flattened Device Tree) > Workqueue: events deferred_probe_work_func > [] (unwind_backtrace) from [] (show_stack+0x10/0x14) > [] (show_stack)

Re: [RFC PATCH] extcon: Fix sleeping in atomic context after connecting USB cable

2014-09-29 Thread Krzysztof Kozlowski
On pon, 2014-09-29 at 04:25 +, 함명주 wrote: > > > > Kernel built with extcon and charger-manager. > > > > After connecting the USB cable sleeping function was called from atomic > > context: > > [ 63.328648] BUG: sleeping function called from invalid co

[PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-09 Thread Andrzej Hajda
linked in: [ 95.051430] CPU: 1 PID: 3067 Comm: bash Tainted: GW 3.16.0-11355-g7a6eca5-dirty #3015 [ 95.060058] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 95.067766] [] (show_stack) from [] (dump_stack+0x70/0xbc) [ 95.074953] [] (dump_stack) from

[PATCH 3.16 002/357] cpufreq: OPP: Avoid sleeping while atomic

2014-10-03 Thread Greg Kroah-Hartman
3.16-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 3c5445ce3a0c6d6935911212b735772af5115517 upstream. We allocate the cpufreq table after calling rcu_read_lock(), which disables preemption. This causes scheduling while

Re: [PATCH arm 1/1] arm: Use _rcuidle tracepoint to allow use from idle

2016-04-26 Thread Steven Rostedt
> 4.6.0-rc5-next-20160426+ #1114 Not tainted > --- > include/trace/events/clk.h:59 suspicious rcu_dereference_check() usage! > > other info that might help us debug this: > > > RCU used illegally from idle CPU! > rcu_scheduler_active = 1,

Re: [PATCH arm 1/1] arm: Use _rcuidle tracepoint to allow use from idle

2016-04-26 Thread Steven Rostedt
; > > 4.6.0-rc5-next-20160426+ #1114 Not tainted > > > --- > > > include/trace/events/clk.h:59 suspicious rcu_dereference_check() usage! > > > > > > other info that might help us debug this: > > > > > > > > &g

Re: [PATCH arm 1/1] arm: Use _rcuidle tracepoint to allow use from idle

2016-04-26 Thread Paul E. McKenney
() usage! > > > > other info that might help us debug this: > > > > > > RCU used illegally from idle CPU! > > rcu_scheduler_active = 1, debug_locks = 0 > > RCU used illegally from extended quiescent state! > > 2 locks held by swapper/0/0

Re: [PATCH arm 1/1] arm: Use _rcuidle tracepoint to allow use from idle

2016-04-26 Thread Paul E. McKenney
; > > > 8< -- > > > > === > > > > [ INFO: suspicious RCU usage. ] > > > > 4.6.0-rc5-next-20160426+ #1114 Not tainted > > > > --- > > > > include/trace/events

[PATCH omap 3/6] arm: Additional _rcuidle tracepoints to allow use from idle

2016-05-02 Thread Paul E. McKenney
h:59 suspicious rcu_dereference_check() usage! > > other info that might help us debug this: > > > RCU used illegally from idle CPU! > rcu_scheduler_active = 1, debug_locks = 0 > RCU used illegally from extended quiescent state! > 2 locks held by swapper/0/0: > #0: (>hwmod_key#

[PATCH v2 omap 3/6] arm: Add _rcuidle tracepoints to allow clk_core_disable() use from idle

2016-05-16 Thread Paul E. McKenney
h:59 suspicious rcu_dereference_check() usage! > > other info that might help us debug this: > > > RCU used illegally from idle CPU! > rcu_scheduler_active = 1, debug_locks = 0 > RCU used illegally from extended quiescent state! > 2 locks held by swapper/0/0: > #0: (>hwmod_key#

Re: [PATCH] crypto: omap-des: Fix "schedule while atomic" bug

2015-12-10 Thread Sam Protsenko
+ Lokesh Vutla + linux-o...@vger.kernel.org On Thu, Dec 10, 2015 at 6:06 PM, Semen Protsenko wrote: > > From: Sam Protsenko > > When using DES module the next bug appears: > > BUG: scheduling while atomic: kworker/0:1/63/0x0102 > > W

Page migration issue with UBIFS

2016-03-15 Thread Richard Weinberger
Hi! We're facing this issue from 2014 on UBIFS: http://www.spinics.net/lists/linux-fsdevel/msg79941.html So sum up: UBIFS does not allow pages directly marked as dirty. It want's everyone to do it via UBIFS's ->wirte_end() and ->page_mkwirte() functions. This assumption *seems* to be vi

Re: [PATCH 3/7] eeprom: at24: extend driver to plug into the NVMEM framework

2016-02-12 Thread Bartosz Golaszewski
ing so long to get back to you. Can you confirm you had > lockdep turned on. Yes, this is from the config I used: CONFIG_LOCKDEP_SUPPORT=y CONFIG_LOCKDEP=y # CONFIG_DEBUG_LOCKDEP is not set Best regards, Bartosz Golaszewski > Thanks > Andrew > >> >> # echo 24c32

Re: [Intel-gfx] [FYI PATCH] i915: kvmgt: the KVM mmu_lock is now an rwlock

2021-02-08 Thread kernel test robot
-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/spinlock.h:312, from include/linux/wait.h:9, from include/linux/pid.h:6, from include/linux/sched.h:14, from i

2.6.20 -- Loads of section mismatches

2007-02-04 Thread Miles Lane
Are any of these worth fixing? WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from .text between '_text' (at offset 0xc0100036) and 'checkCPUtype' WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from .text between '_text' (at offset 0xc0100044

Re: kernel panic on null pointer on page->mem_cgroup

2017-08-08 Thread Johannes Weiner
see > > > > > > crash> bt > > > PID: 72 TASK: e1f48640 CPU: 0 COMMAND: "mmcqd/1" > > > #0 [] (__crash_kexec) from [] > > > #1 [] (panic) from [] > > > #2 [] (svcerr_panic) from [] > > > #3 [] (_SvcErr_) from []

Re: kernel panic on null pointer on page->mem_cgroup

2017-08-08 Thread Brad Bolen
pear >> > > that someone is changing that member without taking the lock. In my >> > > setup, I see >> > > >> > > crash> bt >> > > PID: 72 TASK: e1f48640 CPU: 0 COMMAND: "mmcqd/1" >> > > #0 [] (__crash_kex

2.6.20 -- Loads of section mismatches

2007-02-04 Thread Miles Lane
Are any of these worth fixing? WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from .text between '_text' (at offset 0xc0100036) and 'checkCPUtype' WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from .text between '_text' (at offset 0xc0100044

Re: kernel panic on null pointer on page->mem_cgroup

2017-08-08 Thread Johannes Weiner
see > > > > > > crash> bt > > > PID: 72 TASK: e1f48640 CPU: 0 COMMAND: "mmcqd/1" > > > #0 [] (__crash_kexec) from [] > > > #1 [] (panic) from [] > > > #2 [] (svcerr_panic) from [] > > > #3 [] (_SvcErr_) from []

Re: kernel panic on null pointer on page->mem_cgroup

2017-08-08 Thread Brad Bolen
> > that someone is changing that member without taking the lock. In my >> > > setup, I see >> > > >> > > crash> bt >> > > PID: 72 TASK: e1f48640 CPU: 0 COMMAND: "mmcqd/1" >> > > #0 [] (__crash_kexec) from [] >>

Re: [PATCH v10 02/11] drm/sun4i: dsi: Update start value in video start delay

2019-05-30 Thread Maxime Ripard
0x2a0 > > > [CRTC:46:crtc-0] vblank wait timed out > > > Modules linked in: > > > CPU: 0 PID: 31 Comm: kworker/0:1 Tainted: GW > > > 5.1.0-next-20190514-00025-gf928bc7cc146 #15 > > > Hardware name: Allwinner sun8i Family > > > Work

[PATCH 4/5] ARM64: Move copy_siginfo_to_user32 and copy_siginfo_from_user32 to signal.c to be able to use from non AARCH32 code.

2013-09-09 Thread Andrew Pinski
The signal code for ILP32 uses one extra function from signal32.c; it does not make sense to enable the whole signal32.c code so we move the function which was being used to signal.c. Signed-off-by: Andrew Pinski apin...@cavium.com --- arch/arm64/kernel/signal.c | 85

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
leds_lp55xx_common video_bus_switch videodev media twl4030_vibra ff_memless tsc2005(+) omap_sham twl4030_wdt omap_wdt [ 55.242828] CPU: 0 PID: 528 Comm: kworker/0:3 Tainted: G D W 4.2.0-rc2+ #364 [ 55.251556] Hardware name: Nokia RX-51 board [ 55.260070] Workqueue: events power_supply_

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-20 Thread Bruce, Becky
ive this a try. What board was Subodh using? >> >> Any news on trying the above settings? > > Sorry, haven't had the chance to try it yet due to the impending merge > window opening. Once things settle down I'll give it a try -- or maybe > someone else can test it in

Regression with suspicious RCU usage splats with cpu_pm change

2017-07-13 Thread Tony Lindgren
. Regards, Tony 8< --- = WARNING: suspicious RCU usage 4.12.0-next-20170713+ #118 Tainted: GW - ./include/linux/rcupdate.h:611 rcu_read_lock() used illegally while idle! [2.928802] other info that might help us debug this: [2.928802] [2.946777] RCU used

Regression with suspicious RCU usage splats with cpu_pm change

2017-07-13 Thread Tony Lindgren
. Regards, Tony 8< --- = WARNING: suspicious RCU usage 4.12.0-next-20170713+ #118 Tainted: GW - ./include/linux/rcupdate.h:611 rcu_read_lock() used illegally while idle! [2.928802] other info that might help us debug this: [2.928802] [2.946777] RCU used

linux-next: build failure after merge of the tip tree

2016-07-17 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from tools/arch/x86/include/uapi/asm/bitsperlong.h:10:0, from /usr/include/asm-generic/int-ll64.h:11, from /usr/include/powerpc64le-linux-gnu

[PATCH V2 3/3] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-09-15 Thread Viresh Kumar
was never done for them (opposite of devm_regulator_bulk_get()), the kernel WARNs at WARN_ON(rdev->open_count); And eventually it crashes from debugfs_remove_recursive(). x--x wm8994 3-001a: Device is not a WM8994, ID is 0 --

Re: [PATCH V2 3/3] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-09-16 Thread Charles Keepax
ring failures, the children are removed first and the core eventually > calls regulator_unregister() for them. As regulator_put() was never done > for them (opposite of devm_regulator_bulk_get()), the kernel WARNs at > > WARN_ON(rdev->open_count); > > And eventually it crashes

Re: Re: Re: "mm: move pcp and lru-pcp draining into single wq" broke resume from s2ram

2017-04-19 Thread Michal Hocko
On Wed 19-04-17 10:09:12, Geert Uytterhoeven wrote: > Hi Michal, Tetsuo, > > On Wed, Apr 19, 2017 at 9:57 AM, Michal Hocko <mho...@kernel.org> wrote: > > From f3c6e287042259d6ae9916f1ff66392c46ce2a3c Mon Sep 17 00:00:00 2001 > > From: Michal Hocko <mho...@suse.com&

Re: [PATCH 3/3] staging: rtl8192u: Convert u4bAcParam back to little-endian after construction

2017-04-29 Thread kbuild test robot
# save the attached .config to linux build tree make.cross ARCH=xtensa All warnings (new ones prefixed by >>): In file included from include/linux/byteorder/big_endian.h:4:0, from arch/xtensa/include/uapi/asm/byteorder.h:7, fro

kernel crash during remoteproc error recovery with 4.13-rc1

2017-07-28 Thread Suman Anna
Hi Bjorn, As I am rebasing my patches and testing them for submission, I am seeing kernel crashes with my error recovery tests with TI remoteprocs that use the virtio_rpmsg transport. This should be a common problem for all remoteprocs using virtio devices from resource table. Bisecting it led

[RFC PATCH 2/3] signal: Reduce copy_siginfo_to_user to just copy_to_user

2018-04-15 Thread Eric W. Biederman
f --git a/kernel/signal.c b/kernel/signal.c index d4ccea599692..d56f4d496c89 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2850,89 +2850,9 @@ enum siginfo_layout siginfo_layout(int sig, int si_code) int copy_siginfo_to_user(siginfo_t __user *to, const siginfo_t *from) {

[REVIEW][PATCH 07/17] signal: Reduce copy_siginfo_to_user to just copy_to_user

2018-04-19 Thread Eric W. Biederman
f --git a/kernel/signal.c b/kernel/signal.c index d4ccea599692..d56f4d496c89 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2850,89 +2850,9 @@ enum siginfo_layout siginfo_layout(int sig, int si_code) int copy_siginfo_to_user(siginfo_t __user *to, const siginfo_t *from) {

kernel crash during remoteproc error recovery with 4.13-rc1

2017-07-28 Thread Suman Anna
Hi Bjorn, As I am rebasing my patches and testing them for submission, I am seeing kernel crashes with my error recovery tests with TI remoteprocs that use the virtio_rpmsg transport. This should be a common problem for all remoteprocs using virtio devices from resource table. Bisecting it led

[RFC PATCH 2/3] signal: Reduce copy_siginfo_to_user to just copy_to_user

2018-04-15 Thread Eric W. Biederman
c b/kernel/signal.c index d4ccea599692..d56f4d496c89 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2850,89 +2850,9 @@ enum siginfo_layout siginfo_layout(int sig, int si_code) int copy_siginfo_to_user(siginfo_t __user *to, const siginfo_t *from) { - int err; - - if (!access_ok (VE

[REVIEW][PATCH 07/17] signal: Reduce copy_siginfo_to_user to just copy_to_user

2018-04-19 Thread Eric W. Biederman
l/signal.c index d4ccea599692..d56f4d496c89 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2850,89 +2850,9 @@ enum siginfo_layout siginfo_layout(int sig, int si_code) int copy_siginfo_to_user(siginfo_t __user *to, const siginfo_t *from) { - int err; - - if (!access_ok (VE

Re: Re: Re: "mm: move pcp and lru-pcp draining into single wq" broke resume from s2ram

2017-04-19 Thread Michal Hocko
On Wed 19-04-17 10:09:12, Geert Uytterhoeven wrote: > Hi Michal, Tetsuo, > > On Wed, Apr 19, 2017 at 9:57 AM, Michal Hocko wrote: > > From f3c6e287042259d6ae9916f1ff66392c46ce2a3c Mon Sep 17 00:00:00 2001 > > From: Michal Hocko > > Date: Wed, 19 Apr 2017 09:52:46 +0

[PATCH V2 3/3] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-09-15 Thread Viresh Kumar
was never done for them (opposite of devm_regulator_bulk_get()), the kernel WARNs at WARN_ON(rdev->open_count); And eventually it crashes from debugfs_remove_recursive(). x--x wm8994 3-001a: Device is not a WM8994, ID is 0 --

Re: [PATCH V2 3/3] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-09-16 Thread Charles Keepax
ring failures, the children are removed first and the core eventually > calls regulator_unregister() for them. As regulator_put() was never done > for them (opposite of devm_regulator_bulk_get()), the kernel WARNs at > > WARN_ON(rdev->open_count); > > And eventually it crashes

Re: [PATCH 3/3] staging: rtl8192u: Convert u4bAcParam back to little-endian after construction

2017-04-29 Thread kbuild test robot
# save the attached .config to linux build tree make.cross ARCH=xtensa All warnings (new ones prefixed by >>): In file included from include/linux/byteorder/big_endian.h:4:0, from arch/xtensa/include/uapi/asm/byteorder.h:7, fro

linux-next: build failure after merge of the tip tree

2016-07-17 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from tools/arch/x86/include/uapi/asm/bitsperlong.h:10:0, from /usr/include/asm-generic/int-ll64.h:11, from /usr/include/powerpc64le-linux-gnu

Re: RCU lockup in the SMP idle thread, help...

2012-09-14 Thread Linus Walleij
:/ INFO: rcu_preempt detected stalls on CPUs/tasks: { 0} (detected by 1, t=29545 jiffies) [c0014710] (unwind_backtrace+0x0/0xf8) from [c00686fc] (rcu_check_callbacks+0x6e0/0x76c) [c00686fc] (rcu_check_callbacks+0x6e0/0x76c) from [c0029cbc] (update_process_times+0x38/0x4c) [c0029cbc] (update_process_times

Re: linux-next: build warnings after merge of the char-misc tree

2015-04-13 Thread Greg KH
On Mon, Apr 13, 2015 at 07:37:20PM +1000, Stephen Rothwell wrote: Hi all, After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: In file included from include/trace/define_trace.h:90:0, from drivers/misc/mei/mei-trace.h

Re: [PATCH] thermal: remove dangling 'weight_attr' device file

2015-07-30 Thread Viresh Kumar
On 23-07-15, 14:32, Viresh Kumar wrote: This file isn't getting removed while we unbind a device from thermal zone. And this causes following messages when the device is registered again: WARNING: CPU: 0 PID: 2228 at /home/viresh/linux/fs/sysfs/dir.c:31 sysfs_warn_dup+0x60/0x70() sysfs

Re: [PATCH] thermal: remove dangling 'weight_attr' device file

2015-07-27 Thread Javi Merino
On Thu, Jul 23, 2015 at 10:02:32AM +0100, Viresh Kumar wrote: This file isn't getting removed while we unbind a device from thermal zone. And this causes following messages when the device is registered again: WARNING: CPU: 0 PID: 2228 at /home/viresh/linux/fs/sysfs/dir.c:31 sysfs_warn_dup

[PATCH] thermal: remove dangling 'weight_attr' device file

2015-07-23 Thread Viresh Kumar
This file isn't getting removed while we unbind a device from thermal zone. And this causes following messages when the device is registered again: WARNING: CPU: 0 PID: 2228 at /home/viresh/linux/fs/sysfs/dir.c:31 sysfs_warn_dup+0x60/0x70() sysfs: cannot create duplicate filename '/devices

[4.1.3-rt8] [report][cpuhotplug] BUG: spinlock bad magic on CPU#0, sh/137

2015-10-09 Thread Grygorii Strashko
] CPU: 0 PID: 137 Comm: sh Not tainted 4.1.10-rt8-01700-g2c38702-dirty #55 [ 57.767555] Hardware name: Generic DRA74X (Flattened Device Tree) [ 57.767568] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) [ 57.767579] [] (show_stack) from [] (dump_stack+0x84/0xa0) [ 57.767593

[PATCH 3.10 084/319] cris: buggered copy_from_user/copy_to_user/clear_user

2017-02-05 Thread Willy Tarreau
From: Al Viro <v...@zeniv.linux.org.uk> commit eb47e0293baaa3044022059f1fa9ff474bfe35cb upstream. * copy_from_user() on access_ok() failure ought to zero the destination * none of those primitives should skip the access_ok() check in case of small constant size. Acked-by: Jesper N

[PATCH 3.12 103/119] cris: buggered copy_from_user/copy_to_user/clear_user

2016-09-29 Thread Jiri Slaby
From: Al Viro <v...@zeniv.linux.org.uk> 3.12-stable review patch. If anyone has any objections, please let me know. === commit eb47e0293baaa3044022059f1fa9ff474bfe35cb upstream. * copy_from_user() on access_ok() failure ought to zero the destination * none of those prim

[PATCH 4.18 022/228] iommu/msm: Dont call iommu_device_{,un}link from atomic context

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c

[PATCH 4.14 016/137] iommu/msm: Dont call iommu_device_{,un}link from atomic context

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c

[PATCH AUTOSEL 4.14 16/87] iommu/msm: Don't call iommu_device_{,un}link from atomic context

2018-09-16 Thread Sasha Levin
From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:747 in_atomic(): 1, irqs_disabled(): 128, pid: 77, name: kworker/2:1 4 locks held by kworker/2:1

[PATCH AUTOSEL 4.18 022/136] iommu/msm: Don't call iommu_device_{,un}link from atomic context

2018-09-16 Thread Sasha Levin
From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:747 in_atomic(): 1, irqs_disabled(): 128, pid: 77, name: kworker/2:1 4 locks held by kworker/2:1

Re: RCU lockup in the SMP idle thread, help...

2012-09-14 Thread Linus Walleij
@ME:/ root@ME:/ INFO: rcu_preempt detected stalls on CPUs/tasks: { 0} (detected by 1, t=29545 jiffies) [] (unwind_backtrace+0x0/0xf8) from [] (rcu_check_callbacks+0x6e0/0x76c) [] (rcu_check_callbacks+0x6e0/0x76c) from [] (update_process_times+0x38/0x4c) [] (update_process_times+0x38/0x4c) fr

Re: RCU lockup in the SMP idle thread, help...

2012-09-14 Thread Paul E. McKenney
ot@ME:/ INFO: rcu_preempt detected stalls on CPUs/tasks: { 0} > (detected by 1, t=29545 jiffies) > [] (unwind_backtrace+0x0/0xf8) from [] > (rcu_check_callbacks+0x6e0/0x76c) > [] (rcu_check_callbacks+0x6e0/0x76c) from [] > (update_process_times+0x38/0x4c) > [] (upda

[PATCH 4.18 022/228] iommu/msm: Dont call iommu_device_{,un}link from atomic context

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c

[PATCH 4.14 016/137] iommu/msm: Dont call iommu_device_{,un}link from atomic context

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c

[PATCH AUTOSEL 4.14 16/87] iommu/msm: Don't call iommu_device_{,un}link from atomic context

2018-09-16 Thread Sasha Levin
From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:747 in_atomic(): 1, irqs_disabled(): 128, pid: 77, name: kworker/2:1 4 locks held by kworker/2:1

[PATCH AUTOSEL 4.18 022/136] iommu/msm: Don't call iommu_device_{,un}link from atomic context

2018-09-16 Thread Sasha Levin
From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:747 in_atomic(): 1, irqs_disabled(): 128, pid: 77, name: kworker/2:1 4 locks held by kworker/2:1

Re: linux-next: build warnings after merge of the char-misc tree

2015-04-13 Thread Greg KH
On Mon, Apr 13, 2015 at 07:37:20PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the char-misc tree, today's linux-next build (x86_64 > allmodconfig) produced these warnings: > > In file included from include/trace/define_trace.h:90:0, > from

[PATCH] clk: Fix __GFP_FS allocation with irqs disabled

2014-12-22 Thread Krzysztof Kozlowski
[2.593796] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) [2.599892] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [2.607612] [] (show_stack) from [] (dump_stack+0x70/0xbc) [2.614822] [] (dump_stack) from [] (warn_slowpath_common+0x74/0xb0) [2.622885

Re: [PATCH] clk: Fix __GFP_FS allocation with irqs disabled

2014-12-22 Thread Stephen Boyd
0 PID: 1 Comm: swapper/0 Tainted: GW > 3.18.0-next-20141216-2-g4ff197fc1902-dirty #1318 > [2.593796] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) > [2.599892] [] (unwind_backtrace) from [] > (show_stack+0x10/0x14) > [2.607612] [] (show_stack) f

[PATCH 3.10 084/319] cris: buggered copy_from_user/copy_to_user/clear_user

2017-02-05 Thread Willy Tarreau
From: Al Viro commit eb47e0293baaa3044022059f1fa9ff474bfe35cb upstream. * copy_from_user() on access_ok() failure ought to zero the destination * none of those primitives should skip the access_ok() check in case of small constant size. Acked-by: Jesper Nilsson Signed-off-by: Al Viro Signed

[PATCH 3.12 103/119] cris: buggered copy_from_user/copy_to_user/clear_user

2016-09-29 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit eb47e0293baaa3044022059f1fa9ff474bfe35cb upstream. * copy_from_user() on access_ok() failure ought to zero the destination * none of those primitives should skip the access_ok

[4.1.3-rt8] [report][cpuhotplug] BUG: spinlock bad magic on CPU#0, sh/137

2015-10-09 Thread Grygorii Strashko
] CPU: 0 PID: 137 Comm: sh Not tainted 4.1.10-rt8-01700-g2c38702-dirty #55 [ 57.767555] Hardware name: Generic DRA74X (Flattened Device Tree) [ 57.767568] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) [ 57.767579] [] (show_stack) from [] (dump_stack+0x84/0xa0) [ 57.767593

[PATCH 1/5] mfd: max8997: Fix platform device ids to avoid probe failure

2015-03-20 Thread Bartlomiej Zolnierkiewicz
Commit 6e3f62f0793e (mfd: core: Fix platform-device id generation) changed the way platform device ids are generated from mfd id base and cell ids in mfd_add_device(). Unfortunately the change in question breaks mfd drivers which are using mfd_add_devices() with mfd id base equal to -1 and non

[PATCH v2 1/5] mfd: max8997: Fix platform device ids to avoid probe failure

2015-03-20 Thread Bartlomiej Zolnierkiewicz
Commit 6e3f62f0793e (mfd: core: Fix platform-device id generation) changed the way platform device ids are generated from mfd id base and cell ids in mfd_add_device(). Unfortunately the change in question breaks mfd drivers which are using mfd_add_devices() with mfd id base equal to -1 and non

[PATCH v3 1/4] mfd: max8997: Fix platform device ids to avoid probe failure

2015-03-23 Thread Bartlomiej Zolnierkiewicz
Commit 6e3f62f0793e (mfd: core: Fix platform-device id generation) changed the way platform device ids are generated from mfd id base and cell ids in mfd_add_device(). Unfortunately the change in question breaks mfd drivers which are using mfd_add_devices() with mfd id base equal to -1 and non

[PATCH 4/5] ARM64: Move copy_siginfo_to_user32 and copy_siginfo_from_user32 to signal.c to be able to use from non AARCH32 code.

2013-09-09 Thread Andrew Pinski
The signal code for ILP32 uses one extra function from signal32.c; it does not make sense to enable the whole signal32.c code so we move the function which was being used to signal.c. Signed-off-by: Andrew Pinski --- arch/arm64/kernel/signal.c | 85

[PATCH 1/5] mfd: max8997: Fix platform device ids to avoid probe failure

2015-03-20 Thread Bartlomiej Zolnierkiewicz
Commit 6e3f62f0793e ("mfd: core: Fix platform-device id generation") changed the way platform device ids are generated from mfd id base and cell ids in mfd_add_device(). Unfortunately the change in question breaks mfd drivers which are using mfd_add_devices() with mfd id base equal to

[PATCH v2 1/5] mfd: max8997: Fix platform device ids to avoid probe failure

2015-03-20 Thread Bartlomiej Zolnierkiewicz
Commit 6e3f62f0793e ("mfd: core: Fix platform-device id generation") changed the way platform device ids are generated from mfd id base and cell ids in mfd_add_device(). Unfortunately the change in question breaks mfd drivers which are using mfd_add_devices() with mfd id base equal to

[PATCH v3 1/4] mfd: max8997: Fix platform device ids to avoid probe failure

2015-03-23 Thread Bartlomiej Zolnierkiewicz
Commit 6e3f62f0793e ("mfd: core: Fix platform-device id generation") changed the way platform device ids are generated from mfd id base and cell ids in mfd_add_device(). Unfortunately the change in question breaks mfd drivers which are using mfd_add_devices() with mfd id base equal to

Re: error: implicit declaration of function 'rcu_dereference' - current -git fails to build

2007-08-02 Thread Jesper Juhl
On 02/08/07, Jesper Juhl [EMAIL PROTECTED] wrote: I get this build error with the current mainline git tree. When I say current mainline git tree I mean that HEAD is at 370504cf7c68b953de55c41d5e0be97d30f3cf00 Let me know if further details are needed... ... In file included from include

Re: [RFC PATCH] extcon: Fix sleeping in atomic context after connecting USB cable

2014-09-28 Thread 함명주
Kernel built with extcon and charger-manager. After connecting the USB cable sleeping function was called from atomic context: [ 63.328648] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:586 [] [ 63.388743] Workqueue: events max14577_muic_irq_work

[PATCH 1/2] hsi: omap_ssi_port: Prevent warning if cawake_gpio is not defined.

2015-10-14 Thread Roger Quadros
Not tainted 4.3.0-rc4-00030-gca978c0-dirty #335 [ 30.154174] Hardware name: Generic OMAP3-GP (Flattened Device Tree) [ 30.160827] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 30.168975] [] (show_stack) from [] (dump_stack+0x80/0x9c) [ 30.176635] [] (dump_stack) from

Re: [PATCH 3/7] eeprom: at24: extend driver to plug into the NVMEM framework

2016-02-12 Thread Andrew Lunn
c AM33XX (Flattened Device Tree) > [3.806920] [] (unwind_backtrace) from [] > (show_stack+0x10/0x14) > [3.817762] [] (show_stack) from [] > (dump_stack+0x84/0x9c) > [3.828071] [] (dump_stack) from [] > (warn_slowpath_common+0x7c/0xb8) > [3.839284] [] (warn_slo

[PATCH v2 4/4] ARM: OMAP2+: omap_device: fix crash on omap_device removal

2016-07-28 Thread Grygorii Strashko
d3-dirty #68 Hardware name: Generic DRA74X (Flattened Device Tree) task: eb1ee800 ti: ec962000 task.ti: ec962000 PC is at omap_device_enable+0x10/0x90 LR is at _od_runtime_resume+0x10/0x24 [...] [] (omap_device_enable) from [] (_od_runtime_resume+0x10/0x24) [] (_od_runtime_resume) from [] (__r

Re: drm: rockchip: CONFIG_DRM_FBDEV_EMULATION will crash the HDMI down sometimes

2017-01-17 Thread Mark yao
4.10.0-rc3-next-20170111+ #148 [ 33.421182] Hardware name: Rockchip (Device Tree) [ 33.425905] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) [ 33.433652] [] (show_stack) from [] (dump_stack+0x8c/0xa0) [ 33.440881] [] (dump_stack) from [] (__warn+0xf8/0x110) [ 33.447839] [] (

drm: rockchip: CONFIG_DRM_FBDEV_EMULATION will crash the HDMI down sometimes

2017-01-17 Thread Randy Li
[ 33.421182] Hardware name: Rockchip (Device Tree) [ 33.425905] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) [ 33.433652] [] (show_stack) from [] (dump_stack+0x8c/0xa0) [ 33.440881] [] (dump_stack) from [] (__warn+0xf8/0x110) [ 33.447839] [] (__warn) from [] (warn_slowpath_null+0x30/0x38

Re: [PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-05 Thread Borislav Petkov
n > issue with memcpy on 64bit with CONFIG_KMEMCHECK=y and with > memset/__memset on 32bit: > > $ cat init/test.c > #include > $ make -s init/test.o > $ make -s init/test.o > In file included from ./arch/x86/include/asm/string.h:4:0, >

namei_vfat.c array subscript is above array bounds

2017-07-07 Thread Meelis Roos
I do not know if this is old or new, just noticed it scrolling by while compiling current 4.12+git on 32-bit x86. CC [M] fs/fat/namei_vfat.o In file included from ./arch/x86/include/asm/string.h:2:0, from ./include/linux/string.h:18, from ./include/linux

Re: namei_vfat.c array subscript is above array bounds

2017-07-07 Thread Meelis Roos
Debian unstable, up to date. > Well, latest change of namei_vfat.c is Sep, 2016. And I can't reproduce > it by "gcc version 6.3.0 20170516 (Debian 6.3.0-18)". > > > CC [M] fs/fat/namei_vfat.o > > In file included from ./arch/x86/include/asm/string.h

Re: namei_vfat.c array subscript is above array bounds

2017-07-07 Thread OGAWA Hirofumi
on 6.3.0 20170516 (Debian 6.3.0-18)". > CC [M] fs/fat/namei_vfat.o > In file included from ./arch/x86/include/asm/string.h:2:0, > from ./include/linux/string.h:18, > from ./include/linux/bitmap.h:8, > from ./include/linux/cpumask

linux-next: build warnings after merge of the rdma tree

2018-07-09 Thread Stephen Rothwell
Hi all, After merging the rdma tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: In file included from include/linux/printk.h:336:0, from include/linux/kernel.h:14, from arch/x86/include/asm/percpu.h:45, from arch/x86

[PATCH AUTOSEL for 4.15 005/189] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-08 Thread Sasha Levin
From: Marek Szyprowski <m.szyprow...@samsung.com> [ Upstream commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b ] Initialize data->config_lock mutex before it is used by the driver code. This fixes following warning on Odroid XU3 boards: INFO: trying to register non-static key. the cod

[PATCH 4.15 23/53] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski <m.szyprow...@samsung.com> commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. T

[PATCH 4.14 40/49] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-17 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski <m.szyprow...@samsung.com> commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. T

[PATCH 4.9 61/66] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-17 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski <m.szyprow...@samsung.com> commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. T

[PATCH 4.4 15/97] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-22 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski <m.szyprow...@samsung.com> commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. T

Re: error: implicit declaration of function 'rcu_dereference' - current -git fails to build

2007-08-02 Thread Jesper Juhl
On 02/08/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: > I get this build error with the current mainline git tree. When I say "current mainline git tree" I mean that HEAD is at 370504cf7c68b953de55c41d5e0be97d30f3cf00 > Let me know if further details are needed... > >

Re: v3.9-rc1: [BUG: swapper/1 still has locks held!]

2013-03-05 Thread Shawn Guo
3] #0: (>cred_guard_mutex){+.+.+.}, at: [] > prepare_bprm_creds+0x28/0x64 > [5.712326] #1: (>i_mutex_dir_key){+.+.+.}, at: [] > lookup_slow+0x2c/0xa0 > [5.720966] > [5.720966] stack backtrace: > [5.725528] [] (unwind_backtrace+0x0/0xf0) from []

Re: v3.9-rc1: [BUG: swapper/1 still has locks held!]

2013-03-05 Thread Mandeep Singh Baines
>> prepare_bprm_creds+0x28/0x64 >> [5.712326] #1: (>i_mutex_dir_key){+.+.+.}, at: [] >> lookup_slow+0x2c/0xa0 >> [5.720966] >> [5.720966] stack backtrace: >> [5.725528] [] (unwind_backtrace+0x0/0xf0) from [] >> (rpc_wait_bit_killable+

[PATCH 4.4 15/97] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-22 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. This fixes following warning on Odroid

[PATCH 4.9 61/66] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-17 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. This fixes following warning on Odroid

[PATCH 4.14 40/49] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-17 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. This fixes following warning on Odroid

[PATCH 4.15 23/53] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. This fixes following warning on Odroid

[PATCH AUTOSEL for 4.15 005/189] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-08 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b ] Initialize data->config_lock mutex before it is used by the driver code. This fixes following warning on Odroid XU3 boards: INFO: trying to register non-static key. the code is fine but needs lock

<    2   3   4   5   6   7   8   9   10   11   >