[Patch v2 02/13] media: am437x-vpfe: Fix missing first line

2019-09-19 Thread Benoit Parrot
Previous generation of this driver were hard coded to handle encoder/decoder where the first line never contains any data and was therefore always skipped, however when dealing with actual camera sensors the first line is always present. Signed-off-by: Benoit Parrot Signed-off-by: Jyri Sarha ---

[Patch v2 03/13] media: am437x-vpfe: Rework ISR routine for clarity

2019-09-19 Thread Benoit Parrot
Make the ISR code simpler to follow by removing goto and relocating/eliminating duplicate spinlock accesses. Signed-off-by: Benoit Parrot --- drivers/media/platform/am437x/am437x-vpfe.c | 128 ++-- 1 file changed, 66 insertions(+), 62 deletions(-) diff --git a/drivers/media/plat

[Patch v2 13/13] media: am437x-vpfe: Switch to SPDX Licensing

2019-09-19 Thread Benoit Parrot
Switch to SPDX licensing and drop the redundant GPL text. Signed-off-by: Benoit Parrot --- drivers/media/platform/am437x/am437x-vpfe.c | 14 +- drivers/media/platform/am437x/am437x-vpfe.h | 14 +- drivers/media/platform/am437x/am437x-vpfe_regs.h | 10 +-

[Patch v2 10/13] media: am437x-vpfe: Remove print_fourcc helper

2019-09-19 Thread Benoit Parrot
print_fourcc helper function was used for debug log to convert a pixel format code into its readable form for display purposes. But since it used a single static buffer to perform the conversion this might lead to display format issue when more than one instance was invoked simultaneously. It turn

[Patch v2 12/13] media: am437x-vpfe: Remove per bus width static data

2019-09-19 Thread Benoit Parrot
The bus related static data included in the vpfe_fmt static table can be derived dynamically instead. This simplify the table and it's use. We instead replace the per bus data info with just the usual bit per pixel value for each supported pixel format. Signed-off-by: Benoit Parrot --- drivers/

[Patch v2 11/13] media: am437x-vpfe: TRY_FMT ioctl is not really trying anything

2019-09-19 Thread Benoit Parrot
The try_fmt was not actually trying out the provided format but merely returning the current format basically like get_fmt. In addition set_fmt should first invoked try_fmt to validate the given format before applying it to the hardware. To fix all of these the whole get/try/set ioctl functions ha

[Patch v2 09/13] media: am437x-vpfe: fix function trace debug log

2019-09-19 Thread Benoit Parrot
checkpatch.pl nows reports several: WARNING: Prefer using '"%s...", __func__' to using '', this function's name, in a string. So fix these for the whole driver. At the same time remove the function entry trace log as those can be enabled using ftrace instead. Signed-off-by: Benoit Parrot --- dr

[Patch v2 08/13] media: am437x-vpfe: Use a per instance format array instead of a static one

2019-09-19 Thread Benoit Parrot
Using a statically defined format array would cause issue when multiple vpfe instance would be connected to sub-device of different capabilities. We need to use an instance based array instead to properly maintain a per port/instance format list. Signed-off-by: Benoit Parrot --- drivers/media/pl

[Patch v2 01/13] media: am437x-vpfe: Fix suspend path to always handle pinctrl config

2019-09-19 Thread Benoit Parrot
From: Dave Gerlach Currently if vpfe is not active then it returns immediately in the suspend and resume handlers. Change this so that it always performs the pinctrl config so that we can still get proper sleep state configuration on the pins even if we do not need to worry about fully saving and

[Patch v2 06/13] media: am437x-vpfe: Streamlined vb2 buffer cleanup

2019-09-19 Thread Benoit Parrot
Returning queued vb2 buffers back to user space is a common task best handled by a helper function. Signed-off-by: Benoit Parrot --- drivers/media/platform/am437x/am437x-vpfe.c | 53 ++--- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/drivers/media/platform/am43

[Patch v2 07/13] media: am437x-vpfe: Setting STD to current value is not an error

2019-09-19 Thread Benoit Parrot
VIDIOC_S_STD should not return an error if the value is identical to the current one. This error was highlighted by the v4l2-compliance test. Signed-off-by: Benoit Parrot --- drivers/media/platform/am437x/am437x-vpfe.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/platfor

[Patch v2 05/13] media: am437x-vpfe: fix start streaming error path

2019-09-19 Thread Benoit Parrot
When start_streaming fails the h/w module might be left enabled inadvertently. Make sure it is disabled in the error path. Signed-off-by: Benoit Parrot --- drivers/media/platform/am437x/am437x-vpfe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/am437x/am437x-vpfe.c

RE: [PATCH] selftests/kselftest/runner.sh: Add 45 second timeout per test

2019-09-19 Thread Tim.Bird
> -Original Message- > From: Kees Cook > > Commit a745f7af3cbd ("selftests/harness: Add 30 second timeout per > test") solves the problem of kselftest_harness.h-using binary tests > possibly hanging forever. However, scripts and other binaries can still > hang forever. This adds a globa

Re: KASAN: invalid-free in disconnect_rio (2)

2019-09-19 Thread Alan Stern
On Thu, 19 Sep 2019, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:e0bd8d79 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=17d6f31d60

[PATCH 1/5] perf vendor events amd: add L3 cache events for Family 17h

2019-09-19 Thread Kim Phillips
Allow users to symbolically specify L3 events for Family 17h processors using the existing AMD Uncore driver. Source of events descriptions are from section 2.1.15.4.1 "L3 Cache PMC Events" of the latest Family 17h PPR, available here: https://www.amd.com/system/files/TechDocs/55570-B1_PUB.zip O

[PATCH 4/5] perf list: allow plurals for metric, metricgroup

2019-09-19 Thread Kim Phillips
Enhance usability by allowing the same plurality used in the output title, for the command line parameter. BEFORE, perf deceitfully acts as if there are no metrics to be had: $ perf list metrics List of pre-defined events (to be used in -e): Metric Groups: $ But singular 'metric' show

[PATCH 5/5] perf list: specify metrics are to be used with -M

2019-09-19 Thread Kim Phillips
Output of 'perf list metrics' before: $ perf list metrics List of pre-defined events (to be used in -e): Metrics: C2_Pkg_Residency [C2 residency percent per package] ... This misleads the uninitiated user to try: $ perf stat -e C2_Pkg_Residency which gets: event syn

[PATCH 2/5] perf vendor events amd: remove redundant '['

2019-09-19 Thread Kim Phillips
Remove the redundant '['. perf list output before: ex_ret_brn [[Retired Branch Instructions] perf list output after: ex_ret_brn [Retired Branch Instructions] Signed-off-by: Kim Phillips Cc: Janakarajan Natarajan Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Mel

[PATCH 3/5] perf vendor events: minor fixes to the README

2019-09-19 Thread Kim Phillips
Some grammatical fixes, and updates to some path references that have since changed. Signed-off-by: Kim Phillips Cc: Janakarajan Natarajan Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Andi Kleen Cc: Jiri Olsa Cc: Namhyung Kim Cc: Borislav Petk

Re: [PATCH RFC v4 1/1] random: WARN on large getrandom() waits and introduce getrandom2()

2019-09-19 Thread Alexander E. Patrakov
20.09.2019 01:04, Linus Torvalds пишет: instead. Yeah, it still doesn't help on machines that don't even have a cycle counter, but it at least means that you don't have to have a CPU rdrand (or equivalent) but you do have a cycle counter, now the extraction of randomness from the pool doesn't ju

RE: [PATCH] selftests/kselftest/runner.sh: Add 45 second timeout per test

2019-09-19 Thread Tim.Bird
> -Original Message- > From: shuah > > On 9/19/19 12:55 PM, Alexandre Belloni wrote: > > On 19/09/2019 11:06:44-0700, Kees Cook wrote: > >> Commit a745f7af3cbd ("selftests/harness: Add 30 second timeout per > >> test") solves the problem of kselftest_harness.h-using binary tests > >> possi

RE: [PATCH] selftests/kselftest/runner.sh: Add 45 second timeout per test

2019-09-19 Thread Tim.Bird
> -Original Message- > From tim.b...@sony.com > > > -Original Message- > > From: Kees Cook > > > > Commit a745f7af3cbd ("selftests/harness: Add 30 second timeout per > > test") solves the problem of kselftest_harness.h-using binary tests > > possibly hanging forever. However, sc

Re: [PATCH v3 1/2] leds: tlc591xx: simplify driver by using the managed led API

2019-09-19 Thread Jacek Anaszewski
Hi Jean, Thank you for the updated set. We will need one more iteration. Please refer below. On 9/18/19 5:25 PM, Jean-Jacques Hiblot wrote: > Use the managed API of the LED class (devm_led_classdev_register() > instead of led_classdev_register()). > This allows us to remove the code used to trac

[PATCH] tools/lib/traceevent: Round up in tep_print_event() time precision

2019-09-19 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When testing the output of the old trace-cmd compared to the one that uses the updated tep_print_event() logic, it was different in that the time stamp precision in the old format would round up to the nearest precision, where as the new logic truncates. Bring b

Re: [PATCH v4 3/5] locking/qspinlock: Introduce CNA into the slow path of qspinlock

2019-09-19 Thread Waiman Long
On 9/19/19 11:55 AM, Alex Kogan wrote: >>> +/* >>> + * cna_try_find_next - scan the main waiting queue looking for the first >>> + * thread running on the same NUMA node as the lock holder. If found (call >>> it >>> + * thread T), move all threads in the main queue between the lock holder >>> and

Re: INFO: task hung in pipe_write (2)

2019-09-19 Thread Rasmus Villemoes
On 19/09/2019 19.19, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:    288b9117 Add linux-next specific files for 20190918 > git tree:   linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17e8664560 > kernel config:  https://syzkaller.

[GIT PULL] ext4 updates for 5.4

2019-09-19 Thread Theodore Y. Ts'o
The following changes since commit d45331b00ddb179e291766617259261c112db872: Linux 5.3-rc4 (2019-08-11 13:26:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus for you to fetch changes up to 040823b5372b445d1d9

Re: [PATCH] selftests/kselftest/runner.sh: Add 45 second timeout per test

2019-09-19 Thread Kees Cook
On Thu, Sep 19, 2019 at 08:49:14PM +, tim.b...@sony.com wrote: > > > +export timeout_rc=124 > > what are the units here? I presume seconds? > > Nevermind. I misread this. This is the return code from the 'timeout' > program, right? Correct -- given the skip_rc usage, it felt weird to hard

Re: [PATCH] fixed-regulator: dt-bindings: Fixed building error for compatible property

2019-09-19 Thread Rob Herring
On Thu, Sep 19, 2019 at 1:39 AM Pragnesh Patel wrote: > > Compatible property is not of type 'string', so remove const: > from it. > > Signed-off-by: Pragnesh Patel > --- > Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-

[PATCH] trivial: lib/Kconfig: typo modertion -> moderation

2019-09-19 Thread Uwe Kleine-König
Fixes: 4f75da3666c0 ("linux/dim: Move implementation to .c files") Signed-off-by: Uwe Kleine-König --- lib/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig b/lib/Kconfig index 4e6b1c3e4c98..cc04124ed8f7 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -559,7 +5

Re: [PATCH] trivial: lib/Kconfig: typo modertion -> moderation

2019-09-19 Thread Randy Dunlap
On 9/19/19 2:03 PM, Uwe Kleine-König wrote: > Fixes: 4f75da3666c0 ("linux/dim: Move implementation to .c files") > Signed-off-by: Uwe Kleine-König > --- > lib/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/Kconfig b/lib/Kconfig > index 4e6b1c3e4c98..cc04124e

dimlib: should it really be enabled by default? [Was: [PATCH] trivial: lib/Kconfig: typo modertion -> moderation]

2019-09-19 Thread Uwe Kleine-König
On 9/19/19 11:03 PM, Uwe Kleine-König wrote: > Fixes: 4f75da3666c0 ("linux/dim: Move implementation to .c files") > Signed-off-by: Uwe Kleine-König > --- > lib/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/Kconfig b/lib/Kconfig > index 4e6b1c3e4c98..cc04124

[GIT PULL] pin control bulk changes for v5.4

2019-09-19 Thread Linus Walleij
Hi Linus, these are the pin control bulk changes for v5.4, all boiled nicely in linux-next for a while. There is one caveat: m68k Atari autobuilder with allmodconfig complains about a namespace collision like this: arch/m68k/include/asm/atarihw.h:172:17: error: expected ')' before '(' token arch

Re: linux-next: Tree for Sep 18 (objtool)

2019-09-19 Thread Randy Dunlap
On 9/19/19 12:40 PM, Josh Poimboeuf wrote: > On Thu, Sep 19, 2019 at 12:21:46PM -0700, Randy Dunlap wrote: >> On 9/19/19 9:51 AM, Josh Poimboeuf wrote: >>> On Wed, Sep 18, 2019 at 09:04:21PM -0700, Randy Dunlap wrote: On 9/18/19 3:10 PM, Mark Brown wrote: > Hi all, > > Changes sinc

Re: [PATCH RFC 00/14] The new slab memory controller

2019-09-19 Thread Suleiman Souhlal
On Fri, Sep 20, 2019 at 1:22 AM Roman Gushchin wrote: > > On Thu, Sep 19, 2019 at 10:39:18PM +0900, Suleiman Souhlal wrote: > > On Fri, Sep 6, 2019 at 6:57 AM Roman Gushchin wrote: > > > The patchset has been tested on a number of different workloads in our > > > production. In all cases, it save

Re: INFO: task hung in pipe_write (2)

2019-09-19 Thread Darrick J. Wong
On Thu, Sep 19, 2019 at 10:55:44PM +0200, Rasmus Villemoes wrote: > On 19/09/2019 19.19, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:    288b9117 Add linux-next specific files for 20190918 > > git tree:   linux-next > > console output: https://syz

Re: [PATCH] selftests/kselftest/runner.sh: Add 45 second timeout per test

2019-09-19 Thread Kees Cook
On Thu, Sep 19, 2019 at 08:41:42PM +, tim.b...@sony.com wrote: > > -Original Message- > > From: Kees Cook > > > > Commit a745f7af3cbd ("selftests/harness: Add 30 second timeout per > > test") solves the problem of kselftest_harness.h-using binary tests > > possibly hanging forever. How

[PATCH] base: soc: Export soc_device_to_device API

2019-09-19 Thread Murali Nalajala
If the soc drivers want to add custom sysfs entries it needs to access "dev" field in "struct soc_device". This can be achieved by "soc_device_to_device" API. Soc drivers which are built as a module they need above API to be exported. Otherwise one can observe compilation issues. Signed-off-by: Mu

Re: [PATCH] selftests/kselftest/runner.sh: Add 45 second timeout per test

2019-09-19 Thread Kees Cook
On Thu, Sep 19, 2019 at 02:09:37PM -0600, shuah wrote: > On 9/19/19 12:55 PM, Alexandre Belloni wrote: > > On 19/09/2019 11:06:44-0700, Kees Cook wrote: > > > Commit a745f7af3cbd ("selftests/harness: Add 30 second timeout per > > > test") solves the problem of kselftest_harness.h-using binary tests

Re: mt76x2e hardware restart

2019-09-19 Thread Oleksandr Natalenko
On 19.09.2019 18:24, Oleksandr Natalenko wrote: [ +9,979664] mt76x2e :01:00.0: Firmware Version: 0.0.00 [ +0,14] mt76x2e :01:00.0: Build: 1 [ +0,10] mt76x2e :01:00.0: Build Time: 201507311614 [ +0,018017] mt76x2e :01:00.0: Firmware running! [ +0,001101] ieee80211

[PATCH 6/6] tools/lib/traceevent: Move traceevent plugins in its own subdirectory

2019-09-19 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" All traceevent plugins code is moved to tools/lib/traceevent/plugins subdirectory. It makes traceevent implementation in trace-cmd and in kernel tree consistent. There is no changes in the way libtraceevent and plugins are compiled and installed. Link: http:/

[PATCH 5/6] tools/lib/traceevent: Man pages for tep plugins APIs

2019-09-19 Thread Steven Rostedt
From: Tzvetomir Stoyanov Create man pages for libtraceevent APIs: tep_load_plugins(), tep_unload_plugin() Link: http://lore.kernel.org/linux-trace-devel/20190903133434.30417-1-tz.stoya...@gmail.com Signed-off-by: Tzvetomir Stoyanov Signed-off-by: Steven Rostedt (VMware) --- .../Document

Re: [GIT PULL] pin control bulk changes for v5.4

2019-09-19 Thread Linus Torvalds
On Thu, Sep 19, 2019 at 2:08 PM Linus Walleij wrote: > > Alernatively you can wait for the m68k tree to come in first. Or we nudge > Geert > to send the changes ASAP. The usage of a wildly different pin > controller on Atari hardware is only a compile testing artifact so > we didn't drill deeper

[PATCH 2/6] tools/lib/traceevent: Man pages fix, rename tep_ref_get() to tep_get_ref()

2019-09-19 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" The tep_ref_get() was renamed to tep_get_ref(), to be more consistent with the other tep_ref_* APIs. However, in the man pages the API is still with the old name. The documentation is fixed to reflect the actual name of the API. Link: http://lore.kernel.org/l

[PATCH 3/6] tools/lib/traceevent: Man pages fix, changes in event printing APIs

2019-09-19 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" APIs for printing various trace event information were redesigned to be more simple. However, the main libtraceevent man page was not updated with those changes. The documentation is updated to describe the new event print API. Link: http://lore.kernel.org/li

[PATCH 0/6] tools/lib/traceevent: Man page updates and some file movement

2019-09-19 Thread Steven Rostedt
Hi Arnaldo, This is a series of man page updates to the libtraceevent code, as well as a fix to one missing prototype and some movement of the location of the plugins (to have the plugins in their own directory). -- Steve Tzvetomir Stoyanov (2): tools/lib/traceevent: Man pages for libtr

[PATCH 4/6] tools/lib/traceevent: Add tep_get_event() in event-parse.h

2019-09-19 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" The tep_get_event() function is an official libtracevent API, described in the library man pages. However, it cannot be used by the library users because it is not declared in the event-parse.h file, where all libtracevent APIs are. The function declaration is

[PATCH 1/6] tools/lib/traceevent: Man pages for libtraceevent event print related API

2019-09-19 Thread Steven Rostedt
From: Tzvetomir Stoyanov Added new man page, describing tep_print_event() libtraceevent API. Link: http://lore.kernel.org/linux-trace-devel/20190801075012.22098-1-tz.stoya...@gmail.com Signed-off-by: Tzvetomir Stoyanov Signed-off-by: Steven Rostedt (VMware) --- .../libtraceevent-event_print

[PATCH] ARM: dts: rockchip: Add cpu id to rk3288 efuse node

2019-09-19 Thread Douglas Anderson
This just adds in another field of what's stored in the e-fuse on rk3288. Though I can't personally promise that every rk3288 out there has the CPU ID stored in the eFuse at this location, there is some evidence that it is correct: - This matches what was in the Chrome OS 3.14 branch (see EFUSE_

Re: [git pull] more mount API conversions

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 02:57:01 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.mount2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/bc7d9aee3f3ce0c0633c20ea55b81efb3ca7984d Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] IPMI bug fixes for 5.4

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 11:08:07 -0500: > https://github.com/cminyard/linux-ipmi.git tags/for-linus-5.4-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a9f8b38a071b468276a243ea3ea5a0636e848cf2 Thank you! -- Deet-doot-dot, I am a bot. https://k

Re: [GIT PULL] pin control bulk changes for v5.4

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 23:07:51 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git > tags/pinctrl-v5.4-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3c2edc36a77420d8be05d656019dbc8c31535992 Thank you! -- Deet-d

Re: [GIT PULL] chrome-platform changes for v5.4

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 10:46:41 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git > tags/tag-chrome-platform-for-v5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/32b90daf5cafdda62b1ce62d0b7445fa9107babf Thank y

Re: [GIT PULL] Mailbox changes for v5.4

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 11:00:28 -0500: > git://git.linaro.org/landing-teams/working/fujitsu/integration.git > tags/mailbox-v5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b682242f6012dddf81ef94b7ce5d2ec5ac8f8047 Thank you! -- Deet-doot-do

Re: [git pull] autofs-related stuff

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 03:11:11 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.autofs has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8e6ee05d8aa9c802d999c79aa22f3f6ca92d7d27 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] dma-mapping updates for 5.4

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 08:27:48 -0700: > git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/671df189537883f36cf9c7d4f9495bfac0f86627 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [git pull] Input updates for v5.4-rc0

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Tue, 17 Sep 2019 16:40:04 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c6cfaf4f86d9d15e5541adb3bb899d0b80f89ec7 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] SMB3 fixes and features

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 12:07:25 -0500: > git://git.samba.org/sfrench/cifs-2.6.git tags/5.4-smb3-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7e3d2c8210e67ebff472a0b371bb0efb4236ef52 Thank you! -- Deet-doot-dot, I am a bot. https://korg

Re: [GIT PULL] Devicetree updates for v5.4

2019-09-19 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 10:53:54 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > tags/devicetree-for-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e3a008ac1213d99f5f1210adc9d2a1f60da10c3b Thank you! -- Deet-doot-do

Re: [PATCH v6 6/9] leds: multicolor: Introduce a multicolor class definition

2019-09-19 Thread Jacek Anaszewski
Dan, On 9/19/19 3:07 AM, Dan Murphy wrote: > Jacek > > On 9/18/19 4:27 PM, Jacek Anaszewski wrote: >> Hi Dan, >> >> I think Greg's guidance clarified everything nicely - >> we will avoid sub-dirs in favour of prefixes >> to *intensity and *max_intensity. > Yes I will make the change accordingly.

Re: [PATCH] base: soc: Export soc_device_to_device API

2019-09-19 Thread Greg KH
On Thu, Sep 19, 2019 at 02:13:44PM -0700, Murali Nalajala wrote: > If the soc drivers want to add custom sysfs entries it needs to > access "dev" field in "struct soc_device". This can be achieved > by "soc_device_to_device" API. Soc drivers which are built as a > module they need above API to be e

RE: [PATCH] Drivers: hv: vmbus: Fix harmless building warnings without CONFIG_PM

2019-09-19 Thread Dexuan Cui
> Sent: Thursday, September 19, 2019 5:11 AM > On Thu, Sep 19, 2019 at 7:19 AM Dexuan Cui wrote: > > > > If CONFIG_PM is not set, we can comment out these functions to avoid the > > below warnings: > > > > drivers/hv/vmbus_drv.c:2208:12: warning: ‘vmbus_bus_resume’ defined > but not used [-Wunused

Re: [PATCH RFC 00/14] The new slab memory controller

2019-09-19 Thread Roman Gushchin
On Fri, Sep 20, 2019 at 06:10:11AM +0900, Suleiman Souhlal wrote: > On Fri, Sep 20, 2019 at 1:22 AM Roman Gushchin wrote: > > > > On Thu, Sep 19, 2019 at 10:39:18PM +0900, Suleiman Souhlal wrote: > > > On Fri, Sep 6, 2019 at 6:57 AM Roman Gushchin wrote: > > > > The patchset has been tested on a

Re: [PATCH 1/2] mmc: sdhci: Check card status after reset

2019-09-19 Thread Raul Rangel
Pinging the patch set to make sure it's not forgotten :) Thanks

Re: KASAN: invalid-free in disconnect_rio (2)

2019-09-19 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+745b0dff8028f9488...@syzkaller.appspotmail.com Tested on: commit: e0bd8d79 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasa

[PATCH v2] docs: Use make invocation's -j argument for parallelism

2019-09-19 Thread Kees Cook
While sphinx 1.7 and later supports "-jauto" for parallelism, this effectively ignores the "-j" flag used in the "make" invocation, which may cause confusion for build systems. Instead, extract the available parallelism from "make"'s job server (since it is not exposed in any special variables) and

[PATCH v2] Drivers: hv: vmbus: Fix harmless building warnings without CONFIG_PM_SLEEP

2019-09-19 Thread Dexuan Cui
If CONFIG_PM_SLEEP is not set, we can comment out these functions to avoid the below warnings: drivers/hv/vmbus_drv.c:2208:12: warning: ‘vmbus_bus_resume’ defined but not used [-Wunused-function] drivers/hv/vmbus_drv.c:2128:12: warning: ‘vmbus_bus_suspend’ defined but not used [-Wunused-function

Re: [PATCH RFC v4 1/1] random: WARN on large getrandom() waits and introduce getrandom2()

2019-09-19 Thread Linus Torvalds
On Thu, Sep 19, 2019 at 1:45 PM Alexander E. Patrakov wrote: > > This already resembles in-kernel haveged (except that it doesn't credit > entropy), and Willy Tarreau said "collect the small entropy where it is, > period" today. So, too many people touched upon the topic in one day, > and therefor

Re: [PATCH v1 3/3] seccomp: test SECCOMP_USER_NOTIF_FLAG_CONTINUE

2019-09-19 Thread Christian Brauner
On Thu, Sep 19, 2019 at 11:13:46AM -0600, shuah wrote: > On 9/19/19 3:59 AM, Christian Brauner wrote: > > Test whether a syscall can be performed after having been intercepted by > > the seccomp notifier. The test uses dup() and kcmp() since it allows us to > > nicely test whether the dup() syscall

Re: [PATCH] base: soc: Export soc_device_to_device API

2019-09-19 Thread Bjorn Andersson
On Thu 19 Sep 14:32 PDT 2019, Greg KH wrote: > On Thu, Sep 19, 2019 at 02:13:44PM -0700, Murali Nalajala wrote: > > If the soc drivers want to add custom sysfs entries it needs to > > access "dev" field in "struct soc_device". This can be achieved > > by "soc_device_to_device" API. Soc drivers whi

[GIT PULL] compiler-attributes for v5.4

2019-09-19 Thread Miguel Ojeda
Hi Linus, Please pull this patch series which make us take advantage of `asm inline`. You will encounter an easy merge conflict on `init/Kconfig` due to the (already merged) arm64 tree. Cheers, Miguel The following changes since commit f74c2bb98776e2de508f4d607cd519873065118e: Linux 5.3-rc8

Re: [xfs] 27d1053021: xfstests.xfs.173.fail

2019-09-19 Thread Christoph Hellwig
On Thu, Sep 19, 2019 at 07:47:05PM +0200, Christoph Hellwig wrote: > On Thu, Sep 19, 2019 at 09:46:02AM +0800, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > > > commit: 27d10530217ee6d6a0388014fd773820ee354ce5 ("xfs: remove the unused > > XFS_ALLOC_USER

Re: [PATCH] base: soc: Export soc_device_to_device API

2019-09-19 Thread Greg KH
On Thu, Sep 19, 2019 at 02:53:00PM -0700, Bjorn Andersson wrote: > On Thu 19 Sep 14:32 PDT 2019, Greg KH wrote: > > > On Thu, Sep 19, 2019 at 02:13:44PM -0700, Murali Nalajala wrote: > > > If the soc drivers want to add custom sysfs entries it needs to > > > access "dev" field in "struct soc_devic

[PATCH 5.3 15/21] tty/serial: atmel: reschedule TX after RX was started

2019-09-19 Thread Greg Kroah-Hartman
From: Razvan Stefanescu commit d2ace81bf902a9f11d52e59e5d232d2255a0e353 upstream. When half-duplex RS485 communication is used, after RX is started, TX tasklet still needs to be scheduled tasklet. This avoids console freezing when more data is to be transmitted, if the serial communication is n

[PATCH 5.3 18/21] ovl: fix regression caused by overlapping layers detection

2019-09-19 Thread Greg Kroah-Hartman
From: Amir Goldstein commit 0be0bfd2de9dfdd2098a9c5b14bdd8f739c9165d upstream. Once upon a time, commit 2cac0c00a6cd ("ovl: get exclusive ownership on upper/work dirs") in v4.13 added some sanity checks on overlayfs layers. This change caused a docker regression. The root cause was mount leaks b

[PATCH 5.3 14/21] serial: sprd: correct the wrong sequence of arguments

2019-09-19 Thread Greg Kroah-Hartman
From: Chunyan Zhang commit 9c801e313195addaf11c16e155f50789d6ebfd19 upstream. The sequence of arguments which was passed to handle_lsr_errors() didn't match the parameters defined in that function, &lsr was passed to flag and &flag was passed to lsr, this patch fixed that. Fixes: b7396a38fb28 (

[PATCH 5.3 11/21] KVM: coalesced_mmio: add bounds checking

2019-09-19 Thread Greg Kroah-Hartman
From: Matt Delco commit b60fe990c6b07ef6d4df67bc0530c7c90a62623a upstream. The first/last indexes are typically shared with a user app. The app can change the 'last' index that the kernel uses to store the next result. This change sanity checks the index before using it for writing to a potenti

[PATCH 5.3 21/21] media: technisat-usb2: break out of loop at end of buffer

2019-09-19 Thread Greg Kroah-Hartman
From: Sean Young commit 0c4df39e504bf925ab666132ac3c98d6cbbe380b upstream. Ensure we do not access the buffer beyond the end if no 0xff byte is encountered. Reported-by: syzbot+eaaaf38a95427be88...@syzkaller.appspotmail.com Signed-off-by: Sean Young Reviewed-by: Kees Cook Signed-off-by: Mauro

[PATCH 5.3 01/21] USB: usbcore: Fix slab-out-of-bounds bug during device reset

2019-09-19 Thread Greg Kroah-Hartman
From: Alan Stern commit 3dd550a2d36596a1b0ee7955da3b611c031d3873 upstream. The syzbot fuzzer provoked a slab-out-of-bounds error in the USB core: BUG: KASAN: slab-out-of-bounds in memcmp+0xa6/0xb0 lib/string.c:904 Read of size 1 at addr 8881d175bed6 by task kworker/0:3/2746 CPU: 0 PID: 274

[PATCH 5.3 20/21] floppy: fix usercopy direction

2019-09-19 Thread Greg Kroah-Hartman
From: Jann Horn commit 52f6f9d74f31078964ca1574f7bb612da7877ac8 upstream. As sparse points out, these two copy_from_user() should actually be copy_to_user(). Fixes: 229b53c9bf4e ("take floppy compat ioctls to sodding floppy.c") Cc: sta...@vger.kernel.org Acked-by: Alexander Popov Reviewed-by:

[PATCH 5.3 12/21] Documentation: sphinx: Add missing comma to list of strings

2019-09-19 Thread Greg Kroah-Hartman
From: Jonathan Neuschäfer commit 11fec009d97e5bd2329ef7d52d71e9f6763f1048 upstream. In Python, like in C, when a comma is omitted in a list of strings, the two strings around the missing comma are concatenated. Cc: sta...@vger.kernel.org # v5.2 only Signed-off-by: Jonathan Neuschäfer Reviewed

[PATCH 5.3 10/21] net: stmmac: Hold rtnl lock in suspend/resume callbacks

2019-09-19 Thread Greg Kroah-Hartman
From: Jose Abreu [ Upstream commit 19e13cb27b998ff49f07e399b5871bfe5ba7e3f0 ] We need to hold rnl lock in suspend and resume callbacks because phylink requires it. Otherwise we will get a WARN() in suspend and resume. Also, move phylink start and stop callbacks to inside device's internal lock

[PATCH 5.3 03/21] phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current

2019-09-19 Thread Greg Kroah-Hartman
From: Yoshihiro Shimoda commit e6839c31a608e79f2057fab987dd814f5d3477e6 upstream. The hardware manual should be revised, but the initial value of VBCTRL.OCCLREN is set to 1 actually. If the bit is set, the hardware clears VBCTRL.VBOUT and ADPCTRL.DRVVBUS registers automatically when the hardware

[PATCH 5.3 07/21] udp: correct reuseport selection with connected sockets

2019-09-19 Thread Greg Kroah-Hartman
From: Willem de Bruijn [ Upstream commit acdcecc61285faed359f1a3568c32089cc3a8329 ] UDP reuseport groups can hold a mix unconnected and connected sockets. Ensure that connections only receive all traffic to their 4-tuple. Fast reuseport returns on the first reuseport match on the assumption tha

[PATCH 5.2 003/124] phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current

2019-09-19 Thread Greg Kroah-Hartman
From: Yoshihiro Shimoda commit e6839c31a608e79f2057fab987dd814f5d3477e6 upstream. The hardware manual should be revised, but the initial value of VBCTRL.OCCLREN is set to 1 actually. If the bit is set, the hardware clears VBCTRL.VBOUT and ADPCTRL.DRVVBUS registers automatically when the hardware

[PATCH 5.2 000/124] 5.2.17-stable review

2019-09-19 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.2.17 release. There are 124 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat 21 Sep 2019 09:44:25 PM UTC. Anything rec

[PATCH 5.3 00/21] 5.3.1-stable review

2019-09-19 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.3.1 release. There are 21 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat 21 Sep 2019 09:44:25 PM UTC. Anything recei

[PATCH 5.3 09/21] net: dsa: Fix load order between DSA drivers and taggers

2019-09-19 Thread Greg Kroah-Hartman
From: Andrew Lunn [ Upstream commit 23426a25e55a417dc104df08781b6eff95e65f3f ] The DSA core, DSA taggers and DSA drivers all make use of module_init(). Hence they get initialised at device_initcall() time. The ordering is non-deterministic. It can be a DSA driver is bound to a device before the

[PATCH 5.2 001/124] USB: usbcore: Fix slab-out-of-bounds bug during device reset

2019-09-19 Thread Greg Kroah-Hartman
From: Alan Stern commit 3dd550a2d36596a1b0ee7955da3b611c031d3873 upstream. The syzbot fuzzer provoked a slab-out-of-bounds error in the USB core: BUG: KASAN: slab-out-of-bounds in memcmp+0xa6/0xb0 lib/string.c:904 Read of size 1 at addr 8881d175bed6 by task kworker/0:3/2746 CPU: 0 PID: 274

[PATCH 5.2 023/124] serial: sprd: correct the wrong sequence of arguments

2019-09-19 Thread Greg Kroah-Hartman
From: Chunyan Zhang commit 9c801e313195addaf11c16e155f50789d6ebfd19 upstream. The sequence of arguments which was passed to handle_lsr_errors() didn't match the parameters defined in that function, &lsr was passed to flag and &flag was passed to lsr, this patch fixed that. Fixes: b7396a38fb28 (

[PATCH 5.2 018/124] udp: correct reuseport selection with connected sockets

2019-09-19 Thread Greg Kroah-Hartman
From: Willem de Bruijn [ Upstream commit acdcecc61285faed359f1a3568c32089cc3a8329 ] UDP reuseport groups can hold a mix unconnected and connected sockets. Ensure that connections only receive all traffic to their 4-tuple. Fast reuseport returns on the first reuseport match on the assumption tha

[PATCH 5.2 022/124] firmware: google: check if size is valid when decoding VPD data

2019-09-19 Thread Greg Kroah-Hartman
From: Hung-Te Lin commit 4b708b7b1a2c09fbdfff6b942ebe3a160213aacd upstream. The VPD implementation from Chromium Vital Product Data project used to parse data from untrusted input without checking if the meta data is invalid or corrupted. For example, the size from decoded content may be negativ

Re: [PATCH 5/5] perf list: specify metrics are to be used with -M

2019-09-19 Thread Andi Kleen
> This misleads the uninitiated user to try: > > $ perf stat -e C2_Pkg_Residency Actually I guess we could just fix -e to support metrics too. Would probably not be that difficult. -Andi

[PATCH 5.2 017/124] net_sched: let qdisc_put() accept NULL pointer

2019-09-19 Thread Greg Kroah-Hartman
From: Cong Wang [ Upstream commit 6efb971ba8edfbd80b666f29de12882852f095ae ] When tcf_block_get() fails in sfb_init(), q->qdisc is still a NULL pointer which leads to a crash in sfb_destroy(). Similar for sch_dsmark. Instead of fixing each separately, Linus suggested to just accept NULL pointer

[PATCH 5.2 014/124] net: aquantia: fix limit of vlan filters

2019-09-19 Thread Greg Kroah-Hartman
From: Dmitry Bogdanov commit 392349f60110dc2c3daf86464fd926afc53d6143 upstream. Fix a limit condition of vlans on the interface before setting vlan promiscuous mode Fixes: 48dd73d08d4dd ("net: aquantia: fix vlans not working over bridged network") Signed-off-by: Dmitry Bogdanov Signed-off-by:

[PATCH 5.2 021/124] KVM: coalesced_mmio: add bounds checking

2019-09-19 Thread Greg Kroah-Hartman
From: Matt Delco commit b60fe990c6b07ef6d4df67bc0530c7c90a62623a upstream. The first/last indexes are typically shared with a user app. The app can change the 'last' index that the kernel uses to store the next result. This change sanity checks the index before using it for writing to a potenti

[PATCH 5.2 024/124] tty/serial: atmel: reschedule TX after RX was started

2019-09-19 Thread Greg Kroah-Hartman
From: Razvan Stefanescu commit d2ace81bf902a9f11d52e59e5d232d2255a0e353 upstream. When half-duplex RS485 communication is used, after RX is started, TX tasklet still needs to be scheduled tasklet. This avoids console freezing when more data is to be transmitted, if the serial communication is n

[PATCH 5.2 025/124] mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings

2019-09-19 Thread Greg Kroah-Hartman
From: Wen Huang commit 7caac62ed598a196d6ddf8d9c121e12e082cac3a upstream. mwifiex_update_vs_ie(),mwifiex_set_uap_rates() and mwifiex_set_wmm_params() call memcpy() without checking the destination size.Since the source is given from user-space, this may trigger a heap buffer overflow. Fix them

[PATCH 5.2 002/124] media: tm6000: double free if usb disconnect while streaming

2019-09-19 Thread Greg Kroah-Hartman
From: Sean Young commit 699bf94114151aae4dceb2d9dbf1a6312839dcae upstream. The usb_bulk_urb will kfree'd on disconnect, so ensure the pointer is set to NULL after each free. stop stream urb killing urb buffer free tm6000: got start feed request tm6000_start_feed tm6000: got start stream request

[PATCH 5.2 028/124] ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails

2019-09-19 Thread Greg Kroah-Hartman
From: YueHaibing [ Upstream commit de166bbe861738c8bc3e5dad5b03f45d7d6ef914 ] KASAN report this: kernel BUG at net/mac802154/main.c:130! invalid opcode: [#1] PREEMPT SMP CPU: 0 PID: 19932 Comm: modprobe Not tainted 5.1.0-rc6+ #22 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS

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