Re: [PATCH v4 13/16] PM / devfreq: tegra: Support Tegra30

2019-06-24 Thread MyungJoo Ham
> On Thu, May 02, 2019 at 02:38:12AM +0300, Dmitry Osipenko wrote: > > The devfreq driver can be used on Tegra30 without any code change and > > it works perfectly fine, the default Tegra124 parameters are good enough > > for Tegra30. > > > > Reviewed-by: Chanwoo Choi > > Signed-off-by: Dmitry Os

Re: Opportunistic S0ix blocked by e1000e when ethernet is in use

2019-06-24 Thread Kai-Heng Feng
Hi Jeffrey, at 19:08, Kai-Heng Feng wrote: Hi Jeffrey, There are several platforms that uses e1000e can’t enter Opportunistic S0ix (PC10) when the ethernet has a link partner. This behavior also exits in out-of-tree e1000e driver 3.4.2.1, but seems like 3.4.2.3 fixes the issue. A quic

Re: [PATCH] mmc: remove another TMIO MMC variant usdhi6rol0.c

2019-06-24 Thread Lars Persson
On Fri, Jun 21, 2019 at 12:50 PM Wolfram Sang wrote: > > Hi, > > On Fri, Jun 21, 2019 at 03:16:11PM +0900, Masahiro Yamada wrote: > > (Added Lars Persson, Guennadi Liakhovetski) > > > > On Fri, Jun 21, 2019 at 3:06 PM Masahiro Yamada > > wrote: > > > > This needs Ack from Renesas. > > But, I do n

[PATCH v2] dt-binding: mmc: rename tmio_mmc.txt to renesas,sdhi.txt

2019-06-24 Thread Masahiro Yamada
As commit b6147490e6aa ("mmc: tmio: split core functionality, DMA and MFD glue") said, these MMC controllers use the IP from Panasonic. TMIO (Toshiba Mobile IO) MMC was the first upstreamed user of this IP. The common driver code was split and expanded as 'tmio-mmc-core', then it became historical

linux-next: manual merge of the usb tree with the pci tree

2019-06-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the usb tree got a conflict in: Documentation/index.rst between commit: c42eaffa1656 ("Documentation: add Linux PCI to Sphinx TOC tree") from the pci tree and commit: ecefae6db042 ("docs: usb: rename files to .rst and add them to drivers-api") from t

RE: [EXT] Re: [PATCH v7 1/5] usb: fsl: Set USB_EN bit to select ULPI phy

2019-06-24 Thread Yinbo Zhu
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: 2019年6月20日 20:11 > To: Yinbo Zhu > Cc: Alan Stern ; Xiaobo Xie ; > Jiafei Pan ; Ramneek Mehresh > ; Nikhil Badola > ; Ran Wang ; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject

Re: [PATCH] s390/cio: introduce driver_override on the css bus

2019-06-24 Thread Cornelia Huck
On Fri, 21 Jun 2019 18:19:36 +0200 (CEST) Sebastian Ott wrote: > On Thu, 13 Jun 2019, Cornelia Huck wrote: > > Sometimes, we want to control which of the matching drivers > > binds to a subchannel device (e.g. for subchannels we want to > > handle via vfio-ccw). > > > > For pci devices, a mechan

Re: [PATCH v1] OPP: Fix crashing when current OPP has unsupportable voltage

2019-06-24 Thread Viresh Kumar
On 23-06-19, 20:50, Dmitry Osipenko wrote: > Fix NULL dereference caused by a typo in the code. In particular it > happens when CPU is running on a frequency which has unsupportable voltage > (by regulator) defined in the OPP table and a custom set_opp() callback is > being used. The problem was sp

[PATCH v8 3/5] usb: linux/fsl_device: Add platform member has_fsl_erratum_a006918

2019-06-24 Thread Yinbo Zhu
This patch is to add member has_fsl_erratum_a006918 in platform data Signed-off-by: Yinbo Zhu --- include/linux/fsl_devices.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index cb2b46f57af3..5d231ce8709b 100644 --- a/include/linux/

[PATCH v8 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-06-24 Thread Yinbo Zhu
From: Ramneek Mehresh USB erratum-A006918 workaround tries to start internal PHY inside uboot (when PLL fails to lock). However, if the workaround also fails, then USB initialization is also stopped inside Linux. Erratum-A006918 workaround failure creates "fsl,erratum_a006918" node in device-tree

[PATCH v8 5/5] usb :fsl: Change string format for errata property

2019-06-24 Thread Yinbo Zhu
From: Nikhil Badola Remove USB errata checking code from driver. Applicability of erratum is retrieved by reading corresponding property in device tree. This property is written during device tree fixup. Signed-off-by: Ramneek Mehresh Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu ---

Re: [PATCH] mfd: stmfx.h: typo in the header guard

2019-06-24 Thread Amelie DELAUNAY
On 6/23/19 4:44 PM, Denis Efremov wrote: > The guard macro MFX_STMFX_H in the header stmfx.h > doesn't match the #ifndef macro MFD_STMFX_H. The patch > fixes the typo. > > Signed-off-by: Denis Efremov > --- > include/linux/mfd/stmfx.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH v8 2/5] usb: phy: Workaround for USB erratum-A005728

2019-06-24 Thread Yinbo Zhu
From: Suresh Gupta PHY_CLK_VALID bit for UTMI PHY in USBDR does not set even if PHY is providing valid clock. Workaround for this involves resetting of PHY and check PHY_CLK_VALID bit multiple times. If PHY_CLK_VALID bit is still not set even after 5 retries, it would be safe to deaclare that PHY

[PATCH v8 1/5] usb: fsl: Set USB_EN bit to select ULPI phy

2019-06-24 Thread Yinbo Zhu
From: Nikhil Badola Set USB_EN bit to select ULPI phy for USB controller version 2.5 Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu --- Change in v2: replace Yinbo.Zhu with Yinbo Zhu. Change in v3: Code base already has patch[5/6], so remove it. Change i

Re: [PATCH v2 3/4] ARM: dts: exynos: Add regulator suspend configuration to Odroid XU3/XU4/HC1 family

2019-06-24 Thread Marek Szyprowski
Hi Anand, On 2019-06-23 18:02, Anand Moon wrote: > Thanks for this patch. Please add my > > Tested-by: Anand Moon > > [snip] > > Could you integrate below small changes into this patch. > with these below changes suspend and resume work correctly at my end. > > [1] XU4_suspendresume.patch > > As

[PATCH v5 3/4] crypto: talitos - fix hash on SEC1.

2019-06-24 Thread Christophe Leroy
On SEC1, hash provides wrong result when performing hashing in several steps with input data SG list has more than one element. This was detected with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS: [ 44.185947] alg: hash: md5-talitos test failed (wrong result) on test vector 6, cfg="random: may_sleep use_f

Re: [RFC v3 0/2] clocksource: davinci-timer: new driver

2019-06-24 Thread Bartosz Golaszewski
pon., 24 cze 2019 o 07:40 Daniel Lezcano napisał(a): > > > Sekhar, Bartosz, > > if the sparse warning is not fixed, the driver won't hit this kernel > version. Please fix it before the two next days otherwise it won't make > it for v5.4. > > Thanks > Hi Daniel, will do, I just came back to the o

Re: remove asm-generic/ptrace.h v3

2019-06-24 Thread Thomas Gleixner
On Mon, 24 Jun 2019, Christoph Hellwig wrote: > > asm-generic/ptrace.h is a little weird in that it doesn't actually > implement any functionality, but it provided multiple layers of macros > that just implement trivial inline functions. We implement those > directly in the few architectures and

Re: [PATCH 4/5] x86: don't use asm-generic/ptrace.h

2019-06-24 Thread Thomas Gleixner
On Mon, 24 Jun 2019, Christoph Hellwig wrote: > Doing the indirection through macros for the regs accessors just > makes them harder to read, so implement the helpers directly. > > Note that only the helpers actually used are implemented now. > > Signed-off-by: Christoph Hellwig > Acked-by: Ing

memory leak in h4_recv_buf

2019-06-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1054e6b2a0 kernel config: https://syzkaller.appspot.com/x/.config?x=56f1da14935c3cce da

memory leak in sctp_v4_create_accept_sk

2019-06-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13470eb2a0 kernel config: https://syzkaller.appspot.com/x/.config?x=56f1da14935c3cce da

INFO: rcu detected stall in write_comp_data

2019-06-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17246026a0 kernel config: https://syzkaller.appspot.com/x/.config?x=e5c77f8090a3b96b da

Re: [RFC PATCH] arm64: dts: fsl: wandboard: Add a device tree for the PICO-PI-IMX8M

2019-06-24 Thread Daniel Baluta
On Mon, 2019-06-24 at 08:52 +0300, Matti Vaittinen wrote: > Hello Richard, > > Nice to see you upstreaming this! Thumbs up! > > Just few remarks to pmic node from me: > > Thanks a lot Matti for review. I am working together with Andra for a Google Summer of Code project. The first step of th

Re: [kernel/isolation] c427534e48: BUG:kernel_NULL_pointer_dereference,address

2019-06-24 Thread Peter Zijlstra
On Sat, Jun 22, 2019 at 09:43:42AM +1000, Nicholas Piggin wrote: > kernel test robot's on June 21, 2019 6:20 pm: > > If you fix the issue, kindly add following tag > > Reported-by: kernel test robot > > > > > > [0.562433] BUG: kernel NULL pointer dereference, address: > >

Re: [PATCH -mm] mm, swap: Fix THP swap out

2019-06-24 Thread Ming Lei
On Mon, Jun 24, 2019 at 12:44:41PM +0800, Huang, Ying wrote: > Ming Lei writes: > > > Hi Huang Ying, > > > > On Mon, Jun 24, 2019 at 10:23:36AM +0800, Huang, Ying wrote: > >> From: Huang Ying > >> > >> 0-Day test system reported some OOM regressions for several > >> THP (Transparent Huge Page)

Re: [PATCH 2/6] thermal/drivers/cpu_cooling: Unregister with the policy

2019-06-24 Thread Daniel Lezcano
On 24/06/2019 08:03, Viresh Kumar wrote: > On 21-06-19, 15:22, Daniel Lezcano wrote: >> Currently the function cpufreq_cooling_register() returns a cooling >> device pointer which is used back as a pointer to call the function >> cpufreq_cooling_unregister(). Even if it is correct, it would make >>

Re: [RFC v3 0/2] clocksource: davinci-timer: new driver

2019-06-24 Thread Sekhar Nori
On 24/06/19 12:51 PM, Bartosz Golaszewski wrote: > pon., 24 cze 2019 o 07:40 Daniel Lezcano > napisał(a): >> >> >> Sekhar, Bartosz, >> >> if the sparse warning is not fixed, the driver won't hit this kernel >> version. Please fix it before the two next days otherwise it won't make >> it for v5.4.

Re: [PATCH 1/2] arm64: dts: rockchip: Fix multiple thermal zones conflict in rk3399.dtsi

2019-06-24 Thread Daniel Lezcano
Gentle ping ... On 04/06/2019 18:57, Daniel Lezcano wrote: > Currently the common thermal zones definitions for the rk3399 assumes > multiple thermal zones are supported by the governors. This is not the > case and each thermal zone has its own governor instance acting > individually without co

Re: [PATCH -mm] mm, swap: Fix THP swap out

2019-06-24 Thread Huang, Ying
Ming Lei writes: > On Mon, Jun 24, 2019 at 12:44:41PM +0800, Huang, Ying wrote: >> Ming Lei writes: >> >> > Hi Huang Ying, >> > >> > On Mon, Jun 24, 2019 at 10:23:36AM +0800, Huang, Ying wrote: >> >> From: Huang Ying >> >> >> >> 0-Day test system reported some OOM regressions for several >> >

Re: [PATCH 1/2] thermal/drivers/core: Add init section table for self-encapsulation

2019-06-24 Thread Daniel Lezcano
Any chance this patch gets merged for v5.4? Thanks -- Daniel On 12/06/2019 22:13, Daniel Lezcano wrote: > Currently the governors are declared in their respective files but they > export their [un]register functions which in turn call the [un]register > governors core's functions. That implie

Re: [PATCH 10/15] ARM: orion5x: cleanup cppcheck shifting errors

2019-06-24 Thread Gregory CLEMENT
Hi Phong, > [arch/arm/mach-orion5x/pci.c:281]: (error) Shifting signed 32-bit value > by 31 bits is undefined behaviour > [arch/arm/mach-orion5x/pci.c:305]: (error) Shifting signed 32-bit value > by 31 bits is undefined behaviour > While Andrew was Ok with this version, I will wait for your v2 us

Re: [PATCH V10 11/15] arm64: tegra: Add P2U and PCIe controller nodes to Tegra194 DT

2019-06-24 Thread Vidya Sagar
On 6/20/2019 4:25 PM, Thierry Reding wrote: On Wed, Jun 12, 2019 at 03:23:35PM +0530, Vidya Sagar wrote: Add P2U (PIPE to UPHY) and PCIe controller nodes to device tree. The Tegra194 SoC contains six PCIe controllers and twenty P2U instances grouped into two different PHY bricks namely High-Spee

RE: [EXT] Re: [PATCH] dt-bindings: thermal: Make cooling-maps property optional

2019-06-24 Thread Andy Tang
Hi Edubezval, Rui, Are you going to pick up this patch? BR, Andy > -Original Message- > From: Daniel Lezcano > Sent: 2019年6月4日 14:04 > To: Andy Tang ; rui.zh...@intel.com; > edubez...@gmail.com > Cc: robh...@kernel.org; mark.rutl...@arm.com; linux...@vger.kernel.org; > devicet...@vger.k

Re: [PATCH v4 13/16] PM / devfreq: tegra: Support Tegra30

2019-06-24 Thread MyungJoo Ham
> >A question: > >Does this driver support Tegra20 as well? >I'm asking this because ARCH_TEGRA includes ARCH_TEGRA_2x_SOC >according to /drivers/soc/tegra/Kconfig. > For this matter, how about updating your 13/16 patch as follows? --- drivers/devfreq/Kconfig | 4 ++-- drivers/devfreq

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

2019-06-24 Thread Greg KH
On Mon, Jun 24, 2019 at 05:12:29PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the usb tree got a conflict in: > > Documentation/index.rst > > between commit: > > c42eaffa1656 ("Documentation: add Linux PCI to Sphinx TOC tree") > > from the pci tree and commit:

Re: Alternatives to /sys/kernel/debug/wakeup_sources

2019-06-24 Thread Greg Kroah-Hartman
On Sun, Jun 23, 2019 at 06:48:43PM -0700, Tri Vo wrote: > On Wed, Jun 19, 2019 at 1:35 AM Rafael J. Wysocki wrote: > > > > On Wed, Jun 19, 2019 at 1:52 AM Joel Fernandes wrote: > > > > > > On Tue, Jun 18, 2019 at 7:15 PM Tri Vo wrote: > > > [snip] > > > > > > > > > > > > > > > > Android userspac

Re: [PATCH v2] mtd: spinand: read return badly if the last page has bitflips

2019-06-24 Thread Schrempf Frieder
On 20.06.19 03:00, liaoweixiong wrote: > In case of the last page containing bitflips (ret > 0), > spinand_mtd_read() will return that number of bitflips for the last > page. But to me it looks like it should instead return max_bitflips like > it does when the last page read returns with 0. > > Si

Re: [PATCH 2/6] thermal/drivers/cpu_cooling: Unregister with the policy

2019-06-24 Thread Viresh Kumar
On 24-06-19, 09:30, Daniel Lezcano wrote: > On 24/06/2019 08:03, Viresh Kumar wrote: > > On 21-06-19, 15:22, Daniel Lezcano wrote: > >> Currently the function cpufreq_cooling_register() returns a cooling > >> device pointer which is used back as a pointer to call the function > >> cpufreq_cooling_u

linux-next: build failure after merge of the staging tree

2019-06-24 Thread Stephen Rothwell
Hi all, After merging the staging tree, today's linux-next build (arm multi_v7_defconfig) failed like this: lib/Kconfig:132:error: recursive dependency detected! lib/Kconfig:132:symbol CRC32 is selected by XZ_DEC lib/xz/Kconfig:2: symbol XZ_DEC is selected by FW_LOADER_COMPRESS driv

Re: [PATCH v2 5/8] staging: erofs: introduce generic decompression backend

2019-06-24 Thread Chao Yu
On 2019/6/21 18:42, Gao Xiang wrote: > Hi Chao, > > On 2019/6/21 17:46, Chao Yu wrote: >> On 2019/6/21 0:07, Gao Xiang wrote: >>> This patch adds a new generic decompression framework >>> in order to replace the old LZ4-specific decompression code. >>> >>> Even though LZ4 is still the only support

Re: [PATCH v2 3/4] ARM: dts: exynos: Add regulator suspend configuration to Odroid XU3/XU4/HC1 family

2019-06-24 Thread Krzysztof Kozlowski
On Mon, 24 Jun 2019 at 09:20, Marek Szyprowski wrote: > > Hi Anand, > > On 2019-06-23 18:02, Anand Moon wrote: > > Thanks for this patch. Please add my > > > > Tested-by: Anand Moon > > > > [snip] > > > > Could you integrate below small changes into this patch. > > with these below changes suspen

Re: [PATCH v7 00/25] Unify vDSOs across more architectures

2019-06-24 Thread Thomas Gleixner
On Sun, 23 Jun 2019, Andy Lutomirski wrote: > On Sun, Jun 23, 2019 at 5:34 PM Thomas Gleixner wrote: > > +GENERIC VDSO LIBRARY: > > +M: Andy Lutomirksy > > Lutomirski, perhaps? Ooops. Where did I copy that from? > Although I do appreciate the opportunity to say "not me!" :) You just gave

Re: [PATCH v5 02/25] mm: userfault: return VM_FAULT_RETRY on signals

2019-06-24 Thread Peter Xu
On Sat, Jun 22, 2019 at 11:02:48AM -0700, Linus Torvalds wrote: > So I still think this all *may* ok, but at a minimum some of the > comments are misleading, and we need more docs on what happens with > normal signals. > > I'm picking on just the first one I noticed, but I think there were > other

Re: [PATCH 2/6] thermal/drivers/cpu_cooling: Unregister with the policy

2019-06-24 Thread Daniel Lezcano
On 24/06/2019 09:37, Viresh Kumar wrote: > On 24-06-19, 09:30, Daniel Lezcano wrote: >> On 24/06/2019 08:03, Viresh Kumar wrote: >>> On 21-06-19, 15:22, Daniel Lezcano wrote: Currently the function cpufreq_cooling_register() returns a cooling device pointer which is used back as a pointer

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

2019-06-24 Thread Stephen Rothwell
Hi Greg, On Mon, 24 Jun 2019 15:34:43 +0800 Greg KH wrote: > > No patch "below", but I'm sure the fixup is fine :) Sorry about that (not sure what happened). See below (t is trivial). -- Cheers, Stephen Rothwell diff --cc Documentation/index.rst index 239100accbf6,91055adde327..

Re: [alsa-devel] [PATCH v2 09/11] ASoC: Intel: hdac_hdmi: Set ops to NULL on remove

2019-06-24 Thread Amadeusz Sławiński
On Thu, 20 Jun 2019 08:17:33 +0200 Pierre-Louis Bossart wrote: > > Could you please give a bit more context on what error you see > > when this happens? > > Hi, > > I get Oops. This is what happens with all other patches in this > series and only this one revert

linux-next: manual merge of the cgroup tree with the block tree

2019-06-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the cgroup tree got a conflict in: Documentation/block/bfq-iosched.txt between commit: 8060c47ba853 ("block: rename CONFIG_DEBUG_BLK_CGROUP to CONFIG_BFQ_CGROUP_DEBUG") from the block tree and commit: 99c8b231ae6c ("docs: cgroup-v1: convert docs to R

Re: [PATCH] perf cgroups: Don't rotate events for cgroups unnecessarily

2019-06-24 Thread Peter Zijlstra
On Fri, Jun 21, 2019 at 11:01:29AM -0700, Ian Rogers wrote: > On Fri, Jun 21, 2019 at 1:24 AM Peter Zijlstra wrote: > > > > On Sat, Jun 01, 2019 at 01:27:22AM -0700, Ian Rogers wrote: > > > @@ -3325,6 +3331,15 @@ static int flexible_sched_in(struct perf_event > > > *event, void *data) > > >

[PATCH -mm -V2] mm, swap: Fix THP swap out

2019-06-24 Thread Huang, Ying
From: Huang Ying 0-Day test system reported some OOM regressions for several THP (Transparent Huge Page) swap test cases. These regressions are bisected to 6861428921b5 ("block: always define BIO_MAX_PAGES as 256"). In the commit, BIO_MAX_PAGES is set to 256 even when THP swap is enabled. So t

Re: [PATCH v4 4/7] perf diff: Use hists to manage basic blocks per symbol

2019-06-24 Thread Jiri Olsa
On Thu, Jun 20, 2019 at 10:36:39PM +0800, Jin Yao wrote: SNIP > + > +static void *block_entry_zalloc(size_t size) > +{ > + return zalloc(size + sizeof(struct hist_entry)); > +} > + > +static void block_entry_free(void *he) > +{ > + struct block_info *bi = ((struct hist_entry *)he)->block_

Re: [PATCH] sh: prevent warnings when using iounmap

2019-06-24 Thread Geert Uytterhoeven
Hi Sam, On Sat, Jun 22, 2019 at 1:45 PM Sam Ravnborg wrote: > When building drm/exynos for sh, as part of an allmodconfig build, > the following warning triggered: > > exynos7_drm_decon.c: In function ‘decon_remove’: > exynos7_drm_decon.c:769:24: warning: unused variable ‘ctx’ > struct de

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

2019-06-24 Thread Jozsef Kadlecsik
Hi Stephen, Sorry, that was my fault. When reviewing and applying the patches in my tree, I skipped d2912cb15bdd as "comments only" and then forgot about it. Best regards, Jozsef On Mon, 24 Jun 2019, Stephen Rothwell wrote: > Today's linux-next merge of the netfilter-next tree got conflicts

Re: [RFC] perf/x86/intel: Disable check_msr for real hw

2019-06-24 Thread Paolo Bonzini
On 24/06/19 00:40, Jiri Olsa wrote: > On Fri, Jun 21, 2019 at 10:48:25AM -0700, Andi Kleen wrote: >> On Fri, Jun 14, 2019 at 01:28:53PM +0200, Jiri Olsa wrote: >>> hi, >>> the HPE server can do POST tracing and have enabled LBR >>> tracing during the boot, which makes check_msr fail falsly. >>> >>>

Re: [PATCH 2/5] clocksource/drivers/timer-microchip-pit64b: add Microchip PIT64B support

2019-06-24 Thread Daniel Lezcano
On 21/06/2019 12:34, claudiu.bez...@microchip.com wrote: > Hi Daniel, > > On 20.06.2019 11:53, Daniel Lezcano wrote: >> Hi Claudiu, >> >> sorry for the late reply. > > No problem, I understand. > >> >> >> On 13/06/2019 16:12, claudiu.bez...@microchip.com wrote: >>> Hi Daniel, >>> >>> On 31.05.20

[PATCH V3 2/5] iio: adc: ad7124: Add buffered input support

2019-06-24 Thread Mircea Caprioru
This patch adds the option to enable the buffered mode for positive and negative inputs. Each option can be enabled independently. In buffered mode, the input channel feeds into a high impedance input stage of the buffer amplifier. Therefore, the input can tolerate significant source impedances an

[PATCH V3 1/5] iio: adc: ad7124: Remove input number limitation

2019-06-24 Thread Mircea Caprioru
The driver limits the user to use only 4/8 differential inputs, but this device has the option to use pseudo-differential channels. This will increase the number of channels to be equal with the number of inputs so 8 channels for ad7124-4 and 16 for ad7124-8. This patch removes the check between c

[PATCH V3 3/5] iio: adc: ad7124: Shift to dynamic allocation for channel configuration

2019-06-24 Thread Mircea Caprioru
This patch changes the channel configuration member of the device structure from a fixed size array to a dynamic allocated one with a size equal to the number of channels specified in the device tree. This will ensure a more flexibility for compatible devices. Ex. ad7124-4 - can have 4 differentia

[PATCH V3 4/5] dt-bindings: iio: adc: Convert ad7124 documentation to YAML

2019-06-24 Thread Mircea Caprioru
Convert AD7124 bindings documentation to YAML format. Signed-off-by: Mircea Caprioru --- Changelog v2: - modified SPDX license to GPL-2.0 OR BSD-2-Clause - added regex for a range from 0 to 15 - added minimum and maximum constraints for reg property - set type and range of values for adi,referen

[PATCH V3 5/5] dt-bindings: iio: adc: Add buffered input property

2019-06-24 Thread Mircea Caprioru
This patch adds the buffered mode device tree property for positive and negative inputs. Each option can be enabled independently. In buffered mode, the input channel feeds into a high impedance input stage of the buffer amplifier. Therefore, the input can tolerate significant source impedances an

Re: [PATCH] staging: bcm2835-camera: Avoid apotential sleep while holding a spin_lock

2019-06-24 Thread Stefan Wahren
Hi Christophe, Am 24.06.2019 um 07:33 schrieb Christophe JAILLET: Do not allocate memory with GFP_KERNEL when holding a spin_lock, it may sleep. Use GFP_NOWAIT instead. Fixes: 950fd867c635 ("staging: bcm2835-camera: Replace open-coded idr with a struct idr.") Signed-off-by: Christophe JAILLET

Re: [PATCH V4 13/18] soc/tegra: pmc: allow support for more tegra wake

2019-06-24 Thread Marc Zyngier
On Mon, 24 Jun 2019 04:02:54 +0100, Sowjanya Komatineni wrote: > > This patch allows to create separate irq_set_wake and irq_set_type > implementations for different tegra designs PMC that has different > wake models which require difference wake registers and different > programming sequence. >

Re: [PATCH] [v2] ipsec: select crypto ciphers for xfrm_algo

2019-06-24 Thread Steffen Klassert
On Tue, Jun 18, 2019 at 01:22:13PM +0200, Arnd Bergmann wrote: > kernelci.org reports failed builds on arc because of what looks > like an old missed 'select' statement: > > net/xfrm/xfrm_algo.o: In function `xfrm_probe_algs': > xfrm_algo.c:(.text+0x1e8): undefined reference to `crypto_has_ahash'

BUG: workqueue leaked lock or atomic in smc_tx_work

2019-06-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16ef68aaa0 kernel config: https://syzkaller.appspot.com/x/.config?x=e5c77f8090a3b96b da

INFO: task hung in io_uring_release

2019-06-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:bed3c0d8 Merge tag 'for-5.2-rc5-tag' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1418bf0aa0 kernel config: https://syzkaller.appspot.com/x/.config?x=28ec3437a5394ee0 da

RE: [PATCH v1 9/9] smaples: add vfio-mdev-pci driver

2019-06-24 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, June 21, 2019 11:58 PM > To: Liu, Yi L > Subject: Re: [PATCH v1 9/9] smaples: add vfio-mdev-pci driver > > On Fri, 21 Jun 2019 10:23:10 + > "Liu, Yi L" wrote: > > > Hi Alex, > > > > > From: Alex Williamson

KASAN: use-after-free Read in _free_event

2019-06-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=179ccd3aa0 kernel config: https://syzkaller.appspot.com/x/.config?x=e5c77f8090a3b96b da

Re: [PATCH 2/9] blkcg, writeback: Add wbc->no_wbc_acct

2019-06-24 Thread Jan Kara
Hello Tejun! On Thu 20-06-19 10:02:50, Tejun Heo wrote: > On Thu, Jun 20, 2019 at 05:21:45PM +0200, Jan Kara wrote: > > I'm completely ignorant of how btrfs compressed writeback works so don't > > quite understand implications of this. So does this mean that writeback to > > btrfs compressed files

Re: [RFC/RFT 14/14] arm64: dts: meson-g12b-odroid-n2: enable DVFS

2019-06-24 Thread Neil Armstrong
On 20/06/2019 17:00, Neil Armstrong wrote: > Enable DVFS for the Odroid-N2 by setting the clock, OPP and supply > for each cores of each CPU clusters. > > The first cluster uses the "VDDCPU_B" power supply, and the second > cluster uses the "VDDCPU_A" power supply. > > Each power supply can achie

Re: [PATCH] node: Fix warning while make xmldocs

2019-06-24 Thread Rafael J. Wysocki
On Mon, Jun 24, 2019 at 5:58 AM Masanari Iida wrote: > > This patch fixes following warning while make xmldocs. > ./drivers/base/node.c:690: warning: Excess function parameter > 'mem_node' description in 'register_memory_node_under_compute_node' > ./drivers/base/node.c:690: warning: Excess functi

Re: [PATCH 05/13] vfs: don't parse "silent" option

2019-06-24 Thread Miklos Szeredi
On Thu, Jun 20, 2019 at 6:40 AM Ian Kent wrote: > > On Wed, 2019-06-19 at 14:30 +0200, Miklos Szeredi wrote: > > While this is a standard option as documented in mount(8), it is ignored by > > most filesystems. So reject, unless filesystem explicitly wants to handle > > it. > > > > The exception

Re: [PATCH] mm/hugetlb: allow gigantic page allocation to migrate away smaller huge page

2019-06-24 Thread Anshuman Khandual
On 06/24/2019 11:40 AM, Pingfan Liu wrote: > On Mon, Jun 24, 2019 at 1:16 PM Anshuman Khandual > wrote: >> >> >> >> On 06/24/2019 09:51 AM, Pingfan Liu wrote: >>> The current pfn_range_valid_gigantic() rejects the pud huge page allocation >>> if there is a pmd huge page inside the candidate ran

Re: [PATCHv3 1/1] coresight: Do not default to CPU0 for missing CPU phandle

2019-06-24 Thread Suzuki K Poulose
Sai, Thanks for getting this done. On 24/06/2019 04:36, Sai Prakash Ranjan wrote: Coresight platform support assumes that a missing "cpu" phandle defaults to CPU0. This could be problematic and unnecessarily binds components to CPU0, where they may not be. Let us make the DT binding rules a bit

Re: [PATCH][next] clocksource: davinci-timer: fix memory leak of clockevent on error return

2019-06-24 Thread Bartosz Golaszewski
pon., 17 cze 2019 o 13:31 Colin King napisał(a): > > From: Colin Ian King > > Currently when the call to request_irq falls there is a memory leak of > clockevent on the error return path. Fix this by kfree'ing clockevent. > > Addresses-Coverity: ("Resource leak") > Fixes: fe3b8194f274 ("clocksour

Re: [PATCH] drivers: Adjust scope for CONFIG_HAS_IOMEM before devm_platform_ioremap_resource()

2019-06-24 Thread Bartosz Golaszewski
pt., 14 cze 2019 o 18:50 Markus Elfring napisał(a): > > From: Markus Elfring > Date: Fri, 14 Jun 2019 17:45:13 +0200 > > Move the preprocessor statement “#ifdef CONFIG_HAS_IOMEM” so that > the corresponding scope for conditional compilation includes also comments > for this function implementatio

Re: [PATCH v2 00/28] drivers: Consolidate device lookup helpers

2019-06-24 Thread Suzuki K Poulose
Greg, On 24/06/2019 04:23, Greg KH wrote: On Fri, Jun 14, 2019 at 06:53:55PM +0100, Suzuki K Poulose wrote: We have device iterators to find a particular device matching a criteria for a given bus/class/driver. i.e, {bus,class,driver}_find_device() APIs. The matching criteria is a function poin

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-06-24 Thread John Ogness
Hi Petr, On 2019-06-21, Petr Mladek wrote: > I am still scratching head around this. Anyway, I wanted to > write something. I am sorry that the answer is really long. > I do not know how to write it more effectively. No need to apologize (to me) for long answers. > 1. Linked list of descriptors

Re: [PATCH RFC] kvm: x86: Expose AVX512_BF16 feature to guest

2019-06-24 Thread Paolo Bonzini
On 24/06/19 05:10, Jing Liu wrote: >> What do you think about @index in current function? Does it mean, we >> need put cpuid from index to max subleaf to @entry[i]? If so, the logic >> seems as follows, >> >> if (index == 0) { >> // Put subleaf 0 into @entry >> // Put subleaf 1 into @entr

[PATCH net-next] can: dev: call netif_carrier_off() in register_candev()

2019-06-24 Thread Rasmus Villemoes
CONFIG_CAN_LEDS is deprecated. When trying to use the generic netdev trigger as suggested, there's a small inconsistency with the link property: The LED is on initially, stays on when the device is brought up, and then turns off (as expected) when the device is brought down. Make sure the LED alwa

Re: [PATCH v2 13/28] drivers: Introduce class_find_device_by_of_node() helper

2019-06-24 Thread Suzuki K Poulose
Hi Peter, On 22/06/2019 06:25, Peter Rosin wrote: On 2019-06-14 19:54, Suzuki K Poulose wrote: Add a wrapper to class_find_device() to search for a device by the of_node pointer, reusing the generic match function. Also convert the existing users to make use of the new helper. Cc: Alan Tull C

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

2019-06-24 Thread Alexander Shishkin
syzbot writes: > Unfortunately, I don't have any reproducer for this crash yet. > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+37100ea87beb0cac2...@syzkaller.appspotmail.com > > =

Re: [PATCH -next v2] mm/hotplug: fix a null-ptr-deref during NUMA boot

2019-06-24 Thread Pingfan Liu
Hi Michal, What about dropping the change of the online definition of your patch, just do the following? diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index e6dad60..9c087c3 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c @@ -749,13 +749,12 @@ static void __init init_memory_less_no

Re: [PATCH 1/2 v9] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-06-24 Thread Geert Uytterhoeven
CC gpio This is now commit d99482673f950817 ("serial: mctrl_gpio: Check if GPIO property exisits before requesting it") in tty-next. On Thu, Jun 20, 2019 at 8:24 AM Stefan Roese wrote: > This patch adds a check for the GPIOs property existence, before the > GPIO is requested. This fixes an issue

Build regressions/improvements in v5.2-rc6

2019-06-24 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.2-rc6[1] compared to v5.1[2]. Summarized: - build errors: +0/-0 - build warnings: +148/-117 JFYI, when comparing v5.2-rc6[1] to v5.2-rc5[3], the summaries are: - build errors: +0/-1 - build warnings: +53/-55 Note tha

Re: [PATCH 1/3] include: linux: i2c: more helpers for declaring i2c drivers

2019-06-24 Thread Wolfram Sang
> Okay, what's the correct initialization method then ? > Just convert it to already existing module_i2c_driver() ? "module_platform_driver" you mean? That's tricky because it can introduce regressions easily. I had one situation where one wanted subsys_init and one wanted module_init. The corre

Re: [PATCH] parisc: asm: psw.h: missing header guard

2019-06-24 Thread Denis Efremov
Rolf Eike Beer wrote: You could have removed one of the 2 empty lines then. Will send the v2 in minutes. Denis

Re: [PATCH v4 02/11] dt-bindings: thermal: add binding document for h6 thermal controller

2019-06-24 Thread Maxime Ripard
Hi, On Sun, Jun 23, 2019 at 12:41:57PM -0400, Yangtao Li wrote: > This patch adds binding document for allwinner h6 thermal controller. > > Signed-off-by: Yangtao Li > --- > .../bindings/thermal/sun8i-thermal.yaml | 71 +++ > 1 file changed, 71 insertions(+) > create mode

Re: linux-next: build failure after merge of the staging tree

2019-06-24 Thread Greg KH
On Mon, Jun 24, 2019 at 05:38:55PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the staging tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > lib/Kconfig:132:error: recursive dependency detected! > lib/Kconfig:132:symbol CRC32 is selected by XZ_

Re: [PATCH v4 10/11] dt-bindings: thermal: add binding document for h3 thermal controller

2019-06-24 Thread Maxime Ripard
On Sun, Jun 23, 2019 at 12:42:05PM -0400, Yangtao Li wrote: > This patch adds binding document for allwinner h3 thermal controller. > > Signed-off-by: Yangtao Li > --- > .../bindings/thermal/sun8i-thermal.yaml | 29 +-- > 1 file changed, 26 insertions(+), 3 deletions(-) > >

[PATCH v2] parisc: asm: psw.h: missing header guard

2019-06-24 Thread Denis Efremov
The psw.h header file contains #ifndef directive of the guard, but the complimentary #define directive is missing. The patch adds the appropriate #define to fix the header guard. Signed-off-by: Denis Efremov --- arch/parisc/include/asm/psw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

WARNING: ODEBUG bug in netdev_freemem (2)

2019-06-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:fd6b99fa Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=144de256a0 kernel config: https://syzkaller.appspot.com/x/.config?x=fa9f7e1b6a8bb586 dashboard li

Re: [PATCH v4 2/5] KVM: LAPIC: inject lapic timer interrupt by posted interrupt

2019-06-24 Thread Wanpeng Li
On Sat, 22 Jun 2019 at 06:11, Marcelo Tosatti wrote: > > On Fri, Jun 21, 2019 at 09:42:39AM +0800, Wanpeng Li wrote: > > On Thu, 20 Jun 2019 at 05:04, Marcelo Tosatti wrote: > > > > > > Hi Li, > > > > > > On Wed, Jun 19, 2019 at 08:36:06AM +0800, Wanpeng Li wrote: > > > > On Tue, 18 Jun 2019 at 2

Re: [PATCH 1/6] cpufreq: Use existing stub functions instead of IS_ENABLED macro

2019-06-24 Thread Daniel Lezcano
Hi Viresh, On 21/06/2019 15:22, Daniel Lezcano wrote: > The functions stub already exist for the condition the IS_ENABLED > is trying to avoid. > > Remove the IS_ENABLED macros as they are pointless. > > Signed-off-by: Daniel Lezcano what about this one? > --- > drivers/cpufreq/cpufreq.c |

Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-24 Thread masonccyang
Hi Boris, > > > > > Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND > > controller > > > > > > > > > > On Tue, 18 Jun 2019 08:14:36 +0200 > > > > > Boris Brezillon wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > How to make all #CS keep high for NAND to enter > > >

Re: [PATCH v3 0/2] ceph: don't NULL terminate virtual xattr values

2019-06-24 Thread Yan, Zheng
On Fri, Jun 21, 2019 at 10:21 PM Jeff Layton wrote: > > v3: switch to using an intermediate buffer for snprintf destination > add patch to fix ceph_vxattrcb_layout return value > v2: drop bogus EXPORT_SYMBOL of static function > > This is the 3rd posting of this patchset. Instead of adding a n

[RFC] rcu: Warn that rcu ktheads cannot be spawned

2019-06-24 Thread Byungchul Park
Hello rcu folks, I thought it'd better to announce it if those spawnings fail because of !rcu_scheduler_fully_active. Of course, with the current code, it never happens though. Thoughts? Thanks, Byungchul ---8<--- >From 58a33a85c70f82c406319b4752af95cf6ceb73a3 Mon Sep 17 00:00:00 2001 From: By

Re: [PATCH 1/3] include: linux: i2c: more helpers for declaring i2c drivers

2019-06-24 Thread Enrico Weigelt, metux IT consult
On 24.06.19 10:44, Wolfram Sang wrote: > The correct solution is to fix the boot dependency in the affected I2C > client drivers. That definately needs HW and thorough testing. > > It may also need something better than the current deferred probe. Big > topic. So, then the current approach of us

Re: [PATCH v2 3/4] ARM: dts: exynos: Add regulator suspend configuration to Odroid XU3/XU4/HC1 family

2019-06-24 Thread Marek Szyprowski
Hi Krzysztof, On 2019-06-24 09:41, Krzysztof Kozlowski wrote: > On Mon, 24 Jun 2019 at 09:20, Marek Szyprowski > wrote: >> On 2019-06-23 18:02, Anand Moon wrote: >>> Thanks for this patch. Please add my >>> >>> Tested-by: Anand Moon >>> >>> [snip] >>> >>> Could you integrate below small changes

Re: [PATCH 1/6] cpufreq: Use existing stub functions instead of IS_ENABLED macro

2019-06-24 Thread Rafael J. Wysocki
On Mon, Jun 24, 2019 at 10:53 AM Daniel Lezcano wrote: > > > Hi Viresh, > > On 21/06/2019 15:22, Daniel Lezcano wrote: > > The functions stub already exist for the condition the IS_ENABLED > > is trying to avoid. > > > > Remove the IS_ENABLED macros as they are pointless. > > > > Signed-off-by: Da

Re: [PATCH RESEND V4 0/1] perf: Add CPU hotplug support for events

2019-06-24 Thread Mukesh Ojha
Friendly ping. On 6/18/2019 7:16 PM, Mukesh Ojha wrote: The embedded world, specifically Android mobile SoCs, rely on CPU hotplugs to manage power and thermal constraints. These hotplugs can happen at a very rapid pace. Adjacently, they also relies on many perf event counters for its management.

Re: [PATCH][next] clocksource: davinci-timer: fix memory leak of clockevent on error return

2019-06-24 Thread Dan Carpenter
On Mon, Jun 24, 2019 at 10:28:10AM +0200, Bartosz Golaszewski wrote: > pon., 17 cze 2019 o 13:31 Colin King napisał(a): > > > > From: Colin Ian King > > > > Currently when the call to request_irq falls there is a memory leak of > > clockevent on the error return path. Fix this by kfree'ing clocke

  1   2   3   4   5   6   7   8   9   10   >