drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister'

2020-12-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 614cb5894306cfa2c7d9b6168182876ff5948735 commit: 72cdab808714b1ec24b0c7bdebed163ce791f01f ath9k: Do not select MAC80211_LEDS by default date: 4 months ago config: i386-randconfig-a014-20201223 (attached

Re: [rcu:rcu/test 138/143] rcutorture.c:(.text.rcu_torture_reader_do_mbchk+0x30): undefined reference to `torture_num_online_cpus'

2020-12-23 Thread Paul E. McKenney
On Wed, Dec 23, 2020 at 10:14:02PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > rcu/test > head: 4c4c8e04a7f8522de634aa062f4cd6b8b80c151b > commit: cf516f4063cae6b69de6dd734d6c57901d24f112 [138/143] torture: Maintain > torture

update.c:undefined reference to `irq_work_queue'

2020-12-23 Thread kernel test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 614cb5894306cfa2c7d9b6168182876ff5948735 commit: b38f57c1fe64276773b124dffb0a139cc32ab3cb rcu-tasks: Allow rcu_read_unlock_trace() under scheduler locks date:

Re: [PATCH v2 1/7] iommu/io-pgtable: Introduce dynamic io-pgtable fmt registration

2020-12-23 Thread isaacm
On 2020-12-23 05:44, Robin Murphy wrote: On 2020-12-22 19:54, isa...@codeaurora.org wrote: On 2020-12-22 11:27, Robin Murphy wrote: On 2020-12-22 00:44, Isaac J. Manjarres wrote: The io-pgtable code constructs an array of init functions for each page table format at compile time. This is not i

Re: [PATCH] rcu: Fix dynticks_nmi_nesting underflow check in rcu_is_cpu_rrupt_from_idle

2020-12-23 Thread Paul E. McKenney
On Wed, Dec 23, 2020 at 02:09:37PM +0530, Neeraj Upadhyay wrote: > For the smp_call_function() optimization, where callbacks can run from > idle context, in commit 806f04e9fd2c ("rcu: Allow for smp_call_function() > running callbacks from idle"), an additional check is added in > rcu_is_cpu_rrupt_f

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 614cb5894306cfa2c7d9b6168182876ff5948735 commit: 8f28ca6bd8211214faf717677bbffe375c2a6072 iomap: constify ioreadX() iomem argument (as in generic implementation) date: 4 months ago config: i386-randconfig-

Re: [PATCH v23 01/15] mm: Introduce Data Access MONitor (DAMON)

2020-12-23 Thread Shakeel Butt
First I would like you to prune your To/CC list. On Tue, Dec 15, 2020 at 3:56 AM SeongJae Park wrote: > > From: SeongJae Park > > DAMON is a data access monitoring framework for the Linux kernel. The > core mechanisms of DAMON make it > > - accurate (the monitoring output is useful enough for

Re: [PATCH v23 04/15] mm/idle_page_tracking: Make PG_idle reusable

2020-12-23 Thread Shakeel Butt
On Tue, Dec 15, 2020 at 3:57 AM SeongJae Park wrote: > > From: SeongJae Park > > PG_idle and PG_young allow the two PTE Accessed bit users, Idle Page > Tracking and the reclaim logic concurrently work while don't interfere > each other. That is, when they need to clear the Accessed bit, they set

Re: [PATCH v2 3/7] iommu/arm-smmu: Add dependency on io-pgtable format modules

2020-12-23 Thread isaacm
On 2020-12-23 05:05, Robin Murphy wrote: On 2020-12-22 19:49, isa...@codeaurora.org wrote: On 2020-12-22 11:27, Robin Murphy wrote: On 2020-12-22 00:44, Isaac J. Manjarres wrote: The SMMU driver depends on the availability of the ARM LPAE and ARM V7S io-pgtable format code to work properly. In

Re: [PATCH v2] kconfig: config script: add a little user help

2020-12-23 Thread Masahiro Yamada
On Sun, Dec 20, 2020 at 2:08 AM Randy Dunlap wrote: > > Give the user a clue about the problem along with the 35 lines of > usage/help text. > > Signed-off-by: Randy Dunlap > Cc: Andi Kleen > Cc: Masahiro Yamada > Cc: linux-kbu...@vger.kernel.org > --- > v2: spell out "command" & send to STDERR

Re: [PATCH v2] kernel: locking: delete repeated words in comments

2020-12-23 Thread Will Deacon
On Sun, Dec 20, 2020 at 08:40:48PM -0800, Randy Dunlap wrote: > Drop repeated words in kernel/locking/. > {it, no, the} > > Signed-off-by: Randy Dunlap > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Will Deacon > --- > v2: rebase, resend > > kernel/locking/rtmutex.c |4 ++-- > kernel/loc

Re: [PATCH -next] intel/iwlwifi: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Heiner Kallweit
On 23.12.2020 15:11, Zheng Yongjun wrote: > Signed-off-by: Zheng Yongjun > --- > drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-drv.c > b/drivers/net/wireless/intel/iwlwifi/iwl-drv.c

Re: [PATCH -tip V2 00/10] workqueue: break affinity initiatively

2020-12-23 Thread Lai Jiangshan
On Wed, Dec 23, 2020 at 5:39 AM Dexuan-Linux Cui wrote: > > On Fri, Dec 18, 2020 at 8:11 AM Lai Jiangshan wrote: > > > > From: Lai Jiangshan > > > > 06249738a41a ("workqueue: Manually break affinity on hotplug") > > said that scheduler will not force break affinity for us. > > > > But workqueue

Re: [PATCH] csky: Fix a size determination in gpr_get()

2020-12-23 Thread Guo Ren
Hi Zhengzhong, I'll take it, thx. On Wed, Dec 23, 2020 at 10:31 AM Zhenzhong Duan wrote: > > On Wed, Sep 23, 2020 at 12:52 PM Al Viro wrote: > > > > On Wed, Sep 23, 2020 at 10:37:31AM +0800, Guo Ren wrote: > > > > > > What's going on there? The mapping is really weird - assuming > > > > you ha

Re: scripts/gdb: issues when loading modules after lx-symbols

2020-12-23 Thread Stefano Garzarella
On Mon, Oct 5, 2020 at 3:03 PM Stefano Garzarella wrote: > On Mon, Oct 05, 2020 at 01:48:35PM +0200, Jan Kiszka wrote: > > On 05.10.20 13:05, Stefano Garzarella wrote: > > > On Mon, Oct 05, 2020 at 11:45:41AM +0200, Jan Kiszka wrote: > > >> On 05.10.20 11:29, Stefano Garzarella wrote: > > >>> On M

Re: [PATCH] epoll: fix compat syscall wire up of epoll_pwait2

2020-12-23 Thread Will Deacon
On Sun, Dec 20, 2020 at 10:58:30AM +0100, Heiko Carstens wrote: > Commit b0a0c2615f6f ("epoll: wire up syscall epoll_pwait2") wired up > the 64 bit syscall instead of the compat variant in a couple of places. > > Cc: Willem de Bruijn > Cc: Al Viro > Cc: Arnd Bergmann > Cc: Matthew Wilcox (Oracl

[PATCH net 1/2] net: mrp: fix definitions of MRP test packets

2020-12-23 Thread Rasmus Villemoes
Wireshark says that the MRP test packets cannot be decoded - and the reason for that is that there's a two-byte hole filled with garbage between the "transitions" and "timestamp" members. So Wireshark decodes the two garbage bytes and the top two bytes of the timestamp written by the kernel as the

[PATCH net 2/2] net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP

2020-12-23 Thread Rasmus Villemoes
It's not true that switchdev_port_obj_notify() only inspects the ->handled field of "struct switchdev_notifier_port_obj_info" if call_switchdev_blocking_notifiers() returns 0 - there's a WARN_ON() triggering for a non-zero return combined with ->handled not being true. But the real problem here is

[PATCH net 0/2] MRP without hardware offload?

2020-12-23 Thread Rasmus Villemoes
Hi Horatiu and net folks I'm having quite some trouble getting MRP working in a simple setup involving three mv88e6250 switches in a ring, with one node set as manager and the other two as clients. I'm reasonably confident these two patches are necessary and correct (though the second one affects

[PATCH] kvm: tracing: Fix unmatched kvm_entry and kvm_exit events

2020-12-23 Thread Dario Faggioli
From: Lorenzo Brescia On VMX, if we exit and then re-enter immediately without leaving the vmx_vcpu_run() function, the kvm_entry event is not logged. That means we will see one (or more) kvm_exit, without its (their) corresponding kvm_entry, as shown here: CPU-1979 [002] 89.871187: kvm_entry:

Re: [RESEND] usb: dwc3: meson-g12a: disable clk on error handling path in probe

2020-12-23 Thread Zheng Zengkai
Hi Greg, On Wed, Dec 23, 2020 at 10:13:03AM +0800, Zheng Zengkai wrote: Hi everyone, Friendly ping: Just want to know why this patch was ignored, Right now it is the merge window and we can't do anything with any patches until 5.11-rc1 is out. After that happens, I'll work on catching up on

[PATCH v4 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-23 Thread Bhaskara Budiredla
This patch introduces to mmcpstore. The functioning of mmcpstore is similar to mtdpstore. mmcpstore works on FTL based flash devices whereas mtdpstore works on raw flash devices. When the system crashes, mmcpstore stores the kmsg panic and oops logs to a user specified MMC device. It collects the

[PATCH v4 2/2] mmc: cavium: Add MMC polling method to support kmsg panic/oops write

2020-12-23 Thread Bhaskara Budiredla
To enable the writing of panic and oops logs, a cavium specific MMC polling method is defined and thereby ensure the functioning of mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/host/cavium-thunderx.c | 10 + drivers/mmc/host/cavium.c | 67

Re: [PATCH v3] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2020-12-23 Thread Alexander Potapenko
> > Michan, We would still need config option so that we can reduce the > memory consumption on low ram devices using config. > > Alex, On this, > "I also suppose device vendors may prefer setting a fixed (maybe > non-default) hash size for low-memory devices rather than letting the > admins increa

[PATCH v4 0/2] mmc: support crash logging to MMC block devices

2020-12-23 Thread Bhaskara Budiredla
This patch introduces to mmcpstore. v4: - Fix claiming host if host was already held or if the device claiming host is not runtime active v3: - Justify new host ops requirement through commit msg - Remove 'default n' in Kconfig v2: - Fix modpost issue with ARCH=sh - Fix usage of ifdefs i

[PATCH] ACPI / scan: Don't create platform device for INT3515 ACPI nodes

2020-12-23 Thread Heikki Krogerus
There are several reports about the tps6598x causing interrupt flood on boards with the INT3515 ACPI node, which then causes instability. There appears to be several problems with the interrupt. One problem is that the I2CSerialBus resources do not always map to the Interrupt resource with the same

[PATCH v2] vhost/vsock: add IOTLB API support

2020-12-23 Thread Stefano Garzarella
This patch enables the IOTLB API support for vhost-vsock devices, allowing the userspace to emulate an IOMMU for the guest. These changes were made following vhost-net, in details this patch: - exposes VIRTIO_F_ACCESS_PLATFORM feature and inits the iotlb device if the feature is acked - implemen

Re: drivers/char/random.c needs a (new) maintainer

2020-12-23 Thread Jason A. Donenfeld
On Wed, Dec 23, 2020 at 3:17 PM Petr Tesarik wrote: > Upfront, let me admit that SUSE has a vested interest in a FIPS-certifiable > Linux kernel. Sorry, but just because you have a "vested interest", or a financial interest, or because you want it does not suddenly make it a good idea. The idea

Re: [RFC PATCH v2 8/8] arm64: dts: sparx5: Add the Sparx5 switch node

2020-12-23 Thread Steen Hegelund
On 19.12.2020 21:24, Andrew Lunn wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe + port13: port@13 { + reg = <13>; + /* Example: CU SFP, 1G speed */ + max-speed = <1>;

Re: k10temp: ZEN3 readings are broken

2020-12-23 Thread Guenter Roeck
On 12/23/20 2:41 AM, Jan Engelhardt wrote: > > On Tuesday 2020-12-22 04:58, Guenter Roeck wrote: >> On 12/21/20 5:45 PM, Gabriel C wrote: >>> Hello Guenter, >>> >>> while trying to add ZEN3 support for zenpower out of tree modules, I find >>> out >>> the in-kernel k10temp driver is broken with ZE

Re: [PATCH -next] md: bcache: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Coly Li
On 12/23/20 10:12 PM, Zheng Yongjun wrote: > Signed-off-by: Zheng Yongjun NACK. The commit log is necessary to explain why it is too late, IMHO I don't find the implicit reason from the patch. Coly Li > --- > drivers/md/bcache/super.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >

Re: [PATCH phy] PHY: Ingenic: fix unconditional build of phy-ingenic-usb

2020-12-23 Thread Zhou Yanjie
Hi Alexander, On 2020/12/22 下午9:10, Alexander Lobakin wrote: Currently drivers/phy/ingenic/Makefile adds phy-ingenic-usb to targets not depending on actual Kconfig symbol CONFIG_PHY_INGENIC_USB, so this driver always gets built[-in] on every system. Add missing dependency. Fixes: 31de313dfdcf (

Re: [PATCH -next] usb: host: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Greg KH
On Wed, Dec 23, 2020 at 10:11:09PM +0800, Zheng Yongjun wrote: > Signed-off-by: Zheng Yongjun > --- > drivers/usb/host/u132-hcd.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Again, dropped, due to lack of changelog text :(

Re: [PATCH -next] staging: most: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Greg KH
On Wed, Dec 23, 2020 at 10:11:38PM +0800, Zheng Yongjun wrote: > Signed-off-by: Zheng Yongjun > --- > drivers/staging/most/net/net.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Again, no changelog text? And why are you not cc:ing the developers and maintainers of the code you are

Re: [PATCH] phy: ingenic: Remove useless field .version

2020-12-23 Thread Zhou Yanjie
Hi Paul, On 2020/12/23 下午8:45, Paul Cercueil wrote: Remove the useless field .version from the private structure, which is set but never read. Signed-off-by: Paul Cercueil --- drivers/phy/ingenic/phy-ingenic-usb.c | 23 --- 1 file changed, 23 deletions(-) Reviewed-by:

Re: [PATCH -next] staging: vc04_services: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Greg KH
On Wed, Dec 23, 2020 at 10:11:29PM +0800, Zheng Yongjun wrote: > Signed-off-by: Zheng Yongjun > --- > .../vc04_services/interface/vchiq_arm/vchiq_connected.c| 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) I can not take patches without any changelog text :(

Re: [PATCH AUTOSEL 5.4 008/130] staging: wimax: depends on NET

2020-12-23 Thread Sasha Levin
On Wed, Dec 23, 2020 at 08:29:39AM +0100, Greg Kroah-Hartman wrote: On Tue, Dec 22, 2020 at 09:16:11PM -0500, Sasha Levin wrote: From: Randy Dunlap [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): ld: drivers/stagin

Re: [PATCH -next] usb: misc: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Greg KH
On Wed, Dec 23, 2020 at 10:10:44PM +0800, Zheng Yongjun wrote: > Signed-off-by: Zheng Yongjun > --- > drivers/usb/misc/ftdi-elan.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) I can not take patches without any changelog text, sorry. And try including the driver name in the subject

Re: [PATCH AUTOSEL 5.4 057/130] ALSA: usb-audio: Check valid altsetting at parsing rates for UAC2/3

2020-12-23 Thread Sasha Levin
On Wed, Dec 23, 2020 at 08:09:41AM +0100, Takashi Iwai wrote: On Wed, 23 Dec 2020 03:17:00 +0100, Sasha Levin wrote: From: Takashi Iwai [ Upstream commit 93db51d06b32227319dae2ac289029ccf1b33181 ] The current driver code assumes blindly that all found sample rates for the same endpoint from

[PATCH -next] tty: n_gsm: Use DEFINE_SPINLOCK() for spinlock

2020-12-23 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/tty/n_gsm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index 25f3152089

[PATCH -next] scsi: megaraid: Use DEFINE_SPINLOCK() for spinlock

2020-12-23 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/scsi/megaraid/megaraid_sas_base.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_b

[PATCH -next] s390: cio: Use DEFINE_SPINLOCK() for spinlock

2020-12-23 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/s390/cio/css.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index cc

Re: [PATCH AUTOSEL 4.14 40/66] hv_netvsc: Validate number of allocated sub-channels

2020-12-23 Thread Sasha Levin
On Wed, Dec 23, 2020 at 09:59:31AM +0100, Andrea Parri wrote: On Wed, Dec 23, 2020 at 02:47:56AM +, Michael Kelley wrote: From: Sasha Levin Sent: Tuesday, December 22, 2020 6:22 PM > > From: "Andrea Parri (Microsoft)" > > [ Upstream commit 206ad34d52a2f1205c84d08c12fc116aad0eb407 ] > > Lac

[PATCH -next] soc: fsl: qe: Use DEFINE_SPINLOCK() for spinlock

2020-12-23 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/soc/fsl/qe/qe_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/fsl/qe/qe_common.c b/drivers/soc/fsl

Re: [PATCH AUTOSEL 4.4 03/38] staging: wimax: depends on NET

2020-12-23 Thread Sasha Levin
On Tue, Dec 22, 2020 at 06:38:01PM -0800, Jakub Kicinski wrote: On Tue, 22 Dec 2020 21:24:41 -0500 Sasha Levin wrote: From: Randy Dunlap [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): This one can be dropped, bef

[PATCH -next] soc: ixp4xx: Use DEFINE_SPINLOCK() for spinlock

2020-12-23 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/ixp4xx/ixp4xx-qmgr.c b/drivers/soc

[rcu:rcu/test 138/143] rcutorture.c:(.text.rcu_torture_reader_do_mbchk+0x30): undefined reference to `torture_num_online_cpus'

2020-12-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test head: 4c4c8e04a7f8522de634aa062f4cd6b8b80c151b commit: cf516f4063cae6b69de6dd734d6c57901d24f112 [138/143] torture: Maintain torture-specific set of CPUs-online books config: mips-randconfig-r024-20201221 (att

[PATCH -next] tty: serial: Use DEFINE_SPINLOCK() for spinlock

2020-12-23 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/tty/serial/icom.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.

[PATCH -next] video: fbdev: omap2: Use DEFINE_SPINLOCK() for spinlock

2020-12-23 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/video/fbdev/omap2/omapfb/dss/apply.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/

[PATCH -next] usb: usbip: Use DEFINE_SPINLOCK() for spinlock

2020-12-23 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/usb/usbip/stub_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/usbip/stub_main.c b/drivers/usb/usbi

[PATCH -next] dlm: debug_fs: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- fs/dlm/debug_fs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index d6bbccb0ed15..7a6fa8ac6f50 100644 --- a/fs/dlm/debug_fs.c +++ b/fs/dlm/debug_fs.c @@ -20,7 +20,7 @@ #define DLM_DEBUG_BUF_LEN 409

Re: [PATCH v4 5/5] clk: Ingenic: Clean up and reformat the code.

2020-12-23 Thread Zhou Yanjie
Hi Paul, On 2020/12/23 下午8:39, Paul Cercueil wrote: Hi Zhou, Le lun. 21 déc. 2020 à 23:52, 周琰杰 (Zhou Yanjie) a écrit : 1.When the clock does not have "CGU_CLK_MUX", the 2/3/4 bits in   parents do not need to be filled with -1. When the clock have   a "CGU_CLK_MUX" has only one bit, the 3/4 b

[PATCH -next] dlm: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- fs/dlm/lockspace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index 624617c12250..2b3c32f2d29d 100644 --- a/fs/dlm/lockspace.c +++ b/fs/dlm/lockspace.c @@ -26,7 +26,7 @@ #include "ast.h" static

[PATCH -next] dma: idxd: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/dma/idxd/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/idxd/init.c b/drivers/dma/idxd/init.c index 0a4432b063b5..2297c93dd527 100644 --- a/drivers/dma/idxd/init.c +++ b/drivers/dma/idxd/init.c @@ -27,7 +27,7 @@ MO

[PATCH -next] ext4: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- fs/ext4/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 94472044f4c1..8776f06a639d 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -59,7 +59,7 @@ #include static struct ext4_lazy_init

[PATCH -next] ecryptfs: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- fs/ecryptfs/crypto.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 0681540c48d9..be906b9bbb11 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c @@ -1590,11 +1590,10 @@ ecryptfs_pr

[PATCH -next] mlx5: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/infiniband/hw/mlx5/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 246e3cbe0b2c..8a260773722f 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/dr

[PATCH -next] hwtracing: stm: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/hwtracing/stm/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c index 2712e699ba08..84c4af6c6dd6 100644 --- a/drivers/hwtracing/stm/core.c +++ b/drivers/hwtracing/stm/co

[PATCH -next] drm: gma500: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/gpu/drm/gma500/power.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/power.c b/drivers/gpu/drm/gma500/power.c index bea8578846d1..b361e41c6acd 100644 --- a/drivers/gpu/drm/gma500/power.c +++ b/drivers/gpu/drm/

[PATCH -next] md: bcache: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/md/bcache/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index 46a00134a36a..963d62a15f37 100644 --- a/drivers/md/bcache/super.c +++ b/drivers/md/bcache/super.c @@ -40,7 +

[PATCH -next] atmel/at76c50x-usb: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/net/wireless/atmel/at76c50x-usb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/atmel/at76c50x-usb.c b/drivers/net/wireless/atmel/at76c50x-usb.c index 404257800033..7582761c61e2 100644 --- a/drivers/net/wirele

[PATCH -next] misc: ocxl: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/misc/ocxl/file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/misc/ocxl/file.c b/drivers/misc/ocxl/file.c index 4d1b44de1492..e70525eedaae 100644 --- a/drivers/misc/ocxl/file.c +++ b/drivers/misc/ocxl/file.c @@ -15,7 +15,7

[PATCH -next] intel/iwlwifi: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-drv.c b/drivers/net/wireless/intel/iwlwifi/iwl-drv.c index 9dcd2e990c9c..71119044382f 100644 --- a/drivers/n

[PATCH -next] staging: most: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/staging/most/net/net.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/most/net/net.c b/drivers/staging/most/net/net.c index b6fecb06a0e6..f125bb6da406 100644 --- a/drivers/staging/most/net/net.c +++ b/drivers/staging/

[PATCH -next] platform/chrome: cros_ec_lpc_mec: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/platform/chrome/cros_ec_lpc_mec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/platform/chrome/cros_ec_lpc_mec.c b/drivers/platform/chrome/cros_ec_lpc_mec.c index 9035b17e8c86..bbc2884f5e2f 100644 --- a/drivers/platform/ch

[PATCH -next] staging: vc04_services: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- .../vc04_services/interface/vchiq_arm/vchiq_connected.c| 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_con

[PATCH -next] scsi: target: iscsi: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/target/iscsi/iscsi_target.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c index 518fac4864cf..b33726229f94 100644 --- a/drivers/target/iscsi/iscsi_target.c +

[PATCH -next] usb: host: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/usb/host/u132-hcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 995bc52d2d22..fb692719a03a 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c

Re: drivers/char/random.c needs a (new) maintainer

2020-12-23 Thread Petr Tesarik
On Wed, 23 Dec 2020 13:28:51 +0100 Torsten Duwe wrote: >[...] > > collaboration and disengage people. More than simply reviewing patches > > I would expect a maintainer to give directions and drive the > > community. Asking Jason to review Nicolai's patches was a step towards > > that, but I beli

[PATCH -next] video: backlight: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/video/backlight/backlight.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c index 537fe1b376ad..d7a09c422547 100644 --- a/drivers/video/backlight/backlight.c +

[PATCH -next] vermilion.c: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/video/fbdev/vermilion/vermilion.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/vermilion/vermilion.c b/drivers/video/fbdev/vermilion/vermilion.c index ff61605b8764..cf41f3c50af8 100644 --- a/drivers/video/fbdev

[PATCH -next] usb: misc: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Zheng Yongjun
Signed-off-by: Zheng Yongjun --- drivers/usb/misc/ftdi-elan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index 8a3d9c0c8d8b..bfb538f2cac1 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-el

Re: [PATCH v4 4/5] clk: Ingenic: Add missing clocks for Ingenic SoCs.

2020-12-23 Thread Zhou Yanjie
Hi Paul, On 2020/12/23 下午8:29, Paul Cercueil wrote: Hi Zhou, Le lun. 21 déc. 2020 à 23:52, 周琰杰 (Zhou Yanjie) a écrit : Add CIM, AIC, DMIC, I2S clocks for the X1000 SoC and the X1830 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes:     v1->v2:     Add I2S clock for X1000.    

Re: [RFC PATCH v2 5/8] net: sparx5: add switching, vlan and mactable support

2020-12-23 Thread Steen Hegelund
Hi Andrew, On 21.12.2020 01:25, Andrew Lunn wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe +++ b/drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c + +static inline int sparx5_mact_get_status(struct sparx5 *sparx5) +{ + return spx5_r

Re: [PATCH] afs: Work around strnlen() oops with CONFIG_FORTIFIED_SOURCE=y

2020-12-23 Thread David Howells
Apologies, this is the old version. I meant to post the new one. David

[PATCH] afs: Work around strnlen() oops with CONFIG_FORTIFIED_SOURCE=y

2020-12-23 Thread David Howells
AFS has a structured layout in its directory contents (AFS dirs are downloaded as files and parsed locally by the client for lookup/readdir). The slots in the directory are defined by union afs_xdr_dirent. This, however, only directly allows a name of a length that will fit into that union. To su

[PATCH 2/2] afs: Fix directory entry size calculation

2020-12-23 Thread David Howells
The number of dirent records used by an AFS directory entry should be calculated using the assumption that there is a 16-byte name field in the first block, rather than a 20-byte name field (which is actually the case). This miscalculation is historic and effectively standard, so we have to use it.

[PATCH 1/2] afs: Work around strnlen() oops with CONFIG_FORTIFIED_SOURCE=y

2020-12-23 Thread David Howells
AFS has a structured layout in its directory contents (AFS dirs are downloaded as files and parsed locally by the client for lookup/readdir). The slots in the directory are defined by union afs_xdr_dirent. This, however, only directly allows a name of a length that will fit into that union. To su

Re: [PATCH v2 1/7] iommu/io-pgtable: Introduce dynamic io-pgtable fmt registration

2020-12-23 Thread Robin Murphy
On 2020-12-22 19:54, isa...@codeaurora.org wrote: On 2020-12-22 11:27, Robin Murphy wrote: On 2020-12-22 00:44, Isaac J. Manjarres wrote: The io-pgtable code constructs an array of init functions for each page table format at compile time. This is not ideal, as this increases the footprint of t

[PATCH v4 7/7] ARM: dts: exynos: Add top-off charging regulator node for i9100

2020-12-23 Thread Timon Baetz
Value taken from Galaxy S2 Epic 4G Touch SPH-D710 Android vendor kernel [0] which always sets 200mA. Also rearrange regulators based on definition in max8997.h. [0] https://github.com/krzk/linux-vendor-backup/blob/samsung/galaxy-s2-epic-4g-touch-sph-d710-exynos4210-dump/drivers/power/sec_battery

[PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-23 Thread Timon Baetz
Register for extcon notification and set charging current depending on the detected cable type. Current values are taken from vendor kernel, where most charger types end up setting 650mA [0]. Also enable and disable the CHARGER regulator based on extcon events. [0] https://github.com/krzk/linux-

[PATCH v4 5/7] ARM: dts: exynos: Added muic and charger nodes for i9100

2020-12-23 Thread Timon Baetz
muic node is only used for extcon consumers. charger node is used to specify muic and regulator. Signed-off-by: Timon Baetz --- arch/arm/boot/dts/exynos4210-i9100.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exyno

[PATCH v4 6/7] ARM: dts: exynos: Fix charging regulator voltage and current for i9100

2020-12-23 Thread Timon Baetz
Set CHARGER current and CHARGER_CV voltage according to Galaxy S2 Epic 4G Touch SPH-D710 Android vendor sources [0,1]. Remove regulator-always-on. The regulator can be enabled and disabled based on extcon events. [0] https://github.com/krzk/linux-vendor-backup/blob/samsung/galaxy-s2-epic-4g-touc

[PATCH v4 3/7] mfd: max8997: Add of_compatible to extcon and charger mfd_cell

2020-12-23 Thread Timon Baetz
Add of_compatible ("maxim,max8997-muic") to the mfd_cell to have a of_node set in the extcon driver. Add of_compatible ("maxim,max8997-battery") to the mfd_cell to configure the charger driver. Signed-off-by: Timon Baetz --- drivers/mfd/max8997.c | 4 ++-- 1 file changed, 2 insertions(+), 2 del

[PATCH v4 1/7] extcon: max8997: Add CHGINS and CHGRM interrupt handling

2020-12-23 Thread Timon Baetz
This allows the MAX8997 charger to set the current limit depending on the detected extcon charger type. Signed-off-by: Timon Baetz --- drivers/extcon/extcon-max8997.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 3

[PATCH v4 2/7] regulator: dt-bindings: Document max8997-pmic nodes

2020-12-23 Thread Timon Baetz
Add maxim,max8997-battery and maxim,max8997-muic optional nodes. Signed-off-by: Timon Baetz --- .../bindings/regulator/max8997-regulator.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/max8997-regulator.txt b/Documentatio

Re: [PATCH v6 11/11] media: uvcvideo: use dev_printk() for uvc_trace()

2020-12-23 Thread Ricardo Ribalda
Hi Joe On Wed, Dec 23, 2020 at 12:30 PM Joe Perches wrote: > > Perhaps this on top. > > trace isn't a good name as it's not a trace mechanism, it is a > typical debug mechanism. > > Rename uvc_trace/uvc_trace_cont macros to uvc_dbg/uvc_dbg_cont. > Rename uvc_trace_param to uvc_dbg_param > Rename

[PATCH v7 11/12] media: uvcvideo: Rename debug functions

2020-12-23 Thread Ricardo Ribalda
From: Joe Perches trace isn't a good name as it's not a trace mechanism, it is a typical debug mechanism. Rename uvc_trace/uvc_trace_cont macros to uvc_dbg/uvc_dbg_cont. Rename uvc_trace_param to uvc_dbg_param Rename UVC_TRACE_ defines to UVC_DBG_ Use ## concatenation in uvc_dbg macros to avoid

[PATCH v7 10/12] media: uvcvideo: use dev_printk() for uvc_trace()

2020-12-23 Thread Ricardo Ribalda
Instead of calling prink() inside uvc_trace, use dev_printk(), which adds context to the output. Now that we are at it, regroup the strings so the messages can be easily "grepable". Reviewed-by: Laurent Pinchart Suggested-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda --- drivers/media/u

[PATCH v7 12/12] media: uvcvideo: Implement UVC_QUIRK_PRIVACY_DURING_STREAM

2020-12-23 Thread Ricardo Ribalda
Some devices can only read the privacy_pin if the device is streaming. This patch implement a quirk for such devices, in order to avoid invalid reads and/or spurious events. Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_driver.c | 55 +++--- drivers/media/

[PATCH v7 07/12] media: uvcvideo: Add Privacy control based on EXT_GPIO

2020-12-23 Thread Ricardo Ribalda
Add a new control and mapping for Privacy controls connected to UVC_GUID_EXT_GPIO_CONTROLLERs. Reviewed-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/media/usb/uvc/uvc_ctrl

[PATCH v7 02/12] media: uvcvideo: Allow extra entities

2020-12-23 Thread Ricardo Ribalda
Increase the size of the id, to avoid collisions with entities implemented by the driver that are not part of the UVC device. Entities exposed by the UVC device use IDs 0-255, extra entities implemented by the driver (such as the GPIO entity) use IDs 256 and up. Reviewed-by: Laurent Pinchart Sig

[PATCH v7 08/12] media: uvcvideo: Use dev_ printk aliases

2020-12-23 Thread Ricardo Ribalda
Replace all the uses of printk() and uvc_printk() with its equivalent dev_ alias macros. Modify uvc_warn_once() macro to use dev_info instead printk(). They are more standard across the kernel tree and provide more context about the error. Reviewed-by: Laurent Pinchart Suggested-by: Joe Perches

[PATCH v7 06/12] media: uvcvideo: Implement UVC_EXT_GPIO_UNIT

2020-12-23 Thread Ricardo Ribalda
Some devices can implement a physical switch to disable the input of the camera on demand. Think of it like an elegant privacy sticker. The system can read the status of the privacy switch via a GPIO. It is important to know the status of the switch, e.g. to notify the user when the camera will p

[PATCH v7 09/12] media: uvcvideo: New macro uvc_trace_cont

2020-12-23 Thread Ricardo Ribalda
Remove all the duplicated code around printk(KERN_CONT, with a new macro. Reviewed-by: Laurent Pinchart Suggested-by: Joe Perches Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_driver.c | 57 +++--- drivers/media/usb/uvc/uvcvideo.h | 6 2 files cha

[PATCH v7 05/12] media: uvcvideo: Allow entity-defined get_info and get_cur

2020-12-23 Thread Ricardo Ribalda
Allows controls to get their properties and current value from an entity-defined function instead of via a query to the USB device. Reviewed-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 22 ++ drivers/media/usb/uvc/uvcvideo.h |

[PATCH v7 03/12] media: uvcvideo: Allow entities with no pads

2020-12-23 Thread Ricardo Ribalda
Avoid an underflow while calculating the number of inputs for entities with zero pads. Reviewed-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_driver.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_driver.

[PATCH v7 00/12] Show privacy_gpio as a v4l2_ctrl

2020-12-23 Thread Ricardo Ribalda
Some devices can implement a physical switch to disable the input of the camera on demand. Think of it like an elegant privacy sticker. The system can read the status of the privacy switch via a GPIO. The ACPI table maps this GPIO to the USB device via _CRS and _DSD descriptors, so the kernel can

[PATCH v7 01/12] media: uvcvideo: Move guid to entity

2020-12-23 Thread Ricardo Ribalda
Instead of having multiple copies of the entity guid on the code, move it to the entity structure. Reviewed-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 30 -- drivers/media/usb/uvc/uvc_driver.c | 25 +++

[PATCH v7 04/12] media: uvcvideo: Provide sync and async uvc_ctrl_status_event

2020-12-23 Thread Ricardo Ribalda
Split the functionality of void uvc_ctrl_status_event_work in two, so it can be called by functions outside interrupt context and not part of an URB. Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 25 +++-- drivers/media/usb/uvc/uvc_status.c | 3 ++-

<    1   2   3   4   5   6   7   8   >