Re: [PATCH 4.4 00/78] 4.4.108-stable review

2017-12-23 Thread Greg Kroah-Hartman
On Sat, Dec 23, 2017 at 05:30:42PM -0800, Guenter Roeck wrote: > On 12/22/2017 12:45 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.108 release. > > There are 78 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH v20 4/7] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-12-23 Thread Wei Wang
On 12/24/2017 12:45 PM, Tetsuo Handa wrote: Matthew Wilcox wrote: + unsigned long pfn = page_to_pfn(page); + int ret; + + *pfn_min = min(pfn, *pfn_min); + *pfn_max = max(pfn, *pfn_max); + + do { + if (xb_preload(GFP_NOWAIT | __GFP_NOWARN) < 0) +

Re: [PATCH v20 3/7 RESEND] xbitmap: add more operations

2017-12-23 Thread Wei Wang
On 12/23/2017 10:33 PM, Tetsuo Handa wrote: + bitmap = rcu_dereference_raw(*slot); + if (!bitmap) { + bitmap = this_cpu_xchg(ida_bitmap, NULL); + if (!bitmap) + return -ENOMEM; I can't understand this. I can understand if it were

Re: PROBLEM: consolidated IDT invalidation causes kexec to reboot

2017-12-23 Thread Alexandru Chirvasitu
Thank you for the swift reply! On Sat, Dec 23, 2017 at 07:30:21PM -0800, Linus Torvalds wrote: > On Sat, Dec 23, 2017 at 5:44 PM, Alexandru Chirvasitu > wrote: > > > > For testing purposes, I've altered machine_kexec_32.c making the > > following toy commit. It naively undoes part of e802a51, sol

Re: [PATCH 11/11] evm: Don't update hmacs in user ns mounts

2017-12-23 Thread Mimi Zohar
On Sun, 2017-12-24 at 00:12 -0500, Mimi Zohar wrote: > Hi Serge, > > On Fri, 2017-12-22 at 22:03 -0600, Serge E. Hallyn wrote: > > On Fri, Dec 22, 2017 at 03:32:35PM +0100, Dongsu Park wrote: > > > From: Seth Forshee > > > > > > The kernel should not calculate new hmacs for mounts done by > > >

[PATCH 11/12] staging: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/staging/vboxvideo/vbox_ttm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/vboxvideo/vbox_ttm.c b/drivers/staging/vboxvideo/vb

[PATCH 03/12] drm/bochs: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/bochs/bochs_mm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/bochs/bochs_mm.c b/drivers/gpu/drm/bochs/bochs_mm.c inde

[PATCH 01/12] drm/ttm: Use ttm_bo_default_io_mem_pfn if io_mem_pfn is NULL

2017-12-23 Thread Tan Xiaojun
From: Michal Srb The io_mem_pfn field was added in commit ea642c3216cb2a60d1c0e760ae47ee85c9c16447 and is called unconditionally. However, not all drivers were updated to set it. Use the ttm_bo_default_io_mem_pfn function if a driver did not set its own. Signed-off-by: Michal Srb --- drivers

[PATCH 10/12] drm/vmwgfx: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c b/drivers/gpu/drm/vmwgfx/v

[PATCH 12/12] drm/ttm: unexport ttm_bo_default_io_mem_pfn and make it static

2017-12-23 Thread Tan Xiaojun
No one will use this function except in ttm_bo_vm.c now. So unexport it and make it static. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/ttm/ttm_bo_vm.c | 23 +++ include/drm/ttm/ttm_bo_api.h| 11 --- 2 files changed, 15 insertions(+), 19 deletions(-) diff --gi

[PATCH 08/12] drm/radeon: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/radeon/radeon_ttm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_

[PATCH 06/12] drm/nouveau: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/nouveau/nouveau_bo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouv

[PATCH 07/12] drm/qxl: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/qxl/qxl_ttm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c index ab48238

[PATCH 00/12] drm: add check if io_mem_pfn is NULL and cleanup

2017-12-23 Thread Tan Xiaojun
I found an OOPS when I used the mainline kernel for graphical tests in Hisilicon D05, I do not know how to solve this problem until I saw your discussion on this issue a month ago: https://lists.freedesktop.org/archives/dri-devel/2017-November/159046.html And my problem can be solved perfectly by

[PATCH 05/12] drm/mgag200: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/mgag200/mgag200_ttm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_ttm.c b/drivers/gpu/drm/mgag200/mg

[PATCH 09/12] drm/virtio: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/virtio/virtgpu_ttm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_ttm.c b/drivers/gpu/drm/virtio/virtg

[PATCH 04/12] drm/cirrus: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/cirrus/cirrus_ttm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/cirrus/cirrus_ttm.c b/drivers/gpu/drm/cirrus/cirrus_

[PATCH 02/12] drm/ast: remove the default io_mem_pfn set

2017-12-23 Thread Tan Xiaojun
The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun --- drivers/gpu/drm/ast/ast_ttm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_ttm.c index 696a15d

[PATCH v3] ARM: sun8i: h2+: add support for Banana Pi M2 Zero board

2017-12-23 Thread Icenowy Zheng
Banana Pi M2 Zero board is a H2+-based board by Sinovoip, with a form factor and GPIO holes similar to Raspberry Pi Zero. It features: - Allwinner H2+ SoC - Single-chip (16-bit) 512MiB DDR3 DRAM - Ampak AP6212 Wi-Fi/Bluetooth module - MicroSD slot - Two MicroUSB Type-B ports (one can only be used

Re: [PATCH 11/11] evm: Don't update hmacs in user ns mounts

2017-12-23 Thread Mimi Zohar
Hi Serge, On Fri, 2017-12-22 at 22:03 -0600, Serge E. Hallyn wrote: > On Fri, Dec 22, 2017 at 03:32:35PM +0100, Dongsu Park wrote: > > From: Seth Forshee > > > > The kernel should not calculate new hmacs for mounts done by > > non-root users. Update evm_calc_hmac_or_hash() to refuse to > > calcu

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2017-12-23 Thread Bjorn Andersson
On Fri 22 Dec 20:57 PST 2017, Jassi Brar wrote: > On Tue, Dec 5, 2017 at 9:16 PM, Georgi Djakov > wrote: > > There is a clock controller functionality provided by the APCS hardware > > block of msm8916 devices. The device-tree would represent an APCS node > > with both mailbox and clock provider

Linux 4.15-rc5

2017-12-23 Thread Linus Torvalds
Ok, so it's not Sunday yet, but tomorrow is Christmas Eve, and while I've been in the US for over two decades, we still celebrate Christmas the only _right_ way - with Christmas Eve being the big day, and Christmas Day being just for recovery. So I'm doing the rc5 release a day early, in order to

Re: [PATCH v20 4/7] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-12-23 Thread Tetsuo Handa
Matthew Wilcox wrote: > > + unsigned long pfn = page_to_pfn(page); > > + int ret; > > + > > + *pfn_min = min(pfn, *pfn_min); > > + *pfn_max = max(pfn, *pfn_max); > > + > > + do { > > + if (xb_preload(GFP_NOWAIT | __GFP_NOWARN) < 0) > > + return -ENOMEM; > > + >

[PATCH 1/3] mtd: spi-nor: add optional DMA-safe bounce buffer for data transfer

2017-12-23 Thread Cyrille Pitchen
This patch has two purposes: 1 - To fix the compatible issue between the MTD and SPI sub-systems The MTD sub-system has no particular requirement about the memory areas it uses. Especially, ubifs is well known for using vmalloc'ed buffers, which then are not DMA-safe. There are reasons behind tha

[PATCH 2/3] dt-bindings: mtd: atmel-quadspi: add an optional property 'dmacap,memcpy'

2017-12-23 Thread Cyrille Pitchen
The optional 'dmacap,memcpy' DT property tells the Atmel QSPI controller driver to reserve some DMA channel then to use it to perform DMA memcpy() during data transfers. This feature relies on the generic bounce buffer helper from spi-nor.c. Signed-off-by: Cyrille Pitchen --- Documentation/devic

[PATCH 3/3] mtd: atmel-quadspi: add support of DMA memcpy()

2017-12-23 Thread Cyrille Pitchen
This patch takes advantage of the new bounce buffer helper from the spi-nor framework to add support of memcpy() operations using the DMA controller. Since the number of DMA channels is limited and to avoid changing how those DMA channels are used in existing boards, this new DMA memcpy() feature

[PATCH 0/3] mtd: spi-nor: fix DMA-unsafe buffer issue between MTD and SPI

2017-12-23 Thread Cyrille Pitchen
Hi all, this series tries to solve a long time issue of compatibility between the MTD and SPI sub-systems about whether we should use DMA-safe memory. This issue is visible espcecially when using a UBI file-system on a SPI NOR memory accessed through a SPI controller behind the m25p80 driver. Th

[PATCH] b43: Replace mdelay with msleep in b43_radio_2057_init_post

2017-12-23 Thread Jia-Ju Bai
b43_radio_2057_init_post is not called in an interrupt handler nor holding a spinlock. The function mdelay in it can be replaced with msleep, to reduce busy wait. Signed-off-by: Jia-Ju Bai --- drivers/net/wireless/broadcom/b43/phy_n.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] sky2: Replace mdelay with msleep in sky2_vpd_wait

2017-12-23 Thread Jia-Ju Bai
sky2_vpd_wait is not called in an interrupt handler nor holding a spinlock. The function mdelay in it can be replaced with msleep, to reduce busy wait. Signed-off-by: Jia-Ju Bai --- drivers/net/ethernet/marvell/sky2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

Re: [linus:master] BUILD REGRESSION d1f854ac240ea3928a99294390048e9b2aa6fa0e

2017-12-23 Thread Linus Torvalds
On Sat, Dec 23, 2017 at 4:28 PM, kbuild test robot wrote: > > Regressions in current branch: This looks more like some odd compiler regression than a kernel one. Linus

Re: PROBLEM: consolidated IDT invalidation causes kexec to reboot

2017-12-23 Thread Linus Torvalds
On Sat, Dec 23, 2017 at 5:44 PM, Alexandru Chirvasitu wrote: > > For testing purposes, I've altered machine_kexec_32.c making the > following toy commit. It naively undoes part of e802a51, solely to > confirm that's where it goes awry in my setup. That's really funky. The idt_invalidate() seems

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-23 Thread Dou Liyang
Hi Thomas, At 12/23/2017 09:32 PM, Thomas Gleixner wrote: [...] The BUG_ON panic happens at line 147: BUG_ON(!test_and_clear_bit(bit, cm->alloc_map)); I'm sure Thomas and Dou know it better than me. I'll have a look after the holidays. Merry Christmas! :-) I am tryin

Re: [PATCH] zsmalloc: use U suffix for negative literals being shifted

2017-12-23 Thread Nick Desaulniers
On Sat, Dec 23, 2017 at 10:24 PM, Matthew Wilcox wrote: > On Sat, Dec 23, 2017 at 09:33:40PM -0500, Nick Desaulniers wrote: >> Fixes warnings about shifting unsigned literals being undefined >> behavior. > > Do you mean signed literals? A sorry, s/unsigned/negative signed/g. The warning is: mm

precedence bug in MAKE_PROCESS_CPUCLOCK macro?

2017-12-23 Thread Nick Desaulniers
I'm seeing the following warning compiling with Clang: kernel/time/posix-cpu-timers.c:1397:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return posix_cpu_clock_get(THREAD_CLOCK, tp); ^~~~ kernel/time/pos

Re: [PATCH] zsmalloc: use U suffix for negative literals being shifted

2017-12-23 Thread Matthew Wilcox
On Sat, Dec 23, 2017 at 09:33:40PM -0500, Nick Desaulniers wrote: > Fixes warnings about shifting unsigned literals being undefined > behavior. Do you mean signed literals? >*/ > - link->next = -1 << OBJ_TAG_BITS; > + link->next = -1

Re: [PATCH v20 4/7] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-12-23 Thread Matthew Wilcox
On Tue, Dec 19, 2017 at 08:17:56PM +0800, Wei Wang wrote: > +/* > + * Send balloon pages in sgs to host. The balloon pages are recorded in the > + * page xbitmap. Each bit in the bitmap corresponds to a page of PAGE_SIZE. > + * The page xbitmap is searched for continuous "1" bits, which correspond

[PATCH] pid: Handle failure to allocate the first pid in a pid namespace

2017-12-23 Thread Eric W. Biederman
With the replacement of the pid bitmap and hashtable with an idr in alloc_pid started occassionally failing when allocating the first pid in a pid namespace. Things were not completely reset resulting in the first allocated pid getting the number 2 (not 1). Which further resulted in ns->proc_mnt

Re: [TEST PATCH] pid: fix allocating pid 2 for init (was Re: proc_flush_task oops)

2017-12-23 Thread Eric W. Biederman
Alexey Dobriyan writes: > On Fri, Dec 22, 2017 at 08:41:54AM -0600, Eric W. Biederman wrote: >> Alexey Dobriyan writes: > >> > unshare >> > fork >> > alloc_pid in level 1 succeeds >> > alloc_pid in level 0 fails, ->idr_next is 2 >> > fork >> > alloc pid 2 >> > exit >> > >> > Reliable

[PATCH] x86/xen/time: fix section mismatch for xen_init_time_ops()

2017-12-23 Thread Nick Desaulniers
The header declares this function as __init but is defined in __ref section. Signed-off-by: Nick Desaulniers --- arch/x86/xen/xen-ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 75011b8..3b34745 100644 --- a/arch/x86

[PATCH] zsmalloc: use U suffix for negative literals being shifted

2017-12-23 Thread Nick Desaulniers
Fixes warnings about shifting unsigned literals being undefined behavior. Signed-off-by: Nick Desaulniers --- mm/zsmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 685049a..5d31458 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -

[PATCH] objtool: fix enum-conversion warning

2017-12-23 Thread Nick Desaulniers
When compiling with Clang, the following warning is observed: CC tools/objtool/arch/x86/decode.o arch/x86/decode.c:141:20: error: implicit conversion from enumeration type 'enum op_src_type' to different enumeration type 'enum op_dest_type' [-Werror,-Wenum-conversion] op->dest.type = OP

Re: linux/master crashes on boot with KASAN=y

2017-12-23 Thread Andy Lutomirski
On Sat, Dec 23, 2017 at 4:41 AM, Andrey Ryabinin wrote: > On 12/23/2017 11:01 AM, Jakub Kicinski wrote: >> Hi! >> >> I bisected a crash on boot to this: >> >> commit 21506525fb8ddb0342f2a2370812d47f6a1f3833 (HEAD, refs/bisect/bad) >> Author: Andy Lutomirski >> Date: Mon Dec 4 15:07:16 2017 +010

PROBLEM: consolidated IDT invalidation causes kexec to reboot

2017-12-23 Thread Alexandru Chirvasitu
Short description: loading a crash kernel with (a) kexec -l [..] or (b) kexec -p [..] and then testing it with (a) kexec -e or (b) echo c > /proc/sysrq-trigger results in a regular reboot (going through BIOS, etc.). The commit that starts exhibiting this behaviour for me is e802a51: x86/idt: Cons

Re: [PATCH 4.4 00/78] 4.4.108-stable review

2017-12-23 Thread Guenter Roeck
On 12/22/2017 12:45 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.108 release. There are 78 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [patch 0/4] timer/nohz: Fix timer/nohz woes

2017-12-23 Thread Paul E. McKenney
On Sat, Dec 23, 2017 at 05:21:20PM -0800, Paul E. McKenney wrote: > On Fri, Dec 22, 2017 at 09:09:07AM -0800, Paul E. McKenney wrote: > > On Fri, Dec 22, 2017 at 03:51:11PM +0100, Thomas Gleixner wrote: > > > Paul was observing weird stalls which are hard to reproduce and decode. We > > > were fina

Re: linux/master crashes on boot with KASAN=y

2017-12-23 Thread Jakub Kicinski
On Sat, 23 Dec 2017 15:41:27 +0300, Andrey Ryabinin wrote: > On 12/23/2017 11:01 AM, Jakub Kicinski wrote: > > Hi! > > > > I bisected a crash on boot to this: > > > > commit 21506525fb8ddb0342f2a2370812d47f6a1f3833 (HEAD, refs/bisect/bad) > > Author: Andy Lutomirski > > Date: Mon Dec 4 15:07:1

Re: [patch 0/4] timer/nohz: Fix timer/nohz woes

2017-12-23 Thread Paul E. McKenney
On Fri, Dec 22, 2017 at 09:09:07AM -0800, Paul E. McKenney wrote: > On Fri, Dec 22, 2017 at 03:51:11PM +0100, Thomas Gleixner wrote: > > Paul was observing weird stalls which are hard to reproduce and decode. We > > were finally able to reproduce and decode the wreckage on RT. > > > > The followin

Legitimate !!!

2017-12-23 Thread Chen
Hi linux-kernel@vger.kernel.org , Can work to-gether legally ? . IF YES for more info email ( chen.ya...@yandex.com )

[linus:master] BUILD REGRESSION d1f854ac240ea3928a99294390048e9b2aa6fa0e

2017-12-23 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master branch HEAD: d1f854ac240ea3928a99294390048e9b2aa6fa0e Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm Regressions in current branch: arch/c6x/platforms/plldata.

Re: [PATCH v5 3/6] cx25840: add pin to pad mapping and output format configuration

2017-12-23 Thread Maciej S. Szmigiero
On 23.12.2017 15:08, Philippe Ombredanne wrote: > On Sat, Dec 23, 2017 at 12:18 AM, Maciej S. Szmigiero > wrote: >> This commit adds pin to pad mapping and output format configuration support >> in CX2584x-series chips to cx25840 driver. >> >> This functionality is then used to allow disabling ivt

Re: [PATCH 4.9 000/104] 4.9.72-stable review

2017-12-23 Thread Guenter Roeck
On 12/22/2017 12:45 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.72 release. There are 104 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 4.14 000/159] 4.14.9-stable review

2017-12-23 Thread Guenter Roeck
On 12/22/2017 12:44 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.9 release. There are 159 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

[PATCH 3/3] pinctrl: rockchip: Fix a typo in four comment lines

2017-12-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2017 22:22:54 +0100 Adjust words in these descriptions. Signed-off-by: Markus Elfring --- drivers/pinctrl/pinctrl-rockchip.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/

[PATCH 2/3] pinctrl: rockchip: Improve a size determination in rockchip_pinctrl_probe()

2017-12-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2017 22:07:30 +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/3] pinctrl: rockchip: Delete error messages for a failed memory allocation in two functions

2017-12-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2017 22:02:47 +0100 Omit extra messages for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/pinctrl/pinctrl-rockchip.c | 13 - 1 file changed,

[PATCH 0/3] Pinctrl-Rockchip: Adjustments for six functions

2017-12-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2017 22:33:44 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete error messages for a failed memory allocation in two functions Improve a size determination in rockchip_pinctrl_probe() F

Re: [PATCH 4.4 00/78] 4.4.108-stable review

2017-12-23 Thread Guenter Roeck
On 12/23/2017 08:26 AM, Greg Kroah-Hartman wrote: On Sat, Dec 23, 2017 at 08:13:48AM -0800, Guenter Roeck wrote: On 12/23/2017 06:46 AM, Greg Kroah-Hartman wrote: On Sat, Dec 23, 2017 at 10:19:32AM +0100, Greg Kroah-Hartman wrote: On Fri, Dec 22, 2017 at 10:18:31AM -0800, Guenter Roeck wrote:

My Beloved

2017-12-23 Thread Mrs Kadi
Hello Dear, Please forgive me for stressing you with my predicaments as I know that this letter may come to you as big surprise. Actually, I came across your E-mail from my personal search afterward I decided to email you directly believing that you will be honest to fulfill my final wish before i

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

2017-12-23 Thread Eric Biggers
On Fri, Dec 22, 2017 at 08:13:47PM +0100, Thomas Gleixner wrote: > On Thu, 21 Dec 2017, 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:

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-23 Thread Thomas Gleixner
On Sat, 23 Dec 2017, vcap...@pengaru.com wrote: > On Fri, Dec 22, 2017 at 09:37:01PM -0800, vcap...@pengaru.com wrote: > Added the following instrumentation: > > diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c > index 93edc2236282..7034eda4d494 100644 > --- a/arch/x86/ke

[PATCH] pinctrl: palmas: Delete an error message for a failed memory allocation in palmas_pinctrl_probe()

2017-12-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2017 21:16:42 +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/pinctrl-palmas.c | 4 +--- 1 file changed, 1 insertion

Re: INFO: task hung in aead_recvmsg

2017-12-23 Thread Eric Biggers
[+Cc Steffen Klassert ] On Tue, Dec 12, 2017 at 05:46:46PM +0100, 'Dmitry Vyukov' via syzkaller-bugs wrote: > On Sun, Dec 10, 2017 at 2:34 PM, syzbot > > wrote: > > Hello, > > > > syzkaller hit the following crash on > > ad4dac17f9d563b9e34aab78a34293b10993e9b5 > > git://git.kernel.org/pub/scm/l

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-23 Thread vcaputo
On Fri, Dec 22, 2017 at 09:37:01PM -0800, vcap...@pengaru.com wrote: > On Wed, Dec 20, 2017 at 01:33:45AM +0100, Thomas Gleixner wrote: > > On Tue, 19 Dec 2017, vcap...@pengaru.com wrote: > > > On Wed, Dec 20, 2017 at 12:22:12AM +0100, Pavel Machek wrote: > > > > You forgot to mention commit id :-)

[GIT PULL] libnvdimm fixes for 4.15-rc5

2017-12-23 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive: * NVDIMM namespaces, configured to enforce 1GB alignment, fail to initialize on platforms that mis-align the start or end of the physical address range. * The Linux implement

Re: INFO: task hung in lock_sock_nested

2017-12-23 Thread Eric Biggers
On Tue, Dec 12, 2017 at 05:47:34PM +0100, Dmitry Vyukov wrote: > On Sun, Dec 10, 2017 at 2:37 PM, syzbot > > wrote: > > Hello, > > > > syzkaller hit the following crash on > > 51e18a453f5f59a40c721d4aeab082b4e2e9fac6 > > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master > > c

Re: [GIT pull] x86/pti: Preparatory changes

2017-12-23 Thread Linus Torvalds
On Sat, Dec 23, 2017 at 11:23 AM, Thomas Gleixner wrote: > > Todays Advent calendar window contains twentyfour easy to digest > patches. Thanks, this was nice and clear and I saw nothing odd at all. My only reaction ended up being that I don't much like how complex the NR_CPUS config entry has b

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-23 Thread Alexandru Chirvasitu
On Sat, Dec 23, 2017 at 02:32:52PM +0100, Thomas Gleixner wrote: > On Sat, 23 Dec 2017, Dexuan Cui wrote: > > > > From: Alexandru Chirvasitu [mailto:achirva...@gmail.com] > > > Sent: Friday, December 22, 2017 14:29 > > > > > > The output of that precise command run just now on a freshly-compiled

[PATCH] pinctrl: at91: Delete an error message for a failed memory allocation in at91_pinctrl_mux_mask()

2017-12-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2017 20:44:27 +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/pinctrl-at91.c | 4 +--- 1 file changed, 1 insertion(+

Re: WARNING in rcu_process_callbacks

2017-12-23 Thread Thomas Gleixner
On Sat, 23 Dec 2017, 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 is attached > Raw console output is attached. > >

[GIT pull] x86/pti: Preparatory changes

2017-12-23 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus Todays Advent calendar window contains twentyfour easy to digest patches. The original plan was to have twenty three matching the date, but a late fixup m

[PATCH v2] mtd: nand: vf610: fix error handling in vf610_nfc_probe()

2017-12-23 Thread Alexey Khoroshilov
vf610_nfc_probe() misses error handling of mtd_device_register(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- v2: Add nand_cleanup() to undone nand_scan_tail() as Boris Brezillon noted. drivers/mtd/nand/vf610_nfc.c | 25 +++--

Re: [PATCH] drm: fix tainted kernel caused by drm_panel_orientation_quirks.c

2017-12-23 Thread Hans de Goede
Hi, On 21-12-17 19:46, David Lechner wrote: drm_panel_orientation_quirks.c introduced in commit 404d1a3edc38 ("drm: Add panel orientation quirks, v6.") taints the kernel when compiled as a module. Fix this by adding MODULE_LICENSE(). Signed-off-by: David Lechner Thank you, I've pushed this p

[tip:WIP.x86/pti 1/1] arch/x86/mm/cpu_entry_area.c:153:33: error: 'CPU_ENTRY_AREA_END' undeclared; did you mean 'CPU_ENTRY_AREA_BASE'?

2017-12-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti head: 1c4c1c2fa0c5c121210d47bc74ee85c5032b3ea9 commit: 1c4c1c2fa0c5c121210d47bc74ee85c5032b3ea9 [1/1] x86/pti: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit config: i386-randconfig-x007-201752 (attached

Re: 92a0f81d89 ("x86/cpu_entry_area: Move it out of the fixmap"): BUG: kernel hang in boot stage

2017-12-23 Thread Thomas Gleixner
On Sun, 24 Dec 2017, kernel test robot wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti > > commit 92a0f81d89571e3e8759366e050ee05cc545ef99 > Author: Thomas Gleixner

92a0f81d89 ("x86/cpu_entry_area: Move it out of the fixmap"): BUG: kernel hang in boot stage

2017-12-23 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti commit 92a0f81d89571e3e8759366e050ee05cc545ef99 Author: Thomas Gleixner AuthorDate: Wed Dec 20 18:51:31 2017 +0100 Commit: Ingo Mo

Re: [PATCH 4.4 00/78] 4.4.108-stable review

2017-12-23 Thread Guenter Roeck
On 12/23/2017 08:26 AM, Greg Kroah-Hartman wrote: On Sat, Dec 23, 2017 at 08:13:48AM -0800, Guenter Roeck wrote: On 12/23/2017 06:46 AM, Greg Kroah-Hartman wrote: On Sat, Dec 23, 2017 at 10:19:32AM +0100, Greg Kroah-Hartman wrote: On Fri, Dec 22, 2017 at 10:18:31AM -0800, Guenter Roeck wrote:

Re: [PATCH 4.14 000/159] 4.14.9-stable review

2017-12-23 Thread Guenter Roeck
On 12/23/2017 06:21 AM, Greg Kroah-Hartman wrote: On Fri, Dec 22, 2017 at 10:15:50AM -0800, Guenter Roeck wrote: On Fri, Dec 22, 2017 at 04:54:41PM +0100, Greg Kroah-Hartman wrote: On Fri, Dec 22, 2017 at 04:08:39PM +0100, Greg Kroah-Hartman wrote: On Fri, Dec 22, 2017 at 09:44:45AM +0100, Gre

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Emmanuel Vadot
On Sat, 23 Dec 2017 17:58:46 +0100 Heiko Stuebner wrote: > Am Samstag, 23. Dezember 2017, 17:53:45 CET schrieb Emmanuel Vadot: > > On Sat, 23 Dec 2017 17:15:06 +0100 > > Heiko Stuebner wrote: > > > > > Hi Emmanuel, > > > > > > Am Samstag, 23. Dezember 2017, 16:22:54 CET schrieb Emmanuel Vadot:

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Heiko Stuebner
Am Samstag, 23. Dezember 2017, 17:53:45 CET schrieb Emmanuel Vadot: > On Sat, 23 Dec 2017 17:15:06 +0100 > Heiko Stuebner wrote: > > > Hi Emmanuel, > > > > Am Samstag, 23. Dezember 2017, 16:22:54 CET schrieb Emmanuel Vadot: > > > Since those files are also needed kernel side, switch their licenc

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Emmanuel Vadot
On Sat, 23 Dec 2017 17:15:06 +0100 Heiko Stuebner wrote: > Hi Emmanuel, > > Am Samstag, 23. Dezember 2017, 16:22:54 CET schrieb Emmanuel Vadot: > > Since those files are also needed kernel side, switch their licences > > to GPL/X11 so it can be used in BSD kernels. > > > > Signed-off-by: Emmanu

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Emmanuel Vadot
On Sat, 23 Dec 2017 17:19:58 +0100 Philippe Ombredanne wrote: > Dear Emmanuel, > > On Sat, Dec 23, 2017 at 4:22 PM, Emmanuel Vadot wrote: > > Since those files are also needed kernel side, switch their licences > > to GPL/X11 so it can be used in BSD kernels. > > > > Signed-off-by: Emmanuel Vad

Re: [RFC PATCH v2 1/3] PCI: rockchip: Add support for pcie wake irq

2017-12-23 Thread Tony Lindgren
* Brian Norris [171222 23:23]: > + Rafael to this thread > > On Wed, Dec 20, 2017 at 11:19:12AM -0800, Tony Lindgren wrote: > > * Brian Norris [171219 00:50]: > > > On Wed, Aug 23, 2017 at 09:32:39AM +0800, Jeffy Chen wrote: > > > > > > Did this problem ever get resolved? To be clear, I believe

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Heiko Stuebner
Hi, Am Samstag, 23. Dezember 2017, 17:19:58 CET schrieb Philippe Ombredanne: > Dear Emmanuel, > > On Sat, Dec 23, 2017 at 4:22 PM, Emmanuel Vadot wrote: > > Since those files are also needed kernel side, switch their licences > > to GPL/X11 so it can be used in BSD kernels. > > > > Signed-off-by

Re: [PATCH 4.4 00/78] 4.4.108-stable review

2017-12-23 Thread Greg Kroah-Hartman
On Sat, Dec 23, 2017 at 08:13:48AM -0800, Guenter Roeck wrote: > On 12/23/2017 06:46 AM, Greg Kroah-Hartman wrote: > > On Sat, Dec 23, 2017 at 10:19:32AM +0100, Greg Kroah-Hartman wrote: > > > On Fri, Dec 22, 2017 at 10:18:31AM -0800, Guenter Roeck wrote: > > > > On Fri, Dec 22, 2017 at 09:45:41AM

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Philippe Ombredanne
Dear Emmanuel, On Sat, Dec 23, 2017 at 4:22 PM, Emmanuel Vadot wrote: > Since those files are also needed kernel side, switch their licences > to GPL/X11 so it can be used in BSD kernels. > > Signed-off-by: Emmanuel Vadot > --- > include/dt-bindings/clock/rk3328-cru.h | 44 >

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Heiko Stuebner
Hi Emmanuel, Am Samstag, 23. Dezember 2017, 16:22:54 CET schrieb Emmanuel Vadot: > Since those files are also needed kernel side, switch their licences > to GPL/X11 so it can be used in BSD kernels. > > Signed-off-by: Emmanuel Vadot definitly no objection from me (especially as the file only co

Re: [PATCH 4.4 009/115] Bluetooth: btusb: driver to enable the usb-wakeup feature

2017-12-23 Thread gre...@linuxfoundation.org
On Sat, Dec 23, 2017 at 03:53:57PM +, Ghorai, Sukumar wrote: > >> > included in 4.14-rc1, so something needs to be done in Linus's tree > >> > to resolve this issue, otherwise people will hit this as a > >> > regression when moving to 4.14 or newer. > >> > >> Well, I wouldn't object to revertin

Re: [PATCH 4.4 00/78] 4.4.108-stable review

2017-12-23 Thread Guenter Roeck
On 12/23/2017 06:46 AM, Greg Kroah-Hartman wrote: On Sat, Dec 23, 2017 at 10:19:32AM +0100, Greg Kroah-Hartman wrote: On Fri, Dec 22, 2017 at 10:18:31AM -0800, Guenter Roeck wrote: On Fri, Dec 22, 2017 at 09:45:41AM +0100, Greg Kroah-Hartman wrote: This is the start of the stable review cycle

Re: [PATCH] staging: vc04_services: Prefer BUG_ON instead of if condition followed by BUG.

2017-12-23 Thread Stefan Wahren
Hi Kishore, > kishor...@techveda.org hat am 23. Dezember 2017 um 16:06 geschrieben: > > > From: Kishore KP > > Use BUG_ON instead of if condition followed by BUG. > Pointed out by Coccinelle. > > Signed-off-by: Kishore KP > Signed-off-by: Suniel Mahesh > --- > Note: > - Patch was compile te

Re: kasan for bpf

2017-12-23 Thread David Miller
From: Alexei Starovoitov Date: Fri, 22 Dec 2017 20:31:56 -0800 > Thoughts? Even though you propose it as the opposite, it sounds like a crutch for the verifier. If we strictly control objects that the eBPF program can access, verifier ensures this, and all other objects go through helpers, then

Re: [PATCH v5 6/6] [media] cxusb: add analog mode support for Medion MD95700

2017-12-23 Thread Philippe Ombredanne
On Sat, Dec 23, 2017 at 12:19 AM, Maciej S. Szmigiero wrote: > This patch adds support for analog part of Medion 95700 in the cxusb > driver. > > What works: > * Video capture at various sizes with sequential fields, > * Input switching (TV Tuner, Composite, S-Video), > * TV and radio tuning, > *

Re: [PATCH v3 00/27] kill devm_ioremap_nocache

2017-12-23 Thread Guenter Roeck
On 12/23/2017 05:48 AM, Greg KH wrote: On Sat, Dec 23, 2017 at 06:55:25PM +0800, Yisheng Xie wrote: Hi all, When I tried to use devm_ioremap function and review related code, I found devm_ioremap and devm_ioremap_nocache is almost the same with each other, except one use ioremap while the other

RE: [PATCH 4.4 009/115] Bluetooth: btusb: driver to enable the usb-wakeup feature

2017-12-23 Thread Ghorai, Sukumar
>> > included in 4.14-rc1, so something needs to be done in Linus's tree >> > to resolve this issue, otherwise people will hit this as a >> > regression when moving to 4.14 or newer. >> >> Well, I wouldn't object to reverting it in Linus' tree too, since >> AFAIK, this is something that can be conf

Re: [PATCH] clk: mediatek: Fix all warnings for missing struct clk_onecell_data

2017-12-23 Thread Sean Wang
On Sat, 2017-12-23 at 12:20 +0100, Jean Delvare wrote: > Hi Sean, > > On Sat, 23 Dec 2017 15:56:36 +0800, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > In fact, the clk-mtk.h header is unnecessary for reset.c and thus it's > > safe to remove it from the file to get rid of below build

[PATCH] Staging: wlan-ng: hfa384x_usb: fixed two line limit coding style issues

2017-12-23 Thread Andy Pusch
Fixed two coding style issues. Signed-off-by: Andy Pusch --- drivers/staging/wlan-ng/hfa384x_usb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 197f5a914e8f..d6df35e1745c 100644 ---

Re: [PATCH] arm: dts: mt7623: enable all four available UARTs on bananapi-r2

2017-12-23 Thread Sean Wang
On Sat, 2017-12-23 at 08:52 +0100, Matthias Brugger wrote: > > On 12/22/2017 07:06 AM, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > On bpi-r2 board, totally there're four uarts which we usually called > > uart[0-3] helpful to extend slow I/O devices. Among those ones, uart2 has > >

[PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Emmanuel Vadot
Since those files are also needed kernel side, switch their licences to GPL/X11 so it can be used in BSD kernels. Signed-off-by: Emmanuel Vadot --- include/dt-bindings/clock/rk3328-cru.h | 44 ++-- include/dt-bindings/power/rk3328-power.h | 2 +- 2 files changed, 3

[PATCH 2/2] lib: Remove module auto-unloading which encourages inconsistent behaviour

2017-12-23 Thread Pravin Shedge
The module auto-unload might seem like a nice optimization, but it encourages inconsistent behaviour. And behaviour that is different from all other normal modules. rbtree_test.c and percpu_test.c returns -EAGAIN from module_init() on successful completion. Normal module return 0 on success but re

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

2017-12-23 Thread Ulf Hansson
[...] > > So IMO the changes you are proposing make sense regardless of the > genpd issue, because they generally simplify the phy code, but the > additional use_runtime_pm field in struct phy represents redundant > information (manipulating reference counters shouldn't matter if > runtime PM is d

[PATCH] staging: vc04_services: Prefer BUG_ON instead of if condition followed by BUG.

2017-12-23 Thread kishore . p
From: Kishore KP Use BUG_ON instead of if condition followed by BUG. Pointed out by Coccinelle. Signed-off-by: Kishore KP Signed-off-by: Suniel Mahesh --- Note: - Patch was compile tested and built(ARCH=arm) on linux-next (latest). - No build issues reported. --- drivers/staging/vc04_servic

  1   2   >