[GIT PULL] pwm: Changes for v5.4-rc1

2019-09-27 Thread Thierry Reding
Hi Linus, The following changes since commit 6cf9481b440da6d6d86bd8e4c99a8b553b9d1271: pwm: Fallback to the static lookup-list when acpi_pwm_get fails (2019-08-08 13:17:38 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.

Re: [alsa-devel] [PATCH v2] ASoC: Intel: Skylake: prevent memory leak in snd_skl_parse_uuids

2019-09-27 Thread Pierre-Louis Bossart
The problem with solution #1 is freeing orphaned pointer. It will work, but it's simple is not okay from object life time prospective. ?? I don't get your point at all Andy. Two allocations happens in a loop and if the second fails, you free the first and then jump to free everything alloca

Re: [PATCH RFC 1/2] clk: introduce clk_invalidate_rate()

2019-09-27 Thread Jerome Brunet
On Fri 27 Sep 2019 at 08:40, Neil Armstrong wrote: > On 27/09/2019 02:14, Stephen Boyd wrote: >> Quoting Neil Armstrong (2019-09-19 03:25:17) >>> This introduces the clk_invalidate_rate() call used to recalculate the >>> rate and parent tree of a particular clock if it's known that the >>> unde

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-09-27 Thread Scott Wood
On Fri, 2019-09-27 at 10:11 +0200, Juri Lelli wrote: > Hi Scott, > > On 27/07/19 00:56, Scott Wood wrote: > > With the changes to migrate disabling, ->set_cpus_allowed() no longer > > gets deferred until migrate_enable(). To avoid releasing the bandwidth > > while the task may still be executing

[PATCH v2] vsock/virtio: add support for MSG_PEEK

2019-09-27 Thread Matias Ezequiel Vara Larsen
This patch adds support for MSG_PEEK. In such a case, packets are not removed from the rx_queue and credit updates are not sent. Signed-off-by: Matias Ezequiel Vara Larsen --- net/vmw_vsock/virtio_transport_common.c | 55 +++-- 1 file changed, 52 insertions(+), 3 dele

Re: [PATCH v5 0/4] Raspberry Pi 4 DMA addressing support

2019-09-27 Thread Stefan Wahren
Hi Matthias, Am 17.09.19 um 20:03 schrieb Stefan Wahren: > Hi Matthias, > > Am 17.09.19 um 11:04 schrieb Matthias Brugger: >> On 16/09/2019 21:19, Stefan Wahren wrote: >>> Hi Matthias, >>> >>> [drop uninvolved receiver] >>> >>> Am 13.09.19 um 12:39 schrieb Matthias Brugger: >>> >>> So my suggestio

Re: [PATCH v2 1/1] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-27 Thread Akinobu Mita
2019年9月27日(金) 15:39 Greg Kroah-Hartman : > > On Sat, Sep 14, 2019 at 12:03:24AM +0900, Akinobu Mita wrote: > > Reading /sys/class/leds//trigger returns all available LED triggers. > > However, the size of this file is limited to PAGE_SIZE because of the > > limitation for sysfs attribute. > > > > E

RE: [PATCH -next 7/8] dmaengine: xilinx_dma: Check for both idle and halted state in axidma stop_transfer

2019-09-27 Thread Radhey Shyam Pandey
> -Original Message- > From: Nicholas Graumann > Sent: Friday, September 27, 2019 7:27 PM > To: Radhey Shyam Pandey > Cc: Vinod Koul ; dan.j.willi...@intel.com; Michal Simek > ; andrea.mere...@gmail.com; Appana Durga > Kedareswara Rao ; mcg...@kernel.org; > dmaeng...@vger.kernel.org; linu

Re: [PATCH v2 1/1] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-27 Thread Pavel Machek
Hi! > > > down_read(&triggers_list_lock); > > > down_read(&led_cdev->trigger_lock); > > > > > > - if (!led_cdev->trigger) > > > - len += scnprintf(buf+len, PAGE_SIZE - len, "[none] "); > > > + len = led_trigger_format(NULL, 0, true, led_cdev); > > > + data = kvm

Re: [PATCH -next] platform/chrome: wilco_ec: Use kmemdup in enqueue_events()

2019-09-27 Thread Nick Crews
On Thu, Sep 26, 2019 at 4:43 PM Benson Leung wrote: > > Hey Nick, > On Fri, Jun 21, 2019 at 7:51 AM Nick Crews wrote: > > > > Thanks Yue, looks good to me. > > > > Nick > > > > On Fri, Jun 21, 2019 at 7:59 AM YueHaibing wrote: > > > > > > Use kmemdup rather than duplicating its implementation >

Re: [PATCH v4 1/8] dt-bindings: timer: Convert Exynos MCT bindings to json-schema

2019-09-27 Thread Rob Herring
On Mon, Sep 23, 2019 at 06:14:04PM +0200, Krzysztof Kozlowski wrote: > Convert Samsung Exynos Soc Multi Core Timer bindings to DT schema format > using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v3: > 1. Use interrupts-extended instead of interrupts-map. This

Re: [PATCH v22 24/24] docs: x86/sgx: Document kernel internals

2019-09-27 Thread Randy Dunlap
On 9/3/19 7:26 AM, Jarkko Sakkinen wrote: > From: Sean Christopherson > > Document some of the more tricky parts of the kernel implementation > internals. > > Signed-off-by: Sean Christopherson > Co-developed-by: Jarkko Sakkinen > Signed-off-by: Jarkko Sakkinen Hi, Some edits for you to cons

Re: [PATCH v4 05/11] dt-bindings: pci: layerscape-pci: Add compatible strings for ls1088a and ls2088a

2019-09-27 Thread Rob Herring
On Tue, 24 Sep 2019 10:18:43 +0800, Xiaowei Bao wrote: > Add compatible strings for ls1088a and ls2088a. > > Signed-off-by: Xiaowei Bao > --- > v2: > - No change. > v3: > - Use one valid combination of compatible strings. > v4: > - Add the comma between the two compatible. > > Documentation/

linux-kernel@vger.kernel.org

2019-09-27 Thread Alan Stern
On Tue, 24 Sep 2019, Ran Wang wrote: > Hi Greg, > > On Monday, September 23, 2019 19:07, Greg Kroah-Hartman wrote: > > > > On Mon, Sep 23, 2019 at 06:51:02PM +0800, Ran Wang wrote: > > > USB 2.0 Embedded Host PET Automated Test (CH6) 6.7.23 A-UUT > > > "Unsupported Device" Message require to sto

Re: IWL AC 8260, kernel 5.3.*, many kernel WARNING

2019-09-27 Thread Norbert Preining
Dear Kalle, On Fri, 27 Sep 2019, Kalle Valo wrote: > I'm guessing this should fix it: > https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=fddbfeece9c7882cc47754c7da460fe427e3e85b Yes, I can confirm that with this patch added on top of 5.3.1 I don't see the warn

Re: [v4,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property

2019-09-27 Thread Rob Herring
On Thu, Sep 26, 2019 at 10:41:18AM +0800, Biwen Li wrote: > The 'fsl,ippdexpcr1-alt-addr' property is used to handle an errata A-008646 > on LS1021A > > Signed-off-by: Biwen Li > --- > Change in v4: > - rename property name > fsl,ippdexpcr-alt-addr -> fsl,ippdexpcr1-alt-addr > > Ch

Re: [RFC PATCH] interconnect: Replace of_icc_get() with icc_get() and reduce DT binding

2019-09-27 Thread David Dai
On 9/25/2019 6:28 AM, Stephen Boyd wrote: Quoting Bjorn Andersson (2019-09-24 22:59:33) On Tue 24 Sep 22:41 PDT 2019, Stephen Boyd wrote: The DT binding could also be simplified somewhat. Currently a path needs to be specified in DT for each and every use case that is possible for a device t

WARNING in hso_probe

2019-09-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:2994c077 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=145faaf360 kernel config: https://syzkaller.appspot.com/x/.

Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER

2019-09-27 Thread Kees Cook
On Wed, Aug 28, 2019 at 6:30 PM Paul Walmsley wrote: > On Mon, 26 Aug 2019, Kees Cook wrote: > > > On Mon, Aug 26, 2019 at 09:39:50AM -0700, David Abdurachmanov wrote: > > > I don't have the a build with SECCOMP for the board right now, so it > > > will have to wait. I just finished a new kernel (

Re: [PATCH v22 05/24] x86/sgx: Add ENCLS architectural error codes

2019-09-27 Thread Sean Christopherson
On Fri, Sep 27, 2019 at 07:08:42PM +0300, Jarkko Sakkinen wrote: > On Fri, Sep 27, 2019 at 12:20:13PM +0200, Borislav Petkov wrote: > > On Tue, Sep 03, 2019 at 05:26:36PM +0300, Jarkko Sakkinen wrote: > > > Document ENCLS architectural error codes. These error codes are returned > > > by > > > the

Re: [PATCH v6 1/5] pinctrl: mediatek: Check gpio pin number and use binary search in mtk_hw_pin_field_lookup()

2019-09-27 Thread Sean Wang
On Thu, Sep 26, 2019 at 10:14 PM Light Hsieh wrote: > > Dear reviewers: > > Patch v6 improves v5 by: > > 1.in mtk_pinconf_get() and mtk_pinconf_set() @pinctrl-paris.c: > * check if pin is in range before using pin as array index of > hw->soc->pins[] > 2.in mtk_pin_field_lookup() @pinctrl-mt

Re: [PATCH] KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled

2019-09-27 Thread Marcelo Tosatti
On Fri, Sep 27, 2019 at 04:27:02PM +0800, Wanpeng Li wrote: > From: Wanpeng Li > > Don't waste cycles to shrink/grow vCPU halt_poll_ns if host > side polling is disabled. > > Cc: Marcelo Tosatti > Signed-off-by: Wanpeng Li > --- > virt/kvm/kvm_main.c | 28 +++- > 1 fi

Re: [PATCH v3 2/3] dt-bindings: clk: qcom: Add YAML schemas for the GCC clock bindings

2019-09-27 Thread Rob Herring
On Wed, Sep 18, 2019 at 03:20:17PM +0530, Taniya Das wrote: > The GCC clock provider have a bunch of generic properties that > are needed in a device tree. Add a YAML schemas for those. Also update > the compatible for SC7180 along with example for clocks & clock-names. I'm fine fixing errors in t

Re: [PATCH v6 2/5] pinctrl: mediatek: Supporting driving setting without mapping current to register value

2019-09-27 Thread Sean Wang
Hi, On Thu, Sep 26, 2019 at 10:02 PM Light Hsieh wrote: > > Mediatek's smarphone project actual usage does need to know current value MediaTek > (in mA) in procedure of finding the best driving setting. > The steps in the procedure is like as follow: > > 1. set driving setting field in setting

Re: [PATCH] scsi: core: Log SCSI command age with errors

2019-09-27 Thread Laurence Oberman
On Fri, 2019-09-27 at 17:26 +0200, Martin Wilck wrote: > On Mon, 2019-09-23 at 11:31 +0530, Milan P. Gandhi wrote: > > Couple of users had requested to print the SCSI command age along > > with command failure errors. This is a small change, but allows > > users to get more important information

Re: [PATCH v2 1/1] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-27 Thread Greg Kroah-Hartman
On Sat, Sep 28, 2019 at 01:47:21AM +0900, Akinobu Mita wrote: > 2019年9月27日(金) 15:39 Greg Kroah-Hartman : > > > > On Sat, Sep 14, 2019 at 12:03:24AM +0900, Akinobu Mita wrote: > > > Reading /sys/class/leds//trigger returns all available LED triggers. > > > However, the size of this file is limited t

Re: [PATCH v6 3/5] pinctrl: mediatek: Refine mtk_pinconf_get() and mtk_pinconf_set()

2019-09-27 Thread Sean Wang
Hi, On Thu, Sep 26, 2019 at 10:02 PM Light Hsieh wrote: > > 1.Refine mtk_pinconf_get(): > 1.1 Use only one occurrence of return at end of this function. > 1.2 Correct cases for PIN_CONFIG_SLEW_RATE, PIN_CONFIG_INPUT_SCHMITT_ENABLE, If you want to fix it a bug, you should submit a separate patch

Re: [PATCH] tracing/probe: Test nr_args match in looking for same probe events

2019-09-27 Thread Srikar Dronamraju
> > > > This has a side-effect where the newer probe has same argument commands, we > > still end up appending the probe. > > ?? > > How so? > > If the two have the same number of arguments we do exactly what we did > before this patch. Please explain to me how that side effect would happen? >

Re: [PATCH v3 1/2] dt-bindings: arm: samsung: Convert Exynos System Registers bindings to json-schema

2019-09-27 Thread Rob Herring
On Fri, 20 Sep 2019 18:25:59 +0200, Krzysztof Kozlowski wrote: > Convert Samsung Exynos System Registers (SYSREG) bindings to DT schema > format using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v2: > 1. Use select to skip other syscon nodes, > 2. Indent exampl

[PATCH] mfd: intel-lpss: use devm_ioremap_uc for mmio

2019-09-27 Thread Tuowen Zhao
Write-combining BAR for intel-lpss-pci in MTRR causes system hangs during boot. This patch adds devm_ioremap_uc as a new managed wrapper to ioremap_uc and with it forces the use of strongly uncachable mmio in intel-lpss. This bahavior is seen on Dell XPS 13 7390 2-in-1: [0.001734] 5 base 4

Re: [PATCH v3 2/2] dt-bindings: arm: samsung: Convert Exynos PMU bindings to json-schema

2019-09-27 Thread Rob Herring
On Fri, 20 Sep 2019 18:26:00 +0200, Krzysztof Kozlowski wrote: > Convert Samsung Exynos Power Management Unit (PMU) bindings to DT schema > format using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v2: > 1. Use select to skip other syscon nodes, > 2. Indent exam

Re: [PATCH 3/3] powercap/drivers/idle_inject: Specify the idle state to inject

2019-09-27 Thread Mathieu Poirier
On Tue, 24 Sep 2019 at 07:02, Daniel Lezcano wrote: > > > Hi Mathieu, > > On 18/09/2019 21:35, Mathieu Poirier wrote: > > On Mon, Sep 09, 2019 at 04:50:15PM +0200, Daniel Lezcano wrote: > >> Currently the idle injection framework only allows to inject the > >> deepest idle state available on the s

[PATCH v2] clk/ti/adpll: allocate room for terminating null

2019-09-27 Thread Stephen Kitt
The buffer allocated in ti_adpll_clk_get_name doesn't account for the terminating null. This patch switches to ka_sprintf to avoid overflowing. Signed-off-by: Stephen Kitt --- drivers/clk/ti/adpll.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/clk/ti/adp

Re: [PATCH v1] xen/balloon: Set pages PageOffline() in balloon_add_region()

2019-09-27 Thread Boris Ostrovsky
On 9/27/19 11:46 AM, David Hildenbrand wrote: > We are missing a __SetPageOffline(), which is why we can get > !PageOffline() pages onto the balloon list, where > alloc_xenballooned_pages() will complain: > > page:ea0003e7ffc0 refcount:1 mapcount:0 mapping: index:0x0 > flags: 0x

Re: [GIT PULL][SECURITY] Kernel lockdown patches for v5.4

2019-09-27 Thread Matthew Garrett
On Wed, Sep 25, 2019 at 7:54 AM Jiri Kosina wrote: > Seems like this didn't happen (yet) ... are there any plans to either drop > it for good, or merge it? rc1 isn't out yet, so I'm just waiting to see what happens.

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-27 Thread Hridya Valsaraju
On Fri, Sep 27, 2019 at 6:19 AM Christian Brauner wrote: > > On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > > Currently, the only way to access binder state and > > statistics is through debugfs. We need a way to > > access the same even when debugfs is not mounted. > > These

Re: [PATCH] nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs

2019-09-27 Thread David Miller
From: Navid Emamdoost Date: Wed, 25 Sep 2019 13:24:02 -0500 > In nfp_flower_spawn_phy_reprs, in the for loop over eth_tbl if any of > intermediate allocations or initializations fail memory is leaked. > requiered releases are added. > > Signed-off-by: Navid Emamdoost Applied.

Re: [PATCH] nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs

2019-09-27 Thread David Miller
From: Navid Emamdoost Date: Wed, 25 Sep 2019 14:05:09 -0500 > In nfp_flower_spawn_vnic_reprs in the loop if initialization or the > allocations fail memory is leaked. Appropriate releases are added. > > Signed-off-by: Navid Emamdoost Applied.

Re: [PATCH v22 23/24] docs: x86/sgx: Document microarchitecture

2019-09-27 Thread Randy Dunlap
Hi, doc edits for you: On 9/3/19 7:26 AM, Jarkko Sakkinen wrote: > From: Sean Christopherson > > Document microarchitectural features of Intel SGX relevant to the > kernel. > > Signed-off-by: Sean Christopherson > Co-developed-by: Jarkko Sakkinen > Signed-off-by: Jarkko Sakkinen > --- > Do

Re: [PATCH 7/7] nsdeps: make generated patches independent of locale

2019-09-27 Thread Greg Kroah-Hartman
On Sat, Sep 28, 2019 at 12:42:28AM +0900, Masahiro Yamada wrote: > On Fri, Sep 27, 2019 at 10:27 PM Matthias Maennich > wrote: > > > > On Fri, Sep 27, 2019 at 06:36:03PM +0900, Masahiro Yamada wrote: > > >scripts/nsdeps automatically generates a patch to add MODULE_IMPORT_NS > > >tags, and what i

Re: [PATCH v2] clk/ti/adpll: allocate room for terminating null

2019-09-27 Thread Stephen Kitt
Le 27/09/2019 20:05, Stephen Kitt a écrit : The buffer allocated in ti_adpll_clk_get_name doesn't account for the terminating null. This patch switches to ka_sprintf to avoid Aargh, devm_kasprintf of course... overflowing. Signed-off-by: Stephen Kitt --- drivers/clk/ti/adpll.c | 10 ++-

Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-09-27 Thread Greg Kroah-Hartman
On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > The dummy vio_bus_device creates the /sys/devices/vio directory, which > contains real vio devices under it; since it represents itself as having > a bus = &vio_bus_type, its /sys/devices/vio/uevent does call the bus's > .uevent funct

Re: [GIT PULL][SECURITY] Kernel lockdown patches for v5.4

2019-09-27 Thread Linus Torvalds
On Wed, Sep 25, 2019 at 7:54 AM Jiri Kosina wrote: > > Seems like this didn't happen (yet) ... are there any plans to either drop > it for good, or merge it? This is one of the pull requests that I have to go through commit by commit because of the history of this thing. And I've yet to empty my

Re: [PATCH] clk/ti/adpll: allocate room for terminating null

2019-09-27 Thread Stephen Kitt
Le 27/09/2019 17:23, Tony Lindgren a écrit : * Stephen Kitt [190927 15:13]: The buffer allocated in ti_adpll_clk_get_name doesn't account for the terminating null. This patch adds the extra byte, and switches to snprintf to avoid overflowing. Signed-off-by: Stephen Kitt --- drivers/clk/ti/ad

Re: [PATCH v2] net: phy: micrel: add Asym Pause workaround for KSZ9021

2019-09-27 Thread Florian Fainelli
On 9/27/19 12:58 AM, Hans Andersson wrote: > From: Hans Andersson > > The Micrel KSZ9031 PHY may fail to establish a link when the Asymmetric > Pause capability is set. This issue is described in a Silicon Errata > (DS8691D or DS8692D), which advises to always disable the > capability. >

Re: [PATCH v4 1/2] fpga: fpga-mgr: Add readback support

2019-09-27 Thread Moritz Fischer
Thor, On Fri, Sep 27, 2019 at 09:32:11AM -0500, Thor Thayer wrote: > Hi Kedar & Moritz, > > On 9/27/19 12:13 AM, Appana Durga Kedareswara Rao wrote: > > Hi Alan, > > > > Did you get a chance to send your framework changes to upstream? No they weren't upstreamed. > > @Moritz Fischer: If Alan cou

<    2   3   4   5   6   7