Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2018-12-30 Thread Michal Hocko
On Sun 30-12-18 08:45:13, Michal Hocko wrote: > On Sat 29-12-18 11:34:29, Shakeel Butt wrote: > > On Sat, Dec 29, 2018 at 2:06 AM Michal Hocko wrote: > > > > > > On Sat 29-12-18 10:52:15, Florian Westphal wrote: > > > > Michal Hocko wrote: > > > > > On Fri 28-12-18 17:55:24, Shakeel Butt wrote:

COMPLIMENT OF THE SEASON,

2018-12-30 Thread Mrs. Aisha
Dear Friend, I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Gaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi). I have an investment funds

Re: [PATCH v7 4/4] Bluetooth: btqca: inject command complete event during fw download

2018-12-30 Thread Marcel Holtmann
Hi Balakrishna, >>> Latest qualcomm chips are not sending an command complete event for >>> every firmware packet sent to chip. They only respond with a vendor >>> specific event for the last firmware packet. This optimization will >>> decrease the BT ON time. Due to this we are seeing a timeout

[PATCH v14 1/3] pps: descriptor-based gpio

2018-12-30 Thread Tom Burkart
This patch changes the GPIO access for the pps-gpio driver from the integer based API to the descriptor based API. Reviewed-by: Philipp Zabel Signed-off-by: Tom Burkart --- drivers/pps/clients/pps-gpio.c | 67 +++--- include/linux/pps-gpio.h | 3 +- 2

[PATCH v14 2/3] dt-bindings: pps: pps-gpio PPS ECHO implementation

2018-12-30 Thread Tom Burkart
This patch implements the device tree binding changes required for the pps echo functionality for pps-gpio, that sysfs claims is available already. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for inclusion into the linux kernel by Tom

[PATCH v14 0/3] PPS: pps-gpio PPS ECHO implementation

2018-12-30 Thread Tom Burkart
Hi all, please find attached the PPS-GPIO PPS ECHO implementation patch. The driver claims to have echo functionality in the sysfs interface but this functionality is not present. This patch provides this functionality. Part 1 of the patch change the original driver from the number based GPIO

[PATCH v14 3/3] pps: pps-gpio pps-echo implementation

2018-12-30 Thread Tom Burkart
This patch implements the pps echo functionality for pps-gpio, that sysfs claims is available already. Configuration is done via device tree bindings. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for inclusion into the linux kernel by Tom

Re: [PATCH v4 8/8] arm64: dts: qcom: sdm845: Add Q6V5 MSS node

2018-12-30 Thread kbuild test robot
Hi Sibi, Thank you for the patch! Yet something to improve: [auto build test ERROR on agross/for-next] [also build test ERROR on v4.20 next-20181224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [GIT PULL] sound updates for 4.21

2018-12-30 Thread Takashi Iwai
On Fri, 28 Dec 2018 20:04:48 +0100, Linus Torvalds wrote: > > On Fri, Dec 28, 2018 at 9:07 AM Takashi Iwai wrote: > > > > 1) Whether ASoC driver cannot work with these Dell machines at all > > I'm willing to test patches. > > Right now, the reason it fails to even load is that "codec_mask" is

Re: general protection fault in put_pid

2018-12-30 Thread Dmitry Vyukov
On Wed, Dec 26, 2018 at 10:03 AM Dmitry Vyukov wrote: > > > Hello Dmitry, > > > > > > On 12/23/18 11:42 AM, Dmitry Vyukov wrote: > > > > Actually was able to reproduce this with a syzkaller program: > > > > ./syz-execprog -repeat=0 -procs=10 prog > > > > ... > > > > kasan: CONFIG_KASAN_INLINE

Re: [PATCH] mm: Reuse only-pte-mapped KSM page in do_wp_page()

2018-12-30 Thread Kirill Tkhai
On 30.12.2018 00:40, Andrew Morton wrote: > On Thu, 13 Dec 2018 18:29:08 +0300 Kirill Tkhai wrote: > >> This patch adds an optimization for KSM pages almost >> in the same way, that we have for ordinary anonymous >> pages. If there is a write fault in a page, which is >> mapped to an only pte,

Re: [PATCH] media: tw9910: add missed clk_disable_unprepare() on failure path

2018-12-30 Thread Jacopo Mondi
Hi Alexey, thanks for the patch On Sun, Dec 30, 2018 at 12:35:20AM +0300, Alexey Khoroshilov wrote: > If gpiod_get_optional() fails in tw9910_power_on(), clk is left undisabled. > Correct, thanks for spotting this. I think pdn_gpio should also be handled if rstb_gpio fails. What's your

epoll and vb2_poll: can't wake_up

2018-12-30 Thread Yi Qingliang
Hello, I encountered a "can't wake_up" problem when use camera on imx6. if delay some time after 'streamon' the /dev/video0, then add fd through epoll_ctl, then the process can't be waken_up after some time. I checked both the epoll / vb2_poll(videobuf2_core.c) code. epoll will pass

Re: [PATCH V2 00/10] unify the interface of the proportional-share policy in blkio/io

2018-12-30 Thread Paolo Valente
> Il giorno 28 dic 2018, alle ore 00:41, Tejun Heo ha scritto: > > Hello, Paolo. > > On Sun, Dec 23, 2018 at 12:00:14PM +0100, Paolo Valente wrote: >> 4.21 is coming ... and the legacy proportional share interface will >> be gone with cfq. This will break legacy code using the >>

WARNING in batadv_is_on_batman_iface

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:d8924c0d76aa Merge tag 'devprop-4.21-rc1' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=122a373f40 kernel config: https://syzkaller.appspot.com/x/.config?x=91a256823ef17263

Re: [PATCH v2] driver core: platform: Add an error message to platform_get_irq*()

2018-12-30 Thread Andy Shevchenko
On Fri, Dec 28, 2018 at 11:56 PM Stephen Boyd wrote: > > A grep of the kernel shows that many drivers print an error message if > they fail to get the irq they're looking for. Furthermore, those drivers > all decide to print the device name, or not, and the irq they were > requesting, or not,

[GIT PULL] kgdb changes v4.21-rc1

2018-12-30 Thread Daniel Thompson
Hi Linus Happy new year! The following changes since commit 2595646791c319cadfdbf271563aac97d0843dc7: Linux 4.20-rc5 (2018-12-02 15:07:55 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-4.21-rc1 for you to fetch

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2018-12-30 Thread Andreas Färber
+ linux-spi, LAKML Am 29.12.18 um 21:16 schrieb Andreas Färber: > Am 29.12.18 um 20:25 schrieb Andreas Färber: >> Am 12.10.18 um 18:26 schrieb Ben Whitten: >>> +static int sx125x_register_clock_provider(struct sx125x_priv *priv) >>> +{ >>> + struct device *dev = priv->dev; >>> + struct

Re: WARNING in batadv_is_on_batman_iface

2018-12-30 Thread Sven Eckelmann
On Sunday, 30 December 2018 11.41.03 CET syzbot wrote: [...] > HEAD commit:d8924c0d76aa Merge tag 'devprop-4.21-rc1' of git://git.ker.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=122a373f40 > kernel config:

Re: [PATCH] x86/asm: Use CC_SET/CC_OUT in percpu_cmpxchg16b_double

2018-12-30 Thread Uros Bizjak
On 12/28/18, Uros Bizjak wrote: > Use CC_SET(z)/CC_OUT(z) instead of explicit setz instruction. > Using these two defines, the compiler that supports generation of > condition code outputs from inline assembly flags generates one > conditional jump instruction, e.g: Unfortunatelly, the 0day

Re: WARNING in batadv_is_on_batman_iface

2018-12-30 Thread Dmitry Vyukov
On Sun, Dec 30, 2018 at 12:00 PM Sven Eckelmann wrote: > > On Sunday, 30 December 2018 11.41.03 CET syzbot wrote: > [...] > > HEAD commit:d8924c0d76aa Merge tag 'devprop-4.21-rc1' of git://git.ker.. > > git tree: upstream > > console output:

Re: [PATCH] media: tw9910: add missed clk_disable_unprepare() on failure path

2018-12-30 Thread Alexey Khoroshilov
Hi Jacopo, On 30.12.2018 12:49, Jacopo Mondi wrote: > On Sun, Dec 30, 2018 at 12:35:20AM +0300, Alexey Khoroshilov wrote: >> If gpiod_get_optional() fails in tw9910_power_on(), clk is left undisabled. > > Correct, thanks for spotting this. > > I think pdn_gpio should also be handled if

Re: [PATCH] tools headers: move the nolibc header from rcutorture to tools/include/nolibc/

2018-12-30 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Sat, Dec 29, 2018 at 07:04:53PM +0100, Willy Tarreau wrote: > > As suggested by Ingo, this header file might benefit other tools than > > just rcutorture. For now it's quite limited, but is easy to extend, so > > exposing it into tools/include/nolibc/ will make

Re: general protection fault in fdb_find_rcu

2018-12-30 Thread Nikolay Aleksandrov
On 30/12/2018 06:01, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:    90cadbbf341d Merge git://git.kernel.org/pub/scm/linux/kern.. > git tree:   net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1745c69b40 > kernel config: 

[PATCH] arm64: dts: hikey: Give wifi some time after power-on

2018-12-30 Thread Jan Kiszka
From: Jan Kiszka Somewhere along recent changes to power control of the wl1835, power-on became very unreliable on the hikey, failing like this: wl1271_sdio: probe of mmc2:0001:1 failed with error -16 wl1271_sdio: probe of mmc2:0001:2 failed with error -16 After playing with some dt

Re: [PATCH] tools headers: move the nolibc header from rcutorture to tools/include/nolibc/

2018-12-30 Thread Willy Tarreau
On Sun, Dec 30, 2018 at 12:25:02PM +0100, Ingo Molnar wrote: Could we please also use the opportunity and move > nolibc.h to a more prominent place, like in tools/include/nolibc/nolibc.h > or so? It's exactly what the last patch does, I followed your suggestion :-) Willy

[PATCH v2 1/2] media: tw9910: fix failure handling in tw9910_power_on()

2018-12-30 Thread Alexey Khoroshilov
If gpiod_get_optional() fails in tw9910_power_on(), clk is left undisabled. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- v2: reset pdn_gpio as well as Jacopo Mondi suggested. drivers/media/i2c/tw9910.c | 5 + 1 file changed, 5

[PATCH v2 2/2] media: tw9910: add helper function for setting gpiod value

2018-12-30 Thread Alexey Khoroshilov
tw9910 driver tries to sleep for the smae period of time after each gpiod_set_value(). The patch moves duplicated code to a helper function. Signed-off-by: Alexey Khoroshilov --- drivers/media/i2c/tw9910.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-)

Re: [PATCH] tools headers: move the nolibc header from rcutorture to tools/include/nolibc/

2018-12-30 Thread Ingo Molnar
* Willy Tarreau wrote: > On Sun, Dec 30, 2018 at 12:25:02PM +0100, Ingo Molnar wrote: > Could we please also use the opportunity and move > > nolibc.h to a more prominent place, like in tools/include/nolibc/nolibc.h > > or so? > > It's exactly what the last patch does, I followed your

[GIT PULL REQUEST] watchdog - v4.21 Merge window

2018-12-30 Thread Wim Van Sebroeck
Hi Linus, Please pull the watchdog changes for the v4.21 release cycle. This series contains: * add TQ-Systems TQMX86 watchdog driver * add Qualcomm PM8916 watchdog driver * w83627hf_wdt: add quirk for Inves system * renesas_wdt: several improvements and document r8a774c0 support * mena21_wdt,

Re: [PATCH] sched: fix infinity loop in update_blocked_averages

2018-12-30 Thread Ingo Molnar
* Vincent Guittot wrote: > > Reported-by: Zhipeng Xie > > Cc: Bin Li > > Cc: [4.10+] > > Fixes: 9c2791f936ef (sched/fair: Fix hierarchical order in > > rq->leaf_cfs_rq_list) > > If it only happens in update_blocked_averages(), the del leaf has been added > by: > a9e7f6544b9c

[PATCH] sched: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c

2018-12-30 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Vincent Guittot wrote: > > > > Reported-by: Zhipeng Xie > > > Cc: Bin Li > > > Cc: [4.10+] > > > Fixes: 9c2791f936ef (sched/fair: Fix hierarchical order in > > > rq->leaf_cfs_rq_list) > > > > If it only happens in update_blocked_averages(), the del

[PATCH] kallsyms: lower alignment on ARM

2018-12-30 Thread Mathias Krause
As mentioned in the info pages of gas, the '.align' pseudo op's interpretation of the alignment value is architecture specific. It might either be a byte value or taken to the power of two. On ARM it's actually the latter which leads to unnecessary large alignments of 16 bytes for 32 bit builds

Re: [PATCH] sched: fix infinity loop in update_blocked_averages

2018-12-30 Thread Vincent Guittot
On Sun, 30 Dec 2018 at 13:04, Ingo Molnar wrote: > > > * Vincent Guittot wrote: > > > > Reported-by: Zhipeng Xie > > > Cc: Bin Li > > > Cc: [4.10+] > > > Fixes: 9c2791f936ef (sched/fair: Fix hierarchical order in > > > rq->leaf_cfs_rq_list) > > > > If it only happens in

[PATCH] vmlinux.lds.h: drop unused __vermagic

2018-12-30 Thread Mathias Krause
The reference to '__vermagic' is a relict from v2.5 times. And even there it had a very short life time, from v2.5.59 (commit 1d411b80ee18 ("Module Sanity Check") in the historic tree) to v2.5.69 (commit 67ac5b866bda ("[PATCH] complete modinfo section")). Neither current kernels nor modules

Re: [PATCH] sched: fix infinity loop in update_blocked_averages

2018-12-30 Thread Ingo Molnar
* Vincent Guittot wrote: > On Sun, 30 Dec 2018 at 13:04, Ingo Molnar wrote: > > > > > > * Vincent Guittot wrote: > > > > > > Reported-by: Zhipeng Xie > > > > Cc: Bin Li > > > > Cc: [4.10+] > > > > Fixes: 9c2791f936ef (sched/fair: Fix hierarchical order in > > > >

[tip:sched/urgent] sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c

2018-12-30 Thread tip-bot for Linus Torvalds
Commit-ID: c40f7d74c741a907cfaeb73a7697081881c497d0 Gitweb: https://git.kernel.org/tip/c40f7d74c741a907cfaeb73a7697081881c497d0 Author: Linus Torvalds AuthorDate: Thu, 27 Dec 2018 13:46:17 -0800 Committer: Ingo Molnar CommitDate: Sun, 30 Dec 2018 13:54:31 +0100 sched/fair: Fix

Re: tpm_tis TPM2.0 not detected on cold boot

2018-12-30 Thread Michael Niewöhner
On Sat, 2018-12-29 at 22:33 -0500, Mimi Zohar wrote: > On Tue, 2018-12-25 at 14:55 +0100, Michael Niewöhner wrote: > > On Sun, 2018-12-23 at 12:55 +0100, Michael Niewöhner wrote: > > > Hi Mimi, > > > > > > On Sat, 2018-12-22 at 17:53 -0500, Mimi Zohar wrote: > > > > On Sat, 2018-12-22 at 14:47

[PATCH] mt76: make const array 'data' static, shrinks object size

2018-12-30 Thread Colin King
From: Colin Ian King Don't populate the const array 'data' on the stack but instead make it static. Makes the object code smaller by 78 bytes: Before: textdata bss dec hex filename 54381080 065181976 mediatek/mt76/mt76x2/usb_mcu.o After: textdata

[PATCH 1/2] sysfs: Add hook for checking the file capable for opener

2018-12-30 Thread Lee, Chun-Yi
Base on the discussion in the following mail loop about checking capability in sysfs write handler: https://lkml.org/lkml/2018/9/13/978 Some sysfs write handler are checking the writer's capability by using capable(). Base on CVE-2013-1959, those code should use file_ns_capable() to check the

[PATCH 0/2] [RFC] sysfs: Add hook for checking the file capability of opener

2018-12-30 Thread Lee, Chun-Yi
There have some discussion in the following mail loop about checking capability in sysfs write handler: https://lkml.org/lkml/2018/9/13/978 Sometimes we check the capability in sysfs implementation by using capable function. But the checking can be bypassed by opening sysfs file within an

[PATCH 2/2] PM / Sleep: Check the file capability when writing wake lock interface

2018-12-30 Thread Lee, Chun-Yi
The wake lock/unlock sysfs interfaces check that the writer must has CAP_BLOCK_SUSPEND capability. But the checking logic can be bypassed by opening sysfs file within an unprivileged process and then writing the file within a privileged process. The tricking way has been exposed by Andy Lutomirski

[PATCH] NFC: st95hf: clean up indentation, add in missing tab on return statement

2018-12-30 Thread Colin King
From: Colin Ian King A return statement is not indented enough, fix this by adding the missing tab. Signed-off-by: Colin Ian King --- drivers/nfc/st95hf/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/st95hf/core.c b/drivers/nfc/st95hf/core.c index

[PATCH] crypto: virtio: clean up indentation, replace spaces with tab

2018-12-30 Thread Colin King
From: Colin Ian King A statement is indented with spaces and not indented enough, fix this replacing spaces with a tab. Signed-off-by: Colin Ian King --- drivers/crypto/virtio/virtio_crypto_algs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-30 Thread Peter Maydell
On Sat, 29 Dec 2018 at 16:49, Andy Lutomirski wrote: > > Could you use a prctl to set whether you were running in 32 or 64 bit > > mode? Or do you change which kind of task you're emulating too often > > to make this a good idea? QEMU's linux-user mode always only runs the single process, which

Re: [PATCH v2 1/7] ARM: dts: rockchip: rk3066: add HCLK_HDMI to pmu node

2018-12-30 Thread Heiko Stuebner
Am Samstag, 29. Dezember 2018, 14:33:12 CET schrieb Johan Jonker: > A MK808 TV stick with rk3066 processor > boots normal with logo and console, > but after booting the monitor remains black. > This patch fixes a vblank wait time out > by adding HCLK_HDMI to the pmu node. > The HCLK_HDMI clock is

Re: [PATCH] perf annotate: pass filename to objdump via execl

2018-12-30 Thread Ivan Krylov
On Sun, 14 Oct 2018 16:04:51 +0200 Jiri Olsa wrote: > Acked-by: Jiri Olsa Is there anything I could do to improve the patch? Should I wrap the path to objdump executable in a similar way? -- Best regards, Ivan

Re: [PATCH 0/2] [RFC] sysfs: Add hook for checking the file capability of opener

2018-12-30 Thread Greg Kroah-Hartman
On Sun, Dec 30, 2018 at 09:28:54PM +0800, Lee, Chun-Yi wrote: > There have some discussion in the following mail loop about checking > capability in sysfs write handler: > https://lkml.org/lkml/2018/9/13/978 A sysfs callback should not care about stuff like this. Worst case, do a simple:

Re: [PATCH 2/2] PM / Sleep: Check the file capability when writing wake lock interface

2018-12-30 Thread Greg Kroah-Hartman
On Sun, Dec 30, 2018 at 09:28:56PM +0800, Lee, Chun-Yi wrote: > The wake lock/unlock sysfs interfaces check that the writer must has > CAP_BLOCK_SUSPEND capability. But the checking logic can be bypassed > by opening sysfs file within an unprivileged process and then writing > the file within a

[GIT PULL] pin control bulk changes for the v4.21 kernel

2018-12-30 Thread Linus Walleij
Hi Linus, here is the big pull request for pin control changes this merge window. It took some days to stabilize some last minute Kconfig changes and I wanted some build coverage before sending the pull request. We have no core changes but lots of incremental development in drivers all over the

[PATCH] jump_label: move 'asm goto' support test to Kconfig

2018-12-30 Thread Masahiro Yamada
Currently, CONFIG_JUMP_LABEL just means "I _want_ to use jump label". The jump label is controlled by HAVE_JUMP_LABEL, which is defined like this: #if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL) # define HAVE_JUMP_LABEL #endif We can improve this by testing 'asm goto' support

[PATCH v2] x86/trace: set TRACE_INCLUDE_PATH correctly instead of header search path

2018-12-30 Thread Masahiro Yamada
Set TRACE_INCLUDE_PATH correctly for exceptions.h and irq_vectors.h This is consistent with fpu.h, hyperv.h, mpx.h in the same directory. The ugly include paths will go away. Signed-off-by: Masahiro Yamada --- Changes in v2: - Rebase arch/x86/include/asm/trace/exceptions.h | 2 +-

Re: KASAN: use-after-free Read in handle_userfault (2)

2018-12-30 Thread Andrea Arcangeli
Hello, On Sun, Dec 30, 2018 at 08:48:05AM +0100, Dmitry Vyukov wrote: > On Wed, Dec 12, 2018 at 10:58 AM Dmitry Vyukov wrote: > > > > On Wed, Dec 12, 2018 at 10:45 AM syzbot > > wrote: > > > > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:14cf8c1d5b90

[PATCH 3/3] ARM: spinlock: use unified assembler language syntax

2018-12-30 Thread Stefan Agner
Convert the conditional infix to a postfix to make sure this inline assembly is unified syntax. Signed-off-by: Stefan Agner --- arch/arm/include/asm/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/spinlock.h b/arch/arm/include/asm/spinlock.h

[PATCH 0/3] ARM: trivial assembly fixes to enable LLVM as

2018-12-30 Thread Stefan Agner
During the last few days I tried compiling the kernel for ARM32 with LLVMs integrated assembler. The elephant in the room is definitely the unified syntax which is required by the LLVM assembler. I converted most mnemonics using a regex, but it is not perfect and needs some manual fixes. I am not

[PATCH 1/3] ARM: fix argument count to match macro definition

2018-12-30 Thread Stefan Agner
The macro str8w takes 10 arguments, abort being the 10th. In this particular instantiation the abort argument is passed as 11th argument leading to an error when using LLVM's integrated assembler: :46:47: error: too many positional arguments str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, ,

[PATCH 2/3] ARM: uaccess: use unified assembler language syntax

2018-12-30 Thread Stefan Agner
Convert the conditional infix to a postfix to make sure this inline assembly is unified syntax. Signed-off-by: Stefan Agner --- arch/arm/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h

Bug report: unaligned access with ext4 encryption

2018-12-30 Thread Aaro Koskinen
Hi, When using ext4 encryption on SPARC, there's plenty of dmesg noise about unaligned access: [ 167.269526] Kernel unaligned access at TPC[5497a0] find_and_lock_process_key+0x80/0x120 [ 167.270152] Kernel unaligned access at TPC[5497a0] find_and_lock_process_key+0x80/0x120 [ 181.087451]

[PATCH 3/8] i40e: increase indentation

2018-12-30 Thread Julia Lawall
Convert spaces to tabs to get correct alignment. Found with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/net/ethernet/intel/i40e/i40e_main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c

[PATCH 1/8] usb: gadget: udc: reduce indentation

2018-12-30 Thread Julia Lawall
Delete tab aligning a statement with the right hand side of a preceding assignment rather than the left hand side. Found with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/usb/gadget/udc/snps_udc_core.c | 17 - 1 file changed, 8 insertions(+), 9

[PATCH 0/8] reduce indentation

2018-12-30 Thread Julia Lawall
These patches fix cases where a subsequent statement is aligned with the right hand side of an assignment rather than the left hand side. This was done using the following semantic match (http://coccinelle.lip6.fr/). It has a lot of false positives, because Coccinelle doesn't record the

[PATCH 6/8] scsi: pm80xx: reduce indentation

2018-12-30 Thread Julia Lawall
Delete tab aligning a statement with the right hand side of a preceding assignment rather than the left hand side. Found with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/scsi/pm8001/pm8001_sas.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 7/8] drm/msm/dsi: reduce indentation

2018-12-30 Thread Julia Lawall
Delete tab aligning a statement with the right hand side of a preceding assignment rather than the left hand side. Found with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 8/8] iommu/msm: reduce indentation

2018-12-30 Thread Julia Lawall
Delete tab aligning a statement with the right hand side of a preceding assignment rather than the left hand side. Found with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/iommu/msm_iommu.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 4/8] firmware: stratix10-svc: reduce indentation

2018-12-30 Thread Julia Lawall
Delete tab aligning a statement with the right hand side of a preceding assignment rather than the left hand side. Found with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/firmware/stratix10-svc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[PATCH 5/8] staging: rtl8192e: reduce indentation

2018-12-30 Thread Julia Lawall
Delete tab aligning a statement with the right hand side of a preceding assignment rather than the left hand side. Found with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 2/8] net: ena: reduce indentation

2018-12-30 Thread Julia Lawall
Delete tab aligning a statement with the right hand side of a preceding assignment rather than the left hand side. Found with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/net/ethernet/amazon/ena/ena_eth_com.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH net 1/4] umh: add exit routine for UMH process

2018-12-30 Thread Taehee Yoo
A UMH process which is created by the fork_usermode_blob() such as bpfilter needs to release members of the umh_info when process is terminated. But the do_exit() does not release members of the umh_info. hence module which uses UMH needs own code to detect whether UMH process is terminated or

[PATCH net 0/4] net: bpfilter: fix two bugs in bpfilter

2018-12-30 Thread Taehee Yoo
This patches fix two bugs in the bpfilter_umh which are related in iptables command. The first patch adds an exit code for UMH process. This provides an opportunity to cleanup members of the umh_info to modules which use the UMH. The second patch makes the bpfilter_umh use UMH cleanup callback.

[PATCH net 3/4] net: bpfilter: restart bpfilter_umh when error occurred

2018-12-30 Thread Taehee Yoo
The bpfilter_umh will be stopped via __stop_umh() when the bpfilter error occurred. The bpfilter_umh() couldn't start again because there is no restart routine. The section of the bpfilter_umh_{start/end} is no longer .init.rodata because these area should be reused in the restart routine. hence

[PATCH net 4/4] net: bpfilter: disallow to remove bpfilter module while being used

2018-12-30 Thread Taehee Yoo
The bpfilter.ko module can be removed while functions of the bpfilter.ko are executing. so panic can occurred. in order to protect that, locks can be used. a bpfilter_lock protects routines in the __bpfilter_process_sockopt() but it's not enough because __exit routine can be executed concurrently.

[PATCH net 2/4] net: bpfilter: use cleanup callback to release umh_info

2018-12-30 Thread Taehee Yoo
Now, UMH process is killed, do_exit() calls the umh_info->cleanup callback to release members of the umh_info. This patch makes bpfilter_umh's cleanup routine to use the umh_info->cleanup callback. Signed-off-by: Taehee Yoo --- include/linux/bpfilter.h | 11 ---

[PATCH 1/2] doc: cgroup: use graphviz code instead of ASCII art

2018-12-30 Thread Otto Sabart
The graphviz looks better. This patch also fixes multiple build warnings: "WARNING: Block quote ends without a blank line; unexpected unindent." Signed-off-by: Otto Sabart --- Documentation/admin-guide/cgroup-v2.rst | 83 - 1 file changed, 66 insertions(+), 17

[PATCH 2/2] doc: cgroup: highlight all paths using the :file: inline markup

2018-12-30 Thread Otto Sabart
Improve readability using the :file: markup. Signed-off-by: Otto Sabart --- Documentation/admin-guide/cgroup-v2.rst | 28 - 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst

Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2018-12-30 Thread Jacek Anaszewski
On 12/29/18 8:07 PM, Pavel Machek wrote: Hi! With the "color" sysfs file it will make more sense to allow for user defined color palettes. I think defining these values in the device tree or acpi severely limits the devices capabilities. Especially in development phases. If the knobs

Re: [PATCH v2 2/7] clk: rockchip: rk3188: add CLK_SET_RATE_PARENT for lcdc dclk

2018-12-30 Thread Heiko Stuebner
Am Samstag, 29. Dezember 2018, 14:33:13 CET schrieb Johan Jonker: > From: Finley Xiao > > Add CLK_SET_RATE_PARENT for lcdc dclk. > > Signed-off-by: Finley Xiao > Signed-off-by: Johan Jonker applied for 4.22 Thanks Heiko

Re: [PATCH] Fix compilation problem for mt7621_wdt.c and rt2880_wdt.c

2018-12-30 Thread Guenter Roeck
On Sun, Dec 30, 2018 at 02:21:52PM +1100, NeilBrown wrote: > > These files need >#include > to compile correctly. > > Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from > linux/platform_device.h") > Signed-off-by: NeilBrown Reviewed-by: Guenter Roeck > --- >

Re: [PATCH v2 3/7] drm: rockchip: vop: add rk3066 vop definitions

2018-12-30 Thread Heiko Stuebner
Hi Johan, Am Samstag, 29. Dezember 2018, 14:33:14 CET schrieb Johan Jonker: > From: Mark Yao > > This patch adds the rk3066 VOP definitions. > > The VOP or LCD Controller serves as interface between > framebuffer memory and a display device (LCD panel or TV set). > > This SOC has two

[PATCH] x86/cpu/intel: Lower "ENERGY_PERF_BIAS: Set to normal" message log priority

2018-12-30 Thread Hans de Goede
The "ENERGY_PERF_BIAS: Set to 'normal', was 'performance'" message triggers on pretty much every Intel machine. The purpose of log messages with a warning level is to notify the user of something which potentially is a problem, or at least somewhat unexpected. This message clearly does not match

Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2018-12-30 Thread Pavel Machek
On Sun 2018-12-30 18:09:35, Jacek Anaszewski wrote: > On 12/29/18 8:07 PM, Pavel Machek wrote: > >Hi! > > > With the "color" sysfs file it will make more sense to allow for user > defined color palettes. > > >>> > >>>I think defining these values in the device tree or acpi severely

Re: [PATCH 1/2] doc: cgroup: use graphviz code instead of ASCII art

2018-12-30 Thread Jonathan Corbet
On Sun, 30 Dec 2018 17:49:45 +0100 Otto Sabart wrote: > The graphviz looks better. This patch also fixes multiple build warnings: > "WARNING: Block quote ends without a blank line; unexpected unindent." > > Signed-off-by: Otto Sabart The graphviz looks better *in some settings*, such as the

[PATCH v2 10/14] drm: remove include of drmP.h from drm_modeset_helper.h

2018-12-30 Thread Sam Ravnborg
drmP.h is an relic from the days when there was a single header file. To enable the removal of drmP.h from all users drop include of drmP.h from drm_modeset_helper.h. A few files relied on the file included in drmP.h - add explicit include statements to these files. Build tested with arm and x86.

[PATCH v2 05/14] drm: make drm_file.h self contained

2018-12-30 Thread Sam Ravnborg
drm_file.h embed struct idr, so this file need to know the full type definition. With this change users of drm_file.h are no longer forced to include idr.h - a file they usually get from drmP.h This makes it simpler to remove drmP.h includes Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc:

[PATCH v2 02/14] drm: drm_device.h: update comments to kernel-doc style

2018-12-30 Thread Sam Ravnborg
Updated comment style to kernel-doc format in drm_device.h In struct drm_device there are 12 struct members without doc: - registered - filelist_mutex - filelist - irq - vbl_lock - event_lock - hose - sigdata - sigdata.context - sigdata.lock - agp_buffer_map - agp_buffer_token They all need

[PATCH v2 14/14] drm: remove drmP.h from drm_gem_cma_helper.h

2018-12-30 Thread Sam Ravnborg
With all dependencies fixed we can now remove drmP.h from drm_gem_cma_helper.h. It is replaced by the include files required, or forward declarations as appropritate. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter ---

[PATCH v2 01/14] drm: move DRM_IF_VERSION to drm_internal.h

2018-12-30 Thread Sam Ravnborg
Move DRM_IF_VERSION out of drmP.h to allow users to get rid of the drmP include. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Signed-off-by: Daniel Vetter Link:

[PATCH v2 04/14] drm: make drm_framebuffer.h self contained

2018-12-30 Thread Sam Ravnborg
Add forward declaration and pull in include file to make drm_framebuffer.h self contained. While add it order include files alphabetically. The use of TASK_COMM_LEN is the reason for including sched.h. I could not see any good way to avoid this dependency, and users of drm_framebuffer.comm

[PATCH v2 12/14] drm/stm: do not reply on drmP.h from drm_gem_cma_helper.h

2018-12-30 Thread Sam Ravnborg
drmP.h was the only header file in the past and a lot of files rely on that drmP.h defines everything. The goal is to one day to delete drmP.h and as a step towards this it will no longer be included in the headers files in include/drm/ To prepare stm/ for this add dependencies that othwewise was

[PATCH v2 09/14] drm: remove include of drmP.h from drm_encoder_slave.h

2018-12-30 Thread Sam Ravnborg
No further changes required. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- include/drm/drm_encoder_slave.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/drm/drm_encoder_slave.h

[PATCH v2 0/14] drm: minimize drmP.h dependencies

2018-12-30 Thread Sam Ravnborg
The goal with this small series is to remove the last bits that prevents us from removing drmP.h driver-by-driver or file by file. - drmP.h is now stripped down to include files and forward declarations. - All header files in include/drm/ no longer include drmP.h. The series was made on top of

[PATCH v2 11/14] drm/arc: do not reply on drmP.h from drm_gem_cma_helper.h

2018-12-30 Thread Sam Ravnborg
drmP.h was the only header file in the past and a lot of files rely on that drmP.h defines everything. The goal is to one day to delete drmP.h and as a step towards this it will no longer be included in the headers files in include/drm/ To prepare arc/ for this add dependencies that othwewise was

[PATCH v2 13/14] drm/tinydrm: do not reply on drmP.h from drm_gem_cma_helper.h

2018-12-30 Thread Sam Ravnborg
drmP.h was the only header file in the past and a lot of files rely on that drmP.h defines everything. The goal is to one day to delete drmP.h and as a step towards this it will no longer be included in the headers files in include/drm/ To prepare tinydrm/ for this add dependencies that othwewise

[PATCH v2 07/14] drm: move EXPORT_SYMBOL_FOR_TESTS_ONLY to drm_util.h

2018-12-30 Thread Sam Ravnborg
In the quest to get rid of drmP.h move the newly added EXPORT_SYMBOL_FOR_TESTS_ONLY to drm_util.h. Fix the single user. Add a note to drmP.h to avoid further use of it. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter ---

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-30 Thread LEROY Christophe
Arnd Bergmann a écrit : On Sat, Dec 29, 2018 at 3:51 AM Michael Schmitz wrote: Hi Finn, Am 29.12.2018 um 15:34 schrieb Finn Thain: > On Sat, 29 Dec 2018, Michael Schmitz wrote: > >> >> IS_BUILTIN(CONFIG_NVRAM) is probably what Christophe really meant to suggest. >> >> Or (really going

[PATCH v2 06/14] drm: move drm_can_sleep() to drm_util.h

2018-12-30 Thread Sam Ravnborg
Move drm_can_sleep() out of drmP.h to allow users to get rid of the drmP.h include. There was no header file that was a good match for this helper function. So add this to drm_util with the relevant includes. Update comments to use kernel-doc style. Add FIXME to drm_can_sleep and add note that

[PATCH v2 08/14] drm: remove include of drmP.h from bridge/dw_hdmi.h

2018-12-30 Thread Sam Ravnborg
drmP.h is an relic from the days when there was a single header file. To enable the removal of drmP.h from all users drop include of drmP.h from bridge/dw_hdmi.h. A few files relied on the file included in drmP.h - add explicit include statements or forward declarations to these files. Build

[PATCH v2 03/14] drm: move DRM_SWITCH_POWER defines to drm_device.h

2018-12-30 Thread Sam Ravnborg
Move DRM_SWITCH_POWER out of drmP.h to allow users to get rid of the drmP include. Moved to drm_device.h because drm_device.switch_power_state is the only user. Converted to enum and added sparse kerneldoc comments. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean

Re: [PATCH v8 13/25] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2018-12-30 Thread LEROY Christophe
Finn Thain a écrit : On Sat, 29 Dec 2018, Arnd Bergmann wrote: On Wed, Dec 26, 2018 at 1:43 AM Finn Thain wrote: > + > +static ssize_t m68k_nvram_get_size(void) > +{ > + if (MACH_IS_ATARI) > + return atari_nvram_get_size(); > + else if (MACH_IS_MAC) > +

Re: KASAN: slab-out-of-bounds Read in tun_net_xmit (2)

2018-12-30 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:b71acb0e3721 Merge branch 'linus' of git://git.kernel.org/.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1449435340 kernel config:

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-30 Thread James Bottomley
On Sun, 2018-12-30 at 18:50 +0100, LEROY Christophe wrote: > Arnd Bergmann a écrit : > > On Sat, Dec 29, 2018 at 3:51 AM Michael Schmitz > > wrote: [...] > > > (On second thought - I don't want to speculate whether there's > > > weird compiler options that could result in the > > >

  1   2   3   >