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

2018-12-19 Thread Greg KH
On Thu, Dec 20, 2018 at 05:02:53PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the char-misc tree got a conflict in: > > drivers/ptp/ptp_clock.c > > between commit: > > aea0a897af9e ("ptp: Fix pass zero to ERR_PTR() in ptp_clock_register") > > from the

Re: [PATCH v6 0/7] spi: add support for octal mode

2018-12-19 Thread Vignesh R
Hi, On 20/12/18 11:02 AM, Yogesh Narayan Gaur wrote: [...] >>> Yogesh Gaur (7): >>> spi: add support for octal mode I/O data transfer >>> spi: spi-mem: add support for octal mode I/O data transfer >> >> >> These two patches are already merged and is now part of linux-next[1]. >> Its preferred

linux-next: build warning after merge of the scsi-mkp tree

2018-12-19 Thread Stephen Rothwell
Hi all, After merging the scsi-mkp tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/scsi/smartpqi/smartpqi_init.c: In function 'pqi_build_raid_path_request': drivers/scsi/smartpqi/smartpqi_init.c:478:14: warning: this statement may fall through

Re: [PATCH] hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable.

2018-12-19 Thread Buland Singh
On 12/19/18 6:07 PM, Greg KH wrote: On Wed, Dec 19, 2018 at 05:34:32PM +0530, Buland Singh wrote: On 12/19/18 3:16 PM, Greg KH wrote: On Wed, Dec 19, 2018 at 02:55:02PM +0530, Buland Singh wrote: The kernel command parameter 'hpet_mmap' never takes effect due to missing '=' character in the

[RFC PATCH v2 1/3] powerpc/mm: prepare kernel for KAsan on PPC32

2018-12-19 Thread Christophe Leroy
In kernel/cputable.c, explicitly use memcpy() in order to allow GCC to replace it with __memcpy() when KASAN is selected. Since commit 400c47d81ca38 ("powerpc32: memset: only use dcbz once cache is enabled"), memset() can be used before activation of the cache, so no need to use memset_io() for

[RFC PATCH v2 3/3] powerpc/nohash32: Add KASAN support

2018-12-19 Thread Christophe Leroy
This patch adds KASAN support for nohash PPC32. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/kasan.h | 22 + arch/powerpc/include/asm/nohash/32/pgtable.h | 2 + arch/powerpc/include/asm/ppc_asm.h

[RFC PATCH v2 2/3] powerpc/32: Move early_init() in a separate file

2018-12-19 Thread Christophe Leroy
In preparation of KASAN, move early_init() into a separate file in order to allow deactivation of KASAN for that function. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/Makefile | 2 +- arch/powerpc/kernel/early_32.c | 35 +++

[RFC PATCH v2 0/3] KASAN for nohash PPC32

2018-12-19 Thread Christophe Leroy
This serie adds KASAN support to nohash PPC32 Tested on 8xx Changes in v2: - Rebased. - Using __set_pte_at() to build the early table. - Worked around and got rid of the patch adding asm/page.h in asm/pgtable-types.h ==> might be fixed independently but needed for this serie. In principle,

Re: [PATCH] rtlwifi: Fix non-working BSS STA mode

2018-12-19 Thread Kalle Valo
Kai-Heng Feng wrote: > Once BSS STA mode gets started, it can be scanned by other clients but > cannot entablish a connection. > > Turns out the set_bcn_reg() and its *_set_beacon_related_registers() > callbacks never get called so it has problem beaconing. > > Enable the function in

Re: [PATCH] cw1200: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-19 Thread Kalle Valo
Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Patch applied to wireless-drivers-next.git, thanks. cc4dc97ffc69 cw1200: convert to DEFINE_SHOW_ATTRIBUTE -- https://patchwork.kernel.org/patch/10709559/

Re: [PATCH v1 01/12] dt-bindings: usb: add support for dwc3 controller on HiSilicon SoCs

2018-12-19 Thread Felipe Balbi
Hi, Rob Herring writes: >> +Example: >> +    usb3: hisi_dwc3 { >> +    compatible = "hisilicon,hi3660-dwc3"; >> +    #address-cells = <2>; >> +    #size-cells = <2>; >> +    ranges; >> + >> +    clocks = <_ctrl HI3660_CLK_ABB_USB>, >>

Easy Kernel Patch

2018-12-19 Thread Hunter Lannon
This is my first patch submitted. I hope I can finally say I have a commit in the Linux source code :) From 1ce6365d07c734cea9965d3135dd64e2641021ef Mon Sep 17 00:00:00 2001 From: kindlehl Date: Wed, 19 Dec 2018 22:36:22 -0800 Subject: [PATCH] Removed twin forward-declaration of struct device

Re: [PATCH 32/41] scsi: myrb: Mark expected switch fall-throughs

2018-12-19 Thread Hannes Reinecke
On 12/20/18 1:07 AM, Gustavo A. R. Silva wrote: Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:32 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.

[PATCH v2] drm/bochs: add edid present check

2018-12-19 Thread Gerd Hoffmann
Check first two header bytes before trying to read the edid blob, to avoid the log being spammed in case qemu has no edid support (old qemu or edid turned off). Fixes: 01f23459cf drm/bochs: add edid support. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_hw.c | 8 1 file

Re: [PATCH] cw1200: Fix concurrency use-after-free bugs in cw1200_hw_scan()

2018-12-19 Thread Kalle Valo
Jia-Ju Bai wrote: > The function cw1200_bss_info_changed() and cw1200_hw_scan() can be > concurrently executed. > The two functions both access a possible shared variable "frame.skb". > > This shared variable is freed by dev_kfree_skb() in cw1200_upload_beacon(), > which is called by

Re: [PATCH] ipw2x00: cleanup dead code

2018-12-19 Thread Kalle Valo
YueHaibing wrote: > Fix smatch warning: > > drivers/net/wireless/intel/ipw2x00/ipw2100.c:5606 > shim__set_security() warn: always true condition '(sec->active_key <= 3) => > (0-3 <= 3)' > drivers/net/wireless/intel/ipw2x00/ipw2200.c:10725 > shim__set_security() warn: always true condition

Re: [PATCH v2 0/4] serial: uartps: Driver updates

2018-12-19 Thread Michal Simek
Hi, On 19. 12. 18 19:40, Maarten Brock wrote: > Hello Michal, > > On 2018-12-18 13:18, Michal Simek wrote: >> Hi, >> >> I am sending 4 patches in series to fix some issues we found. >> Patches were sent separately but I have been asked to send them in >> serial that's why I am also adding cover

Re: linux-next: manual merge of the net-next tree with the net tree

2018-12-19 Thread Or Gerlitz
On Thu, Dec 20, 2018 at 4:47 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > drivers/net/ethernet/mellanox/mlx5/core/en_rep.c > > between commit: > > 8956f0014ea5 ("net/mlx5e: Fix default amount of channels for VF >

Re: [PATCH v3] irqchip/mmp: only touch the PJ4 & FIQ bits on enable/disable

2018-12-19 Thread Lubomir Rintel
Marc Zyngier wrote: > On 19/12/2018 18:37, Lubomir Rintel wrote: >> On Wed, 2018-12-19 at 18:29 +, Marc Zyngier wrote: >>> On 19/12/2018 17:28, Lubomir Rintel wrote: On an OLPC XO 1.75 machine, the "security processor" handles the GPIO 71 and 72 interrupts. Don't reset the "route to

[PATCH] media: drx: fix a missing check of return value

2018-12-19 Thread Kangjie Lu
Function drxj_dap_write_reg16(), which writes data to buffer, may fail. We need to check if it fails, and if so, we should goto error. Otherwise, the buffer will have incorrect data. Signed-off-by: Kangjie Lu --- drivers/media/dvb-frontends/drx39xyj/drxj.c | 6 +- 1 file changed, 5

Re: [PATCH 1/7] drm: msm: Cleanup drm_display_mode print string

2018-12-19 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 07:21:41PM -0200, Shayenne Moura wrote: > This patch adjust the print string of drm_display_mode object > to remove drm_mode_object dependency in msm files. > > Signed-off-by: Shayenne Moura Please have a per-patch changelog of what changed compared to earlier versions,

Re: [PATCH 6/7] drm: Remove use of drm_mode_object

2018-12-19 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 07:28:36PM -0200, Shayenne Moura wrote: > This patch removes the drm_mode_object prints, evaluation and use from > drm_display_mode objects used in drm files. It removes dependency from > drm_mode_object. > > Signed-off-by: Shayenne Moura > --- >

[PATCH] nvme-pci: fix dbbuf_sq_db point to freed memory

2018-12-19 Thread Lulina (A)
The case is that nvme device support NVME_CTRL_OACS_DBBUF_SUPP, and return failed when the driver sent nvme_admin_dbbuf. The nvmeq->dbbuf_sq_db point to freed memory, as nvme_dbbuf_set is called behind nvme_dbbuf_init. Change-Id: Ief2a5877cb008d3c29cf99053f80fecc9b8db1db Signed-off-by: lulina

Re: [PATCH] drm/ioctl: Fix Spectre v1 vulnerabilities

2018-12-19 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 06:00:15PM -0600, Gustavo A. R. Silva wrote: > nr is indirectly controlled by user-space, hence leading to a > potential exploitation of the Spectre variant 1 vulnerability. > > This issue was detected with the help of Smatch: > > drivers/gpu/drm/drm_ioctl.c:805

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-19 Thread Pingfan Liu
Hi Michal, WIth this patch applied on the old one, I got the following message. Please get it from attachment. Thanks, Pingfan On Mon, Dec 17, 2018 at 9:29 PM Michal Hocko wrote: > > On Thu 13-12-18 17:04:01, Pingfan Liu wrote: > [...] > > > > @@ -592,6 +600,10 @@ static int __init

[PATCH] iio: ad9523: fix a missing check of return value

2018-12-19 Thread Kangjie Lu
If ad9523_write() fails, indio_dev may get incorrect data. The fix inserts a check for the return value of ad9523_write(), and it fails, returns an error. Signed-off-by: Kangjie Lu --- drivers/iio/frequency/ad9523.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH] powerpc/8xx: Allow pinning IMMR TLB when using early debug console

2018-12-19 Thread Christophe Leroy
CONFIG_EARLY_DEBUG_CPM requires IMMR area TLB to be pinned otherwise it doesn't survive MMU_init, and the boot fails. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index

Re: remove exofs, the T10 OSD code and block/scsi bidi support V3

2018-12-19 Thread Christoph Hellwig
On Wed, Dec 19, 2018 at 09:01:53PM -0500, Douglas Gilbert wrote: >> 1) reduce the size of every kernel with block layer support, and >> even more for every kernel with scsi support > > By proposing the removal of bidi support from the block layer, it isn't > just the SCSI subsystem that

Re: [PATCH 1/3] ath6kl: Only use match sets when firmware supports it

2018-12-19 Thread Kalle Valo
Kyle Roeschley wrote: > Commit dd45b7598f1c ("ath6kl: Include match ssid list in scheduled scan") > merged the probed and matched SSID lists before sending them to the > firmware. In the process, it assumed match set support is always available > in ath6kl_set_probed_ssids, which breaks scans

Re: [PATCH RFC v2 5/8] drm/bridge: dw-hdmi: support dynamically get input/out color info

2018-12-19 Thread Neil Armstrong
Hi Andrzej, Laurent, Thanks for your review. On 19/12/2018 08:50, Laurent Pinchart wrote: > Hello, > > On Wednesday, 19 December 2018 09:26:08 EET Andrzej Hajda wrote: >> On 30.11.2018 14:42, Neil Armstrong wrote: >>> From: Zheng Yang >>> >>> To get input/output bus_format/enc_format

[PATCH] gpu: anx7808: fix a missing check of return value

2018-12-19 Thread Kangjie Lu
Both anx78xx_set_bits() and anx78xx_clear_bits() in the poweron process may fail. The fix inserts checks for their return values. If the poweron process fails, it calls anx78xx_poweroff(). Signed-off-by: Kangjie Lu --- drivers/gpu/drm/bridge/analogix-anx78xx.c | 26 --- 1

linux-next: manual merge of the akpm-current tree with the asm-generic tree

2018-12-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/sh/include/asm/Kbuild between commit: 2b3c5a99d5f3 ("sh: generate uapi header and syscall table header files") from the asm-generic tree and commit: 548211e87ba0 ("sh: include: convert to SPDX

Re: [PATCH] wireless/wil6210: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-19 Thread Kalle Valo
Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 986b83488464 wil6210: convert to DEFINE_SHOW_ATTRIBUTE -- https://patchwork.kernel.org/patch/10709547/

Re: [PATCH] wil6210: remove set but not used variable 'wdev'

2018-12-19 Thread Kalle Valo
YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/ath/wil6210/main.c: In function '_wil6210_disconnect': > drivers/net/wireless/ath/wil6210/main.c:407:23: warning: > variable 'wdev' set but not used [-Wunused-but-set-variable] > > It never used since

Re: [PATCH v2] arm64: dts: sdm845: add video nodes

2018-12-19 Thread mgottam
On 2018-11-30 12:09, Alexandre Courbot wrote: On Wed, Nov 28, 2018 at 10:12 PM Malathi Gottam wrote: This adds video nodes to sdm845 based on the examples in the bindings. Signed-off-by: Malathi Gottam --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 35 +++ 1

4.20-rc6: WARNING: CPU: 30 PID: 197360 at net/core/flow_dissector.c:764 __skb_flow_dissect

2018-12-19 Thread Christian Borntraeger
Folks, I got this warning today. I cant tell when and why this happened, so I do not know yet how to reproduce. Maybe someone has a quick idea. [85109.572032] WARNING: CPU: 30 PID: 197360 at net/core/flow_dissector.c:764 __skb_flow_dissect+0x1f0/0x1318 [85109.572036] Modules linked in:

[PATCH v3] arm64: dts: sdm845: add video nodes

2018-12-19 Thread Malathi Gottam
This adds video nodes to sdm845 based on the examples in the bindings. Signed-off-by: Malathi Gottam --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi

Re: [PATCH net-next 0/9] net: hns3: code optimizations & bugfixes for HNS3 driver

2018-12-19 Thread David Miller
From: Peng Li Date: Thu, 20 Dec 2018 11:51:57 +0800 > This patchset includes bugfixes and code optimizations for the HNS3 > ethernet controller driver Series applied, thanks.

[PATCH] media: lgdt3306a: fix a missing check of return value

2018-12-19 Thread Kangjie Lu
If lgdt3306a_read_reg() fails, the read data in "val" is incorrect, thus shouldn't be further used. The fix inserts a check for the return value of lgdt3306a_read_reg(). If it fails, goto fail. Signed-off-by: Kangjie Lu --- drivers/media/dvb-frontends/lgdt3306a.c | 4 +++- 1 file changed, 3

Re: [PATCH v5 01/15] KVM: s390: unregister debug feature on failing arch init

2018-12-19 Thread Michael Mueller
On 19.12.18 21:10, Cornelia Huck wrote: On Wed, 19 Dec 2018 20:17:42 +0100 Michael Mueller wrote: Make sure the debug feature and its allocated resources get released upon unsuccessful architecture initialization. A related indication of the issue will be reported as kernel message.

Re: [PATCH v2] dt-bindings: PCI: rcar: Add device tree support for r8a774c0

2018-12-19 Thread Simon Horman
On Tue, Dec 18, 2018 at 12:02:42PM +, Fabrizio Castro wrote: > Add PCIe support for the RZ/G2E (a.k.a. R8A774C0). > > Signed-off-by: Fabrizio Castro > Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman

Re: [RESEND PATCH v2] megaraid: fix out-of-bound array accesses

2018-12-19 Thread Sumit Saxena
On Thu, Dec 13, 2018 at 6:57 PM Qian Cai wrote: > > UBSAN reported those with MegaRAID SAS-3 3108, > > [ 77.467308] UBSAN: Undefined behaviour in > drivers/scsi/megaraid/megaraid_sas_fp.c:117:32 > [ 77.475402] index 255 is out of range for type 'MR_LD_SPAN_MAP [1]' > [ 77.481677] CPU: 16

Re: [PATCH v5 01/15] KVM: s390: unregister debug feature on failing arch init

2018-12-19 Thread Christian Borntraeger
On 20.12.2018 08:49, Michael Mueller wrote: > > > On 19.12.18 21:10, Cornelia Huck wrote: >> On Wed, 19 Dec 2018 20:17:42 +0100 >> Michael Mueller wrote: >> >>> Make sure the debug feature and its allocated resources get >>> released upon unsuccessful architecture initialization. >>> >>> A

[PATCH v3 0/3] sched/fair: some fixes for asym_packing

2018-12-19 Thread Vincent Guittot
During the review of misfit task patchset, Morten and Valentin raised some problems with the use of SD_ASYM_PACKING flag on asymmetric system like hikey960 arm64 big/LITTLE platform. The study of the use cases has shown some problems that can happen for every systems that use the flag. The 3

[PATCH 3/3] sched/fair: fix unnecessary increase of balance interval

2018-12-19 Thread Vincent Guittot
In case of active balance, we increase the balance interval to cover pinned tasks cases not covered by all_pinned logic. Neverthless, the active migration triggered by asym packing should be treated as the normal unbalanced case and reset the interval to default value otherwise active migration

[PATCH v3 1/3] sched/fair: fix rounding issue for asym packing

2018-12-19 Thread Vincent Guittot
When check_asym_packing() is triggered, the imbalance is set to : busiest_stat.avg_load * busiest_stat.group_capacity / SCHED_CAPACITY_SCALE But busiest_stat.avg_load equals sgs->group_load *SCHED_CAPACITY_SCALE / sgs->group_capacity These divisions can generate a rounding that will make

[PATCH 2/3] sched/fair: trigger asym_packing during idle load balance

2018-12-19 Thread Vincent Guittot
newly idle load balance is not always triggered when a cpu becomes idle. This prevent the scheduler to get a chance to migrate task for asym packing. Enable active migration because of asym packing during idle load balance too. Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 2 +- 1

[PATCH] rts5208: add a missing check for the status of command sending

2018-12-19 Thread Kangjie Lu
ms_send_cmd() may fail. The fix checks the return value of it, and if it fails, returns the error "STATUS_FAIL" upstream. Signed-off-by: Kangjie Lu --- drivers/staging/rts5208/ms.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rts5208/ms.c

Re: [PATCH 0/2] docs/mm-api: link kernel-doc comments from slab_common.c

2018-12-19 Thread Mike Rapoport
ping? On Thu, Dec 06, 2018 at 11:12:59PM +0200, Mike Rapoport wrote: > Hi, > > These patches update formatting of function descriptions in > mm/slab_common.c and link the comments from this file to "The Slab Cache" > section of the MM API reference. > > As the changes to mm/slab_common.c only

<    5   6   7   8   9   10