Re: memory leak in do_eventfd

2020-08-07 Thread Rustam Kovhaev
On Thu, Jun 04, 2020 at 09:24:02PM -0700, Eric Biggers wrote: > [+Cc kvm mailing list] > > On Wed, May 20, 2020 at 06:12:17PM -0700, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:5a9ffb95 Merge tag '5.7-rc5-smb3-fixes' of git://git.samba.. > > git

Re: [PATCH] x86: work around clang IAS bug referencing __force_order

2020-08-07 Thread Sedat Dilek
On Fri, Aug 7, 2020 at 12:13 AM Thomas Gleixner wrote: > > Sedat Dilek writes: > > what is the status of this patch? > > Just looked at it. > > > I needed this one to be able to build VirtualBox via DKMS as an > > out-of-tree kernel-module. > > Not being able to build the vbox rootkit is a featur

WARNING: locking bug in l2cap_chan_del

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:47ec5303 Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=111d93fa90 kernel config: https://syzkaller.appspot.com/x/.config?x=7bb894f55faf8242 das

KASAN: use-after-free Read in __usb_hcd_giveback_urb

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:fffe3ae0 Merge tag 'for-linus-hmm' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12b22fda90 kernel config: https://syzkaller.appspot.com/x/.config?x=226c7a97d80bec54 das

KASAN: use-after-free Write in afs_manage_cell

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:fffe3ae0 Merge tag 'for-linus-hmm' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1053efea90 kernel config: https://syzkaller.appspot.com/x/.config?x=18bb86f2e4ebfda2 das

Re: [PATCH] mm: sort freelist by rank number

2020-08-07 Thread Pekka Enberg
Hi Cho and David, On Mon, Aug 3, 2020 at 10:57 AM David Hildenbrand wrote: > > On 03.08.20 08:10, pullip@samsung.com wrote: > > From: Cho KyongHo > > > > LPDDR5 introduces rank switch delay. If three successive DRAM accesses > > happens and the first and the second ones access one rank and t

[PATCH] ALSA: usb-audio: Fix memleak in scarlett2_add_new_ctl

2020-08-07 Thread Dinghao Liu
When snd_usb_mixer_add_control() fails, elem needs to be freed just like when snd_ctl_new1() fails. However, current code is returning directly and ends up leaking memory. Fixes: 9e4d5c1be21f0 ("ALSA: usb-audio: Scarlett Gen 2 mixer interface") Signed-off-by: Dinghao Liu --- sound/usb/mixer_scar

INFO: trying to register non-static key in l2cap_chan_close

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:01830e6c Add linux-next specific files for 20200731 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=171e3dc690 kernel config: https://syzkaller.appspot.com/x/.config?x=2e226b2d1364112c dashboard

[PATCH v2 1/4] perf tools: Support Arm arch timer counter

2020-08-07 Thread Leo Yan
The Arm arch timer can be used to calculate timestamp, the basic idea is the arch timer's counter value can be recorded in the hardware tracing data, e.g. the arch timer's counter value can be used for Arm CoreSight (not now but might be implemented later) and Arm SPE. So we need a way to convert

[PATCH v2 4/4] perf arm-spe: Enable timestamp with arch timer counter

2020-08-07 Thread Leo Yan
Since the arch timer's counter is used for SPE tracing data, and now it's ready to use arch timer for sample's timestamp in Perf tool, this patch is to enable timestamp by convert the arch timer counter value to the time. After enabling timestamp for Arm SPE with this patch, we can see the timesta

[PATCH v2 2/4] perf arm_arch_timer: Convert between counter and timestamp

2020-08-07 Thread Leo Yan
This patch introduces two new APIs, one is to calculate from converting counter to timestamp and provides a reverse flow to convert timestamp to counter. Signed-off-by: Leo Yan --- tools/perf/util/Build| 1 + tools/perf/util/arm_arch_timer.c | 28 tools/

[PATCH v2 3/4] perf arm_arch_timer: Test conversion between counter and timestamp

2020-08-07 Thread Leo Yan
x86 arch has provides the testing for conversion between tsc and perf time, this patch studies it and writes a similar testing for conversion between arch timer's counter and sample's time. The testing approach firstly creates three time points: Time point 1: 1st process's sample with perf time

[PATCH v2 0/4] Perf tool: Enable Arm arch timer counter and arm-spe's timestamp

2020-08-07 Thread Leo Yan
This patch set is to enable Arm arch timer counter and Arm SPE is the first customer to use arch timer counter for its timestamp. Patches 01 ~ 03 enables Arm arch timer counter in Perf tool; patch 01 is to retrieve arch timer's parameters from mmaped page; patch 02 provides APIs for the conversion

memory leak in hci_conn_add

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:47ec5303 Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11a0122c90 kernel config: https://syzkaller.appspot.com/x/.config?x=eab224ce244e423c das

WARNING: ODEBUG bug in put_device

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:47ec5303 Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11d8d3c690 kernel config: https://syzkaller.appspot.com/x/.config?x=7bb894f55faf8242 das

[PATCH v9 5/5] drm/msm/dp: Add Display Port HPD feature

2020-08-07 Thread Tanmay Shah
Configure HPD registers in DP controller and enable HPD interrupt. Add interrupt to handle HPD connect and disconnect events. Changes in v8: None Signed-off-by: Tanmay Shah --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 18 drivers/gpu/drm/msm/dp/dp_catalog.c | 63 -- dri

[PATCH v9 4/5] drm/msm/dpu: add display port support in DPU

2020-08-07 Thread Tanmay Shah
From: Jeykumar Sankaran Add display port support in DPU by creating hooks for DP encoder enumeration and encoder mode initialization. changes in v2: - rebase on [2] (Sean Paul) - remove unwanted error checks and switch cases (Jordan Crouse) [1] https://lwn.net/Articles

Re: [x86/copy_mc] a0ac629ebe: fio.read_iops -43.3% regression

2020-08-07 Thread kernel test robot
On Thu, Aug 06, 2020 at 05:35:00PM +0200, Ingo Molnar wrote: > > * Dan Williams wrote: > > > On Thu, Aug 6, 2020 at 6:35 AM Ingo Molnar wrote: > > > > > > > > > * kernel test robot wrote: > > > > > > > Greeting, > > > > > > > > FYI, we noticed a -43.3% regression of fio.read_iops due to commit

[PATCH v9 1/5] drm: add constant N value in helper file

2020-08-07 Thread Tanmay Shah
From: Chandan Uddaraju The constant N value (0x8000) is used by i915 DP driver. Define this value in dp helper header file to use in multiple Display Port drivers. Change i915 driver accordingly. Change in v6: Change commit message Signed-off-by: Chandan Uddaraju Signed-off-by: Vara Reddy Sig

[PATCH v9 0/5] Add support for DisplayPort driver on SnapDragon

2020-08-07 Thread Tanmay Shah
These patches add Display-Port driver on SnapDragon/msm hardware. This series also contains device-tree bindings for msm DP driver. It also contains Makefile and Kconfig changes to compile msm DP driver. The block diagram of DP driver is shown below: +-+

Re: [PATCH] ASoC: fsl-asoc-card: Get "extal" clock rate by clk_get_rate

2020-08-07 Thread Shengjiu Wang
On Thu, Aug 6, 2020 at 8:39 PM Mark Brown wrote: > > On Thu, Aug 06, 2020 at 03:39:45PM +0800, Shengjiu Wang wrote: > > > } else if (of_node_name_eq(cpu_np, "esai")) { > > + struct clk *esai_clk = clk_get(&cpu_pdev->dev, "extal"); > > + > > + if (!IS_ERR(esai_clk)) {

[PATCH v9 3/5] drm/msm/dp: add support for DP PLL driver

2020-08-07 Thread Tanmay Shah
From: Chandan Uddaraju Add the needed DP PLL specific files to support display port interface on msm targets. The DP driver calls the DP PLL driver registration. The DP driver sets the link and pixel clock sources. Changes in v2: -- Update copyright markings on all relevant files. -- Use DRM_DE

Re: [GIT] Networking

2020-08-07 Thread Christoph Hellwig
On Thu, Aug 06, 2020 at 11:23:34PM -0700, John Stultz wrote: > So I've finally rebase-bisected it down to: > a31edb2059ed ("net: improve the user pointer check in init_user_sockptr") > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a31edb2059ed4e498f9aa8230c734b59d0

Re: [PATCH 25/26] net: pass a sockptr_t into ->setsockopt

2020-08-07 Thread Christoph Hellwig
On Thu, Aug 06, 2020 at 03:21:25PM -0700, Eric Dumazet wrote: > converting get_user(...) to copy_from_sockptr(...) really assumed the > optlen > has been validated to be >= sizeof(int) earlier. > > Which is not always the case, for example here. Yes. And besides the bpfilter mess the main re

Re: [PATCH 4.19 0/6] 4.19.138-rc1 review

2020-08-07 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.138 release. > There are 6 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 Fri, 07 Aug 2020 15:34:53 +0

KASAN: use-after-free Read in rc_dev_uevent

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7b4ea945 Revert "x86/mm/64: Do not sync vmalloc/ioremap ma.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=11a7813a90 kernel conf

Re: [PATCH 1/2] mm/slub: Introduce two counters for the partial objects

2020-08-07 Thread Pekka Enberg
On Thu, Aug 6, 2020 at 3:42 PM Vlastimil Babka wrote: > > On 7/2/20 10:32 AM, Xunlei Pang wrote: > > The node list_lock in count_partial() spend long time iterating > > in case of large amount of partial page lists, which can cause > > thunder herd effect to the list_lock contention, e.g. it cause

Re: [PATCH v7 06/13] pwm: add support for sl28cpld PWM controller

2020-08-07 Thread Michael Walle
Hi Uwe, Hi Lee, Am 2020-08-06 10:40, schrieb Uwe Kleine-König: On Mon, Aug 03, 2020 at 11:35:52AM +0200, Michael Walle wrote: diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 7dbcf6973d33..a0d50d70c3b9 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -428,6 +428,16 @@ c

WARNING: refcount bug in l2tp_session_free

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:04300d66 Merge tag 'riscv-for-linus-5.8-rc7' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17beee2890 kernel config: https://syzkaller.appspot.com/x/.config?x=f3bc31881f1ae8a7 das

[PATCH 1/2] exfat: add dir-entry set checksum validation

2020-08-07 Thread Tetsuhiro Kohada
Add checksum validation for dir-entry set when getting it. exfat_calc_dir_chksum_with_entry_set() also validates entry-type. ** This patch depends on: '[PATCH v3] exfat: integrates dir-entry getting and validation' Signed-off-by: Tetsuhiro Kohada --- fs/exfat/dir.c | 34 ++

[PATCH 2/2] exfat: write only modified part of dir-entry set

2020-08-07 Thread Tetsuhiro Kohada
Currently exfat_free_dentry_set() writes all of dir-entry set. Change it to write only the modified part of dir-entry set. And, Integrate exfat_free_dentry_set() and exfat_update_dir_chksum_with_entry_set() as exfat_put_dentry_set(). ** This patch depends on: '[PATCH v3] exfat: integrates dir-en

[PATCH v7 0/2] shtc1: add support for device tree bindings

2020-08-07 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 7 make dt_binding

[PATCH v7 1/2] hwmon: shtc1: add support for device tree bindings

2020-08-07 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck --- drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c inde

[PATCH v7 2/2] devicetree: hwmon: shtc1: add sensirion,shtc1.yaml

2020-08-07 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 59 +++

[PATCH v4] arm64: dts: qcom: sc7180: Add Display Port dt node

2020-08-07 Thread Tanmay Shah
Add DP device node on sc7180. Changes in v2: - Add assigned-clocks and assigned-clock-parents - Remove cell-index and pixel_rcg - Change compatible to qcom,sc7180-dp Changes in v3: - Update commit text - Make DP child node of MDSS - Remove data-lanes property from SOC dts - Disable DP node in SO

[RFC v7 01/19] locking: More accurate annotations for read_lock()

2020-08-07 Thread Boqun Feng
On the archs using QUEUED_RWLOCKS, read_lock() is not always a recursive read lock, actually it's only recursive if in_interrupt() is true. So change the annotation accordingly to catch more deadlocks. Note we used to treat read_lock() as pure recursive read locks in lib/locking-seftest.c, and thi

[RFC v7 00/19] lockdep: Support deadlock detection for recursive read locks

2020-08-07 Thread Boqun Feng
Hi Peter and Waiman, As promised, this is the updated version of my previous lockdep patchset for recursive read lock support. It's based on v5.8. Previous versions can be found at: V1: https://marc.info/?l=linux-kernel&m=150393341825453 V2: https://marc.info/?l=linux-kernel&m=150468649417950 V3:

[RFC v7 05/19] lockdep: Reduce the size of lock_list::distance

2020-08-07 Thread Boqun Feng
lock_list::distance is always not greater than MAX_LOCK_DEPTH (which is 48 right now), so a u16 will fit. This patch reduces the size of lock_list::distance to save space, so that we can introduce other fields to help detect recursive read lock deadlocks without increasing the size of lock_list str

[RFC v7 04/19] lockdep: Make __bfs() visit every dependency until a match

2020-08-07 Thread Boqun Feng
Currently, __bfs() will do a breadth-first search in the dependency graph and visit each lock class in the graph exactly once, so for example, in the following graph: A -> B |^ || +--> C a __bfs() call starts at A, will visit

[RFC v7 02/19] lockdep/Documention: Recursive read lock detection reasoning

2020-08-07 Thread Boqun Feng
This patch add the documentation piece for the reasoning of deadlock detection related to recursive read lock. The following sections are added: * Explain what is a recursive read lock, and what deadlock cases they could introduce. * Introduce the notations for different types

[RFC v7 03/19] lockdep: Demagic the return value of BFS

2020-08-07 Thread Boqun Feng
__bfs() could return four magic numbers: 1: search succeeds, but none match. 0: search succeeds, find one match. -1: search fails because of the cq is full. -2: search fails because a invalid node is found. This patch cleans things up by using a enum type for the r

[RFC v7 09/19] lockdep: Support deadlock detection for recursive read locks in check_noncircular()

2020-08-07 Thread Boqun Feng
Currently, lockdep only has limit support for deadlock detection for recursive read locks. This patch support deadlock detection for recursive read locks. The basic idea is: We are about to add dependency B -> A in to the dependency graph, we use check_noncircular() to find whether we have a stro

[RFC v7 06/19] lockdep: Introduce lock_list::dep

2020-08-07 Thread Boqun Feng
To add recursive read locks into the dependency graph, we need to store the types of dependencies for the BFS later. There are four types of dependencies: * Exclusive -> Non-recursive dependencies: EN e.g. write_lock(prev) held and try to acquire write_lock(next) or non-recur

[RFC v7 08/19] lockdep: Make __bfs(.match) return bool

2020-08-07 Thread Boqun Feng
The "match" parameter of __bfs() is used for checking whether we hit a match in the search, therefore it should return a boolean value rather than an integer for better readability. This patch then changes the return type of the function parameter and the match functions to bool. Suggested-by: Pe

[RFC v7 07/19] lockdep: Extend __bfs() to work with multiple types of dependencies

2020-08-07 Thread Boqun Feng
Now we have four types of dependencies in the dependency graph, and not all the pathes carry real dependencies (the dependencies that may cause a deadlock), for example: Given lock A and B, if we have: CPU1CPU2 = ==

[RFC v7 12/19] lockdep: Add recursive read locks into dependency graph

2020-08-07 Thread Boqun Feng
Since we have all the fundamental to handle recursive read locks, we now add them into the dependency graph. Signed-off-by: Boqun Feng --- kernel/locking/lockdep.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/l

[RFC v7 10/19] lockdep: Adjust check_redundant() for recursive read change

2020-08-07 Thread Boqun Feng
check_redundant() will report redundancy if it finds a path could replace the about-to-add dependency in the BFS search. With recursive read lock changes, we certainly need to change the match function for the check_redundant(), because the path needs to match not only the lock class but also the d

Re: [PATCH v7 06/13] pwm: add support for sl28cpld PWM controller

2020-08-07 Thread Uwe Kleine-König
On Fri, Aug 07, 2020 at 09:28:31AM +0200, Michael Walle wrote: > Hi Uwe, Hi Lee, > > Am 2020-08-06 10:40, schrieb Uwe Kleine-König: > > On Mon, Aug 03, 2020 at 11:35:52AM +0200, Michael Walle wrote: > > > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > > > index 7dbcf6973d33..a0d50d70c3b9

[PATCH v2 2/2] powerpc/topology: Override cpu_smt_mask

2020-08-07 Thread Srikar Dronamraju
On Power9, a pair of SMT4 cores can be presented by the firmware as a SMT8 core for backward compatibility reasons, with the fusion of two SMT4 cores. Powerpc allows LPARs to be live migrated from Power8 to Power9. Existing software developed/configured for Power8, expects to see a SMT8 core. In

[RFC v7 11/19] lockdep: Fix recursive read lock related safe->unsafe detection

2020-08-07 Thread Boqun Feng
Currently, in safe->unsafe detection, lockdep misses the fact that a LOCK_ENABLED_IRQ_*_READ usage and a LOCK_USED_IN_IRQ_*_READ usage may cause deadlock too, for example: P1 P2 write_lock(l1); read_

[RFC v7 13/19] lockdep/selftest: Add a R-L/L-W test case specific to chain cache behavior

2020-08-07 Thread Boqun Feng
As our chain cache doesn't differ read/write locks, so even we can detect a read-lock/lock-write deadlock in check_noncircular(), we can still be fooled if a read-lock/lock-read case(which is not a deadlock) comes first. So introduce this test case to test specific to the chain cache behavior on d

[PATCH v2 1/2] sched/topology: Allow archs to override cpu_smt_mask

2020-08-07 Thread Srikar Dronamraju
cpu_smt_mask tracks topology_sibling_cpumask. This would be good for most architectures. One of the users of cpu_smt_mask(), would be to identify idle-cores. On Power9, a pair of SMT4 cores can be presented by the firmware as a SMT8 core for backward compatibility reasons. Powerpc allows LPARs to

[RFC v7 14/19] lockdep: Take read/write status in consideration when generate chainkey

2020-08-07 Thread Boqun Feng
Currently, the chainkey of a lock chain is a hash sum of the class_idx of all the held locks, the read/write status are not taken in to consideration while generating the chainkey. This could result into a problem, if we have: P1() { read_lock(B); lo

[RFC v7 15/19] lockdep/selftest: Unleash irq_read_recursion2 and add more

2020-08-07 Thread Boqun Feng
Now since we can handle recursive read related irq inversion deadlocks correctly, uncomment the irq_read_recursion2 and add more testcases. Signed-off-by: Boqun Feng --- lib/locking-selftest.c | 59 +- 1 file changed, 47 insertions(+), 12 deletions(-) dif

[RFC v7 16/19] lockdep/selftest: Add more recursive read related test cases

2020-08-07 Thread Boqun Feng
Add those four test cases: 1. X --(ER)--> Y --(ER)--> Z --(ER)--> X is deadlock. 2. X --(EN)--> Y --(SR)--> Z --(ER)--> X is deadlock. 3. X --(EN)--> Y --(SR)--> Z --(SN)--> X is not deadlock. 4. X --(ER)--> Y --(SR)--> Z --(EN)--> X is not deadlock. Those self testcases ar

[RFC v7 17/19] Revert "locking/lockdep/selftests: Fix mixed read-write ABBA tests"

2020-08-07 Thread Boqun Feng
This reverts commit d82fed75294229abc9d757f08a4817febae6c4f4. Since we now could handle mixed read-write deadlock detection well, the self tests could be detected as expected, no need to use this work-around. Signed-off-by: Boqun Feng --- lib/locking-selftest.c | 8 1 file changed, 8 d

[RFC v7 19/19] lockdep/selftest: Introduce recursion3

2020-08-07 Thread Boqun Feng
Add a test case shows that USED_IN_*_READ and ENABLE_*_READ can cause deadlock too. Signed-off-by: Boqun Feng --- lib/locking-selftest.c | 55 ++ 1 file changed, 55 insertions(+) diff --git a/lib/locking-selftest.c b/lib/locking-selftest.c index 17f8f6f37

[RFC v7 18/19] locking/selftest: Add test cases for queued_read_lock()

2020-08-07 Thread Boqun Feng
Add two self test cases for the following case: P0: P1: P2: spin_lock_irq(&slock) read_lock(&rwlock) write_lock_irq(&rwlock) read_lock(&rwlock

Re: [PATCH 5.7 0/7] 5.7.14-rc2 review

2020-08-07 Thread Greg Kroah-Hartman
On Thu, Aug 06, 2020 at 01:31:02PM -0600, Shuah Khan wrote: > On 8/5/20 1:59 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.14 release. > > There are 7 patches in this series, all will be posted as a response > > to this one. If anyone has any issues wit

Re: [PATCH 4.19 0/6] 4.19.138-rc1 review

2020-08-07 Thread Greg Kroah-Hartman
On Fri, Aug 07, 2020 at 09:24:18AM +0200, Pavel Machek wrote: > Hi! > > > This is the start of the stable review cycle for the 4.19.138 release. > > There are 6 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > >

Re: [PATCH 5.7 0/7] 5.7.14-rc2 review

2020-08-07 Thread Greg Kroah-Hartman
On Thu, Aug 06, 2020 at 11:58:36AM -0700, Guenter Roeck wrote: > On Wed, Aug 05, 2020 at 09:59:33PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.14 release. > > There are 7 patches in this series, all will be posted as a response > > to this one. If

[PATCH v3 0/3] Mediatek pinctrl patch on mt8192

2020-08-07 Thread Zhiyong Tao
This series includes 3 patches: 1.add pinctrl file on mt8192. 2.add pinctrl binding document on mt8192. 3.add pinctrl driver on MT8192. Changes in patch v3: 1)fix running 'make dt_binding_check' errors. 2)change 'node' to 'pincontroller'. 3)add an actual example. 4)change ref as 'pinmux-node.yaml'

[PATCH v3 2/3] dt-bindings: pinctrl: mt8192: add binding document

2020-08-07 Thread Zhiyong Tao
The commit adds mt8192 compatible node in binding document. Signed-off-by: Zhiyong Tao --- .../bindings/pinctrl/pinctrl-mt8192.yaml | 149 ++ 1 file changed, 149 insertions(+) create mode 100755 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml diff --git a/Do

[PATCH v3 1/3] dt-bindings: pinctrl: mt8192: add pinctrl file

2020-08-07 Thread Zhiyong Tao
This patch adds pinctrl file for mt8192. Signed-off-by: Zhiyong Tao --- include/dt-bindings/pinctrl/mt8192-pinfunc.h | 1344 ++ 1 file changed, 1344 insertions(+) create mode 100644 include/dt-bindings/pinctrl/mt8192-pinfunc.h diff --git a/include/dt-bindings/pinctrl/mt8192-pin

Re: [PATCH v7 06/13] pwm: add support for sl28cpld PWM controller

2020-08-07 Thread Michael Walle
Am 2020-08-07 09:45, schrieb Uwe Kleine-König: On Fri, Aug 07, 2020 at 09:28:31AM +0200, Michael Walle wrote: Hi Uwe, Hi Lee, Am 2020-08-06 10:40, schrieb Uwe Kleine-König: > On Mon, Aug 03, 2020 at 11:35:52AM +0200, Michael Walle wrote: > > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfi

FROM SERGEANT KATIE B. TAYLOR ,

2020-08-07 Thread Sergeant Katie Brianna Taylor
I am Sergeant Katie Brianna Taylor, originally from Lake Jackson Texas. I have  personally conducted a special research on the internet and came across your  information. I am writing you this mail from US Military Base Kabul  Afghanistan. I have a secured business proposal for you. If you are i

Re: [PATCH] rtc: max77686: Fix wake-ups for max77620

2020-08-07 Thread Thierry Reding
On Thu, Aug 06, 2020 at 01:54:31PM +0100, Jon Hunter wrote: > Following commit d8f090dbeafd ("rtc: max77686: Do not allow interrupt to > fire before system resume"), RTC wake-ups stopped working on Jetson TX2 > and Jetson Xavier platforms. The Jetson TX2 uses the max77620 PMIC and > the Jetson Xavi

Re: [PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy

2020-08-07 Thread Greg KH
On Wed, Jun 24, 2020 at 10:15:19PM +0530, Deepak Kumar Singh wrote: > From: Chris Lew > > In RPMSG GLINK the chrdev device will allocate an ept as part of the > rpdev creation. This device will not register endpoint ops even though > it has an allocated ept. Protect against the case where the dev

RE: [PATCH v5 08/10] net: eth: altera: add support for ptp and timestamping

2020-08-07 Thread Ooi, Joyce
> -Original Message- > From: Richard Cochran > Sent: Monday, July 27, 2020 10:29 PM > To: Ooi, Joyce > Cc: Thor Thayer ; David S . Miller > ; Jakub Kicinski ; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Dalon Westergreen > ; Tan, Ley Foon > ; See, Chin Liang ; > Nguyen, Dinh ;

Re: [PATCH v2 21/41] ARM: s3c24xx: move irqchip driver back into platform

2020-08-07 Thread Marc Zyngier
On 2020-08-06 19:20, Krzysztof Kozlowski wrote: From: Arnd Bergmann It was a good idea to move it out at first, but the irqchip code is still tightly connected to the s3c24xx platform code and uses multiple internal header files, so just move it back for the time being to avoid those dependenci

Re: [PATCH] ALSA: usb-audio: Fix memleak in scarlett2_add_new_ctl

2020-08-07 Thread Takashi Iwai
On Fri, 07 Aug 2020 09:12:27 +0200, Dinghao Liu wrote: > > When snd_usb_mixer_add_control() fails, elem needs to be > freed just like when snd_ctl_new1() fails. However, current > code is returning directly and ends up leaking memory. No, this would lead to double-free. snd_ctl_add() shows a kin

Re: [RESEND PATCH] media: atomisp: Replace trace_printk by pr_info

2020-08-07 Thread Mauro Carvalho Chehab
Em Fri, 7 Aug 2020 14:51:12 +0800 Nicolas Boichat escreveu: > On Fri, Aug 7, 2020 at 2:28 PM Greg Kroah-Hartman > wrote: > > > > On Fri, Aug 07, 2020 at 09:50:23AM +0800, Nicolas Boichat wrote: > > > On Fri, Jul 24, 2020 at 8:41 PM Nicolas Boichat > > > wrote: > > > > > > > > On Fri, Jul 1

[PATCH v2] hwmon/pmbus: use simple i2c probe function

2020-08-07 Thread Stephen Kitt
pmbus_do_probe doesn't use the id information provided in its second argument, so this can be removed, which then allows using the single-parameter i2c probe function ("probe_new") for probes. This avoids scanning the identifier tables during probes. Drivers which didn't use the id are converted

[PATCH] ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged

2020-08-07 Thread Kai-Heng Feng
The jack on Intel NUC 8 Rugged rear panel doesn't work. The spec [1] states that the jack supports both headphone and microphone, so override a Pin Complex which has both Amp-In and Amp-Out to make the jack work. Node 0x1b fits the requirement, and user confirmed the jack now works with new pin c

Re: [v4 01/10] crypto: hisilicon/qm - fix wrong release after using strsep

2020-08-07 Thread shenyang (M)
On 2020/8/6 15:23, Markus Elfring wrote: Would you become interested to look if any other software components would be similarly affected? Yeah, I'll check the rest and fix if any and send those in a clean up patch. Thanks, Yang

Re: 答复: 答复: 答复: 答复: 答复: 答复: 答复: [PATCH] iommu/vt-d:Add support for ACPI device in RMRR

2020-08-07 Thread Lu Baolu
Hi, On 2020/8/7 11:29, FelixCui-oc wrote: Hi baolu, I understand what you mean is that you want to put the following processing code in the acpi_device_create_direct_mappings() into the probe_acpi_namespace_devices() ,right? If you mean it , I think it's OK. Y

RE: [PATCH] ASoC: amd: Replacing component->name with codec_dai->name

2020-08-07 Thread RAVULAPATI, VISHNU VARDHAN RAO
-Original Message- From: Mark Brown Sent: Thursday, August 6, 2020 4:59 PM To: RAVULAPATI, VISHNU VARDHAN RAO Cc: Liam Girdwood ; Jaroslav Kysela ; Takashi Iwai ; Agrawal, Akshu ; Kuninori Morimoto ; YueHaibing ; moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM... ;

Re: [PATCH] ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged

2020-08-07 Thread Takashi Iwai
On Fri, 07 Aug 2020 10:05:12 +0200, Kai-Heng Feng wrote: > > The jack on Intel NUC 8 Rugged rear panel doesn't work. > > The spec [1] states that the jack supports both headphone and > microphone, so override a Pin Complex which has both Amp-In and Amp-Out > to make the jack work. > > Node 0x1b

Re: csky: smp_mb__after_spinlock

2020-08-07 Thread peterz
On Fri, Aug 07, 2020 at 08:22:36AM +0800, Guo Ren wrote: > Hi Peter, > > On Thu, Aug 6, 2020 at 3:53 AM wrote: > > > > Hi, > > > > While doing an audit of smp_mb__after_spinlock, I found that csky > > defines it, why? > > > > CSKY only has smp_mb(), it doesn't override __atomic_acquire_fence or >

Linux 4.14.193

2020-08-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.193 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.14.193

2020-08-07 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 60570fad811e..b30927f29e2b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 192 +SUBLEVEL = 193 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/include/asm/percpu.h

Re: [PATCH v2 2/2] leds: pca955x: Add an IBM software implementation of the PCA9552 chip

2020-08-07 Thread Pavel Machek
On Mon 2020-08-03 09:50:55, Eddie James wrote: > IBM created an implementation of the PCA9552 on a PIC16F > microcontroller. The I2C device addresses are different from the > hardware PCA9552, so add a new compatible string and associated > platform data to be able to probe this device. > > Signed

Re: Linux 5.4.57

2020-08-07 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index c33fb4eebd4d..dd753ef637fd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 56 +SUBLEVEL = 57 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/arm/include/asm/perc

Linux 4.19.138

2020-08-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.138 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Linux 5.7.14

2020-08-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.7.14 kernel. All users of the 5.7 kernel series must upgrade. The updated 5.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.7.y and can be browsed at the normal kernel.org git web browser:

Linux 5.4.57

2020-08-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.57 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.138

2020-08-07 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index edf1799c08d2..daaa8ab2f550 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 137 +SUBLEVEL = 138 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm/include/asm/percp

Re: Linux 5.7.14

2020-08-07 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index b77b4332a41a..70942a6541d8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 7 -SUBLEVEL = 13 +SUBLEVEL = 14 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/arm/include/asm/perc

Re: [PATCH v2 2/3] ext4: limit the length of per-inode prealloc list

2020-08-07 Thread brookxu
That is a good suggestion, thanks. thanks. Andreas Dilger wrote on 2020/8/7 16:15: > It would be good to include these performance results in the commit message, > so that the results are available to the patch reviewers and in the future if > this code is changed. > > On Wed, Aug 5, 2020 at 3

Re: [PATCH 2/3] backlight: pwm_bl: Artificially add 0% during interpolation

2020-08-07 Thread daniel
On Mon, Jul 20, 2020 at 09:25:21PM -0700, Alexandru Stan wrote: > Some displays need the low end of the curve cropped in order to make > them happy. In that case we still want to have the 0% point, even though > anything between 0% and 5%(example) would be skipped. > > Signed-off-by: Alexandru Sta

Re: [PATCH v7 1/3] leds: move default_state read from fwnode to core

2020-08-07 Thread Pavel Machek
Hi! > Signed-off-by: Denis Osterland-Heim This tells me you: 1) you are probably not copyright owner 2) you want your company to promise not to sue people, in a legally binding way. > The contents of the above mentioned e-mail is not legally > binding. This e-mail contains confidential and/o

Re: [PATCH v2 net-next] net/tls: allow MSG_CMSG_COMPAT in sendmsg

2020-08-07 Thread Rouven Czerwinski
On Thu, 2020-08-06 at 11:46 -0700, Jakub Kicinski wrote: > On Thu, 6 Aug 2020 08:49:06 +0200 Rouven Czerwinski wrote: > > Trying to use ktls on a system with 32-bit userspace and 64-bit > > kernel > > results in a EOPNOTSUPP message during sendmsg: > > > > setsockopt(3, SOL_TLS, TLS_TX, …, 40)

[no subject]

2020-08-07 Thread Frank Wunderlich
From: Frank Wunderlich Subject: [RFC PATCH 0/2] move/add display relevant nodes to mt7623n based on series from David Woodhouse [1] i moved more display-nodes out of mt7623.dtsi to new mt7623n.dtsi and changed last part from my series [2] to add these nodes to this new dtsi [1] https://patchwor

[PATCH 2/2] arm: dts: mt7623: add display subsystem related device nodes

2020-08-07 Thread Frank Wunderlich
From: Ryder Lee Add display subsystem related device nodes for MT7623. Cc: Chun-Kuang Hu Signed-off-by: chunhui dai Signed-off-by: Bibby Hsieh Signed-off-by: Ryder Lee Signed-off-by: Frank Wunderlich Tested-by: Frank Wunderlich --- changed v4->v5: add nodes to new mt7623n.dtsi to avoid c

[PATCH 1/2] arm: dts: mt7623: move more display-related nodes to mt7623n.dtsi

2020-08-07 Thread Frank Wunderlich
From: Frank Wunderlich mt7623a has no graphics support so move nodes from generic mt7623.dtsi to mt7623n.dtsi Signed-off-by: Frank Wunderlich --- arch/arm/boot/dts/mt7623.dtsi | 99 -- arch/arm/boot/dts/mt7623n.dtsi | 99 ++ 2 fi

[RFC PATCH 0/2] move/add display relevant nodes to mt7623n

2020-08-07 Thread Frank Wunderlich
From: Frank Wunderlich based on series from David Woodhouse [1] i moved more display-nodes out of mt7623.dtsi to new mt7623n.dtsi and changed last part from my series [2] to add these nodes to this new dtsi [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=329209 [2] https://p

Re: [PATCH 2/5] dt-bindings: pwm: renesas,pwm-rcar: Add r8a7742 support

2020-08-07 Thread Geert Uytterhoeven
On Thu, Aug 6, 2020 at 8:32 PM Lad Prabhakar wrote: > Document RZ/G1H (R8A7742) SoC bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of

[PATCH 02/20] media: exynos4-is: media-dev.c: use PTR_ERR_OR_ZERO

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fixes the following coccinelle report: drivers/media/platform/exynos4-is/media-dev.c:1273:1-3: WARNING: PTR_ERR_OR_ZERO can be used By using PTR_ERR_OR_ZERO in place of the existing logic. Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Daniel

[PATCH 03/20] media: usb: uvc_ctrl.c: add temp variable for list iteration

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fixes the following coccinelle report: drivers/media/usb/uvc/uvc_ctrl.c:1860:5-11: ERROR: invalid reference to the index variable of the iterator on line 1854 By introducing a temporary variable to iterate the list. Do not dereference the 'entity' pointer if it is

[PATCH 05/20] media: cobalt: cobalt-omnitek.c: fix comparison to bool

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/pci/cobalt/cobalt-omnitek.c:119:5-19: WARNING: Comparison to bool By using "!cond" instead of "cond == false" Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Daniel W. S. Almeida --- drivers/

  1   2   3   4   5   6   7   8   9   10   >