RE: [PATCH] ACPICA: make acpi_load_table() return table index

2019-09-23 Thread Nikolaus Voss
On Thu, 19 Sep 2019, Moore, Robert wrote: -Original Message- From: Nikolaus Voss [mailto:n...@vosn.de] Sent: Wednesday, September 18, 2019 7:32 AM To: Moore, Robert Cc: Ferry Toth ; Shevchenko, Andriy ; Schmauss, Erik ; Rafael J. Wysocki ; Len Brown ; Jacek Anaszewski ; Pavel Machek

[PATCH v18 01/19] kunit: test: add KUnit test runner core

2019-09-23 Thread Brendan Higgins
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call the

[PATCH v18 04/19] kunit: test: add assertion printing library

2019-09-23 Thread Brendan Higgins
Add `struct kunit_assert` and friends which provide a structured way to capture data from an expectation or an assertion (introduced later in the series) so that it may be printed out in the event of a failure. Signed-off-by: Brendan Higgins Reviewed-by: Stephen Boyd --- include/kunit/assert.h

Re: Kernel Concurrency Sanitizer (KCSAN)

2019-09-23 Thread Dmitry Vyukov
On Mon, Sep 23, 2019 at 10:54 AM Boqun Feng wrote: > > On Mon, Sep 23, 2019 at 10:21:38AM +0200, Dmitry Vyukov wrote: > > On Mon, Sep 23, 2019 at 6:31 AM Boqun Feng wrote: > > > > > > On Fri, Sep 20, 2019 at 04:54:21PM +0100, Will Deacon wrote: > > > > Hi Marco, > > > > > > > > On Fri, Sep 20, 20

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread Michal Hocko
On Fri 20-09-19 10:17:54, David Hildenbrand wrote: > On 09.09.19 13:48, David Hildenbrand wrote: > > Based on linux/next + "[PATCH 0/3] Remove __online_page_set_limits()" > > > > Let's replace the __online_page...() functions by generic_online_page(). > > Hyper-V only wants to delay the actual onl

Re: Kernel Concurrency Sanitizer (KCSAN)

2019-09-23 Thread Boqun Feng
On Mon, Sep 23, 2019 at 10:21:38AM +0200, Dmitry Vyukov wrote: > On Mon, Sep 23, 2019 at 6:31 AM Boqun Feng wrote: > > > > On Fri, Sep 20, 2019 at 04:54:21PM +0100, Will Deacon wrote: > > > Hi Marco, > > > > > > On Fri, Sep 20, 2019 at 04:18:57PM +0200, Marco Elver wrote: > > > > We would like to

Re: [PATCH 3/4] pwm: mxs: add support for inverse polarity

2019-09-23 Thread Uwe Kleine-König
On Mon, Sep 23, 2019 at 10:45:56AM +0200, Rasmus Villemoes wrote: > On 23/09/2019 10.27, Uwe Kleine-König wrote: > > On Mon, Sep 23, 2019 at 10:13:47AM +0200, Rasmus Villemoes wrote: > >> > >> > >> + pol_bits = state->polarity == PWM_POLARITY_NORMAL ? > >> + PERIOD_POLARITY_NORMAL : PER

Re: [PATCH v2 1/3] cifs: Add support for root file systems

2019-09-23 Thread David Miller
Please resubmit this series when the net-next tree opens back up, and also with an appropriate "[PATCH 0/N]" header posting explaining what the patch series is doing, how it is doing it, and why it is doing it that way. Thank you.

Re: [PATCH v2 5/5] irqchip/irq-bcm7038-l1: Support brcm,int-fwd-mask

2019-09-23 Thread Marc Zyngier
On 22/09/2019 20:08, Florian Fainelli wrote: > > > On 9/22/2019 5:38 AM, Marc Zyngier wrote: >> On Fri, 13 Sep 2019 12:15:42 -0700 >> Florian Fainelli wrote: >> >>> On some specific chips like 7211 we need to leave some interrupts >>> untouched/forwarded to the VPU which is another agent in the

Re: [PATCH v3] mm: memory: fix /proc/meminfo reporting for MLOCK_ONFAULT

2019-09-23 Thread Michal Hocko
On Tue 17-09-19 14:35:50, Kirill A. Shutemov wrote: > On Tue, Sep 17, 2019 at 12:15:19PM +0200, Michal Hocko wrote: > > On Mon 16-09-19 18:26:19, Kirill A. Shutemov wrote: > > > On Fri, Sep 13, 2019 at 02:11:19PM -0700, Lucian Adrian Grijincu wrote: > > > > As pages are faulted in MLOCK_ONFAULT cor

Re: [PATCH] selftests/net: replace AF_MAX with INT_MAX in socket.c

2019-09-23 Thread David Miller
From: Marcelo Henrique Cerri Date: Mon, 16 Sep 2019 12:03:37 -0300 > Use INT_MAX instead of AF_MAX, since libc might have a smaller value > of AF_MAX than the kernel, what causes the test to fail. > > Signed-off-by: Marcelo Henrique Cerri Definitely need to fix this differently.

Re: [PATCH STABLE 4.9] x86, mm, gup: prevent get_page() race with munmap in paravirt guest

2019-09-23 Thread Vlastimil Babka
On 9/19/19 8:26 PM, Ben Hutchings wrote: On Mon, 2019-08-19 at 18:58 +0100, Vlastimil Babka wrote: [...] Hi, I'm sending this stable-only patch for consideration because it's probably unrealistic to backport the 4.13 switch to generic GUP. I can look at 4.4 and 3.16 if accepted. The RCU page tab

Re: [RFC patch 10/15] x86/entry: Move irq tracing to C code

2019-09-23 Thread Peter Zijlstra
On Thu, Sep 19, 2019 at 05:03:24PM +0200, Thomas Gleixner wrote: > To prepare for converting the exit to usermode code to the generic version, > move the irqflags tracing into C code. > > Signed-off-by: Thomas Gleixner > --- > arch/x86/entry/common.c | 10 ++ > arch/x86/entry/

Re: [PATCH 3/4] pwm: mxs: add support for inverse polarity

2019-09-23 Thread Rasmus Villemoes
On 23/09/2019 10.27, Uwe Kleine-König wrote: > On Mon, Sep 23, 2019 at 10:13:47AM +0200, Rasmus Villemoes wrote: >> >> >> +pol_bits = state->polarity == PWM_POLARITY_NORMAL ? >> +PERIOD_POLARITY_NORMAL : PERIOD_POLARITY_INVERSE; >> + >> writel(duty_cycles << 16, >>

Re: [PATCH] memcg: Only record foreign writebacks with dirty pages when memcg is not disabled

2019-09-23 Thread Baoquan He
On 09/23/19 at 04:30pm, Baoquan He wrote: > --- > include/linux/memcontrol.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h > index ad8f1a397ae4..fa53f9d51205 100644 > --- a/include/linux/memcontrol.h > +++ b/in

Re: [RFC patch 03/15] x86/entry: Use generic syscall entry function

2019-09-23 Thread Thomas Gleixner
On Mon, 23 Sep 2019, Peter Zijlstra wrote: > On Fri, Sep 20, 2019 at 04:41:03PM -0700, Andy Lutomirski wrote: > > On Thu, Sep 19, 2019 at 8:09 AM Thomas Gleixner wrote: > > > > > > Replace the syscall entry work handling with the generic version, Provide > > > the necessary helper inlines to hand

Re: [PATCH] regulator: fixed: Prevent NULL pointer dereference when !CONFIG_OF

2019-09-23 Thread Philippe Schenker
On Sun, 2019-09-22 at 10:29 +0800, Axel Lin wrote: > Use of_device_get_match_data which has NULL test for match before > dereference match->data. Add NULL test for drvtype so it still works > for fixed_voltage_ops when !CONFIG_OF. > > Signed-off-by: Axel Lin Reviewed-by: Philippe Schenker > --

Re: [PATCH 1/1] clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate

2019-09-23 Thread Jerome Brunet
On Sat 21 Sep 2019 at 17:04, Martin Blumenstingl wrote: > The meson-saradc driver manually sets the input clock for > sar_adc_clk_sel. Update the GXBB clock driver (which is used on GXBB, > GXL and GXM) so the rate settings on sar_adc_clk_div are propagated up > to sar_adc_clk_sel which will let

Re: bringing back media/zoran driver

2019-09-23 Thread Corentin Labbe
On Mon, Sep 23, 2019 at 10:05:09AM +0200, Hans Verkuil wrote: > On 9/21/19 7:03 PM, Corentin Labbe wrote: > > hello > > > > I am the owner of a zoran based DC10+ card. > > I am in the need of using it since yesterday and I found that its driver > > was removed. > > > > Reverting the removing pat

Re: [PATCH AUTOSEL 5.3 034/203] ASoC: meson: g12a-tohdmitx: override codec2codec params

2019-09-23 Thread Jerome Brunet
On Sun 22 Sep 2019 at 14:41, Sasha Levin wrote: > From: Jerome Brunet > > [ Upstream commit 2c4956bc1e9062e5e3c5ea7612294f24e6d4fbdd ] > > So far, forwarding the hw_params of the input to output relied on the > .hw_params() callback of the cpu side of the codec2codec link to be called > first. T

[PATCH v2 1/3] arm64: dts: meson: add reset controller for Meson-A1 SoC

2019-09-23 Thread Xingyu Chen
Add the reset controller device of Meson-A1 SoC family Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.

[PATCH v2 2/3] dt-bindings: reset: add bindings for the Meson-A1 SoC Reset Controller

2019-09-23 Thread Xingyu Chen
Add DT bindings for the Meson-A1 SoC Reset Controller include file, and also slightly update documentation. Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- .../bindings/reset/amlogic,meson-reset.yaml| 1 + include/dt-bindings/reset/amlogic,meson-a1-reset.h | 59 ++

[PATCH v2 3/3] reset: add support for the Meson-A1 SoC Reset Controller

2019-09-23 Thread Xingyu Chen
The number of RESET registers and offset of RESET_LEVEL register for Meson-A1 are different from previous SoCs, In order to describe these differences, we introduce the struct meson_reset_param. Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan Reviewed-by: Neil Armstrong --- drivers/reset

[PATCH v2 0/3] reset: meson: add Meson-A1 SoC support

2019-09-23 Thread Xingyu Chen
This patchset adds support for Meson-A1 SoC Reset Controller. A new struct meson_reset_param is introduced to describe the register differences between Meson-A1 and previous SoCs. This patchset is based on A1 DTBv4[0]. Changes since v1 at [1]: - rebase on linux-next - add Neil's Reviewed-by [0]

Re: [PATCH -next] scsi: hisi_sas: Make three functions static

2019-09-23 Thread John Garry
On 23/09/2019 06:40, YueHaibing wrote: Fix sparse warnings: drivers/scsi/hisi_sas/hisi_sas_main.c:3686:6: warning: symbol 'hisi_sas_debugfs_release' was not declared. Should it be static? drivers/scsi/hisi_sas/hisi_sas_main.c:3708:5: warning: symbol 'hisi_sas_debugfs_alloc' was not declared.

[PATCH] memcg: Only record foreign writebacks with dirty pages when memcg is not disabled

2019-09-23 Thread Baoquan He
In kdump kernel, memcg usually is disabled with 'cgroup_disable=memory' for saving memory. Now kdump kernel will always panic when dump vmcore to local disk: BUG: kernel NULL pointer dereference, address: 0ab8 PGD 5fcab067 P4D 5fcab067 PUD 5ff73067 PMD 0 Oops: [#1] SMP NOPTI CPU:

Re: [RFC patch 09/15] entry: Provide generic exit to usermode functionality

2019-09-23 Thread Peter Zijlstra
On Thu, Sep 19, 2019 at 05:03:23PM +0200, Thomas Gleixner wrote: > +static unsigned long core_exit_to_usermode_work(struct pt_regs *regs, > + unsigned long ti_work) > +{ > + /* > + * Before returning to user space ensure that all pending work > +

Re: [RFC patch 03/15] x86/entry: Use generic syscall entry function

2019-09-23 Thread Peter Zijlstra
On Fri, Sep 20, 2019 at 04:41:03PM -0700, Andy Lutomirski wrote: > On Thu, Sep 19, 2019 at 8:09 AM Thomas Gleixner wrote: > > > > Replace the syscall entry work handling with the generic version, Provide > > the necessary helper inlines to handle the real architecture specific > > parts, e.g. audi

Re: [PATCH v2 2/2] PCI: pciehp: Prevent deadlock on disconnect

2019-09-23 Thread Mika Westerberg
On Mon, Sep 23, 2019 at 11:12:42AM +0300, Mika Westerberg wrote: > Regarding suggestion of unbinding PCI drivers without > pci_lock_rescan_remove() hold, I haven't looked it too closely but I > think we need to take that lock anyway because when we are unbinding a > hotplug driver it is supposed to

Re: [PATCH v2 2/2] PCI: pciehp: Prevent deadlock on disconnect

2019-09-23 Thread Lukas Wunner
On Mon, Sep 23, 2019 at 11:12:37AM +0300, Mika Westerberg wrote: > Regarding suggestion of unbinding PCI drivers without > pci_lock_rescan_remove() hold, I haven't looked it too closely but I > think we need to take that lock anyway because when we are unbinding a > hotplug driver it is supposed to

Re: [PATCH v8 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-23 Thread Kirill A. Shutemov
On Sat, Sep 21, 2019 at 09:50:54PM +0800, Jia He wrote: > When we tested pmdk unit test [1] vmmalloc_fork TEST1 in arm64 guest, there > will be a double page fault in __copy_from_user_inatomic of cow_user_page. > > Below call trace is from arm64 do_page_fault for debugging purpose > [ 110.016195]

Re: [PATCH 3/4] pwm: mxs: add support for inverse polarity

2019-09-23 Thread Uwe Kleine-König
On Mon, Sep 23, 2019 at 10:13:47AM +0200, Rasmus Villemoes wrote: > If I'm reading of_pwm_xlate_with_flags() right, existing device trees > that set #pwm-cells = 2 will continue to work. > > Signed-off-by: Rasmus Villemoes > --- > drivers/pwm/pwm-mxs.c | 14 ++ > 1 file changed, 10 i

[Patch V10 0/8] Tegra XUSB gadget driver support

2019-09-23 Thread Nagarjuna Kristam
Patches 1-3 are phy driver changes to add support for device mode. Patches 4-7 are changes related to XUSB device mode controller driver. Patch 8 is to enable drivers for XUDC support in defconfig Test Steps(USB 2.0): - Enable "USB Gadget precomposed configurations" in defconfig - Build, flash and

[Patch V10 4/8] dt-bindings: usb: Add NVIDIA Tegra XUSB device mode controller binding

2019-09-23 Thread Nagarjuna Kristam
Add device-tree binding documentation for the XUSB device mode controller present on Tegra210 SoC. This controller supports the USB 3.0 specification. Signed-off-by: Nagarjuna Kristam Reviewed-by: JC Kuo Reviewed-by: Rob Herring Acked-by: Thierry Reding --- .../devicetree/bindings/usb/nvidia,

[Patch V10 7/8] usb: gadget: Add UDC driver for tegra XUSB device mode controller

2019-09-23 Thread Nagarjuna Kristam
This patch adds UDC driver for tegra XUSB 3.0 device mode controller. XUSB device mode controller supports SS, HS and FS modes Based on work by: Mark Kuo Hui Fu Andrew Bresticker Signed-off-by: Nagarjuna Kristam Acked-by: Thierry Reding --- drivers/usb/gadget/udc/Kconfig | 11 +

[Patch V10 8/8] arm64: defconfig: Enable tegra XUDC support

2019-09-23 Thread Nagarjuna Kristam
Enable Nvidia XUSB device mode controller driver and USB GPIO Based Connection Detection Driver as module. Signed-off-by: Nagarjuna Kristam --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 8e0

[Patch V10 6/8] arm64: tegra: Enable xudc on Jetson TX1

2019-09-23 Thread Nagarjuna Kristam
Enable XUSB device mode driver for USB0 slot on Jetson TX1. Signed-off-by: Nagarjuna Kristam Reviewed-by: JC Kuo --- arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 31 +- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-

[Patch V10 2/8] phy: tegra: xusb: Add usb3 port fake support on Tegra210

2019-09-23 Thread Nagarjuna Kristam
On Tegra210, usb2 only otg/peripheral ports dont work in device mode. They need an assosciated usb3 port to work in device mode. Identify an unused usb3 port and assign it as a fake USB3 port to USB2 only port whose mode is otg/peripheral. Based on work by BH Hsieh . Signed-off-by: Nagarjuna Kris

[Patch V10 3/8] phy: tegra: xusb: Add vbus override support on Tegra210

2019-09-23 Thread Nagarjuna Kristam
Tegra XUSB device control driver needs to control vbus override during its operations, add API for the support. Signed-off-by: Nagarjuna Kristam Acked-by: Thierry Reding --- drivers/phy/tegra/xusb-tegra210.c | 58 +++ drivers/phy/tegra/xusb.c | 22 ++

[Patch V10 5/8] arm64: tegra: Add xudc node for Tegra210

2019-09-23 Thread Nagarjuna Kristam
Tegra210 has one XUSB device mode controller, which can be operated HS and SS modes. Add DT support for XUSB device mode controller. Signed-off-by: Nagarjuna Kristam Reviewed-by: JC Kuo --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff

[Patch V10 1/8] phy: tegra: xusb: Add XUSB dual mode support on Tegra210

2019-09-23 Thread Nagarjuna Kristam
Configure the port capabilities based on usb_dr_mode settings. Based on work by JC Kuo . Signed-off-by: Nagarjuna Kristam Reviewed-by: JC Kuo Acked-by: Thierry Reding --- drivers/phy/tegra/xusb-tegra210.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git

Re: [PATCH net-next 05/10] ath: Use dev_get_drvdata where possible

2019-09-23 Thread Kalle Valo
Chuhong Yuan wrote: > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 5d7e4b4935e4 ath: Use dev_get_drvdata where possible -- https://

Re: [PATCH][next] ath: fix various spelling mistakes

2019-09-23 Thread Kalle Valo
Colin King wrote: > There are a bunch of spelling mistakes in two ath drivers, fix > these. > > Signed-off-by: Colin Ian King > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 80ce8ca7a647 ath: fix various spelling mistakes -- https://patchwork.kernel.org/pat

Re: [PATCH 1/4] pwm: mxs: implement ->apply

2019-09-23 Thread Uwe Kleine-König
Hello Rasmus, On Mon, Sep 23, 2019 at 10:13:45AM +0200, Rasmus Villemoes wrote: > In preparation for supporting setting the polarity, switch the driver > to support the ->apply method. > > Signed-off-by: Rasmus Villemoes > --- > drivers/pwm/pwm-mxs.c | 62 +++

Re: Kernel Concurrency Sanitizer (KCSAN)

2019-09-23 Thread Dmitry Vyukov
On Mon, Sep 23, 2019 at 6:31 AM Boqun Feng wrote: > > On Fri, Sep 20, 2019 at 04:54:21PM +0100, Will Deacon wrote: > > Hi Marco, > > > > On Fri, Sep 20, 2019 at 04:18:57PM +0200, Marco Elver wrote: > > > We would like to share a new data-race detector for the Linux kernel: > > > Kernel Concurrency

[PATCH] mm, debug, kasan: save and dump freeing stack trace for kasan

2019-09-23 Thread Vlastimil Babka
On 9/16/19 5:57 PM, Andrey Ryabinin wrote: > I'd rather keep all logic in one place, i.e. "if (!page_owner_disabled && > (IS_ENABLED(CONFIG_KASAN) || debug_pagealloc_enabled())" > With this no changes in early_debug_pagealloc() required and > CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=y should also wo

Re: [PATCH 30/32] tools lib bpf: Renaming pr_warning to pr_warn

2019-09-23 Thread Daniel Borkmann
On Sun, Sep 22, 2019 at 02:07:21PM -0700, Andrii Nakryiko wrote: > On Fri, Sep 20, 2019 at 10:06 AM Kefeng Wang > wrote: > > > > For kernel logging macro, pr_warning is completely removed and > > replaced by pr_warn, using pr_warn in tools lib bpf for symmetry > > to kernel logging macro, then we

[PATCH] dt-bindings: fixed-regulator: fix compatible enum

2019-09-23 Thread Philippe Schenker
Remove 'const:' in the compatible enum. This was breaking make dt_binding_check since it has more than one compatible string. Fixes: 9c86d003d620 ("dt-bindings: regulator: add regulator-fixed-clock binding") Signed-off-by: Philippe Schenker --- .../devicetree/bindings/regulator/fixed-regulato

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Wed, Sep 18, 2019 at 10:52:49AM -0700, Alexander Duyck wrote: > From: Alexander Duyck > > In order to pave the way for free page reporting in virtualized > environments we will need a way to get pages out of the free lists and > identify those pages after they have been returned. To accomplish

Re: [PATCH] serdev: Add ACPI devices by ResourceSource field

2019-09-23 Thread Hans de Goede
Hi, On 23-09-2019 00:29, Maximilian Luz wrote: Hi all, On 9/20/19 5:00 PM, Hans de Goede wrote: So as promised I've given this patch a try, unfortunately it breaks existing users of ACPI serdev device instantation. After adding this patch "ls /sys/bus/serial/devices" is empty, where as before

[PATCH 0/4] pwm: mxs: add support for setting polarity via DT

2019-09-23 Thread Rasmus Villemoes
This series adds support for setting the polarity via DT to the pwm-mxs driver. The DT binding is updated, but I'm not touching the existing .dts or .dtsi files - it seems that the same was done for bcm2835 in commits 46421d9d8e802e570dfa4d793a4938d2642ec7a7 and 8a88b2a2017d1e7e80db53080baff591fd4

[PATCH 3/4] pwm: mxs: add support for inverse polarity

2019-09-23 Thread Rasmus Villemoes
If I'm reading of_pwm_xlate_with_flags() right, existing device trees that set #pwm-cells = 2 will continue to work. Signed-off-by: Rasmus Villemoes --- drivers/pwm/pwm-mxs.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/p

[PATCH 1/4] pwm: mxs: implement ->apply

2019-09-23 Thread Rasmus Villemoes
In preparation for supporting setting the polarity, switch the driver to support the ->apply method. Signed-off-by: Rasmus Villemoes --- drivers/pwm/pwm-mxs.c | 62 +++ 1 file changed, 62 insertions(+) diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-

[PATCH 4/4] dt-bindings: pwm: mxs-pwm: Increase #pwm-cells

2019-09-23 Thread Rasmus Villemoes
We need to increase the pwm-cells for the optional flags parameter, in order to implement support for polarity setting via DT. Signed-off-by: Rasmus Villemoes --- Documentation/devicetree/bindings/pwm/mxs-pwm.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentati

[PATCH 2/4] pwm: mxs: remove legacy methods

2019-09-23 Thread Rasmus Villemoes
Since we now have ->apply, these are no longer relevant. Signed-off-by: Rasmus Villemoes --- drivers/pwm/pwm-mxs.c | 77 --- 1 file changed, 77 deletions(-) diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index c70c26a9ff68..284107784dad 100644

[PATCH] sample/hw_breakpoint: avoid sample hw_breakpoint recursion for arm/arm64

2019-09-23 Thread wangxu
From: Wang Xu For x86/ppc, hw_breakpoint is triggered after the instruction is executed. For arm/arm64, which is triggered before the instruction executed. Arm/arm64 skips the instruction by using single step. But it only supports default overflow_handler. This patch provides a chance to avoid

Re: [PATCH v2 2/2] PCI: pciehp: Prevent deadlock on disconnect

2019-09-23 Thread Mika Westerberg
Hi Lukas, On Mon, Sep 23, 2019 at 07:34:03AM +0200, Lukas Wunner wrote: > On Mon, Aug 12, 2019 at 05:31:33PM +0300, Mika Westerberg wrote: > > If there are more than one PCIe switch with hotplug downstream ports > > hot-removing them leads to a following deadlock: > > For the record, I think my c

Re: [PATCH] EDAC: Armada XP: Use devm_platform_ioremap_resource() in two functions

2019-09-23 Thread Robert Richter
Hi Markus, On 21.09.19 17:57:24, Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 21 Sep 2019 17:50:17 +0200 > > Simplify these function implementations by using a known function. > > This issue was detected by using the Coccinelle software. Which semantic patch did you use here? The

Re: [LTP] 12abeb544d: ltp.read_all_dev.fail

2019-09-23 Thread Richard Palethorpe
Hello, kernel test robot writes: > FYI, we noticed the following commit (built with gcc-7): > > commit: 12abeb544d548f55f56323fc6e5e6c0fb74f58e1 ("horrible test hack") > https://kernel.googlesource.com/pub/scm/linux/kernel/git/luto/linux.git > random/kill-it > > in testcase: ltp > with followin

Re: threads-max observe limits

2019-09-23 Thread Michal Hocko
Andrew, do you want me to send the patch or you can grab it from here? On Sun 22-09-19 16:24:10, Eric W. Biederman wrote: > Michal Hocko writes: > > > From 711000fdc243b6bc68a92f9ef0017ae495086d39 Mon Sep 17 00:00:00 2001 > > From: Michal Hocko > > Date: Sun, 22 Sep 2019 08:45:28 +0200 > > Subj

Re: [PATCH] vhost: It's better to use size_t for the 3rd parameter of vhost_exceeds_weight()

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 03:46:41PM +0800, wangxu wrote: > From: Wang Xu > > Caller of vhost_exceeds_weight(..., total_len) in drivers/vhost/net.c > usually pass size_t total_len, which may be affected by rx/tx package. > > Signed-off-by: Wang Xu Puts a bit more pressure on the register file .

Re: [PATCH 1/1] sched/eas: introduce system-wide overutil indicator

2019-09-23 Thread Dietmar Eggemann
On 9/19/19 9:20 AM, YT Chang wrote: > When the system is overutilization, the load-balance crossing > clusters will be triggered and scheduler will not use energy > aware scheduling to choose CPUs. We're currently transitioning from traditional big.LITTLE (the CPUs of 1 cluster (all having the sam

Re: bringing back media/zoran driver

2019-09-23 Thread Hans Verkuil
On 9/21/19 7:03 PM, Corentin Labbe wrote: > hello > > I am the owner of a zoran based DC10+ card. > I am in the need of using it since yesterday and I found that its driver was > removed. > > Reverting the removing patch made to a temporary working situation. > > If I understand correctly, it w

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

2019-09-23 Thread Taniya Das
Hi Stephen, Thanks for your comments. On 9/19/2019 3:09 AM, Stephen Boyd wrote: Quoting Taniya Das (2019-09-18 02:50:18) diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c new file mode 100644 index ..d47865d5408f --- /dev/null +++ b/drivers/clk/qcom/gcc-sc7

Re: [RFC] VSOCK: add support for MSG_PEEK

2019-09-23 Thread Stefano Garzarella
Hi Matias, thanks for this patch! Since this patch only concerns virtio_transport, I'd use the 'vsock/virtio' prefix in the commit title: "vsock/virtio: add support for MSG_PEEK" Some comments below: On Sun, Sep 22, 2019 at 05:48:27PM +, Matias Ezequiel Vara Larsen wrote: > This patch adds s

[PATCH v2 rebased] powerpc/fadump: when fadump is supported register the fadump sysfs files.

2019-09-23 Thread Michal Suchanek
Currently it is not possible to distinguish the case when fadump is supported by firmware and disabled in kernel and completely unsupported using the kernel sysfs interface. User can investigate the devicetree but it is more reasonable to provide sysfs files in case we get some fadumpv2 in the fu

Re: [PATCH v2 2/2] crypto: sun4i-ss: enable pm_runtime

2019-09-23 Thread Corentin Labbe
On Thu, Sep 19, 2019 at 06:55:59PM +0200, Maxime Ripard wrote: > Hi, > > On Thu, Sep 19, 2019 at 07:10:35AM +0200, Corentin Labbe wrote: > > This patch enables power management on the Security System. > > > > Signed-off-by: Corentin Labbe > > --- > > drivers/crypto/sunxi-ss/sun4i-ss-cipher.c |

Re: [PATCH v3 1/3] mmc: Add MMC software queue support

2019-09-23 Thread Baolin Wang
Hi, On Sat, 21 Sep 2019 at 22:43, kbuild test robot wrote: > > Hi Baolin, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [cannot apply to v5.3 next-20190918] > [if your patch is applied to the wrong git tree, please drop us a note to help > improve

[PATCH] vhost: It's better to use size_t for the 3rd parameter of vhost_exceeds_weight()

2019-09-23 Thread wangxu
From: Wang Xu Caller of vhost_exceeds_weight(..., total_len) in drivers/vhost/net.c usually pass size_t total_len, which may be affected by rx/tx package. Signed-off-by: Wang Xu --- drivers/vhost/vhost.c | 4 ++-- drivers/vhost/vhost.h | 7 --- 2 files changed, 6 insertions(+), 5 deletions

[PATCH net v2] net: stmmac: selftests: Flow Control test can also run with ASYM Pause

2019-09-23 Thread Jose Abreu
The Flow Control selftest is also available with ASYM Pause. Lets add this check to the test and fix eventual false positive failures. Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support") Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc:

RE: [PATCH net] net: stmmac: selftests: Flow Control test can also run with ASYM Pause

2019-09-23 Thread Jose Abreu
From: Jose Abreu Date: Sep/23/2019, 08:30:43 (UTC+00:00) > From: Jose Abreu > > The Flow Control selftest is also available with ASYM Pause. Lets add > this check to the test and fix eventual false positive failures. > > Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support") > Signed

Re: [PATCH 0/5] net: ethernet: stmmac: some fixes and optimization

2019-09-23 Thread Christophe ROULLIER
Hi Jakub, all, It is not urgent, no problem to wait next merge window (release 5.5) For patch 1 and 3, it is improvement/cleanup because now syscfg clock is not mandatory (I put code backward compatible). Regards, Christophe On 9/23/19 12:12 AM, Jakub Kicinski wrote: > On Fri, 20 Sep 2019 07:

[PATCH] vhost/vsock: Micro optimize error handle

2019-09-23 Thread richard.p...@oppo.com
When a vq error, there is no need to operate on the unmodified vq. Signed-off-by:Peng Hao ---  drivers/vhost/vsock.c | 6 +++---  1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index 6a50e1d..0bed19d 100644 --- a/drivers/vhost/vsock.c ++

RE: [PATCH net] net: stmmac: selftests: Flow Control test can also run with ASYM Pause

2019-09-23 Thread Jose Abreu
From: Jakub Kicinski Date: Sep/22/2019, 22:56:42 (UTC+00:00) > On Thu, 19 Sep 2019 12:09:49 +0200, Jose Abreu wrote: > > The Flow Control selftest is also available with ASYM Pause. Lets add > > this check to the test and fix eventual false positive failures. > > > > Fixes: 091810dbded9 ("net: s

Re: [PATCH] powerpc/xive: Fix bogus error code returned by OPAL

2019-09-23 Thread Greg KH
On Mon, Sep 23, 2019 at 08:29:40AM +0200, Greg Kurz wrote: > There's a bug in skiboot that causes the OPAL_XIVE_ALLOCATE_IRQ call > to return the 32-bit value 0x when OPAL has run out of IRQs. > Unfortunatelty, OPAL return values are signed 64-bit entities and > errors are supposed to be ne

[PATCH net] net: stmmac: selftests: Flow Control test can also run with ASYM Pause

2019-09-23 Thread Jose Abreu
From: Jose Abreu The Flow Control selftest is also available with ASYM Pause. Lets add this check to the test and fix eventual false positive failures. Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support") Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue C

Re: [PATCH 2/3] pinctrl: meson-a1: add pinctrl driver for Meson A1 Soc

2019-09-23 Thread Qianggui Song
On 2019/9/20 0:26, Jerome Brunet wrote: > On Wed 18 Sep 2019 at 14:36, Qianggui Song wrote: > >> On 2019/9/17 22:07, Jerome Brunet wrote: >>> >>> On Tue 17 Sep 2019 at 13:51, Qianggui Song >>> wrote: >> diff --git a/drivers/pinctrl/meson/pinctrl-meson.c >> b/drivers/pinctrl/meson/pi

Re: [PATCH AUTOSEL 5.3 084/203] media: omap3isp: Don't set streaming state on random subdevs

2019-09-23 Thread Laurent Pinchart
On Mon, Sep 23, 2019 at 10:19:42AM +0300, Sakari Ailus wrote: > Hi Sasha, > > On Sun, Sep 22, 2019 at 02:41:50PM -0400, Sasha Levin wrote: > > From: Sakari Ailus > > > > [ Upstream commit 7ef57be07ac146e70535747797ef4aee0f06e9f9 ] > > > > The streaming state should be set to the first upstream

Re: [PATCH AUTOSEL 5.3 084/203] media: omap3isp: Don't set streaming state on random subdevs

2019-09-23 Thread Sakari Ailus
Hi Sasha, On Sun, Sep 22, 2019 at 02:41:50PM -0400, Sasha Levin wrote: > From: Sakari Ailus > > [ Upstream commit 7ef57be07ac146e70535747797ef4aee0f06e9f9 ] > > The streaming state should be set to the first upstream sub-device only, > not everywhere, for a sub-device driver itself knows how to

Re: [RFT v3 4/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos4210

2019-09-23 Thread Krzysztof Kozlowski
On Mon, Sep 23, 2019 at 08:56:46AM +0200, Marek Szyprowski wrote: > Hi Krzysztof, > > On 21.09.2019 19:01, Krzysztof Kozlowski wrote: > > Multi Core Timer node has interrupts routed to two different parents - > > GIC and combiner. This was modeled with a interrupt-map within a > > subnode but can

Re: [PATCH] usb: hub: Minor refactoring in usb_hub_init()

2019-09-23 Thread Greg KH
On Mon, Sep 23, 2019 at 03:19:21PM +0900, Austin Kim wrote: > Normally when creation of workqueue fails, exception handling takes place > after the call to alloc_workqueue() is made. > > But looking into usb_hub_init() function, 'return 0' statement is executed, > when alloc_workqueue() returns va

Re: [PATCH v7 18/21] RISC-V: KVM: Add SBI v0.1 support

2019-09-23 Thread Alexander Graf
On 04.09.19 18:16, Anup Patel wrote: From: Atish Patra The KVM host kernel running in HS-mode needs to handle SBI calls coming from guest kernel running in VS-mode. This patch adds SBI v0.1 support in KVM RISC-V. All the SBI calls are implemented correctly except remote tlb flushes. For remo

Re: [PATCH] PCI: Do not use bus number zero from EA capability

2019-09-23 Thread sundeep subbaraya
Hi Bjorn, Please let me know if you have any comments on the patch. Thanks, Sundeep On Mon, Sep 2, 2019 at 9:00 PM wrote: > > From: Subbaraya Sundeep > > As per the spec, "Enhanced Allocation (EA) for Memory > and I/O Resources" ECN, approved 23 October 2014, > sec 6.9.1.2, fixed bus numbers o

<    3   4   5   6   7   8