Re: [PATCH v2 06/19] dt-bindings: media: sun6i-a31-csi: Add MIPI CSI-2 input port

2020-12-08 Thread Rob Herring
On Wed, Dec 02, 2020 at 03:16:44PM +0100, Paul Kocialkowski wrote: > Hi, > > On Tue 01 Dec 20, 11:43, Maxime Ripard wrote: > > On Sat, Nov 28, 2020 at 03:28:26PM +0100, Paul Kocialkowski wrote: > > > The A31 CSI controller supports two distinct input interfaces: > > > parallel and an external MIPI

Re: [PATCH 03/22] keembay-ipc: Add Keem Bay IPC module

2020-12-08 Thread Greg KH
On Tue, Dec 08, 2020 at 06:59:09PM +, Daniele Alessandrelli wrote: > Hi Greg, > > Thanks for your feedback. > > On Wed, 2020-12-02 at 07:19 +0100, Greg KH wrote: > > On Tue, Dec 01, 2020 at 02:34:52PM -0800, mgr...@linux.intel.com wrote: > > > From: Daniele Alessandrelli > > > > > > On the

Re: linux-next: build failure after merge of the scsi-mkp tree

2020-12-08 Thread Bart Van Assche
On 12/8/20 9:55 AM, Alan Stern wrote: Yes, that certainly is the proper fix. It's all to easy to miss these issues that depend on your kernel configuration. Bart, can you fold it into a new version of the patch? Sure, I will do that. Thanks, Bart.

[PATCH] powerpc/rtas: fix typo of ibm,open-errinjct in rtas filter

2020-12-08 Thread Tyrel Datwyler
Commit bd59380c5ba4 ("powerpc/rtas: Restrict RTAS requests from userspace") introduced the following error when invoking the errinjct userspace tool. [root@ltcalpine2-lp5 librtas]# errinjct open [327884.071171] sys_rtas: RTAS call blocked - exploit attempt? [327884.071186] sys_rtas: token=0x26, na

Re: [PATCH 1/6] seq_file: add seq_read_iter

2020-12-08 Thread Greg KH
On Tue, Dec 08, 2020 at 10:34:45AM -0800, Linus Torvalds wrote: > On Tue, Dec 8, 2020 at 8:35 AM Christoph Hellwig wrote: > > > > > > Shouldn't this go to Linus before v5.10 is released? > > > > ping? > > So by now I'm a bit worried about this series, because the early fixes > caused more problem

Re: [PATCH v2 3/8] net: macb: add function to disable all macb clocks

2020-12-08 Thread Andrew Lunn
Hi Claudiu > static int macb_clk_init(struct platform_device *pdev, struct clk **pclk, >struct clk **hclk, struct clk **tx_clk, >struct clk **rx_clk, struct clk **tsu_clk) > @@ -3743,40 +3753,37 @@ static int macb_clk_init(struct platform_device >

Re: [PATCH v3 09/15] remoteproc: Introduce function rproc_detach()

2020-12-08 Thread Mathieu Poirier
On Tue, Dec 08, 2020 at 07:35:18PM +0100, Arnaud POULIQUEN wrote: > Hi Mathieu, > > > On 11/26/20 10:06 PM, Mathieu Poirier wrote: > > Introduce function rproc_detach() to enable the remoteproc > > core to release the resources associated with a remote processor > > without stopping its operation

[PATCH v3 1/2] scripts/setlocalversion: allow running in a subdir

2020-12-08 Thread Will McVicker
Getting the scmversion using scripts/setlocalversion currently only works when run at the root of a git or mecurial project. This was introduced in commit 8558f59edf93 ("setlocalversion: Ignote SCMs above the linux source tree") so that if one is building within a subdir of a git tree that isn't th

Re: problem booting 5.10

2020-12-08 Thread Linus Torvalds
On Tue, Dec 8, 2020 at 10:59 AM Martin K. Petersen wrote: > > > So I'm adding SCSI people to the cc, just in case they go "Hmm..". > > Only change in this department was: > > 831e3405c2a3 scsi: core: Don't start concurrent async scan on same host Yeah, I found that one too, and dismissed it for t

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-08 Thread Uwe Kleine-König
Hello Sven, On Tue, Dec 08, 2020 at 01:15:10PM -0500, Sven Van Asbroeck wrote: > On Tue, Dec 8, 2020 at 11:57 AM Thierry Reding > wrote: > > > > Is this really that complicated? I sounds to me like the only thing that > > you need is to have some sort of usage count for the prescaler. Whenever >

Re: [PATCH 02/20] ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram

2020-12-08 Thread Rasmus Villemoes
On 08/12/2020 20.14, Li Yang wrote: > On Sat, Dec 5, 2020 at 1:21 PM Rasmus Villemoes > wrote: >> >> Table 8-53 in the QUICC Engine Reference manual shows definitions of >> fields up to a size of 192 bytes, not just 128. But in table 8-111, >> one does find the text >> >> Base Address of the Glo

Re: [PATCH v4 00/26] Opt-in always-on nVHE hypervisor

2020-12-08 Thread Marc Zyngier
On Tue, 08 Dec 2020 19:14:47 +, David Brazdil wrote: > > Hey Marc, > > On Thu, Dec 03, 2020 at 07:23:19PM +, Marc Zyngier wrote: > > On Wed, 2 Dec 2020 18:40:56 +, David Brazdil wrote: > > > As we progress towards being able to keep guest state private to the > > > host running nVHE

Re: [PATCH] driver: core: Fix list corruption after device_del()

2020-12-08 Thread Takashi Iwai
On Tue, 08 Dec 2020 20:52:34 +0100, Greg Kroah-Hartman wrote: > > On Tue, Dec 08, 2020 at 08:03:26PM +0100, Takashi Iwai wrote: > > The device_links_purge() function (called from device_del()) tries to > > remove the links.needs_suppliers list entry, but it's using > > list_del(), hence it doesn't

[PATCH] perf/x86/intel: Add Tremont Topdown support

2020-12-08 Thread kan . liang
From: Kan Liang Tremont has four L1 Topdown events, TOPDOWN_FE_BOUND.ALL, TOPDOWN_BAD_SPECULATION.ALL, TOPDOWN_BE_BOUND.ALL and TOPDOWN_RETIRING.ALL. They are available on GP counters. Export them to sysfs and facilitate the perf stat tool. $perf stat --topdown -- sleep 1 Performance counter

Re: Pass modules to Linux kernel without initrd

2020-12-08 Thread Theodore Y. Ts'o
On Tue, Dec 08, 2020 at 10:24:08AM +0100, Paul Menzel wrote: > Dear Linux folks, > > Trying to reduce the boot time of standard distributions, I would like to > get rid of the initrd. The initrd is for mounting the root file system and > on most end user systems with standard distributions that me

Re: Potential Issue in Tracing Ring Buffer

2020-12-08 Thread J. Avila
Hello Steven, Thank you once again for all of your support. We saw that you also recently merged a change[1] which adds some validation for the timestamps in ring_buffer.c. Would you have any recommendations on how to add a more lightweight check for time going "backwards" in the timestamps? The i

[PATCH v3 0/2] modules: add scmversion field

2020-12-08 Thread Will McVicker
Hi All, Thanks Jessica for the feedback! I have updated the commit message to include the justification and common use cases for the patch series. I have also added the config MODULE_SCMVERSION so that this is not enabled by default. Please take a look and let me know of any concerns or issues fo

Re: problem booting 5.10

2020-12-08 Thread Linus Torvalds
On Tue, Dec 8, 2020 at 11:29 AM Julia Lawall wrote: > > A dmesg after successfully booting in 5.9 is attached. Ok, from a quick look it's megaraid_sas. The only thing I see there is that commit 103fbf8e4020 ("scsi: megaraid_sas: Added support for shared host tagset for cpuhotplug"). Of course,

[PATCH v3 2/2] modules: introduce the MODULE_SCMVERSION config

2020-12-08 Thread Will McVicker
Config MODULE_SCMVERSION introduces a new module attribute -- `scmversion` -- which can be used to identify a given module's SCM version. This is very useful for developers that update their kernel independently from their kernel modules or vice-versa since the SCM version provided by UTS_RELEASE

Re: [PATCH v2 1/3] reset: hisilicon: correct vendor prefix

2020-12-08 Thread Rob Herring
On Mon, Dec 7, 2020 at 8:16 PM Leizhen (ThunderTown) wrote: > > > > On 2020/12/8 7:08, Rob Herring wrote: > > On Fri, Dec 04, 2020 at 09:42:34AM +0800, Zhen Lei wrote: > >> The vendor prefix of "Hisilicon Limited" is "hisilicon", it is clearly > >> stated in "vendor-prefixes.yaml". > > > > Yes, bu

Re: [PATCH 2/9] misc: Add Xilinx AI engine device driver

2020-12-08 Thread Jiaying Liang
On 12/8/20 9:12 AM, Nicolas Dufresne wrote: Le mercredi 18 novembre 2020 à 00:06 -0800, Wendy Liang a écrit : Create AI engine device/partition hierarchical structure. Each AI engine device can have multiple logical partitions(groups of AI engine tiles). Each partition is column based and has

Re: [PATCH 1/6] seq_file: add seq_read_iter

2020-12-08 Thread Linus Torvalds
On Tue, Dec 8, 2020 at 11:49 AM Al Viro wrote: > > Said that, it does appear to survive all beating, and it does fix > a regression introduced in this cycle, so, provided that amount of > comments in there is OK with you... Ok, considering Greg's note, I've pulled it. It's early in the last week,

Re: [PATCH 2/9] misc: Add Xilinx AI engine device driver

2020-12-08 Thread Jiaying Liang
On 12/8/20 9:12 AM, Nicolas Dufresne wrote: Le mercredi 18 novembre 2020 à 00:06 -0800, Wendy Liang a écrit : Create AI engine device/partition hierarchical structure. Each AI engine device can have multiple logical partitions(groups of AI engine tiles). Each partition is column based and has

[PATCH] fs: quota: fix array-index-out-of-bounds bug by passing correct argument to vfs_cleanup_quota_inode()

2020-12-08 Thread Anant Thazhemadam
When dquot_resume() was last updated, the argument that got passed to vfs_cleanup_quota_inode was incorrectly set. If type = -1 and dquot_load_quota_sb() returns a negative value, then vfs_cleanup_quota_inode() gets called with -1 passed as an argument, and this leads to an array-index-out-of-boun

Re: [PATCH v3 10/13] media: v4l2-fwnode: Update V4L2_FWNODE_CSI2_MAX_DATA_LANES to 8

2020-12-08 Thread Sowjanya Komatineni
On 12/8/20 11:59 AM, Sakari Ailus wrote: Hi Hans, On Mon, Dec 07, 2020 at 11:47:38AM +0100, Hans Verkuil wrote: On 03/12/2020 19:59, Sowjanya Komatineni wrote: Some CSI2 receivers support 8 data lanes. So, this patch updates CSI2 maximum data lanes to be 8. Signed-off-by: Sowjanya Komatine

Re: [PATCH 03/22] keembay-ipc: Add Keem Bay IPC module

2020-12-08 Thread Daniele Alessandrelli
Hi Greg, Thanks for your feedback. On Wed, 2020-12-02 at 07:19 +0100, Greg KH wrote: > On Tue, Dec 01, 2020 at 02:34:52PM -0800, mgr...@linux.intel.com wrote: > > From: Daniele Alessandrelli > > > > On the Intel Movidius SoC code named Keem Bay, communication between the > > Computing Sub-Syste

Re: problem booting 5.10

2020-12-08 Thread Martin K. Petersen
Linus, > So I'm adding SCSI people to the cc, just in case they go "Hmm..". Only change in this department was: 831e3405c2a3 scsi: core: Don't start concurrent async scan on same host which went into -rc2. I can't think of anything in -rc1 which would affect scanning. I'll take a look this a

[PATCH rdma-next] RDMA/mlx4: remove bogus dev_base_lock usage

2020-12-08 Thread Vladimir Oltean
It is not clear what this lock protects. If the authors wanted to ensure that "dev" does not disappear, that is impossible, given the following code path: mlx4_ib_netdev_event (under RTNL mutex) -> mlx4_ib_scan_netdevs -> mlx4_ib_update_qps Also, the dev_base_lock does not protect dev->dev_add

RE: [PATCH v1 0/4] cpufreq: Allow drivers to receive more information from the governor

2020-12-08 Thread Doug Smythies
On 2020.12.08 09:14 Rafael J. Wysocki wrote: > On Tue, Dec 8, 2020 at 5:31 PM Giovanni Gherdovich > wrote: >> On Mon, 2020-12-07 at 17:25 +0100, Rafael J. Wysocki wrote: >>> Hi, >>> >>> This is based on the RFC posted a few days ago: >>> >>> https://lore.kernel.org/linux-pm/1817571.2o5Kk4Ohv2@kr

Re: [PATCH v2 1/3] ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg.

2020-12-08 Thread Takashi Iwai
On Tue, 08 Dec 2020 20:52:20 +0100, Connor McAdams wrote: > > The Windows driver sets the pincfg for the AE-5's rear-headphone to > report as a microphone. This causes issues with Pulseaudio mistakenly > believing there is no headphone plugged in. In Linux, we should instead > set it to be a headp

Re: [PATCH V2 net-next 0/3] net: hns3: updates for -next

2020-12-08 Thread Jakub Kicinski
On Sun, 6 Dec 2020 12:06:12 +0800 Huazhong Tan wrote: > There are some updates for the HNS3 ethernet driver. > > #1 supports an extended promiscuous command which makes > promiscuous configuration more flexible, #2 adds ethtool > private flags to control whether enable tx unicast promisc. > #3 ref

Re: [PATCH v2 2/3] usb: typec: tcpci: Add support to report vSafe0V

2020-12-08 Thread Guenter Roeck
On Tue, Dec 01, 2020 at 08:08:39PM -0800, Badhri Jagan Sridharan wrote: > This change adds vbus_vsafe0v which when set, makes TCPM > query for VSAFE0V by assigning the tcpc.is_vbus_vsafe0v callback. > Also enables ALERT.ExtendedStatus which is triggered when > status of EXTENDED_STATUS.vSafe0V chan

Re: [PATCH v4 00/26] Opt-in always-on nVHE hypervisor

2020-12-08 Thread David Brazdil
Hey Marc, On Thu, Dec 03, 2020 at 07:23:19PM +, Marc Zyngier wrote: > On Wed, 2 Dec 2020 18:40:56 +, David Brazdil wrote: > > As we progress towards being able to keep guest state private to the > > host running nVHE hypervisor, this series allows the hypervisor to > > install itself on ne

Re: [PATCH v15 08/26] x86/mm: Introduce _PAGE_COW

2020-12-08 Thread Yu, Yu-cheng
On 12/8/2020 10:47 AM, Borislav Petkov wrote: On Tue, Dec 08, 2020 at 10:25:15AM -0800, Yu, Yu-cheng wrote: Both are "R/O + _PAGE_COW". Where's the difference? The dirty bit? The PTEs are the same for both (a) and (b), but come from different routes. Do not be afraid to go into detail and ex

[tip:irq/core 13/26] drivers/rtc/rtc-pcf8523.c:35:9: warning: 'REG_OFFSET' macro redefined

2020-12-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core head: d14ce74f1fb376ccbbc0b05ded477ada51253729 commit: 7fd70c65faacd39628ba5f670be6490010c8132f [13/26] ARM: irqstat: Get rid of duplicated declaration config: arm-randconfig-r002-20201208 (attached as .config

Re: [RFC][PATCH 0/4] arm64:kvm: teach guest sched that VCPUs can be preempted

2020-12-08 Thread Joel Fernandes
On Fri, Sep 11, 2020 at 4:58 AM Sergey Senozhatsky wrote: > > My apologies for the slow reply. > > On (20/08/17 13:25), Marc Zyngier wrote: > > > > It really isn't the same thing at all. You are exposing PV spinlocks, > > while Sergey exposes preemption to vcpus. > > > > Correct, we see vcpu preem

Re: [PATCH v4 1/3] media: dt-bindings: media: Document Rockchip VIP bindings

2020-12-08 Thread Rob Herring
On Tue, 08 Dec 2020 17:15:07 +0100, Maxime Chevallier wrote: > Add a documentation for the Rockchip Camera Interface controller > binding. > > This controller can be found on platforms such as the PX30 or the > RK3288, the PX30 being the only platform supported so far. > > Signed-off-by: Maxime C

Re: [PATCH v2 15/22] x86/fpu/xstate: Support ptracer-induced xstate area expansion

2020-12-08 Thread Bae, Chang Seok
> On Dec 3, 2020, at 14:00, Andy Lutomirski wrote: > > Have you confirmed that real ptrace users (gdb? does anything > actually use this code?) can handle the huge buffers that will be > needed? Yes, we thought there is actual usage for this. We (cc'ing Markus) will support it on GDB. Thanks,

Re: [PATCH] riscv: Fixed kernel test robot warning

2020-12-08 Thread Andreas Schwab
On Dez 09 2020, Souptick Joarder wrote: > Kernel test robot throws below warning - > >arch/riscv/kernel/asm-offsets.c:14:6: warning: no previous prototype > for 'asm_offsets' [-Wmissing-prototypes] > 14 | void asm_offsets(void) > | ^~~ > > This patch should fixed it

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-08 Thread Andy Lutomirski
> On Dec 8, 2020, at 11:25 AM, Thomas Gleixner wrote: > > On Tue, Dec 08 2020 at 09:43, Andy Lutomirski wrote: >> On Tue, Dec 8, 2020 at 6:23 AM Marcelo Tosatti wrote: >> It looks like it tries to accomplish the right goal, but in a rather >> roundabout way. The host knows how to convert fro

[PATCH -next] usb: cdns3: fix warning when USB_CDNS_HOST is not set

2020-12-08 Thread Randy Dunlap
changed, 2 insertions(+), 2 deletions(-) --- linux-next-20201208.orig/drivers/usb/cdns3/host-export.h +++ linux-next-20201208/drivers/usb/cdns3/host-export.h @@ -9,10 +9,10 @@ #ifndef __LINUX_CDNS3_HOST_EXPORT #define __LINUX_CDNS3_HOST_EXPORT -#if IS_ENABLED(CONFIG_USB_CDNS_HOST) - struct

Re: [PATCH v2 1/3] ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg.

2020-12-08 Thread Takashi Iwai
On Tue, 08 Dec 2020 21:27:45 +0100, Takashi Iwai wrote: > > On Tue, 08 Dec 2020 20:52:20 +0100, > Connor McAdams wrote: > > > > The Windows driver sets the pincfg for the AE-5's rear-headphone to > > report as a microphone. This causes issues with Pulseaudio mistakenly > > believing there is no h

Re: [PATCH v13 0/4] userspace MHI client interface driver

2020-12-08 Thread Leon Romanovsky
On Tue, Dec 08, 2020 at 10:29:27PM +0530, Manivannan Sadhasivam wrote: > On Sun, Dec 06, 2020 at 10:33:02AM +0200, Leon Romanovsky wrote: > > On Tue, Dec 01, 2020 at 09:59:53PM -0700, Jeffrey Hugo wrote: > > > On 12/1/2020 7:55 PM, Jakub Kicinski wrote: > > > > On Tue, 1 Dec 2020 13:48:36 -0700 Jef

Re: [PATCH] driver: core: Fix list corruption after device_del()

2020-12-08 Thread Greg Kroah-Hartman
On Tue, Dec 08, 2020 at 08:03:26PM +0100, Takashi Iwai wrote: > The device_links_purge() function (called from device_del()) tries to > remove the links.needs_suppliers list entry, but it's using > list_del(), hence it doesn't initialize after the removal. This is OK > for normal cases where devic

[PATCH] riscv: Fixed kernel test robot warning

2020-12-08 Thread Souptick Joarder
Kernel test robot throws below warning - arch/riscv/kernel/asm-offsets.c:14:6: warning: no previous prototype for 'asm_offsets' [-Wmissing-prototypes] 14 | void asm_offsets(void) | ^~~ This patch should fixed it. Reported-by: kernel test robot Signed-off-by: Soupt

Re: [PATCH next v3 3/3] printk: remove logbuf_lock protection for ringbuffer

2020-12-08 Thread Sergey Senozhatsky
On (20/12/07 23:26), John Ogness wrote: > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > index e1f068677a74..f3c0fcc3163f 100644 > --- a/kernel/printk/printk.c > +++ b/kernel/printk/printk.c > @@ -1068,7 +1068,6 @@ void __init setup_log_buf(int early) > struct printk_record r;

Re: [PATCH bpf-next v3] bpf: Only provide bpf_sock_from_file with CONFIG_NET

2020-12-08 Thread Randy Dunlap
On 12/8/20 9:36 AM, Florent Revest wrote: > This moves the bpf_sock_from_file definition into net/core/filter.c > which only gets compiled with CONFIG_NET and also moves the helper proto > usage next to other tracing helpers that are conditional on CONFIG_NET. > > This avoids > ld: kernel/trace/

[PATCH -next] usb: cdns3: fix build when PM_SLEEP is not set

2020-12-08 Thread Randy Dunlap
insertions(+) --- linux-next-20201208.orig/drivers/usb/cdns3/core.h +++ linux-next-20201208/drivers/usb/cdns3/core.h @@ -127,5 +127,10 @@ int cdns_remove(struct cdns *cdns); #ifdef CONFIG_PM_SLEEP int cdns_resume(struct cdns *cdns, u8 set_active); int cdns_suspend(struct cdns *cdns); +#else

Re: [PATCH next v2 2/3] printk: change @clear_seq to atomic64_t

2020-12-08 Thread Sergey Senozhatsky
On (20/12/04 10:12), Petr Mladek wrote: > On Tue 2020-12-01 21:59:40, John Ogness wrote: > > Currently @clear_seq access is protected by @logbuf_lock. Once > > @logbuf_lock is removed some other form of synchronization will be > > required. Change the type of @clear_seq to atomic64_t to provide the

Re: [PATCH -next] net/mlx5_core: remove unused including

2020-12-08 Thread Jakub Kicinski
On Mon, 7 Dec 2020 20:14:00 +0800 Zou Wei wrote: > Remove including that don't need it. > > Signed-off-by: Zou Wei > --- > drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c > b/drivers/net/

Re: [PATCH] arm64: dts: meson: add i2c3/rtc nodes and vrtc alias to GT-King/GT-King-Pro

2020-12-08 Thread Kevin Hilman
On Tue, 1 Dec 2020 06:21:35 +, Christian Hewitt wrote: > The GT-King and GT-King-Pro boxes have an RTC chip and power cell, so enable > it. > > GTKING:~ # dmesg | grep rtc > [5.237245] meson-vrtc ff8000a8.rtc: registered as rtc1 > [5.261869] rtc-hym8563 0-0051: registered as rtc0 > [

[PATCH] mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'

2020-12-08 Thread Christophe JAILLET
If 'mmc_of_parse()' fails, we must undo the previous 'dma_request_chan()' call. Fixes: abd37cccd47f ("mmc: mxs: use mmc_gpio_get_ro for detecting read-only status") Signed-off-by: Christophe JAILLET --- I'm not 100% sure of the Fixes tag, but it seems to be the root cause. The erroneous 'out_clk

Re: [PATCH 1/1] mwifiex: Fix possible buffer overflows in mwifiex_uap_bss_param_prepare

2020-12-08 Thread Brian Norris
(FWIW, this author's mail has been routed to my spam mailbox. That's partly my fault and/or my "choice" of mail provider, but that's why I only see these once Kalle replies to them.) On Tue, Dec 8, 2020 at 8:03 AM Xiaohui Zhang wrote: > > From: Zhang Xiaohui > > mwifiex_uap_bss_param_prepare() c

Re: [PATCH net] bonding: reduce rtnl lock contention in mii monitor thread

2020-12-08 Thread Jay Vosburgh
Jarod Wilson wrote: >I'm seeing a system get stuck unable to bring a downed interface back up >when it's got an updelay value set, behavior which ceased when logging >spew was removed from bond_miimon_inspect(). I'm monitoring logs on this >system over another network connection, and it seems tha

Re: [PATCH] driver: core: Fix list corruption after device_del()

2020-12-08 Thread Rafael J. Wysocki
On Tue, Dec 8, 2020 at 8:03 PM Takashi Iwai wrote: > > The device_links_purge() function (called from device_del()) tries to > remove the links.needs_suppliers list entry, but it's using > list_del(), hence it doesn't initialize after the removal. This is OK > for normal cases where device_del()

[PATCH V2] drm/vkms: Add setup and testing information

2020-12-08 Thread Sumera Priyadarsini
Update the vkms documentation to contain steps to: - setup the vkms driver - run tests using igt Signed-off-by: Sumera Priyadarsini ___ Changes in v2: - Change heading to title case (Daniel) - Add examples to run tests directly (Daniel) - Add examples to run subtests (Melissa) --- Document

Re: [PATCH net v1 1/2] lan743x: improve performance: fix rx_napi_poll/interrupt ping-pong

2020-12-08 Thread Jakub Kicinski
On Sat, 5 Dec 2020 22:44:07 -0500 Sven Van Asbroeck wrote: > From: Sven Van Asbroeck > > Even if the rx ring is completely full, and there is more rx data > waiting on the chip, the rx napi poll fn will never run more than > once - it will always immediately bail out and re-enable interrupts. >

Re: [PATCH v4] PM: domains: create debugfs nodes when adding power domains

2020-12-08 Thread Greg Kroah-Hartman
On Tue, Dec 08, 2020 at 11:19:55AM -0800, Thierry Strudel wrote: > debugfs nodes were created in genpd_debug_init alled in late_initcall > preventing power domains registered though loadable modules to have > a debugfs entry. > > Create/remove debugfs nodes when the power domain is added/removed >

[PATCH v4] PM: domains: create debugfs nodes when adding power domains

2020-12-08 Thread Thierry Strudel
debugfs nodes were created in genpd_debug_init alled in late_initcall preventing power domains registered though loadable modules to have a debugfs entry. Create/remove debugfs nodes when the power domain is added/removed to/from the internal gpd_list. Signed-off-by: Thierry Strudel Change-Id: I

Re: [PATCH v4] PM: domains: create debugfs nodes when adding power domains

2020-12-08 Thread Thierry Strudel
Sorry about that. Thanks for the reviews On Tue, Dec 8, 2020 at 11:49 AM Greg Kroah-Hartman wrote: > > On Tue, Dec 08, 2020 at 11:19:55AM -0800, Thierry Strudel wrote: > > debugfs nodes were created in genpd_debug_init alled in late_initcall > > preventing power domains registered though loadable

Re: [PATCH 003/141] cifs: Fix fall-through warnings for Clang

2020-12-08 Thread Steve French
Merged into cifs-2.6.git for-next Let me know if you see any other cleanup/misc cifs.ko patches that may have gotten missed ... On Fri, Nov 20, 2020 at 12:25 PM Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple > warnings by explicitly adding

Re: [PATCH net-next] net: dsa: print the MTU value that could not be set

2020-12-08 Thread Jakub Kicinski
On Sat, 5 Dec 2020 14:39:44 +0100 Rasmus Villemoes wrote: > These warnings become somewhat more informative when they include the > MTU value that could not be set and not just the errno. > > Signed-off-by: Rasmus Villemoes Applied, thanks!

Re: [PATCH net v4] bonding: fix feature flag setting at init time

2020-12-08 Thread Jakub Kicinski
On Sat, 5 Dec 2020 12:22:29 -0500 Jarod Wilson wrote: > Don't try to adjust XFRM support flags if the bond device isn't yet > registered. Bad things can currently happen when netdev_change_features() > is called without having wanted_features fully filled in yet. This code > runs both on post-modu

Re: [PATCH bpf-next v2 1/3] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-08 Thread Florent Revest
On Fri, 2020-12-04 at 20:03 +0100, Daniel Borkmann wrote: > On 12/4/20 7:56 PM, Daniel Borkmann wrote: > > On 12/3/20 10:33 PM, Florent Revest wrote: > > > This creates a new helper proto because the existing > > > bpf_get_socket_cookie_sock_proto has a ARG_PTR_TO_CTX argument > > > and only > > >

Re: [PATCH] perf: Break deadlock involving exec_update_mutex

2020-12-08 Thread Linus Torvalds
On Tue, Dec 8, 2020 at 12:34 AM Peter Zijlstra wrote: > > I suppose I'll queue the below into tip/perf/core for next merge window, > unless you want it in a hurry? LGTM, and there's no hurry. This is not a new thing, and I don't think it has been a problem in practice. Linus

Re: [PATCH bpf-next v2 1/3] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-08 Thread Florent Revest
On Fri, 2020-12-04 at 11:47 -0800, Martin KaFai Lau wrote: > On Thu, Dec 03, 2020 at 10:33:28PM +0100, Florent Revest wrote: > > +const struct bpf_func_proto > > bpf_get_socket_cookie_sock_tracing_proto = { > > + .func = bpf_get_socket_cookie_sock, > > + .gpl_only = false, > > +

Re: consoles: was: [PATCH next v2 3/3] printk: remove logbuf_lock, add syslog_lock

2020-12-08 Thread Sergey Senozhatsky
On (20/12/07 10:50), Petr Mladek wrote: [..] > > and then some call into the scheduler > > (or other kernel core functions) under semaphore's spin_lock. > > For instance > > > > up() > > raw_spin_lock_irqsave(&sem->lock) > >__up() > > wake_up_process() > >try_

Re: [PATCH 1/6] seq_file: add seq_read_iter

2020-12-08 Thread Al Viro
On Tue, Dec 08, 2020 at 12:25:55PM -0800, Linus Torvalds wrote: > On Tue, Dec 8, 2020 at 11:49 AM Al Viro wrote: > > > > Said that, it does appear to survive all beating, and it does fix > > a regression introduced in this cycle, so, provided that amount of > > comments in there is OK with you...

Re: [RFC PATCH] ASoC: pcm_dmaengine: Add support for BE DAIs

2020-12-08 Thread Mark Brown
On Tue, Dec 08, 2020 at 07:26:35PM +, codrin.ciubota...@microchip.com wrote: > I do not know too much about the dummy PCM. It seems like it is creating > a card without DPCM links and fakes a buffer, which is not quite what I > need. I will investigate more. Right, that's what I was imagini

[PATCH] driver: core: Fix list corruption after device_del()

2020-12-08 Thread Takashi Iwai
The device_links_purge() function (called from device_del()) tries to remove the links.needs_suppliers list entry, but it's using list_del(), hence it doesn't initialize after the removal. This is OK for normal cases where device_del() is called via device_destroy(). However, it's not guaranteed t

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-08 Thread Clemens Gruber
Hi everyone, On Tue, Dec 08, 2020 at 07:26:37PM +0100, Uwe Kleine-König wrote: > Hello Thierry, hello Sven, > > On Tue, Dec 08, 2020 at 05:57:12PM +0100, Thierry Reding wrote: > > On Tue, Dec 08, 2020 at 09:44:42AM -0500, Sven Van Asbroeck wrote: > > > On Tue, Dec 8, 2020 at 4:10 AM Uwe Kleine-Kö

Re: [PATCH bpf-next v3] bpf: Only provide bpf_sock_from_file with CONFIG_NET

2020-12-08 Thread Martin KaFai Lau
On Tue, Dec 08, 2020 at 06:36:23PM +0100, Florent Revest wrote: > This moves the bpf_sock_from_file definition into net/core/filter.c > which only gets compiled with CONFIG_NET and also moves the helper proto > usage next to other tracing helpers that are conditional on CONFIG_NET. > > This avoids

Re: [PATCH 18/20] ethernet: ucc_geth: add helper to replace repeated switch statements

2020-12-08 Thread Rasmus Villemoes
On 08/12/2020 16.21, Christophe Leroy wrote: > > > Le 05/12/2020 à 20:17, Rasmus Villemoes a écrit : >> The translation from the ucc_geth_num_of_threads enum value to the >> actual count can be written somewhat more compactly with a small >> lookup table, allowing us to replace the four switch st

Re: [PATCH 1/2] if_enabled.h: Add IF_ENABLED_OR_ELSE() and IF_ENABLED() macros

2020-12-08 Thread Paul Cercueil
Hi Randy, Le mar. 8 déc. 2020 à 9:39, Randy Dunlap a écrit : On 12/8/20 8:48 AM, Paul Cercueil wrote: Signed-off-by: Paul Cercueil Hi Paul, Why not just add these 2 new macros to ? Maybe you don't want to add the other 2 headers there also? That means including in , which causes b

Re: [PATCH 1/6] seq_file: add seq_read_iter

2020-12-08 Thread Linus Torvalds
On Tue, Dec 8, 2020 at 12:53 PM Al Viro wrote: > > Umm... I've got > fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode() > and > fs: Kill DCACHE_DONTCACHE dentry even if DCACHE_REFERENCED is set > in "to apply" pile; if that's what you are talking about, Yup, those were the on

Re: [PATCH v8 00/16] Add support for Clang LTO

2020-12-08 Thread Arnd Bergmann
On Tue, Dec 8, 2020 at 9:59 PM Arnd Bergmann wrote: > > Attaching the config for "ld.lld: error: Never resolved function from > blockaddress (Producer: 'LLVM12.0.0' Reader: 'LLVM 12.0.0')" And here is a new one: "ld.lld: error: assignment to symbol init_pg_end does not converge" Arnd 0

Re: [RFC PATCH] ASoC: pcm_dmaengine: Add support for BE DAIs

2020-12-08 Thread Codrin.Ciubotariu
On 08.12.2020 19:04, Mark Brown wrote: > On Wed, Dec 02, 2020 at 10:58:38AM +0200, Codrin Ciubotariu wrote: > >> This patch is more or less incomplete for the described scenario. This >> is because DMAengine's pcm->config is ignored for the BE DAI link, so >> runtime->hw is not updated. Also, sinc

Re: problem booting 5.10

2020-12-08 Thread Julia Lawall
On Tue, 8 Dec 2020, Linus Torvalds wrote: > On Tue, Dec 8, 2020 at 10:59 AM Martin K. Petersen > wrote: > > > > > So I'm adding SCSI people to the cc, just in case they go "Hmm..". > > > > Only change in this department was: > > > > 831e3405c2a3 scsi: core: Don't start concurrent async scan on

Re: [PATCH] soc: ti: omap-prm: Fix boot time errors for rst_map_012 bits 0 and 1

2020-12-08 Thread Carl Philipp Klemm
On Tue, 8 Dec 2020 16:08:02 +0200 Tony Lindgren wrote: > We have rst_map_012 used for various accelerators like dsp, ipu and iva. > For these use cases, we have rstctrl bit 2 control the subsystem module > reset, and have and bits 0 and 1 control the accelerator specific > features. > > If the

[PATCH RESEND v2] virtio-input: add multi-touch support

2020-12-08 Thread Vasyl Vavrychuk
From: Mathias Crombez Without multi-touch slots allocated, ABS_MT_SLOT events will be lost by input_handle_abs_event. Signed-off-by: Mathias Crombez Signed-off-by: Vasyl Vavrychuk Tested-by: Vasyl Vavrychuk --- v2: fix patch corrupted by corporate email server drivers/virtio/Kconfig

Re: [PATCH net-next v2 1/4] vm_sockets: Include flags field in the vsock address data structure

2020-12-08 Thread Jakub Kicinski
On Tue, 8 Dec 2020 20:23:24 +0200 Paraschiv, Andra-Irina wrote: > >> --- a/include/uapi/linux/vm_sockets.h > >> +++ b/include/uapi/linux/vm_sockets.h > >> @@ -145,7 +145,7 @@ > >> > >> struct sockaddr_vm { > >>__kernel_sa_family_t svm_family; > >> - unsigned short svm_reserved1; > >>

[PATCH v3 1/3] scsi: ufs: Add "wb_on" sysfs node to control WB on/off

2020-12-08 Thread Bean Huo
From: Bean Huo Currently UFS WriteBooster driver uses clock scaling up/down to set WB on/off, for the platform which doesn't support UFSHCD_CAP_CLK_SCALING, WB will be always on. Provide a sysfs attribute to enable/disable WB during runtime. Write 1/0 to "wb_on" sysfs node to enable/disable UFS W

[PATCH v3 0/3] Three changes for UFS WriteBooster

2020-12-08 Thread Bean Huo
From: Bean Huo Changelog: v2--v3: 1. Change multi-line comments style in patch 1/3 (Can Guo) v1--v2: 1. Take is_hibern8_wb_flush checkup out from function ufshcd_wb_need_flush() in patch 2/3 2. Add UFSHCD_CAP_CLK_SCALING checkup in patch 1/3. that means only for the platform, whi

[PATCH v3 3/3] scsi: ufs: Changes comment in the function ufshcd_wb_probe()

2020-12-08 Thread Bean Huo
From: Bean Huo USFHCD supports WriteBooster "LU dedicated buffer” mode and “shared buffer” mode both, so changes the comment in the function ufshcd_wb_probe(). Signed-off-by: Bean Huo Reviewed-by: Can Guo Reviewed-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 7 +++ 1 file changed, 3 i

Re: [PATCH v8 00/16] Add support for Clang LTO

2020-12-08 Thread Nick Desaulniers
On Tue, Dec 8, 2020 at 1:00 PM Arnd Bergmann wrote: > > On Tue, Dec 8, 2020 at 5:43 PM 'Sami Tolvanen' via Clang Built Linux > wrote: > > > > On Tue, Dec 8, 2020 at 4:15 AM Arnd Bergmann wrote: > > > > > > - one build seems to take even longer to link. It's currently at 35GB RAM > > > usage an

[PATCH v3 2/3] scsi: ufs: Keep device active mode only fWriteBoosterBufferFlushDuringHibernate == 1

2020-12-08 Thread Bean Huo
From: Bean Huo According to the JEDEC UFS 3.1 Spec, If fWriteBoosterBufferFlushDuringHibernate is set to one, the device flushes the WriteBooster Buffer data automatically whenever the link enters the hibernate (HIBERN8) state. While the flushing operation is in progress, the device should be kep

Re: [PATCH] KVM: mmu: Fix SPTE encoding of MMIO generation upper half

2020-12-08 Thread Sean Christopherson
On Sun, Dec 06, 2020, Paolo Bonzini wrote: > On 05/12/20 01:48, Maciej S. Szmigiero wrote: > > From: "Maciej S. Szmigiero" > > > > Commit cae7ed3c2cb0 ("KVM: x86: Refactor the MMIO SPTE generation handling") > > cleaned up the computation of MMIO generation SPTE masks, however it > > introduced a

Re: problem booting 5.10

2020-12-08 Thread John Garry
On 08/12/2020 19:19, Linus Torvalds wrote: On Tue, Dec 8, 2020 at 10:59 AM Martin K. Petersen wrote: So I'm adding SCSI people to the cc, just in case they go "Hmm..". Only change in this department was: 831e3405c2a3 scsi: core: Don't start concurrent async scan on same host Yeah, I foun

Re: [PATCH 14/20] ethernet: ucc_geth: don't statically allocate eight ucc_geth_info

2020-12-08 Thread Rasmus Villemoes
On 08/12/2020 16.13, Christophe Leroy wrote: > > > Le 05/12/2020 à 20:17, Rasmus Villemoes a écrit : >> @@ -3714,25 +3712,23 @@ static int ucc_geth_probe(struct >> platform_device* ofdev) >>   if ((ucc_num < 0) || (ucc_num > 7)) >>   return -ENODEV; >>   -    ug_info = &ugeth_info[uc

Re: [PATCH v2 07/12] x86: add new features for paravirt patching

2020-12-08 Thread Borislav Petkov
On Fri, Nov 20, 2020 at 12:46:25PM +0100, Juergen Gross wrote: > diff --git a/arch/x86/include/asm/cpufeatures.h > b/arch/x86/include/asm/cpufeatures.h > index dad350d42ecf..ffa23c655412 100644 > --- a/arch/x86/include/asm/cpufeatures.h > +++ b/arch/x86/include/asm/cpufeatures.h > @@ -237,6 +237,9

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-08 Thread Thomas Gleixner
On Tue, Dec 08 2020 at 18:25, Maxim Levitsky wrote: > On Tue, 2020-12-08 at 17:02 +0100, Thomas Gleixner wrote: >> For one I have no idea which bug you are talking about and if the bug is >> caused by the VMM then why would you "fix" it in the guest kernel. > > The "bug" is that if VMM moves a hard

Re: [PATCH] lkdtm: don't move ctors to .rodata

2020-12-08 Thread Kees Cook
On Mon, Dec 07, 2020 at 05:05:33PM +, Mark Rutland wrote: > When building with KASAN and LKDTM, clang may implictly generate an > asan.module_ctor function in the LKDTM rodata object. The Makefile moves > the lkdtm_rodata_do_nothing() function into .rodata by renaming the > file's .text section

Re: problem booting 5.10

2020-12-08 Thread Linus Torvalds
On Tue, Dec 8, 2020 at 1:14 PM John Garry wrote: > > JFYI, About "scsi: megaraid_sas: Added support for shared host tagset > for cpuhotplug", we did have an issue reported here already from Qian > about a boot hang: Hmm. That does sound like it might be it. At this point, the patches from Ming L

Re: problem booting 5.10

2020-12-08 Thread Linus Torvalds
[ Just re-sending with Jens added back - he's been on a couple of the emails, but wean't on this one. Sorry for the duplication ] On Tue, Dec 8, 2020 at 1:23 PM Linus Torvalds wrote: > > On Tue, Dec 8, 2020 at 1:14 PM John Garry wrote: > > > > JFYI, About "scsi: megaraid_sas: Added support for s

[PATCH 2/5] ALSA: hda/ca0132 - Add stream port remapping function.

2020-12-08 Thread Connor McAdams
Add function for remapping a ChipIO stream's ports. Also include some documentation as to how this works. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 208 ++- 1 file changed, 156 insertions(+), 52 deletions(-) diff --git a/sound/pci/hda/patch

[PATCH 3/5] ALSA: hda/ca0132 - Add 8051 exram helper functions.

2020-12-08 Thread Connor McAdams
Add functions for both reading and writing to the 8051's exram. Also, add a little bit of documentation on how the addresses are segmented. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 138 --- 1 file changed, 80 insertions(+), 58 deletions(-)

[PATCH 0/5] ALSA: hda/ca0132 - Fix no-audio issues and add documentation.

2020-12-08 Thread Connor McAdams
This patch series attempts to fix the no audio at startup issues that have been occurring for some users, using information gained through reverse engineering the ca0132's onboard 8051 processor. The issue of no audio on startup seemed to be caused by two separate problems: not resetting the codec

[PATCH 5/5] ALSA: hda/ca0132 - Remove now unnecessary DSP setup functions.

2020-12-08 Thread Connor McAdams
Now that the DSP's audio configuration is understood, remove previous hacky methods of trying to properly configure it. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 105 --- 1 file changed, 105 deletions(-) diff --git a/sound/pci/hda/patch_ca0

[PATCH 4/5] ALSA: hda/ca0132 - Ensure DSP is properly setup post-firmware download.

2020-12-08 Thread Connor McAdams
Make sure that the DSP has no DMA channels allocated once the firmware is downloaded, and that the default audio streams in use by the DSP are setup in the correct order. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 127 +++ 1 file changed, 127

[PATCH 1/5] ALSA: hda/ca0132 - Reset codec upon initialization.

2020-12-08 Thread Connor McAdams
Reset the codec upon initialization to clear out anything that may have been setup on a previous boot into Windows, or in case of an improper shutdown. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) dif

<    4   5   6   7   8   9   10   11   12   13   >