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: 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: [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-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

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: [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.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:

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:

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]

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: [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

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 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

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 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 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: [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

[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

[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 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 +

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

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: [-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

[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

[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-

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

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: 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: [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: [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: 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

[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: [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

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] 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 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 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

[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 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 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: [-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/

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: 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 0/9] media: base request API support

2017-12-20 Thread Alexandre Courbot
On Sat, Dec 16, 2017 at 6:04 AM, Nicolas Dufresne wrote: > Le vendredi 15 décembre 2017 à 16:56 +0900, Alexandre Courbot a écrit : >> Here is a new attempt at the request API, following the UAPI we agreed on in >> Prague. Hopefully this can be used as the basis to move forward. >> >> This series o

[PATCH] livepatch: add locking to force and signal functions

2017-12-20 Thread Miroslav Benes
klp_send_signals() and klp_force_transition() do not acquire klp_mutex, because it seemed to be superfluous. A potential race in klp_send_signals() was harmless and there was nothing in klp_force_transition() which needed to be synchronized. That changed with the addition of klp_forced variable dur

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: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 particular, in a distributed > GIC implementation like multi-socket

Re: [RFC PATCH 0/9] media: base request API support

2017-12-20 Thread Alexandre Courbot
On Sat, Dec 16, 2017 at 6:02 AM, Nicolas Dufresne wrote: > Le vendredi 15 décembre 2017 à 16:56 +0900, Alexandre Courbot a écrit : >> Here is a new attempt at the request API, following the UAPI we agreed on in >> Prague. Hopefully this can be used as the basis to move forward. >> >> This series o

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

2017-12-20 Thread Dmitry Vyukov
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] http://lkml.kernel.org/r/001a1140f57806ebef05608b2...@goog

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

2017-12-20 Thread Joe Perches
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/sound/soc/omap/mcbsp.c [] > > @@ -854,7 +854,7 @@ static ssize_t dma_op

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

2017-12-20 Thread Michal Hocko
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] http://lkml.kernel.org/r/001a1140f57806ebef05608b2...@google.com > >> >> > >> >> Hi Michal, > >> >> > >> >> What exactl

Re: [PATCH V2 9/9] ARM: dts: stm32: add initial support of stm32mp157c eval board

2017-12-20 Thread Alexandre Torgue
Hi Linus On 12/20/2017 08:44 AM, Linus Walleij wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: From: Ludovic Barre Add support of stm32mp157c evaluation board (part number: STM32MP157C-EV1) split in 2 elements: -Daughter board (part number: STM32MP157C-ED1) which includes CPU

Re: shmctl(SHM_STAT) vs. /proc/sysvipc/shm permissions discrepancies

2017-12-20 Thread Michal Hocko
On Tue 19-12-17 17:45:40, Michael Kerrisk wrote: > Hello Michal, > > On 19 December 2017 at 10:48, Michal Hocko wrote: > > Hi, > > we have been contacted by our partner about the following permission > > discrepancy > > > > 1. Create a shared memory segment with permissions 600 with user A using

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

2017-12-20 Thread Dmitry Vyukov
On Wed, Dec 20, 2017 at 10:17 AM, Stephan Müller wrote: > Am Mittwoch, 20. Dezember 2017, 08:48:01 CET schrieb syzbot: > > Hi, > >> Hello, >> >> syzkaller hit the following crash on >> 032b4cc8ff84490c4bc7c4ef8c91e6d83a637538 >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/mast

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 20, 2017 at 02:18:59PM +0530, Viresh Kumar wrote: > On 20-12-17, 09:31, Peter Zijlstra wrote: > What about this case: A CFS task is running currently and an RT task > is enqueued. > > - Is it always the case that the CFS task is preempted immediately and > the CPU is given to RT task

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

2017-12-20 Thread Stephan Müller
Am Mittwoch, 20. Dezember 2017, 08:48:01 CET schrieb syzbot: Hi, > Hello, > > syzkaller hit the following crash on > 032b4cc8ff84490c4bc7c4ef8c91e6d83a637538 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw

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

2017-12-20 Thread Ganapatrao Kulkarni
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 particular, in a distributed GIC implementation like multi-socket SoC platfroms. Hence it is necessary to flush cached e

Re: [PATCH] clk: samsung: s3c: Remove unneeded enumeration

2017-12-20 Thread Chanwoo Choi
Dear Sylwester, Gently Ping. Regards, Chanwoo Choi On 2017년 11월 27일 11:31, Chanwoo Choi wrote: > This patch just removes the unneeded enumeration for PLL index. > > Signed-off-by: Chanwoo Choi > --- > drivers/clk/samsung/clk-s3c2412.c | 11 ++- > drivers/clk/samsung/clk-s3c2443.c | 17

Re: shmctl(SHM_STAT) vs. /proc/sysvipc/shm permissions discrepancies

2017-12-20 Thread Michal Hocko
On Wed 20-12-17 09:44:47, Michael Kerrisk wrote: > Hi Manfred, > > On 20 December 2017 at 09:32, Dr. Manfred Spraul > wrote: > > Hi Michal, > > > > On 12/19/2017 10:48 AM, Michal Hocko wrote: > >> > >> Hi, > >> we have been contacted by our partner about the following permission > >> discrepancy

Re: [patch v6 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2017-12-20 Thread kbuild test robot
Hi Vadim, I love your patch! Yet something to improve: [auto build test ERROR on platform-drivers-x86/for-next] [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

Re: [PATCH] mei: fix incorrect logical operator in if statement

2017-12-20 Thread Colin Ian King
On 20/12/17 08:58, Winkler, Tomas wrote: > >> From: Colin Ian King >> >> The current expression using the || operator is always true because >> dev->dev_state cannot be equal to two different values at the same time. >> Fix this by replacing the || with &&. >> >> Detected by CoverityScan, CID#146

[GIT PULL] sound fixes for 4.15-rc5

2017-12-20 Thread Takashi Iwai
Linus, please pull sound fixes for v4.15-rc5 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.15-rc5 The topmost commit is 5a15f289ee87eaf33f13f08a4909ec99d837ec5f sound fixes for 4.15-rc5 All

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

2017-12-20 Thread Nicolas Ferre
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-sama5d2_ptc_ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/

Re: [PATCH v2 2/4] sched/fair: add util_est on top of PELT

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 20, 2017 at 09:57:47AM +0100, Peter Zijlstra wrote: > On Fri, Dec 15, 2017 at 03:41:40PM +, Patrick Bellasi wrote: > > Close enough, the actual code is: > > > > util_est = p->util_est.ewma; > > 5218: f9403ba3ldr x3, [x29,#112] > > 521c: f9418

Re: [PATCH] bug.h: Work around GCC PR82365 in BUG()

2017-12-20 Thread Arnd Bergmann
On Tue, Dec 19, 2017 at 11:38 PM, Vineet Gupta wrote: > On 12/19/2017 12:13 PM, Arnd Bergmann wrote: >> >> >>> I suppose BUG() implies "dead end" like semantics - which ARC was lacking >>> before ? >> >> Correct. Using __builtin_trap() here avoids the 'control reaches end of >> non-void >> functio

Re: [PATCH 1/3] phy: core: Move runtime PM reference counting to the parent device

2017-12-20 Thread Kishon Vijay Abraham I
Hi Ulf, On Wednesday 20 December 2017 02:05 PM, Ulf Hansson wrote: > On 20 December 2017 at 07:42, Kishon Vijay Abraham I wrote: >> Hi Ulf, >> >> On Wednesday 20 December 2017 02:52 AM, Ulf Hansson wrote: >>> The runtime PM deployment in the phy core is a bit unnecessary complicated >>> and the m

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

2017-12-20 Thread Paolo Bonzini
On 20/12/2017 08:46, rhett wrote: > in function kvm_hv_setup_tsc_page , the old code write the full tsc_ref > struct firstly, and write a > tsc_sequence field later, it can be wirten once. No, it cannot and this comment says exactly why: > -   /* Ensure sequence is zero before writing the res

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

2017-12-20 Thread Jarkko Nikula
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/sound/soc/omap/mcbsp.c > index 7a54e3083203..79d4dc785e5c 100644 > --- a/sound/soc/omap/mcbsp.c > +++ b/sound/soc/omap/mcbsp.c

Re: [PATCH] KVM/Eventfd: Avoid crash when assign and deassign same eventfd in parallel.

2017-12-20 Thread Lan Tianyu
On 2017年12月19日 18:41, Paolo Bonzini wrote: > On 19/12/2017 07:35, Lan Tianyu wrote: >> On 2017年12月18日 16:50, Paolo Bonzini wrote: >>> On 18/12/2017 09:30, David Hildenbrand wrote: The ugly thing in kvm_irqfd_assign() is that we access irqfd without holding a lock. I think that should rath

RE: [PATCH] mei: fix incorrect logical operator in if statement

2017-12-20 Thread Winkler, Tomas
> From: Colin Ian King > > The current expression using the || operator is always true because > dev->dev_state cannot be equal to two different values at the same time. > Fix this by replacing the || with &&. > > Detected by CoverityScan, CID#1463042 ("Constant expression result") > > Fixes:

Re: [PATCH v2 2/4] sched/fair: add util_est on top of PELT

2017-12-20 Thread Peter Zijlstra
On Fri, Dec 15, 2017 at 03:41:40PM +, Patrick Bellasi wrote: > Close enough, the actual code is: > > util_est = p->util_est.ewma; > 5218: f9403ba3ldr x3, [x29,#112] > 521c: f9418462ldr x2, [x3,#776] > if (abs(util_est - util_last) <=

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

2017-12-20 Thread Greg KH
On Wed, Dec 20, 2017 at 01:32:49PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got conflicts in: > > drivers/Kconfig > drivers/Makefile > > between commits: > > bbecb07fa0af ("siox: new driver framework for eckelmann SIOX") > 3648e78ec701 (

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Lukasz Majewski
Hi Arnd, > On Tue, Dec 19, 2017 at 10:36 PM, Lukasz Majewski > wrote: > > Hi Arnd, > > > >> Hi! > >> > >> On Mon Dec 18 12:55:40 2017 Arnd Bergmann wrote: > >> > > GCC 7.2 is working > >> > > >> > Ah wait, this is still for ep93xx, which is always at least > >> > armv4t, right? So it won't

[PATCH 06/11] ARM: davinci: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm/mach-davinci/board-neuros-osd2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[PATCH 10/11] ARM: s3c24xx: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm/mach-s3c24xx/mach-h1940.c| 2 +- arch/arm/mach-s3c24xx/mach-rx1950.c | 2 +- arch/arm/mac

[PATCH 07/11] ARM: ixp4xx: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm/mach-ixp4xx/dsmg600-setup.c | 2 +- arch/arm/mach-ixp4xx/nas100d-setup.c | 2 +- arch/arm/mach-

[PATCH 08/11] ARM: OMAP1: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm/mach-omap1/board-h2.c| 2 +- arch/arm/mach-omap1/board-h3.c| 2 +- arch/arm/mac

[PATCH 11/11] ARM: pxa: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm/mach-pxa/balloon3.c | 4 ++-- arch/arm/mach-pxa/corgi.c | 2 +- arch/arm/mach-pxa/csb701.c

[PATCH 09/11] ARM: orion5x: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm/mach-orion5x/board-d2net.c | 2 +- arch/arm/mach-orion5x/dns323-setup.c | 2 +- arch/a

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Viresh Kumar
On 20-12-17, 09:31, Peter Zijlstra wrote: > On Wed, Dec 20, 2017 at 09:34:46AM +0530, Viresh Kumar wrote: > Please use the normal link format: > > https://lkml.kernel.org/r/$MSGID > > Then I can find them without having to resort to a frigging browser > thing. Sure, and that would be much eas

[PATCH 05/11] sh: mach-rsk: rsk7203: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/sh/boards/mach-rsk/devices-rsk7203.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[PATCH 01/11] MIPS: Alchemy: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/mips/alchemy/board-gpr.c | 2 +- arch/mips/alchemy/board-mtx1.c | 2 +- 2 files changed, 2 inserti

[PATCH 00/11] constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Arvind Yadav (11): [PATCH 01/11] MIPS: Alchemy: constify gpio_led [PATCH 02/11] MIPS: AR7: constify gpio_led [PATCH 03/11] MIPS: TXX

[PATCH 04/11] x86: geode: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/x86/platform/geode/alix.c| 2 +- arch/x86/platform/geode/geos.c| 2 +- arch/x86/platform/ge

[PATCH 02/11] MIPS: AR7: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/mips/ar7/platform.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --gi

[PATCH 03/11] MIPS: TXX9: constify gpio_led

2017-12-20 Thread Arvind Yadav
gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/mips/txx9/rbtx4927/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

Re: shmctl(SHM_STAT) vs. /proc/sysvipc/shm permissions discrepancies

2017-12-20 Thread Michael Kerrisk (man-pages)
Hi Manfred, On 20 December 2017 at 09:32, Dr. Manfred Spraul wrote: > Hi Michal, > > On 12/19/2017 10:48 AM, Michal Hocko wrote: >> >> Hi, >> we have been contacted by our partner about the following permission >> discrepancy >> 1. Create a shared memory segment with permissions 600 with user A u

Re: [PATCH 17/25] hrtimer: Implementation of softirq hrtimer handling

2017-12-20 Thread Anna-Maria Gleixner
On Tue, 19 Dec 2017, Peter Zijlstra wrote: > On Tue, Dec 19, 2017 at 09:58:44AM +0100, Sebastian Andrzej Siewior wrote: > > this is late I know… > > > > On 2017-09-27 18:40:26 [+0200], Peter Zijlstra wrote: > > > - removed superfluous local_bh_disable(), since local_irq_disable() > > >alread

Re: [PATCH 4.13 03/28] Bluetooth: btusb: fix QCA Rome suspend/resume

2017-12-20 Thread Kai Heng Feng
> On 20 Dec 2017, at 7:11 AM, Brian Norris wrote: > > Hi Kai, > > On Tue, Dec 19, 2017 at 12:28:17PM +0800, Kai Heng Feng wrote: >>> On 19 Dec 2017, at 2:13 AM, Brian Norris wrote: >>> On Mon, Dec 18, 2017 at 12:43:48PM +0100, Greg Kroah-Hartman wrote: On Fri, Dec 15, 2017 at 07:05:39PM -

Re: [PATCH v3 14/16] phy: Add notify_speed callback

2017-12-20 Thread Manu Gautam
Hi On 12/20/2017 12:47 PM, Kishon Vijay Abraham I wrote: > Hi, > [snip] >>> Why not use a notification mechanism instead of adding new APIs in phy-core. >>> This will only bloat phy-core with APIs for a particular platform. >> Do you mean notifier_chains ? >> When we have multiple instances of US

r8169 take too long to complete driver initialization

2017-12-20 Thread Chris Chiu
Hi, We've hit a suspend/resume issue on a Acer desktop caused by r8169 driver. The dmseg https://gist.github.com/mschiu77/b741849b5070281daaead8dfee312d1a shows it's still in msleep() within a mutex lock. After looking into the code, it's caused by the rtl8168ep_stop_cmac() which is waiting

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

2017-12-20 Thread Oleksandr Andrushchenko
On 12/20/2017 01:27 AM, Dongwon Kim wrote: 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 on the same virtual OS platform powered by a hypervisor. This is very interesting at least in

<    4   5   6   7   8   9   10   >