[PATCH] nfs: Fix NULL pointer dereference of dev_name

2019-01-28 Thread Yao Liu
There is a NULL pointer dereference of dev_name in nfs_parse_devname() The oops looks something like: BUG: unable to handle kernel NULL pointer dereference at ... RIP: 0010:nfs_fs_mount+0x3b6/0xc20 [nfs] ... Call Trace: ? ida_alloc_range+0x34b/0x3d0 ? nfs_clone_su

[PATCH 0/3] qcom: add PMS405 SPMI regulator

2019-01-28 Thread Jorge Ramirez-Ortiz
The following patchset applies cleanly on linux 5.0-rc2. It adds support for the pms405 spmi regulators and configures s3 as a supply. The dts modifications required to enable voltage scaling will be posted after the currently pending cpufreq patches are merged. Jorge Ramirez-Ortiz (3): dt-bin

[PATCH 1/3] dt-bindings: qcom_spmi: Document pms405 support

2019-01-28 Thread Jorge Ramirez-Ortiz
The PMS405 supports 5 SMPS and 13 LDO regulators. Signed-off-by: Jorge Ramirez-Ortiz --- .../bindings/regulator/qcom,spmi-regulator.txt | 24 ++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.txt b/Document

[PATCH 2/3] drivers: regulator: qcom: add PMS405 SPMI regulator

2019-01-28 Thread Jorge Ramirez-Ortiz
The PMS405 has 5 HFSMPS and 13 LDO regulators, This commit adds support for one of the 5 HFSMPS regulators (s3) to the spmi regulator driver. The PMIC HFSMPS 430 regulators have 8 mV step size and a voltage control scheme consisting of two 8-bit registers defining a 16-bit voltage set point in u

[PATCH 3/3] arm64: dts: qcom: pms405: add spmi regulators

2019-01-28 Thread Jorge Ramirez-Ortiz
The PMS405 sports 5 SMPS and 13 LDO regulators. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm64/boot/dts/qcom/pms405.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index ad2b62d..6fbdb1

Re: [PATCH 1/7] mmc: sdhci: add support for using external DMA devices

2019-01-28 Thread Chunyan Zhang
On Mon, 28 Jan 2019 at 18:40, Faiz Abbas wrote: > > Hi, > > On 28/01/19 3:50 PM, Chunyan Zhang wrote: > > On Thu, 24 Jan 2019 at 19:41, Adrian Hunter wrote: > >> > >> On 11/01/19 1:08 PM, Faiz Abbas wrote: > >>> From: Chunyan Zhang > >>> > >>> Some standard SD host controllers can support both e

Re: [PATCH] binder: fix CONFIG_ANDROID_BINDER_DEVICES

2019-01-28 Thread Dan Carpenter
On Sat, Jan 26, 2019 at 11:23:20AM +0100, Christian Brauner wrote: > Several users have tried to only rely on binderfs to provide binder devices > and set CONFIG_ANDROID_BINDER_DEVICES="" empty. This is a great use-case of > binderfs and one that was always intended to work. However, this is > curr

Re: [PATCH 1/2] spi: support inter-word delay requirement for devices

2019-01-28 Thread Mark Brown
On Mon, Jan 28, 2019 at 08:41:05AM +0100, Geert Uytterhoeven wrote: > On Sat, Jan 26, 2019 at 4:40 PM Jonas Bonn wrote: > > spi-3wire: again, only set by MAXIM DS-1302 which always needs this > > setting; driver could set this > For DS1302, this is probable true. > Some devices may support both

Re: [PATCH v9 01/26] arm64: Fix HCR.TGE status for NMI contexts

2019-01-28 Thread James Morse
Hi Julien, On 21/01/2019 15:33, Julien Thierry wrote: > When using VHE, the host needs to clear HCR_EL2.TGE bit in order > to interract with guest TLBs, switching from EL2&0 translation regime (interact) > to EL1&0. > > However, some non-maskable asynchronous event could happen while TGE is >

Re: [PATCH] binder: fix CONFIG_ANDROID_BINDER_DEVICES

2019-01-28 Thread Dan Carpenter
On Mon, Jan 28, 2019 at 02:47:29PM +0300, Dan Carpenter wrote: > On Sat, Jan 26, 2019 at 11:23:20AM +0100, Christian Brauner wrote: > > Several users have tried to only rely on binderfs to provide binder devices > > and set CONFIG_ANDROID_BINDER_DEVICES="" empty. This is a great use-case of > > bin

Re: [PATCH 1/2] spi: support inter-word delay requirement for devices

2019-01-28 Thread Jonas Bonn
On 28/01/2019 12:47, Mark Brown wrote: On Mon, Jan 28, 2019 at 08:41:05AM +0100, Geert Uytterhoeven wrote: On Sat, Jan 26, 2019 at 4:40 PM Jonas Bonn wrote: spi-3wire: again, only set by MAXIM DS-1302 which always needs this setting; driver could set this For DS1302, this is probable t

Re: [PATCH 1/2] spi: support inter-word delay requirement for devices

2019-01-28 Thread Geert Uytterhoeven
Hi Jonas, On Mon, Jan 28, 2019 at 12:51 PM Jonas Bonn wrote: > On 28/01/2019 12:47, Mark Brown wrote: > > On Mon, Jan 28, 2019 at 08:41:05AM +0100, Geert Uytterhoeven wrote: > >> On Sat, Jan 26, 2019 at 4:40 PM Jonas Bonn wrote: > > > >>> spi-3wire: again, only set by MAXIM DS-1302 which always

Re: [PATCH 4/6] staging: rtl8188eu: remove unncessary asignment to cleanup long line

2019-01-28 Thread Joe Perches
On Mon, 2019-01-28 at 10:51 +0100, Michael Straube wrote: > Instead of first asign 'wrqu.data.length = p - buff' use 'p - buff' > directly in min_t() in the subsequent asignment. Clears a line over > 80 characters checkpatch warning. Thank you. I believe you should include Larry Finger in the cc

Re: [PATCH 3/3] Staging: media: ipu3: fixed max charecter style issue

2019-01-28 Thread Dan Carpenter
On Sun, Jan 27, 2019 at 10:24:16PM +0530, Prashantha SP wrote: > fixed coding style issue. > > Signed-off-by: Prashantha SP ^^ Please use your full name that you would use to sign legal documents. > --- > drivers/staging/media/ipu3/ipu3-css.c | 178 ++---

[PATCH] cifs: Fix NULL pointer dereference of devname

2019-01-28 Thread Yao Liu
There is a NULL pointer dereference of devname in strspn() The oops looks something like: CIFS: Attempting to mount (null) BUG: unable to handle kernel NULL pointer dereference at ... RIP: 0010:strspn+0x0/0x50 ... Call Trace: ? cifs_parse_mount_options+0x222/0x1710

Re: [PATCH] devfreq: Suspend all devices on system shutdown

2019-01-28 Thread Marek Szyprowski
Hi MyungJoo, On 2019-01-28 09:05, MyungJoo Ham wrote: >> This way devfreq core ensures that all its devices will be set to safe >> operation points before reboot operation. There are board on which some >> aggressive power saving operation points are behind the capabilities of >> the bootloader to

Re: [PATCH] MAINTAINERS: Add Andy and Darren as arch/x86/platform/ reviewers

2019-01-28 Thread Andy Shevchenko
On Mon, Jan 28, 2019 at 1:36 PM Borislav Petkov wrote: > > From: Borislav Petkov > > ... so that they can get CCed on platform patches. > Acked-by: Andy Shevchenko > Signed-off-by: Borislav Petkov > Cc: Darren Hart > Cc: Andy Shevchenko > Cc: x...@kernel.org > --- > MAINTAINERS | 9 +++

Re: [PATCH v9 20/26] irqchip/gic-v3: Handle pseudo-NMIs

2019-01-28 Thread Marc Zyngier
On Mon, 21 Jan 2019 15:33:39 +, Julien Thierry wrote: > > Provide a higher priority to be used for pseudo-NMIs. When such an > interrupt is received, keep interrupts fully disabled at CPU level to > prevent receiving other pseudo-NMIs while handling the current one. > > Signed-off-by: Julien

Re: [PATCH 1/2] media: dt-bindings: media: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem

2019-01-28 Thread Sakari Ailus
Hi Vishal, On Mon, Jan 14, 2019 at 09:47:41AM +, Vishal Sagar wrote: > Hi Sakari, > > Thanks for reviewing this. > > > -Original Message- > > From: Sakari Ailus [mailto:sakari.ai...@linux.intel.com] > > Sent: Tuesday, January 08, 2019 6:35 PM > > To: Vishal Sagar > > Cc: Hyun Kwon

Re: [PATCH v3] iio: adc: ad7476: Add support for TI ADS786X ADCs

2019-01-28 Thread Alexandru Ardelean
On Mon, Jan 28, 2019 at 11:49 AM Ricardo Ribalda Delgado wrote: > > Add support for Texas Instruments ADS7866, ADS7867 and ADS7868 > 8/10/12 bit Single channel ADC. > > Datasheet: http://www.ti.com/lit/ds/symlink/ads7868.pdf > > Cc: Alexandru Ardelean > Signed-off-by: Ricardo Ribalda Delgado > -

Re: [PATCH 1/3] mmc: jz4740: Remove platform data and use standard APIs

2019-01-28 Thread Ulf Hansson
On Fri, 25 Jan 2019 at 21:09, Paul Cercueil wrote: > > Drop the custom code to get the 'cd' and 'wp' GPIOs. The driver now > calls mmc_of_parse() which will init these from devicetree or > device properties. > > Also drop the custom code to get the 'power' GPIO. The MMC core > provides us with the

Re: [PATCH v10 0/4] Media Device Allocator API

2019-01-28 Thread Hans Verkuil
Hi Shuah, On 1/24/19 9:32 PM, Shuah Khan wrote: > Media Device Allocator API to allows multiple drivers share a media device. > This API solves a very common use-case for media devices where one physical > device (an USB stick) provides both audio and video. When such media device > exposes a stan

Re: [PATCH] mmc: mediatek: fix incorrect register setting of hs400_cmd_int_delay

2019-01-28 Thread Ulf Hansson
On Wed, 23 Jan 2019 at 13:05, Chaotian Jing wrote: > > to set cmd internal delay, need set PAD_TUNE register but not PAD_CMD_TUNE > register. > > Signed-off-by: Chaotian Jing Applied for fixes, adding a fixes+stable tag, thanks! Kind regards Uffe > --- > drivers/mmc/host/mtk-sd.c | 2 +- > 1

Re: [PATCH v9 21/26] irqchip/gic: Add functions to access irq priorities

2019-01-28 Thread Marc Zyngier
On Mon, 21 Jan 2019 15:33:40 +, Julien Thierry wrote: > > Add accessors to the GIC distributor/redistributors priority registers. > > Signed-off-by: Julien Thierry > Cc: Thomas Gleixner > Cc: Jason Cooper > Cc: Marc Zyngier > --- > drivers/irqchip/irq-gic-common.c | 10 ++ > dri

Re: [PATCH v4 2/9] cpufreq: Auto-register the driver as a thermal cooling device if asked

2019-01-28 Thread Rafael J. Wysocki
On Monday, January 28, 2019 9:32:44 AM CET Daniel Lezcano wrote: > On 28/01/2019 07:41, Amit Kucheria wrote: > > All cpufreq drivers do similar things to register as a cooling device. > > Provide a cpufreq driver flag so drivers can just ask the cpufreq core > > to register the cooling device on th

Re: [PATCH v9 22/26] irqchip/gic-v3: Allow interrupts to be set as pseudo-NMI

2019-01-28 Thread Marc Zyngier
On Mon, 21 Jan 2019 15:33:41 +, Julien Thierry wrote: > > Implement NMI callbacks for GICv3 irqchip. Install NMI safe handlers > when setting up interrupt line as NMI. > > Only SPIs and PPIs are allowed to be set up as NMI. > > Signed-off-by: Julien Thierry > Cc: Thomas Gleixner > Cc: Jas

[PATCH] refcount_t: add ACQUIRE ordering on success for dec(sub)_and_test variants

2019-01-28 Thread Elena Reshetova
This adds an smp_acquire__after_ctrl_dep() barrier on successful decrease of refcounter value from 1 to 0 for refcount_dec(sub)_and_test variants and therefore gives stronger memory ordering guarantees than prior versions of these functions. Co-Developed-by: Peter Zijlstra (Intel) Signed-off-by:

Re: [PATCH] Bluetooth: Add NULL check for tiocmget() and tiocmset()

2019-01-28 Thread Marcel Holtmann
Hi Myungho, > tiocmget() and tiocmset() operations are optional and some tty drivers > like pty miss the operations. We need NULL check before referencing > them. > > Reported-by: syzbot+a950165cbb86bdd02...@syzkaller.appspotmail.com > Signed-off-by: Myungho Jung > --- > drivers/bluetooth/hci_at

[PATCH RFC] mm: migrate: don't rely on PageMovable() of newpage after unlocking it

2019-01-28 Thread David Hildenbrand
While debugging some crashes related to virtio-balloon deflation that happened under the old balloon migration code, I stumbled over a possible race I think. What we experienced: drivers/virtio/virtio_balloon.c:release_pages_balloon(): - WARNING: CPU: 13 PID: 6586 at lib/list_debug.c:59 __list_de

Re: [PATCH] Bluetooth: hci_uart: Switch pty driver to slave side in tty_set_termios()

2019-01-28 Thread Marcel Holtmann
Hi Myungho, > tty_set_termios() should be called with slave side of pty driver. So, If > tty driver is pty master, it needs to be switched to ->link. > > Reported-by: syzbot+a950165cbb86bdd02...@syzkaller.appspotmail.com > Signed-off-by: Myungho Jung > --- > drivers/bluetooth/hci_ldisc.c | 20 ++

Re: [PATCH 1/2] iommu/io-pgtable-arm: Add support for non-coherent page tables

2019-01-28 Thread Vivek Gautam
On Mon, Jan 21, 2019 at 6:43 PM Robin Murphy wrote: > > On 17/01/2019 09:27, Vivek Gautam wrote: > > From Robin's comment [1] about touching TCR configurations - > > > > "TBH if we're going to touch the TCR attributes at all then we should > > probably correct that sloppiness first - there's an o

Re: [PATCH v2] Bluetooth: btrtl: Restore old logic to assume firmware is already loaded

2019-01-28 Thread Marcel Holtmann
Hi Kai-Heng, > Realtek bluetooth may not work after reboot: > [ 12.446130] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, > hci rev 826c, hci ver 0008 > > This is a regression introduced by commit 26503ad25de8 ("Bluetooth: > btrtl: split the device initialization into smaller par

Re: [PATCH v9 23/26] arm64: Handle serror in NMI context

2019-01-28 Thread Marc Zyngier
On Mon, 21 Jan 2019 15:33:42 +, Julien Thierry wrote: > > Per definition of the daifflags, Serrors can occur during any interrupt > context, that includes NMI contexts. Trying to nmi_enter in an nmi context > will crash. > > Skip nmi_enter/nmi_exit when serror occurred during an NMI. > > Su

Re: [PATCH v7 4/5] spi: nxp-fspi: add octal mode flag bit for octal support

2019-01-28 Thread Mark Brown
On Tue, Jan 15, 2019 at 10:05:29AM +, Yogesh Narayan Gaur wrote: > diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c > index e23ad9ef028e..adc3c0e14f38 100644 > --- a/drivers/spi/spi-nxp-fspi.c > +++ b/drivers/spi/spi-nxp-fspi.c > @@ -952,8 +952,8 @@ static int nxp_fspi_prob

[PATCH 2/3] perf/ring_buffer: convert ring_buffer.refcount to refcount_t

2019-01-28 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 3/3] perf/ring_buffer: convert ring_buffer.aux_refcount to refcount_t

2019-01-28 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 0/3] perf refcount_t conversions

2019-01-28 Thread Elena Reshetova
Another set of old patches, rebased and this time the commits also updated since we merged the docs in past and also refcount_dec_and_test() gets new acquire ordering on success very soon, which is also reflected in commit messages. Elena Reshetova (3): perf: convert perf_event_context.refcount

[PATCH 1/3] perf: convert perf_event_context.refcount to refcount_t

2019-01-28 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

Re: [PATCH v7 4/5] spi: nxp-fspi: add octal mode flag bit for octal support

2019-01-28 Thread Mark Brown
On Mon, Jan 28, 2019 at 12:26:31PM +, Mark Brown wrote: > On Tue, Jan 15, 2019 at 10:05:29AM +, Yogesh Narayan Gaur wrote: > > diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c > > index e23ad9ef028e..adc3c0e14f38 100644 > > --- a/drivers/spi/spi-nxp-fspi.c > > +++ b/dri

Re: [PATCH] arm64: dts: allwinner: a64-amarula-relic: Add STLM75 sensor

2019-01-28 Thread Maxime Ripard
On Mon, Jan 28, 2019 at 12:46:48PM +0530, Jagan Teki wrote: > On Fri, Jan 25, 2019 at 2:10 PM Maxime Ripard > wrote: > > > > On Thu, Jan 24, 2019 at 11:22:54PM +0530, Jagan Teki wrote: > > > Amarula A64 Relic has STLM75 sensor for digital temperature > > > and thermal watchdog. > > > > > > Add su

Re: [PATCH v9 24/26] arm64: Skip preemption when exiting an NMI

2019-01-28 Thread Marc Zyngier
On Mon, 21 Jan 2019 15:33:43 +, Julien Thierry wrote: > > Handling of an NMI should not set any TIF flags. For NMIs received from > EL0 the current exit path is safe to use. > > However, an NMI received at EL1 could have interrupted some task context > that has set the TIF_NEED_RESCHED flag.

Applied "regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803 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 i

Applied "regulator: rk808: Constify regulator_ops" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: rk808: Constify regulator_ops 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) and sen

Applied "regulator: lp8788-ldo: Constify lp8788_dldo_desc and lp8788_aldo_desc" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: lp8788-ldo: Constify lp8788_dldo_desc and lp8788_aldo_desc 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

Applied "regulator: lp873x: Constify lp873x_buck01_ops and lp873x_ldo01_ops" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: lp873x: Constify lp873x_buck01_ops and lp873x_ldo01_ops 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: rk808: Update module description to include RK805" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: rk808: Update module description to include RK805 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 ne

Applied "regulator: lp87565: Constify lp87565_buck_ramp_delay and lp87565_buck_ops" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: lp87565: Constify lp87565_buck_ramp_delay and lp87565_buck_ops 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 "regulator: lp3972: Constify lp3972_ldo_ops and lp3972_dcdc_ops" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: lp3972: Constify lp3972_ldo_ops and lp3972_dcdc_ops 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

Applied "regulator: lp8755: Constify lp8755_regulators" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: lp8755: Constify lp8755_regulators 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) an

Applied "regulator: lp3971: Constify lp3971_ldo_ops and lp3971_dcdc_ops" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: lp3971: Constify lp3971_ldo_ops and lp3971_dcdc_ops 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

Applied "regulator: lp872x: Constify regulator_ops and regulator_desc" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: lp872x: Constify regulator_ops and regulator_desc 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 ne

Applied "MAINTAINERS: add maintainers for the NXP FlexSPI driver" to the spi tree

2019-01-28 Thread Mark Brown
The patch MAINTAINERS: add maintainers for the NXP FlexSPI driver has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "regulator: lp8788-buck: Constify lp8788_buck_desc" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: lp8788-buck: Constify lp8788_buck_desc 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 "spi: spi-mem: Add driver for NXP FlexSPI controller" to the spi tree

2019-01-28 Thread Mark Brown
The patch spi: spi-mem: Add driver for NXP FlexSPI controller has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.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: mcp16502: Include linux/gpio/consumer.h to fix build error" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: mcp16502: Include linux/gpio/consumer.h to fix build error 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

Applied "regulator: da9062: Check return value of devm_regmap_field_alloc calls" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: da9062: Check return value of devm_regmap_field_alloc calls 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

Applied "regulator: da9063: Check return value of devm_regmap_field_alloc calls" to the regulator tree

2019-01-28 Thread Mark Brown
The patch regulator: da9063: Check return value of devm_regmap_field_alloc calls 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

Re: [PATCH] pinctrl: remove unused 'pinconf-config' debugfs interface

2019-01-28 Thread Linus Walleij
On Sun, Jan 20, 2019 at 4:14 PM Vladimir Zapolskiy wrote: > The main goal of the change is to remove .pin_config_dbg_parse_modify > callback before a driver with its support appears. So far the in-kernel > interface did not attract any users since its introduction 5 years ago. > > Originally .pin

Re: [PATCH v9 25/26] arm64: Skip irqflags tracing for NMI in IRQs disabled context

2019-01-28 Thread Marc Zyngier
On Mon, 21 Jan 2019 15:33:44 +, Julien Thierry wrote: > > When an NMI is raised while interrupts where disabled, the IRQ tracing > already is in the correct state (i.e. hardirqs_off) and should be left > as such when returning to the interrupted context. > > Check whether PMR was masking int

Re: [Intel-gfx] [PATCH] drm/i915: Don't send MST hotplugs until after resume

2019-01-28 Thread Imre Deak
On Fri, Jan 25, 2019 at 08:24:35PM -0500, Lyude Paul wrote: > Turns out we are sending a lot more hotplug events then we need, and > this is causing some pretty serious issues. Currently, we call > intel_dp_mst_resume() in i915_drm_resume() well before we have any sort > of hotplugging setup. We c

Re: [PATCH 1/2] Serial: Ingenic: Add support for the X1000.

2019-01-28 Thread Zhou Yanjie
My fault, I will fix these in v2. On 2019年01月28日 17:30, Greg KH wrote: On Mon, Jan 28, 2019 at 05:19:35PM +0800, Zhou Yanjie wrote: Add support for probing the 8250_ingenic driver on the X1000 Soc from Ingenic. Signed-off-by: Zhou Yanjie --- drivers/tty/serial/8250/8250_ingenic.c | 10 +

Re: [PATCH v9 26/26] arm64: Enable the support of pseudo-NMIs

2019-01-28 Thread Marc Zyngier
On Mon, 21 Jan 2019 15:33:45 +, Julien Thierry wrote: > > Add a build option and a command line parameter to build and enable the > support of pseudo-NMIs. > > Signed-off-by: Julien Thierry > Suggested-by: Daniel Thompson > Cc: Catalin Marinas > Cc: Will Deacon > --- > Documentation/adm

Re: [RFC PATCH v2 09/10] power: supply: Initial support for ROHM BD70528 PMIC charger block

2019-01-28 Thread Linus Walleij
Hi Matti! Thanks for your patch. We are going to have a problem with the power subsystem. These charging drivers are growing wild. This is starting to get out of hand, we need some more framework for properly handling charging state machines the kernel. Not specifically your problem, but when wo

Re: [PATCH] pinctrl: remove unused 'pinconf-config' debugfs interface

2019-01-28 Thread Vladimir Zapolskiy
Hi Linus, On 01/28/2019 02:36 PM, Linus Walleij wrote: > On Sun, Jan 20, 2019 at 4:14 PM Vladimir Zapolskiy wrote: > >> The main goal of the change is to remove .pin_config_dbg_parse_modify >> callback before a driver with its support appears. So far the in-kernel >> interface did not attract an

Re: [PATCH 10/15] habanalabs: add device reset support

2019-01-28 Thread Oded Gabbay
On Sun, Jan 27, 2019 at 9:51 AM Mike Rapoport wrote: > > On Wed, Jan 23, 2019 at 02:00:52AM +0200, Oded Gabbay wrote: > > This patch adds support for doing various on-the-fly reset of Goya. > > > > The driver supports two types of resets: > > 1. soft-reset > > 2. hard-reset > > > > Soft-reset is d

Re: [PATCH 2/2] mm: Consider subtrees in memory.events

2019-01-28 Thread Michal Hocko
On Fri 25-01-19 10:28:08, Tejun Heo wrote: > Hello, Michal. > > On Fri, Jan 25, 2019 at 06:37:13PM +0100, Michal Hocko wrote: > > > What if a user wants to monitor any ooms in the subtree tho, which is > > > a valid use case? > > > > How is that information useful without know which memcg the oom

Re: cpu/hotplug: broken sibling thread hotplug

2019-01-28 Thread Josh Poimboeuf
On Mon, Jan 28, 2019 at 11:13:04AM +0100, Igor Mammedov wrote: > On Fri, 25 Jan 2019 11:02:03 -0600 > Josh Poimboeuf wrote: > > > On Fri, Jan 25, 2019 at 10:36:57AM -0600, Josh Poimboeuf wrote: > > > How about this patch? It's just a revert of 73d5e2b47264 and > > > bc2d8d262cba, plus the 1-line

Re: [PATCH v2 2/2] staging: iio: ad7780: moving ad7780 out of staging

2019-01-28 Thread Dan Carpenter
On Sun, Jan 27, 2019 at 06:33:52PM -0200, Renato Lui Geh wrote: > + st->reg = devm_regulator_get(&spi->dev, "avdd"); > + if (IS_ERR(st->reg)) > + return PTR_ERR(st->reg); > + > + ret = regulator_enable(st->reg); > + if (ret) { > + dev_err(&spi->dev, "Failed t

Re: [RFC PATCH v2 07/10] gpio: Initial support for ROHM bd70528 GPIO block

2019-01-28 Thread Linus Walleij
Hi Matti! Thanks for your patch! On Fri, Jan 25, 2019 at 12:05 PM Matti Vaittinen wrote: > ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be > controlled by GPIO framework. > > IRQs are handled by regmap-irq and GPIO driver is not > aware of the irq usage. > > Signed-off-by: Matti Vaittinen

Re: [PATCH 1/3] mmc: jz4740: Remove platform data and use standard APIs

2019-01-28 Thread Paul Cercueil
Hi, Le lun. 28 janv. 2019 à 9:02, Ulf Hansson a écrit : On Fri, 25 Jan 2019 at 21:09, Paul Cercueil wrote: Drop the custom code to get the 'cd' and 'wp' GPIOs. The driver now calls mmc_of_parse() which will init these from devicetree or device properties. Also drop the custom code to g

Re: [PATCH V2 2/6] clocksource: tegra: add Tegra210 timer driver

2019-01-28 Thread Daniel Lezcano
On 28/01/2019 10:18, Joseph Lo wrote: > Add support for the Tegra210 timer that runs at oscillator clock > (TMR10-TMR13). We need these timers to work as clock event device and to > replace the ARMv8 architected timer due to it can't survive across the > power cycle of the CPU core or CPUPORESET si

[PATCH 1/3] dt-bindings: iio/adc: Add docs for Ingenic JZ47xx SoCs ADC.

2019-01-28 Thread Artur Rojek
Add documentation for the ADC controller on JZ47xx SoCs, used by the ingenic-adc driver. Signed-off-by: Artur Rojek --- .../bindings/iio/adc/ingenic,adc.txt | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ingenic,a

[PATCH 2/3] dt-bindings: iio/adc: Add bindings for Ingenic JZ47xx SoCs ADC.

2019-01-28 Thread Artur Rojek
Add device tree bindings for the ADC controller on JZ47xx SoCs, used by the ingenic-adc driver. Signed-off-by: Artur Rojek --- include/dt-bindings/iio/adc/ingenic,adc.h | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 include/dt-bindings/iio/adc/ingenic,adc.h diff --git a/i

[PATCH 3/3] IIO: add Ingenic JZ47xx ADC driver.

2019-01-28 Thread Artur Rojek
Add an IIO driver for the ADC hardware present on Ingenic JZ47xx SoCs. Signed-off-by: Artur Rojek --- drivers/iio/adc/Kconfig | 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ingenic-adc.c | 357 ++ 3 files changed, 367 insertions(+) create m

Re: [PATCH RFC] mm: migrate: don't rely on PageMovable() of newpage after unlocking it

2019-01-28 Thread Michal Hocko
On Mon 28-01-19 13:16:09, David Hildenbrand wrote: [...] > My theory: > > In __unmap_and_move(), we lock the old and newpage and perform the > migration. In case of vitio-balloon, the new page will become > movable, the old page will no longer be movable. > > However, after unlocking newpage, I t

Re: devicetree: media: Documentation of Bt.656 Bus DT bindings

2019-01-28 Thread Hans Verkuil
+Sakari On 1/24/19 3:53 AM, Ken Sloat wrote: > There are a number of v4l2 subdevices in the kernel that support a > Bt.656 bus also known as "embedded sync." Previously in older versions > of the kernel (and in the current 4.14 LTS kernel), the standard way > to enable this in device tree on a par

Re: [PATCH RFC] mm: migrate: don't rely on PageMovable() of newpage after unlocking it

2019-01-28 Thread David Hildenbrand
On 28.01.19 14:07, Michal Hocko wrote: > On Mon 28-01-19 13:16:09, David Hildenbrand wrote: > [...] >> My theory: >> >> In __unmap_and_move(), we lock the old and newpage and perform the >> migration. In case of vitio-balloon, the new page will become >> movable, the old page will no longer be mova

Re: [tip:sched/core] sched/core: Fix a potential double-fetch bug in sched_copy_attr()

2019-01-28 Thread Thomas Gleixner
On Mon, 28 Jan 2019, Peter Zijlstra wrote: > On Sun, Jan 27, 2019 at 12:04:44PM +0100, Thomas Gleixner wrote: > > On Mon, 21 Jan 2019, tip-bot for Kangjie Lu wrote: > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > > index a674c7db2f29..d4d3514c4fe9 100644 > > > --- a/kernel/sched/co

Re: [PATCH] MAINTAINERS: Add Andy and Darren as arch/x86/platform/ reviewers

2019-01-28 Thread Thomas Gleixner
On Mon, 28 Jan 2019, Borislav Petkov wrote: > From: Borislav Petkov > > ... so that they can get CCed on platform patches. > > Signed-off-by: Borislav Petkov > Cc: Darren Hart > Cc: Andy Shevchenko > Cc: x...@kernel.org Acked-by: Thomas Gleixner

Re: [PATCH 2/7] MIPS: SGI-IP27: clean up bridge access and header files

2019-01-28 Thread Christoph Hellwig
On Thu, Jan 24, 2019 at 06:47:23PM +0100, Thomas Bogendoerfer wrote: > #ifndef __ASSEMBLY__ > +/* Address translation entry for mapped pci32 accesses */ > +union bridge_ate { > + u64 ent; > + struct ate_s { > + u64 rmf:16; > + u64 addr:36; > +

Re: [PATCH v2 2/3] mfd: syscon: Add optional clock support

2019-01-28 Thread Fabrice Gasnier
On 1/16/19 4:11 PM, Arnd Bergmann wrote: > On Wed, Jan 16, 2019 at 3:10 PM Fabrice Gasnier > wrote: >> >> On 1/16/19 1:14 PM, Arnd Bergmann wrote: >>> (sorry for the late reply, I just realized that I had never sent out the >>> mail after Lee asked me for a review last year and I had drafted >>>

Re: [PATCH RFC] mm: migrate: don't rely on PageMovable() of newpage after unlocking it

2019-01-28 Thread Michal Hocko
On Mon 28-01-19 14:14:28, David Hildenbrand wrote: > On 28.01.19 14:07, Michal Hocko wrote: > > On Mon 28-01-19 13:16:09, David Hildenbrand wrote: > > [...] > >> My theory: > >> > >> In __unmap_and_move(), we lock the old and newpage and perform the > >> migration. In case of vitio-balloon, the new

Re: [PATCH RFC] mm: migrate: don't rely on PageMovable() of newpage after unlocking it

2019-01-28 Thread David Hildenbrand
On 28.01.19 14:21, Michal Hocko wrote: > On Mon 28-01-19 14:14:28, David Hildenbrand wrote: >> On 28.01.19 14:07, Michal Hocko wrote: >>> On Mon 28-01-19 13:16:09, David Hildenbrand wrote: >>> [...] My theory: In __unmap_and_move(), we lock the old and newpage and perform the mi

[PATCH net-next] mdio_bus: Fix PTR_ERR() usage after initialization to constant

2019-01-28 Thread YueHaibing
Fix coccinelle warning: ./drivers/net/phy/mdio_bus.c:51:5-12: ERROR: PTR_ERR applied after initialization to constant on line 44 ./drivers/net/phy/mdio_bus.c:52:5-12: ERROR: PTR_ERR applied after initialization to constant on line 44 fix this by using IS_ERR before PTR_ERR Fixes: bafbdd527d56

Re: [PATCH 2/7] MIPS: SGI-IP27: clean up bridge access and header files

2019-01-28 Thread Thomas Bogendoerfer
On Mon, 28 Jan 2019 05:20:03 -0800 Christoph Hellwig wrote: > On Thu, Jan 24, 2019 at 06:47:23PM +0100, Thomas Bogendoerfer wrote: > > #ifndef __ASSEMBLY__ > > +/* Address translation entry for mapped pci32 accesses */ > > +union bridge_ate { > > + u64 ent; > > + struct ate_s { > > +

Re: [PATCH 5/7] MIPS: SGI-IP27: rework HUB interrupts

2019-01-28 Thread Christoph Hellwig
> struct slice_data { > unsigned long irq_enable_mask[2]; > - int level_to_irq[LEVELS_PER_SLICE]; > }; Any reaason to keep struct slice_data around at all? > + HUB_S(hd->irq_mask_addr[0], si->irq_enable_mask[0]); > + HUB_S(hd->irq_mask_addr[1], si->irq_enable_mask[1]); I know

Re: [RFC][PATCH] Update -Wattribute-alias for gcc9

2019-01-28 Thread Bernd Edlinger
On 1/25/19 1:24 PM, Bernd Edlinger wrote: > On 1/25/19 12:39 PM, Miguel Ojeda wrote: >> On Fri, Jan 25, 2019 at 11:58 AM Arnd Bergmann wrote: >>> >>> On Fri, Jan 25, 2019 at 11:43 AM Laura Abbott wrote: Commit bee20031772a ("disable -Wattribute-alias warning for SYSCALL_DEFINEx()")

Re: [PATCH 4.4 068/104] loop: Fold __loop_release into loop_release

2019-01-28 Thread Jan Kara
On Thu 24-01-19 20:19:57, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Jan Kara > > commit 967d1dc144b50ad005e5eecdfadfbcfb3996 upstream. > > __loop_release() has a single call site. Fold it there.

Re: [alsa-devel] [RFC PATCH] ALSA: core: Add DMA share buffer support

2019-01-28 Thread Jaroslav Kysela
Dne 25.1.2019 v 19:25 Mark Brown napsal(a): > On Fri, Jan 25, 2019 at 02:19:22PM +0100, Takashi Iwai wrote: >> Leo Yan wrote: > >>> If we directly use the device node /dev/snd/ as file descriptor, even >>> though we specify flag O_EXCL when open it, but it still is not an >>> anon inode file descr

Re: [PATCH 6/7] MIPS: SGI-IP27: use generic PCI driver

2019-01-28 Thread Christoph Hellwig
On Thu, Jan 24, 2019 at 06:47:27PM +0100, Thomas Bogendoerfer wrote: > Converted bridge code to a platform driver using the PCI generic driver > framework and use adding platform devices during xtalk scan. This allows > easier sharing bridge drvier for other SGI platforms like IP30 (Octane) and Ty

Re: [PATCH -next] btrfs: remove unused function btrfs_sysfs_feature_update

2019-01-28 Thread David Sterba
On Thu, Jan 17, 2019 at 04:48:28PM +0800, YueHaibing wrote: > There are no in-tree callers. I'd rather see the code fixed, the patch that used the function was reverted because it was not safe to call sysfs from various contexts. I have some wip.

Re: [PATCH 7/7] MIPS: SGI-IP27: abstract chipset irq from bridge

2019-01-28 Thread Christoph Hellwig
Shouldnt this just use chained irqchip drivers instead?

Re: [PATCH v2 2/2] staging: erofs: complete POSIX ACL support

2019-01-28 Thread Dan Carpenter
On Sat, Jan 26, 2019 at 10:48:53AM +0800, Chao Yu wrote: > On 2019/1/26 0:10, Gao Xiang wrote: > > Let's add .get_acl() to read the file's acl from its xattrs > > to make POSIX ACL usable. > > > > Here is the on-disk detail, > > fullname: system.posix_acl_access > > struct erofs_xattr_entry: > >

Re: [PATCH 2/7] MIPS: SGI-IP27: clean up bridge access and header files

2019-01-28 Thread Christoph Hellwig
On Mon, Jan 28, 2019 at 02:24:40PM +0100, Thomas Bogendoerfer wrote: > I totally agreed. I only moved the original defintion around while cleaning > up the header file. Right now there is no code using it. Should I remove it > and access macros as soon there is a need for it ? Sounds good.

Re: [PATCH RFC] mm: migrate: don't rely on PageMovable() of newpage after unlocking it

2019-01-28 Thread Michal Hocko
On Mon 28-01-19 14:22:52, David Hildenbrand wrote: > On 28.01.19 14:21, Michal Hocko wrote: > > On Mon 28-01-19 14:14:28, David Hildenbrand wrote: > >> On 28.01.19 14:07, Michal Hocko wrote: > >>> On Mon 28-01-19 13:16:09, David Hildenbrand wrote: > >>> [...] > My theory: > > In __un

[PATCH] perf tools: Filter out hidden symbols from labels

2019-01-28 Thread Jiri Olsa
On Tue, Jan 15, 2019 at 06:38:38PM +0100, Jiri Olsa wrote: > On Tue, Jan 15, 2019 at 04:13:16PM +, Nick Clifton wrote: > > Hi Jiri, > > > > > When perf is built with annobin plugin (RHEL8 build) extra symbols > > > are added to its binary: > > > > A bit of background for those wondering why

Re: cpu/hotplug: broken sibling thread hotplug

2019-01-28 Thread Igor Mammedov
On Mon, 28 Jan 2019 06:52:52 -0600 Josh Poimboeuf wrote: > On Mon, Jan 28, 2019 at 11:13:04AM +0100, Igor Mammedov wrote: > > On Fri, 25 Jan 2019 11:02:03 -0600 > > Josh Poimboeuf wrote: > > > > > On Fri, Jan 25, 2019 at 10:36:57AM -0600, Josh Poimboeuf wrote: > > > > How about this patch?

Re: [PATCH v2 2/2] staging: iio: ad7780: moving ad7780 out of staging

2019-01-28 Thread Renato Lui Geh
On 01/28, Dan Carpenter wrote: On Sun, Jan 27, 2019 at 06:33:52PM -0200, Renato Lui Geh wrote: + st->reg = devm_regulator_get(&spi->dev, "avdd"); + if (IS_ERR(st->reg)) + return PTR_ERR(st->reg); + + ret = regulator_enable(st->reg); + if (ret) { +

Re: [PATCH v2 0/2] pinctrl: remove unused 'pinconf-config' debugfs interface

2019-01-28 Thread Linus Walleij
On Tue, Jan 22, 2019 at 10:18 PM Vladimir Zapolskiy wrote: > The main goal of the change is to remove .pin_config_dbg_parse_modify > callback before a driver with its support appears. So far the in-kernel > interface did not attract any users since its introduction 5 years ago. Good riddance. Bo

Re: [PATCH trivial] kernel.h: Make container_of_safe type safe

2019-01-28 Thread Christoph Hellwig
On Thu, Jan 24, 2019 at 08:55:05PM +, Jason Gunthorpe wrote: > The final ternary expression is given void * and type * as arguments, so > the resulting type of the macro ends up being void *. > > container_of returns a type which maches the argument, this provides type > safety and allows the

<    1   2   3   4   5   6   7   8   9   10   >