Re: KASAN: use-after-free Read in crypto_aead_free_instance

2017-12-20 Thread Stephan Mueller
Am Mittwoch, 20. Dezember 2017, 10:19:43 CET schrieb Dmitry Vyukov: Hi Dmitry, > > > > This issue vanishes after applying the patch "[PATCH v2] crypto: AF_ALG - > > limit mask and type". > > Hi Stephan, > > syzbot does not understand arbitrary English prose, it only understands this: > > Once

Re: [RFC PATCH 9/9] media: vim2m: add request support

2017-12-20 Thread Alexandre Courbot
On Tue, Dec 19, 2017 at 5:53 AM, Gustavo Padovan wrote: > Hi Alex, > > 2017-12-15 Alexandre Courbot : > >> Set the necessary ops for supporting requests in vim2m. >> >> Signed-off-by: Alexandre Courbot >> --- >> drivers/media/platform/vim2m.c | 22 ++ >> 1 file changed, 22 in

Re: [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2017-12-20 Thread Greg Kroah-Hartman
On Wed, Dec 20, 2017 at 01:24:44AM -0800, Joe Perches wrote: > On Wed, 2017-12-20 at 10:34 +0200, Jarkko Nikula wrote: > > On Tue, Dec 19, 2017 at 10:15:07AM -0800, Joe Perches wrote: > > > Convert DEVICE_ATTR uses to DEVICE_ATTR_RW where possible. > [] > > > diff --git a/sound/soc/omap/mcbsp.c b/

[PATCH v9 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread Crt Mori
There is no option to perform 64bit integer sqrt on 32bit platform. Added stronger typed int_sqrt64 enables the 64bit calculations to be performed on 32bit platforms. Although int_sqrt() is a rough approximation, the same algorithm is used in int_sqrt64() as good enough on 32bit platform. Signed-o

Re: [PATCH RESEND] checkpatch: add *_ON_STACK to declaration_macros

2017-12-20 Thread Greg Kroah-Hartman
On Wed, Dec 20, 2017 at 08:31:19AM +, Gilad Ben-Yossef wrote: > Add the crypto API *_ON_STACK to $declaration_macros. > > Resolves the following false warning: > > WARNING: Missing a blank line after declarations > + int err; > + SHASH_DESC_ON_STACK(des

[PATCH v9 0/3] iio: temperataure: MLX90632

2017-12-20 Thread Crt Mori
Hi everybody, With the sensor now available to broad public, it is time to also share the driver with the community. MLX90632 is just 3x3mm in size, but with factory calibration offers instant usage in every project. Driver currently provides basic functionality, but I might add some more fancy f

Re: [PATCH 1/4] gpio: sysfs: change 'value' attribute to prealloc

2017-12-20 Thread Linus Walleij
On Mon, Dec 18, 2017 at 11:08 AM, Christophe Leroy wrote: > The GPIO 'value' attribute is time critical. A small bench with > 'perf record' on the app below shows that 80% of the time spent in > sysfs_kf_seq_show() is spent in memset() for zeroising the buffer. > > |--67.48%--sysfs_kf_seq_show >

Re: [PATCH 2/2 v2] scsi: ufs: use sysfs entry for health info

2017-12-20 Thread gre...@linuxfoundation.org
On Tue, Dec 19, 2017 at 02:46:44PM -0800, Jaegeuk Kim wrote: > >From 3368207da5988b8fed4e41e6c0f49a60ac014222 Mon Sep 17 00:00:00 2001 > From: Jaegeuk Kim > Date: Tue, 26 Sep 2017 20:53:48 -0700 > Subject: [PATCH 2/2] scsi: ufs: introduce sysfs entries exposing UFS health > info > > This patch a

Re: [PATCH 3/4] gpio: sysfs: don't use sprintf() for 'value' attribute

2017-12-20 Thread Linus Walleij
On Mon, Dec 18, 2017 at 11:08 AM, Christophe Leroy wrote: > A bench with 'perf record' shows that most of time spent in value_show() > is spent in sprintf() > > --42.41%--sysfs_kf_read > | > |--39.73%--dev_attr_show > | | > | |--38.23%--va

Re: [PATCH] irqchip/gic-v3-its: Flush GICR caching for a cross node collection move of an irq

2017-12-20 Thread Ganapatrao Kulkarni
Hi Marc, On Wed, Dec 20, 2017 at 2:56 PM, Marc Zyngier wrote: > On 20/12/17 09:15, Ganapatrao Kulkarni wrote: >> When an interrupt is moved, it is possible that an implementation that >> supports caching might still have cached data for a previous >> (no longer valid) mapping of the interrupt. In

Re: [PATCH v7 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread Crt Mori
Thanks for suggestions and comments. Respinned v9 with them. On 19 December 2017 at 17:14, Joe Perches wrote: > On Tue, 2017-12-19 at 17:12 +0100, Peter Zijlstra wrote: >> On Tue, Dec 19, 2017 at 08:09:53AM -0800, Joe Perches wrote: >> > >> > I suspect you need to define this as: >> > >> > #defin

Re: linux-next: manual merge of the usb tree with the usb.current tree

2017-12-20 Thread Greg KH
On Wed, Dec 20, 2017 at 01:09:49PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the usb tree got a conflict in: > > drivers/usb/usbip/vhci_rx.c > > between commit: > > 8272d099d05f ("usbip: vhci: stop printing kernel pointer addresses in > messages") > > from

Re: [PATCH] tools/gpio: Don't use u_int32_t

2017-12-20 Thread Linus Walleij
On Thu, Dec 14, 2017 at 9:26 PM, Jonathan Neuschäfer wrote: > u_int32_t is a non-standard version of uint32_t, that was apparently > introduced by BSD. Use uint32_t from stdint.h instead. > > Signed-off-by: Jonathan Neuschäfer Patch applied. Yours, Linus Walleij

[PATCH] RISC-V: Support built-in dtb

2017-12-20 Thread Zong Li
Build the dtb into the kernel image. If the DTB is given via bootloader, the external DTB is adopted first. Signed-off-by: Zong Li --- arch/riscv/Kconfig | 4 arch/riscv/Makefile | 9 + arch/riscv/boot/Makefile | 17 + arch/riscv/boot/dts/Mak

Re: linux-next: Signed-off-by missing for commits in the char-misc tree

2017-12-20 Thread Greg KH
On Wed, Dec 20, 2017 at 07:12:16AM +1100, Stephen Rothwell wrote: > Hi all, > > Commits > > 46a2bb5a7f7e ("slimbus: core: Add slim controllers support") > afbdcc7c384b ("slimbus: Add messaging APIs to slimbus framework") > > are missing a Signed-off-by from their author. I am guessing that

Re: [PATCH] checkpatch: add *_ON_STACK to $declaration_macros

2017-12-20 Thread Joe Perches
On Tue, 2017-06-27 at 10:55 +0300, Gilad Ben-Yossef wrote: > Add the crypto API *_ON_STACK to $declaration_macros. > > Resolves the following false warning: > > WARNING: Missing a blank line after declarations > + int err; > + SHASH_DESC_ON_STACK(desc, ctx_

Re: [PATCH 4/4] gpio: sysfs: avoid using kstrtol() in 'value' attribute write

2017-12-20 Thread Linus Walleij
On Mon, Dec 18, 2017 at 11:08 AM, Christophe Leroy wrote: > A 'perf record' on an app continuously writing in the 'value' > attribute show that most of the time is spent in kstrtol() > > --17.99%--value_store > | > |--10.17%--kstrtoint > | | > |

RE: BUG: bad usercopy in memdup_user

2017-12-20 Thread David Laight
From: Al Viro > Sent: 19 December 2017 21:49 > > I suspect that an "offset and size within the kernel object" value > > might make sense. But what does the _pointer_ tell you? > > Well, for example seeing a 0xfff4 where a pointer to object > must have been is a pretty strong hint to s

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Daniel Vetter
On Tue, Dec 19, 2017 at 07:40:12PM +0100, Max Staudt wrote: > On 12/19/2017 06:26 PM, Daniel Vetter wrote: > > On Tue, Dec 19, 2017 at 6:04 PM, Max Staudt wrote: > >> Well, those could enable fbcon if they want the bootsplash. Shouldn't make > >> a difference anyway if they're powerful enough to

Re: [PATCH] KVM:Hyper-V reduce one kvm_write_guest operation

2017-12-20 Thread Paolo Bonzini
On 20/12/2017 10:33, Rhett Rhett wrote: > tsc_sequence  had been set to 0 before,  so the tsc page won't function. > guest has no chance to read tsc page before the last write. > kvm_write_guest is not atomic. The guest can see a non-zero sequence before the other fields have been set. Paolo

Re: [RFC PATCH v2 03/13] bootsplash: Flush framebuffer after drawing

2017-12-20 Thread Daniel Vetter
On Tue, Dec 19, 2017 at 05:23:52PM +0100, Max Staudt wrote: > On 12/19/2017 05:02 PM, Daniel Vetter wrote: > > On Tue, Dec 19, 2017 at 4:41 PM, Max Staudt wrote: > >> On 12/19/2017 02:57 PM, Daniel Vetter wrote: > >>> The problem is that defio is totally not how a real driver works. > >> > >> But

[PATCH net 2/2] net: mediatek: remove superfluous pin setup for MT7622 SoC

2017-12-20 Thread sean.wang
From: Sean Wang Remove superfluous pin setup to get out of accessing invalid I/O pin registers because the way for pin configuring tends to be different from various SoCs and thus it should be better being managed and controlled by the pinctrl driver which MT7622 already can support. Signed-off-

[PATCH net 1/2] dt-bindings: net: mediatek: add condition to property mediatek,pctl

2017-12-20 Thread sean.wang
From: Sean Wang The property "mediatek,pctl" is only required for SoCs such as MT2701 and MT7623, so adding a few words for stating the condition. Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/net/mediatek-net.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

Re: [-next PATCH 0/4] sysfs and DEVICE_ATTR_

2017-12-20 Thread Felipe Balbi
Hi, Joe Perches writes: > drivers/usb/phy/phy-tahvo.c| 2 +- Acked-by: Felipe Balbi -- balbi

Re: [PATCH] irqchip/gic-v3-its: Flush GICR caching for a cross node collection move of an irq

2017-12-20 Thread Marc Zyngier
On 20/12/17 09:34, Ganapatrao Kulkarni wrote: > Hi Marc, > > On Wed, Dec 20, 2017 at 2:56 PM, Marc Zyngier wrote: >> On 20/12/17 09:15, Ganapatrao Kulkarni wrote: >>> When an interrupt is moved, it is possible that an implementation that >>> supports caching might still have cached data for a pre

Re: KASAN: use-after-free Read in crypto_aead_free_instance

2017-12-20 Thread Dmitry Vyukov
On Wed, Dec 20, 2017 at 10:29 AM, Stephan Mueller wrote: > Am Mittwoch, 20. Dezember 2017, 10:19:43 CET schrieb Dmitry Vyukov: > > Hi Dmitry, >> > >> > This issue vanishes after applying the patch "[PATCH v2] crypto: AF_ALG - >> > limit mask and type". >> >> Hi Stephan, >> >> syzbot does not under

[PATCH 0/2] pinctrl/nomadik/abx500: Adjustments for abx500_gpio_probe()

2017-12-20 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 20 Dec 2017 10:45:01 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation Improve a size determination drivers/pinctrl/nomadik/pinctrl-abx500.c | 8 +

[PATCH 1/2] pinctrl/nomadik/abx500: Delete an error message for a failed memory allocation in abx500_gpio_probe()

2017-12-20 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 20 Dec 2017 10:12:56 +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/pinctrl/nomadik/pinctrl-abx500.c | 5 + 1 file changed, 1

[PATCH 2/2] pinctrl/nomadik/abx500: Improve a size determination in abx500_gpio_probe()

2017-12-20 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 20 Dec 2017 10:22:53 +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 det

Re: [RFC PATCH 0/5] mm, hugetlb: allocation API and migration improvements

2017-12-20 Thread Michal Hocko
On Wed 20-12-17 05:33:36, Naoya Horiguchi wrote: > > On 12/15/2017 06:33 PM, Michal Hocko wrote: > > Naoya, > > this has passed Mike's review (thanks for that!), you have mentioned > > that you can pass this through your testing machinery earlier. While > > I've done some testing already I would r

Re: KASAN: use-after-free Read in crypto_aead_free_instance

2017-12-20 Thread syzbot
Am Mittwoch, 20. Dezember 2017, 10:50:10 CET schrieb Dmitry Vyukov: Hi Dmitry, On Wed, Dec 20, 2017 at 10:29 AM, Stephan Mueller wrote: > Am Mittwoch, 20. Dezember 2017, 10:19:43 CET schrieb Dmitry Vyukov: > > Hi Dmitry, > >> > This issue vanishes after applying the patch "[PATCH v2] cryp

Re: [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2017-12-20 Thread Joe Perches
On Wed, 2017-12-20 at 10:32 +0100, Greg Kroah-Hartman wrote: > On Wed, Dec 20, 2017 at 01:24:44AM -0800, Joe Perches wrote: > > On Wed, 2017-12-20 at 10:34 +0200, Jarkko Nikula wrote: > > > On Tue, Dec 19, 2017 at 10:15:07AM -0800, Joe Perches wrote: > > > > Convert DEVICE_ATTR uses to DEVICE_ATTR_

Re: linux-next: Signed-off-by missing for commits in the char-misc tree

2017-12-20 Thread Mark Brown
On Wed, Dec 20, 2017 at 10:41:02AM +0100, Greg KH wrote: > I am guessing that Linaro doesn't know about the codeveloped-by new tag > here :( So new there are zero uses of it that I can see in -next! signature.asc Description: PGP signature

Re: [PATCH v4 33/36] net: faraday add nds32 support.

2017-12-20 Thread kbuild test robot
Hi Greentime, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/timers/core] [cannot apply to linus/master v4.15-rc4 next-20171220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: KASAN: use-after-free Read in crypto_aead_free_instance

2017-12-20 Thread syzbot
Am Mittwoch, 20. Dezember 2017, 10:50:10 CET schrieb Dmitry Vyukov: Hi Dmitry, On Wed, Dec 20, 2017 at 10:29 AM, Stephan Mueller wrote: > Am Mittwoch, 20. Dezember 2017, 10:19:43 CET schrieb Dmitry Vyukov: > > Hi Dmitry, > >> > This issue vanishes after applying the patch "[PATCH v2] cryp

Re: [PATCH v9 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread Joe Perches
On Wed, 2017-12-20 at 10:33 +0100, Crt Mori wrote: > There is no option to perform 64bit integer sqrt on 32bit platform. > Added stronger typed int_sqrt64 enables the 64bit calculations to > be performed on 32bit platforms. Although int_sqrt() is a rough > approximation, the same algorithm is used

Re: KASAN: use-after-free Read in crypto_aead_free_instance

2017-12-20 Thread Stephan Mueller
Am Mittwoch, 20. Dezember 2017, 10:50:10 CET schrieb Dmitry Vyukov: Hi Dmitry, > On Wed, Dec 20, 2017 at 10:29 AM, Stephan Mueller wrote: > > Am Mittwoch, 20. Dezember 2017, 10:19:43 CET schrieb Dmitry Vyukov: > > > > Hi Dmitry, > > > >> > This issue vanishes after applying the patch "[PATCH

Re: [PATCH v4 33/36] net: faraday add nds32 support.

2017-12-20 Thread Geert Uytterhoeven
On Wed, Dec 20, 2017 at 10:54 AM, kbuild test robot wrote: > I love your patch! Perhaps something to improve: > > [auto build test WARNING on tip/timers/core] > [cannot apply to linus/master v4.15-rc4 next-20171220] > [if your patch is applied to the wrong git tree, please dr

Linux 3.18.89

2017-12-20 Thread Greg KH
I'm announcing the release of the 3.18.89 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Re: [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2017-12-20 Thread Greg Kroah-Hartman
On Wed, Dec 20, 2017 at 01:54:41AM -0800, Joe Perches wrote: > On Wed, 2017-12-20 at 10:32 +0100, Greg Kroah-Hartman wrote: > > On Wed, Dec 20, 2017 at 01:24:44AM -0800, Joe Perches wrote: > > > On Wed, 2017-12-20 at 10:34 +0200, Jarkko Nikula wrote: > > > > On Tue, Dec 19, 2017 at 10:15:07AM -0800

Re: [PATCH] ARM: dts: at91: sama5d2_ptc_ek: use TCB0 as timers

2017-12-20 Thread Alexandre Belloni
On 20/12/2017 at 10:04:40 +0100, Nicolas Ferre wrote: > Use tcb0 for timers as selected in sama5_defconfig. > > Signed-off-by: Nicolas Ferre > --- > Hi Alex, > > Adding the newly added sama5d2_ptc_ek to the series. > Not tested though. > > Regards, > Nicolas > > arch/arm/boot/dts/at91-sama5

Re: Linux 4.4.107

2017-12-20 Thread Greg KH
diff --git a/Makefile b/Makefile index 8225da6b520f..f7997b15d055 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 106 +SUBLEVEL = 107 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index af76634f8d9

Re: BUG: unable to handle kernel NULL pointer dereference in __list_del_entry_valid

2017-12-20 Thread Michal Hocko
On Wed 20-12-17 10:24:51, Dmitry Vyukov wrote: > On Wed, Dec 20, 2017 at 10:20 AM, Michal Hocko wrote: > > On Tue 19-12-17 17:40:19, Dmitry Vyukov wrote: > >> On Tue, Dec 19, 2017 at 2:42 PM, Michal Hocko wrote: > >> >> >> > Can we silence this duplicates [1] please? > >> >> >> > > >> >> >> > [1]

Linux 4.14.8

2017-12-20 Thread Greg KH
I'm announcing the release of the 4.14.8 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.71

2017-12-20 Thread Greg KH
I'm announcing the release of the 4.9.71 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: [RFC PATCH 01/60] hyper_dmabuf: initial working version of hyper_dmabuf drv

2017-12-20 Thread Daniel Vetter
On Tue, Dec 19, 2017 at 03:27:31PM -0800, Dongwon Kim wrote: > I forgot to include this brief information about this patch series. > > This patch series contains the implementation of a new device driver, > hyper_dmabuf, which provides a method for DMA-BUF sharing across > different OSes running o

Linux 4.4.107

2017-12-20 Thread Greg KH
I'm announcing the release of the 4.4.107 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v4 1/2] dm-unstripe: unstripe RAID 0/dm-striped device

2017-12-20 Thread kbuild test robot
Hi Scott, I love your patch! Yet something to improve: [auto build test ERROR on dm/for-next] [also build test ERROR on v4.15-rc4] [cannot apply to next-20171220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: linux-next: Signed-off-by missing for commits in the char-misc tree

2017-12-20 Thread Greg KH
On Wed, Dec 20, 2017 at 09:55:11AM +, Mark Brown wrote: > On Wed, Dec 20, 2017 at 10:41:02AM +0100, Greg KH wrote: > > > I am guessing that Linaro doesn't know about the codeveloped-by new tag > > here :( > > So new there are zero uses of it that I can see in -next! But one on lkml that shou

Re: [PATCH v5 3/6] perf: implement pmu perf_kprobe

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 06, 2017 at 02:45:15PM -0800, Song Liu wrote: > @@ -8537,7 +8620,7 @@ static int perf_event_set_filter(struct perf_event > *event, void __user *arg) > char *filter_str; > int ret = -EINVAL; > > - if ((event->attr.type != PERF_TYPE_TRACEPOINT || > + if ((!perf_even

Re: Linux 3.18.89

2017-12-20 Thread Greg KH
diff --git a/Makefile b/Makefile index 5077b054e410..f959c14c92bf 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 88 +SUBLEVEL = 89 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index af76634f8d98..9

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Neil Armstrong
On 20/12/2017 10:43, Daniel Vetter wrote: > On Tue, Dec 19, 2017 at 07:40:12PM +0100, Max Staudt wrote: >> On 12/19/2017 06:26 PM, Daniel Vetter wrote: >>> On Tue, Dec 19, 2017 at 6:04 PM, Max Staudt wrote: Well, those could enable fbcon if they want the bootsplash. Shouldn't make a dif

Re: [PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation

2017-12-20 Thread Michal Hocko
On Wed 20-12-17 14:07:35, kemi wrote: > > > On 2017年12月19日 20:43, Michal Hocko wrote: > > On Tue 19-12-17 14:39:25, Kemi Wang wrote: > >> To avoid deviation, this patch uses node_page_state_snapshot instead of > >> node_page_state for node page stats query. > >> e.g. cat /proc/zoneinfo > >>

[PATCH v5 0/2] Input: Add Cypress Gen5 Touchscreen driver

2017-12-20 Thread Mylène Josserand
Hello, Here is a V5 series to add the driver of the touchscreen Cypress, TrueTouch Generation 5. Based on last master branch of "input" kernel's tree. This patch series has already been posted in several iterations: - v1: Sent on 2017/05/29 - v2: Sent on 2017/08/18 - v3: Sent on 2017/

[PATCH v5 2/2] dt-bindings: input: Add documentation for cyttsp5

2017-12-20 Thread Mylène Josserand
Add the Cypress TrueTouch Generation 5 touchscreen device tree bindings documentation. It can use I2C or SPI bus. This touchscreen can handle some defined zone that are designed and sent as button. To be able to customize the keycode sent, the "linux,keycodes" property can be used. Acked-by: Rob H

Re: [PATCH v10 1/5] add infrastructure for tagging functions as error injectable

2017-12-20 Thread Daniel Borkmann
On 12/20/2017 08:13 AM, Masami Hiramatsu wrote: > On Tue, 19 Dec 2017 18:14:17 -0800 > Alexei Starovoitov wrote: [...] >> Please make your suggestion as patches based on top of bpf-next. > > bpf-next seems already pick this series. Would you mean I revert it and > write new patch? No, please sub

[PATCH v5 1/2] Input: Add driver for Cypress Generation 5 touchscreen

2017-12-20 Thread Mylène Josserand
This is the basic driver for the Cypress TrueTouch Gen5 touchscreen controllers. This driver supports only the I2C bus but it uses regmap so SPI support could be added later. The touchscreen can retrieve some defined zone that are handled as buttons (according to the hardware). That is why it handl

Re: [PATCH v4 01/36] asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU

2017-12-20 Thread kbuild test robot
Hi Greentime, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/timers/core] [also build test ERROR on v4.15-rc4 next-20171220] [cannot apply to linus/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url

Re: [PATCH v4 01/36] asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU

2017-12-20 Thread kbuild test robot
Hi Greentime, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/timers/core] [also build test ERROR on v4.15-rc4 next-20171220] [cannot apply to linus/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-20 Thread Michal Hocko
On Wed 20-12-17 13:52:14, kemi wrote: > > > On 2017年12月19日 20:40, Michal Hocko wrote: > > On Tue 19-12-17 14:39:24, Kemi Wang wrote: > >> We have seen significant overhead in cache bouncing caused by NUMA counters > >> update in multi-threaded page allocation. See 'commit 1d90ca897cb0 ("mm: > >>

Re: [intel-sgx-kernel-dev] [PATCH v5 06/11] intel_sgx: driver for Intel Software Guard Extensions

2017-12-20 Thread Jarkko Sakkinen
On Tue, Dec 19, 2017 at 11:24:55PM +, Christopherson, Sean J wrote: > Exposing the token generated by the in-kernel LE doesn't affect the > kernel's power in the slightest, e.g. the kernel doesn't need a LE > to refuse to run an enclave and a privileged user can always load > an out-of-tree dri

Re: Maintainer docs for patch merging

2017-12-20 Thread Tobin C. Harding
On Wed, Dec 20, 2017 at 08:56:03AM +0100, Greg Kroah-Hartman wrote: > On Wed, Dec 20, 2017 at 11:25:41AM +1100, Tobin C. Harding wrote: > > Hi, > > > > Recently we started a maintainer book (merged into Jonathan's docs-next > > branch). > > > > Would any current maintainers please be willing to e

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Daniel Vetter
On Wed, Dec 20, 2017 at 11:06:34AM +0100, Neil Armstrong wrote: > On 20/12/2017 10:43, Daniel Vetter wrote: > > On Tue, Dec 19, 2017 at 07:40:12PM +0100, Max Staudt wrote: > >> On 12/19/2017 06:26 PM, Daniel Vetter wrote: > >>> On Tue, Dec 19, 2017 at 6:04 PM, Max Staudt wrote: > Well, those

Re: [PATCH v6 0/2] KVM: MMU: fix kvm_is_mmio_pfn()

2017-12-20 Thread Paolo Bonzini
On 20/12/2017 08:29, Haozhong Zhang wrote: > Some reserved pages, such as those from NVDIMM DAX devices, are not > for MMIO, and can be mapped with cached memory type for better > performance. However, the above check misconceives those pages as > MMIO. Because KVM maps MMIO pages with UC memory t

Re: [PATCH v5 3/6] perf: implement pmu perf_kprobe

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 20, 2017 at 11:03:01AM +0100, Peter Zijlstra wrote: > On Wed, Dec 06, 2017 at 02:45:15PM -0800, Song Liu wrote: > > @@ -8537,7 +8620,7 @@ static int perf_event_set_filter(struct perf_event > > *event, void __user *arg) > > char *filter_str; > > int ret = -EINVAL; > > > > -

Re: linux-next: manual merge of the staging tree with the char-misc-next tree

2017-12-20 Thread Stephen Rothwell
Hi Greg, On Wed, 20 Dec 2017 09:55:57 +0100 Greg KH wrote: > > Looks good! Sorry for the conflict, I knew it was going to happen :( I don't mind the trivial ones like this ... -- Cheers, Stephen Rothwell

Re: KASAN: use-after-free Read in crypto_aead_free_instance

2017-12-20 Thread Dmitry Vyukov
On Wed, Dec 20, 2017 at 10:55 AM, Stephan Mueller wrote: > Am Mittwoch, 20. Dezember 2017, 10:50:10 CET schrieb Dmitry Vyukov: > > Hi Dmitry, > >> On Wed, Dec 20, 2017 at 10:29 AM, Stephan Mueller > wrote: >> > Am Mittwoch, 20. Dezember 2017, 10:19:43 CET schrieb Dmitry Vyukov: >> > >> > Hi Dmitr

[GIT PULL] ARM: at91: Fixes for 4.15

2017-12-20 Thread Alexandre Belloni
Arnd, Olof, A single fix for 4.15. The driver part of it will land in 4.15 through the hwmon tree. 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/li

[PATCH] fs: buffer: Remove unnecessary initialisation for bh->b_state.

2017-12-20 Thread Sean Fu
The memory is allocated by kmem_cache_zalloc and initialized with zero. The bh->b_state initialisation is unnecessary in nobh_write_begin. Signed-off-by: Sean Fu --- fs/buffer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/buffer.c b/fs/buffer.c index 0736a6a..e9a1861 100644 --- a/fs/bu

Re: [PATCH 00/13] replace print_symbol() with printk()-s

2017-12-20 Thread Sergey Senozhatsky
On (12/11/17 21:50), Sergey Senozhatsky wrote: > > A rather automatic replacement of print_symbol() > with direct printk() calls. print_symbol() uses extra stack > buffer (KSYM_SYMBOL_LEN 128 bytes) and, basically, should > be identical to printk(%pS). > > I can't test all of the patc

[PATCH 1/2] mm/memcg: try harder to decrease [memory,memsw].limit_in_bytes

2017-12-20 Thread Andrey Ryabinin
mem_cgroup_resize_[memsw]_limit() tries to free only 32 (SWAP_CLUSTER_MAX) pages on each iteration. This makes practically impossible to decrease limit of memory cgroup. Tasks could easily allocate back 32 pages, so we can't reduce memory usage, and once retry_count reaches zero we return -EBUSY.

Re: [PATCH v2 0/2] eeprom: at24: write-protect pin support

2017-12-20 Thread Andy Shevchenko
On Wed, Dec 20, 2017 at 10:26 AM, Bartosz Golaszewski wrote: > AT24 EEPROMs have a write-protect pin, which - when pulled high - > inhibits writes to the upper quadrant of memory (although it has been > observed that on some chips it disables writing to the entire memory > range). > > On some boar

[PATCH 2/2] mm/memcg: Consolidate mem_cgroup_resize_[memsw]_limit() functions.

2017-12-20 Thread Andrey Ryabinin
mem_cgroup_resize_limit() and mem_cgroup_resize_memsw_limit() are almost identical functions. Instead of having two of them, we could pass an additional argument to mem_cgroup_resize_limit() and by using it, consolidate all the code in a single function. Signed-off-by: Andrey Ryabinin --- mm/mem

Re: [PATCH v4 1/2] dm-unstripe: unstripe RAID 0/dm-striped device

2017-12-20 Thread kbuild test robot
Hi Scott, I love your patch! Yet something to improve: [auto build test ERROR on dm/for-next] [also build test ERROR on v4.15-rc4] [cannot apply to next-20171220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-20 Thread kemi
On 2017年12月20日 18:12, Michal Hocko wrote: > On Wed 20-12-17 13:52:14, kemi wrote: >> >> >> On 2017年12月19日 20:40, Michal Hocko wrote: >>> On Tue 19-12-17 14:39:24, Kemi Wang wrote: We have seen significant overhead in cache bouncing caused by NUMA counters update in multi-threaded page a

Re: [PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation

2017-12-20 Thread kemi
On 2017年12月20日 18:06, Michal Hocko wrote: > On Wed 20-12-17 14:07:35, kemi wrote: >> >> >> On 2017年12月19日 20:43, Michal Hocko wrote: >>> On Tue 19-12-17 14:39:25, Kemi Wang wrote: To avoid deviation, this patch uses node_page_state_snapshot instead of node_page_state for node page stats

Re: [PATCH v4] staging: fsl-mc: move bus driver out of staging

2017-12-20 Thread Laurentiu Tudor
On 12/19/2017 06:10 PM, Greg KH wrote: > On Tue, Dec 19, 2017 at 03:39:44PM +, Laurentiu Tudor wrote: >> On 12/19/2017 05:29 PM, Greg KH wrote: >>> On Tue, Dec 19, 2017 at 03:21:19PM +, Laurentiu Tudor wrote: On 12/19/2017 04:48 PM, Greg KH wrote: > On Wed, Nov 29, 2017

Re: [PATCH V1 0/1] Fix kernel panic caused by device ID duplication presented to the IOMMU

2017-12-20 Thread Tomasz Nowicki
Hi Robin, On 19.12.2017 17:34, Robin Murphy wrote: Hi Tomasz, On 19/12/17 15:13, Tomasz Nowicki wrote: Here is my lspci output of ThunderX2 for which I am observing kernel panic coming from SMMUv3 driver -> arm_smmu_write_strtab_ent() -> BUG_ON(ste_live): # lspci -vt -[:00]-+-00.0-[01-1f

Re: [PATCH V1 1/1] iommu: Make sure device's ID array elements are unique

2017-12-20 Thread Tomasz Nowicki
On 19.12.2017 17:37, Alex Williamson wrote: On Tue, 19 Dec 2017 16:20:21 +0100 Tomasz Nowicki wrote: While iterating over DMA aliases for a PCI device, for some rare cases (i.e. PCIe-to-PCI/X bridges) we may get exactly the same ID as initial child device. In turn, the same ID may get register

Re: [PATCH] pci: dwc: pci-dra7xx: Make shutdown handler static

2017-12-20 Thread Lorenzo Pieralisi
On Fri, Dec 01, 2017 at 04:53:14PM +, Lorenzo Pieralisi wrote: > On Fri, Dec 01, 2017 at 10:43:53AM +0530, Keerthy wrote: > > > > > > On Friday 01 December 2017 10:36 AM, Vignesh R wrote: > > > Declare dra7xx_pcie_shutdown() as a static function as its not used > > > elsewhere. > > > > Seems

[PATCH 0/2] platform/x86: silead_dmi: Add entries for 2 Chuwi tablets

2017-12-20 Thread Hans de Goede
Hi Andy, et al, Here are 2 patches to add entries for 2 more Chuwi tablet models to silead_dmi.c. Note that these are for 2 different tablets, even though the entries look similar. I've based this series on top of the review-andy branch for easy merging, the first patch is not mine, but I've pick

[PATCH 1/2] platform/x86: silead_dmi: add entry for Chuwi Hi8 tablet

2017-12-20 Thread Hans de Goede
From: Maruyama Shohei This commit add entry for Chuwi Hi8 tablet. Signed-off-by: Shohei Maruyama Signed-off-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform

Re: [PATCH v20 0/7] Virtio-balloon Enhancement

2017-12-20 Thread Wei Wang
On 12/19/2017 10:05 PM, Tetsuo Handa wrote: Wei Wang wrote: ChangeLog: v19->v20: 1) patch 1: xbitmap - add __rcu to "void **slot"; - remove the exceptional path. 2) patch 3: xbitmap - DeveloperNotes: add an item to comment that the current bit range related APIs

[PATCH 2/2] platform/x86: silead_dmi: Add entry for the Chuwi Vi8 tablet

2017-12-20 Thread Hans de Goede
Add touchscreen platform data for the Chuwi Vi8 tablet. Signed-off-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c index 21fdce159877..09b5

Re: [PATCH 1/2] mm/memcg: try harder to decrease [memory,memsw].limit_in_bytes

2017-12-20 Thread Michal Hocko
On Wed 20-12-17 13:24:28, Andrey Ryabinin wrote: > mem_cgroup_resize_[memsw]_limit() tries to free only 32 (SWAP_CLUSTER_MAX) > pages on each iteration. This makes practically impossible to decrease > limit of memory cgroup. Tasks could easily allocate back 32 pages, > so we can't reduce memory usa

Re: [PATCH v4 33/36] net: faraday add nds32 support.

2017-12-20 Thread Greentime Hu
2017-12-20 17:58 GMT+08:00 Geert Uytterhoeven : > On Wed, Dec 20, 2017 at 10:54 AM, kbuild test robot wrote: >> I love your patch! Perhaps something to improve: >> >> [auto build test WARNING on tip/timers/core] >> [cannot apply to linus/master v4.15-rc4 next-201

RE: Linux Kernel handling AXI DECERR/SLVERR

2017-12-20 Thread Bharat Kumar Gogada
On Tue, Dec 19, 2017 at 11:28:49AM +, Bharat Kumar Gogada wrote: > In our case the peripheral returns SLVERR first time and we see the following > print but kernel do not hang. > [ 231.484186] Unhandled fault: synchronous external abort > (0x92000210) at 0x007f9241f880 Bus error > > And

Re: BUG: unable to handle kernel NULL pointer dereference in proc_flush_task

2017-12-20 Thread Alexey Dobriyan
pid_ns->proc_mnt is NULL which is rather interesting On 12/20/17, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 6084b576dca2e898f5c101baef151f7bfdbb606d > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config i

Re: [PATCH v4] staging: fsl-mc: move bus driver out of staging

2017-12-20 Thread Greg KH
On Wed, Dec 20, 2017 at 10:26:49AM +, Laurentiu Tudor wrote: > On 12/19/2017 06:10 PM, Greg KH wrote: > >>> But all of these .h files are only used by the code in this specific > >>> directory, no where else. > >> > >> They are also used by our ethernet driver, see: > >> drivers/staging/fsl

Re: [PATCH v4] staging: fsl-mc: move bus driver out of staging

2017-12-20 Thread Laurentiu Tudor
On 12/20/2017 12:42 PM, Greg KH wrote: > On Wed, Dec 20, 2017 at 10:26:49AM +, Laurentiu Tudor wrote: >> On 12/19/2017 06:10 PM, Greg KH wrote: > But all of these .h files are only used by the code in this specific > directory, no where else. They are also used by our ethern

Re: BUG: workqueue lockup (2)

2017-12-20 Thread Tetsuo Handa
Dmitry Vyukov wrote: > On Tue, Dec 19, 2017 at 3:27 PM, Tetsuo Handa > wrote: > > syzbot wrote: > >> > >> syzkaller has found reproducer for the following crash on > >> f3b5ad89de16f5d42e8ad36fbdf85f705c1ae051 > > > > "BUG: workqueue lockup" is not a crash. > > Hi Tetsuo, > > What is the proper

Re: [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2017-12-20 Thread Joe Perches
On Wed, 2017-12-20 at 10:59 +0100, Greg Kroah-Hartman wrote: > > > Why you didn't send that patch to the sysfs maintainer is a bit odd... :) > > > > So here's an opportunity for you: > > > > The sysfs maintainer hasn't added include/linux/sysfs.h to > > the list of maintained files... > > > > D

Re: [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2017-12-20 Thread Jarkko Nikula
On Wed, Dec 20, 2017 at 10:32:11AM +0100, Greg Kroah-Hartman wrote: > On Wed, Dec 20, 2017 at 01:24:44AM -0800, Joe Perches wrote: > > On Wed, 2017-12-20 at 10:34 +0200, Jarkko Nikula wrote: > > > On Tue, Dec 19, 2017 at 10:15:07AM -0800, Joe Perches wrote: > > > > Convert DEVICE_ATTR uses to DEVIC

[PATCH 1/2] Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"

2017-12-20 Thread Kai-Heng Feng
This reverts commit fd865802c66bc451dc515ed89360f84376ce1a56. This commit causes a regression on some QCA ROME chips. The USB device reset happens in btusb_open(), hence firmware loading gets interrupted. Furthermore, this commit stops working after commit ("a0085f2510e8976614ad8f766b209448b38549

[PATCH 2/2] usb: quirks: Add reset-resume quirk for Dell DW1820 QCA Rome Bluetooth

2017-12-20 Thread Kai-Heng Feng
Commit ("fd865802c66bc451dc515ed89360f84376ce1a56 Bluetooth: btusb: fix QCA Rome suspend/resume") enables reset_resume in btusb_probe(). This makes the device resets during btusb_open(), firmware loading gets interrupted as a result. We still want to reset the device to solve the original issue, b

Re: UBSAN: Undefined behaviour in drivers/net/wireless/intel/iwlwifi/mvm/utils.c:838:5

2017-12-20 Thread Paul Menzel
Dear Luca, Am 18.12.2017 um 19:30 schrieb Luca Coelho: On Wed, 2017-12-13 at 16:32 +0200, Luciano Coelho wrote: On Wed, 2017-12-13 at 14:25 +0100, Paul Menzel wrote: I enabled the undefined behavior sanitizer, and built Linus’ master branch under Ubuntu 17.10 with gcc (Ubuntu 7.2.0-8ubuntu3

Re: [PATCH v10 1/5] add infrastructure for tagging functions as error injectable

2017-12-20 Thread Masami Hiramatsu
On Fri, 15 Dec 2017 14:12:52 -0500 Josef Bacik wrote: > From: Josef Bacik > > Using BPF we can override kprob'ed functions and return arbitrary > values. Obviously this can be a bit unsafe, so make this feature opt-in > for functions. Simply tag a function with KPROBE_ERROR_INJECT_SYMBOL in >

Re: [PATCH v4 33/36] net: faraday add nds32 support.

2017-12-20 Thread kbuild test robot
Hi Greentime, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/timers/core] [cannot apply to linus/master v4.15-rc4 next-20171220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH v4] staging: fsl-mc: move bus driver out of staging

2017-12-20 Thread Greg KH
On Wed, Dec 20, 2017 at 10:52:52AM +, Laurentiu Tudor wrote: > > > On 12/20/2017 12:42 PM, Greg KH wrote: > > On Wed, Dec 20, 2017 at 10:26:49AM +, Laurentiu Tudor wrote: > >> On 12/19/2017 06:10 PM, Greg KH wrote: > > But all of these .h files are only used by the code in this specif

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Johannes Thumshirn
On Tue, Dec 19, 2017 at 05:16:30PM +0100, Daniel Vetter wrote: > Ok I've realized that my assumptions about why you need this aren't > holding up. > > So from reading these patches it sounded like you want an in-kernel boot > splash because that would be on the display faster than a userspace one

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