Re: [patch V2 2/2] x86/ldt: Prevent ldt inheritance on exec

2017-12-09 Thread Thomas Gleixner
On Fri, 8 Dec 2017, Thomas Gleixner wrote: > +int ldt_dup_context(struct mm_struct *old_mm, struct mm_struct *mm) > { > struct ldt_struct *new_ldt; > - struct mm_struct *old_mm; > int retval = 0; > > - mutex_init(&mm->context.lock); > - old_mm = current->mm; > - if (!

Re: RFC(v2): Audit Kernel Container IDs

2017-12-09 Thread Casey Schaufler
On 12/9/2017 2:20 AM, Micka�l Sala�n wrote: > On 12/10/2017 18:33, Casey Schaufler wrote: >> On 10/12/2017 7:14 AM, Richard Guy Briggs wrote: >>> Containers are a userspace concept. The kernel knows nothing of them. >>> >>> The Linux audit system needs a way to be able to track the container >

Re: [patch V2 2/2] x86/ldt: Prevent ldt inheritance on exec

2017-12-09 Thread Thomas Gleixner
On Sat, 9 Dec 2017, Thomas Gleixner wrote: > On Fri, 8 Dec 2017, Thomas Gleixner wrote: > > +int ldt_dup_context(struct mm_struct *old_mm, struct mm_struct *mm) > > { > > struct ldt_struct *new_ldt; > > - struct mm_struct *old_mm; > > int retval = 0; > > > > - mutex_init(&mm->contex

Linux kernel configuration for MPS2 AN385

2017-12-09 Thread Guenter Roeck
Hi folks, I am playing with qemu's mps2-an385 emulation and try to get Linux to boot with it, so far with little (ie no) success. Is a working kernel configuration for this board available somewhere ? Thanks, Guenter

Re: [PATCH 4.14 00/75] 4.14.5-stable review

2017-12-09 Thread Ivan Kozik
On Sat, Dec 9, 2017 at 5:13 PM, Greg Kroah-Hartman wrote: > On Sat, Dec 09, 2017 at 07:56:40AM +, Ivan Kozik wrote: >> On Sat, Dec 9, 2017 at 7:45 AM, Greg Kroah-Hartman >> wrote: >> > On Sat, Dec 09, 2017 at 03:34:24AM +, Ivan Kozik wrote: >> >> I saw no problems on 8 of 9 machines, but

Re: [Patch v6 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-12-09 Thread Stanimir Varbanov
Hi Smitha, Thanks for the patches! On 12/08/2017 11:08 AM, Smitha T Murthy wrote: Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/v4l2-core/v4l2-ctrls.c | 118 +++ include/uapi/linux/v4l2-controls

[PATCH 0/3] tty/serial/ifx6x60: Adjustments for five function implementations

2017-12-09 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 9 Dec 2017 20:03:45 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in ifx_spi_spi_probe() Improve a size determination in ifx_spi_spi_probe()

[PATCH 1/3] serial: ifx6x60: Delete an error message for a failed memory allocation in ifx_spi_spi_probe()

2017-12-09 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 9 Dec 2017 19:20:37 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/tty/serial/ifx6x60.c | 5 ++--- 1 file changed, 2 insertions(+)

[PATCH 2/3] serial: ifx6x60: Improve a size determination in ifx_spi_spi_probe()

2017-12-09 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 9 Dec 2017 19:22:50 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was dete

[PATCH 3/3] serial: ifx6x60: Add some spaces for better code readability

2017-12-09 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 9 Dec 2017 19:55:31 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/tty/serial/ifx6x60.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-09 Thread Roman Gushchin
On Fri, Dec 08, 2017 at 03:39:43PM +, Quentin Monnet wrote: > 2017-12-08 14:12 UTC+ ~ Roman Gushchin > > On Fri, Dec 08, 2017 at 10:34:16AM +, Quentin Monnet wrote: > >> 2017-12-07 18:39 UTC+ ~ Roman Gushchin > >>> This patch adds basic cgroup bpf operations to bpftool: > >>> cgro

[PATCHSET] blk-mq: reimplement timeout handling

2017-12-09 Thread Tejun Heo
Currently, blk-mq timeout path synchronizes against the usual issue/completion path using a complex scheme involving atomic bitflags, REQ_ATOM_*, memory barriers and subtle memory coherence rules. Unfortunatley, it contains quite a few holes. It's pretty easy to make blk_mq_check_expired() termin

[PATCH 6/6] blk-mq: remove REQ_ATOM_STARTED

2017-12-09 Thread Tejun Heo
After the recent updates to use generation number and state based synchronization, we can easily replace REQ_ATOM_STARTED usages by adding an extra state to distinguish completed but not yet freed state. Add MQ_RQ_COMPLETE and replace REQ_ATOM_STARTED usages with blk_mq_rq_state() tests. REQ_ATOM

[PATCH 4/6] blk-mq: make blk_abort_request() trigger timeout path

2017-12-09 Thread Tejun Heo
With issue/complete and timeout paths now using the generation number and state based synchronization, blk_abort_request() is the only one which depends on REQ_ATOM_COMPLETE for arbitrating completion. There's no reason for blk_abort_request() to be a completely separate path. This patch makes bl

[PATCH 5/6] blk-mq: remove REQ_ATOM_COMPLETE usages from blk-mq

2017-12-09 Thread Tejun Heo
After the recent updates to use generation number and state based synchronization, blk-mq no longer depends on REQ_ATOM_COMPLETE for anything. Remove all REQ_ATOM_COMPLETE usages. This removes atomic bitops from hot paths too. The next patch will push further along this direction and include sim

[PATCH 1/6] blk-mq: protect completion path with RCU

2017-12-09 Thread Tejun Heo
Currently, blk-mq protects only the issue path with RCU. This patch puts the completion path under the same RCU protection. This will be used to synchronize issue/completion against timeout by later patches, which will also add the comments. Signed-off-by: Tejun Heo --- block/blk-mq.c | 16 +++

[PATCH 3/6] blk-mq: use blk_mq_rq_state() instead of testing REQ_ATOM_COMPLETE

2017-12-09 Thread Tejun Heo
blk_mq_check_inflight() and blk_mq_poll_hybrid_sleep() test REQ_ATOM_COMPLETE to determine the request state. Both uses are speculative and we can test REQ_ATOM_STARTED and blk_mq_rq_state() for equivalent results. Replace the tests. This will allow removing REQ_ATOM_COMPLETE usages from blk-mq.

[PATCH 2/6] blk-mq: replace timeout synchronization with a RCU and generation based scheme

2017-12-09 Thread Tejun Heo
Currently, blk-mq timeout path synchronizes against the usual issue/completion path using a complex scheme involving atomic bitflags, REQ_ATOM_*, memory barriers and subtle memory coherence rules. Unfortunatley, it contains quite a few holes. There's a complex dancing around REQ_ATOM_STARTED and

Re: kernel BUG at net/core/skbuff.c:LINE! (2)

2017-12-09 Thread Cong Wang
On Fri, Dec 8, 2017 at 12:45 AM, Xin Long wrote: > This isn't a sctp problem, but mld's, seems when lo's mtu became 0, > it allocs a skb without enough space in add_grec(): Shouldn't we just set its min_mtu to ETH_MIN_MTU?

[PATCH] dt-bindings: mailbox: ti,message-manager: Fix interrupt name error

2017-12-09 Thread Nishanth Menon
Message Manager's mailbox interrupts are queue based and not proxy specific. The interrupt names are wrong in the binding, however correctly reflected in the example provided. Remove the relation to proxy ID in the documentation of binding. Existing device tree descriptions follow the correct conve

Re: [PATCH] libsas: flush pending destruct work in sas_unregister_domain_devices()

2017-12-09 Thread Cong Wang
On Thu, Dec 7, 2017 at 11:54 PM, Jason Yan wrote: > > We have sent a patchset to fix this and to enhance libsas hotplug. > Please refer to https://lkml.org/lkml/2017/9/6/142 > > And I'm going to send a new version soon. Thanks for working on it! Please make sure they will be queued for -stable to

[PATCH] i2c: update i2c-dev.h warning in documentation

2017-12-09 Thread Cengiz Can
`dev-interface` document gives examples for accessing i2c from userspace. There's a note warning developers about the different `i2c-dev.h` header files which were shipped with the kernel and i2c-tools separately. However, these commits in i2c-tools repository suggests that the header files are n

[PATCH] i2c: update i2c-dev.h warning in documentation

2017-12-09 Thread Cengiz Can
`dev-interface` document gives examples for accessing i2c from userspace. There's a note warning developers about the different `i2c-dev.h` header files which were shipped with the kernel and i2c-tools separately. However, these commits in i2c-tools repository suggests that the header files are n

Re: Wireless regressions in v4.15-rc1

2017-12-09 Thread Johannes Berg
On Sat, 2017-12-02 at 14:59 +0200, Kalle Valo wrote: > > net: netlink: Update attr validation to require exact length for some types > https://git.kernel.org/linus/28033ae4e0f5 This was reverted, more or less, to print only a warning: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git

[PATCH v3] Staging: pi433: fix brace coding style issues in pi433_if.c

2017-12-09 Thread Tomas Marek
This patch fix several brace on next line, braces not necessary, space around =/<, and space before/after open/close parenthesis coding style errors find by checkpatch in pi433_if.c. Signed-off-by: Tomas Marek --- Changes in v3: - DIO0_irq_handler update reverted - will be submitted in separate

[PATCH] serial: fsl_lpuart: Delete an error message for a failed memory allocation in lpuart_start_rx_dma()

2017-12-09 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 9 Dec 2017 21:34:23 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/tty/serial/fsl_lpuart.c | 4 +--- 1 file changed, 1 insertion(+

Re: [PATCH 2/2] platform/x86: wmi: Allow creating WMI devices with the same GUID

2017-12-09 Thread Andy Lutomirski
On Fri, Dec 8, 2017 at 6:34 PM, Mario Limonciello wrote: > In: commit d1f9e4970742 ("ACPI: WMI: Survive BIOS with duplicate GUIDs") > parsing two of the same GUID was prevented in the WMI bus driver. > > At the time no one understood why GUID 05901221-D566-11D1-B2F0-00A0C9062910 > was being duplic

Re: [PATCH v2] fs: handle shrinker registration failure in sget_userns

2017-12-09 Thread Al Viro
On Wed, Nov 29, 2017 at 12:55:15PM +0100, Michal Hocko wrote: > On Thu 23-11-17 14:55:40, Al Viro wrote: > > On Thu, Nov 23, 2017 at 03:35:37PM +0100, Michal Hocko wrote: > > > Hopefully less screwed version. But as I've said I am not really > > > familiar with the code and do not feel competent t

Re: [PATCH 4.4 71/96] e1000e: Separate signaling for link check/link up

2017-12-09 Thread rwar...@gmx.de
Hallo with this patch from here: https://marc.info/?l=linux-kernel&m=151272209903675&w=2 e1000e is great again ! :) tested 4.14.5-rc1 -- Greeting Ronald

Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps?

2017-12-09 Thread Matt Turner
On Fri, Dec 8, 2017 at 1:16 PM, Eric Dumazet wrote: > On Fri, 2017-12-08 at 12:26 -0800, Matt Turner wrote: >> >> Thanks for the quick reply! >> >> I tried the patch on top of master, but unfortunately the corruption >> still occurs. > > You might try replacing in sbdma_add_rcvbuffer() > > sb_new

[PATCH] serial: bfin_uart: Delete an error message for a failed memory allocation in bfin_serial_probe()

2017-12-09 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 9 Dec 2017 22:05:54 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/tty/serial/bfin_uart.c | 6 ++ 1 file changed, 2 insertions

Re: [PATCH v8 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver

2017-12-09 Thread Jacek Anaszewski
On 12/08/2017 12:04 AM, Dan Murphy wrote: > Rob > > > On 12/07/2017 04:49 PM, Rob Herring wrote: >> On Tue, Dec 05, 2017 at 02:46:29PM -0600, Dan Murphy wrote: >>> This adds the devicetree bindings for the LM3692x >>> I2C LED string driver. >>> >>> Acked-by: Pavel Machek >>> Signed-off-by: Dan M

Re: [PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2017-12-09 Thread Andy Lutomirski
On Fri, Dec 8, 2017 at 7:41 PM, wrote: >>> On Dec 8, 2017, at 6:34 PM, Mario Limonciello >>> wrote: >>> >>> It's possible for the same GUID to show up on as system twice. >>> This means using solely the GUID for identify the file will not >>> be sufficient. >> >>Isn't the file already in a per-

Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps?

2017-12-09 Thread Eric Dumazet
On Sat, 2017-12-09 at 13:03 -0800, Matt Turner wrote: > On Fri, Dec 8, 2017 at 1:16 PM, Eric Dumazet > wrote: > > On Fri, 2017-12-08 at 12:26 -0800, Matt Turner wrote: > > > > > > Thanks for the quick reply! > > > > > > I tried the patch on top of master, but unfortunately the > > > corruption >

Re: [PATCH v2] fs: handle shrinker registration failure in sget_userns

2017-12-09 Thread Al Viro
On Sat, Dec 09, 2017 at 08:59:22PM +, Al Viro wrote: > On Wed, Nov 29, 2017 at 12:55:15PM +0100, Michal Hocko wrote: > > On Thu 23-11-17 14:55:40, Al Viro wrote: > > > On Thu, Nov 23, 2017 at 03:35:37PM +0100, Michal Hocko wrote: > > > > Hopefully less screwed version. But as I've said I am no

Re: Linux 4.15-rc2: Regression in resume from ACPI S3

2017-12-09 Thread Pavel Machek
Hi! On Sat 2017-12-09 10:55:14, Linus Torvalds wrote: > On Dec 9, 2017 02:33, "Pavel Machek" wrote: > > > I believe I have the issue here, too (-next on thinkpad x60). Which > > patch is expected to fix it? Let me try recent -next... > > > It should be fixed in mainline. I don't know if next h

Re: [PATCH] usb-core: Fix potential null pointer dereference in xhci-debugfs.c

2017-12-09 Thread Alexander Kappner
Hi Mathias, thanks for the patch! The system now resumes cleanly from hibernate even with usbmuxd doing its thing. Tested-by: Alexander Kappner While testing this I hit some other issues with xhci-debugfs.c but I'll write these up in a separate bug. On 12/08/2017 09:01 AM, Mathias Nyman w

[alsa-devel][PATCH v3] ASoC: TSCS42xx: Add support for Tempo Semiconductor's TSCS42xx audio CODEC

2017-12-09 Thread Steven Eckhoff
Currently there is no support for the TSCS42xx audio CODEC. Add support for it. Below is the link to the v2 patch in case the threading is broken. This patch addressed each issue raised in the last review. https://patchwork.kernel.org/patch/10058117/ Signed-off-by: Steven Eckhoff Cc: Steven E

[PATCH] mm/slab: make calculate_alignment() function static

2017-12-09 Thread Byongho Lee
calculate_alignment() function is only used inside 'slab_common.c'. So make it static and let compiler do more optimizations. After this patch there's small improvements in 'text' and 'data' size. $ gcc --version gcc (GCC) 7.2.1 20171128 Before: text data bss dec hex

[PATCH 1/2] dt-bindings: Add Infineon TLV493D-A1B6

2017-12-09 Thread Andreas Färber
The Infineon TLV493D-A1B6 is an I2C-based 3D Magnetic Sensor. Cc: Marius Tarcatu Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/trivial-devices.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/trivial-devices.txt b/Documentation/dev

[PATCH 2/2] iio: magnetometer: Add Infineon TLV493D-A1B6

2017-12-09 Thread Andreas Färber
The Infineon TLV493D is a 3D magnetic sensor, A1B6 is I2C based. It is found among others on the Infineon 3D Magnetic Sensor 2Go Kit, which allows to detach the sensor as a breakout board. Cc: Marius Tarcatu Signed-off-by: Andreas Färber --- drivers/iio/magnetometer/Kconfig | 9 + drivers/

[PATCH 0/2] iio: magnetometer: Infineon TLV493D-A1B6 support

2017-12-09 Thread Andreas Färber
Hello, This mini-series adds initial support for the Infineon TLV493D-A1B6 3D Magnetic Sensor found on the Infineon 3D Magnetic Sensor 2Go Kit. Tested on a Raspberry Pi 3 with a DT Overlay. https://github.com/afaerber/dt-overlays/blob/master/bcm2837-rpi-3-b%2Btlv493d-a1b6.dts Have a lot of fun!

Re: [PATCH net-next] libbpf: add function to setup XDP

2017-12-09 Thread Jakub Kicinski
On Sat, 9 Dec 2017 15:43:15 +0100, Eric Leblond wrote: > + for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, len); > + nh = NLMSG_NEXT(nh, len)) { > + if (nh->nlmsg_pid != getpid()) { > + ret = -LIBBPF_ERRNO__WRNGPID; > + goto cleanup;

[PATCH 2/4] PM / core: Add helpers for subsystem callback selection

2017-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add helper routines to find and return a suitable subsystem callback during the "noirq" phases of system suspend/resume (or analogous) transitions as well as during the "late" phase of system suspend and the "early" phase of system resume (or analogous) transitions. The h

[PATCH 1/4] PM / core: Use dev_pm_skip_next_resume_phases() internally

2017-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the PM core call dev_pm_skip_next_resume_phases() to skip the "early resume" and "resume" phases of system-wide transitions to the working state for a given device instead of clearing the relevant status bits for it directly. No intentional changes in functionality.

[PATCH 4/4] PM / core: Direct DPM_FLAG_LEAVE_SUSPENDED handling

2017-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the PM core handle DPM_FLAG_LEAVE_SUSPENDED directly for devices whose "noirq", "late" and "early" driver callbacks are invoked directly by it. Namely, make it skip all of the system-wide resume callbacks for such devices with DPM_FLAG_LEAVE_SUSPENDED set if they are

[PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the PM core avoid invoking the "late" and "noirq" system-wide suspend (or analogous) callbacks provided by device drivers directly for devices with DPM_FLAG_SMART_SUSPEND set that are in runtime suspend during the "late" and "noirq" phases of system-wide suspend (or a

[PATCH 0/4] PM / core: Direct handling of DPM_FLAG_SMART_SUSPEND and DPM_FLAG_LEAVE_SUSPENDED

2017-12-09 Thread Rafael J. Wysocki
Hi All, This series is a follow-up for https://marc.info/?l=linux-doc&m=151101644105835&w=2 Patches[1-3/6] from the above have been reviewed and agreed on, so they are in linux-next now and here's a next version of the rest. Patches [1-2/4] are preparatory. The first one is just really small c

[no subject]

2017-12-09 Thread atokawotsa
Hi Lkml http://bit.ly/2y9rB7b atokawotsa

Re: [PATCH] mtd: nand: gpio: Fix ALE gpio configuration

2017-12-09 Thread Linus Walleij
On Wed, Dec 6, 2017 at 6:27 PM, Christophe Leroy wrote: > Fixes a copy/paste error in commit f3d0d8d938b4d ("mtd: nand: gpio: > Convert to use GPIO descriptors") which breaks gpio-nand driver > > Fixes: f3d0d8d938b4d ("mtd: nand: gpio: Convert to use GPIO descriptors") > Cc: Linus Walleij > Sign

Re: [PATCH] KVM: X86: Fix host dr6 miss restore

2017-12-09 Thread Wanpeng Li
2017-12-08 20:39 GMT+08:00 David Hildenbrand : > On 08.12.2017 10:12, Wanpeng Li wrote: >> From: Wanpeng Li >> >> Reported by syzkaller: >> >>WARNING: CPU: 0 PID: 12927 at arch/x86/kernel/traps.c:780 >> do_debug+0x222/0x250 >>CPU: 0 PID: 12927 Comm: syz-executor Tainted: G OE

Re: [PATCH v3 1/2] eeprom: at24: fix coding style issues

2017-12-09 Thread Christoph Böhmwalder
On Thu, Dec 07, 2017 at 02:39:14PM +0100, Bartosz Golaszewski wrote: > -#define AT24_DEVICE_MAGIC(_len, _flags) \ > - ((1 << AT24_SIZE_FLAGS | (_flags)) \ > +#define AT24_DEVICE_MAGIC(_len, _flags) \ > + ((1 << AT24_SIZE_FLAGS | (_flags))

Re: [PATCH v2 1/2] staging: rtl8712: Cleanup checkpatch issue WARNING:LONG_LINE

2017-12-09 Thread Larry Finger
On 12/09/2017 05:11 AM, Neil Singh wrote: Cleanup below checkpatch issue: WARNING:LONG_LINE: line over 80 characters 1000: FILE: rtl871x_security.c:1000: +static void construct_ctr_preload(u8 *ctr_preload, sint a4_exists, sint qc_exists, Signed-off-by: Neil Singh --- drivers/staging/rtl8712

Re: [PATCH v2] fs: handle shrinker registration failure in sget_userns

2017-12-09 Thread Tetsuo Handa
Al Viro wrote: > On Sat, Dec 09, 2017 at 08:59:22PM +, Al Viro wrote: > > On Wed, Nov 29, 2017 at 12:55:15PM +0100, Michal Hocko wrote: > > > On Thu 23-11-17 14:55:40, Al Viro wrote: > > > > On Thu, Nov 23, 2017 at 03:35:37PM +0100, Michal Hocko wrote: > > > > > Hopefully less screwed version.

Re: [PATCH 0/2] arm64 SMMUv3 PMU driver with IORT support

2017-12-09 Thread Linu Cherian
Hi, On Fri Aug 04, 2017 at 03:59:12PM -0400, Neil Leeder wrote: > This adds a driver for the SMMUv3 PMU into the perf framework. > It includes an IORT update to support PM Counter Groups. > In one of Cavium's upcoming SOC, SMMU PMCG implementation is such a way that platform bus id (Device ID in

Re: kernel BUG at net/core/skbuff.c:LINE! (2)

2017-12-09 Thread Xin Long
On Sun, Dec 10, 2017 at 12:59 AM, Eric Dumazet wrote: > On Sat, 2017-12-09 at 19:23 +0800, Xin Long wrote: >> On Fri, Dec 8, 2017 at 4:45 PM, Xin Long >> wrote: >> > On Fri, Dec 8, 2017 at 4:16 PM, syzbot >> > > > .com> >> > wrote: >> > > syzkaller has found reproducer for the following crash on

[PATCH v3 1/2] staging: rtl8712: Cleanup codestyle, break up long line

2017-12-09 Thread Neil Singh
Cleanup below checkpatch issue: WARNING:LONG_LINE: line over 80 characters 1000: FILE: rtl871x_security.c:1000: +static void construct_ctr_preload(u8 *ctr_preload, sint a4_exists, sint qc_exists, Signed-off-by: Neil Singh --- drivers/staging/rtl8712/rtl871x_security.c | 5 +++-- 1 file changed

[PATCH v3 0/2] staging: rtl8712: Cleanup codestyle

2017-12-09 Thread Neil Singh
Cleanup some codestyle issues identified by checkpatch. Changes since v2: - Modify patches so they themselves don't trigger the checkpatch issues CHECK:PARENTHESIS_ALIGNMENT and WARNING:EMAIL_SUBJECT Changes since v1: - Split single patch into multiple Neil Singh (2): staging: rtl8712: Clean

[PATCH v3 2/2] staging: rtl8712: Cleanup codestyle, change spaces to tabs

2017-12-09 Thread Neil Singh
Cleanup below checkpatch issues: ERROR:CODE_INDENT: code indent should use tabs where possible 1409: FILE: rtl871x_security.c:1409: +from_timer(padapter, t, securitypriv.tkip_timer);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line 1409: FILE: rtl871x_security.c:14

Re: kernel BUG at net/core/skbuff.c:LINE! (2)

2017-12-09 Thread Xin Long
On Sun, Dec 10, 2017 at 3:36 AM, Cong Wang wrote: > On Fri, Dec 8, 2017 at 12:45 AM, Xin Long wrote: >> This isn't a sctp problem, but mld's, seems when lo's mtu became 0, >> it allocs a skb without enough space in add_grec(): > > Shouldn't we just set its min_mtu to ETH_MIN_MTU? No idea why ther

Re: kernel BUG at net/core/skbuff.c:LINE! (2)

2017-12-09 Thread Eric Dumazet
On Sun, 2017-12-10 at 12:36 +0800, Xin Long wrote: > The new patch works to me, just two questions: > 1. should it use "idev->cnf.mtu6" here for mld ? No idea why some parts of IPv6 would use a different view of device mtu. Maybe others can comment. > > 2.  'if (int < unsigned int)' is still not

[GIT PULL] ARM: SoC fixes

2017-12-09 Thread Olof Johansson
Hi Linus, The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to fetch changes up to 8be0b988

Re: kernel BUG at net/core/skbuff.c:LINE! (2)

2017-12-09 Thread Eric Dumazet
On Sun, 2017-12-10 at 12:38 +0800, Xin Long wrote: > On Sun, Dec 10, 2017 at 3:36 AM, Cong Wang > wrote: > > On Fri, Dec 8, 2017 at 12:45 AM, Xin Long > > wrote: > > > This isn't a sctp problem, but mld's, seems when lo's mtu became > > > 0, > > > it allocs a skb without enough space in add_grec(

Re: [PATCH] kbuild: move cc-option and cc-disable-warning after incl. arch Makefile

2017-12-09 Thread Masahiro Yamada
2017-11-27 21:25 GMT+09:00 Geert Uytterhoeven : > Hi Yamada-san, > > On Mon, Nov 27, 2017 at 1:15 PM, Masahiro Yamada > wrote: >> Geert reported commit ae6b289a3789 ("kbuild: Set KBUILD_CFLAGS before >> incl. arch Makefile") broke cross-compilation using a cross-compiler >> that supports less comp

Re: [PATCH] hyperv: make HYPERV a menuconfig to ease disabling it all

2017-12-09 Thread Stephen Hemminger
On Sat, 9 Dec 2017 16:21:51 +0100 Vincent Legoll wrote: > No need to get into the submenu to disable all HYPERV-related > config entries. > > This makes it easier to disable all HYPERV config options > without entering the submenu. It will also enable one > to see that en/dis-abled state from t

Re: [PATCH v2] mmap.2: MAP_FIXED updated documentation

2017-12-09 Thread John Hubbard
On 12/09/2017 09:19 AM, Pavel Machek wrote: > On Thu 2017-12-07 15:02:21, Michal Hocko wrote: >> On Thu 07-12-17 13:58:05, Cyril Hrubis wrote: >>> Hi! >> (It does seem unfortunate that the man page cannot help the programmer >> actually write correct code here. He or she is forced to read t

[PATCH] Documentation: Better document the hardlockup_panic sysctl

2017-12-09 Thread Scott Wood
Commit ac1f591249d95372f ("kernel/watchdog.c: add sysctl knob hardlockup_panic") added the hardlockup_panic sysctl, but did not add it to Documentation/sysctl/kernel.txt. Add this, and reference it from the corresponding entry in Documentation/admin-guide/kernel-parameters.txt. Signed-off-by: Sco

<    1   2