Re: [PATCH 2/2] net: ethernet: davinci_emac: Fix platform_data overwrite

2016-04-21 Thread David Miller
From: Neil Armstrong Date: Wed, 20 Apr 2016 10:56:45 +0200 > When the DaVinci emac driver is removed and re-probed, the actual > pdev->dev.platform_data is populated with an unwanted valid pointer saved by > the previous davinci_emac_of_get_pdata() call, causing a kernel crash wh

Re: [PATCH v4 19/19] fs: handle inode->i_version more efficiently

2018-01-08 Thread Krzysztof Kozlowski
it's blocking on? Yes, I have sysrq. Blocked state (w): ## [ *** ] (2 of 4) A start job is running for…v-ttySAC2.device (1min / 1min 30s) *** break sent *** [*** ] (2 of 4) A start job is running for…v-ttySAC2.device (1min / 1min 30s)[ 110.962917] sysrq: SysRq : Show Blocke

Re: [PATCH v4 19/19] fs: handle inode->i_version more efficiently

2018-01-08 Thread Krzysztof Kozlowski
it's blocking on? Yes, I have sysrq. Blocked state (w): ## [ *** ] (2 of 4) A start job is running for…v-ttySAC2.device (1min / 1min 30s) *** break sent *** [*** ] (2 of 4) A start job is running for…v-ttySAC2.device (1min / 1min 30s)[ 110.962917] sysrq: SysRq : Show Blocke

Section mismatch on current git head

2006-12-22 Thread Thomas Meyer
Hello. What kind of problem is this: 1.) the one that should be fixed, but also can be ignored or 2.) the one that have to be fixed and ignorance is a bad idea? WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from .text between '_text' (at offset 0xc0100029

Re: Section mismatch on current git head

2006-12-22 Thread Randy Dunlap
to address section mismatches with that config option. I suppose that they will be in the next -mm release (?), so this needs to be retested with those patches applied. WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from .text between '_text' (at offset 0xc0100029

[Patch v1 1/1] RTL8712 alignment bug in 3.6.5 on ARM

2012-11-18 Thread Josh Coombs
hid_generic snd_usb_audio snd_usbmidi_lib snd_hwdep mct_u232 snd_rawmidi snd_seq_device snd_pcm snd_page_alloc usbhid usbserial snd_timer snd hid soundcore mv_cesa cryptodev(O) ipv6 autofs4 [ 54.231214] [c000d020] (unwind_backtrace+0x0/0xe0) from [c03fd1d0] (__schedule_bug+0x48/0x60) [ 54.240171

Section mismatch on current git head

2006-12-22 Thread Thomas Meyer
Hello. What kind of problem is this: 1.) the one that should be fixed, but also can be ignored or 2.) the one that have to be fixed and ignorance is a bad idea? WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from .text between '_text' (at offset 0xc0100029

Re: Section mismatch on current git head

2006-12-22 Thread Randy Dunlap
ome patches posted to address section mismatches with that config option. I suppose that they will be in the next -mm release (?), so this needs to be retested with those patches applied. > WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params > from .text between '_tex

[Patch v1 1/1] RTL8712 alignment bug in 3.6.5 on ARM

2012-11-18 Thread Josh Coombs
hid_generic snd_usb_audio snd_usbmidi_lib snd_hwdep mct_u232 snd_rawmidi snd_seq_device snd_pcm snd_page_alloc usbhid usbserial snd_timer snd hid soundcore mv_cesa cryptodev(O) ipv6 autofs4 [ 54.231214] [] (unwind_backtrace+0x0/0xe0) from [] (__schedule_bug+0x48/0x60) [ 54.240171

Re: [Patch v1 1/1] RTL8712 alignment bug in 3.6.5 on ARM

2012-11-18 Thread Andrew Lunn
nd_timer snd hid soundcore mv_cesa cryptodev(O) ipv6 autofs4 > [ 54.231214] [] (unwind_backtrace+0x0/0xe0) from > [] (__schedule_bug+0x48/0x60) > [ 54.240171] [] (__schedule_bug+0x48/0x60) from > [] (__schedule+0x4c/0x4bc) > [ 54.248773] [] (__schedule+0x4c/0x4bc) from [] >

arch/mips/include/asm/atomic.h:49:1: warning: converting the result of '<<' to a boolean always evaluates to true

2020-09-13 Thread kernel test robot
gument] clang-12: warning: argument unused during compilation: '-mno-branch-likely' [-Wunused-command-line-argument] In file included from kernel/bounds.c:14: In file included from include/linux/spinlock_types.h:18: In file included from include/linux/lockdep.h:44: In file included from i

arch/mips/include/asm/atomic.h:49:1: warning: converting the result of '<<' to a boolean always evaluates to true

2020-08-16 Thread kernel test robot
gument] clang-12: warning: argument unused during compilation: '-mno-branch-likely' [-Wunused-command-line-argument] In file included from kernel/bounds.c:14: In file included from include/linux/spinlock_types.h:18: In file included from include/linux/lockdep.h:44: In file included from i

arch/mips/include/asm/atomic.h:49:1: warning: converting the result of '<<' to a boolean always evaluates to true

2020-07-07 Thread kernel test robot
gument] clang-11: warning: argument unused during compilation: '-mno-branch-likely' [-Wunused-command-line-argument] In file included from kernel/bounds.c:14: In file included from include/linux/spinlock_types.h:18: In file included from include/linux/lockdep.h:44: In file included from i

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Michal Piotrowski
-uninline-skb_put-fix.patch In file included from include/linux/if_ether.h:111, from include/linux/netdevice.h:29, from include/net/sock.h:48, from kernel/audit.c:54: include/linux/skbuff.h: In function 'skb_put': include/linux/skbuff.h:885: warning

RE: Abnormal behavior with JFFS2 on latest kernel

2008-02-15 Thread Kyungmin Park
than 120 seconds. echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. iozoneD c021685c 0 227222 [c02164c0] (schedule+0x0/0x41c) from [c0216314] (__down+0xa4/0xfc) [c0216270] (__down+0x0/0xfc) from [c021620c] (__down_failed+0xc/0x20) r8:c3815c70 r7: r6

Re: Netfilter: TARPIT Target

2005-02-17 Thread Lee Revell
On Thu, 2005-02-17 at 10:27 -0500, Fao, Sean wrote: Where are those nonsense (base64) messages from [EMAIL PROTECTED] coming from after I post? Looks like a new spammer tactic. They have progressed from spoofing emails from real LKML posters to sending spam replies to actual threads. Lee

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

2013-03-03 Thread Shawn Guo
] stack backtrace: [5.725528] [c0013c78] (unwind_backtrace+0x0/0xf0) from [c0426f94] (rpc_wait_bit_killable+0x94/0xb4) [5.735184] [c0426f94] (rpc_wait_bit_killable+0x94/0xb4) from [c044684c] (__wait_on_bit+0x74/0xb8) [5.744645] [c044684c] (__wait_on_bit+0x74/0xb8) from [c04468f4

link to version 3.5 has been removed from kernel.org

2012-08-04 Thread Micheal Blue
Why has the link to version 3.5 been removed from kernel.org and also from lkml.org?  When I browse there I see that mainline is 3.6-rc1 and stable is 3.4.7 which is different from the last time.  Is version 3.5 no longer considered stable? -- To unsubscribe from this list: send the line

lzo code

2007-05-22 Thread Bill Davidsen
It is derived from original LZO 2.02 code found at: http://www.oberhumer.com/opensource/lzo/download/ The code has also been reformatted to match general kernel style. -- Bill Davidsen [EMAIL PROTECTED] We have more to fear from the bungling of the incompetent than from the machinations

[PATCH] mfd: tc3589x: translate onecell, not twocell

2014-06-10 Thread Linus Walleij
at /home/linus/linux-stericsson/kernel/irq/irqdomain.c:676 irq_domain_xlate_twocell+0x40/0x48() Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.15.0-07915-gf6d059821ce9-dirty #46 [c0014660] (unwind_backtrace) from [c0011424] (show_stack+0x10/0x14) [c0011424] (show_stack) from

Re: Netfilter: TARPIT Target

2005-02-17 Thread Lee Revell
On Thu, 2005-02-17 at 10:27 -0500, Fao, Sean wrote: > Where are those nonsense (base64) messages from [EMAIL PROTECTED] coming > from after I post? > Looks like a new spammer tactic. They have progressed from spoofing emails from real LKML posters to sending spam replies to actua

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Michal Piotrowski
op net-uninline-skb_put-fix.patch In file included from include/linux/if_ether.h:111, from include/linux/netdevice.h:29, from include/net/sock.h:48, from kernel/audit.c:54: include/linux/skbuff.h: In function 'skb_put': include/linux/skbuff.h:885: w

lzo code

2007-05-22 Thread Bill Davidsen
It is derived from original LZO 2.02 code found at: http://www.oberhumer.com/opensource/lzo/download/ The code has also been reformatted to match general kernel style. -- Bill Davidsen <[EMAIL PROTECTED]> "We have more to fear from the bungling of the incompetent than from the m

[PATCH] mfd: tc3589x: translate onecell, not twocell

2014-06-10 Thread Linus Walleij
at /home/linus/linux-stericsson/kernel/irq/irqdomain.c:676 irq_domain_xlate_twocell+0x40/0x48() Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.15.0-07915-gf6d059821ce9-dirty #46 [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x9c/0xd4

[PATCH 15/45] arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user

2018-03-01 Thread Alex Shi
From: Will Deacon Rewritting from commit f71c2ffcb20d upstream. On LTS 4.9, there has no raw_copy_from/to_user, neither __copy_user_flushcache, and it isn't good idead to pick up them. The following is origin commit log, that's also applicable for the new patch. Like we've done for get_user

[PATCH 15/52] arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user

2018-02-26 Thread Alex Shi
From: Will Deacon Rewritting from commit f71c2ffcb20d upstream. On LTS 4.9, there has no raw_copy_from/to_user, neither __copy_user_flushcache, and it isn't good idead to pick up them. The following is origin commit log, that's also applicable for the new patch. Like we've done for get_user

Re: Dts for eth network based on marvell's mv88e6390x crashes Xilinx's linux-kernel v5.4

2020-10-15 Thread Andrew Lunn
}; > }; > > debug_phy: ethernet-phy@1 { > compatible = "marvell"; > reg = <1>; > device_type = "ethernet-phy"; > label = "debug-phy"; > }; Hi Michael This is pretty unreadable with all the white space removed. Please

Re: linux-next: build failures after merge of the staging tree

2021-01-04 Thread Greg KH
On Mon, Jan 04, 2021 at 09:27:01AM +0100, Geert Uytterhoeven wrote: > On Mon, Jan 4, 2021 at 6:12 AM Stephen Rothwell wrote: > > After merging the staging tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > > > In file included fr

linux-next: build failures after merge of the staging tree

2021-01-03 Thread Stephen Rothwell
Hi all, After merging the staging tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from include/linux/printk.h:6, from include/linux/kernel.h:16, from drivers/staging/board/kzm9d.c:4: drivers/staging/board/kzm9d.c:28:17

Re: [PATCH v10 17/19] ARM: tegra: Add EMC OPP properties to Tegra20 device-trees

2020-11-30 Thread Jon Hunter
Hi Dmitry, On 23/11/2020 00:27, Dmitry Osipenko wrote: > Add EMC OPP DVFS tables and update board device-trees by removing > unsupported OPPs. > > Signed-off-by: Dmitry Osipenko This change is generating the following warning on Tegra20 Ventana and prevents the EMC

Re: [PATCH v3 05/11] genirq: Shutdown irq chips in suspend/resume during hibernation

2020-08-25 Thread Christoph Hellwig
On Sat, Aug 22, 2020 at 02:36:37AM +0200, Thomas Gleixner wrote: > From: Thomas Gleixner > > followed by an empty new line before the actual changelog text > starts. That way the attribution of the patch when applying it will be > correct. The way he sent it attribution will b

RE: Abnormal behavior with JFFS2 on latest kernel

2008-02-15 Thread Kyungmin Park
ask iozone:227 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. iozoneD c021685c 0 227 222 [] (schedule+0x0/0x41c) from [] (__down+0xa4/0xfc) [] (__down+0x0/0xfc) from [] (__down_failed+0xc/0x20) r8:c3815c70 r7:

link to version 3.5 has been removed from kernel.org

2012-08-04 Thread Micheal Blue
Why has the link to version 3.5 been removed from kernel.org and also from lkml.org?  When I browse there I see that mainline is 3.6-rc1 and stable is 3.4.7 which is different from the last time.  Is version 3.5 no longer considered stable? -- To unsubscribe from this list: send the line

Re: [PATCH v5 0/2] Add support for Topwise A721 tablet

2021-02-25 Thread Maxime Ripard
On Wed, Feb 24, 2021 at 11:52:38AM +0100, Pascal Roeleven wrote: > On request I'm resending the last two patches from the Topwise A721 tablet > series from a year ago as they weren't picked up. The other patches are > already merged, so I didn't resend them. > > Changes from v4: &g

Re: [PATCH v2] staging: android: Fixed line over 80 char

2015-07-28 Thread Sudip Mukherjee
On Tue, Jul 28, 2015 at 04:19:36PM +0530, Jignesh R Patel wrote: From: Jignesh R Patel jigneshpatel0...@gmail.com For your next patches please do not add this From: line here. It is not needed. It will be taken from your email From: header. regards sudip -- To unsubscribe from this list: send

[PATCH 4.1 80/84] signal: fix information leak in copy_siginfo_to_user

2015-08-14 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Amanieu d'Antras aman...@gmail.com commit 26135022f85105ad725cda103fa069e29e83bd16 upstream. This function may copy the si_addr_lsb, si_lower and si_upper fields to user mode when they haven't

RE: [f2fs-dev] [PATCH v4] f2fs crypto: allocate buffer for decrypting filename

2015-09-17 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, September 17, 2015 1:57 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; sta...@vger.kernel.org > S

Re: [PATCH V7 04/24] coresight: moving PM runtime operations to core framework

2015-12-23 Thread Mathieu Poirier
pm_runtime_put_sync(csdev->dev.parent); >> list_del(>link); >> kfree(nd); >> } > > This leads to the following splat: > > BUG: sleeping function called from invalid context at > /home/rabin/dev/linux/drivers/base/power/r

Re: [PATCH V7 04/24] coresight: moving PM runtime operations to core framework

2015-12-19 Thread Rabin Vincent
leads to the following splat: BUG: sleeping function called from invalid context at /home/rabin/dev/linux/drivers/base/power/runtime.c:892 in_atomic(): 1, irqs_disabled(): 128, pid: 763, name: perf 2 locks held by perf/763: #0: (>mmap_sem){++}, at: [] vm_munmap+0x2c/0x50 #1: (>

[PATCH 00/19] Kernel subsystem refcounter conversions

2017-02-20 Thread Elena Reshetova
Now when new refcount_t type and API are finally merged (see include/linux/refcount.h), the following patches convert various refcounters in the kernel susystem from atomic_t to refcount_t. By doing this we prevent intentional or accidental underflows or overflows that can led to use-after-free

Re: Regression in next with use printk_safe buffers in printk

2017-02-15 Thread Sergey Senozhatsky
19 Not tainted > [2.597717] --- > [2.597717] ./include/trace/events/printk.h:32 suspicious > rcu_dereference_check() usage! so this is trace_console(text, len) from cpuidle_enter_state() ... vprintk_emit() <<

Re: linux-next: manual merge of the amlogic tree with the pinctrl tree

2016-09-15 Thread Linus Walleij
On Thu, Sep 15, 2016 at 2:19 AM, Stephen Rothwell <s...@canb.auug.org.au> wrote: > 23b4ed268076 ("driver: base: pinctrl: return error from > pinctrl_bind_pins()") > > from the pinctrl tree and commit: > > eb4ec68acf5e ("driver: base: pinctrl:

Re: brcmfmac: drop unused fields from struct brcmf_pub

2016-09-26 Thread Kalle Valo
Rafał Miłecki wrote: > From: Rafał Miłecki <ra...@milecki.pl> > > They seem to be there from the first day. We calculate these values but > never use them. > > Signed-off-by: Rafał Miłecki <ra...@milecki.pl> Patch applied to wireless-drivers-next.git, thanks. 2df8

Re: [v3 PATCH] netlink: Do not schedule work from sk_destruct

2016-12-05 Thread David Miller
From: Herbert Xu <herb...@gondor.apana.org.au> Date: Mon, 5 Dec 2016 15:28:21 +0800 > It is wrong to schedule a work from sk_destruct using the socket > as the memory reserve because the socket will be freed immediately > after the return from sk_destruct. > > Instead we s

Re: [PATCH v4 7/9] clk: stm32f4: SDIO & 48Mhz clock management for STM32F469 board

2016-12-21 Thread Stephen Boyd
On 12/13, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez <gabriel.fernan...@st.com> > > In the stm32f469 soc, the 48Mhz clock could be derived from pll-q or > from pll-sai-p. > > The SDIO clock could be also derived from 48Mhz or from sys clock. > > Si

Re: linux-next: build failure after merge of the kspp tree

2017-06-15 Thread Kees Cook
On Thu, Jun 15, 2017 at 7:51 PM, Daniel Micay <danielmi...@gmail.com> wrote: > On Fri, 2017-06-16 at 11:30 +1000, Stephen Rothwell wrote: >> Hi Kees, >> >> After merging the kspp tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >>

[PATCH 15/52] arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user

2018-02-26 Thread Alex Shi
From: Will Deacon <will.dea...@arm.com> Rewritting from commit f71c2ffcb20d upstream. On LTS 4.9, there has no raw_copy_from/to_user, neither __copy_user_flushcache, and it isn't good idead to pick up them. The following is origin commit log, that's also applicable for the new patch.

Re: [PATCH v1 5/5] mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()

2018-08-20 Thread David Hildenbrand
at the page related logs in calculate_node_totalpages(), > it is KERNEL_DEBUG level and without any config macro. > > Maybe we should leave them at the same state? I guess we can do that for the to debug messages. When offlining memory right now: :/# echo 0 > /sys/devices/system/memory/m

[PATCH 15/45] arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user

2018-03-01 Thread Alex Shi
From: Will Deacon <will.dea...@arm.com> Rewritting from commit f71c2ffcb20d upstream. On LTS 4.9, there has no raw_copy_from/to_user, neither __copy_user_flushcache, and it isn't good idead to pick up them. The following is origin commit log, that's also applicable for the new patch.

Re: [PATCH net 0/3] net: bcmgenet: fix WAKE_FILTER resume from deep sleep

2020-07-17 Thread David Miller
From: Doug Berger Date: Thu, 16 Jul 2020 16:38:14 -0700 > The WAKE_FILTER logic can only wake the system from the standby > power state. However, some systems that include the GENET IP > support deeper power saving states and the driver should suspend > and resume correctly from

[PATCH 5.6 010/161] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception

2020-06-16 Thread Greg Kroah-Hartman
From: "Michal Vokáč" [ Upstream commit 67122a7910bf2135dc7f7ececfcf16a5bdb362c1 ] Commit 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper") replaced the dsa_switch_alloc helper by devm_kzalloc in all DSA drivers. Unfortunately it introduced a typo in qca8k.c drive

[PATCH 5.7 011/163] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception

2020-06-16 Thread Greg Kroah-Hartman
From: "Michal Vokáč" [ Upstream commit 67122a7910bf2135dc7f7ececfcf16a5bdb362c1 ] Commit 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper") replaced the dsa_switch_alloc helper by devm_kzalloc in all DSA drivers. Unfortunately it introduced a typo in qca8k.c drive

[PATCH 4.14 309/496] mm/page_owner: fix recursion bug after changing skip entries

2018-05-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Maninder Singh [ Upstream commit 299815a4fba9f3c7a81434dba0072148f1690608 ] This patch fixes commit 5f48f0bd4e36 ("mm, page_owner: skip unnecessary stack_trace entries"). Because

Re: [PATCH v1 5/5] mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()

2018-08-20 Thread David Hildenbrand
at the page related logs in calculate_node_totalpages(), > it is KERNEL_DEBUG level and without any config macro. > > Maybe we should leave them at the same state? I guess we can do that for the to debug messages. When offlining memory right now: :/# echo 0 > /sys/devices/system/memory/m

Re: [PATCH 02/27] Add a SysRq option to lift kernel lockdown

2019-03-07 Thread David Howells
Matthew Garrett wrote: > + /* Ban synthetic events from some sysrq functionality */ > + if ((from == SYSRQ_FROM_PROC || from == SYSRQ_FROM_SYNTHETIC) && > + op_p->enable_mask & SYSRQ_DISABLE_USERSPACE) > + p

[PATCH 1/2] tty: serial: msm: Fix sysrq spinlock recursion on non-DM

2014-10-29 Thread Stephen Boyd
: 0 PID: 0 Comm: swapper Not tainted 3.17.0-rc7-00012-gb38ee8265941 #69 [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (do_raw_spin_lock+0x11c/0x13c) [] (do_raw_spin_lock) from [] (msm_console_write+0x78/0x188) [] (msm_console_write) from

Re: [PATCH v2] staging: android: Fixed line over 80 char

2015-07-28 Thread Sudip Mukherjee
On Tue, Jul 28, 2015 at 04:19:36PM +0530, Jignesh R Patel wrote: > From: Jignesh R Patel For your next patches please do not add this From: line here. It is not needed. It will be taken from your email From: header. regards sudip -- To unsubscribe from this list: send the line "uns

omapdss: Division by zero in kernel

2015-07-24 Thread Pali Rohár
ssages dropped ** [ 29.963836] [] (__aeabi_uidivmod) from [] (cfb_imageblit+0xac/0x464) ** 8426 printk messages dropped ** [ 30.111083] [] (fbcon_redraw.isra.12) from [] (fbcon_scroll+0x6a0/0xcbc) ** 8380 printk messages dropped ** [ 30.258209] [] (fbcon_redraw.isra.12) from [] (fbcon_scroll+0x6a0/

[PATCH 4.1 80/84] signal: fix information leak in copy_siginfo_to_user

2015-08-14 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Amanieu d'Antras commit 26135022f85105ad725cda103fa069e29e83bd16 upstream. This function may copy the si_addr_lsb, si_lower and si_upper fields to user mode when they haven't been initialized

Re: [PATCH 1/2] tty: serial: msm: Fix sysrq spinlock recursion on non-DM

2014-10-30 Thread Daniel Thompson
_ports+0x1e0/0x2d0, .magic: dead4ead, .owner: swapper/0, > .owner_cpu: 0 > CPU: 0 PID: 0 Comm: swapper Not tainted 3.17.0-rc7-00012-gb38ee8265941 #69 > [] (unwind_backtrace) from [] (show_stack+0x10/0x14) > [] (show_stack) from [] (do_raw_spin_lock+0x11c/0x13c) > [] (do_raw_spin_lock) f

Re: [PATCH] net: stmmac: do not call phy_ethtool_ksettings_set from atomic context

2016-12-07 Thread David Miller
From: Niklas Cassel Date: Tue, 6 Dec 2016 14:47:15 +0100 > From: Niklas Cassel > > From what I can tell, spin_lock(>lock) is not needed, since the > phy_ethtool_ksettings_set call is not given the priv struct. > > phy_start_aneg takes the phydev->lock. Calls t

Re: [PATCH v2 3/3] tools: move pcmcia crc32hash tool from Documentation

2016-09-22 Thread Dominik Brodowski
On Wed, Sep 21, 2016 at 06:51:13PM -0600, Shuah Khan wrote: > Move pcmcia crc32hash tool from Documentation to tools/pcmcia and > remove it from Documentation Makefile. Update location information > for this tool. Create a new Makefile to build pcmcia. It can be built > from top lev

Re: linux-next: build failure after merge of the kspp tree

2017-06-15 Thread Kees Cook
On Thu, Jun 15, 2017 at 7:51 PM, Daniel Micay wrote: > On Fri, 2017-06-16 at 11:30 +1000, Stephen Rothwell wrote: >> Hi Kees, >> >> After merging the kspp tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> In file i

Re: Regression in next with use printk_safe buffers in printk

2017-02-15 Thread Sergey Senozhatsky
19 Not tainted > [2.597717] --- > [2.597717] ./include/trace/events/printk.h:32 suspicious > rcu_dereference_check() usage! so this is trace_console(text, len) from cpuidle_enter_state() ... vprintk_emit() <<

[PATCH] printk: use rcuidle console tracepoint

2017-02-16 Thread Sergey Senozhatsky
Use rcuidle console tracepoint because, apparently, it may be issued from an idle CPU: [2.581939] hw-breakpoint: Failed to enable monitor mode on CPU 0. [2.591613] hw-breakpoint: CPU 0 failed to disable vector catch [2.597686] [2.597717

[PATCH 00/19] Kernel subsystem refcounter conversions

2017-02-20 Thread Elena Reshetova
Now when new refcount_t type and API are finally merged (see include/linux/refcount.h), the following patches convert various refcounters in the kernel susystem from atomic_t to refcount_t. By doing this we prevent intentional or accidental underflows or overflows that can led to use-after-free

Re: linux-next: manual merge of the amlogic tree with the pinctrl tree

2016-09-15 Thread Linus Walleij
On Thu, Sep 15, 2016 at 2:19 AM, Stephen Rothwell wrote: > 23b4ed268076 ("driver: base: pinctrl: return error from > pinctrl_bind_pins()") > > from the pinctrl tree and commit: > > eb4ec68acf5e ("driver: base: pinctrl: return error from > pinctrl_bin

Re: brcmfmac: drop unused fields from struct brcmf_pub

2016-09-26 Thread Kalle Valo
Rafał Miłecki wrote: > From: Rafał Miłecki > > They seem to be there from the first day. We calculate these values but > never use them. > > Signed-off-by: Rafał Miłecki Patch applied to wireless-drivers-next.git, thanks. 2df86ad959c9 brcmfmac: drop unused fields fro

Re: [PATCH v4 7/9] clk: stm32f4: SDIO & 48Mhz clock management for STM32F469 board

2016-12-21 Thread Stephen Boyd
On 12/13, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > In the stm32f469 soc, the 48Mhz clock could be derived from pll-q or > from pll-sai-p. > > The SDIO clock could be also derived from 48Mhz or from sys clock. > > Signed-off-by: Gabriel Fernande

Re: [v3 PATCH] netlink: Do not schedule work from sk_destruct

2016-12-05 Thread David Miller
From: Herbert Xu Date: Mon, 5 Dec 2016 15:28:21 +0800 > It is wrong to schedule a work from sk_destruct using the socket > as the memory reserve because the socket will be freed immediately > after the return from sk_destruct. > > Instead we should do the deferral p

Re: [PATCH V7 04/24] coresight: moving PM runtime operations to core framework

2015-12-23 Thread Mathieu Poirier
sdev->dev.parent); >> list_del(>link); >> kfree(nd); >> } > > This leads to the following splat: > > BUG: sleeping function called from invalid context at > /home/rabin/dev/linux/drivers/base/power/runtime.c:892 > in_atomic(): 1

RE: [f2fs-dev] [PATCH v4] f2fs crypto: allocate buffer for decrypting filename

2015-09-17 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, September 17, 2015 1:57 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; sta...@vger.kernel.org > S

Re: [PATCH V7 04/24] coresight: moving PM runtime operations to core framework

2015-12-19 Thread Rabin Vincent
leads to the following splat: BUG: sleeping function called from invalid context at /home/rabin/dev/linux/drivers/base/power/runtime.c:892 in_atomic(): 1, irqs_disabled(): 128, pid: 763, name: perf 2 locks held by perf/763: #0: (>mmap_sem){++}, at: [] vm_munmap+0x2c/0x50 #1: (>

Re: [PATCH] regulator: core: avoid regulator_resolve_supply() race condition

2021-01-21 Thread Marek Szyprowski
x){}-{3:3}, at: __device_attach+0x34/0x180  #3: df509cd8 (>mutex){}-{3:3}, at: __device_attach+0x34/0x180  #4: df4fe8c0 (regulator_ww_class_mutex){+.+.}-{3:3}, at: regulator_resolve_supply+0x98/0x320 stack backtrace: CPU: 3 PID: 1 Comm: swapper/0 Not tainted 5.11.0-rc3-next-20210

Re: [PATCH] usb: dwc2: Fix error path in gadget registration

2020-07-15 Thread Marek Szyprowski
t;bind() or during udc_start(). In the first case, the HW was not yet enabled, so there is no need to disable it. In the latter one, the error might be returned only from the dwc2_lowlevel_hw_enable(), so again there is no need to call dwc2_lowlevel_hw_disable(). If I keep the "goto error

Re: [PATCH] usb: dwc2: Fix error path in gadget registration

2020-07-15 Thread Minas Harutyunyan
_init label, then there is unbalanced call to > dwc2_lowlevel_hw_disable(). usb_add_gadget_udc() can fail in 2 places: > on gadget->bind() or during udc_start(). In the first case, the HW was > not yet enabled, so there is no need to disable it. In the latter one, > the error might be ret

Re: [PATCH] usb: dwc2: Fix error path in gadget registration

2020-07-16 Thread Marek Szyprowski
. >>> So, I suggest to keep jump to error_init label. >> If I keep the jump to error_init label, then there is unbalanced call to >> dwc2_lowlevel_hw_disable(). usb_add_gadget_udc() can fail in 2 places: >> on gadget->bind() or during udc_start(). In the first case, the HW was &

Re: [PATCH] usb: dwc2: Fix error path in gadget registration

2020-07-16 Thread Marek Szyprowski
owlevel_hw_disable(). usb_add_gadget_udc() can fail in 2 places: >>> on gadget->bind() or during udc_start(). In the first case, the HW was >>> not yet enabled, so there is no need to disable it. In the latter one, >>> the error might be returned only from the

can't compile kernel 2.4.1 with Athlon/K7 option

2001-01-30 Thread Arno Heister
Hi ! I had a similar problem also for the 2.4.0-test10 kernel ... if I switch from the standard settings in the .config file and change only the processor type to Athlon/K7 compilation fails and I waited for a newer kernel ... I'm using a RedHat 7.0 distribution (with all available updates

Re: 2.6.12-rc1-mm1

2005-03-21 Thread Andrew Morton
these. Is this your own personal bug list, or is it accessible anywhere? It's just an email folder at present. A totally unscreened summary is below. USB, ALSA, Input, ACPI and suspend are the usual culprits. From: Marcelo Tosatti [EMAIL PROTECTED] Subject: Re: [BUG] 2.4.27 - 2.4.29 tar: /dev/nst0

can't compile kernel 2.4.1 with Athlon/K7 option

2001-01-30 Thread Arno Heister
Hi ! I had a similar problem also for the 2.4.0-test10 kernel ... if I switch from the standard settings in the .config file and change only the processor type to Athlon/K7 compilation fails and I waited for a newer kernel ... I'm using a RedHat 7.0 distribution (with all available updates

Re: 2.6.12-rc1-mm1

2005-03-21 Thread Andrew Morton
ions. > > We should fix these. > > Is this your own personal bug list, or is it accessible anywhere? It's just an email folder at present. A totally unscreened summary is below. USB, ALSA, Input, ACPI and suspend are the usual culprits. From: Marcelo Tosatti <[EMAIL PROTECTE

[net-next] phylib: Add device reset GPIO support causes DSA MT7530 acquires reset-gpios fails

2017-12-14 Thread Sean Wang
reset", Below is the stack dump I added in of_get_named_gpiod_flags call. Which apparently shows mdiobus_register_device would get gpio at first and then DSA driver does. [2.570607] [] (show_stack) from [] (dump_stack +0x98/0xac) [2.59] [] (dump_stack) from [] (of_ge

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

2017-04-19 Thread Michal Hocko
2 0x [ 243.719780] Workqueue: events_unbound async_run_entry_fn [ 243.725118] [] (__schedule) from [] (schedule+0xb0/0xcc) [ 243.732181] [] (schedule) from [] (schedule_timeout+0x18/0x1f4) [ 243.739840] [] (schedule_timeout) from [] (wait_for_common+0x100/0x19c) [ 243.748207]

[net-next] phylib: Add device reset GPIO support causes DSA MT7530 acquires reset-gpios fails

2017-12-14 Thread Sean Wang
reset", Below is the stack dump I added in of_get_named_gpiod_flags call. Which apparently shows mdiobus_register_device would get gpio at first and then DSA driver does. [2.570607] [] (show_stack) from [] (dump_stack +0x98/0xac) [2.59] [] (dump_stack) from [] (of_ge

Re: [linux-sunxi] Re: [PATCH v10 03/11] drm/sun4i: dsi: Fix video start delay computation

2019-06-21 Thread Chen-Yu Tsai
nel flip_done timed out as: > > > > > > WARNING: CPU: 0 PID: 31 at drivers/gpu/drm/drm_atomic_helper.c:1429 > > > drm_atomic_helper_wait_for_vblanks.part.1+0x298/0x2a0 > > > [CRTC:46:crtc-0] vblank wait timed out > > > Modules linked in: >

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

2017-04-19 Thread Michal Hocko
eue: events_unbound async_run_entry_fn [ 243.725118] [] (__schedule) from [] (schedule+0xb0/0xcc) [ 243.732181] [] (schedule) from [] (schedule_timeout+0x18/0x1f4) [ 243.739840] [] (schedule_timeout) from [] (wait_for_common+0x100/0x19c) [ 243.748207] [] (wait_for_common) from

Re: [PATCH] AVR32: fix building warnings caused by redifinitions of HZ

2013-04-07 Thread Jiang Liu
On 04/07/2013 03:55 PM, Hans-Christian Egtvedt wrote: Around Sun 07 Apr 2013 00:43:36 +0800 or thereabout, Jiang Liu wrote: Fix building warnings caused by redifinitions of HZ: In file included from /ws/linux/kernel/linux.git/include/uapi/linux/param.h:4, from include/linux

Continuous warn slow path warning messages from top of the kernel tree

2012-08-30 Thread Sam Gandhi
) from [c001eb80] (warn_slowpath_common+0x4c/0x64) [4.18] [c001eb80] (warn_slowpath_common+0x4c/0x64) from [c001ec2c] (warn_slowpath_fmt+0x30/0x40) [4.18] [c001ec2c] (warn_slowpath_fmt+0x30/0x40) from [c0076908] (rcu_idle_exit_common+0x88/0xa0) [4.18] [c0076908

w1: 3.14-rc7 - possible recursive locking detected

2014-03-17 Thread Belisko Marek
[3.453582] [3.453582] stack backtrace: [3.458190] CPU: 0 PID: 805 Comm: w1_bus_master1 Not tainted 3.14.0-rc7-gta04 #520 [3.466156] [c0014418] (unwind_backtrace) from [c0011788] (show_stack+0x10/0x14) [3.474304] [c0011788] (show_stack) from [c04ee204] (dump_stack+0x68/0x84

Re: current-sched_class-yield_task is NULL, any hint?

2014-04-09 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 10:43:32AM -0700, Lin Ming wrote: [12890.586996] [c007a364] (sys_sched_yield+0x0/0x90) from [c03cbf90] (yield+0x2c/0x30) [12890.594779] r5:c18f4000 r4: [12890.598258] [c03cbf64] (yield+0x0/0x30) from [c02eb650] (netlink_broadcast_filtered+0x3ec/0x400

Re: current-sched_class-yield_task is NULL, any hint?

2014-04-09 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 09:47:42PM +0200, Peter Zijlstra wrote: On Wed, Apr 09, 2014 at 10:43:32AM -0700, Lin Ming wrote: [12890.586996] [c007a364] (sys_sched_yield+0x0/0x90) from [c03cbf90] (yield+0x2c/0x30) [12890.594779] r5:c18f4000 r4: [12890.598258] [c03cbf64] (yield+0x0

Re: current-sched_class-yield_task is NULL, any hint?

2014-04-09 Thread Lin Ming
On Wed, Apr 9, 2014 at 1:08 PM, Peter Zijlstra pet...@infradead.org wrote: On Wed, Apr 09, 2014 at 09:47:42PM +0200, Peter Zijlstra wrote: On Wed, Apr 09, 2014 at 10:43:32AM -0700, Lin Ming wrote: [12890.586996] [c007a364] (sys_sched_yield+0x0/0x90) from [c03cbf90] (yield+0x2c/0x30

[PATCH 1/6] mfd: viperboard: fix platform-device id collision

2014-09-26 Thread Johan Hovold
in: i2c_viperboard viperboard netconsole [last unloaded: viperboard] CPU: 0 PID: 181 Comm: bash Tainted: GW 3.17.0-rc6 #1 [c0016bf4] (unwind_backtrace) from [c0013860] (show_stack+0x20/0x24) [c0013860] (show_stack) from [c04305f8] (dump_stack+0x24/0x28) [c04305f8] (dump_stack) from [c0040fb4

Re: [PATCH] AVR32: fix building warnings caused by redifinitions of HZ

2013-04-07 Thread Jiang Liu
On 04/07/2013 03:55 PM, Hans-Christian Egtvedt wrote: > Around Sun 07 Apr 2013 00:43:36 +0800 or thereabout, Jiang Liu wrote: >> Fix building warnings caused by redifinitions of HZ: >> In file included from >> /ws/linux/kernel/linux.git/include/uapi/linux/param.h:4, >

w1: 3.14-rc7 - possible recursive locking detected

2014-03-17 Thread Belisko Marek
28/0x58 [3.453582] [3.453582] stack backtrace: [3.458190] CPU: 0 PID: 805 Comm: w1_bus_master1 Not tainted 3.14.0-rc7-gta04 #520 [3.466156] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [3.474304] [] (show_stack) from [] (dump_stack+0x68/0x84) [3.481933] [] (dump_stack)

[PATCH] oprofile: check whether oprofile perf enabled in op_overflow_handler()

2013-12-19 Thread Weng Meiling
From: Weng Meiling There is a situation event is triggered before oprofile_perf_start() finish. Because the event is still not stored in per_cpu(perf_events, cpu)[event], op_overflow_handler() will print the warning. During the time, if unregistered event is triggered again, the cpu will print

Re: [PATCH] usb: wusbcore: Use put_unaligned_le32

2017-10-06 Thread kbuild test robot
~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): In file included from arch/ia64/include/asm/unaligned.h:4:0, from arch/ia64/include/asm/i

[PATCH 5.8 36/99] drm/vc4/vc4_hdmi: fill ASoC card owner

2020-09-29 Thread Greg Kroah-Hartman
From: Marek Szyprowski [ Upstream commit ec653df2a0cbc306a4bfcb0e3484d318fa779002 ] card->owner is a required property and since commit 81033c6b584b ("ALSA: core: Warn on empty module") a warning is issued if it is empty. Fix lack of it. This fixes following warning observed on R

[PATCH 5.4 347/388] drm/vc4/vc4_hdmi: fill ASoC card owner

2020-09-29 Thread Greg Kroah-Hartman
From: Marek Szyprowski [ Upstream commit ec653df2a0cbc306a4bfcb0e3484d318fa779002 ] card->owner is a required property and since commit 81033c6b584b ("ALSA: core: Warn on empty module") a warning is issued if it is empty. Fix lack of it. This fixes following warning observed on R

<    5   6   7   8   9   10   11   12   13   14   >