Re: [PATCH-next 06/20] gpio: gpio-omap: move omap_gpio_request() and omap_gpio_free()

2019-06-12 Thread Linus Walleij
On Mon, Jun 10, 2019 at 7:12 PM Grygorii Strashko wrote: > From: Russell King > > Move these two functions to live beside the rest of the gpio chip > implementation, rather than in the middle of the irq chip > implementation. > > Signed-off-by: Russell King > Signed-off-by: Grygorii Strashko

[PATCH v4 0/1] HWMON compatibility layer for power supplies

2019-06-12 Thread Andrey Smirnov
Everyone: This small series contains the code I wrote to expose various power supply sensors via HWMON layer in order to be able to access all of the sensors in the system with libsensors. Changes since [v3]: - Patch converted to have HWMON be registered in power_supply_register() and free

Re: [PATCH-next 05/20] gpio: gpio-omap: remove irq_ack method

2019-06-12 Thread Linus Walleij
On Mon, Jun 10, 2019 at 7:11 PM Grygorii Strashko wrote: > From: Russell King > > The irq_ack method does not fit our hardware requirements. Edge > interrupts must be cleared before we handle them, and level interrupts > must be cleared after handling them. > > We handle the interrupt clearance

Re: [PATCH v2 1/3] iio: common: cros_ec_sensors: support protocol v3 message

2019-06-12 Thread Lee Jones
On Thu, 23 May 2019, Fabien Lahoudere wrote: > Version 3 of the EC protocol provides min and max frequencies and fifo > size for EC sensors. > > Signed-off-by: Fabien Lahoudere > Signed-off-by: Nick Vaccaro > --- > .../cros_ec_sensors/cros_ec_sensors_core.c| 83 ++- > .../l

Re: [PATCH v10 6/7] mfd: cros_ec: differentiate SCP from EC by feature bit.

2019-06-12 Thread Lee Jones
On Mon, 03 Jun 2019, Pi-Hsun Shih wrote: > System Companion Processor (SCP) is Cortex M4 co-processor on some > MediaTek platform that can run EC-style firmware. Since a SCP and EC > would both exist on a system, and use the cros_ec_dev driver, we need to > differentiate between them for the users

Re: [PATCH v10 5/7] dt-bindings: Add binding for cros-ec-rpmsg.

2019-06-12 Thread Lee Jones
On Mon, 03 Jun 2019, Pi-Hsun Shih wrote: > Add a DT binding documentation for ChromeOS EC driver over rpmsg. > > Signed-off-by: Pi-Hsun Shih > Acked-by: Rob Herring > --- > Changes from v9, v8, v7, v6: > - No change. > > Changes from v5: > - New patch. > --- > Documentation/devicetree/bindi

RE: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread David Laight
From: Oleg Nesterov [mailto:o...@redhat.com] > Sent: 11 June 2019 19:56 > On 06/10, Eric W. Biederman wrote: > > > > Personally I don't think anyone sane would intentionally depend on this > > and I don't think there is a sufficiently reliable way to depend on this > > by accident that people would

Re: [PATCH 3/3] mfd: madera: Add Madera core support for CS47L92

2019-06-12 Thread Lee Jones
On Thu, 30 May 2019, Charles Keepax wrote: > From: Richard Fitzgerald > > This patch adds all the core support and defines for the Cirrus > Logic CS42L92, CS47L92 and CS47L93 smart audio CODECs. > > Registers or fields are named MADERA_* if it is part of the > common hardware platform and does

Re: [PATCH 2/3] mfd: madera: Add Madera core support for CS47L15

2019-06-12 Thread Lee Jones
On Thu, 30 May 2019, Charles Keepax wrote: > From: Richard Fitzgerald > > This patch adds all the core support and defines for the Cirrus > Logic CS47L15 smart audio CODEC. > > Registers or fields are named MADERA_* if it is part of the > common hardware platform and does not conflict with any

Re: [PATCH 1/3] mfd: madera: Update DT bindings to add additional CODECs

2019-06-12 Thread Lee Jones
On Thu, 30 May 2019, Charles Keepax wrote: > From: Richard Fitzgerald > > This adds the cs47l15, cs42l92, cs47l92 and cs47l93 to the list of > compatible strings and updates some properties that need to note > the new CODECs. > > Signed-off-by: Richard Fitzgerald > Signed-off-by: Charles Keepa

Re: [PATCH v2] mt76: mt7615: add support for per-chain signal strength reporting

2019-06-12 Thread Lorenzo Bianconi
> Fill in RX status->chain_signal to avoid empty value. > > Signed-off-by: Ryder Lee > --- > Changes since v2 - correct calculation sequence > --- > .../net/wireless/mediatek/mt76/mt7615/mac.c | 30 ++- > .../net/wireless/mediatek/mt76/mt7615/mac.h | 5 > 2 files change

Re: [PATCH v2 0/3] auth_gss: netns refcount leaks when use-gss-proxy==1

2019-06-12 Thread Wenbin Zeng
On Tue, May 14, 2019 at 09:03:31PM -0400, J. Bruce Fields wrote: > Whoops, I was slow to test these. I'm getting failuring krb5 nfs > mounts, and the following the server's logs. Dropping the three patches > for now. My bad, I should have found it earlier. Thank you for testing it, Bruce. I figu

Re: [PATCH 2/2] mt76: mt7615: update peer's bssid when state transition changes

2019-06-12 Thread Ryder Lee
On Wed, 2019-06-12 at 10:26 +0200, Lorenzo Bianconi wrote: > > Driver should update peer's bssid and bss information when > > state transition changes. > > > > Signed-off-by: Ryder Lee > > --- > > .../net/wireless/mediatek/mt76/mt7615/main.c | 5 +- > > .../net/wireless/mediatek/mt76/mt7615/mc

Re: [RFC] printk/sysrq: Don't play with console_loglevel

2019-06-12 Thread Sergey Senozhatsky
On (06/06/19 09:10), Petr Mladek wrote: > > > > > > Provide KERN_UNSUPPRESSED printk() annotation for such legacy > > > > > > places. > > > > > > Make sysrq print the headers unsuppressed instead of changing > > > > > > console_loglevel. > > > > > > I like this idea. console_loglevel is temporary

Re: [PATCH] Input: alps: Drop unlikely before IS_ERR(_OR_NULL)

2019-06-12 Thread Joe Perches
On Wed, 2019-06-12 at 09:14 +0200, Pali Rohár wrote: > On Tuesday 11 June 2019 17:59:13 Dmitry Torokhov wrote: > > Hi Joe, > > > > On Wed, Jun 05, 2019 at 07:28:53PM -0700, Joe Perches wrote: > > > On Thu, 2019-06-06 at 09:08 +0800, Kefeng Wang wrote: > > > > On 2019/6/5 22:42, Pali Rohár wrote: >

[PATCH v2] sh: dma: Add missing IS_ERR_OR_NULL test

2019-06-12 Thread Rolf Evers-Fischer
get_dma_channel may return ERR_PTR or NULL, so a check is added. Changes since v1: - Removed unnecessary parentheses - Replaced IS_ERR with IS_ERR_OR_NULL Signed-off-by: Rolf Evers-Fischer --- arch/sh/drivers/dma/dma-api.c | 20 +++- arch/sh/drivers/dma/dma-sysfs.c | 2 +-

[PATCH v2 1/3] HID: apple-ibridge: Add Apple iBridge HID driver.

2019-06-12 Thread Ronald Tschalär
The iBridge device provides access to several devices, including: - the Touch Bar - the iSight webcam - the light sensor - the fingerprint sensor This driver provides the core support for managing the iBridge device and the access to the underlying devices. In particular, since the functionality f

[PATCH v2 3/3] iio: light: apple-ib-als: Add driver for ALS on iBridge chip.

2019-06-12 Thread Ronald Tschalär
On 2016/2017 MacBook Pro's with a Touch Bar the ALS is attached to, and exposed via the iBridge device. This provides the driver for that sensor. Signed-off-by: Ronald Tschalär --- drivers/iio/light/Kconfig| 12 + drivers/iio/light/Makefile | 1 + drivers/iio/light/apple-ib-als.

[PATCH v5 01/15] drm/bridge: tc358767: Simplify tc_poll_timeout()

2019-06-12 Thread Andrey Smirnov
Implementation of tc_poll_timeout() is almost a 100% copy-and-paste of the code for regmap_read_poll_timeout(). Replace copied code with a call to the original. While at it change tc_poll_timeout to accept "struct tc_data *" instead of "struct regmap *" for brevity. No functional change intended.

[PATCH v2 2/3] HID: apple-ib-tb: Add driver for the Touch Bar on MacBook Pro's.

2019-06-12 Thread Ronald Tschalär
This driver enables basic touch bar functionality: enabling it, switching between modes on FN key press, and dimming and turning the display off/on when idle/active. Signed-off-by: Ronald Tschalär --- drivers/hid/Kconfig | 10 + drivers/hid/Makefile |1 + drivers/hid/apple-ib-tb

[PATCH v2 0/3] Apple iBridge support

2019-06-12 Thread Ronald Tschalär
2016 and 2017 MacBook Pro's have a T1 chip that drives the Touch Bar, ambient light sensor, webcam, and fingerprint sensor; this shows up as an iBridge USB device in the system. These patches provide initial support for the Touch Bar and ALS - the webcam is already handled by existing drivers, and

Re: [PATCH 4/4] mfd: madera: Add supply mapping for MICVDD

2019-06-12 Thread Lee Jones
On Mon, 20 May 2019, Charles Keepax wrote: > Currently we are relying on the exact match of the regulator name to > find MICVDD, we should add an explicit supply mapping to allow this to > be found more reliably. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/madera-core.c | 18 +

Re: Strange regression in hid_llogitech_dj (was: Re: Linux 5.2-rc4)

2019-06-12 Thread Jiri Kosina
On Wed, 12 Jun 2019, Rafael J. Wysocki wrote: > It kind of helps, but there is a catch. > > hid-logitech-dj is not loaded after a fresh boot, so I need to modprobe it > manually and that > appears to be blocking (apparently indefinitely) until terminated with ^C. > But then it turns > out that

Re: [PATCH 1/4 RESEND] mfd: arizona: fix undefined behavior

2019-06-12 Thread Lee Jones
On Mon, 20 May 2019, Charles Keepax wrote: > From: Arnd Bergmann > > When the driver is used with a subdevice that is disabled in the > kernel configuration, clang gets a little confused about the > control flow and fails to notice that n_subdevs is only > uninitialized when subdevs is NULL, and

Re: [PATCH 2/4 RESEND] mfd: madera: Fix bad reference to pinctrl.txt file

2019-06-12 Thread Lee Jones
On Mon, 20 May 2019, Charles Keepax wrote: > From: Otto Sabart > > The pinctrl.txt file was converted into reStructuredText and moved into > driver-api folder. This patch updates the broken reference. > > Fixes: 5a9b73832e9e ("pinctrl.txt: move it to the driver-api book") > Signed-off-by: Otto

Re: [PATCH 3/4] mfd: madera: Fix potential uninitialised use of variable

2019-06-12 Thread Lee Jones
On Mon, 20 May 2019, Charles Keepax wrote: > From: Stuart Henderson > > regmap_read won't set val to anything if an ACKed bus fails. > > Signed-off-by: Stuart Henderson > Signed-off-by: Charles Keepax > --- > drivers/mfd/madera-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

[v4,1/1] hwmon: (nct7904) Add extra sysfs support for fan, voltage and temperature.

2019-06-12 Thread Amy.Shih
From: "amy.shih" NCT-7904D also supports reading of channel limitation registers and SMI status registers for fan, voltage and temperature monitoring, and also supports reading of temperature sensor type which is thermal diode, thermistor, AMD SB-TSI or Intel PECI, thus add below sysfs nodes: -f

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-12 Thread Arnd Bergmann
On Tue, Jun 11, 2019 at 7:23 PM Dan Williams wrote: > On Tue, 2019-06-11 at 10:52 -0600, Subash Abhinov Kasiviswanathan wrote: > > rmnet should handle muxing the QMAP, QoS, and aggregation and pass the > resulting packet to the lower layer. That lower layer could be IPA or > qmi_wwan, which in tur

Re: [PATCH v2 1/6] clocksource/drivers/tegra: Restore timer rate on Tegra210

2019-06-12 Thread Jon Hunter
On 10/06/2019 17:43, Dmitry Osipenko wrote: > The clocksource rate is initialized only for the first per-CPU clocksource > and then that rate shall be replicated for the rest of clocksource's > because they are initialized manually in the code. > > Fixes: 3be2a85a0b61 ("Support per-CPU timers on

Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC

2019-06-12 Thread Benjamin Herrenschmidt
On Wed, 2019-06-12 at 05:48 +0200, Borislav Petkov wrote: > On Wed, Jun 12, 2019 at 08:25:52AM +1000, Benjamin Herrenschmidt wrote: > > Yes, we would be in a world of pain already if tracepoints couldn't > > handle concurrency :-) > > Right, lockless buffer and the whole shebang :) Yup. > > Sort

Re: [PATCH v2 3/3] drivers: media: coda: fix warning same module names

2019-06-12 Thread Philipp Zabel
On Wed, 2019-06-12 at 10:15 +0200, Anders Roxell wrote: > When building with CONFIG_VIDEO_CODA and CONFIG_CODA_FS enabled as > loadable modules, we see the following warning: > > warning: same module names found: > fs/coda/coda.ko > drivers/media/platform/coda/coda.ko > > Rework so media/plat

Re: [PATCH 2/2] mt76: mt7615: update peer's bssid when state transition changes

2019-06-12 Thread Lorenzo Bianconi
> Driver should update peer's bssid and bss information when > state transition changes. > > Signed-off-by: Ryder Lee > --- > .../net/wireless/mediatek/mt76/mt7615/main.c | 5 +- > .../net/wireless/mediatek/mt76/mt7615/mcu.c | 49 ++- > 2 files changed, 27 insertions(+), 27 d

Re: Strange regression in hid_llogitech_dj (was: Re: Linux 5.2-rc4)

2019-06-12 Thread Rafael J. Wysocki
On Wednesday, June 12, 2019 12:02:21 AM CEST Jiri Kosina wrote: > On Tue, 11 Jun 2019, Rafael J. Wysocki wrote: > > > I noticed that the cordless mouse used by me with one of the machines here > > stopped to work in 5.2-rc (up to and including the -rc4). > > > > Bisection turned up commit 74808f9

Re: linux-next: build warning after merge of the i2c tree

2019-06-12 Thread Wolfram Sang
On Tue, Jun 11, 2019 at 10:25:28AM +1000, Stephen Rothwell wrote: > Hi Wolfram, > > After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/media/dvb-frontends/tua6100.c: In function 'tua6100_set_params': > drivers/media/dvb-frontends/tua610

Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9

2019-06-12 Thread Benjamin Herrenschmidt
On Wed, 2019-06-12 at 09:25 +0300, Oded Gabbay wrote: > > > You can't. Your device is broken. Devices that don't support DMAing to > > the full 64-bit deserve to be added to the trash pile. > > > > Hmm... right know they are added to customers data-centers but what do I know > ;) Well, some cu

Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9

2019-06-12 Thread Benjamin Herrenschmidt
On Wed, 2019-06-12 at 15:45 +1000, Oliver O'Halloran wrote: > > Also, are you sure about the MSI thing? The IODA3 spec says the only > important bits for a 64bit MSI are bits 61:60 (to hit the window) and > the lower bits that determine what IVE to use. Everything in between > is ignored so ORing

[PATCH v2 3/3] drivers: media: coda: fix warning same module names

2019-06-12 Thread Anders Roxell
When building with CONFIG_VIDEO_CODA and CONFIG_CODA_FS enabled as loadable modules, we see the following warning: warning: same module names found: fs/coda/coda.ko drivers/media/platform/coda/coda.ko Rework so media/platform/coda is named coda-vpu. Leaving CODA_FS as is since that's a well k

Re: [PATCH v4 2/3] Revert "livepatch: Remove reliable stacktrace check in klp_try_switch_task()"

2019-06-12 Thread Petr Mladek
On Tue 2019-06-11 16:13:19, Miroslav Benes wrote: > This reverts commit 1d98a69e5cef3aeb68bcefab0e67e342d6bb4dad. Commit > 31adf2308f33 ("livepatch: Convert error about unsupported reliable > stacktrace into a warning") weakened the enforcement for architectures > to have reliable stack traces supp

[PATCH v2 2/3] drivers: media: i2c: don't enable if CONFIG_DRM_I2C_ADV7511=n

2019-06-12 Thread Anders Roxell
CONFIG_DRM_I2C_ADV7511 and CONFIG_VIDEO_ADV7511 bind to the same platform device, so whichever driver gets loaded first will be used on the device. So they shouldn't be enabled at the same time. Rework so that VIDEO_ADV7511 and VIDEO_COBALT depends on DRM_I2C_ADV7511=n or COMPILE_TEST. Sugested-b

Re: [PATCH v2] regulator: wm831x: Convert to use GPIO descriptors

2019-06-12 Thread Charles Keepax
On Wed, Jun 12, 2019 at 09:42:22AM +0200, Linus Walleij wrote: > This converts the Wolfson Micro WM831x DCDC converter to use > a GPIO descriptor for the GPIO driving the DVS pin. > > There is just one (non-DT) machine in the kernel using this, and > that is the Wolfson Micro (now Cirrus) Cragganm

Re: [PATCH 2/2 v5] tty/serial/8250: use mctrl_gpio helpers

2019-06-12 Thread Stefan Roese
On 11.06.19 16:48, Andy Shevchenko wrote: On Tue, Jun 11, 2019 at 04:02:54PM +0200, Stefan Roese wrote: On 11.06.19 14:44, Andy Shevchenko wrote: On Tue, Jun 11, 2019 at 12:56:03PM +0200, Stefan Roese wrote: static inline void serial8250_out_MCR(struct uart_8250_port *up, int value) {

Re: [PATCH v1 1/4] dt-bindings: ASoC: Add TDA7802 amplifier

2019-06-12 Thread Charles Keepax
On Tue, Jun 11, 2019 at 06:49:06PM +0100, Thomas Preston wrote: > Signed-off-by: Thomas Preston > Cc: Patrick Glaser > Cc: Rob Duncan > Cc: Nate Case > --- > .../devicetree/bindings/sound/tda7802.txt | 26 > ++ > 1 file changed, 26 insertions(+) > create mode 100

Re: [PATCH v4 1/3] stacktrace: Remove weak version of save_stack_trace_tsk_reliable()

2019-06-12 Thread Petr Mladek
On Tue 2019-06-11 16:13:18, Miroslav Benes wrote: > Recent rework of stack trace infrastructure introduced a new set of > helpers for common stack trace operations (commit e9b98e162aa5 > ("stacktrace: Provide helpers for common stack trace operations") and > related). As a result, save_stack_trace_

[PATCH v2] drivers: mfd: 88pm800: fix warning same module names

2019-06-12 Thread Anders Roxell
When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800 enabled as loadable modules, we see the following warning: warning: same module names found: drivers/regulator/88pm800.ko drivers/mfd/88pm800.ko Rework so the names matches the config fragment. Signed-off-by: Anders Roxell -

[PATCH v2] drivers: regulator: 88pm800: fix warning same module names

2019-06-12 Thread Anders Roxell
When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800 enabled as loadable modules, we see the following warning: warning: same module names found: drivers/regulator/88pm800.ko drivers/mfd/88pm800.ko Rework so that the file is named 88pm800-regulator. Signed-off-by: Anders Roxell

[PATCH v2 1/3] drivers: media: i2c: fix warning same module names

2019-06-12 Thread Anders Roxell
When building with CONFIG_VIDEO_ADV7511 and CONFIG_DRM_I2C_ADV7511 enabled as loadable modules, we see the following warning: warning: same module names found: drivers/gpu/drm/bridge/adv7511/adv7511.ko drivers/media/i2c/adv7511.ko Rework so the names matches the config fragment. Signed-off-b

[PATCH v2] drivers: net: dsa: fix warning same module names

2019-06-12 Thread Anders Roxell
When building with CONFIG_NET_DSA_REALTEK_SMI and CONFIG_REALTEK_PHY enabled as loadable modules, we see the following warning: warning: same module names found: drivers/net/phy/realtek.ko drivers/net/dsa/realtek.ko Rework so the driver name is rtl8366 instead of realtek. Signed-off-by: Ande

Re: How to inject fwnode/oftree/acpi data by platform driver ?

2019-06-12 Thread Heikki Krogerus
Hi, On Tue, Jun 11, 2019 at 09:44:23PM +0300, Andy Shevchenko wrote: > +Cc: Heikki. > Heikki, can you help here with swnodes? > > On Sat, Jun 1, 2019 at 5:17 PM Enrico Weigelt, metux IT consult > wrote: > > > > Hi folks, > > > > > > I'm looking for a way to inject fwnode data from a platform dri

Re: [PATCH] kprobes: Fix to init kprobes in subsys_initcall

2019-06-12 Thread Masami Hiramatsu
Hi Steve, Could you pick this to your ftrace/core branch? Thank you, On Mon, 3 Jun 2019 22:04:42 +0900 Masami Hiramatsu wrote: > Since arm64 kernel initializes breakpoint trap vector in arch_initcall(), > initializing kprobe (and run smoke test) in postcore_initcall() causes > a kernel panic

Re: [PATCH-next 04/20] gpio: gpio-omap: clean up edge interrupt handling

2019-06-12 Thread Linus Walleij
On Mon, Jun 10, 2019 at 7:11 PM Grygorii Strashko wrote: > From: Russell King > > The edge interrupt handling was effectively: > > isr = ISR_reg & enabled; > if (bank->level_mask) > level_mask = bank->level_mask & enabled; > else > level_ma

Re: [PATCH-next 03/20] gpio: gpio-omap: remove remainder of list management

2019-06-12 Thread Linus Walleij
On Mon, Jun 10, 2019 at 7:11 PM Grygorii Strashko wrote: > From: Russell King > > Commit c4791bc6e3a6 ("gpio: omap: drop omap_gpio_list") removed the > list head and addition to the list head of each gpio bank, but failed > to remove the list_del() call and the node inside struct gpio_bank. > Re

Re: [PATCH] vsprintf: fix data type of variable in string_nocheck()

2019-06-12 Thread Petr Mladek
On Mon 2019-06-10 17:16:54, Sergey Senozhatsky wrote: > On (06/10/19 16:47), 남영민 wrote: > > This patch fixes data type of precision with int. > > The precision is declared as signed int in struct printf_spec. > > > > Signed-off-by: Youngmin Nam > > Looks OK to me. > > FWIW > Reviewed-by: Sergey

Re: [PATCH-next 02/20] gpio: gpio-omap: fix lack of irqstatus_raw0 for OMAP4

2019-06-12 Thread Linus Walleij
On Mon, Jun 10, 2019 at 7:11 PM Grygorii Strashko wrote: > From: Russell King > > Commit 384ebe1c2849 ("gpio/omap: Add DT support to GPIO driver") added > the register definition tables to the gpio-omap driver. Subsequently to > that commit, commit 4e962e8998cc ("gpio/omap: remove cpu_is_omapxxx

[PATCH v4 3/4] dt-bindings: arm: stm32: Document Avenger96 devicetree binding

2019-06-12 Thread Manivannan Sadhasivam
This commit documents Avenger96 devicetree binding based on STM32MP157 SoC. Reviewed-by: Rob Herring Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/stm32/

[PATCH v4 2/4] dt-bindings: arm: stm32: Convert STM32 SoC bindings to DT schema

2019-06-12 Thread Manivannan Sadhasivam
This commit converts STM32 SoC bindings to DT schema using jsonschema. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/arm/stm32/stm32.txt | 10 --- .../devicetree/bindings/arm/stm32/stm32.yaml | 29 +++ 2 files changed, 29 insertions(+), 10 deletions(-)

Re: [PATCH][next] video: fbdev: atmel_lcdfb: remove redundant initialization to variable ret

2019-06-12 Thread Nicolas.Ferre
On 11/06/2019 at 19:09, Colin King wrote: > External E-Mail > > > From: Colin Ian King > > Currently variable ret is being initialized with -ENOENT however that > value is never read and ret is being re-assigned later on. Hence this > assignment is redundant and can be removed. > > Addresses-C

[PATCH v4 4/4] ARM: dts: Add Avenger96 devicetree support based on STM32MP157A

2019-06-12 Thread Manivannan Sadhasivam
Add devicetree support for Avenger96 board based on STM32MP157A MPU from ST Micro. This board is one of the 96Boards Consumer Edition board from Arrow Electronics and has the following features: SoC: STM32MP157AAC PMIC: STPMIC1A RAM: 1024 Mbyte @ 533MHz Storage: eMMC v4.51: 8 Gbyte microS

[PATCH v4 1/4] ARM: dts: stm32mp157: Add missing pinctrl definitions

2019-06-12 Thread Manivannan Sadhasivam
Add missing pinctrl definitions for STM32MP157 MPU. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 75 +++ 1 file changed, 75 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dt

Re: [PATCH-next 01/20] gpio: gpio-omap: ensure irq is enabled before wakeup

2019-06-12 Thread Linus Walleij
On Mon, Jun 10, 2019 at 7:11 PM Grygorii Strashko wrote: > From: Russell King > > Documentation states: > > NOTE: There must be a correlation between the wake-up enable and > interrupt-enable registers. If a GPIO pin has a wake-up configured > on it, it must also have the corresponding int

[PATCH v4 0/4] Add Avenger96 board support

2019-06-12 Thread Manivannan Sadhasivam
Hello, This patchset adds Avenger96 board support. This board is one of the Consumer Edition boards of the 96Boards family from Arrow Electronics featuring STM32MP157A MPU and has the following features: SoC: STM32MP157AAC PMIC: STPMIC1A RAM: 1024 Mbyte @ 533MHz Storage: eMMC v4.51: 8 Gbyte

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-12 Thread Greg KH
On Wed, Jun 12, 2019 at 09:19:15AM +0200, Rolf Eike Beer wrote: > Am Donnerstag, 6. Juni 2019, 20:59:00 CEST schrieb Greg KH: > > On Thu, Jun 06, 2019 at 08:25:28PM +0200, Miguel Ojeda wrote: > > > On Thu, Jun 6, 2019 at 5:29 PM Greg KH wrote: > > > > And if you want this, you should look at how t

[PATCH v5] KVM: x86: Add Intel CPUID.1F cpuid emulation support

2019-06-12 Thread Like Xu
Add support to expose Intel V2 Extended Topology Enumeration Leaf for some new systems with multiple software-visible die within each package. Because unimplemented and unexposed leaves should be explicitly reported as zero, there is no need to limit cpuid.0.eax to the maximum value of feature con

Re: [PATCH 0/1] gpio: of: prepare for switching stmmac to GPIO descriptors

2019-06-12 Thread Linus Walleij
On Mon, Jun 10, 2019 at 7:05 PM Martin Blumenstingl wrote: > This is a preparation patch which is needed before we can switch stmmac > to GPIO descriptors. stmmac has a custom "snps,reset-active-low" > property because it has ignored the GPIO flags including the polarity. > > Add the parsing to g

Re: [PATCH v3 2/4] dt-bindings: arm: stm32: Convert STM32 SoC bindings to DT schema

2019-06-12 Thread Manivannan Sadhasivam
Hi Rob, On Mon, Jun 10, 2019 at 03:57:43PM -0600, Rob Herring wrote: > On Fri, May 31, 2019 at 12:39 AM Manivannan Sadhasivam > wrote: > > > > This commit converts STM32 SoC bindings to DT schema using jsonschema. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > .../devicetree/bindings/

Re: [PATCH 2/2] staging: kpc2000: remove unnecessary comments in kp2000_pcie_probe

2019-06-12 Thread Greg KH
On Wed, Jun 12, 2019 at 10:39:36AM +0300, Dan Carpenter wrote: > On Mon, Jun 10, 2019 at 10:05:35PM +0200, Simon Sandström wrote: > > @@ -349,9 +340,7 @@ static int kp2000_pcie_probe(struct pci_dev *pdev, > > goto err_remove_ida; > > } > > > > - /* > > -* Step 4: Setup the R

Re: [PATCH V4 3/3] ocfs2: add first lock wait time in locking_state

2019-06-12 Thread Joseph Qi
On 19/6/12 15:29, Gang He wrote: > Hello Joseph, > On 6/12/2019 at 3:03 pm, in message > , Joseph Qi > wrote: >> Hi Gang, >> >> On 19/6/11 09:54, Gang He wrote: >>> ocfs2 file system uses locking_state file under debugfs to dump >>> each ocfs2 file system's dlm lock resources, but the us

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

2019-06-12 Thread Jiri Olsa
On Wed, Jun 12, 2019 at 02:11:44PM +0800, Jin, Yao wrote: > > > On 6/11/2019 4:56 PM, Jiri Olsa wrote: > > On Sat, Jun 08, 2019 at 07:41:47PM +0800, Jin, Yao wrote: > > > > > > > > > On 6/5/2019 7:44 PM, Jiri Olsa wrote: > > > > On Mon, Jun 03, 2019 at 10:36:14PM +0800, Jin Yao wrote: > > > >

Re: [PATCH 06/20] clk: renesas: r8a77965: Add CMM clocks

2019-06-12 Thread Geert Uytterhoeven
On Thu, Jun 6, 2019 at 4:22 PM Jacopo Mondi wrote: > Add clock definitions for CMM units on Renesas R-Car Gen3 M3-N. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven i.e. will queue in clk-renesas-for-v5.3. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeve

Re: [PATCH] media: ttpci: Fix build error without RC_CORE

2019-06-12 Thread Sean Young
On Wed, Jun 12, 2019 at 11:43:10AM +0800, YueHaibing wrote: > If RC_CORE is not set, building fails: > > drivers/media/pci/ttpci/av7110_ir.o: In function `av7110_ir_init': > av7110_ir.c:(.text+0x1b0): undefined reference to `rc_allocate_device' > av7110_ir.c:(.text+0x2c1): undefined reference to `

Re: [RFC v2 01/11] OPP: Don't overwrite rounded clk rate

2019-06-12 Thread Rajendra Nayak
On 6/11/2019 4:24 PM, Viresh Kumar wrote: On 20-03-19, 15:19, Rajendra Nayak wrote: From: Stephen Boyd Doing this allows us to call this API with any rate requested and have it not need to match in the OPP table. Instead, we'll round the rate up to the nearest OPP that we see so that we can

Re: [PATCH v4] page cache: Store only head pages in i_pages

2019-06-12 Thread Chris Wilson
Quoting Kirill A. Shutemov (2019-06-12 02:46:34) > On Sun, Jun 02, 2019 at 10:47:35PM +0100, Chris Wilson wrote: > > Quoting Matthew Wilcox (2019-03-07 15:30:51) > > > diff --git a/mm/huge_memory.c b/mm/huge_memory.c > > > index 404acdcd0455..aaf88f85d492 100644 > > > --- a/mm/huge_memory.c > > > +

Re: [PATCH v2 3/7] drm/bridge: extract some Analogix I2C DP common code

2019-06-12 Thread Andrzej Hajda
On 04.06.2019 14:22, Torsten Duwe wrote: > From: Icenowy Zheng > > Some code can be shared within different DP bridges by Analogix. > Extract them to analogix_dp. > > Signed-off-by: Icenowy Zheng > Signed-off-by: Vasily Khoruzhick > Signed-off-by: Torsten Duwe > --- > drivers/gpu/drm/bridge/an

[PATCH v2] regulator: wm831x: Convert to use GPIO descriptors

2019-06-12 Thread Linus Walleij
This converts the Wolfson Micro WM831x DCDC converter to use a GPIO descriptor for the GPIO driving the DVS pin. There is just one (non-DT) machine in the kernel using this, and that is the Wolfson Micro (now Cirrus) Cragganmore 6410 so we patch this board to pass a descriptor table and fix up the

Re: [PATCH 2/2] staging: kpc2000: remove unnecessary comments in kp2000_pcie_probe

2019-06-12 Thread Dan Carpenter
On Mon, Jun 10, 2019 at 10:05:35PM +0200, Simon Sandström wrote: > @@ -349,9 +340,7 @@ static int kp2000_pcie_probe(struct pci_dev *pdev, > goto err_remove_ida; > } > > - /* > - * Step 4: Setup the Register BAR > - */ > + // Setup the Register BAR Greg, are

Re: [PATCH 1/2] staging: kpc2000: improve label names in kp2000_pcie_probe

2019-06-12 Thread Dan Carpenter
Thanks! Reviewed-by: Dan Carpenter Not related to your patch (IOW ignore if you want to) the error handling is slightly more complicated than required: drivers/staging/kpc2000/kpc2000/core.c 356 * Step 4: Setup the Register BAR 357 */ 358 reg_bar_phys_addr

Re: [RFC 0/2] Add workaround for core wake-up on IPI for i.MX8MQ

2019-06-12 Thread Thomas Gleixner
On Wed, 12 Jun 2019, Marc Zyngier wrote: > On Wed, 12 Jun 2019 08:14:16 +0100, > Thomas Gleixner wrote: > > On Mon, 10 Jun 2019, Leonard Crestez wrote: > > > On 6/10/2019 5:08 PM, Marc Zyngier wrote: > > > > Nobody is talking about performance here. It is strictly about > > > > correctness, and wh

Open syzbot reports by kernel subsystem

2019-06-12 Thread Eric Biggers
To make some sense of the huge number of open syzbot reports against the kernel (https://syzkaller.appspot.com/upstream), I assigned a tentative kernel subsystem(s) to most reports. I also wrote a script that assigns the reports priorities based on some heuristics -- e.g. how recently it occurred,

Re: [RFC 0/2] Add workaround for core wake-up on IPI for i.MX8MQ

2019-06-12 Thread Marc Zyngier
On Wed, 12 Jun 2019 08:14:16 +0100, Thomas Gleixner wrote: > On Mon, 10 Jun 2019, Leonard Crestez wrote: > > On 6/10/2019 5:08 PM, Marc Zyngier wrote: > > > Nobody is talking about performance here. It is strictly about > > > correctness, and what I read about this system is that it cannot > > > r

Re: [PATCH 1/2 RESEND] perf/x86/amd/uncore: Do not set ThreadMask and SliceMask for non-L3 PMCs

2019-06-12 Thread Peter Zijlstra
Your emails are base64 encoded and my scripts don't like that.

Re: [PATCH] futex: Fix futex lock the wrong page

2019-06-12 Thread Thomas Gleixner
On Wed, 12 Jun 2019, Greg KH wrote: > On Wed, Jun 12, 2019 at 09:50:25AM +0800, zhangxiaoxu (A) wrote: > > This patch is for stable branch linux-4.4-y. > > > > On 2019/6/12 9:54, ZhangXiaoxu wrote: > > > The upstram commit 65d8fc777f6d ("futex: Remove requirement > > > for lock_page() in get_futex

Re: [PATCH V4 3/3] ocfs2: add first lock wait time in locking_state

2019-06-12 Thread Gang He
Hello Joseph, >>> On 6/12/2019 at 3:03 pm, in message , Joseph Qi wrote: > Hi Gang, > > On 19/6/11 09:54, Gang He wrote: >> ocfs2 file system uses locking_state file under debugfs to dump >> each ocfs2 file system's dlm lock resources, but the users ever >> encountered some hang(deadlock) probl

[PATCH 0/3] STM32 ADC analog switches supply control

2019-06-12 Thread Fabrice Gasnier
This series adds support for SYSCFG bits that control ADC analog switches supply on STM32MP1 and STM32H7. The ADC inputs are multiplexed with analog switches which have reduced performances when their supply is below 2.7V. Analog switches supply can be controlled using SYSCFG bits, to reach full A

Re: [PATCH v2 2/2] mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge

2019-06-12 Thread Naoya Horiguchi
On Tue, Jun 11, 2019 at 03:20:26PM +0530, Anshuman Khandual wrote: > > On 06/10/2019 01:48 PM, Naoya Horiguchi wrote: > > madvise(MADV_SOFT_OFFLINE) often returns -EBUSY when calling soft offline > > for hugepages with overcommitting enabled. That was caused by the suboptimal > > code in current s

[PATCH 1/3] dt-bindings: iio: adc: stm32: add analog switches supply control

2019-06-12 Thread Fabrice Gasnier
On stm32h7 and stm32mp1, the ADC inputs are multiplexed with analog switches which have reduced performances when their supply is below 2.7V (vdda by default). Add documentation for optional vdda-supply & vdd-supply that can be used to supply analog circuitry (controlled by syscfg bits). Signed-o

Re: [PATCH v2 2/2] mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge

2019-06-12 Thread Naoya Horiguchi
On Tue, Jun 11, 2019 at 10:16:03AM -0700, Mike Kravetz wrote: > On 6/10/19 1:18 AM, Naoya Horiguchi wrote: > > madvise(MADV_SOFT_OFFLINE) often returns -EBUSY when calling soft offline > > for hugepages with overcommitting enabled. That was caused by the suboptimal > > code in current soft-offline

Re: [PATCH v3 3/8] pinctrl: msm: Add ability for drivers to supply a reserved GPIO list

2019-06-12 Thread Linus Walleij
On Mon, Jun 10, 2019 at 10:42 AM Lee Jones wrote: > When booting MSM based platforms with Device Tree or some ACPI > implementations, it is possible to provide a list of reserved pins > via the 'gpio-reserved-ranges' and 'gpios' properties respectively. > However some ACPI tables are not populate

[PATCH 2/3] iio: adc: stm32-adc: add analog switches supply control

2019-06-12 Thread Fabrice Gasnier
On stm32h7 and stm32mp1, the ADC inputs are multiplexed with analog switches which have reduced performances when their supply is below 2.7V (vdda by default): - vdd supply can be selected if above 2.7V by setting ANASWVDD syscfg bit (STM32MP1 only). - Voltage booster can be used, to get full ADC

[PATCH 3/3] ARM: dts: stm32: add ADC analog switches syscfg on stm32mp157c

2019-06-12 Thread Fabrice Gasnier
On stm32mp157c, the ADC inputs are multiplexed with analog switches which have reduced performances when their supply is below 2.7V (vdda by default). Add syscfg registers that can be used on stm32mp157c, to get full ADC analog performances. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/s

Re: [PATCH v2 1/2] mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails

2019-06-12 Thread Naoya Horiguchi
On Tue, Jun 11, 2019 at 01:44:46PM +0530, Anshuman Khandual wrote: > > > On 06/11/2019 06:27 AM, Naoya Horiguchi wrote: > > On Mon, Jun 10, 2019 at 05:19:45PM -0700, Mike Kravetz wrote: > >> On 6/10/19 1:18 AM, Naoya Horiguchi wrote: > >>> The pass/fail of soft offline should be judged by checkin

Re: [PATCH v4] KVM: x86: Add Intel CPUID.1F cpuid emulation support

2019-06-12 Thread kbuild test robot
Hi Like, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kvm/linux-next] [also build test WARNING on v5.2-rc4 next-20190611] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/

Re: [PATCH v4 4/7] i2c: core: Make i2c_acpi_get_irq available to the rest of the I2C core

2019-06-12 Thread Mika Westerberg
On Tue, Jun 11, 2019 at 01:30:58PM +0100, Charles Keepax wrote: > In preparation for more refactoring make i2c_acpi_get_irq available > outside i2c-core-acpi.c. > > Signed-off-by: Charles Keepax Reviewed-by: Mika Westerberg

[PATCH net-next] defconfigs: remove obsolete CONFIG_INET_XFRM_MODE_* and CONFIG_INET6_XFRM_MODE_*

2019-06-12 Thread YueHaibing
These Kconfig options has been removed in commit 4c145dce2601 ("xfrm: make xfrm modes builtin") So there is no point to keep it in defconfigs any longer. Signed-off-by: YueHaibing --- arch/arc/configs/axs101_defconfig | 3 --- arch/arc/configs/axs103_defconfig | 3 ---

Re: [PATCH v3 4/8] pinctrl: qcom: sdm845: Provide ACPI support

2019-06-12 Thread Linus Walleij
On Tue, Jun 11, 2019 at 8:39 PM Bjorn Andersson wrote: > Last time we discussed this the _only_ offender was the loop issuing a > get_direction() on all descs towards the end of > gpiochip_add_data_with_key() I think that is still the only offender. We were a bit back and forth: adding that cod

Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target …

2019-06-12 Thread Rolf Eike Beer
Am Donnerstag, 6. Juni 2019, 20:59:00 CEST schrieb Greg KH: > On Thu, Jun 06, 2019 at 08:25:28PM +0200, Miguel Ojeda wrote: > > On Thu, Jun 6, 2019 at 5:29 PM Greg KH wrote: > > > And if you want this, you should look at how the backports to 4.14.y > > > worked, they did not include a3f8a30f3f00 (

Re: [PATCH net-next] defconfigs: remove obsolete CONFIG_INET_XFRM_MODE_* and CONFIG_INET6_XFRM_MODE_*

2019-06-12 Thread Yuehaibing
Pls ignore this, will fix and resend. On 2019/6/12 15:06, YueHaibing wrote: > These Kconfig options has been removed in > commit 4c145dce2601 ("xfrm: make xfrm modes builtin") > So there is no point to keep it in defconfigs any longer. > > Signed-off-by: YueHaibing > --- > arch/arc/configs/axs1

Re: [PATCH] futex: Fix futex lock the wrong page

2019-06-12 Thread Greg KH
On Wed, Jun 12, 2019 at 09:50:25AM +0800, zhangxiaoxu (A) wrote: > This patch is for stable branch linux-4.4-y. > > On 2019/6/12 9:54, ZhangXiaoxu wrote: > > The upstram commit 65d8fc777f6d ("futex: Remove requirement > > for lock_page() in get_futex_key()") use variable 'page' as > > the page hea

[PATCH v3 0/4] Qcom smmu-500 wait-for-safe handling for sdm845

2019-06-12 Thread Vivek Gautam
Subject changed, older subject was - Qcom smmu-500 TLB invalidation errata for sdm845. Previous version of the patches are at [1]: Qcom's implementation of smmu-500 on sdm845 adds a hardware logic called wait-for-safe. This logic helps in meeting the invalidation requirements from 'real-time clien

Re: [linux-sunxi] [PATCH v2 03/11] pinctrl: sunxi: v3s: introduce support for V3

2019-06-12 Thread Paul Kocialkowski
Hi, On Tue, 2019-06-11 at 22:09 +0800, Icenowy Zheng wrote: > Introduce the GPIO pins that is only available on V3 (not on V3s) to the > V3s pinctrl driver. Looks like my comments from v1 still apply here and some of the functions are not properly described (e.g. LCD is usually 0x2 and LVDS 0x3 w

[PATCH v3 2/2] dt/bindings: drm/komeda: Adds SMMU support for D71 devicetree

2019-06-12 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" Updates the device-tree doc about how to enable SMMU by devicetree. Signed-off-by: Lowry Li (Arm Technology China) Reviewed-by: Liviu Dudau Reviewed-by: James Qian Wang (Arm Technology China) --- Documentation/devicetree/bindings/display/arm,komeda.txt

[PATCH v3 2/4] firmware/qcom_scm: Add scm call to handle smmu errata

2019-06-12 Thread Vivek Gautam
Qcom's smmu-500 needs to toggle wait-for-safe logic to handle TLB invalidations. Few firmwares allow doing that through SCM interface. Add API to toggle wait for safe from firmware through a SCM call. Signed-off-by: Vivek Gautam Reviewed-by: Bjorn Andersson --- drivers/firmware/qcom_scm-32.c |

<    4   5   6   7   8   9   10   >