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
---
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
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 +-
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
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/
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
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
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
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
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
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
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
> -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
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
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
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
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
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
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
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
> -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
> -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
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
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
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
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.
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
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
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(-
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
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
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
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
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
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
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
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
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
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
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
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:/
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
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
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
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
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
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
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
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_
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
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
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
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
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
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
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
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
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
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
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.
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
> 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
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
Pinging the patch set to make sure it's not forgotten :)
Thanks
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
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
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
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
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
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
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
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
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
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
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
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 (
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
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
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
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:
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
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
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
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
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
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
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
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
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
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 (
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
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
> 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
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
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:
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
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
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
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
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
601 - 700 of 1297 matches
Mail list logo