[PATCH 3/4] perf tests: Add libperf automated test

2019-09-01 Thread Jiri Olsa
Adding libperf build test. Link: http://lkml.kernel.org/n/tip-r1be6tz02ay0bf2729a7x...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/tests/make | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/perf/tests/make b/tools/perf/tests/make index

[PATCH 2/4] perf tests: Fix static build test

2019-09-01 Thread Jiri Olsa
Link: http://lkml.kernel.org/n/tip-ibdgg163291sx5m5xkojx...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/tests/make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/make b/tools/perf/tests/make index 70c48475896d..17ee3facfd4d 100644 ---

[PATCH 4/4] libperf: Add missing event.h into install rule

2019-09-01 Thread Jiri Olsa
So it's properly installed. Link: http://lkml.kernel.org/n/tip-7e989xk9ykmd60db9lym5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/lib/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/lib/Makefile b/tools/perf/lib/Makefile index a67efb8d9d39..e325c0503dc6

Re: [PATCH v3 0/2] W1 drivers for devices used in SGI systems

2019-09-01 Thread Thomas Bogendoerfer
On Sat, Aug 31, 2019 at 10:26:20AM +0200, Thomas Bogendoerfer wrote: > These patches add two W1 drivers. One is a driver for the W1 master in > SGI ASICs, which is used in various machine starting with SGI Origin systems. > The other is a W1 slave driver for Dallas/Maxim EPROM devices used > in

Re: [PATCH 1/2] Fix an OOB bug in parse_audio_mixer_unit

2019-09-01 Thread Salvatore Bonaccorso
On Fri, Aug 30, 2019 at 05:46:49PM -0400, Hui Peng wrote: > The `uac_mixer_unit_descriptor` shown as below is read from the > device side. In `parse_audio_mixer_unit`, `baSourceID` field is > accessed from index 0 to `bNrInPins` - 1, the current implementation > assumes that descriptor is always

Re: [PATCH 2/2] Fix a stack buffer overflow bug in check_input_term

2019-09-01 Thread Salvatore Bonaccorso
Hi Hui, On Fri, Aug 30, 2019 at 05:47:29PM -0400, Hui Peng wrote: > `check_input_term` recursively calls itself with input from > device side (e.g., uac_input_terminal_descriptor.bCSourceID) > as argument (id). In `check_input_term`, if `check_input_term` > is called with the same `id` argument

cpuidle big_little driver on Odroid-xu4

2019-09-01 Thread Jaafar Ali
Dear Sylwester, Kernel 5.3rc1 Hardware Odroid-XU4 cpuidle-big_little driver for exynos 5422 of odroid-xu3/4 is not working. when I enable it in the defconfig , CONFIG_ARM_BIG_LITTLE_CPUIDLE=y, the device will not boot and the heartbeat blue LED stops. when the powerdown state[1] is removed form

Re: [PATCHv1 2/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator

2019-09-01 Thread Anand Moon
Hi Martin, Thanks of your review comments. On Sun, 1 Sep 2019 at 17:11, Martin Blumenstingl wrote: > > On Wed, Aug 28, 2019 at 10:27 PM Anand Moon wrote: > > > > As per shematics TFLASH_VDD, TF_IO, VCC3V3 fixed regulator output which > typo: "schematics" > Ok > > is supplied by VDDIO_AO3V3. >

Re: [PATCHv1 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-09-01 Thread Anand Moon
Hi Martin, Thanks for your review comments. Their have been some revision changes in S905 Odroid Schematics. [0] https://dn.odroid.com/S905/Schematic/ Well I have make my changes based on old odroid-c2_rev0.2_20151218.pdf On Sun, 1 Sep 2019 at 17:07, Martin Blumenstingl wrote: > > On Wed, Aug

Re: [PATCHv1 3/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

2019-09-01 Thread Anand Moon
Hi Martin, On Sun, 1 Sep 2019 at 17:14, Martin Blumenstingl wrote: > > Hi Anand, > > On Wed, Aug 28, 2019 at 10:27 PM Anand Moon wrote: > > > > As per shematics HDMI_P5V0 is supplied by P5V0 so add missing link. > typo: "schematics" > > > Cc: Martin Blumenstingl > > Cc: Jerome Brunet > > Cc:

Re: WARNING in kfree

2019-09-01 Thread syzbot
syzbot has bisected this bug to: commit 3deadeebafcec6a0a7c9397bd32ea5ac6d5191c1 Author: David Howells Date: Mon Jan 21 14:04:22 2019 + vfs: Convert debugfs to use the new mount API bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=115d9e5660 start commit: ed2393ca

Re: [PATCH] Fix a double free bug in rsi_91x_deinit

2019-09-01 Thread Guenter Roeck
On 9/1/19 1:03 AM, Kalle Valo wrote: Guenter Roeck writes: On Mon, Aug 19, 2019 at 06:02:29PM -0400, Hui Peng wrote: `dev` (struct rsi_91x_usbdev *) field of adapter (struct rsi_91x_usbdev *) is allocated and initialized in `rsi_init_usb_interface`. If any error is detected in information

[PATCH] PCI: aardvark: Don't rely on jiffies while holding spinlock

2019-09-01 Thread Remi Pommarel
advk_pcie_wait_pio() can be called while holding a spinlock (from pci_bus_read_config_dword()), then depends on jiffies in order to timeout while polling on PIO state registers. In the case the PIO transaction failed, the timeout will never happen and will also cause the cpu to stall. This

Dear Friend,

2019-09-01 Thread Mrs Alice Johnson
Dear Friend, I am Mrs Alice Johnson.am sending you this brief letter to solicit your partnership to transfer $18.5 million US Dollars.I shall send you more information and procedures when I receive positive response from you. please send me a message in my Email box

Re: [RFC,v2 2/6] i2c: add I2C Address Translator (ATR) support

2019-09-01 Thread jacopo mondi
Hi Luca, thanks for keep pushing this series! I hope we can use part of this for the (long time) on-going GMSL work... I hope you will be patient enough to provide (another :) overview of this work during the BoF Wolfram has organized at LPC for the next week. In the meantime I would have

Re: [PATCH RESEND] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-01 Thread Randy Dunlap
On 8/31/19 11:49 PM, Leon Romanovsky wrote: > On Sat, Aug 31, 2019 at 08:40:05PM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> arch/microblaze/ is missing support for get_user() of size 8 bytes, >> so add it by using __copy_from_user(). >> >> Fixes these build errors: >>

[PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-01 Thread Randy Dunlap
From: Randy Dunlap arch/microblaze/ is missing support for get_user() of size 8 bytes, so add it by using __copy_from_user(). Fixes these build errors: drivers/infiniband/core/uverbs_main.o: In function `ib_uverbs_write': drivers/infiniband/core/.tmp_gl_uverbs_main.o:(.text+0x13a4):

Re: [PATCH 1/4] perf tools: Fix python/perf.so compilation

2019-09-01 Thread Arnaldo Carvalho de Melo
Em Sun, Sep 01, 2019 at 02:48:19PM +0200, Jiri Olsa escreveu: > The python/perf.so compilation needs libperf ready, > otherwise it fails: > > $ make python/perf.so JOBS=1 > BUILD: Doing 'make -j1' parallel build > GEN python/perf.so > gcc: error:

Re: [PATCH 2/4] perf tests: Fix static build test

2019-09-01 Thread Arnaldo Carvalho de Melo
Em Sun, Sep 01, 2019 at 02:48:20PM +0200, Jiri Olsa escreveu: > Link: http://lkml.kernel.org/n/tip-ibdgg163291sx5m5xkojx...@git.kernel.org Can you explain why this is needed? Wat is the problem with building statically with those features? What happens when one tries to do it that way? I.e.

Re: [PATCH 4/4] libperf: Add missing event.h into install rule

2019-09-01 Thread Arnaldo Carvalho de Melo
Em Sun, Sep 01, 2019 at 02:48:22PM +0200, Jiri Olsa escreveu: > So it's properly installed. Thanks, applied. - Arnaldo > Link: http://lkml.kernel.org/n/tip-7e989xk9ykmd60db9lym5...@git.kernel.org > Signed-off-by: Jiri Olsa > --- > tools/perf/lib/Makefile | 1 + > 1 file changed, 1

Re: [PATCH 3/4] perf tests: Add libperf automated test

2019-09-01 Thread Arnaldo Carvalho de Melo
Em Sun, Sep 01, 2019 at 02:48:21PM +0200, Jiri Olsa escreveu: > Adding libperf build test. Thanks, applied. And also added a note that this is used when one does a: $ make -C tools/perf built-test > Link: http://lkml.kernel.org/n/tip-r1be6tz02ay0bf2729a7x...@git.kernel.org > Signed-off-by:

[PATCH] autofs: remove redundant assignment to variable err

2019-09-01 Thread Colin King
From: Colin Ian King Variable err is being assigned a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Ununsed value") Signed-off-by: Colin Ian King --- fs/autofs/dev-ioctl.c | 2 +- 1 file

[PATCH] iio: light: cm36651: redundant assignment to variable ret

2019-09-01 Thread Colin King
From: Colin Ian King Variable ret is being assigned a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Ununsed value") Signed-off-by: Colin Ian King --- drivers/iio/light/cm36651.c | 2 +- 1 file

Re: [PATCH] autofs: remove redundant assignment to variable err

2019-09-01 Thread Christophe JAILLET
Le 01/09/2019 à 17:22, Colin King a écrit : From: Colin Ian King Variable err is being assigned a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Ununsed value") Ununsed? Signed-off-by: Colin

[PATCH][V2] autofs: remove redundant assignment to variable err

2019-09-01 Thread Colin King
From: Colin Ian King Variable err is being assigned a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- V2: Fix spelling mistake "Unused" ---

[PATCH] x86/boot: Fix regression--secure boot info loss from bootparam sanitizing

2019-09-01 Thread John S Gruber
From: "John S. Gruber" commit a90118c445cc ("x86/boot: Save fields explicitly, zero out everything else") now zeros the secure boot information passed by the boot loader or by the kernel's efi handover mechanism. Include boot-params.secure_boot in the preserve field list. Signed-off-by: John

Re: [PATCH 2/4] perf tests: Fix static build test

2019-09-01 Thread Jiri Olsa
On Sun, Sep 01, 2019 at 12:15:28PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Sep 01, 2019 at 02:48:20PM +0200, Jiri Olsa escreveu: > > Link: http://lkml.kernel.org/n/tip-ibdgg163291sx5m5xkojx...@git.kernel.org > > > Can you explain why this is needed? Wat is the problem with building >

[PATCH] netlabel: remove redundant assignment to pointer iter

2019-09-01 Thread Colin King
From: Colin Ian King Pointer iter is being initialized with a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- net/netlabel/netlabel_kapi.c | 2 +-

Re: [PATCH] netlabel: remove redundant assignment to pointer iter

2019-09-01 Thread Paul Moore
On Sun, Sep 1, 2019 at 11:52 AM Colin King wrote: > From: Colin Ian King > > Pointer iter is being initialized with a value that is never read and > is being re-assigned a little later on. The assignment is redundant > and hence can be removed. > > Addresses-Coverity: ("Unused value") >

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

2019-09-01 Thread Jacek Anaszewski
Hi Akinobu, Thank you for the patch. I have one nit below but in general it looks good to me. I've tested it with 2000 mtd triggers (~14kB file size) and it worked flawlessly. Still, I would like to have ack from Greg for it. Adding Greg on Cc. On 8/29/19 4:49 PM, Akinobu Mita wrote: >

Re: [PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-01 Thread Linus Torvalds
On Sun, Sep 1, 2019 at 7:55 AM Randy Dunlap wrote: > > What is a reasonable path for having this patch merged? > I have sent several emails to Micahl Simek but he seems to have > dropped active maintenance of arch/microblaze/. Yeah, I haven't gotten a pull request from him since March, and that

Re: [PATCH] netlabel: remove redundant assignment to pointer iter

2019-09-01 Thread Christophe JAILLET
Le 01/09/2019 à 18:04, Paul Moore a écrit : On Sun, Sep 1, 2019 at 11:52 AM Colin King wrote: From: Colin Ian King Pointer iter is being initialized with a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed.

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

2019-09-01 Thread Pavel Machek
Hi! > 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. > > Enabling LED CPU trigger on systems with thousands of CPUs easily hits > PAGE_SIZE limit, and makes it

Re: [PATCH 0/9] staging: move greybus core out of staging

2019-09-01 Thread Pavel Machek
Hi! > The Greybus code has long been "stable" but was living in the > drivers/staging/ directory to see if there really was going to be > devices using this protocol over the long-term. With the success of > millions of phones with this hardware and code in it, and the recent So, what phones do

Re: [RFC 1/5] media: dt-bindings: Document 'location' property

2019-09-01 Thread Pavel Machek
Hi! > > +++ b/Documentation/devicetree/bindings/media/video-interfaces.txt > > @@ -89,6 +89,10 @@ Optional properties > >but a number of degrees counter clockwise. Typical values are 0 and 180 > >(upside down). > > > > +- location: The camera device mounting position, relative to the

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-09-01 Thread Pavel Machek
Hi! > > @@ -510,6 +510,29 @@ enum v4l2_scene_mode - > > value down. A value of zero stops the motion if one is in progress > > and has no effect otherwise. > > > > +``V4L2_CID_LOCATION (integer)`` > > Maybe V4L2_CID_CAMERA_SENSOR_LOCATION ? Same for the

Re: [PATCH] Parallel microcode update in Linux

2019-09-01 Thread Pavel Machek
Hi! > + u64 p0, p1; > int ret; > > atomic_set(_cpus_in, 0); > atomic_set(_cpus_out, 0); > > + p0 = rdtsc_ordered(); > + > ret = stop_machine_cpuslocked(__reload_late, NULL, cpu_online_mask); > + > + p1 = rdtsc_ordered(); > + > if (ret >

Re: [PATCH v2] freezer,NFS: add an unsafe schedule_timeout_interruptable freezable helper for NFS

2019-09-01 Thread Pavel Machek
On Thu 2019-08-29 11:33:37, Benjamin Coddington wrote: > After commit 0688e64bc600 ("NFS: Allow signal interruption of NFS4ERR_DELAYed > operations") my NFS client dumps lockdep warnings: > > > WARNING: dir_create.sh/1911 still has locks held! > >

Re: [PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-01 Thread Linus Torvalds
On Sun, Sep 1, 2019 at 10:07 AM Linus Torvalds wrote: > > I guess I'll apply it. I'm not sure why you _care_ about microblaze, but ... Ugh. As I was going to apply it, my code cleanliness conscience struck. I can't deal with that unnecessary duplication of code. Does something like the attached

Re: [PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-01 Thread Michal Simek
Hi, On 01. 09. 19 19:07, Linus Torvalds wrote: > On Sun, Sep 1, 2019 at 7:55 AM Randy Dunlap wrote: >> >> What is a reasonable path for having this patch merged? >> I have sent several emails to Micahl Simek but he seems to have >> dropped active maintenance of arch/microblaze/. > > Yeah, I

[PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml

2019-09-01 Thread Sibi Sankar
Convert AOSS reset bindings to yaml and add SC7180 AOSS reset to the list of possible bindings. Signed-off-by: Sibi Sankar --- .../bindings/reset/qcom,aoss-reset.txt| 52 --- .../bindings/reset/qcom,aoss-reset.yaml | 47 + 2 files changed, 47

[PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global bindings to yaml

2019-09-01 Thread Sibi Sankar
Convert PDC Global bindings to yaml and add SC7180 PDC global to the list of possible bindings. Signed-off-by: Sibi Sankar --- .../bindings/reset/qcom,pdc-global.txt| 52 --- .../bindings/reset/qcom,pdc-global.yaml | 47 + 2 files changed, 47

[PATCH v3 0/2] Add PDC Global and AOSS reset support

2019-09-01 Thread Sibi Sankar
This patch series converts PDC Global and AOSS reset bindings to yaml and adds support on SC7180 SoCs. v3: * Convert to yaml bindings v2: * Addressed Philipp's review comments Sibi Sankar (2): dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml dt-bindings: reset: pdc: Convert

Re: [PATCH V5 0/9] Fixes for vhost metadata acceleration

2019-09-01 Thread Michael S. Tsirkin
On Tue, Aug 20, 2019 at 10:29:32AM +0800, Jason Wang wrote: > > On 2019/8/20 上午5:08, Michael S. Tsirkin wrote: > > On Tue, Aug 13, 2019 at 04:12:49PM +0800, Jason Wang wrote: > > > On 2019/8/12 下午5:49, Michael S. Tsirkin wrote: > > > > On Mon, Aug 12, 2019 at 10:44:51AM +0800, Jason Wang wrote: >

Re: linux-next: Tree for Aug 30

2019-09-01 Thread Guenter Roeck
On Sat, Aug 31, 2019 at 12:36:13AM +1000, Stephen Rothwell wrote: > Hi all, > > Changes since 20190829: > > The compiler-attributes tree gained a build failure for which I reverted > a commit. > > The arm-soc tree gained a conflict against the arm tree. > > The csky tree gained a conflict

Re: [PATCH] netlabel: remove redundant assignment to pointer iter

2019-09-01 Thread Paul Moore
On Sun, Sep 1, 2019 at 11:52 AM Colin King wrote: > From: Colin Ian King > > Pointer iter is being initialized with a value that is never read and > is being re-assigned a little later on. The assignment is redundant > and hence can be removed. > > Addresses-Coverity: ("Unused value") >

Re: [PATCH] netlabel: remove redundant assignment to pointer iter

2019-09-01 Thread Paul Moore
On Sun, Sep 1, 2019 at 1:16 PM Christophe JAILLET wrote: > Le 01/09/2019 à 18:04, Paul Moore a écrit : > > On Sun, Sep 1, 2019 at 11:52 AM Colin King wrote: > > From: Colin Ian King > > Pointer iter is being initialized with a value that is never read and > is being re-assigned a little later

Re: WARNING in __mark_chain_precision (2)

2019-09-01 Thread syzbot
syzbot has bisected this bug to: commit e786741ff1b52769b044b7f4407f39cd13ee5d2d Author: Linus Torvalds Date: Thu Jul 11 22:36:02 2019 + Merge tag 'staging-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging bisection log:

Re: [GIT pull] perf/urgent for 5.3-rc7

2019-09-01 Thread pr-tracker-bot
The pull request you sent on Sun, 01 Sep 2019 06:07:33 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5fb181cba01088924a68441753843e5acfd012ff Thank you! -- Deet-doot-dot, I

Re: [GIT pull] x86/urgent for 5.3-rc7

2019-09-01 Thread pr-tracker-bot
The pull request you sent on Sun, 01 Sep 2019 06:07:33 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9f159ae07f07fc540290f21937231034f554bdd7 Thank you! -- Deet-doot-dot, I am

Re: [PATCH] x86/boot: Fix regression--secure boot info loss from bootparam sanitizing

2019-09-01 Thread John Hubbard
On 9/1/19 8:38 AM, John S Gruber wrote: From: "John S. Gruber" commit a90118c445cc ("x86/boot: Save fields explicitly, zero out everything else") now zeros the secure boot information passed by the boot loader or by the kernel's efi handover mechanism. Include boot-params.secure_boot in the

Re: [PATCH] netlabel: remove redundant assignment to pointer iter

2019-09-01 Thread David Miller
From: Colin King Date: Sun, 1 Sep 2019 16:52:05 +0100 > From: Colin Ian King > > Pointer iter is being initialized with a value that is never read and > is being re-assigned a little later on. The assignment is redundant > and hence can be removed. > > Addresses-Coverity: ("Unused value") >

Re: [PATCH 2/3] pagewalk: separate function pointers from iterator data

2019-09-01 Thread Guenter Roeck
On Wed, Aug 28, 2019 at 04:19:54PM +0200, Christoph Hellwig wrote: > The mm_walk structure currently mixed data and code. Split out the > operations vectors into a new mm_walk_ops structure, and while we > are changing the API also declare the mm_walk structure inside the > walk_page_range and

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-09-01 Thread Andrew Lunn
On Sat, Aug 31, 2019 at 11:47:05PM +0300, Ido Schimmel wrote: > On Sat, Aug 31, 2019 at 09:35:56PM +0200, Andrew Lunn wrote: > > > Also, what happens when I'm running these application without putting > > > the interface in promisc mode? On an offloaded interface I would not be > > > able to even

Re: [PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-01 Thread Randy Dunlap
On 9/1/19 10:31 AM, Linus Torvalds wrote: > On Sun, Sep 1, 2019 at 10:07 AM Linus Torvalds > wrote: >> >> I guess I'll apply it. I'm not sure why you _care_ about microblaze, but ... It was just a response to the 0day build bot reporting build errors. > Ugh. As I was going to apply it, my code

Re: [PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-01 Thread Randy Dunlap
On 9/1/19 10:33 AM, Michal Simek wrote: > Hi, > > On 01. 09. 19 19:07, Linus Torvalds wrote: >> On Sun, Sep 1, 2019 at 7:55 AM Randy Dunlap wrote: >>> >>> What is a reasonable path for having this patch merged? >>> I have sent several emails to Micahl Simek but he seems to have >>> dropped

Re: [PATCH] net: seeq: Fix the function used to release some memory in an error handling path

2019-09-01 Thread David Miller
From: Christophe JAILLET Date: Sat, 31 Aug 2019 09:17:51 +0200 > In commit 99cd149efe82 ("sgiseeq: replace use of dma_cache_wback_inv"), > a call to 'get_zeroed_page()' has been turned into a call to > 'dma_alloc_coherent()'. Only the remove function has been updated to turn > the corresponding

Re: [PATCH][next] net: hns3: remove redundant assignment to pointer reg_info

2019-09-01 Thread David Miller
From: Colin King Date: Sat, 31 Aug 2019 08:29:49 +0100 > From: Colin Ian King > > Pointer reg_info is being initialized with a value that is never read and > is being re-assigned a little later on. The assignment is redundant > and hence can be removed. > > Addresses-Coverity: ("Unused

[PATCH] checkpatch: Make git output use LANGUAGE=en_US.utf8

2019-09-01 Thread Joe Perches
git output parsing depends on the language being en_US english. Make the backtick execution of all `git ` commands set the LANGUAGE of the process to en_US.utf8 before executing the actual command using `export LANGUAGE=en_US.utf8; git `. Because the command is executed in a child process, the

Re: [PATCH 2/3] pagewalk: separate function pointers from iterator data

2019-09-01 Thread Jason Gunthorpe
On Sun, Sep 01, 2019 at 11:45:30AM -0700, Guenter Roeck wrote: > On Wed, Aug 28, 2019 at 04:19:54PM +0200, Christoph Hellwig wrote: > > The mm_walk structure currently mixed data and code. Split out the > > operations vectors into a new mm_walk_ops structure, and while we > > are changing the API

next-20190830 on Droid 4 was Re: [PATCH 0/4] musb host improvments mostly for omap2430 glue

2019-09-01 Thread Pavel Machek
Hi! > So I ended up cleaning up omap2430 glue layer a bit for host mode with the > various reproducable errors I was seeing docking droid4 to a lapdock. There > are a few fixes, and then we end up removing all the devctl register tinkering > for omap2430 glue layer. I thought I'd test this, so I

[PATCH] media: vimc: Implement debayer control for mean window size

2019-09-01 Thread Arthur Moraes do Lago
Add mean window size parameter for debayer filter as a control in vimc-debayer. vimc-debayer was patched to allow changing mean windows parameter of the filter without needing to reload the driver. The parameter can now be set using a v4l2-ctl control(mean_window_size). Co-developed-by: Laís

Re: [PATCH 1/2] Fix an OOB bug in parse_audio_mixer_unit

2019-09-01 Thread Hui Peng
On 9/1/19 8:58 AM, Salvatore Bonaccorso wrote: > On Fri, Aug 30, 2019 at 05:46:49PM -0400, Hui Peng wrote: >> The `uac_mixer_unit_descriptor` shown as below is read from the >> device side. In `parse_audio_mixer_unit`, `baSourceID` field is >> accessed from index 0 to `bNrInPins` - 1, the current

[PATCH] media: cec-notifier: debounce reporing of invalid phys addr

2019-09-01 Thread Jonas Karlman
When EDID is refreshed, HDMI cable is unplugged/replugged or an AVR is power cycled the CEC phys addr gets invalidated. This can cause some disruption of CEC communication when adapter is being reconfigured. Add a debounce option that can be used to debounce setting an invalid phys addr. Power

Re: [PATCH 2/2] Fix a stack buffer overflow bug in check_input_term

2019-09-01 Thread Hui Peng
On 9/1/19 9:00 AM, Salvatore Bonaccorso wrote: > Hi Hui, > > On Fri, Aug 30, 2019 at 05:47:29PM -0400, Hui Peng wrote: >> `check_input_term` recursively calls itself with input from >> device side (e.g., uac_input_terminal_descriptor.bCSourceID) >> as argument (id). In `check_input_term`, if

Re: next-20190830 on Droid 4 was Re: [PATCH 0/4] musb host improvments mostly for omap2430 glue

2019-09-01 Thread Pavel Machek
On Sun 2019-09-01 21:39:25, Pavel Machek wrote: > Hi! > > > So I ended up cleaning up omap2430 glue layer a bit for host mode with the > > various reproducable errors I was seeing docking droid4 to a lapdock. There > > are a few fixes, and then we end up removing all the devctl register > >

[PATCH v2] staging: r8188eu: use skb_put_data instead of skb_put/memcpy pair

2019-09-01 Thread Ivan Safonov
skb_put_data is shorter and clear. Signed-off-by: Ivan Safonov --- Changes in v2: - add "staging: " in message subject; - all code lines now have no breaks in the middle of a sentence. drivers/staging/rtl8188eu/core/rtw_recv.c| 6 +-

Re: [PATCH] ASoC: fsl_sai: Set SAI Channel Mode to Output Mode

2019-09-01 Thread Cosmin-Gabriel Samoila
Looks good to me! Best regards, Cosmin On Sat, 2019-08-31 at 01:55 +0300, Daniel Baluta wrote: > From SAI datasheet: > > CHMOD, configures if transmit data pins are configured for TDM mode > or Output mode. > * (0) TDM mode, transmit data pins are tri-stated when slots > are >

Re: [PATCH v6 11/13] power: reset: add driver for mt6323 poweroff

2019-09-01 Thread Sebastian Reichel
Hi, On Sun, Aug 18, 2019 at 03:56:09PM +0200, Frank Wunderlich wrote: > From: Josef Friedl > > add poweroff driver for mt6323 and make Makefile and Kconfig-Entries > > Suggested-by: Frank Wunderlich > Signed-off-by: Josef Friedl > Signed-off-by: Frank Wunderlich > --- > changes since v5:

Re: [PATCH v6 12/13] MAINTAINERS: add Mediatek shutdown drivers

2019-09-01 Thread Sebastian Reichel
Hi, On Sun, Aug 18, 2019 at 03:56:10PM +0200, Frank Wunderlich wrote: > From: Josef Friedl > > add Section in MAINTAINERS file for poweroff driver > > Signed-off-by: Josef Friedl > Signed-off-by: Frank Wunderlich > --- > changes since v5: none > changes since v4: none > changes since v3:

Re: [PATCH v2] power: supply: register HWMON devices with valid names

2019-09-01 Thread Sebastian Reichel
Hi, On Fri, Aug 30, 2019 at 03:15:56PM +0200, Romain Izard wrote: > With the introduction of the HWMON compatibility layer to the power > supply framework in Linux 5.3, all power supply devices' names can be > used directly to create HWMON devices with the same names. > > But HWMON has rules on

Re: [PATCH 2/3] pagewalk: separate function pointers from iterator data

2019-09-01 Thread Guenter Roeck
On 9/1/19 12:36 PM, Jason Gunthorpe wrote: On Sun, Sep 01, 2019 at 11:45:30AM -0700, Guenter Roeck wrote: On Wed, Aug 28, 2019 at 04:19:54PM +0200, Christoph Hellwig wrote: The mm_walk structure currently mixed data and code. Split out the operations vectors into a new mm_walk_ops structure,

[PATCH] ubi: block: Warn if volume size is not multiple of 512

2019-09-01 Thread Richard Weinberger
If volume size is not a multiple of 512, ubi block cuts off the last bytes of an volume since the block layer works on 512 byte sectors. This can happen especially on NOR flash with minimal io size of 1. To avoid unpleasant surprises, print a warning. Signed-off-by: Richard Weinberger ---

[GIT] Networking

2019-09-01 Thread David Miller
1) Fix some length checks during OGM processing in batman-adv, from Sven Eckelmann. 2) Fix regression that caused netfilter conntrack sysctls to not be per-netns any more. From Florian Westphal. 3) Use after free in netpoll, from Feng Sun. 4) Guard destruction of pfifo_fast per-cpu

Re: [PATCH v5 01/18] thermal: sun8i: add thermal driver for h6

2019-09-01 Thread Ondřej Jirman
Hello, On Sat, Aug 10, 2019 at 05:28:12AM +, Yangtao Li wrote: > This patch adds the support for allwinner thermal sensor, within > allwinner SoC. It will register sensors for thermal framework > and use device tree to bind cooling device. I've tested this driver on H6 SoC, and it reports

Re: [Lkcamp] [PATCH] media: vimc: Implement debayer control for mean window size

2019-09-01 Thread Laís Pc
Em dom, 1 de set de 2019 às 16:41, Arthur Moraes do Lago escreveu: > > Add mean window size parameter for debayer filter as a control in > vimc-debayer. > > vimc-debayer was patched to allow changing mean windows parameter > of the filter without needing to reload the driver. The parameter > can

[PATCH] media: vimc: fla: Add virtual flash subdevice

2019-09-01 Thread Lucas A . M . Magalhães
From: Lucas A. M. Magalhaes Add a virtual subdevice to simulate the flash control API. Those are the supported controls: v4l2-ctl -d /dev/v4l-subdev6 -L Flash Controls led_mode 0x009c0901 (menu) : min=0 max=2 default=0 value=0 0: Off

Re: [PATCH -next RESEND] tracing: fix iomap.h build warnings

2019-09-01 Thread Darrick J. Wong
On Sat, Aug 31, 2019 at 01:25:37PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix 30 warnings for missing "struct inode" declaration (like these) by > adding a forward reference for it. > These warnings come from 'headers_check' (CONFIG_HEADERS_CHECK): > CC

linux-next: Signed-off-by missing for commit in the asm-generic tree

2019-09-01 Thread Stephen Rothwell
Hi all, Commit adea510eaf35 ("__div64_const32(): improve the generic C version") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpMrPs5Jem4s.pgp Description: OpenPGP digital signature

linux-next: Signed-off-by missing for commit in the qcom tree

2019-09-01 Thread Stephen Rothwell
Hi all, Commits fcee7de608a2 ("arm64: defconfig: Enable CPU clock drivers for Qualcomm msm8916") 162eeae200e0 ("ARM: qcom_defconfig: Add DRM_MSM to defconfigs with ARCH_QCOM") are missing a Signed-off-by from their committer. -- Cheers, Stephen Rothwell pgpv3JPF9hQzA.pgp Description:

linux-next: Signed-off-by missing for commit in the vfs tree

2019-09-01 Thread Stephen Rothwell
Hi all, Commit e013ec23b823 ("fs/namei.c: keep track of nd->root refcount status") is missing a Signed-off-by from its author and committer. -- Cheers, Stephen Rothwell pgpRkoKTkHjNp.pgp Description: OpenPGP digital signature

[PATCH] soc: qcom: ocmem: add missing includes

2019-09-01 Thread Brian Masney
The kbuild bot reported the following compiler errors when compiling on MIPS with CONFIG_QCOM_OCMEM disabled: In file included from :0:0: >> include/soc/qcom/ocmem.h:43:49: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or

linux-next: Signed-off-by missing for commit in the tpmdd tree

2019-09-01 Thread Stephen Rothwell
Hi all, Commit 8dbcb44f392e ("tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpuSZHOKd4Zg.pgp Description: OpenPGP digital signature

linux-next: Fixes tag needs some work in the iommu tree

2019-09-01 Thread Stephen Rothwell
Hi all, In commit 7893b59b1e2d ("iommu/vt-d: Remove global page flush support") Fixes tag Fixes: 1c4f88b7f1f9 ("iommu/vt-d: Shared virtual address in scalable has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but no trailing quotes In

Re: [PATCH v2 2/2] reset: Reset controller driver for Intel LGM SoC

2019-09-01 Thread Martin Blumenstingl
Hi, On Fri, Aug 30, 2019 at 5:02 AM Chuan Hua, Lei wrote: > > Hi Martin, > > On 8/30/2019 5:40 AM, Martin Blumenstingl wrote: > > Hi, > > > > On Thu, Aug 29, 2019 at 4:51 AM Chuan Hua, Lei > > wrote: > > > >>> I'm not surprised that we got some of the IP block layout for the > >>> VRX200 RCU

linux-next: Fixes tag needs some work in the kselftest tree

2019-09-01 Thread Stephen Rothwell
Hi all, In commit c321d43b8da1 ("selftests/seccomp: fix build on older kernels") Fixes tag Fixes: Commit 201766a20e30 ("ptrace: add PTRACE_GET_SYSCALL_INFO request") has these problem(s): - leading word 'Commit' unexpected -- Cheers, Stephen Rothwell pgpaqfcSGqaLX.pgp Description:

Re: [PATCH v5 00/18] add thermal driver for h6

2019-09-01 Thread Ondřej Jirman
Hello Yangtao, On Sat, Aug 10, 2019 at 05:28:11AM +, Yangtao Li wrote: > This patchset add support for A64, H3, H5, H6 and R40 thermal sensor. > > Thx to Icenowy and Vasily. > > BTY, do a cleanup in thermal makfile. I've added support for A83T and also some cleanups, according to my

Re: linux-next: Signed-off-by missing for commit in the asm-generic tree

2019-09-01 Thread Arnd Bergmann
On Sun, Sep 1, 2019 at 11:19 PM Stephen Rothwell wrote: > > Hi all, > > Commit > > adea510eaf35 ("__div64_const32(): improve the generic C version") > > is missing a Signed-off-by from its committer. Fixed, thanks for pointing it out! Arnd

Re: [PATCHv1 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-09-01 Thread Martin Blumenstingl
Hi Anand, On Sun, Sep 1, 2019 at 3:58 PM Anand Moon wrote: > > Hi Martin, > > Thanks for your review comments. > > Their have been some revision changes in S905 Odroid Schematics. > [0] https://dn.odroid.com/S905/Schematic/ > > Well I have make my changes based on old

[PATCH V2] x86/boot: Fix regression--secure boot info loss from bootparam sanitizing

2019-09-01 Thread John S Gruber
From: "John S. Gruber" commit a90118c445cc ("x86/boot: Save fields explicitly, zero out everything else") now zeros the secure boot information passed by the boot loader or by the kernel's efi handover mechanism. Include boot-params.secure_boot in the preserve field list. I noted a change in

Re: [PATCH] tracing: Fix histogram referencing a variable

2019-09-01 Thread Tom Zanussi
Hi Steve, On Mon, 2019-08-26 at 22:44 -0400, Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > I performed a three way histogram with the following commands: > > echo 'irq_lat u64 lat pid_t pid' > synthetic_events > echo 'wake_lat u64 lat u64 irqlat pid_t pid' >> synthetic_events >

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-09-01 Thread Dave Chinner
On Sat, Aug 31, 2019 at 11:37:27PM -0400, Valdis Klētnieks wrote: > On Sun, 01 Sep 2019 11:07:21 +1000, Dave Chinner said: > > Totally irrelevant to the issue at hand. You can easily co-ordinate > > out of tree contributions through a github tree, or a tree on > > kernel.org, etc. > > Well.. I'm

Re: kernel panic: stack is corrupted in __lock_acquire (4)

2019-09-01 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:38320f69 Merge branch 'Minor-cleanup-in-devlink' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=13d7435660 kernel config: https://syzkaller.appspot.com/x/.config?x=1bbf70b6300045af

[PATCH v3 1/6] bus/ti-pwmss: move TI PWMSS driver from PWM to bus subsystem

2019-09-01 Thread David Lechner
The TI PWMSS driver is a simple bus driver for providing power power management for the PWM peripherals on TI AM33xx SoCs, namely eCAP, eHRPWM and eQEP. The eQEP is a counter rather than a PWM, so it does not make sense to have the bus driver in the PWM subsystem since the PWMSS is not exclusive

[PATCH v3 0/6] counter: new TI eQEP driver

2019-09-01 Thread David Lechner
This series adds device tree bindings and a new counter driver for the Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP). As mentioned in one of the commit messages, to start with, the driver only supports reading the current counter value and setting the min/max values. Other features

[PATCH v3 5/6] ARM: dts: am335x-boneblue: Enable eQEP

2019-09-01 Thread David Lechner
This enables the Enhanced Quadrature Encoder Pulse (eQEP) module for connectors E1, E2 and E3 on BeagleBone Blue. Signed-off-by: David Lechner --- v3 changes: - none v2 changes: - none arch/arm/boot/dts/am335x-boneblue.dts | 54 +++ 1 file changed, 54 insertions(+)

[PATCH v3 3/6] counter: new TI eQEP driver

2019-09-01 Thread David Lechner
This adds a new counter driver for the Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) module. Only very basic functionality is currently implemented - only enough to be able to read the position. The actual device has many more features which can be added to the driver on an as-needed

[PATCH v3 4/6] ARM: dts: am33xx: Add nodes for eQEP

2019-09-01 Thread David Lechner
This adds new nodes for the Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) module in the PWM subsystem on AM33XX. Signed-off-by: David Lechner --- v3 changes: - rename eqep@ to counter@ v2 changes: - clocks renamed to "sysclkout" arch/arm/boot/dts/am33xx-l4.dtsi | 27

[PATCH v3 2/6] dt-bindings: counter: new bindings for TI eQEP

2019-09-01 Thread David Lechner
This documents device tree binding for the Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module found in various TI SoCs. Signed-off-by: David Lechner --- v3 changes: - fixed style issues - fixed generic node name - (was suggested to drop descriptions since there is only one

Re: [PATCH] counter: fix devm_platform_ioremap_resource.cocci warnings

2019-09-01 Thread David Lechner
On 8/9/19 4:41 AM, Julia Lawall wrote: From: kbuild test robot Use devm_platform_ioremap_resource helper which wraps platform_get_resource() and devm_ioremap_resource() together. Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci Fixes: 78958c294246 ("counter: new

<    1   2   3   >