Re: linux-next: manual merge of the bpf-next tree with the bpf tree

2018-05-02 Thread Song Liu
> On May 1, 2018, at 10:50 PM, Stephen Rothwell wrote: > > Hi Song, > > On Wed, 2 May 2018 04:40:20 + Song Liu wrote: >> >>> - CHECK(build_id_matches < 1, "build id match", >>> - "Didn't find expected build ID from the map\n"); >>>

[BUG ?] lockdep report from nbd on 4.16

2018-05-02 Thread Benjamin Herrenschmidt
Hi ! I was playing with nbd on some little ARM bmc here with lockdep enabled and I get the following report. I don't have the bandwidth to dig into it this week to check if it's a false positive so I'm posting it here instead. Cheers, Ben. # nbd-client pasglop /dev/nbd0 Warning: the oldstyle

Re: pull request: linux-firmware: update cxgb4 firmware

2018-05-02 Thread Ganesh Goudar
On Tuesday, May 05/01/18, 2018 at 08:10:37 -0400, Josh Boyer wrote: > On Wed, Apr 25, 2018 at 11:06 AM, Ganesh Goudar wrote: > > Hi, > > > > Kindly pull the new firmware from the following URL. > > git://git.chelsio.net/pub/git/linux-firmware.git for-upstream > > > > Thanks

Re: [PATCH 10/28] venus: vdec: call session_continue in insufficient event

2018-05-02 Thread Vikash Garodia
Hello Stanimir, On 2018-04-24 18:14, Stanimir Varbanov wrote: Call session_continue for Venus 4xx version even when the event says that the buffer resources are not sufficient. Leaving a comment with more information about the workaround. Signed-off-by: Stanimir Varbanov

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

2018-05-02 Thread Jagan Teki
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 > > --- > >

Re: [PATCH 3/4] usb: typec: fusb302: Fix debugfs issue

2018-05-02 Thread Heikki Krogerus
On Mon, Apr 30, 2018 at 06:34:03AM -0700, Guenter Roeck wrote: > On 04/30/2018 05:41 AM, Heikki Krogerus wrote: > > Removing the "fusb302" debugfs directory when unloading > > the driver. That allows the driver to be loaded more then > > ones. > > > > This fixes an issue where the driver, if

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

2018-05-02 Thread Chunfeng Yun
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 > > > > Signed-off-by: Chunfeng Yun > > --- > >

[PATCH] KVM: arm/arm64: fix unaligned hva start and end in handle_hva_to_gpa

2018-05-02 Thread Jia He
From: Jia He In our armv8a server (QDF2400), I noticed a WARN_ON as follows: [ 800.202850] WARNING: CPU: 33 PID: 255 at arch/arm64/kvm/../../../virt/kvm/arm/mmu.c:1670 kvm_age_hva_handler+0xcc/0xd4 [ 800.213535] Modules linked in: vhost_net vhost tap xt_CHECKSUM

Re: [PATCH] Input: serio - add writing multiple bytes at once

2018-05-02 Thread David Engraf
Hi Dmitry, On 30.04.2018 at 23:20, Dmitry Torokhov wrote: Hi David, On Mon, Apr 30, 2018 at 11:03:24AM +0200, David Engraf wrote: The current version only supports forwarding a single byte to the tty layer. This patch adds serio_write_length() to allow a serport driver writing multiple bytes

Re: [PATCH v6 2/3] clk: qcom: Add support for BRANCH_NO_DELAY flag for branch clocks

2018-05-02 Thread Stephen Boyd
Quoting Amit Nischal (2018-04-30 09:20:09) > diff --git a/drivers/clk/qcom/clk-branch.h b/drivers/clk/qcom/clk-branch.h > index 284df3f..5d621f3 100644 > --- a/drivers/clk/qcom/clk-branch.h > +++ b/drivers/clk/qcom/clk-branch.h > @@ -42,6 +42,7 @@ struct clk_branch { > #define BRANCH_HALT_ENABLE

Re: [PATCH v3] report correct CPU/cache topology

2018-05-02 Thread David Wang
> -Original Mail- > Sender: Thomas Gleixner [mailto:t...@linutronix.de] > Time: 2018年4月26日 19:56 > Receiver: David Wang > CC: mi...@redhat.com; h...@zytor.com; gre...@linuxfoundation.org; > x...@kernel.org; linux-kernel@vger.kernel.org; brucechang@via- >

Re: [PATCH v2 6/9] drm/panel: Add Netron DY E231732

2018-05-02 Thread Paul Kocialkowski
Hi, Le vendredi 09 septembre 2016 à 16:35 +0200, Maxime Ripard a écrit : > On Wed, Sep 07, 2016 at 12:01:56AM +0800, Chen-Yu Tsai wrote: > > Hi, > > > > On Tue, Sep 6, 2016 at 10:46 PM, Maxime Ripard > > wrote: > > > The E231732 is a 7" panel with a resolution

Re: [PATCH] clk: imx6ull: use OSC clock during AXI rate change

2018-05-02 Thread Shawn Guo
Hi Jacky, Do you see this problem on i.MX6 ULL? What's your take on Stefan's fix? Shawn On Wed, Apr 18, 2018 at 02:49:08PM +0200, Stefan Agner wrote: > On i.MX6 ULL using PLL3 seems to cause a freeze when setting > the parent to IMX6UL_CLK_PLL3_USB_OTG. This only seems to appear > since commit

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

2018-05-02 Thread Jörg Otte
2018-05-01 22:14 GMT+02:00 Linus Torvalds : > On Tue, May 1, 2018 at 5:59 AM Thomas Gleixner wrote: > >> Then I really have no idea how reverting the patch you pointed out would >> fix it. > > So I do think that the original patch is buggy. > >

[PATCH] platform/x86: asus-wmi: Add keyboard backlight toggle support

2018-05-02 Thread Chris Chiu
Some Asus laptops like UX550GE has hotkey (Fn+F7) for keyboard backlight toggle. In this UX550GE, the hotkey incremet the level of brightness for each keypress from 1 to 3, and then switch it off when the brightness has been the max. This commit interprets the code 0xc7 generated from hotkey to

Re: [PATCH 08/28] venus: hfi_venus: add suspend function for 4xx version

2018-05-02 Thread vgarodia
Hello Stanimir, On 2018-04-24 18:14, Stanimir Varbanov wrote: This adds suspend (power collapse) function with slightly different order of calls comparing with Venus 3xx. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi_venus.c | 52

Re: [PATCH] vhost: make msg padding explicit

2018-05-02 Thread Kevin Easton
On Tue, May 01, 2018 at 02:05:51PM -0400, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Tue, 1 May 2018 20:19:19 +0300 > > > On Tue, May 01, 2018 at 11:28:22AM -0400, David Miller wrote: > >> From: "Michael S. Tsirkin" > >> Date: Fri, 27 Apr 2018

Re: [PATCH v10 17/25] mm: protect mm_rb tree with a rwlock

2018-05-02 Thread Laurent Dufour
Hi Punit, Thanks for reviewing this series. On 30/04/2018 20:47, Punit Agrawal wrote: > Hi Laurent, > > One nitpick below. > > On Tue, Apr 17, 2018 at 3:33 PM, Laurent Dufour > wrote: >> This change is inspired by the Peter's proposal patch [1] which was >>

Re: [PATCH v8 12/12] ARM: shmobile: Convert file to use cntvoff

2018-05-02 Thread Simon Horman
On Tue, May 01, 2018 at 02:31:31PM +0200, Mylène Josserand wrote: > Now that a common function is available for CNTVOFF's > initialization, let's convert shmobile-apmu code to use > this function. > > Signed-off-by: Mylène Josserand > Reviewed-by: Geert Uytterhoeven

Re: [PATCH 4/4] usb: roles: intel_xhci: Always allow user control

2018-05-02 Thread Heikki Krogerus
On Tue, May 01, 2018 at 11:57:55AM +0200, Hans de Goede wrote: > Hi, > > On 30-04-18 14:41, Heikki Krogerus wrote: > > Trying to determine the USB port type with this mux is very > > difficult. To simplify the situation, always allowing user > > control, even if the port is USB Type-C port. > >

Re: [PATCH] memcg, hugetlb: pages allocated for hugetlb's overcommit will be charged to memcg

2018-05-02 Thread TSUKADA Koutaro
On 2018/05/02 13:41, Mike Kravetz wrote: > What is the reason for not charging pages at allocation/reserve time? I am > not an expert in memcg accounting, but I would think the pages should be > charged at allocation time. Otherwise, a task could allocate a large number > of (reserved) pages

Re: WARNING in __snd_pcm_lib_xfer

2018-05-02 Thread Takashi Iwai
On Wed, 02 May 2018 04:12:02 +0200, 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=6530078334779392 >

Re: [PATCH v1] clk: qcom: gdsc: Add support to poll CFG register to check GDSC state

2018-05-02 Thread Stephen Boyd
Quoting Taniya Das (2018-04-30 22:03:33) > @@ -45,15 +50,28 @@ > > #define domain_to_gdsc(domain) container_of(domain, struct gdsc, pd) > > -static int gdsc_is_enabled(struct gdsc *sc, unsigned int reg) > +static int gdsc_is_enabled(struct gdsc *sc, bool en) > { > + unsigned int reg; >

Re: [RFC v3 4/5] virtio_ring: add event idx support in packed ring

2018-05-02 Thread Tiwei Bie
On Wed, May 02, 2018 at 10:51:06AM +0800, Jason Wang wrote: > On 2018年04月25日 13:15, Tiwei Bie wrote: > > This commit introduces the event idx support in packed > > ring. This feature is temporarily disabled, because the > > implementation in this patch may not work as expected, > > and some

[PATCH 1/1] vfio: ccw: fix error return in vfio_ccw_sch_event

2018-05-02 Thread Dong Jia Shi
If device has not been registered, or there is a pending work, we should reschedule a sch_event call again. Signed-off-by: Dong Jia Shi --- drivers/s390/cio/vfio_ccw_drv.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

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

2018-05-02 Thread jacopo mondi
Hi Christoph, On Fri, Apr 20, 2018 at 11:59:13AM +0200, Geert Uytterhoeven wrote: > Hi Christoph, > > On Fri, Apr 20, 2018 at 10:31 AM, Christoph Hellwig > wrote: > > On Wed, Apr 18, 2018 at 03:13:14PM +0200, jacopo mondi wrote: > >> As long as it goes for arch/sh, the only

[PATCH 3/3] drm/exynos: hdmi: avoid duplicating drm_bridge_attach

2018-05-02 Thread Peter Rosin
drm_bridge_attach takes care of these assignments, so there is no need to open-code them a second time. Signed-off-by: Peter Rosin --- drivers/gpu/drm/exynos/exynos_hdmi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c

RE: [PATCH v6 01/11] perf/x86/intel/pt: Move Intel-PT MSR bit definitions to a public header

2018-05-02 Thread Kang, Luwei
> > Intel Processor Trace virtualization enabling in guest need to use > > these MSR bits, so move them to public header msr-index.h. > > Introduce RTIT_CTL_FABRIC_EN and sync the definitions to latest spec. > > You forgot to Cc the maintainers. > > Also, this patch does 2 things, I think we

[PATCH 2/3] drm/rockchip: lvds: avoid duplicating drm_bridge_attach

2018-05-02 Thread Peter Rosin
drm_bridge_attach takes care of these assignments, so there is no need to open-code them a second time. Signed-off-by: Peter Rosin --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_lvds.c

Re: 答复: Tracking: radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-05-02 Thread Mathieu Malaterre
Hi all, On Wed, May 2, 2018 at 4:39 AM, Qu, Jim wrote: > Hi , > > If you are sure that the HW worked fine before. I think you should: > > 1. Be sure that HW works fine now. > 2. recall the driver to the point at where it works well, and then replace > them one by one to confirm

Re: Warning for driver i915 for 4.17.0-rcX

2018-05-02 Thread Jani Nikula
On Mon, 30 Apr 2018, Larry Finger wrote: > With kernel 4.17.0-rc3, I noted the following warning from driver i915. > > kernel: [ cut here ] > kernel: Could not determine valid watermarks for inherited state > kernel: WARNING: CPU: 3 PID: 224 at

[PATCH] efi: Fix the size not consistent issue when unmapping memory map

2018-05-02 Thread Lee, Chun-Yi
When using kdump, SOMETIMES the "size not consistent" warning message shows up when the crash kernel boots with early_ioremap_debug parameter: WARNING: CPU: 0 PID: 0 at ../mm/early_ioremap.c:182 early_iounmap+0x4f/0x12c() early_iounmap(ff200180, 0118) [0] size not consistent 0120

Re: [PATCH] platform/x86: asus-wmi: Add keyboard backlight toggle support

2018-05-02 Thread Jian-Hong Pan
2018-05-02 14:02 GMT+08:00 Chris Chiu : > Some Asus laptops like UX550GE has hotkey (Fn+F7) for keyboard > backlight toggle. In this UX550GE, the hotkey incremet the level > of brightness for each keypress from 1 to 3, and then switch it > off when the brightness has been the

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

2018-05-02 Thread Lu Baolu
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? > Let's limit the cleaning-loop by number of hw > fault registers. Will this cause the fault recording registers full of

linux-next: Tree for May 2

2018-05-02 Thread Stephen Rothwell
Hi all, Changes since 20180501: Added tree: pcmcia Removed tree: syscalls (finished with) The net-next tree gained a conflict against the net tree. The bpf-next tree gained a conflict against the bpf tree. Non-merge commits (relative to Linus' tree): 3508 3343 files changed, 134142

Re: [PATCH v2] inode: debugfs_create_dir uses mode permission from parent

2018-05-02 Thread Thomas-Mich Richter
On 04/27/2018 04:58 PM, Kees Cook wrote: > On Fri, Apr 27, 2018 at 6:49 AM, Greg KH wrote: >> I'm going to add Kees and the kernel-hardning list here, as I'd like >> their opinions for the patch below. >> >> Kees, do you have any problems with this patch? I know you

Re: Build regressions/improvements in v4.17-rc3

2018-05-02 Thread Geert Uytterhoeven
On Tue, May 1, 2018 at 8:14 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.17-rc3[1] to v4.17-rc2[3], the summaries are: > - build errors: +3/-0 + error: core.c: undefined reference to `of_find_regulator_by_node': => .text+0xa4d) i386-randconfig More

general protection fault in lo_ioctl (2)

2018-05-02 Thread syzbot
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 config:

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

2018-05-02 Thread Ingo Molnar
* changbin...@intel.com wrote: > Comparison of system performance: a bit drop. > > w/o CONFIG_DEBUG_EXPERIENCE > $ time make -j4 > real6m43.619s > user19m5.160s > sys 2m20.287s > > w/ CONFIG_DEBUG_EXPERIENCE > $ time make -j4 >

Re: [PATCH] clk: imx6ul: fix periph clk2 clock mux selection

2018-05-02 Thread Shawn Guo
Add linux-imx list, in case NXP friends have a comment. On Wed, Apr 18, 2018 at 02:52:54PM +0200, Stefan Agner wrote: > According to the data sheet the 3rd choice is the bypass clock > of pll2. This should not have any effect in practice as this > selection is not used currently. > >

Re: [PATCH 26/28] venus: implementing multi-stream support

2018-05-02 Thread Vikash Garodia
Hello Stanimir, On 2018-04-24 18:14, Stanimir Varbanov wrote: This is implementing a multi-stream decoder support. The multi stream gives an option to use the secondary decoder output with different raw format (or the same in case of crop). Signed-off-by: Stanimir Varbanov

[PATCH 1/3] drm/sti: do not remove the drm_bridge that was never added

2018-05-02 Thread Peter Rosin
The more natural approach would perhaps be to add an drm_bridge_add, but there are several other bridges that never call drm_bridge_add. Just removing the drm_bridge_remove is the easier fix. Signed-off-by: Peter Rosin --- drivers/gpu/drm/sti/sti_hda.c | 1 -

[PATCH 0/3] drm: fix some bridge api misunderstandings

2018-05-02 Thread Peter Rosin
Hi! While looking at various drm bridge users, I came across these issues. Cheers, Peter Peter Rosin (3): drm/sti: do not remove the drm_bridge that was never added drm/rockchip: lvds: avoid duplicating drm_bridge_attach drm/exynos: hdmi: avoid duplicating drm_bridge_attach

Re: [PATCH v3 0/6] KVM: x86: hyperv: PV TLB flush for Windows guests

2018-05-02 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > > Qemu (and other userspaces) need to enable CPUID feature bits to make > Windows aware the feature is supported. I'll post Qemu enablement patch > separately. Radim, Paolo, I'd like to send Qemu feature enablement patch for this feature but

Re: [PATCH] v3d: fixup for submit alignment and check for zero flags in other ioctls.

2018-05-02 Thread Daniel Vetter
On Tue, May 01, 2018 at 10:58:45AM -0700, Eric Anholt wrote: > Signed-off-by: Eric Anholt > --- > > airlied + danvet: this is the last change I think we need before I can > merge v3d with your acks. Sending as a diff so you don't have to look > at the whole thing again. Look

Re: [PATCH] ARM: dts: at91: sama5d4ek: use canonical compatible for touchscreen

2018-05-02 Thread Alexandre Belloni
On 01/05/2018 15:48:33-0700, Dmitry Torokhov wrote: > The canonical compatible string is "atmel,maxtouch", let's use it. Also, > change the node name to be "touchscreen" rather than driver name. > > Signed-off-by: Dmitry Torokhov > --- >

Re: [PATCH] coresight: Remove %px for printing pcsr value

2018-05-02 Thread Leo Yan
On Tue, May 01, 2018 at 10:29:46PM -0700, Kees Cook wrote: > On Tue, May 1, 2018 at 10:00 PM, Leo Yan wrote: > > The driver prints pcsr twice: the first time it uses specifier %px to > > print hexadecimal pcsr value and the second time uses specifier %pS for > > output kernel

Re: recent patch "x86/acpi: Prevent X2APIC id 0xffffffff from being accounted"

2018-05-02 Thread Jan Beulich
>>> On 02.05.18 at 03:56, wrote: > At 04/27/2018 08:09 PM, Jan Beulich wrote: >> I'm afraid I don't understand: Limiting the number of disabled CPUs is >> certainly desirable when those can never be used, but why would you >> want to do this when they might later get

Re: [PATCH 1/4] platform: x86: intel_cht_int33fe: Fix dependencies

2018-05-02 Thread Heikki Krogerus
On Tue, May 01, 2018 at 11:53:24AM +0200, Hans de Goede wrote: > Hi, > > On 30-04-18 14:41, Heikki Krogerus wrote: > > The driver will not probe unless bq24190 is loaded, so > > making it a dependency. > > Hmm, the dependency is pure run-time, with this Kconfig > change if a user now decides to

[PATCH] mailbox: arm_mhu: add support for mhuv2

2018-05-02 Thread Samarth Parikh
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? ARM has launched a next version of MHU i.e. MHUv2 with its latest subsystems. The main change is that the MHUv2 is now a distributed

Re: [PATCH] efi/capsule-loader: Don't output reset log when header flags is not set

2018-05-02 Thread Ard Biesheuvel
On 2 May 2018 at 03:29, Yang, Shunyong wrote: > Hi, Ard, > > On Tue, 2018-05-01 at 11:54 +0200, Ard Biesheuvel wrote: >> On 25 April 2018 at 05:10, Shunyong Yang > com> wrote: >> > >> > It means firmware attempts to immediately process

Re: [PATCH v6 3/3] clk: qcom: Add Global Clock controller (GCC) driver for SDM845

2018-05-02 Thread Stephen Boyd
Quoting Amit Nischal (2018-04-30 09:20:10) > --- > .../devicetree/bindings/clock/qcom,gcc.txt |1 + > drivers/clk/qcom/Kconfig | 10 +- > drivers/clk/qcom/Makefile |1 + > drivers/clk/qcom/gcc-sdm845.c |

Re: [PATCH] USB: serial: option: adding support for ublox R410M

2018-05-02 Thread Johan Hovold
On Thu, Apr 26, 2018 at 02:12:32PM -0500, Dan Williams wrote: > On Thu, 2018-04-26 at 18:29 +0200, Johan Hovold wrote: > > On Thu, Apr 26, 2018 at 11:22:25PM +0700, Lars Melin wrote: > > > On 4/26/2018 23:12, Johan Hovold wrote: > > > > On Thu, Apr 26, 2018 at 06:40:46PM +0700, Lars Melin wrote: >

Re: possible deadlock in blkdev_reread_part

2018-05-02 Thread Dmitry Vyukov
/\/\/\/\/\/\On Fri, Apr 20, 2018 at 4:06 PM, Tetsuo Handa wrote: > Tetsuo Handa wrote: >> Eric Biggers wrote: >> > It seems that ->bd_mutex is held while opening and closing block devices, >> > which >> > should rank it above both ->lo_ctl_mutex and

Re: [PATCH v2] KVM: x86: VMX: hyper-v: Enlightened MSR-Bitmap support

2018-05-02 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Enlightened MSR-Bitmap is a natural extension of Enlightened VMCS: > Hyper-V Top Level Functional Specification states: > > "The L1 hypervisor may collaborate with the L0 hypervisor to make MSR > accesses more efficient. It can enable enlightened

Re: [PATCH 1/2] dt-bindings: clock: Introduce QCOM Video clock bindings

2018-05-02 Thread Amit Nischal
On 2018-05-01 19:20, Rob Herring wrote: On Tue, Apr 24, 2018 at 07:02:50PM +0530, Amit Nischal wrote: Add device tree bindings for video clock controller for Qualcomm Technology Inc's SoCs. Signed-off-by: Amit Nischal ---

[PATCH v2 1/3] dt-bindings: iio: stm32-adc: add support for STM32MP1

2018-05-02 Thread Fabrice Gasnier
Document support for STM32MP1 ADC. It's quite similar to STM32H7 ADC. Introduce "st,stm32mp1-adc" compatible to handle variants of this hardware such as vregready flag, interrupts, clock rate. Signed-off-by: Fabrice Gasnier --- Changes in v2: - Update dt-bindings

[PATCH v2 2/3] iio: adc: stm32-adc: add support for STM32MP1

2018-05-02 Thread Fabrice Gasnier
Add support for STM32MP1 ADC. It's quite similar to STM32H7 ADC. Introduce new compatible to handle variants of this hardware such as vregready flag, trigger list, interrupts, clock rate. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-adc-core.c | 66

Re: [alsa-devel] [PATCH v4 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-05-02 Thread Lukas Wunner
On Thu, Apr 26, 2018 at 03:52:08PM +0800, Kai Heng Feng wrote: > > On Apr 25, 2018, at 5:13 AM, Lukas Wunner wrote: > > On Mon, Apr 23, 2018 at 04:18:35PM +0800, Kai Heng Feng wrote: > > > That's because the audio device got runtime suspended by the graphics. > > > > > > In this

Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-02 Thread Stephen Boyd
Quoting Amit Nischal (2018-04-30 09:20:08) > diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h > index 2a7489a..f795b3e 100644 > --- a/drivers/clk/qcom/clk-rcg.h > +++ b/drivers/clk/qcom/clk-rcg.h > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2013, The Linux Foundation. All rights

[PATCH v2 0/3] Add support for STM32MP1 ADC

2018-05-02 Thread Fabrice Gasnier
Add support for STM32MP1 Analog to Digital Converter variant. It's quite similar to STM32H7 ADC and re-use most of existing driver. --- Changes in v2: - Update dt-bindings following Rob's remark: STM32MP1 ADC has two interrupt lines Fabrice Gasnier (3): dt-bindings: iio: stm32-adc: add

[PATCH v2 3/3] ARM: dts: stm32: Add ADC support to stm32mp157c

2018-05-02 Thread Fabrice Gasnier
stm32mp157c has an ADC block with two physical ADCs. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi

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

2018-05-02 Thread jacopo mondi
Hi again Christoph, The gentle ping actually applies to this version of the patch. Sorry for the confusion. Thanks j On Wed, Apr 18, 2018 at 11:42:35AM +0200, Jacopo Mondi wrote: > With commit ce88313069c36eef80f21fd7 ("arch/sh: make the DMA mapping > operations observe

[PATCH v2] watchdog: sp805: add restart handler

2018-05-02 Thread Jongsung Kim
Add restart handler for SP805 watchdog so that the driver can be used to reboot the system. Signed-off-by: Jongsung Kim Cc: Guenter Roeck --- drivers/watchdog/sp805_wdt.c | 13 + 1 file changed, 13 insertions(+) diff --git

Re: [PATCH v2 0/5] ALSA: xen-front: Add Xen para-virtualized frontend driver

2018-05-02 Thread Oleksandr Andrushchenko
Gentle reminder... I think that Xen side comments are already there and still I miss some input from ALSA community on patch #5. Thank you, Oleksandr On 04/16/2018 09:24 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Please note: this

Re: [Xen-devel] [PATCH 1/4] xen/PVH: Replace GDT_ENTRY with explicit constant

2018-05-02 Thread Jan Beulich
>>> On 30.04.18 at 18:23, wrote: > Latest binutils release (2.29.1) will no longer allow proper computation > of GDT entries on 32-bits, with warning: > > arch/x86/xen/xen-pvh.S: Assembler messages: > arch/x86/xen/xen-pvh.S:150: Warning: shift count out of range (32

Re: [PATCH v2] mtd: onenand: omap2: Disable DMA for HIGHMEM buffers

2018-05-02 Thread Ladislav Michl
Hi Boris, (and apologies for delay) On Fri, Apr 20, 2018 at 10:01:34PM +0200, Boris Brezillon wrote: > Hi Ladislav, > > On Mon, 16 Apr 2018 08:52:59 +0200 > Ladislav Michl wrote: > > > dma_map_single doesn't get the proper DMA address for vmalloced area, > > That's not

Re: [PATCH v8 22/24] mm: Speculative page fault handler return VMA

2018-05-02 Thread Ganesh Mahendran
2018-03-29 15:50 GMT+08:00 Laurent Dufour : > On 29/03/2018 05:06, Ganesh Mahendran wrote: >> 2018-03-29 10:26 GMT+08:00 Ganesh Mahendran : >>> Hi, Laurent >>> >>> 2018-02-16 23:25 GMT+08:00 Laurent Dufour :

Re: [Ksummit-discuss] bug-introducing patches

2018-05-02 Thread Daniel Vetter
On Tue, May 1, 2018 at 11:15 PM, Mark Brown wrote: > On Tue, May 01, 2018 at 04:54:48PM -0400, Theodore Y. Ts'o wrote: >> I do think it's about AUTOSEL, because when I'm dealing with a >> regression, I want to get it fixed fast. Because the alternative is >> the merge-window

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-05-02 Thread Peter Zijlstra
On Wed, May 02, 2018 at 10:45:52AM +0530, Kohli, Gaurav wrote: > On 5/1/2018 6:49 PM, Peter Zijlstra wrote: > > - complete(>parked), which we can do inside schedule(); this > > solves the problem because then kthread_park() will not return early > > and the task really is blocked. > >

Re: [Xen-devel] [PATCH 4/4] xen/PVH: Remove reserved entry in PVH GDT

2018-05-02 Thread Jan Beulich
>>> On 30.04.18 at 18:23, wrote: > And without it we can't use _BOOT_XX macros any longer so define new ones. Ah, here we go. Perhaps this should be moved earlier in the series? Assuming you really want to go this route in the first place, taking Roger's comment into

Re: [PATCH v2 21/27] coresight: Convert driver messages to dev_dbg

2018-05-02 Thread Robert Walker
On 02/05/18 04:55, Kim Phillips wrote: On Tue, 1 May 2018 10:10:51 +0100 Suzuki K Poulose wrote: Convert component enable/disable messages from dev_info to dev_dbg. This is required to prevent LOCKDEP splats when operating in perf mode where we could be called with

Re: [PATCH] staging: wilc1000: fix infinite loop and out-of-bounds access

2018-05-02 Thread Dan Carpenter
We're mainly discussing readability, right? To me when people use "int" that tells me as a reader that we don't need to think about the type. It's going to be a small number. Say you have data which the user can control, then it's super important to focus on the data types. We don't focus on

Re: [PATCH v2] staging: greybus: Use gpio_is_valid()

2018-05-02 Thread Johan Hovold
On Sat, Apr 28, 2018 at 10:05:39AM +0530, Arvind Yadav wrote: > Replace the manual validity checks for the GPIO with the > gpio_is_valid(). > > Signed-off-by: Arvind Yadav > --- > chnage in v2 : > Returning invalid gpio as error instead of -ENODEV. > >

Re: [RFC][PATCH] memcg: Replace mm->owner with mm->memcg

2018-05-02 Thread Michal Hocko
[CC johannes and Tejun as well. I am sorry but my backlog is so huge I will not get to this week.] On Tue 01-05-18 12:35:16, Eric W. Biederman wrote: > Recently it was reported that mm_update_next_owner could get into > cases where it was executing it's fallback for_each_process part of > the

Re: [PATCH v2 01/12] dt-bindings: cpufreq: mediatek: use - instead of _ in examples

2018-05-02 Thread Matthias Brugger
On 04/11/2018 10:53 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > It should be good that no use "_" is in examples. Consequently, > those nodes in certain files which have an inappropriate name containing > "_" are all being replaced with "-". > >

Re: [PATCH] input/psmouse: Don't hold the mutex while calling ->disconnect

2018-05-02 Thread Daniel Vetter
On Mon, Apr 30, 2018 at 11:17 PM, Dmitry Torokhov wrote: > Hi Daniel, > > On Mon, Apr 30, 2018 at 09:56:49PM +0200, Daniel Vetter wrote: >> At least trackpoint_disconnect wants to remove some sysfs files, and >> we can't remove sysfs files while holding psmouse_mutex:

[PATCH] scsi: mptfusion: fix spelling mistake: "initators" -> "initiators"

2018-05-02 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in text string Signed-off-by: Colin Ian King --- drivers/message/fusion/mptbase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/message/fusion/mptbase.c

Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

2018-05-02 Thread Jesper Dangaard Brouer
On Tue, 6 Mar 2018 15:42:41 -0800 Chris Mason wrote: > On 6 Mar 2018, at 11:12, Linus Torvalds wrote: > [...] > > > > I do *not* want this to be a magical way to hide things. > > Especially early on, this makes a lot of sense. But I wanted to plug > bps and the hopefully

[PATCH][media-next] 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'. Fix this by kfree'ing params in error exit path and jumping to this on the copy_to_user failure path. Detected by CoverityScan, CID#1467966

Re: [PATCH v4 05/22] iommu: introduce iommu invalidate API function

2018-05-02 Thread Jean-Philippe Brucker
On 01/05/18 23:58, Jacob Pan wrote: Maybe this should be called "NG_PAGE_PASID", >>> Sure. I was thinking page range already implies non-global pages. and "DOMAIN_PAGE" should instead be "PAGE_PASID". If I understood their meaning correctly, it would be more consistent with

Re: [PATCH 15/18] thermal: exynos: check return values of ->get_trip_[temp,hyst] methods

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:43:04 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:30PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Check return values of ->get_trip_[temp,hyst] methods in > > exynos_tmu_initialize(). > > > > Signed-off-by: Bartlomiej Zolnierkiewicz

Re: [PATCH] staging: wilc1000: fix infinite loop and out-of-bounds access

2018-05-02 Thread Ajay Singh
On Wed, 2 May 2018 11:39:36 +0300 Dan Carpenter wrote: > We're mainly discussing readability, right? > > To me when people use "int" that tells me as a reader that we don't > need to think about the type. It's going to be a small number. > > Say you have data which

Re: non-blocking connect for kernel SCTP sockets

2018-05-02 Thread Xin Long
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, (struct sockaddr *), addr_len, >

Re: [PATCH v3] drm/i915: Disable some extra clang warnings

2018-05-02 Thread Chris Wilson
Quoting Matthias Kaehlcke (2018-05-01 19:24:40) > Commit 39bf4de89ff7 ("drm/i915: Add -Wall -Wextra to our build, set > warnings to full") enabled extra warnings for i915 to spot possible > bugs in new code, and then disabled a subset of these warnings to keep > the current code building without

Re: WARNING: bad unlock balance in xfs_iunlock

2018-05-02 Thread Jan Tulak
On Mon, Apr 30, 2018 at 5:14 PM, Eric Sandeen wrote: > On 4/30/18 9:02 AM, Dmitry Vyukov wrote: >> Suggestions are welcome. Currently it says "syzbot hit the following >> crash on upstream commit SHA1", which was supposed to mean just the >> state of the source tree when the

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

2018-05-02 Thread Lee Jones
> >> 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 Balletbo i Serra

RESPONSE

2018-05-02 Thread Ms. Ella Golan
I am Ms.Ella Golan, I am the Executive Vice President Banking Division with FIRST INTERNATIONAL BANK OF ISRAEL LTD (FIBI). I am getting in touch with you regarding an extremely important and urgent matter. If you would oblige me the opportunity, I shall provide you with details upon your

[PATCH 3/3] remoteproc/davinci: use octal permissions for module_param()

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Checkpatch recommends to use octal perms instead of S_IRUGO. Signed-off-by: Bartosz Golaszewski Reviewed-by: Sekhar Nori Acked-by: Suman Anna ---

[PATCH 1/3] remoteproc/davinci: add the missing retval check for clk_enable()

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The davinci platform is being switched to using the common clock framework, where clk_enable() can fail. Add the return value check. Signed-off-by: Bartosz Golaszewski Acked-by: Suman Anna

Re: [PATCH v2] staging: greybus: Use gpio_is_valid()

2018-05-02 Thread Johan Hovold
On Wed, May 02, 2018 at 03:15:05PM +0530, Arvind Yadav wrote: > On Wednesday 02 May 2018 02:13 PM, Johan Hovold wrote: > > On Sat, Apr 28, 2018 at 10:05:39AM +0530, Arvind Yadav wrote: > >> Replace the manual validity checks for the GPIO with the > >> gpio_is_valid(). > >> > >> Signed-off-by:

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

2018-05-02 Thread Bartlomiej Zolnierkiewicz
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 implementations. > > > > There should be no functional changes caused by this

Re: [PATCH] pinctrl: meson: axg: add tdm pins

2018-05-02 Thread Linus Walleij
On Mon, Apr 9, 2018 at 4:54 PM, Jerome Brunet wrote: > Add the information related to the tdm pins of the A113D SoC > > Signed-off-by: Jerome Brunet Patch applied with Neil's review tag. Yours, Linus Walleij

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

2018-05-02 Thread Linus Walleij
On Thu, Apr 26, 2018 at 3:35 PM, Michal Simek wrote: >> The only use case which I can think about is userspace sysfs >> and then I would really like to know why these userspace >> users cannot use the character device that is nowadays >> supported by libgpiod and there

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

2018-05-02 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in DRM_ERROR error message Signed-off-by: Colin Ian King --- drivers/gpu/drm/sti/sti_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-05-02 Thread Kohli, Gaurav
On 5/2/2018 1:50 PM, Peter Zijlstra wrote: On Wed, May 02, 2018 at 10:45:52AM +0530, Kohli, Gaurav wrote: On 5/1/2018 6:49 PM, Peter Zijlstra wrote: - complete(>parked), which we can do inside schedule(); this solves the problem because then kthread_park() will not return early

Re: [PATCH] firmware/psci: add support for SYSTEM_RESET2

2018-05-02 Thread Sudeep Holla
On 01/05/18 18:59, Florian Fainelli wrote: > On 05/01/2018 07:51 AM, Sudeep Holla wrote: >> PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets >> where the semantics are described by the PSCI specification itself as >> well as vendor-specific resets. Currently only system warm

Re: [PATCH 2/2] Use bit-wise majority to recover the contents of ONFI parameter

2018-05-02 Thread Boris Brezillon
Hi Jane, On Thu, 26 Apr 2018 17:19:56 -0700 Jane Wan wrote: > Signed-off-by: Jane Wan > --- > drivers/mtd/nand/nand_base.c | 35 +++ > 1 file changed, 31 insertions(+), 4 deletions(-) > > diff --git

Re: [v2 PATCH 1/1] tg3: fix meaningless hw_stats reading after tg3_halt memset 0 hw_stats

2018-05-02 Thread Zumeng Chen
On 2018年05月02日 13:12, Michael Chan wrote: On Tue, May 1, 2018 at 5:42 PM, Zumeng Chen wrote: diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h index 3b5e98e..c61d83c 100644 --- a/drivers/net/ethernet/broadcom/tg3.h +++

Re: [PATCH V4 4/8] soc: mediatek: pwrap: add int1_en_all flag

2018-05-02 Thread Matthias Brugger
On 05/02/2018 11:21 AM, argus@mediatek.com wrote: > From: Argus Lin > > MT6797 support int1_en flag for starvation > and cmd_miss exception interrupt. We add > a new flag int1_en_all to check if we need > to enable interrupt source or not. > > Signed-off-by: Argus

  1   2   3   4   5   6   7   8   9   10   >