Applied "regulator: pv88080: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: pv88080: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually somet

Applied "ASoC: stm32: sai: fix iec958 controls indexation" to the asoc tree

2019-03-03 Thread Mark Brown
The patch ASoC: stm32: sai: fix iec958 controls indexation has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "regulator: palmas: Constify palmas_smps_ramp_delay array" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: palmas: Constify palmas_smps_ramp_delay array has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Applied "regulator: mc13xxx: Constify regulator_ops variables" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: mc13xxx: Constify regulator_ops variables has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 ho

Applied "regulator: core: Add set/get_current_limit helpers for regmap users" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: core: Add set/get_current_limit helpers for regmap users has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in

Applied "regulator: Fix comment for csel_reg and csel_mask" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: Fix comment for csel_reg and csel_mask has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Applied "regulator: lp872x: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: lp872x: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually someti

Applied "regulator: stm32-vrefbuf: add power management support" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: stm32-vrefbuf: add power management support has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: lp873x: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: lp873x: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually someti

Applied "regulator: da9055: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: da9055: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually someti

Applied "regulator: max77650: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: max77650: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually some

Applied "regulator: da9210: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: da9210: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually someti

Applied "regulator: pv88060: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-03 Thread Mark Brown
The patch regulator: pv88060: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually somet

Re: [PATCH v3] mm/memory.c: do_fault: avoid usage of stale vm_area_struct

2019-03-03 Thread Rafael Aquini
On Sun, Mar 03, 2019 at 08:28:04AM +0100, Jan Stancek wrote: > LTP testcase mtest06 [1] can trigger a crash on s390x running 5.0.0-rc8. > This is a stress test, where one thread mmaps/writes/munmaps memory area > and other thread is trying to read from it: > > CPU: 0 PID: 2611 Comm: mmap1 Not ta

Re: [PATCH 1/2] PCI: Prevent 64-bit resources from being counted in 32-bit bridge region

2019-03-03 Thread Bjorn Helgaas
Hi Logan, Sorry for the delay. This code gives a headache. I still remember my headache from the last time we touched it. Help me understand what's going on here. On Thu, Feb 14, 2019 at 10:00:27AM -0700, Logan Gunthorpe wrote: > When using the pci=realloc command line argument, with hpmemsize

Re: [PATCH 1/7] mfd: yeeloong_kb3310b: support KB3310B EC for Lemote Yeeloong laptops.

2019-03-03 Thread Tom Li
>drivers/mfd/yeeloong_kb3310b.c: In function 'kb3310b_read': > >> drivers/mfd/yeeloong_kb3310b.c:70:2: error: implicit declaration of > >> function 'outb' [-Werror=implicit-function-declaration] > outb((reg & 0xff00) >> 8, KB3310B_IO_PORT_HIGH); > ^~~~ > >> drivers/mfd/yeeloong_kb331

Re: [PATCH 1/7] mfd: yeeloong_kb3310b: support KB3310B EC for Lemote Yeeloong laptops.

2019-03-03 Thread kbuild test robot
Hi Yifeng, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0-rc8] [cannot apply to next-20190301] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.co

Re: [PATCH] kernel/wq: Fix a alloc_workqueue() error path

2019-03-03 Thread Bart Van Assche
(+Tejun) On 3/3/19 2:00 PM, Bart Van Assche wrote: This patch fixes a use-after-free and a memory leak in an alloc_workqueue() error path. This patch avoids that e.g. the following complaint gets reported: BUG: KASAN: use-after-free in __read_once_size include/linux/compiler.h:197 [inline] BUG

Linux 5.0

2019-03-03 Thread Linus Torvalds
Ok, so the last week of the 5.0 release wasn't entirely quiet, but it's a lot smaller than rc8 was, and on the whole I'm happy that I delayed a week and did an rc8. It turns out that the actual patch that I talked about in the rc8 release wasn't the worrisome bug I had thought: yes, we had an unin

Re: [1/2] powerpc: remove nargs from __SYSCALL

2019-03-03 Thread Michael Ellerman
On Wed, 2019-01-02 at 15:02:03 UTC, Firoz Khan wrote: > The __SYSCALL macro's arguments are system call number, > system call entry name and number of arguments for the > system call. > > Argument- nargs in __SYSCALL(nr, entry, nargs) is neither > calculated nor used anywhere. So it would be bette

Re: [v2] powerpc/mm: fix "section_base" set but not used

2019-03-03 Thread Michael Ellerman
On Fri, 2019-03-01 at 14:20:40 UTC, Qian Cai wrote: > The commit 24b6d4164348 ("mm: pass the vmem_altmap to vmemmap_free") > removed a line in vmemmap_free(), > > altmap = to_vmem_altmap((unsigned long) section_base); > > but left a variable no longer used. > > arch/powerpc/mm/init_64.c: In func

Re: powerpc/32: Clear on-stack exception marker upon exception return

2019-03-03 Thread Michael Ellerman
On Wed, 2019-02-27 at 11:45:30 UTC, Christophe Leroy wrote: > Clear the on-stack STACK_FRAME_REGS_MARKER on exception exit in order > to avoid confusing stacktrace like the one below. > > Call Trace: > [c0e9dca0] [c01c42a0] print_address_description+0x64/0x2bc (unreliable) > [c0e9dcd0] [c01c4684]

Re: powerpc: fix "sz" set but not used

2019-03-03 Thread Michael Ellerman
On Thu, 2019-02-28 at 02:35:05 UTC, Qian Cai wrote: > arch/powerpc/mm/hugetlbpage-hash64.c: In function '__hash_page_huge': > arch/powerpc/mm/hugetlbpage-hash64.c:29:28: warning: variable 'sz' set > but not used [-Wunused-but-set-variable] > > Signed-off-by: Qian Cai Applied to powerpc next, tha

[PATCH V2] cros_ec: Expose sysfile to force battery cut-off on shutdown.

2019-03-03 Thread RaviChandra Sadineni
On chromebooks, power_manager daemon normally shutsdown(S5) the device when the battery charge falls below 4% threshold. Chromeos EC then normally spends an hour in S5 before hibernating. If the battery charge falls below critical threshold in the mean time, EC does a battery cutoff instead of hibe

Re: linux-next: manual merge of the drm tree with the drm-fixes tree

2019-03-03 Thread Stephen Rothwell
Hi Dave, On Fri, 1 Mar 2019 18:29:58 -0500 Alex Deucher wrote: > > On Thu, Feb 28, 2019 at 9:24 PM Stephen Rothwell > wrote: > > > > Today's linux-next merge of the drm tree got a conflict in: > > > > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > > > > between commit: > > > > d6371665

Re: [PATCH v2] RDMA/umem: minor bug fix and cleanup in error handling paths

2019-03-03 Thread Ira Weiny
On Sun, Mar 03, 2019 at 11:52:41AM +0200, Artemy Kovalyov wrote: > > > On 02/03/2019 21:44, Ira Weiny wrote: > > > > On Sat, Mar 02, 2019 at 12:24:35PM -0800, john.hubb...@gmail.com wrote: > > > From: John Hubbard > > > > > > ... > > > 3. Dead code removal: the check for (user_virt & ~page_mas

[PATCH -next] device-dax: Make function 'dev_dax_kmem_probe' static

2019-03-03 Thread Wei Yongjun
Fixes the following sparse warning: drivers/dax/kmem.c:17:5: warning: symbol 'dev_dax_kmem_probe' was not declared. Should it be static? Fixes: c221c0b0308f ("device-dax: "Hotplug" persistent memory for use like normal RAM") Signed-off-by: Wei Yongjun --- drivers/dax/kmem.c | 2 +- 1 file cha

Re: [PATCH 01/20] asm-generic/mmiowb: Add generic implementation of mmiowb() tracking

2019-03-03 Thread Michael Ellerman
Nicholas Piggin writes: > Michael Ellerman's on March 3, 2019 7:26 pm: >> Nicholas Piggin writes: ... >>> what was broken about the powerpc one, which is basically: >>> >>> static inline void mmiowb_set_pending(void) >>> { >>> struct mmiowb_state *ms = __mmiowb_state(); >>> ms->mmiowb_pen

Re: [PATCH] cros_ec: Expose sysfile to force battery cut-off on shutdown.

2019-03-03 Thread Ravi Chandra Sadineni
Hi Guenter, On Fri, Mar 1, 2019 at 1:00 PM Guenter Roeck wrote: > > On Fri, Mar 1, 2019 at 11:22 AM RaviChandra Sadineni > wrote: >> >> On chromebooks, power_manager daemon normally shutsdown(S5) the device >> when the battery charge falls below 4% threshold. ChromeOS EC then >> normally spends

Re: [uaccess] 780464aed0: WARNING:at_arch/x86/include/asm/uaccess.h:#strnlen_user/0x

2019-03-03 Thread Masami Hiramatsu
Not an upstream commit ID, so this is presumably a backport. > > Ok, let's see what it is using the web link: > > > url: > > https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/tracing-probes-uaccess-Add-support-user-space-access/20190303-203749 > > Y

Re: [PATCH] x86/KASLR: always return a value from process_mem_region

2019-03-03 Thread Chao Fan
On Sat, Mar 02, 2019 at 06:49:29PM +, Louis Taylor wrote: >When compiling with -Wreturn-type, clang warns: > >arch/x86/boot/compressed/kaslr.c:704:1: warning: control may reach end of > non-void function [-Wreturn-type] > >This function's return statement should probably have been placed >

Re: [PATCH v2] ls1021aqds: enable esdhc controller

2019-03-03 Thread Shawn Guo
On Tue, Feb 26, 2019 at 08:40:22AM +, Yinbo Zhu wrote: > From: Yinbo Zhu > > This patch is to enable esdhc controller in ls1021aqds > > Signed-off-by: Yinbo Zhu Changed the subject prefix to 'ARM: dts: ls1021a-qds: ...' and applied the patch. Shawn > --- > Change in v2: > A

Re: A quesiton about commit 3a63f70bf4c3

2019-03-03 Thread Chao Fan
On Fri, Mar 01, 2019 at 02:06:31PM +0800, Baoquan He wrote: > >Hi Chao, Hi Baoquan, Sorry for late reply, I was away from keyboard last Friday. Your change looks good, I think you can format it as a real PATCH. > >I am back porting this commit to our distrols from tip. Thanks for your effort. Th

Re: [PATCH v3 10/12] hikey960: Support usb functionality of Hikey960

2019-03-03 Thread Chen Yu
On 2019/3/4 4:17, John Stultz wrote: > On Sat, Mar 2, 2019 at 4:05 AM Yu Chen wrote: >> +static int hisi_hikey_usb_probe(struct platform_device *pdev) >> +{ >> + struct device *dev = &pdev->dev; >> + struct device_node *root = dev->of_node; > > Minor nit: root is unused and generat

RE: [PATCH V5 1/2] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-03 Thread Anson Huang
Hi, Guenter Best Regards! Anson Huang > -Original Message- > From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter > Roeck > Sent: 2019年3月2日 2:32 > To: Anson Huang > Cc: catalin.mari...@arm.com; will.dea...@arm.com; wim@linux- > watchdog.org; shawn...@kernel.org; s.ha...@pe

Re: [PATCH RESEND V4 1/2] dt-bindings: firmware: imx-scu: remove unused resources from scu resource table

2019-03-03 Thread Shawn Guo
On Wed, Feb 27, 2019 at 12:53:04AM +, Anson Huang wrote: > Removes below resources which were defined during > pre-silicon phase and the real silicons do NOT have > them, they have never been used, latest system > controller firmware also removed them: > > IMX_SC_R_DC_0_CAPTURE0 >

Re: [PATCH v3 10/12] hikey960: Support usb functionality of Hikey960

2019-03-03 Thread Chunfeng Yun
hi, On Sat, 2019-03-02 at 17:05 +0800, Yu Chen wrote: > This driver handles usb hub power on and typeC port event of HiKey960 board: > 1)DP&DM switching between usb hub and typeC port base on typeC port > state > 2)Control power of usb hub on Hikey960 > 3)Control vbus of typeC port > > Cc: Chunfen

Re: [PATCH] arm64: dts: ls1028a: add pmu dt nodes

2019-03-03 Thread Shawn Guo
On Wed, Feb 27, 2019 at 09:57:52AM +0800, Alison Wang wrote: > This patch adds pmu dt nodes for LS1028A. > > Signed-off-by: Alison Wang > --- > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/arm64/boot/dts/fr

Re: [PATCH v3 10/12] hikey960: Support usb functionality of Hikey960

2019-03-03 Thread Chen Yu
Hi Chunfeng Yun, On 2019/3/4 9:47, Chunfeng Yun wrote: >> + >> +hisi_hikey_usb->role_sw = usb_role_switch_get(dev); >> +if (!hisi_hikey_usb->role_sw) >> +return -EPROBE_DEFER; > Here return EPROBE_DEFFER means the related device_connection is > registered after this probe is c

Re: [PATCH v4 5/7] s390: ap: implement PAPQ AQIC interception in kernel

2019-03-03 Thread Halil Pasic
On Fri, 22 Feb 2019 16:29:58 +0100 Pierre Morel wrote: > We register the AP PQAP instruction hook during the open > of the mediated device. And unregister it on release. > > In the AP PQAP instruction hook, if we receive a demand to > enable IRQs, > - we retrieve the vfio_ap_queue based on the A

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-03-03 Thread Halil Pasic
On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: > We need to associate the ap_vfio_queue, which will hold the > per queue information for interrupt with a matrix mediated device > which hold the configuration and the way to the CRYCB. [..] > +static int vfio_ap_get_all_domains(struct ap_ma

Re: [PATCH v2] drm/bridge: sil_sii8620: make remote control optional.

2019-03-03 Thread Life is hard, and then you die
On Thu, Jan 24, 2019 at 05:33:55PM -0800, Ronald Tschalär wrote: > commit d6abe6df706c (drm/bridge: sil_sii8620: do not have a dependency > of RC_CORE) changed the driver to select both RC_CORE and INPUT. > However, this causes problems with other drivers, in particular an input > driver that depen

Re: [PATCH v6] panic: Avoid the extra noise dmesg

2019-03-03 Thread Sergey Senozhatsky
On (03/01/19 16:49), Feng Tang wrote: > When kernel panic happens, it will first print the panic call stack, > then the ending msg like: > > [ 35.743249] ---[ end Kernel panic - not syncing: Fatal exception > [ 35.749975] [ cut here ] > > The above message are very use

Re: [PATCH] printk: Remove no longer used LOG_PREFIX.

2019-03-03 Thread Sergey Senozhatsky
On (02/22/19 18:59), Tetsuo Handa wrote: > When commit 5becfb1df5ac8e49 ("kmsg: merge continuation records while > printing") introduced LOG_PREFIX, we used KERN_DEFAULT etc. as a flag > for setting LOG_PREFIX in order to tell whether to call cont_add() > (i.e. whether to append the message to "str

Re: [PATCH] mm: compaction: show gfp flag names in try_to_compact_pages tracepoint

2019-03-03 Thread Yafang Shao
On Sun, Mar 3, 2019 at 7:04 AM kbuild test robot wrote: > > Hi Yafang, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on tip/perf/core] > [also build test WARNING on v5.0-rc8 next-20190301] > [if your patch is applied to the wrong git tree, please drop us a

Re: [PATCH 1/2] mtd: rawnand: meson: add missing ENOMEM check in meson_nfc_read_buf()

2019-03-03 Thread Liang Yang
Hello Martin, On 2019/3/2 1:38, Martin Blumenstingl wrote: kzalloc() can return NULL if memory could not be allocated. Check the return value of the kzalloc() call in meson_nfc_read_buf() to make it consistent with other memory allocations within the meson_nand driver. Fixes: 8fae856c53500a ("m

Re: [PATCH 2/2] mtd: rawnand: meson: fix a potential memory leak in meson_nfc_read_buf

2019-03-03 Thread Liang Yang
Hello Martin, Thank you very much. On 2019/3/2 1:38, Martin Blumenstingl wrote: meson_nfc_dma_buffer_setup() is called with the "info" buffer which is allocated a few lines before using kzalloc(). If meson_nfc_dma_buffer_setup() fails we need to free the allocated "info" buffer instead of only

[PATCH] ARM: imx_v6_v7_defconfig: Add GPIO_PCF857X

2019-03-03 Thread Adam Ford
The imx6q-logicpd board has a PCF8575 connected to it, so this patch turns it on my default now. Signed-off-by: Adam Ford diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 5586a5074a96..1872dacbbe9b 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +

RE: Realtek r8822be kernel module does not negotiate 802.11ac connection

2019-03-03 Thread Tony Chuang
> -Original Message- > From: Arend Van Spriel [mailto:arend.vanspr...@broadcom.com] > > > Larry, > > > > Sorry about all these extra replies.  Shortly after I sent my last > > message my access point started recognizing the connection as 802.11ac > > with PHY Rate / Modulation Rate of 86

Re: [PATCH v3 10/12] hikey960: Support usb functionality of Hikey960

2019-03-03 Thread Chen Yu
Hi Andy, On 2019/3/3 0:01, Andy Shevchenko wrote: > On Sat, Mar 2, 2019 at 11:05 AM Yu Chen wrote: >> >> This driver handles usb hub power on and typeC port event of HiKey960 board: >> 1)DP&DM switching between usb hub and typeC port base on typeC port >> state >> 2)Control power of usb hub on Hi

Re: [PATCH] aio: prevent the final fput() in the middle of vfs_poll() (Re: KASAN: use-after-free Read in unix_dgram_poll)

2019-03-03 Thread Al Viro
On Sun, Mar 03, 2019 at 02:23:33PM -0800, Linus Torvalds wrote: OK, having dug through the archives, the reasons were not strong. So that part is OK... > @@ -1060,6 +1071,8 @@ static inline void iocb_put(struct aio_kiocb *iocb) > { > if (refcount_read(&iocb->ki_refcnt) == 0 || >

Re: [PATCH v3 07/12] phy: Add usb phy support for hi3660 Soc of Hisilicon

2019-03-03 Thread Chen Yu
Hi Andy, On 2019/3/2 23:56, Andy Shevchenko wrote: > On Sat, Mar 2, 2019 at 11:06 AM Yu Chen wrote: >> >> This driver handles usb phy power on and shutdown for hi3660 Soc of >> Hisilicon. > > Few comments below. After fixing them, FWIW > Reviewed-by: Andy Shevchenko > >> +#define HI3660_USB_DE

Re: [uaccess] 780464aed0: WARNING:at_arch/x86/include/asm/uaccess.h:#strnlen_user/0x

2019-03-03 Thread Linus Torvalds
On Sun, Mar 3, 2019 at 5:14 PM Masami Hiramatsu wrote: > > I think it comes from WARN_ON_ONCE(!segment_eq(get_fs(), USER_DS)) in > user_access_ok(). The call trace shows that strndup_user might be called > from kernel daemon context. Ahh, yes. We've had this before. We've gotten rid of the actua

Re: [PATCH v3 3/8] KVM:CPUID: Add CPUID support for Guest CET

2019-03-03 Thread Yang Weijiang
On Fri, Mar 01, 2019 at 06:53:23AM -0800, Sean Christopherson wrote: > On Thu, Feb 28, 2019 at 04:28:32PM +0800, Yang Weijiang wrote: > > On Thu, Feb 28, 2019 at 07:59:40AM -0800, Sean Christopherson wrote: > > > On Mon, Feb 25, 2019 at 09:27:11PM +0800, Yang Weijiang wrote: > > > > Guest CET SHSTK

Re: [PATCH V5 1/2] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-03 Thread Guenter Roeck
On 3/3/19 5:32 PM, Anson Huang wrote: Hi, Guenter Best Regards! Anson Huang -Original Message- From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter Roeck Sent: 2019年3月2日 2:32 To: Anson Huang Cc: catalin.mari...@arm.com; will.dea...@arm.com; wim@linux- watchdog.org; shaw

RE: [PATCH] arm64: dts: ls1088a: add one more thermal zone node

2019-03-03 Thread Andy Tang
> -Original Message- > From: Shawn Guo > Sent: 2019年3月1日 21:38 > To: Andy Tang > Cc: Leo Li ; robh...@kernel.org; mark.rutl...@arm.com; > linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; linux...@vger.kernel.org; > daniel.lezc...@linaro.o

linux-next: manual merge of the kvm tree with Linus' tree

2019-03-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: virt/kvm/kvm_main.c between commit: 8ed0579c12b2 ("kvm: properly check debugfs dentry before using it") from Linus' tree and commit: b12ce36a43f2 ("kvm: Add memcg accounting to KVM allocations") from the kvm tree. I f

//Re: [PATCH v3 06/12] usb: dwc3: Increase timeout for CmdAct cleared by device controller

2019-03-03 Thread Chen Yu
Hi Zhang Fei, On 2019/3/2 23:47, Andy Shevchenko wrote: > On Sat, Mar 2, 2019 at 11:06 AM Yu Chen wrote: >> >> It needs more time for the device controller to clear the CmdAct of >> DEPCMD on Hisilicon Kirin Soc. >> > > 5x times more? Can you provide more specific details on that? > Can you exp

[PATCH -next] RDMA/hns: Use GFP_ATOMIC in hns_roce_v2_modify_qp

2019-03-03 Thread Yue Haibing
From: YueHaibing In commit 0425e3e6e0c7, hns_roce_v2_modify_qp called inside spinlock which using GFP_KERNEL, it may sleep with holding the spinlock, so we should use GFP_ATOMIC instead. Fixes: 0425e3e6e0c7 ("RDMA/hns: Support flush cqe for hip08 in kernel space") Signed-off-by: YueHaibing ---

Re: [PATCH -next] lockdep: skip debugobjects for lock_classes[] init

2019-03-03 Thread Qian Cai
On 3/3/19 1:19 PM, Bart Van Assche wrote: > [PATCH] locking/lockdep: Only call init_rcu_head() after RCU has been >  initialized > > init_data_structures_once() is called for the first time before RCU has > been initialized. Make sure that init_rcu_head() is called before the > RCU head is used

[PATCH] nfsd: fix memory corruption caused by readdir

2019-03-03 Thread NeilBrown
If the result of an NFSv3 readdir{,plus} request results in the "offset" on one entry having to be split across 2 pages, and is sized so that the next directory entry doesn't fix in the requested size, then memory corruption can happen. When encode_entry() is called after encoding the last entry

[PATCH] ACPI / PM: Propagate KEY_POWER wakeup events to user space

2019-03-03 Thread Chen, Hu
When the system is woken from S3 by the ACPI fixed power button, send KEY_POWER to user space. I run Android on x86 PC (it's a NUC). Everytime I press the power button to wake the system, it suspends right away. After some debug, I find that Android wants to see KEY_POWER at resume. Otherwise, its

Re: [LKP] [uaccess] 780464aed0: WARNING:at_arch/x86/include/asm/uaccess.h:#strnlen_user/0x

2019-03-03 Thread Rong Chen
kport. Ok, let's see what it is using the web link: url: https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/tracing-probes-uaccess-Add-support-user-space-access/20190303-203749 Yeah, that just gives a github 404 error. Sorry for the broken link,  It's ok now. Best Regard

Re: [RFC PATCH] printk: Introduce "store now but print later" prefix.

2019-03-03 Thread Sergey Senozhatsky
On (02/23/19 13:42), Tetsuo Handa wrote: [..] > This patch tries to address "don't lockup the system" with minimal risk of > failing to "print out printk() messages", by allowing printk() callers to > tell printk() "store $body_text_lines lines into logbuf but start actual > printing after $trailer

RE: [PATCH V5 1/2] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-03 Thread Anson Huang
Hi, Guenter Best Regards! Anson Huang > -Original Message- > From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter > Roeck > Sent: 2019年3月4日 10:46 > To: Anson Huang > Cc: catalin.mari...@arm.com; will.dea...@arm.com; wim@linux- > watchdog.org; shawn...@kernel.org; s.ha...@p

[PATCH v2] arm64: dts: ls1088a: add one more thermal zone node

2019-03-03 Thread Yuantian Tang
Ls1088a has 2 thermal sensors, core cluster and SoC platform. Core cluster sensor is used to monitor the temperature of core and SoC platform is for platform. The current dts only support the first sensor. This patch adds the second sensor node to dts to enable it. Signed-off-by: Yuantian Tang --

Re: [PATCH] printk/console: Do not suppress information about dropped messages

2019-03-03 Thread Sergey Senozhatsky
On (02/27/19 09:30), Petr Mladek wrote: > Good point! There is a simple fix for this. We could print the warning > also when all messages are proceed and we are about to leave > the for-cycle. I'd prefer to have lost-messages reporting be less of a summary and more of an "error". I think the soone

linux-next: manual merge of the drivers-x86 tree with the watchdog tree

2019-03-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drivers-x86 tree got a conflict in: include/linux/platform_data/mlxreg.h between commit: 9f03161a1bd8 ("platform_data/mlxreg: additions for Mellanox watchdog driver.") from the watchdog tree and commit: 9b28aa1d0eae ("platform_data/mlxreg: Documen

[PATCH] net: xfrm: Fix potential oops in xfrm_user_rcv_msg and array out of bounds

2019-03-03 Thread Su Yanjun
When i review xfrm_user.c code, i found some potentical bug in it. In xfrm_user_rcvmsg if type parameter from user space is set to XFRM_MSG_MAX or XFRM_MSG_NEWSADINFO or XFRM_MSG_NEWSPDINFO. It will cause xfrm_user_rcv_msg referring to null entry in xfrm_dispatch array. Signed-off-by: Su Yanjun

[PATCH 00/20] origanize Chinese kernel docs

2019-03-03 Thread Alex Shi
The following patch aims to upstream kernel doc. you can view them with the link http://176.122.172.82/translations/zh_CN/index.html Or make and review docs on your self box: make htmldocs SPHINXDIRS=translations/zh_CN lynx Documentation/output/translations/zh_CN/index.html

[PATCH 01/20] docs/zh_CN: add disclaimer file

2019-03-03 Thread Alex Shi
This a disclaimer file which will be included in Chinese files as header. To reduce the same common contents copy. Most of contents quoted from Federico Vaga's file: Documentation/translations/it_IT/disclaimer-ita.rst. Thanks a lot! Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc:

[PATCH 20/20] docs/zh_CN: format stable-api-nonsense

2019-03-03 Thread Alex Shi
to make it follow rst format and readble in html etc doc making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/stable-api-nonsense.rst | 32 --- 1 file changed,

[PATCH 05/20] docs/zh_CN: rename HOWTO into process directory

2019-03-03 Thread Alex Shi
Make it available in htmldocs Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- Documentation/translations/zh_CN/process/{HOWTO => howto.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Docume

[PATCH 13/20] docs/zh_CN: rename volatile-consider-harmful doc

2019-03-03 Thread Alex Shi
Make it available for html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Bryan Wu Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- ...ile-considered-harmful.txt => volatile-considered-harmful.rst} | 0 1 file changed, 0 insertions(+), 0 deletion

[PATCH 18/20] docs/zh_CN: format the magic-number doc as rst

2019-03-03 Thread Alex Shi
to Make it readble in html etc doc making. And fix the wrong translation for 'number' in form. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Jia Wei Wei Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/magic-number.rst| 210

[PATCH 06/20] docs/zh_CN: howto format changes

2019-03-03 Thread Alex Shi
also with few contents changes Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../translations/zh_CN/process/howto.rst | 37 --- 1 file changed, 15 insertions(+), 22 deletions(-) diff

[PATCH 09/20] docs/zh_CN: rename stable_kernel_rules doc

2019-03-03 Thread Alex Shi
This patch renamed stable_kernel_rules.txt to stable-kernel-rules.rst Make it available in htmldocs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/{stable_kernel_rules.txt => stab

[PATCH 19/20] docs/zh_CN: rename stable_api_nonsense.txt as stable-api-nonsense.rst

2019-03-03 Thread Alex Shi
make it available in html etc doc making Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/{stable_api_nonsense.txt => stable-api-nonsense.rst} | 0 1 file changed, 0 insertions(+), 0 deleti

[PATCH 04/20] docs/zh_CN: add index file into process dir

2019-03-03 Thread Alex Shi
Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../translations/zh_CN/process/index.rst | 55 +++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/translations/zh_CN/process/index.r

[PATCH 17/20] docs/zh_CN: rename magic-numbers as rst doc

2019-03-03 Thread Alex Shi
to Make it available in html etc doc making Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Jia Wei Wei Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{magic-number.txt => magic-number.rst} | 0 1 file changed, 0 insertions(+), 0 delet

[PATCH 10/20] docs/zh_CN: rst format change for stable-kernel-rules

2019-03-03 Thread Alex Shi
to Make it readble with rst format. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/stable-kernel-rules.rst | 32 +-- 1 file changed, 15 insertions(+), 17 deletio

[PATCH 15/20] docs/zh_CN: rename SubmittingDrivers

2019-03-03 Thread Alex Shi
Rename the file to make it available in html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{SubmittingDrivers => submitting-drivers.rst} | 0 1 file changed, 0 insertio

[PATCH 16/20] docs/zh_CN: format submitting drivers as rst

2019-03-03 Thread Alex Shi
to Make it readble for html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/submitting-drivers.rst | 30 +++ 1 file changed, 11 insertions(+), 19 delet

[PATCH 14/20] docs/zh_CN: volatile doc format changes

2019-03-03 Thread Alex Shi
make it readble as rst format for html etc doc making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Bryan Wu Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/volatile-considered-harmful.rst | 35 --- 1 file changed, 14 insertions(+

[PATCH 12/20] docs/zh_CN: do rst format for email-clients.rst

2019-03-03 Thread Alex Shi
Make it readble as rst format. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/email-clients.rst | 53 --- 1 file changed, 22 insertions(+), 31 deletions(-) diff --git a/Docum

[PATCH 03/20] docs/zh_CN: change Chinese index to know process dir

2019-03-03 Thread Alex Shi
And add some description translation in index file. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- Documentation/translations/zh_CN/index.rst | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) dif

[PATCH 08/20] docs/zh_CN: format the submitting-patches doc to rst

2019-03-03 Thread Alex Shi
And remove Enghlish explainations in the docs, which it isn't necessary in Chinese doc. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/submitting-patches.rst | 36 +++---

[PATCH 02/20] docs/zh_CN: move process related docs into process dir

2019-03-03 Thread Alex Shi
Much process documents spread here isn't neat. It's good to put them together in their directory: process So create 'process' directory and move docs: email-clients stable_kernel_rules stable_api_nosense submittingpatches submittingdrivers HOWTO volatile-considered-harmful

Re: [f2fs-dev] [PATCH] f2fs: fix to do sanity check with inode.i_inline_xattr_size

2019-03-03 Thread Sahitya Tummala
On Fri, Mar 01, 2019 at 03:38:05PM +0800, Chao Yu wrote: > As Paul Bandha reported in bugzilla: > > https://bugzilla.kernel.org/show_bug.cgi?id=202709 > > When I run the poc on the mounted f2fs img I get a buffer overflow in > read_inline_xattr due to there being no sanity check on the value of >

[PATCH 07/20] docs/zh_CN: rename SubmittingPatches for html links

2019-03-03 Thread Alex Shi
renamed:Documentation/translations/zh_CN/process/SubmittingPatches -> Documentation/translations/zh_CN/process/submitting-patches.rst For htmldoc links. And will change the doc format to rst. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Sh

[PATCH 11/20] docs/zh_CN: rename email-clients.txt as email-clients.rst

2019-03-03 Thread Alex Shi
Make it available for html etc docs. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{email-clients.txt => email-clients.rst}| 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Document

Re: [RFT][PATCH 0/2] cpufreq: intel_pstate: Handle _PPC updates on global turbo disable/enable

2019-03-03 Thread Srinivas Pandruvada
On Sun, 2019-03-03 at 22:51 +0100, Rafael J. Wysocki wrote: > On Sun, Mar 3, 2019 at 10:20 PM Srinivas Pandruvada > wrote: > > > > On Sun, 2019-03-03 at 18:03 +0100, Rafael J. Wysocki wrote: > > > On Fri, Mar 1, 2019 at 6:39 PM Srinivas Pandruvada > > > wrote: > > > > > > > > On Fri, 2019-03-01

Re: A quesiton about commit 3a63f70bf4c3

2019-03-03 Thread Baoquan He
On 03/04/19 at 09:27am, Chao Fan wrote: > On Fri, Mar 01, 2019 at 02:06:31PM +0800, Baoquan He wrote: > > > >Hi Chao, > Hi Baoquan, > > Sorry for late reply, I was away from keyboard last Friday. > Your change looks good, I think you can format it as a real PATCH. Thx, sent.

[PATCH] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Baoquan He
The declarations related to immovable memory handling are put out of Signed-off-by: Baoquan He --- arch/x86/boot/compressed/misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/compressed/misc.h b/arch/x86/boot/compressed/misc.h index fd13655e0f9b..8bbaf36

[PATCH V6 1/2] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-03 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and watchdog etc.. This patch adds i.MX system controller watchdog driver support, watchdog operation needs to be done in secure EL3 mode via ARM-Trusted-Firmware

[PATCH V6 2/2] arm64: defconfig: add support for i.MX system controller watchdog

2019-03-03 Thread Anson Huang
Enable CONFIG_IMX_SC_WDT as module to support i.MX system controller watchdog. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2d9c390..690f4ba 100644

[PATCH] regulator: tps65217: Simplify linear range for selector 25-52

2019-03-03 Thread Axel Lin
The original code separates the selector 25-52 into 2 ranges on purpose because DCDC1/DCDC3 only support up to 1.8V/1.5V in the old code. Both DCDC1 and DCDC3 support up to 3.3V since commit b4c2e158a1e1 ("regulator: tps65217: Allow DCDC1 and DCDC3 up to 3.3V"), so merge 25-30 and 31-52 ranges to o

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-03 Thread Parav Pandit
> -Original Message- > From: Jakub Kicinski > Sent: Friday, March 1, 2019 2:04 PM > To: Parav Pandit ; Or Gerlitz > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > michal.l...@markovi.net; da...@davemloft.net; > gre...@linuxfoundation.org; Jiri Pirko > Subject: Re: [RFC ne

Re: [PATCH net-next v2] net: dsa: Use prepare/commit phase in dsa_slave_vlan_rx_add_vid()

2019-03-03 Thread David Miller
From: Florian Fainelli Date: Fri, 1 Mar 2019 10:37:25 -0800 > We were skipping the prepare phase which causes some problems with at > least a couple of drivers: > > - mv88e6xxx chooses to skip programming VID = 0 with -EOPNOTSUPP in > the prepare phase, but we would still try to force this VI

Re: [RFC PATCH nand-next 0/2] meson-nand: support for older SoCs

2019-03-03 Thread Liang Yang
Hello Martin, On 2019/3/2 2:29, Martin Blumenstingl wrote: Hi Liang, I am trying to add support for older SoCs to the meson-nand driver. Back when the driver was in development I used an early revision (of your driver) and did some modifications to make it work on older SoCs. Now that the driv

<    1   2   3   4   >