Re: [PATCH] s390/mm: Silence compiler warning when compiling without CONFIG_PGSTE

2019-04-08 Thread Heiko Carstens
On Mon, Apr 08, 2019 at 12:36:32PM +0200, Thomas Huth wrote: > On 08/04/2019 09.09, David Hildenbrand wrote: > > On 07.04.19 14:55, Thomas Huth wrote: > >> If CONFIG_PGSTE is not set (e.g. when compiling without KVM), GCC > >> complains: > >> > >> CC arch/s390/mm/pgtable.o > >> arch/s390/mm

RE: [PATCH] reset: axs10x: Implement assert and deassert callbacks

2019-04-08 Thread Vitor Soares
Hi Eugeniy, From: Eugeniy Paltsev Date: Mon, Apr 08, 2019 at 12:40:00 > Hi Vitor, > > On Mon, 2019-04-08 at 12:31 +0200, Vitor Soares wrote: > > Some custom IP-block connected to ARC AXS10x board need assert and > > deassert functions to control reset signal of selected peripherals. > > > > Th

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

2019-04-08 Thread Daniel Lezcano
On 08/04/2019 14:42, Alexandre Belloni wrote: > On 08/04/2019 14:35:05+0200, Daniel Lezcano wrote: >> >> What about commit 51f0aeb2d21f1 ? >> > > Well, do you see anything parsing that in drivers/clocksource ? So to make it clear: 1. You say I said anything, emphasis this word in the previous an

Re: [PATCH] slab: fix a crash by reading /proc/slab_allocators

2019-04-08 Thread Qian Cai
On Sun, 2019-04-07 at 19:35 -1000, Linus Torvalds wrote: > On Sat, Apr 6, 2019 at 12:59 PM Qian Cai wrote: > > > > The commit 510ded33e075 ("slab: implement slab_root_caches list") > > changes the name of the list node within "struct kmem_cache" from > > "list" to "root_caches_node", but leaks_sh

Re: [PATCH] signal: don't silently convert SI_USER signals to non-current pidfd

2019-04-08 Thread Oleg Nesterov
On 03/30, Jann Horn wrote: > > --- a/kernel/signal.c > +++ b/kernel/signal.c > @@ -3605,16 +3605,11 @@ SYSCALL_DEFINE4(pidfd_send_signal, int, pidfd, int, > sig, > if (unlikely(sig != kinfo.si_signo)) > goto err; > > + /* Only allow sending arbitrary

RE: [PATCH V5 2/4] firmware: imx: enable imx scu general irq function

2019-04-08 Thread Anson Huang
Hi, Aisheng Best Regards! Anson Huang > -Original Message- > From: Aisheng Dong > Sent: 2019年4月8日 18:35 > To: Anson Huang ; robh...@kernel.org; > mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com; a.zu...@towertech.it; > alexand

Re: [PATCH 1/3] ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board

2019-04-08 Thread Linus Walleij
On Mon, Apr 8, 2019 at 2:26 PM Pascal PAILLET-LME wrote: > > I hope you are not trying to work around a bug in the driver by > > stripping out DMA configuration from the device tree, because then > > it is probably a better idea to fix the bug. > This is not a workaround. The PMIC can use the DM

Re: [PATCH] objtool: Don't use -Werror

2019-04-08 Thread Josh Poimboeuf
On Mon, Apr 08, 2019 at 09:20:50AM +, David Laight wrote: > From: Josh Poimboeuf > > Sent: 05 April 2019 18:23 > > On Fri, Apr 05, 2019 at 05:17:15PM +, David Laight wrote: > > > > Hm, I don't see that in cmd_objtool, or any commits from you in > > > > scripts/Makefile.build. > > > > > > No

Re: [PATCH v3] platform/chrome: mfd/cros_ec_debugfs: Add debugfs entry to retrieve EC uptime.

2019-04-08 Thread Enric Balletbo i Serra
On 8/4/19 13:29, Enric Balletbo i Serra wrote: > Hi Tim, > > Many thanks for sending this patch upstream, some comments below > > On 27/3/19 19:20, Tim Wawrzynczak wrote: >> The new debugfs entry 'uptime' is being made available to userspace so that >> a userspace daemon can synchronize EC log

Re: [PATCH 1/3] rtc: tegra: set range

2019-04-08 Thread Thierry Reding
On Mon, Apr 08, 2019 at 01:54:06PM +0200, Alexandre Belloni wrote: > On 08/04/2019 12:22:49+0200, Thierry Reding wrote: > > On Sun, Apr 07, 2019 at 11:16:44PM +0200, Alexandre Belloni wrote: > > > The Tegra 20 RTC is a 32bit seconds counter (with an unused millisecond > > > counter). > > > > > > S

Re: [RFC PATCH 0/7] Early task context tracking

2019-04-08 Thread Daniel Bristot de Oliveira
On 4/4/19 7:40 PM, Joel Fernandes wrote: >> Currently, recursion control uses the preempt_counter to >> identify the current context. The NMI/HARD/SOFT IRQ counters >> are set in the preempt_counter in the irq_enter/exit functions. > Just started looking. > > Thinking out loud... can we not just u

Assalamualaikum My Dear Friend,

2019-04-08 Thread Rasheed Mustafa
Assalamualaikum My Dear Friend, Before I introduce myself, I wish to inform you that this letter is not a hoax mail and I urge you to treat it serious. This letter must come to you as a big surprise, but I believe it is only a day that people meet and become great friends and business partners. Pl

Re: [PATCH] pinctrl: pinctrl-intel: move gpio suspend/resume to noirq phase

2019-04-08 Thread Mika Westerberg
On Mon, Apr 08, 2019 at 03:43:48PM +0300, Andy Shevchenko wrote: > On Mon, Apr 08, 2019 at 06:49:26PM +0800, Binbin Wu wrote: > > In current driver, SET_LATE_SYSTEM_SLEEP_PM_OPS is used to install the > > callbacks for suspend/resume. > > GPIO pin may be used as the interrupt pin by some device. Ho

Re: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-08 Thread Josh Poimboeuf
On Mon, Apr 08, 2019 at 09:13:58AM +0300, Elena Reshetova wrote: > diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c > index 7bc105f47d21..38ddc213a5e9 100644 > --- a/arch/x86/entry/common.c > +++ b/arch/x86/entry/common.c > @@ -35,6 +35,12 @@ > #define CREATE_TRACE_POINTS > #include

Re: [RFC PATCH 0/7] Early task context tracking

2019-04-08 Thread Daniel Bristot de Oliveira
On 4/4/19 2:01 AM, Andy Lutomirski wrote: >> To resolve this problem, the set/unset of the IRQ/NMI context needs to >> be done before the execution of the first C execution, and after its >> return. By doing so, and using this method to identify the context in the >> trace recursion protection, no

CONFIG_* symbols in UAPI headers?

2019-04-08 Thread Christoph Hellwig
I just stumbled over the MAP_UNINITIALIZED defintion, initially added by: commit ea637639591def87a54cea811cbac796980cb30d Author: Jie Zhang Date: Mon Dec 14 18:00:02 2009 -0800 nommu: fix malloc performance by adding uninitialized flag The defintion depends on CONFIG_MMAP_ALLOW_UNINITIALI

Re: [PATCH] pinctrl: Added IRQF_SHARED flag for amd-pinctrl driver

2019-04-08 Thread Linus Walleij
On Thu, Apr 4, 2019 at 3:16 PM Singh, Sandeep wrote: > From: Sandeep Singh > > Some of the AMD reference boards used single GPIO line for > multiple devices. So added IRQF_SHARED flag in amd pinctrl driver. > > > Signed-off-by: Sandeep Singh > Signed-off-by: Shyam Sundar S K > cc: Nehal Shah

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

2019-04-08 Thread Alexandre Belloni
On 08/04/2019 14:35:05+0200, Daniel Lezcano wrote: > > What about commit 51f0aeb2d21f1 ? > Well, do you see anything parsing that in drivers/clocksource ? -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH] pinctrl: pinctrl-intel: move gpio suspend/resume to noirq phase

2019-04-08 Thread Andy Shevchenko
On Mon, Apr 08, 2019 at 06:49:26PM +0800, Binbin Wu wrote: > In current driver, SET_LATE_SYSTEM_SLEEP_PM_OPS is used to install the > callbacks for suspend/resume. > GPIO pin may be used as the interrupt pin by some device. However, using > SET_LATE_SYSTEM_SLEEP_PM_OPS() to install the callbacks, t

RE: [EXT] Re: [PATCH v2] dt-bindings: pinctrl: imx7d: Fix PAD_CTL_DSE_X*

2019-04-08 Thread Aisheng Dong
> From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: Monday, April 8, 2019 8:10 PM > On Wed, Apr 3, 2019 at 10:43 AM Shawn Guo wrote: > > > I assume this will go via your tree. Let me know if you think > > differently. > > OK I applied it, if you're not merging any device trees using

Re: [PATCH v3 2/4] mfd: cros_ec: instantiate properly CrOS ISH MCU device

2019-04-08 Thread Andy Shevchenko
On Mon, Apr 08, 2019 at 12:39:48PM +0200, Enric Balletbo i Serra wrote: > On 8/4/19 12:28, Andy Shevchenko wrote: > > On Mon, Apr 08, 2019 at 11:41:39AM +0200, Enric Balletbo i Serra wrote: > >> From: Rushikesh S Kadam > >> > >> Integrated Sensor Hub (ISH) is also a MCU running EC > >> having feat

RE: [PATCH v4 3/3] fpga manager: Adding FPGA Manager support for Xilinx zynqmp

2019-04-08 Thread Nava kishore Manne
Hi Alan, Thanks for look into it and providing the ACK. I got one minor comments from Moritz Fischer do you want me fix that issue now or I can fix it later as it’s a minor comment? In which kernel version i can expect this driver changes?? Regards, Navakishore. > -Original Message-

[PATCH] MAINTAINERS / Documentation: Thorsten Scherer is the successor of Gavin Schenk

2019-04-08 Thread Gavin Schenk
Due to new challenges in my life I can no longer take care of SIOX. Thorsten takes over my SIOX tasks. Signed-off-by: Gavin Schenk --- Documentation/ABI/testing/sysfs-bus-siox | 22 +++--- MAINTAINERS | 2 +- 2 files changed, 12 insertions(+), 12 del

Re: [PATCH] staging: iio: cdc: ad7746: Replace bitshift by BIT

2019-04-08 Thread Joe Perches
On Wed, 2019-04-03 at 17:45 -0300, Lucas Oshiro wrote: > Replace bitshifts on lines 54, 56 and 78 of ad7746.c. checkpatch is not something that should be followed blindly. Look at the shifted blocks and determine if you think it was better before your proposed change. > diff --git a/drivers/stag

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

2019-04-08 Thread Daniel Lezcano
On 08/04/2019 14:11, Alexandre Belloni wrote: > Hi Daniel, > > On 08/04/2019 10:43:26+0200, Daniel Lezcano wrote: >> Hi Claudiu, >> >> On 14/03/2019 17:26, claudiu.bez...@microchip.com wrote: >>> From: Claudiu Beznea >>> >>> Add driver for Microchip PIT64B timer. Timer could be used in continuous

Re: [PATCH v4 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-04-08 Thread Andy Shevchenko
On Sat, Apr 06, 2019 at 10:03:58PM -0700, Ronald Tschalär wrote: > The keyboard and trackpad on recent MacBook's (since 8,1) and > MacBookPro's (13,* and 14,*) are attached to an SPI controller instead > of USB, as previously. The higher level protocol is not publicly > documented and hence has bee

Re: [PATCH 1/3] ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board

2019-04-08 Thread Pascal PAILLET-LME
Hello! Le 04/08/2019 02:05 PM, Linus Walleij a écrit : > On Wed, Apr 3, 2019 at 3:41 PM Pascal PAILLET-LME wrote: > >> This patch adds stpmic1 support on stm32mp157c ed1 board. >> The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 >> regulators, 3 power switches, a watchdog

Re: [Lima] [PATCH -next] MAINTAINERS: mark lima mailing list as moderated

2019-04-08 Thread Qiang Yu
On Mon, Apr 8, 2019 at 8:00 PM Neil Armstrong wrote: > > On 08/04/2019 03:37, Qiang Yu wrote: > > Looks good for me, patch is: > > Reviewed-by: Qiang Yu > > Also: > Reviewed-by: Neil Armstrong > > > > > Should I apply this patch to drm-misc in this case? Or this patch will be > > submitted in ot

Re: [PATCH v8 02/11] dt-bindings: power: supply: add DT bindings for max77650

2019-04-08 Thread Bartosz Golaszewski
sob., 6 kwi 2019 o 09:07 Rob Herring napisał(a): > > On Wed, Apr 03, 2019 at 11:00:59AM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Add the DT binding document for the battery charger module of max77650. > > > > Signed-off-by: Bartosz Golaszewski > > --- > > .../powe

Re: [PATCH V2 2/2] trace,x86: Add nmi to the irq_vectors class

2019-04-08 Thread Daniel Bristot de Oliveira
On 4/5/19 11:50 PM, Thomas Gleixner wrote: > On Mon, 1 Apr 2019, Daniel Bristot de Oliveira wrote: >> Currently, the irq_vector class of tracepoints does not include the NMI >> entry. The NMI was in the first set of tracepoints for IRQs, but it was >> dropped off because of the logic of switching I

Re: Thoughts on simple scanner approach for free page hinting

2019-04-08 Thread Nitesh Narayan Lal
On 4/5/19 8:09 PM, Alexander Duyck wrote: > So I am starting this thread as a spot to collect my thoughts on the > current guest free page hinting design as well as point out a few > possible things we could do to improve upon it. > > 1. The current design isn't likely going to scale well to multi

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

2019-04-08 Thread Alexandre Belloni
Hi Daniel, On 08/04/2019 10:43:26+0200, Daniel Lezcano wrote: > Hi Claudiu, > > On 14/03/2019 17:26, claudiu.bez...@microchip.com wrote: > > From: Claudiu Beznea > > > > Add driver for Microchip PIT64B timer. Timer could be used in continuous > > mode or oneshot mode. The hardware has 2x32 bit

Re: [PATCH v2] dt-bindings: pinctrl: imx7d: Fix PAD_CTL_DSE_X*

2019-04-08 Thread Linus Walleij
On Wed, Apr 3, 2019 at 10:43 AM Shawn Guo wrote: > I assume this will go via your tree. Let me know if you think > differently. OK I applied it, if you're not merging any device trees using these defines this cycle it's fine I suppose. Yours, Linus Walleij

[PATCH 2/2] regulator: hi655x: Remove ctrl_mask field from struct hi655x_regulator

2019-04-08 Thread Axel Lin
The rdev->desc->enable_mask setting is always the same as BIT(regulator->ctrl_mask), so just use rdev->desc->enable_mask instead. Signed-off-by: Axel Lin --- drivers/regulator/hi655x-regulator.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/regulator/

[PATCH 1/2] regulator: hi655x: Constify regulators array

2019-04-08 Thread Axel Lin
The regulators array should never need to be modified, make it const so compiler can put it to .rodata. Signed-off-by: Axel Lin --- drivers/regulator/hi655x-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/hi655x-regulator.c b/drivers/regulator/h

Re: [PATCH v2] dt-bindings: pinctrl: imx7d: Fix PAD_CTL_DSE_X*

2019-04-08 Thread Linus Walleij
On Wed, Mar 13, 2019 at 3:20 PM Christina Quast wrote: > In the iMX7d datasheet, the PAD_CTL_DSE_X* values are different from > the documentation. > > Changes since v2: > * Changed patch title to 'dt-bindings: pinctrl: imx7d:' > > Signed-off-by: Christina Quast Patch applied with the ACKs. You

Re: [PATCH v3 3/4] driver core: add dev_print_hex_dump() logging function.

2019-04-08 Thread Andy Shevchenko
On Sat, Apr 06, 2019 at 06:46:13PM -0700, Life is hard, and then you die wrote: > > On Mon, Apr 01, 2019 at 07:47:14PM -0700, Life is hard, and then you die > > wrote: > > > On Thu, Mar 28, 2019 at 12:29:52PM +0100, Greg Kroah-Hartman wrote: > > > > On Thu, Mar 28, 2019 at 03:27:55AM -0700, Life i

Re: [PATCH 2/3] ARM: dts: stm32: add stpmic1 support on stm32mp157a dk1 board

2019-04-08 Thread Linus Walleij
On Wed, Apr 3, 2019 at 3:41 PM Pascal PAILLET-LME wrote: > This patch adds stpmic1 support on stm32mp157a dk1 board. > The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 > regulators, 3 power switches, a watchdog and an input for a power on key. > > Signed-off-by: Pascal Pai

Re: [PATCH 1/3] ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board

2019-04-08 Thread Linus Walleij
On Wed, Apr 3, 2019 at 3:41 PM Pascal PAILLET-LME wrote: > This patch adds stpmic1 support on stm32mp157c ed1 board. > The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 > regulators, 3 power switches, a watchdog and an input for a power on key. > > Signed-off-by: Pascal Pai

Re: [PATCH 2/2] tty: add rpmsg driver

2019-04-08 Thread Arnaud Pouliquen
On 4/6/19 9:56 AM, xiang xiao wrote: > On Sat, Apr 6, 2019 at 12:08 AM Arnaud Pouliquen > wrote: >> >> >> >> On 4/5/19 4:03 PM, xiang xiao wrote: >>> On Fri, Apr 5, 2019 at 8:33 PM Arnaud Pouliquen >>> wrote: On 4/5/19 12:12 PM, xiang xiao wrote: > On Fri, Apr 5, 2019

Re: [PATCH] x86/tsc: mark tsc reliable on CoffeeLake

2019-04-08 Thread Thomas Gleixner
On Mon, 8 Apr 2019, You-Sheng Yang wrote: > From: You-Sheng Yang > > On Intel CoffeeLake it's observed tsc is always marked unstable > unexpectedly after entering idle state Package C10(PC10), and then clock > source is switched to hpet. This patch marks tsc as reliable when CPUID > matches Coff

Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-04-08 Thread Thibaut Sautereau
Hello Jarkko, On Thu, Mar 28, 2019 at 09:34:18AM -0700, Tadeusz Struk wrote: > On 3/28/19 5:34 AM, Jarkko Sakkinen wrote: > > Thank you, it is applied. > > Thank you Jarkko. What's the status of this patch now? It's needed in linux-5.0.y as TPM 2.0 support is currently broken with those stable k

Re: linux-next: manual merge of the staging tree with the staging.current tree

2019-04-08 Thread Jonathan Cameron
On Mon, 8 Apr 2019 13:34:37 +0300 Andy Shevchenko wrote: > On Mon, Apr 08, 2019 at 11:14:39AM +0100, Jonathan Cameron wrote: > > On Mon, 8 Apr 2019 13:01:21 +0300 > > Andy Shevchenko wrote: > > > On Mon, Apr 08, 2019 at 09:14:58AM +0100, Jonathan Cameron wrote: > > > > On Mon, 8 Apr 2019 13:

Re: [PATCH v2 1/4] ARM: dts: sama5d{2,4}: use SPDX-License-Identifier

2019-04-08 Thread Ludovic Desroches
On Wed, Apr 03, 2019 at 10:52:16PM +0200, Alexandre Belloni wrote: > External E-Mail > > > The X11 license text [1] is explicitly for the X Consortium and has a > couple of extra clauses. The MIT license text [2] is actually what the > current DT files claim. > > [1] https://spdx.org/licenses/X1

Re: [PATCH 1/3] rtc: tegra: set range

2019-04-08 Thread Alexandre Belloni
On 08/04/2019 12:22:49+0200, Thierry Reding wrote: > On Sun, Apr 07, 2019 at 11:16:44PM +0200, Alexandre Belloni wrote: > > The Tegra 20 RTC is a 32bit seconds counter (with an unused millisecond > > counter). > > > > Signed-off-by: Alexandre Belloni > > --- > > drivers/rtc/rtc-tegra.c | 24

[PATCH] Deferred URB submission for timesharing the DMA channels of DWC_OTG host controller in Raspberry PI

2019-04-08 Thread Ramachandran Srinivasan (BRT-SG)
Signed-off-by: Srinivasan R --- drivers/usb/serial/ftdi_sio.c | 153 +- 1 file changed, 152 insertions(+), 1 deletion(-) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 1d8077e..552d7f8 100644 --- a/drivers/usb/serial/ftdi_

Re: [PATCH v8 01/16] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-04-08 Thread Patrick Bellasi
On 06-Apr 16:51, Suren Baghdasaryan wrote: > On Tue, Apr 2, 2019 at 3:42 AM Patrick Bellasi > wrote: [...] > > + * The first few values calculated by this routine: > > + * bf(0) = 1 > > + * bf(1) = 1 > > + * bf(2) = 2 > > + * bf(3) = 2 > > + * bf(4) = 3 > > + * ... and so on. > > + */ > > +#def

Re: [PATCH] ARM: at91: remove HAVE_FB_ATMEL for sama5 SoC as they use DRM

2019-04-08 Thread Ludovic Desroches
On Thu, Mar 28, 2019 at 04:33:07PM +0100, Nicolas Ferre wrote: > SAMA5 devices use the newer DRM driver for LCD. They don't need > the older FB driver: remove the Kconfig option for them. > > Signed-off-by: Nicolas Ferre Applied to at91-defconfig. Thanks. > --- > arch/arm/mach-at91/Kconfig |

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

2019-04-08 Thread Claudiu.Beznea
Hi Daniel, On 08.04.2019 11:43, Daniel Lezcano wrote: > External E-Mail > > > Hi Claudiu, > > On 14/03/2019 17:26, claudiu.bez...@microchip.com wrote: >> From: Claudiu Beznea >> >> Add driver for Microchip PIT64B timer. Timer could be used in continuous >> mode or oneshot mode. The hardware ha

Re: [PATCH] pinctrl: freescale: use devm_platform_ioremap_resource() to simplify code

2019-04-08 Thread Linus Walleij
On Mon, Apr 1, 2019 at 7:07 AM Anson Huang wrote: > Use the new helper devm_platform_ioremap_resource() which wraps the > platform_get_resource() and devm_ioremap_resource() together, to > simplify the code. > > Signed-off-by: Anson Huang Patch applied. Yours, Linus Walleij

Re: [PATCH] reset: axs10x: Implement assert and deassert callbacks

2019-04-08 Thread Eugeniy Paltsev
Hi Vitor, On Mon, 2019-04-08 at 12:31 +0200, Vitor Soares wrote: > Some custom IP-block connected to ARC AXS10x board need assert and > deassert functions to control reset signal of selected peripherals. > > This patch improve AXS10x reset driver by adding assert and deassert > callbacks. In th

Re: [PATCH v3] platform/chrome: mfd/cros_ec_debugfs: Add debugfs entry to retrieve EC uptime.

2019-04-08 Thread Enric Balletbo i Serra
Hi Tim, Many thanks for sending this patch upstream, some comments below On 27/3/19 19:20, Tim Wawrzynczak wrote: > The new debugfs entry 'uptime' is being made available to userspace so that > a userspace daemon can synchronize EC logs with host time. > > Signed-off-by: Tim Wawrzynczak > --- >

RE: [PATCH v2] pinctrl: pinctrl-imx8mq: Add suspend/resume ops

2019-04-08 Thread Aisheng Dong
> From: Abel Vesa > Sent: Monday, April 8, 2019 6:43 PM > Subject: [PATCH v2] pinctrl: pinctrl-imx8mq: Add suspend/resume ops pinctrl: imx8mq: > To support pinctl hog restore after LPSR resume back, add the generic > suspend/resume in pinctrl-imx along with the generic pm opsto be used by >

RE: [PATCH] reset: axs10x: Implement assert and deassert callbacks

2019-04-08 Thread Jose Abreu
From: Vitor Soares Date: Mon, Apr 08, 2019 at 11:31:23 > static const struct reset_control_ops axs10x_reset_ops = { > - .reset = axs10x_reset_reset, Eugeniy, Alexey, I think the implementation of this callback is wrong: you should readl_poll_timeout_atomic() until the reset bit is not cle

Re: [BUG] Rockchip SPI: long burst writes produce unexpected result

2019-04-08 Thread Vicente Bergas
On Sunday, April 7, 2019 9:55:10 PM CEST, Emil Renner Berthing wrote: Hi Vicente, On Sat, 6 Apr 2019 at 19:35, Vicente Bergas wrote: Hi, i have been experiencing issues writing to NOR-Flash SPI Memories from two RK3399-based platforms: gru-kevin and sapphire board. For kevin, this resulted in

[PATCH4/4] Add support for SUNIX Multi-I/O board

2019-04-08 Thread Morris Ku
Hi, Lee, Thanks for review, my replies are inline: Signed-off-by: Morris Ku --- + +On 03 Apr 2019, Lee Jones wrote: + +> >Please do not drop the list from your recipients. + +>On Tue, 02 Apr 2019, Morris Ku ? wrote: + +> Hello , Lee , +> +> +> Sunix multi-io card is a composite device,

Re: [PATCH] spi: Add missing error handling for CS GPIOs

2019-04-08 Thread Linus Walleij
On Wed, Apr 3, 2019 at 4:46 PM Geert Uytterhoeven wrote: > While devm_gpiod_get_index_optional() returns NULL if the GPIO is not > present (i.e. -ENOENT), it may still return other error codes, like > -EPROBE_DEFER. Currently these are not handled, leading to > unrecoverable failures later in ca

RE: [PATCH] stm class: Fix out of bound access from bitmap allocation

2019-04-08 Thread David Laight
From: Robin Murphy > Sent: 08 April 2019 11:52 > On 08/04/2019 11:33, David Laight wrote: > > From: Robin Murphy > >> Sent: 08 April 2019 11:24 > >> On 07/04/2019 05:31, Sai Prakash Ranjan wrote: > >>> On 4/5/2019 6:44 PM, David Laight wrote: > From: Sai Prakash Ranjan > > > > diff --g

Re: [PATCH] spi: spi-gpio: Remove spi->controller_data comment

2019-04-08 Thread Linus Walleij
On Wed, Apr 3, 2019 at 4:46 PM Geert Uytterhoeven wrote: > The conversion from GPIO numbers to GPIO descriptors removed the use of > spi->controller_data, but forgot to update a comment referring to it. > > Fixes: 9b00bc7b901ff672 ("spi: spi-gpio: Rewrite to use GPIO descriptors") > Signed-off-by

Re: [PATCH] fs/buffer.c: Fix data corruption when buffer write with IO error

2019-04-08 Thread Jan Kara
On Sat 06-04-19 15:13:13, ZhangXiaoxu wrote: > When the buffer write failed, 'end_buffer_write_sync' and > 'end_buffer_async_write' will clear the uptodate flag. But the > data in the buffer maybe newer than disk. In some case, this > will lead data corruption. > > For example: ext4 flush metadata

RE: [PATCH V5 4/4] rtc: imx-sc: add rtc alarm support

2019-04-08 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, March 18, 2019 11:10 AM > > Add i.MX system controller RTC alarm support, the RTC alarm is implemented > via SIP(silicon provider) runtime service call and ARM-Trusted-Firmware will > communicate with system controller via MU(message unit) IPC to set RTC > alarm

Re: [PATCH] gpio: of: Optimize quirk checks

2019-04-08 Thread Linus Walleij
On Fri, Mar 29, 2019 at 9:42 AM Geert Uytterhoeven wrote: > Simple string comparisons are cheaper than DT lookups, as the latter > involve taking a spinlock and traversing properties. > Hence optimize quirk checks by postponing DT lookups after string > comparisons. > > Signed-off-by: Geert Uytte

Re: [PATCH] arm64: dts: qcom: Add Lenovo Miix 630

2019-04-08 Thread Mark Rutland
On Tue, Mar 26, 2019 at 11:55:25AM -0700, Jeffrey Hugo wrote: > This adds the initial DT for the Lenovo Miix 630 laptop. Supported > functionality includes USB (host), microSD-card, keyboard, and trackpad. I was under the impression that the Miix 630 came with Windows, and the firmware therefore

[PATCH] pinctrl: pinctrl-intel: move gpio suspend/resume to noirq phase

2019-04-08 Thread Binbin Wu
In current driver, SET_LATE_SYSTEM_SLEEP_PM_OPS is used to install the callbacks for suspend/resume. GPIO pin may be used as the interrupt pin by some device. However, using SET_LATE_SYSTEM_SLEEP_PM_OPS() to install the callbacks, the resume callback is called after resume_device_irqs(). Unintended

Re: [PATCH] stm class: Fix out of bound access from bitmap allocation

2019-04-08 Thread Robin Murphy
On 08/04/2019 11:33, David Laight wrote: From: Robin Murphy Sent: 08 April 2019 11:24 On 07/04/2019 05:31, Sai Prakash Ranjan wrote: On 4/5/2019 6:44 PM, David Laight wrote: From: Sai Prakash Ranjan diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c index 93ce3aa740a9..

Re: [PATCH v3 3/6] ARM: dts: sun50i: h6: Introduce Beelink GS1 board

2019-04-08 Thread Maxime Ripard
On Mon, Apr 08, 2019 at 11:26:16AM +0200, Clément Péron wrote: > Beelink GS1 is an Allwinner H6 based TV box, > which support: > - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 > - GPU Mali-T720 > - 2GB LPDDR3 RAM > - AXP805 PMIC > - 1Gbps GMAC via RTL8211E > - FN-Link 6222B-SRB Wifi/BT > - 1x USB 2

Re: [PATCH v3 1/7] clkdev: Hold clocks_mutex while iterating clocks list

2019-04-08 Thread Matti Vaittinen
On Fri, Apr 05, 2019 at 01:37:24PM -0700, Stephen Boyd wrote: > Quoting Vaittinen, Matti (2019-04-04 23:51:43) > > On Thu, 2019-04-04 at 14:53 -0700, Stephen Boyd wrote: > > > We recently introduced a change to support devm clk lookups. That > > > change > > > introduced a code-path that used clk_f

Re: [PATCH v4 3/4] dt-bindings: arm: coresight: Unify funnel DT binding

2019-04-08 Thread Suzuki K Poulose
On 04/06/2019 12:21 PM, Leo Yan wrote: Following the same fashion with replicator DT binding, this patch is to unify the DT binding for funnel to support static and dynamic modes; finally we get the funnel DT binding as below: Before patch: Static funnel, aka. non-configurable funnel: N

Re: [PATCH V2 0/5] cpufreq: Use QoS layer to manage freq-constraints

2019-04-08 Thread Viresh Kumar
On 21-02-19, 12:30, Rafael J. Wysocki wrote: > On Thursday, February 21, 2019 12:29:26 PM CET Viresh Kumar wrote: > > Hello, > > > > This patchset attempts to manage CPU frequency constraints using the PM > > QoS framework. It only does the basic stuff right now and moves the > > userspace constra

Re: [PATCH] cpufreq: maple: Remove redundant code from maple_cpufreq_init()

2019-04-08 Thread Viresh Kumar
On 08-04-19, 12:41, Rafael J. Wysocki wrote: > On Monday, April 8, 2019 12:17:06 PM CEST Viresh Kumar wrote: > > The success path and error path both look the same, don't duplicate the > > code. > > > > Signed-off-by: Viresh Kumar > > --- > > drivers/cpufreq/maple-cpufreq.c | 4 > > 1 file

Re: [RFC PATCH 2/9] cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs

2019-04-08 Thread Viresh Kumar
On 04-04-19, 07:09, Niklas Cassel wrote: > From: Sricharan R > > The kryo cpufreq driver reads the nvmem cell and uses that data to > populate the opps. There are other qcom cpufreq socs like krait which > does similar thing. Except for the interpretation of the read data, > rest of the driver is

Re: [PATCH v4 2/4] coresight: replicator: Add new device id for static replicator

2019-04-08 Thread Suzuki K Poulose
On 04/06/2019 12:21 PM, Leo Yan wrote: This patch adds a device id for the new static replicator compatible string; it changes the driver name from "coresight-replicator" to "coresight-static-replicator" as well. Signed-off-by: Leo Yan --- drivers/hwtracing/coresight/coresight-replicator.c |

[PATCH RESEND 0/1] PCI: Add ATS-disable quirk for AMD Radeon R7 GPUs

2019-04-08 Thread Nikolai Kostrigin
This solves system hang and file system corruption for Stoney Ridge systems (with built-in Radeon R4/R5 + discreet AMD Radeon R7 GPU) Such system example: HP laptop 17-ak041ur (more HW info at https://bugzilla.kernel.org/show_bug.cgi?id=194521) Nikolai Kostrigin (1): PCI: Add ATS-disable quirk

[PATCH RESEND 1/1] PCI: Add ATS-disable quirk for AMD Radeon R7 GPUs

2019-04-08 Thread Nikolai Kostrigin
ATS is broken on this hardware (at least for Stoney Ridge based laptop) and causes IOMMU stalls and system failure. Disable ATS on these devices to make them usable again with IOMMU enabled Thanks to Joerg Roedel for help. https://bugzilla.kernel.org/show_bug.cgi?id=194521 Signed-off-by: Nikolai

[PATCH v2] pinctrl: pinctrl-imx8mq: Add suspend/resume ops

2019-04-08 Thread Abel Vesa
To support pinctl hog restore after LPSR resume back, add the generic suspend/resume in pinctrl-imx along with the generic pm opsto be used by platform specific drivers. Then make use of the newly added ops in i.MX8MQ platform specific driver. Signed-off-by: Robin Gong Signed-off-by: Abel Vesa -

Re: [PATCH RFC 00/39] x86/KVM: Xen HVM guest support

2019-04-08 Thread Juergen Gross
On 08/04/2019 12:36, Joao Martins wrote: > On 4/8/19 7:44 AM, Juergen Gross wrote: >> On 12/03/2019 18:14, Joao Martins wrote: >>> On 2/22/19 4:59 PM, Paolo Bonzini wrote: On 21/02/19 12:45, Joao Martins wrote: > On 2/20/19 9:09 PM, Paolo Bonzini wrote: >> On 20/02/19 21:15, Joao Marti

Re: [PATCH v4 1/4] dt-bindings: arm: coresight: Add new compatible for static replicator

2019-04-08 Thread Suzuki K Poulose
On 04/06/2019 12:21 PM, Leo Yan wrote: CoreSight uses below bindings for replicator: Static replicator, aka. non-configurable replicator: "arm,coresight-replicator"; Dynamic replicator, aka. configurable replicator: "arm,coresight-dynamic-replicator", "arm,primecell"; The compa

Re: [PATCH] regulator: bd718x7: Use rdev_get_id() to get regulator id

2019-04-08 Thread Matti Vaittinen
On Sun, Apr 07, 2019 at 05:03:02PM +0800, Axel Lin wrote: > Use rdev_get_id() instead of directly access rdev->desc->id. > While at it also remove unneeded init for ramp_value variable. > > Signed-off-by: Axel Lin > --- > drivers/regulator/bd718x7-regulator.c | 4 ++-- > 1 file changed, 2 insert

Re: [PATCH v3 1/6] arm64: dts: allwinner: h6: move MMC pinctrl to dtsi

2019-04-08 Thread Maxime Ripard
On Mon, Apr 08, 2019 at 11:26:14AM +0200, Clément Péron wrote: > There is only one pinmuxing available for each MMC controller. > > Move the pinctrl to the SOC > > Signed-off-by: Clément Péron > --- > arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 2 -- > arch/arm64/boot/dts/allwinner/su

Re: [PATCH] cpufreq: maple: Remove redundant code from maple_cpufreq_init()

2019-04-08 Thread Rafael J. Wysocki
On Monday, April 8, 2019 12:17:06 PM CEST Viresh Kumar wrote: > The success path and error path both look the same, don't duplicate the > code. > > Signed-off-by: Viresh Kumar > --- > drivers/cpufreq/maple-cpufreq.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/cpufreq/map

[PATCH] x86/tsc: mark tsc reliable on CoffeeLake

2019-04-08 Thread You-Sheng Yang
From: You-Sheng Yang On Intel CoffeeLake it's observed tsc is always marked unstable unexpectedly after entering idle state Package C10(PC10), and then clock source is switched to hpet. This patch marks tsc as reliable when CPUID matches CoffeeLake. Link: https://bugzilla.kernel.org/show_bug.cgi

Re: [PATCH v3 2/4] mfd: cros_ec: instantiate properly CrOS ISH MCU device

2019-04-08 Thread Enric Balletbo i Serra
On 8/4/19 12:28, Andy Shevchenko wrote: > On Mon, Apr 08, 2019 at 11:41:39AM +0200, Enric Balletbo i Serra wrote: >> From: Rushikesh S Kadam >> >> Integrated Sensor Hub (ISH) is also a MCU running EC >> having feature bit EC_FEATURE_ISH. Instantiate it as >> a special CrOS EC device with device

Re: [PATCH] s390/mm: Silence compiler warning when compiling without CONFIG_PGSTE

2019-04-08 Thread Thomas Huth
On 08/04/2019 09.09, David Hildenbrand wrote: > On 07.04.19 14:55, Thomas Huth wrote: >> If CONFIG_PGSTE is not set (e.g. when compiling without KVM), GCC complains: >> >> CC arch/s390/mm/pgtable.o >> arch/s390/mm/pgtable.c:413:15: warning: ‘pmd_alloc_map’ defined but not >> used [-Wunused-

RE: [PATCH V5 2/4] firmware: imx: enable imx scu general irq function

2019-04-08 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, March 18, 2019 11:10 AM > > The System Controller Firmware (SCFW) controls RTC, thermal and WDOG etc., > these resources' interrupt function are managed by SCU. When any IRQ > pending, SCU will notify Linux via MU general interrupt channel #3, and Linux > kernel

Re: [PATCH v3 19/36] thunderbolt: Extend tunnel creation to more than 2 adjacent switches

2019-04-08 Thread Mika Westerberg
On Mon, Apr 08, 2019 at 11:49:04AM +0200, Lukas Wunner wrote: > On Mon, Apr 08, 2019 at 12:07:44PM +0300, Mika Westerberg wrote: > > On Mon, Apr 08, 2019 at 10:53:37AM +0200, Lukas Wunner wrote: > > > Hm, what other cases are there, i.e. what is the meaning of a > > > tb_regs_hop's > > > "next_hop

Re: linux-next: manual merge of the staging tree with the staging.current tree

2019-04-08 Thread Andy Shevchenko
On Mon, Apr 08, 2019 at 11:14:39AM +0100, Jonathan Cameron wrote: > On Mon, 8 Apr 2019 13:01:21 +0300 > Andy Shevchenko wrote: > > On Mon, Apr 08, 2019 at 09:14:58AM +0100, Jonathan Cameron wrote: > > > On Mon, 8 Apr 2019 13:02:12 +1000 > > > Stephen Rothwell wrote: > > > > Today's linux-next me

RE: [PATCH] stm class: Fix out of bound access from bitmap allocation

2019-04-08 Thread David Laight
From: Robin Murphy > Sent: 08 April 2019 11:24 > On 07/04/2019 05:31, Sai Prakash Ranjan wrote: > > On 4/5/2019 6:44 PM, David Laight wrote: > >> From: Sai Prakash Ranjan > >>> > >>> diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c > >>> index 93ce3aa740a9..21a5838f6e67 1006

Re: [PATCH v5 1/7] dt-bindings: Add panel-timing subnode to simple-panel

2019-04-08 Thread Thierry Reding
On Mon, Apr 01, 2019 at 10:17:18AM -0700, Douglas Anderson wrote: > From: Sean Paul > > This patch adds a new subnode to simple-panel allowing us to override > the typical timing expressed in the panel's display_timing. > > Changes in v2: > - Split out the binding into a new patch (Rob) > - di

[PATCH] reset: axs10x: Implement assert and deassert callbacks

2019-04-08 Thread Vitor Soares
Some custom IP-block connected to ARC AXS10x board need assert and deassert functions to control reset signal of selected peripherals. This patch improve AXS10x reset driver by adding assert and deassert callbacks. Signed-off-by: Vitor Soares Cc: Eugeniy Paltsev Cc: Alexey Brodkin Cc: Joao Pi

Re: [RFC PATCH 0/9] Add support for QCOM Core Power Reduction

2019-04-08 Thread Viresh Kumar
On Thu, Apr 4, 2019 at 10:40 AM Niklas Cassel wrote: > > This is a first RFC for Core Power Reduction (CPR), a form of > Adaptive Voltage Scaling (AVS), found on certain Qualcomm SoCs. > > Since this is simply an RFC, things like MAINTAINERS hasn't > been updated yet. > > CPR is a technology that

Re: [PATCH v3 2/4] mfd: cros_ec: instantiate properly CrOS ISH MCU device

2019-04-08 Thread Andy Shevchenko
On Mon, Apr 08, 2019 at 11:41:39AM +0200, Enric Balletbo i Serra wrote: > From: Rushikesh S Kadam > > Integrated Sensor Hub (ISH) is also a MCU running EC > having feature bit EC_FEATURE_ISH. Instantiate it as > a special CrOS EC device with device name 'cros_ish'. > Reviewed-by: Andy Shevchenko

Re: [PATCH] stm class: Fix out of bound access from bitmap allocation

2019-04-08 Thread Robin Murphy
On 07/04/2019 05:31, Sai Prakash Ranjan wrote: On 4/5/2019 6:44 PM, David Laight wrote: From: Sai Prakash Ranjan diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c index 93ce3aa740a9..21a5838f6e67 100644 --- a/drivers/hwtracing/stm/core.c +++ b/drivers/hwtracing/stm/core.

Re: [PATCH 3/3] rtc: tegra: convert to SPDX identifier

2019-04-08 Thread Thierry Reding
On Sun, Apr 07, 2019 at 11:16:46PM +0200, Alexandre Belloni wrote: > Use SPDX-License-Identifier instead of a verbose license text. > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-tegra.c | 15 +-- > 1 file changed, 1 insertion(+), 14 deletions(-) Acked-by: Thierry Redi

Re: [PATCH 2/3] rtc: tegra: switch to rtc_time64_to_tm/rtc_tm_to_time64

2019-04-08 Thread Thierry Reding
On Sun, Apr 07, 2019 at 11:16:45PM +0200, Alexandre Belloni wrote: > Call the 64bit versions of rtc_tm time conversion now that the range is > enforced by the core. > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-tegra.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-

Re: [PATCH v2 4/4] power: supply: add Ingenic JZ47xx battery driver.

2019-04-08 Thread Paul Cercueil
Le lun. 8 avril 2019 à 11:38, Sebastian Reichel a écrit : Hi Paul, On Sun, Apr 07, 2019 at 09:07:57PM +0200, Paul Cercueil wrote: Hi Sebastian, Le dim. 7 avril 2019 à 18:52, Sebastian Reichel a écrit : > Hi, > > On Sun, Mar 24, 2019 at 03:31:37PM +, Jonathan Cameron wrote: >

Re: [PATCH 1/3] rtc: tegra: set range

2019-04-08 Thread Thierry Reding
On Sun, Apr 07, 2019 at 11:16:44PM +0200, Alexandre Belloni wrote: > The Tegra 20 RTC is a 32bit seconds counter (with an unused millisecond > counter). > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-tegra.c | 24 ++-- > 1 file changed, 14 insertions(+), 10 dele

Re: Possible bio merging breakage in mp bio rework

2019-04-08 Thread Johannes Thumshirn
On 08/04/2019 12:19, Ming Lei wrote: > bio_add_page() is absolutely the fast path, and it is much more efficient > to apply the limit just once in the queue's .make_request_fn. You're right, this makes sense. Thanks, Johannes -- Johannes ThumshirnSUSE Labs Fil

Re: [PATCH 1/7] cpufreq: ap806: fix possible object reference leak

2019-04-08 Thread Viresh Kumar
On 01-04-19, 09:37, Wen Yang wrote: > The call to of_find_compatible_node returns a node pointer with refcount > incremented thus it must be explicitly decremented after the last > usage. > > Detected by coccinelle with the following warnings: > ./drivers/cpufreq/armada-8k-cpufreq.c:187:1-7: ERROR

RE: Issues with i.MX SPI DMA transfers

2019-04-08 Thread Robin Gong
> -Original Message- > From: Igor Plyatov > Sent: 2019年4月3日 23:51 > To: Robin Gong > Cc: Uwe Kleine-König ; > linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-...@vger.kernel.org; dl-linux-imx ; Fabio Estevam > ; Pengutronix Kernel Team ; > Sascha Hauer ; Shawn

[PATCH] cpufreq: maple: Remove redundant code from maple_cpufreq_init()

2019-04-08 Thread Viresh Kumar
The success path and error path both look the same, don't duplicate the code. Signed-off-by: Viresh Kumar --- drivers/cpufreq/maple-cpufreq.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/cpufreq/maple-cpufreq.c b/drivers/cpufreq/maple-cpufreq.c index a05f1342ec02..a94355723ef8

<    1   2   3   4   5   6   7   8   >