[PATCH 1/1] KVM: arm/arm64: vgic_init: Cleanup reference to process_maintenance

2018-05-02 Thread Valentin Schneider
One comment still mentioned process_maintenance operations after commit af0614991ab6 ("KVM: arm/arm64: vgic: Get rid of unnecessary process_maintenance operation") Update the comment to point to vgic_fold_lr_state instead, which is where maintenance interrupts are taken care of. Acked-by: Christ

Re: [PATCH v3 2/3] power: supply: add cros-ec USBPD charger driver.

2018-05-02 Thread Sebastian Reichel
Hi, I found one more issue, otherwise the driver looks fine to me. On Wed, May 02, 2018 at 11:53:42AM +0200, Enric Balletbo i Serra wrote: > This driver gets various bits of information about what is connected to > USB PD ports from the EC and converts that into power_supply properties. > > Sign

Re: [linux-sunxi] [PATCH 3/3] arm64: allwinner: h6: enable MMC0/2 on Pine H64

2018-05-02 Thread Andre Przywara
Hi, On 01/05/18 16:52, Chen-Yu Tsai wrote: > On Mon, Apr 30, 2018 at 6:44 PM, Andre Przywara > wrote: >> Hi, >> >> On 30/04/18 10:51, Icenowy Zheng wrote: >>> >>> >>> 于 2018年4月30日 GMT+08:00 下午5:47:35, Andre Przywara >>> 写到: Hi Icenowy, On 27/04/18 08:12, Icenowy Zheng wrote: >>>

Re: [PATCH v2 0/6] arm64: provide pseudo NMI with GICv3

2018-05-02 Thread Daniel Thompson
On Tue, May 01, 2018 at 06:18:44PM +, Joel Fernandes wrote: > > > From my understanding, Linux's hardlockup detector already uses the ARM > PMU > > > interrupt to check whether some task is stuck. I haven't looked at the > > > details of the implementation yet, but in theory having the PMU > in

Re: [PATCH v3 1/3] mfd: cros_ec: Add USBPD charger commands and struct definitions.

2018-05-02 Thread Sebastian Reichel
Hi Lee, On Wed, May 02, 2018 at 11:53:41AM +0200, Enric Balletbo i Serra wrote: > From: Sameer Nanda > > The USBPD charger driver gets information from the ChromeOS EC, this > patch adds the USBPD charger definitions needed by this driver. > > Signed-off-by: Sameer Nanda > Signed-off-by: Enric

Re: [linux-sunxi] [PATCH 3/3] arm64: allwinner: h6: enable MMC0/2 on Pine H64

2018-05-02 Thread Andre Przywara
Hi, On 02/05/18 10:36, Maxime Ripard wrote: > On Mon, Apr 30, 2018 at 10:47:35AM +0100, Andre Przywara wrote: I am just asking because I want to avoid running into the same problem as with the A64 before: that future DTs become incompatible with older kernels, because we change the

Re: [PATCH 16/18] thermal: exynos: cleanup code for enabling threshold interrupts

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 02, 2018 12:03:44 PM Bartlomiej Zolnierkiewicz wrote: > On Tuesday, May 01, 2018 01:02:39 PM Daniel Lezcano wrote: > > On Thu, Apr 26, 2018 at 01:51:31PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > Cleanup code for enabling threshold interrupts in ->tmu_control > > > method impl

Re: [PATCH 1/2] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT

2018-05-02 Thread Mark Rutland
On Wed, May 02, 2018 at 11:00:55AM +0200, Laurent Dufour wrote: > On 02/05/2018 09:54, Ganesh Mahendran wrote: > > Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for arm64. This > > enables Speculative Page Fault handler. > > > > Signed-off-by: Ganesh Mahendran > > --- > > This patch is on top of Laure

[PATCH] md/raid1: add error handling of read error from FailFast device

2018-05-02 Thread Gioh Kim
Current handle_read_error() function calls fix_read_error() only if md device is RW and rdev does not include FailFast flag. It does not handle a read error from a RW device including FailFast flag. I am not sure it is intended. But I found that write IO error sets rdev faulty. The md module shoul

Re: [PATCH v2 0/6] arm64: provide pseudo NMI with GICv3

2018-05-02 Thread Marc Zyngier
On 01/05/18 21:51, Joel Fernandes wrote: > On Mon, Apr 30, 2018 at 2:46 AM Julien Thierry > wrote: > [...] >>> On Wed, Jan 17, 2018 at 3:54 AM, Julien Thierry > wrote: Hi, This series is a continuation of the work started by Daniel [1]. The > goal is to use GICv3 interrupt pri

Re: [PATCH 0/5] kernel hacking: GCC optimization for debug experience (-Og)

2018-05-02 Thread Ingo Molnar
* Du, Changbin wrote: > On Wed, May 02, 2018 at 09:33:15AM +0200, Ingo Molnar wrote: > > > > * changbin...@intel.com wrote: > > > > > Comparison of system performance: a bit drop. > > > > > > w/o CONFIG_DEBUG_EXPERIENCE > > > $ time make -j4 > > > real6m43.619s > > > user

Re: [PATCH] gpu: drm: sti: fix spelling mistake: "initialze" -> "initialize"

2018-05-02 Thread Daniel Vetter
On Wed, May 02, 2018 at 11:10:48AM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in DRM_ERROR error message > > Signed-off-by: Colin Ian King Applied to drm-misc-next, thanks. -Daniel > --- > drivers/gpu/drm/sti/sti_crtc.c | 2 +- > 1 file changed, 1 ins

Re: [PATCH v4 03/10] i3c: Add sysfs ABI spec

2018-05-02 Thread Greg Kroah-Hartman
On Wed, May 02, 2018 at 11:47:49AM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Sun, Apr 29, 2018 at 3:37 PM, Greg Kroah-Hartman > wrote: > > On Fri, Mar 30, 2018 at 09:47:44AM +0200, Boris Brezillon wrote: > >> Document sysfs files/directories/symlinks exposed by the I3C subsystem. > >> >

Re: [Regression] PCI / PM: Simplify device wakeup settings code

2018-05-02 Thread Joseph Salisbury
On 05/02/2018 06:41 AM, Rafael J. Wysocki wrote: > On Tue, May 1, 2018 at 9:55 PM, Bjorn Helgaas wrote: >> On Tue, May 01, 2018 at 10:34:29AM +0200, Rafael J. Wysocki wrote: >>> On Mon, Apr 30, 2018 at 4:22 PM, Joseph Salisbury >>> wrote: On 04/16/2018 11:58 AM, Rafael J. Wysocki wrote:

Re: Use-after-scope Write in mem_cgroup_uncharge' bug.(Plain text)

2018-05-02 Thread Dmitry Vyukov
On Wed, May 2, 2018 at 1:11 PM, Dongsong Yu wrote: > Hi, > I've got the following bug report while fuzzing linux kenrel (4.16.0) on > arm64 with syzkaller. > The kernel config file and poc generated by C reproducer are attached. > > Syzkaller hit 'KASAN: use-after-scope Write in mem_cgroup_uncharg

Re: Use-after-scope Read in tick_sched_handle' bug.

2018-05-02 Thread Dmitry Vyukov
On Wed, May 2, 2018 at 12:35 PM, Dongsong Yu wrote: > Hi, > I've got the following bug report while fuzzing linux kenrel (4.16.0) on > arm64 with syzkaller. > The kernel config file and poc generated by C reproducer are attached. > > Syzkaller hit 'KASAN: use-after-scope Read in tick_sched_handle'

Re: general protection fault in lo_ioctl (2)

2018-05-02 Thread Dmitry Vyukov
On Wed, May 2, 2018 at 9:33 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:fff75eb2a08c Merge tag 'errseq-v4.17' of > git://git.kernel.o... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?id=5301511529693184 > kernel con

Re: possible deadlock in blkdev_reread_part

2018-05-02 Thread Dmitry Vyukov
On Wed, May 2, 2018 at 12:30 PM, Tetsuo Handa wrote: > Dmitry Vyukov wrote: >> > syzbot is reporting various bugs which involve /dev/loopX. >> > Two of them >> > >> > INFO: rcu detected stall in lo_ioctl >> > >> > https://syzkaller.appspot.com/bug?id=7b49fb610af9cca78c24e9f796f2e8b0d5573997 >

Re: [PATCH][media-next] media: davinci_vpfe: fix memory leaks of params

2018-05-02 Thread Dan Carpenter
On Wed, May 02, 2018 at 10:16:58AM +0100, Colin King wrote: > From: Colin Ian King > > There are memory leaks of params; when copy_to_user fails and also > the exit via the label 'error'. Fix this by kfree'ing params in > error exit path and jumping to this on the copy_to_user failure path. > >

[PATCH] tracing: Remove PPC32 wart from config TRACING_SUPPORT

2018-05-02 Thread Michael Ellerman
config TRACING_SUPPORT has an exception for PPC32, because PPC32 didn't have irqflags tracing support. But that hasn't been true since commit 5d38902c4838 ("powerpc: Add irqtrace support for 32-bit powerpc") (Jun 2009). So remove the exception for PPC32 and the comment. Signed-off-by: Michael El

Re: [PATCH] kbuild/debian: Use KBUILD_BUILD_* when set

2018-05-02 Thread Riku Voipio
On 23 April 2018 at 22:50, Mathieu Malaterre wrote: > Be nice to the user and check env vars KBUILD_BUILD_USER & > KBUILD_BUILD_HOST when those are set. mkdebian sets the maintainer address as "$name <$email>", but this patch only sets the email part. I also wonder about the precedence, I think K

Re: [PATCH v4 03/10] i3c: Add sysfs ABI spec

2018-05-02 Thread Geert Uytterhoeven
Hi Greg, On Wed, May 2, 2018 at 1:10 PM, Greg Kroah-Hartman wrote: > On Wed, May 02, 2018 at 11:47:49AM +0200, Geert Uytterhoeven wrote: >> On Sun, Apr 29, 2018 at 3:37 PM, Greg Kroah-Hartman >> wrote: >> > On Fri, Mar 30, 2018 at 09:47:44AM +0200, Boris Brezillon wrote: >> >> Document sysfs fil

Re: [PATCH] ARM: dts: stm32: Add vrefbuf support to stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Fabrice, On 04/18/2018 09:47 AM, Fabrice Gasnier wrote: stm32mp157c has vrefbuf regulator that can provide analog reference voltage from 1500mV to 2500mV. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/ar

Re: [PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-02 Thread Maxime Ripard
On Mon, Apr 30, 2018 at 05:10:39PM +0530, Jagan Teki wrote: > DE2 in A64 has clock control unit and behavior is > same like H3/H5, so reuse the same in A64. > > Signed-off-by: Jagan Teki > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 15 +++ > 1 file changed, 15 insertions(+

Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-02 Thread Maxime Ripard
Hi, On Mon, Apr 30, 2018 at 05:10:46PM +0530, Jagan Teki wrote: > + hdmi_phy: hdmi-phy@1ef { > + compatible = "allwinner,sun50i-a64-hdmi-phy", > + "allwinner,sun8i-h3-hdmi-phy"; > + reg = <0x01ef 0x1>;

[PATCH] arm64: zynqmp: Remove #address/#size-cells from gpio-keys

2018-05-02 Thread Michal Simek
dts reports incorrect usage of these properties in gpio-keys node. Warning (avoid_unnecessary_addr_size): /gpio-keys: unnecessary The patch is removing these useless properties. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 2 -- arch/arm64/boot/dts/xilinx

Re: [linux-sunxi] Re: [PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-02 Thread Icenowy Zheng
于 2018年5月2日 GMT+08:00 下午7:32:50, Maxime Ripard 写到: >On Mon, Apr 30, 2018 at 05:10:39PM +0530, Jagan Teki wrote: >> DE2 in A64 has clock control unit and behavior is >> same like H3/H5, so reuse the same in A64. >> >> Signed-off-by: Jagan Teki >> --- >> arch/arm64/boot/dts/allwinner/sun50i-a64

Re: [PATCH 4/6] powerpc/64s: Enable barrier_nospec based on firmware settings

2018-05-02 Thread Michal Suchánek
On Tue, 01 May 2018 21:11:06 +1000 Michael Ellerman wrote: > Michal Suchánek writes: > > Hello, > > > > On Tue, 24 Apr 2018 14:15:57 +1000 > > Michael Ellerman wrote: > > > >> From: Michal Suchanek > >> > >> Check what firmware told us and enable/disable the barrier_nospec > >> as appropria

Re: [RFC PATCH] driver core: make deferring probe forever optional

2018-05-02 Thread Robin Murphy
On 01/05/18 22:31, Rob Herring wrote: Deferred probe will currently wait forever on dependent devices to probe, but sometimes a driver will never exist. It's also not always critical for a driver to exist. Platforms can rely on default configuration from the bootloader or reset defaults for thing

Re: [PATCH][next] pinctrl: actions: make s900_functions, s900_padinfo and s900_pads static

2018-05-02 Thread Linus Walleij
On Mon, Apr 30, 2018 at 3:04 PM, Colin King wrote: > From: Colin Ian King > > s900_functions, s900_padinfo and s900_pads are local to the source and do > not need to be in global scope, so make them static. > > Cleans up sparse warnings: > drivers/pinctrl/actions/pinctrl-s900.c:1445:30: warning:

Re: [PATCH][next][V2] pinctrl: actions: fix missing break in PIN_CONFIG_DRIVE_STRENGTH case.

2018-05-02 Thread Linus Walleij
On Mon, Apr 30, 2018 at 3:22 PM, Colin King wrote: > From: Colin Ian King > > There is a missing break in case PIN_CONFIG_DRIVE_STRENGTH leading to > a fall-through to the PIN_CONFIG_SLEW_RATE case that performs different > checks against *arg. This looks like an unintentional missing break so >

[PATCH][media-next][V2] media: davinci_vpfe: fix memory leaks of params

2018-05-02 Thread Colin King
From: Colin Ian King There are memory leaks of params; when copy_to_user fails and also the exit via the label 'error'. Also, there is a bogos memory allocation check on pointer 'to' when memory allocation fails on params. Fix this by kfree'ing params in error exit path and jumping to this on th

Re: [PATCH 15/21] drm: sun4i: add support for HVCC regulator for DWC HDMI glue

2018-05-02 Thread Maxime Ripard
On Mon, Apr 30, 2018 at 05:10:52PM +0530, Jagan Teki wrote: > From: Icenowy Zheng > > Allwinner SoCs with DWC HDMI controller have a "HVCC" power pin for the > HDMI part, and on some boards it's connected to a dedicated regulator > rather than the main 3.3v. > > Add support for optional HVCC reg

Re: [PATCH][next] pinctrl: actions: Fix Kconfig dependency and help text

2018-05-02 Thread Linus Walleij
On Tue, May 1, 2018 at 5:00 AM, Manivannan Sadhasivam wrote: > 1. Fix Kconfig dependency for Actions Semi S900 pinctrl driver which > generates below warning in x86: > > WARNING: unmet direct dependencies detected for PINCTRL_OWL > Depends on [n]: PINCTRL [=y] && (ARCH_ACTIONS || COMPILE_TEST [

Re: [PATCH 2/3] drm/scheduler: Don't call wait_event_killable for signaled process.

2018-05-02 Thread Christian König
Am 30.04.2018 um 21:28 schrieb Andrey Grodzovsky: On 04/30/2018 02:29 PM, Christian König wrote: Am 30.04.2018 um 18:10 schrieb Andrey Grodzovsky: On 04/30/2018 12:00 PM, Oleg Nesterov wrote: On 04/30, Andrey Grodzovsky wrote: What about changing PF_SIGNALED to PF_EXITING in drm_sched_ent

Re: [PATCH v8 13/13] arm64: topology: divorce MC scheduling domain from core_siblings

2018-05-02 Thread Morten Rasmussen
On Tue, May 01, 2018 at 03:33:33PM +0100, Sudeep Holla wrote: > > > On 26/04/18 00:31, Jeremy Linton wrote: > > Now that we have an accurate view of the physical topology > > we need to represent it correctly to the scheduler. Generally MC > > should equal the LLC in the system, but there are a n

Re: [linux-sunxi] Re: [PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-02 Thread Maxime Ripard
On Wed, May 02, 2018 at 07:34:21PM +0800, Icenowy Zheng wrote: > > > 于 2018年5月2日 GMT+08:00 下午7:32:50, Maxime Ripard 写到: > >On Mon, Apr 30, 2018 at 05:10:39PM +0530, Jagan Teki wrote: > >> DE2 in A64 has clock control unit and behavior is > >> same like H3/H5, so reuse the same in A64. > >> > >>

Re: [linux-sunxi] Re: [PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-02 Thread Jagan Teki
On Wed, May 2, 2018 at 5:04 PM, Icenowy Zheng wrote: > > > 于 2018年5月2日 GMT+08:00 下午7:32:50, Maxime Ripard 写到: >>On Mon, Apr 30, 2018 at 05:10:39PM +0530, Jagan Teki wrote: >>> DE2 in A64 has clock control unit and behavior is >>> same like H3/H5, so reuse the same in A64. >>> >>> Signed-off-by: J

Re: [PATCH v2] gpiolib: add hogs support for machine code

2018-05-02 Thread Linus Walleij
On Thu, Apr 26, 2018 at 6:42 PM, Bartosz Golaszewski wrote: > 2018-04-26 14:07 GMT+02:00 Linus Walleij : >> On Tue, Apr 10, 2018 at 10:30 PM, Bartosz Golaszewski wrote: >> >>> Board files constitute a significant part of the users of the legacy >>> GPIO framework. In many cases they only export a

Re: [PATCH 15/21] drm: sun4i: add support for HVCC regulator for DWC HDMI glue

2018-05-02 Thread Icenowy Zheng
于 2018年5月2日 GMT+08:00 下午7:48:43, Maxime Ripard 写到: >On Mon, Apr 30, 2018 at 05:10:52PM +0530, Jagan Teki wrote: >> From: Icenowy Zheng >> >> Allwinner SoCs with DWC HDMI controller have a "HVCC" power pin for >the >> HDMI part, and on some boards it's connected to a dedicated regulator >> rath

Re: [PATCH v4 00/14] Copy Offload in NVMe Fabrics with P2P PCI Memory

2018-05-02 Thread Christian König
Hi Logan, it would be rather nice to have if you could separate out the functions to detect if peer2peer is possible between two devices. That would allow me to reuse the same logic for GPU peer2peer where I don't really have ZONE_DEVICE. Regards, Christian. Am 24.04.2018 um 01:30 schrieb

[PATCH] arm64: zynqmp: Add support for Avnet Ultra96 rev1 board

2018-05-02 Thread Michal Simek
Avnet Ultra96 rev1 board is commercialized Xilinx zcu100 revC/D internal board. The patch is reusing zcu100 revC files but changing model description and compatible strings which are used for example by libmraa. Signed-off-by: Michal Simek --- I choose this option because there are houndreds of

Re: [PATCH v5 0/7] pcal6524 extensions and fixes for pca953x driver

2018-05-02 Thread Linus Walleij
On Sat, Apr 28, 2018 at 6:31 PM, H. Nikolaus Schaller wrote: > V5: > * fix wrong split up between patches 1/7and 2/7. v5 is looking really nice, giving reviewers a chance to ACK etc before applying, but will probably apply it anyways in a few days. Nice work on this series! Yours, Linus Walle

Re: [PATCH] gpio: mockup: use the SPDX identifier and remove license boilerplate

2018-05-02 Thread Linus Walleij
On Thu, Apr 26, 2018 at 10:12 PM, Bartosz Golaszewski wrote: > Use the SPDX license identifier for GPLv2.0 or later and remove the > license boilerplate. > > Signed-off-by: Bartosz Golaszewski Patch applied. Yours, Linus Walleij

Re: [linux-sunxi] Re: [PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-02 Thread Icenowy Zheng
于 2018年5月2日 GMT+08:00 下午7:50:19, Jagan Teki 写到: >On Wed, May 2, 2018 at 5:04 PM, Icenowy Zheng wrote: >> >> >> 于 2018年5月2日 GMT+08:00 下午7:32:50, Maxime Ripard > 写到: >>>On Mon, Apr 30, 2018 at 05:10:39PM +0530, Jagan Teki wrote: DE2 in A64 has clock control unit and behavior is same lik

Re: [PATCH] h8300: switch to NO_BOOTMEM

2018-05-02 Thread Yoshinori Sato
On Wed, 02 May 2018 11:33:41 +0900, Rob Herring wrote: > > On Fri, Mar 16, 2018 at 4:33 PM, Rob Herring wrote: > > Commit 0fa1c579349f ("of/fdt: use memblock_virt_alloc for early alloc") > > inadvertently switched the DT unflattening allocations from memblock to > > bootmem which doesn't work bec

[PATCH] ARM: dts: k2g-evm: Add DCAN dt nodes

2018-05-02 Thread Faiz Abbas
The keystone 2 galileo evm has support for dcan. Add nodes and pinmuxes for dcan0 and dcan1. Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/keystone-k2g-evm.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boo

Re: [PATCH] mailbox: arm_mhu: add support for mhuv2

2018-05-02 Thread Jassi Brar
On Wed, May 2, 2018 at 12:44 PM, Samarth Parikh wrote: > Hi Jassi, > > I am resending the patch for review, in case you have missed my previous > patch. Can you please go through it and let me know your thoughts on > the same? > You don't want this to go into git log :) If your patch isn't looked

Re: Linux messages full of `random: get_random_u32 called from`

2018-05-02 Thread Justin Forbes
On Tue, May 1, 2018 at 7:02 PM, Theodore Y. Ts'o wrote: > On Tue, May 01, 2018 at 05:35:56PM -0500, Justin Forbes wrote: >> >> I have not reproduced in GCE myself. We did get some confirmation >> that removing dracut-fips does make the problem less dire (but I >> wouldn't call a 4 minute boot a w

Re: [PATCH] ARM: dts: stm32: Add LPtimer support to stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Fabrice On 04/18/2018 09:43 AM, Fabrice Gasnier wrote: Add LPtimer definitions, depending on features they provide: - lptimer1 & 2 can act as PWM, trigger and encoder/counter - lptimer3 can act as PWM and trigger - lptimer4 & 5 can act as PWM Signed-off-by: Fabrice Gasnier --- Applied on

Re: [PATCH] ARM: sun8i: v3s: fix spelling mistake: "disbaled" -> "disabled"

2018-05-02 Thread Maxime Ripard
1;5201;0c On Sun, Apr 29, 2018 at 01:10:56PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in status text string > > Signed-off-by: Colin Ian King Applied, thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engin

Re: [PATCH] md/raid1: add error handling of read error from FailFast device

2018-05-02 Thread Gi-Oh Kim
On Wed, May 2, 2018 at 1:08 PM, Gioh Kim wrote: > Current handle_read_error() function calls fix_read_error() > only if md device is RW and rdev does not include FailFast flag. > It does not handle a read error from a RW device including > FailFast flag. > > I am not sure it is intended. But I fou

Re: [PATCH v2 1/2] pinctrl: uniphier: add LD20 MPEG2-TS I/O pin-mux settings

2018-05-02 Thread Linus Walleij
On Fri, Apr 27, 2018 at 3:49 AM, Katsuhiro Suzuki wrote: > The MPEG2-TS input/output core both accepts serial TS and parallel TS. > > The serial TS interface uses following pins: > hscin0_s : HS0DOUT[0-3] > hscin1_s : HS0DOUT[4-7] > hscin2_s : HS1BCLKIN, HS1SYNCIN, HS1VALIN, HS1DIN0 > hsc

Re: [PATCH] swiotlb: Fix inversed DMA_ATTR_NO_WARN test

2018-05-02 Thread Daniel Vetter
On Wed, May 2, 2018 at 11:49 AM, Christian König wrote: > Am 01.05.2018 um 15:24 schrieb Michel Dänzer: >> >> From: Michel Dänzer >> >> The result was printing the warning only when we were explicitly asked >> not to. >> >> Cc: sta...@vger.kernel.org >> Fixes: 0176adb004065d6815a8e67946752df4cd94

Re: [PATCH v2 2/2] pinctrl: uniphier: add LD11 MPEG2-TS I/O pin-mux settings

2018-05-02 Thread Linus Walleij
On Fri, Apr 27, 2018 at 3:49 AM, Katsuhiro Suzuki wrote: > The MPEG2-TS input/output core both accepts serial TS and parallel TS. > > The serial TS interface uses following pins: > hscin0_s : HS0DOUT[0-3] > hscin1_s : HS0DOUT[4-7] > hscin2_s : HS1BCLKIN, HS1SYNCIN, HS1VALIN, HS1DIN0 > hsc

Re: [PATCH] ARM: dts: stm32: add reset binding on stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Gabriel, On 04/20/2018 11:09 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez This patch adds reset binding file. Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stm32mp157c.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b

Re: [PATCH 1/4] dt-bindings: move various timer bindings to timer/ directory

2018-05-02 Thread Linus Walleij
On Thu, Apr 26, 2018 at 11:27 PM, Rob Herring wrote: > Bindings are supposed to be organized by device class/function. Move > bindings for various timers to timer/ binding directory. > > Cc: Linus Walleij > Cc: Thierry Reding > Signed-off-by: Rob Herring Reviewed-by: Linus Walleij Thank you

Re: [v4.17-rcx] Lost IBPB, IBRS_FW support for spectre_v2 mitigation.

2018-05-02 Thread Thomas Gleixner
On Wed, 2 May 2018, Jörg Otte wrote: > 2018-05-02 11:02 GMT+02:00 Thomas Gleixner : > > Ok, I think I know what's going wrong in that steaming pile of horrors of > > CPUID detection. I need to analyze it down to the roots, but if you have > > cycles, can you please test the patch below? > > > > It'

Re: [PATCH 1/2] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT

2018-05-02 Thread Will Deacon
On Wed, May 02, 2018 at 03:53:21PM +0800, Ganesh Mahendran wrote: > Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for arm64. This > enables Speculative Page Fault handler. Are there are tests for this? I'm really nervous about enabling it... Will > > Signed-off-by: Ganesh Mahendran > --- > This pat

Re: [PATCH] ARM: dts: stm32: Add DAC support to stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Fabrice On 04/18/2018 05:46 PM, Fabrice Gasnier wrote: Add support for DAC (Digital to Analog Converter) to STM32MP157C. STM32MP157C DAC has two output channels. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 24 1 file changed, 24 insert

Re: [PATCH v5 5/7] gpio: pca953x: fix address calculation for pcal6524

2018-05-02 Thread Andy Shevchenko
On Sat, Apr 28, 2018 at 7:31 PM, H. Nikolaus Schaller wrote: > The register constants are so far defined in a way that they fit > for the pcal9555a when shifted by the number of banks, i.e. are > multiplied by 2 in the accessor function. > > Now, the pcal6524 has 3 banks which means the relative

Re: [PATCH v2] mm: introduce memory.min

2018-05-02 Thread Johannes Weiner
On Mon, Apr 23, 2018 at 01:36:10PM +0100, Roman Gushchin wrote: > @@ -59,6 +59,12 @@ enum memcg_memory_event { > MEMCG_NR_MEMORY_EVENTS, > }; > > +enum mem_cgroup_protection { > + MEMCG_PROT_NONE, > + MEMCG_PROT_LOW, > + MEMCG_PROT_HIGH, Ha, HIGH doesn't make much sense, but I

Re: [PATCH v5 4/7] gpio: pca953x: define masks for addressing common and extended registers

2018-05-02 Thread Andy Shevchenko
On Sat, Apr 28, 2018 at 7:31 PM, H. Nikolaus Schaller wrote: > These mask bits are to be used to map the extended register > addreseses (which are defined for an unsupported 8-bit pcal chip) > to 16 and 24 bit chips (pcal6524). > > Signed-off-by: H. Nikolaus Schaller > --- > drivers/gpio/gpio-p

Re: Use-after-scope Read in tick_sched_handle' bug.

2018-05-02 Thread Thomas Gleixner
On Wed, 2 May 2018, Dongsong Yu wrote: CC+ ARM64 folks which should have been cc'ed in the first place. > Hi, > I've got the following bug report while fuzzing linux kenrel (4.16.0) on > arm64 with syzkaller. > The kernel config file and poc generated by C reproducer are attached. > > Syzkaller

Re: [PATCH 00/11] PM / Domains: Fixup error paths with dev_pm_domain_attach()

2018-05-02 Thread Ulf Hansson
On 26 April 2018 at 10:52, Ulf Hansson wrote: > While I was on working adding support for multiple PM domains to genpd, I > stumbled over several problems in the error path related to > dev_pm_domain_attach(). Hence, I decided to fix these problems first, which is > what this series intends to add

Re: [PATCH v5 0/7] pcal6524 extensions and fixes for pca953x driver

2018-05-02 Thread Andy Shevchenko
On Sat, Apr 28, 2018 at 7:31 PM, H. Nikolaus Schaller wrote: > V5: > * fix wrong split up between patches 1/7and 2/7. > > 2018-04-26 19:35:07: V4: > * introduced PCA_LATCH_INT constant to make of_table more > readable (suggested by Andy Shevchenko) > * converted all register constants to hex in

Re: non-blocking connect for kernel SCTP sockets

2018-05-02 Thread Michal Kubecek
On Wed, May 02, 2018 at 05:46:23PM +0800, Xin Long wrote: > On Wed, May 2, 2018 at 5:06 PM, Michal Kubecek wrote: > > Hello, > > > > while investigating a bug, we noticed that DLM tries to connect an SCTP > > socket in non-blocking mode using > > > > result = sock->ops->connect(sock, (stru

Re: [PATCH v1 2/4] pinctrl: tegra20: Provide CDEV1/2 clock muxes

2018-05-02 Thread Linus Walleij
On Fri, Apr 27, 2018 at 1:58 AM, Dmitry Osipenko wrote: > Muxing of pins MCLK1/2 determine the muxing of the corresponding clocks. > Make pinctrl driver to provide clock muxes for the CDEV1/2 pingroups, so > that main clk-controller driver could get an actual parent clock for the > CDEV1/2 clocks

Re: [PATCH v5 5/7] gpio: pca953x: fix address calculation for pcal6524

2018-05-02 Thread H. Nikolaus Schaller
Hi Andy, > Am 02.05.2018 um 14:28 schrieb Andy Shevchenko : > > On Sat, Apr 28, 2018 at 7:31 PM, H. Nikolaus Schaller > wrote: >> The register constants are so far defined in a way that they fit >> for the pcal9555a when shifted by the number of banks, i.e. are >> multiplied by 2 in the accesso

Re: [PATCH] net: stmmac: Avoid VLA usage

2018-05-02 Thread Kees Cook
On Wed, May 2, 2018 at 1:54 AM, Jose Abreu wrote: > Hi Kees, > > On 01-05-2018 22:01, Kees Cook wrote: >> In the quest to remove all stack VLAs from the kernel[1], this switches >> the "status" stack buffer to use the existing small (8) upper bound on >> how many queues can be checked for DMA, and

Re: [PATCH v5 4/7] gpio: pca953x: define masks for addressing common and extended registers

2018-05-02 Thread H. Nikolaus Schaller
> Am 02.05.2018 um 14:29 schrieb Andy Shevchenko : > > On Sat, Apr 28, 2018 at 7:31 PM, H. Nikolaus Schaller > wrote: >> These mask bits are to be used to map the extended register >> addreseses (which are defined for an unsupported 8-bit pcal chip) >> to 16 and 24 bit chips (pcal6524). >> >>

Re: [PATCH 08/21] bindings: display: Add compatible for A64 HDMI PHY

2018-05-02 Thread Rob Herring
On Wed, May 2, 2018 at 1:27 AM, Jagan Teki wrote: > Hi Rob, > > On Tue, May 1, 2018 at 9:49 PM, Rob Herring wrote: >> >> On Mon, Apr 30, 2018 at 05:10:45PM +0530, Jagan Teki wrote: >> > HDMI PHY on Allwinner A64 has similar like H3/H5. >> > >> > Signed-off-by: Jagan Teki >> > --- >> > Documenta

Re: [PATCHv4 2/2] iommu/vt-d: Limit number of faults to clear in irq handler

2018-05-02 Thread Dmitry Safonov
Hi Lu, On Wed, 2018-05-02 at 14:34 +0800, Lu Baolu wrote: > Hi, > > On 03/31/2018 08:33 AM, Dmitry Safonov wrote: > > Theoretically, on some machines faults might be generated faster > > than > > they're cleared by CPU. > > Is this a real case? No. 1/2 is a real case and this one was discussed

Re: [PATCH v3] sh: mm: Fix unprotected access to struct device

2018-05-02 Thread Christoph Hellwig
On Wed, May 02, 2018 at 09:46:31AM +0200, jacopo mondi wrote: > Hi again Christoph, > > The gentle ping actually applies to this version of the patch. > > Sorry for the confusion. I'd expect this to go in through the sh tree, but if the sh maintainers are fine with it I can take it through t

Re: [PATCH v2 08/10] PCI: Deprecate of_pci_get_host_bridge_resources()

2018-05-02 Thread Christoph Hellwig
On Mon, Apr 30, 2018 at 07:48:42AM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > There are no in-tree users remaining, all are converted to the managed > variant. And it is unlikely that any out-of-tree user got the resource > management right as well. So deprecate the interface and push users

Re: [PATCH] swiotlb: Fix inversed DMA_ATTR_NO_WARN test

2018-05-02 Thread Christoph Hellwig
On Wed, May 02, 2018 at 02:18:56PM +0200, Daniel Vetter wrote: > Other dma-api backends like cma just shut up when __GFP_NOWARN is > passed. And afaiui Christoph Hellwig has plans to nuke the DMA_ATTR > stuff (or at least clean it up) - should we just remove > DMA_ATTR_NO_WARN and instead only look

Re: [PATCH] swiotlb: Fix inversed DMA_ATTR_NO_WARN test

2018-05-02 Thread Christoph Hellwig
On Tue, May 01, 2018 at 03:24:11PM +0200, Michel Dänzer wrote: > From: Michel Dänzer > > The result was printing the warning only when we were explicitly asked > not to. Thanks, applied to the dma-mapping tree for 4.17.

Re: [PATCH] swiotlb: Suppress "Out of SW-IOMMU" errors for NO_WARN

2018-05-02 Thread Christoph Hellwig
On Wed, May 02, 2018 at 11:05:01AM +0100, Chris Wilson wrote: > This extends the warning suppression from commit d0bc0c2a31c9 ("swiotlb: > suppress warning when __GFP_NOWARN is set") to suppress the warnings > when DMA_ATTR_NO_WARN is given by caller. In such cases the caller wants > to handle the

Re: [PATCH] net/xfrm: Fix lookups for states with spi == 0

2018-05-02 Thread Dmitry Safonov
On Wed, 2018-05-02 at 17:11 +0800, Herbert Xu wrote: > On Wed, May 02, 2018 at 03:02:20AM +0100, Dmitry Safonov wrote: > > It seems to be a valid use case to add xfrm state without > > Security Parameter Indexes (SPI) value associated: > > ip xfrm state add src $src dst $dst proto $proto mode $mode

Re: [PATCH 1/2] dt-bindings: add MediaTek XS-PHY binding

2018-05-02 Thread Rob Herring
On Wed, May 2, 2018 at 2:04 AM, Chunfeng Yun wrote: > Hi Rob, > On Tue, 2018-05-01 at 09:24 -0500, Rob Herring wrote: >> On Wed, Apr 25, 2018 at 03:45:28PM +0800, Chunfeng Yun wrote: >> > Add a DT binding documentation of XS-PHY for MediaTek SoCs >> > with USB3.1 GEN2 controller [...] >> > + r

Re: [per_cpu_ptr_to_phys] PANIC: early exception 0x0d IP 10:ffffffffa892f15f error 0 cr2 0xffff88001fbff000

2018-05-02 Thread Fengguang Wu
Hi all, On Wed, Apr 18, 2018 at 06:38:25PM -0500, Dennis Zhou wrote: Hi, On Wed, Apr 18, 2018 at 09:55:53PM +0800, Fengguang Wu wrote: Hello, FYI here is a slightly different boot error in mainline kernel 4.17.0-rc1. It also dates back to v4.16 . Now I find 2 more occurrances in v4.15 kern

Re: [PATCH 01/12] gpio: 74xx-mmio: Use of_device_get_match_data()

2018-05-02 Thread Linus Walleij
On Mon, Apr 30, 2018 at 9:38 AM, Thierry Reding wrote: > From: Thierry Reding > > Use of_device_get_match_data() instead of open-coding it. > > Signed-off-by: Thierry Reding All 12 patches applied! Thanks for your cleanup efforts, much much appreciated! Yours, Linus Walleij

RE: [PATCH v5 1/3] mmc: dw_mmc-bluefield: Add driver extension

2018-05-02 Thread Liming Sun
Please see response inline. Thanks, Liming > -Original Message- > From: Shawn Lin [mailto:shawn@rock-chips.com] > Sent: Tuesday, May 1, 2018 9:02 PM > To: Liming Sun ; Mark Rutland > ; Jaehoon Chung ; > Catalin Marinas ; Will Deacon > > Cc: Ulf Hansson ; Rob Herring > ; shawn@roc

Re: [PATCH] tracing: Remove PPC32 wart from config TRACING_SUPPORT

2018-05-02 Thread Steven Rostedt
On Wed, 2 May 2018 21:29:48 +1000 Michael Ellerman wrote: > config TRACING_SUPPORT has an exception for PPC32, because PPC32 > didn't have irqflags tracing support. > > But that hasn't been true since commit 5d38902c4838 ("powerpc: Add > irqtrace support for 32-bit powerpc") (Jun 2009). > > So

Re: [PATCH v2 2/2] pinctrl: generic: improve apply_setting error verbosity

2018-05-02 Thread Linus Walleij
On Tue, May 1, 2018 at 9:10 PM, Matheus Castello wrote: > For generic pinconf: print the dev_error with the pinctrl vendor > driver name, error code, the sub-node property name used and the > pin that was tried to set. > > Improves the undestading of the error if use a generic sub-node > property

[PATCH] gpu: ipu-csi: add rgb/bgr888 24bit support to mbus_code_to_bus_cfg

2018-05-02 Thread Michael Grzeschik
The 24bit RGB format configuration is currently missing, we add it now. Signed-off-by: Michael Grzeschik --- drivers/gpu/ipu-v3/ipu-csi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/ipu-v3/ipu-csi.c b/drivers/gpu/ipu-v3/ipu-csi.c index caa05b0702e16..1a0ee65fd4859 10064

Re: [PATCH v2] mm: introduce memory.min

2018-05-02 Thread Roman Gushchin
On Wed, May 02, 2018 at 08:30:40AM -0400, Johannes Weiner wrote: > On Mon, Apr 23, 2018 at 01:36:10PM +0100, Roman Gushchin wrote: > > @@ -59,6 +59,12 @@ enum memcg_memory_event { > > MEMCG_NR_MEMORY_EVENTS, > > }; > > > > +enum mem_cgroup_protection { > > + MEMCG_PROT_NONE, > > + MEMCG_

Re: [PATCH 1/3] mmc: sunxi: add support for the MMC controller on H6

2018-05-02 Thread Ulf Hansson
On 26 April 2018 at 16:07, Icenowy Zheng wrote: > The new Allwinner H6 SoC have 3 MMC controllers. The first and second > ones are similar to the ones on A64, but the third one adds EMCE > (Embedded Crypto Engine) support which does hardware transparent crypto > on the eMMC. > > As we still do not

linux-sound: timestamps for audio frames

2018-05-02 Thread Muni Sekhar
[ Please keep me in CC as I'm not subscribed to the list] Hi All, >From sound driver, I am wondering if we could get the timestamps when It receives for example the first and last audio frames. Is there any way we can extract or expose that information to user mode? -- Thanks, Sekhar

Re: [PATCH v2 1/2] pinctrl: generic: add API to solve generic sub-node property name

2018-05-02 Thread Linus Walleij
On Tue, May 1, 2018 at 9:10 PM, Matheus Castello wrote: > Set dt_params with the definitions of the generic sub-node properties > global in pinconf-generic.h and add a function to pinconf-generic API > to decode a packed param returning the string name from sub-node > property. > > This can be us

Re: [PATCH v1 0/4] Restore ULPI USB on Tegra20

2018-05-02 Thread Linus Walleij
On Mon, Apr 30, 2018 at 1:28 PM, Thierry Reding wrote: > Marc just pointed out to me on IRC that this fixes a regression that was > introduced in v4.17-rc1. > > Can you guys pick this up into your -fixes branches? OK I will pick mine independently to my fixes. > Again, I volunteer > to collect

Re: [PATCH] gpio: zynq: Setup chip->base based on alias ID

2018-05-02 Thread Linus Walleij
On Wed, May 2, 2018 at 12:15 PM, Michal Simek wrote: > On 2.5.2018 12:10, Linus Walleij wrote: >> On Thu, Apr 26, 2018 at 3:35 PM, Michal Simek >> wrote: >>> Yes, it is about legacy application which I have seen recently and there >>> is no source code for application calls it because board ven

Re: [PATCH] mmap.2: MAP_FIXED is okay if the address range has been reserved

2018-05-02 Thread Michael Kerrisk (man-pages)
Jann, Micha, On 04/16/2018 11:11 PM, Michal Hocko wrote: > On Mon 16-04-18 22:17:40, Jann Horn wrote: >> On Mon, Apr 16, 2018 at 9:57 PM, Michal Hocko wrote: >>> On Mon 16-04-18 21:30:09, Jann Horn wrote: On Mon, Apr 16, 2018 at 9:18 PM, Michal Hocko wrote: >>> [...] > Yes, reasonably w

[PATCH] iio: adc: stm32-dfsdm: Add support for stm32mp1

2018-05-02 Thread Fabrice Gasnier
Add support for DFSDM (Digital Filter For Sigma Delta Modulators) to STM32MP1. This variant is close to STM32H7 DFSDM, it implements 6 filter instances. Registers map is also increased. Signed-off-by: Fabrice Gasnier --- .../bindings/iio/adc/st,stm32-dfsdm-adc.txt | 7 +-- drivers/i

Re: [PATCH v8 07/12] ARM: sunxi: Add initialization of CNTVOFF

2018-05-02 Thread Maxime Ripard
On Tue, May 01, 2018 at 02:31:26PM +0200, Mylène Josserand wrote: > Add the initialization of CNTVOFF for sun8i-a83t. > > For boot CPU, create a new machine that handles this > function's call in an "init_early" callback. We need to initialize > CNTVOFF before the arch timer's initialization other

Re: [PATCH v8 09/12] ARM: sun9i: smp: Add is_a83t field

2018-05-02 Thread Maxime Ripard
On Tue, May 01, 2018 at 02:31:28PM +0200, Mylène Josserand wrote: > To prepare the support of sun8i-a83t, add a field in the smp_data > structure to know if we are on sun9i-a80 or sun8i-a83t. > > Add also a global variable to retrieve which architecture we are > having. > > Signed-off-by: Mylène

[async_page_fault] PANIC: double fault, error_code: 0x0

2018-05-02 Thread Fengguang Wu
::vm-lkp-nhm-dp1-yocto-ia32-4::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-nhm-dp1-yocto-ia32-4/trinity-300s-yocto-tiny-i386-2016-04-22.cgz-6da6c0db5316275015e8cc2959f12a17584aeb64-20180502-79407-edwkjj-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-s4-05020254 branch=linu

Re: [PATCH v8 10/12] ARM: sun8i: smp: Add support for A83T

2018-05-02 Thread Maxime Ripard
On Tue, May 01, 2018 at 02:31:29PM +0200, Mylène Josserand wrote: > Add the support for A83T. > > A83T SoC has an additional register than A80 to handle CPU configurations: > R_CPUS_CFG. Information about the register comes from Allwinner's BSP > driver. > An important difference is the Power Off

Re: [PATCH v5 00/14] mmc: sdhci-omap: Add UHS/HS200 mode support

2018-05-02 Thread Ulf Hansson
On 27 April 2018 at 13:47, Kishon Vijay Abraham I wrote: > Add UHS/HS200 mode support in sdhci-omap. The programming sequence > for voltage switching, tuning is followed from AM572x TRM > http://www.ti.com/lit/ug/spruhz6j/spruhz6j.pdf > (Similar to all AM57x/DRA7x SoCs). The patch series also impl

Re: [PATCH V3 1/2] clk: imx6sx: add missing lvds2 clock to the clock tree

2018-05-02 Thread Shawn Guo
On Fri, Apr 20, 2018 at 03:38:10PM +0800, Anson Huang wrote: > i.MX6SX has lvds2 (analog clock2), an I/O clock like lvds1. > And this lvds2, along with lvds1, can be used to provide > external clock source to the internal pll, such as pll4_audio > and pll5_video. > > This patch mainly adds the lvd

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