Re: CHECKPATCH: missing a warning soon after include files decl -c

2021-03-21 Thread Greg KH
On Sat, Mar 20, 2021 at 03:49:12PM +0100, Fabio Aiuto wrote: > On Sat, Mar 20, 2021 at 11:59:44AM +0100, Greg KH wrote: > > On Sat, Mar 20, 2021 at 11:54:24AM +0100, Fabio Aiuto wrote: > > > Hi, > > > > > > here's an issue in checkpatch.pl > > > > > > $ perl script/checkpatch.pl -f drivers/stagin

Re: Linux 5.10.25

2021-03-21 Thread Greg Kroah-Hartman
On Sat, Mar 20, 2021 at 09:31:55PM +, Jamie Heilman wrote: > [ugh, resent with the lkml headers unbroken, sorry about the dupe] > > Greg Kroah-Hartman wrote: > > J. Bruce Fields (2): > > Revert "nfsd4: remove check_conflicting_opens warning" > > Revert "nfsd4: a client's own opens

Re: [PATCH 5.4 00/18] 5.4.107-rc1 review

2021-03-21 Thread Samuel Zou
On 2021/3/19 20:18, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.107 release. There are 18 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 ma

Re: [PATCH v5 24/27] mm/filemap: Convert wait_on_page_bit to wait_on_folio_bit

2021-03-21 Thread kernel test robot
Hi "Matthew, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20210319] [cannot apply to linux/master linus/master hnaz-linux-mm/master v5.12-rc3 v5.12-rc2 v5.12-rc1 v5.12-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submi

Re: Linux 5.10.25

2021-03-21 Thread Jamie Heilman
Greg Kroah-Hartman wrote: > On Sat, Mar 20, 2021 at 09:31:55PM +, Jamie Heilman wrote: > > [ugh, resent with the lkml headers unbroken, sorry about the dupe] > > > > Greg Kroah-Hartman wrote: > > > J. Bruce Fields (2): > > > Revert "nfsd4: remove check_conflicting_opens warning" > > >

Re: [ANNOUNCE] v5.12-rc3-rt3

2021-03-21 Thread Mike Galbraith
On Sat, 2021-03-20 at 09:18 +0100, Mike Galbraith wrote: > On Fri, 2021-03-19 at 23:33 +0100, Sebastian Andrzej Siewior wrote: > > Dear RT folks! > > > > I'm pleased to announce the v5.12-rc3-rt3 patch set. > > My little rpi4b is fairly unhappy with 5.12-rt, whereas 5.11-rt works > fine on it. The

[PATCH net-next] net: lapb: Make "lapb_t1timer_running" able to detect an already running timer

2021-03-21 Thread Xie He
Problem: The "lapb_t1timer_running" function in "lapb_timer.c" is used in only one place: in the "lapb_kick" function in "lapb_out.c". "lapb_kick" calls "lapb_t1timer_running" to check if the timer is already pending, and if it is not, schedule it to run. However, if the timer has already fired a

[PATCH] media: cx25821: switch from 'pci_' to 'dma_' API

2021-03-21 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'cx25821_riscmem_alloc()' GFP_KERNEL can be used bec

[PATCH] clk: renesas: Couple of spelling fixes

2021-03-21 Thread Bhaskar Chowdhury
s/suposed/supposed/ s/concurent/concurrent/ Signed-off-by: Bhaskar Chowdhury --- drivers/clk/renesas/r9a06g032-clocks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/renesas/r9a06g032-clocks.c b/drivers/clk/renesas/r9a06g032-clocks.c index 892e91b92f2c..1

Re: [PATCH v2 0/3] ALSA: hdsp and hdspm, don't disable device if not enabled

2021-03-21 Thread Takashi Iwai
On Sat, 20 Mar 2021 23:23:33 +0100, Tong Zhang wrote: > > This series fixes issues in hdsp and hdspm. The drivers in question want > to disable a device that is not enabled on error path. > > v2: add fix to rme9652 > > Tong Zhang (3): > ALSA: hdsp: don't disable if not enabled > ALSA: hdspm:

Re: [PATCH net-next v2 2/2] net: ipa: fix IPA validation

2021-03-21 Thread Leon Romanovsky
On Sat, Mar 20, 2021 at 09:17:29AM -0500, Alex Elder wrote: > There are blocks of IPA code that sanity-check various values, at > compile time where possible. Most of these checks can be done once > during development but skipped for normal operation. These checks > permit the driver to make cert

Re: [PATCH] net: make unregister netdev warning timeout configurable

2021-03-21 Thread Leon Romanovsky
On Sat, Mar 20, 2021 at 03:28:51PM +0100, Dmitry Vyukov wrote: > netdev_wait_allrefs() issues a warning if refcount does not drop to 0 > after 10 seconds. While 10 second wait generally should not happen > under normal workload in normal environment, it seems to fire falsely > very often during fuz

[PATCH v2 2/3] drm/tilcdc: fix LCD pixel clock setting

2021-03-21 Thread Dario Binacchi
The tilcdc_pclk_diff() compares the requested pixel clock rate to the real one, so passing it clk_rate instead of clk_rate / clkdiv caused it to fail even if the clk_rate was properly set. Adding the real_pclk_rate variable makes the code more readable. Signed-off-by: Dario Binacchi --- Changes

[PATCH v2 3/3] drm/tilcdc: fix pixel clock setting warning message

2021-03-21 Thread Dario Binacchi
The warning message did not printed the LCD pixel clock rate but the LCD clock divisor input rate. As a consequence, the required and real pixel clock rates are now passed to the tilcdc_pclk_diff(). Signed-off-by: Dario Binacchi --- Changes in v2: - The patch has been added in version 2. driv

[PATCH v2 0/3] drm/tilcdc: fix LCD pixel clock setting

2021-03-21 Thread Dario Binacchi
The series was born from a patch to fix the LCD pixel clock setting. Two additional patches have been added to this. One renames a misleading variable name that was probably the cause of the bug and the other fixes a warning message. Changes in v2: - The patch has been added in version 2. - Ren

[PATCH v2 1/3] drm/tilcdc: rename req_rate to pclk_rate

2021-03-21 Thread Dario Binacchi
The req_rate name is a little misleading, so let's rename to pclk_rate (pixel clock rate). Signed-off-by: Dario Binacchi --- Changes in v2: - The patch has been added in version 2. drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --

Re: [PATCH 2/2] media: radio: RDA5807: Added driver

2021-03-21 Thread Hans Verkuil
Hi Maarten, Thank you for this patch. Before I can accept this driver I have to see the output of v4l2-compliance -r /dev/radioX. That utility is part of the v4l-utils git repo: git://linuxtv.org/v4l-utils.git Compile it from the master branch of that repo, don't rely on the version distribut

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-21 Thread Leon Romanovsky
On Sat, Mar 20, 2021 at 08:59:42AM -0600, Alex Williamson wrote: > On Sat, 20 Mar 2021 11:10:08 +0200 > Leon Romanovsky wrote: > > On Fri, Mar 19, 2021 at 10:23:13AM -0600, Alex Williamson wrote: > > > > > > What if we taint the kernel or pci_warn() for cases where either all > > > the reset met

Re: [PATCH 1/2] media: v4l2-core: ignore native time32 ioctls on 64-bit

2021-03-21 Thread Hans Verkuil
Hi Arnd, On 18/03/2021 14:43, Arnd Bergmann wrote: > From: Arnd Bergmann > > Syzbot found that passing ioctl command 0xc0505609 into a 64-bit > kernel from a 32-bit process causes uninitialized kernel memory to > get passed to drivers instead of the user space data: > > BUG: KMSAN: uninit-value

[PATCH] drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug

2021-03-21 Thread Qu Huang
Here is the system crash log: [ 1272.884438] BUG: unable to handle kernel NULL pointer dereference at (null) [ 1272.88] IP: [< (null)>] (null) [ 1272.884447] PGD 825b09067 PUD 8267c8067 PMD 0 [ 1272.884452] Oops: 0010 [#1] SMP [ 1272.884509] CPU: 13 PID: 3485 Comm: cat Kdump:

Re: [syzbot] KMSAN: uninit-value in skb_trim

2021-03-21 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:29ad81a1 arch/x86: add missing include to sparsemem.h git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=16b7e7b2d0 kernel config: https://syzkaller.apps

Re: linux-next: manual merge of the net tree with Linus' tree

2021-03-21 Thread Leon Romanovsky
On Sat, Mar 20, 2021 at 12:42:06PM -0700, Linus Torvalds wrote: > On Sat, Mar 20, 2021 at 12:28 PM Marc Kleine-Budde > wrote: > > > > Good idea. I'll send a pull request to David and Jakub. > > I don't think the revert is necessary. The conflict is so trivial that > it doesn't really matter. <.

[PATCH] sound: remove unnecessary blank

2021-03-21 Thread Fengfei Xi
Remove unnecessary blank when calling kmalloc_array(). Signed-off-by: Fengfei Xi --- sound/oss/dmasound/dmasound_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/oss/dmasound/dmasound_core.c b/sound/oss/dmasound/dmasound_core.c index 49679aa86..78bb9dfe2 100644 -

Re: [PATCH] media/pci: Assign value when defining variables

2021-03-21 Thread Hans Verkuil
Hi zuoqilin, On 17/03/2021 04:08, zuoqil...@163.com wrote: > From: zuoqilin > > When defining variables and assigning values can be done at the same time. For future reference: add the name of the driver to the prefix. Saying 'media/pci:' suggests that you patch multiple PCI drivers in that dir

Re: remove the legacy ide driver

2021-03-21 Thread John Paul Adrian Glaubitz
Hello Christoph! On 3/18/21 5:56 AM, Christoph Hellwig wrote: > libata mostly covers all hardware supported by the legacy ide driver. > There are three mips drivers that are not supported, but the linux-mips > list could not identify any users of those. There also are two m68k > drivers that do n

[PATCH net-next v2] net: lapb: Make "lapb_t1timer_running" able to detect an already running timer

2021-03-21 Thread Xie He
Problem: The "lapb_t1timer_running" function in "lapb_timer.c" is used in only one place: in the "lapb_kick" function in "lapb_out.c". "lapb_kick" calls "lapb_t1timer_running" to check if the timer is already pending, and if it is not, schedule it to run. However, if the timer has already fired a

RE: [PATCH v29 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-21 Thread Avri Altman
> +static int ufshpb_execute_umap_req(struct ufshpb_lu *hpb, > + struct ufshpb_req *umap_req, > + struct ufshpb_region *rgn) > +{ > + struct request *req; > + struct scsi_request *rq; > + > + req = umap_req->req; >

[GIT PULL] EFI fixes

2021-03-21 Thread Ingo Molnar
Linus, Please pull the latest efi/urgent git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-2021-03-21 # HEAD: 429257a430a0e81e9979256e0db718e35e7d9cee Merge tag 'efi-urgent-for-v5.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi

[PATCH] nfs_common: modify the comments for locks_end_grace and locks_in_grace

2021-03-21 Thread Fengfei Xi
This patch moves the comment for the @net parameter to the right place. Signed-off-by: Fengfei Xi --- fs/nfs_common/grace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs_common/grace.c b/fs/nfs_common/grace.c index 26f2a50ec..9b1a5c7d3 100644 --- a/fs/nfs_common/grac

[GIT PULL] locking fixes

2021-03-21 Thread Ingo Molnar
Linus, Please pull the latest locking/urgent git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2021-03-21 # HEAD: 38c93587375053c5b9ef093f4a5ea754538cba32 static_call: Fix static_call_update() sanity check Locking fixes: - Get static calls & module

Re: [PATCH v4 02/28] mm: Add an unlock function for PG_private_2/PG_fscache

2021-03-21 Thread Matthew Wilcox
On Wed, Mar 10, 2021 at 04:54:49PM +, David Howells wrote: > Add a function, unlock_page_private_2(), to unlock PG_private_2 analogous > to that of PG_lock. Add a kerneldoc banner to that indicating the example > usage case. One of the things which confused me about this was ... where's the o

[GIT PULL] perf fixes

2021-03-21 Thread Ingo Molnar
Linus, Please pull the latest perf/urgent git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-2021-03-21 # HEAD: 2dc0572f2cef87425147658698dce2600b799bd3 perf/x86/intel: Fix unchecked MSR access error caused by VLBR_EVENT Boundary condition fixes for bug

[GIT PULL] x86/urgent for v5.12-rc4

2021-03-21 Thread Borislav Petkov
Hi Linus, please pull the freshest pile of shiny x86/urgent fixes for 5.12. Thx. --- The following changes since commit 1e28eed17697bcf343c6743f0028cc3b5dd88bf0: Linux 5.12-rc3 (2021-03-14 14:41:02 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/g

Re: [RFC PATCH v2 00/11] bfq: introduce bfq.ioprio for cgroup

2021-03-21 Thread Paolo Valente
> Il giorno 12 mar 2021, alle ore 12:08, brookxu ha > scritto: > > From: Chunguang Xu > Hi Chunguang, > Tasks in the production environment can be roughly divided into > three categories: emergency tasks, ordinary tasks and offline > tasks. Emergency tasks need to be scheduled in real tim

[tip: perf/urgent] lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message

2021-03-21 Thread tip-bot2 for Tetsuo Handa
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 3a85969e9d912d5dd85362ee37b5f81266e00e77 Gitweb: https://git.kernel.org/tip/3a85969e9d912d5dd85362ee37b5f81266e00e77 Author:Tetsuo Handa AuthorDate:Sun, 21 Mar 2021 15:49:13 +09:00 Committe

Re: [PATCH v1 2/2] iio: temperature: add driver support for ti tmp117

2021-03-21 Thread Andy Shevchenko
(Seems it didn't make mailing list) On Sat, Mar 20, 2021 at 10:55 PM Andy Shevchenko wrote: > > > > On Saturday, March 20, 2021, Puranjay Mohan wrote: >> >> TMP117 is a Digital temperature sensor with integrated NV memory. >> >> Add support for tmp117 driver in iio subsystem. >> >> Datasheet:-ht

[PATCH] perf tools: Fix various typos in comments

2021-03-21 Thread Ingo Molnar
Fix ~81 single-word typos in the perf tooling code - accumulated over the years. Signed-off-by: Ingo Molnar --- tools/perf/Documentation/perf-buildid-cache.txt | 2 +- tools/perf/Documentation/perf-report.txt| 2 +- tools/perf/Documentation/perf-top.txt | 2 +- tools/perf/

[GIT PULL] IRQ updates & fixes

2021-03-21 Thread Ingo Molnar
Linus, Please pull the latest irq/urgent git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-2021-03-21 # HEAD: 81e2073c175b887398e5bca6c004efa89983f58d genirq: Disable interrupts for force threaded handlers A change to robustify force-threaded IRQ handle

Re: arm64 syzbot instances

2021-03-21 Thread Arnd Bergmann
On Sat, Mar 20, 2021 at 9:43 PM Peter Maydell wrote: > > On Fri, 12 Mar 2021 at 09:16, Arnd Bergmann wrote: > > So it's probably qemu that triggers the 'synchronous external > > abort' when accessing the PCI I/O space, which in turn hints > > towards a bug in qemu. Presumably it only returns data

Re: arm64 syzbot instances

2021-03-21 Thread Arnd Bergmann
On Sun, Mar 21, 2021 at 12:52 PM Arnd Bergmann wrote: > On Sat, Mar 20, 2021 at 9:43 PM Peter Maydell > wrote: > https://tldp.org/HOWTO/Plug-and-Play-HOWTO-6.html#ss6.12 > states the behavior of the ISA I/O ports and how Linux drivers rely > on that. Is that enough for you? Actually it only me

Re: [PATCH v6 1/5] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-03-21 Thread Laurent Pinchart
Hi Xin, Thank you for the patch. On Fri, Mar 19, 2021 at 02:32:39PM +0800, Xin Ji wrote: > Add 'bus-type' and 'data-lanes' define for port0. Define DP tx lane0, > lane1 swing register array define, and audio enable flag. > > Signed-off-by: Xin Ji > --- > .../display/bridge/analogix,anx7625.yam

Re: [syzbot] KASAN: use-after-free Read in firmware_fallback_sysfs

2021-03-21 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:a1e6f641 Revert "net: dsa: sja1105: Clear VLAN filtering o.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1637614ed0 kernel config: https://syzkaller.appspot.com/x/.config?x=c237162

Re: [PATCH v2 02/14] x86/alternatives: Optimize optimize_nops()

2021-03-21 Thread Borislav Petkov
On Thu, Mar 18, 2021 at 06:11:05PM +0100, Peter Zijlstra wrote: > --- a/arch/x86/kernel/alternative.c > +++ b/arch/x86/kernel/alternative.c > @@ -345,19 +345,39 @@ recompute_jump(struct alt_instr *a, u8 * > static void __init_or_module noinline optimize_nops(struct alt_instr *a, u8 > *instr) > {

[PATCH] crypto: amcc: fix incorrect kernel-doc comment syntax in files

2021-03-21 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in drivers/crypto/amcc, which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed d

[PATCH] crypto: ux500: fix incorrect kernel-doc comment syntax

2021-03-21 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in drivers/crypto/ux500, which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed

[net-next PATCH 0/8] configuration support for switch headers & phy

2021-03-21 Thread Hariprasad Kelam
This series of patches add support for parsing switch headers and configuration support for phy modulation type(NRZ or PAM4). PHYs that support changing modulation type ,user can configure it through private flags pam4. Marvell switches support DSA(distributed switch architecture) with different

[net-next PATCH 2/8] octeontx2-pf: Add ethtool priv flag to control PAM4 on/off

2021-03-21 Thread Hariprasad Kelam
From: Felix Manlunas For PHYs that support changing modulation type (NRZ or PAM4), enable these commands: ethtool --set-priv-flags ethX pam4 on ethtool --set-priv-flags ethX pam4 off# means NRZ modulation ethtool --show-priv-flags ethX Signed-off-by: Felix Manlunas

[net-next PATCH 1/8] octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type

2021-03-21 Thread Hariprasad Kelam
From: Felix Manlunas Implement commands to set and get PHY line-side modulation type (NRZ or PAM4) from firmware. Signed-off-by: Felix Manlunas Signed-off-by: Hariprasad Kelam Signed-off-by: Sunil Goutham --- .../net/ethernet/marvell/octeontx2/af/cgx.c | 29 + .../net/ether

[net-next PATCH 3/8] octeontx2-af: Support for parsing pkts with switch headers

2021-03-21 Thread Hariprasad Kelam
Switch headers are designed to support better flow control and loadbalancing etc. When switch headers like EDSA, Higig2 etc are present in ingress or egress pkts default iKPU index (or PKIND) used by NPC to parse pkts will not work as there are additional headers appended to the pkt. Hence a separa

[net-next PATCH 4/8] octeontx2-af: Do not allow VFs to overwrite PKIND config

2021-03-21 Thread Hariprasad Kelam
When switch headers like EDSA, Higig2 etc are present in ingress or egress packets the packet parsing done by NPC needs to take additional headers into account. KPU profile handles these using specific PKINDs (the iKPU index) to parse these packets differently. AF writes these pkinds to HW upon r

[net-next PATCH 6/8] octeontx2-pf: Support to enable EDSA/Higig2 pkts parsing

2021-03-21 Thread Hariprasad Kelam
When switch headers like EDSA, Higig2 etc are present in ingress or egress pkts the pkt parsing done by NPC needs to take additional headers into account. KPU profile handles these using specific PKINDs (the iKPU index) to start parsing pkts differently. This patch enables user to configure these

[net-next PATCH 8/8] octeontx2-pf: Add ntuple filter support for FDSA

2021-03-21 Thread Hariprasad Kelam
Marvell switches support FDSA (Forward DSA). FDSA has 4 bytes length and it contains Src port and vlan field. KPU profile is updated to parse FDSA packet and extract Src port. The extracted Src port is placed in vlan field of KEX key. This patch adds ntuple filter support to FDSA tag. So that use

[net-next PATCH 7/8] octeontx2-af: Add flow steering support for FDSA tag

2021-03-21 Thread Hariprasad Kelam
Marvell switches support distributed switch architecture (DSA) by implementing FORWARD(FDSA). Special pkind 62 is reserved to parse this tag. This patch adds support to configure pkind and flow steering for the same. To distribute fdsa packets among PF/VF , one can specify NPC_FDSA_VAL in mcam fea

[net-next PATCH 5/8] octeontx2-af: Put CGX LMAC also in Higig2 mode

2021-03-21 Thread Hariprasad Kelam
Currently upon user request to enable Higig2 mode, only NPC packet parsing related settings are done. This patch adds config to put CGX LMAC also in Higig2 mode. Actual hardware config is done by firmware, so send a request to firmware to get the config done. Adds support for higig2 pause frames s

[PATCH v2] arm64: dts: msm8916: Enable CoreSight STM component

2021-03-21 Thread Leo Yan
Add DT binding for CoreSight System Trace Macrocell (STM) on msm8916, which can benefit the CoreSight development on DB410c. Signed-off-by: Georgi Djakov Signed-off-by: Leo Yan --- Changes from v1: * alphabetically and address ordering for DT node; pad addresses with * zeroes (Stephan Gerhold).

Re: [PATCH v4 2/2] staging: Add driver for XillyUSB (Xillybus variant for USB)

2021-03-21 Thread Greg KH
On Thu, Mar 11, 2021 at 11:50:33AM +0200, eli.billa...@gmail.com wrote: > From: Eli Billauer > > The XillyUSB driver is the USB variant for the Xillybus FPGA IP core. > Even though it presents a nearly identical API on the FPGA and host, > it's almost a complete rewrite of the driver: The framewo

Re: [PATCH v4 1/2] char: xillybus: Move class-related functions to new xillybus_class.c

2021-03-21 Thread Greg KH
On Thu, Mar 11, 2021 at 11:50:32AM +0200, eli.billa...@gmail.com wrote: > From: Eli Billauer > > This patch is a preparation for adding another related driver, XillyUSB. > In order to share some code between the existing Xillybus driver and the > one to be added, some functions are moved to xilly

Re: [PATCH v4 1/2] char: xillybus: Move class-related functions to new xillybus_class.c

2021-03-21 Thread Greg KH
On Thu, Mar 11, 2021 at 11:50:32AM +0200, eli.billa...@gmail.com wrote: > +EXPORT_SYMBOL(xillybus_init_chrdev); Given the license for this code, perhaps EXPORT_SYMBOL_GPL()? I have to ask :) thanks, greg k-h

[PATCH] crypto: nx: fix incorrect kernel-doc comment syntax in files

2021-03-21 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in drivers/crypto/nx, which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed due

Re: linux-next: Tree for Mar 19

2021-03-21 Thread Michael Ellerman
Miguel Ojeda writes: > On Sat, Mar 20, 2021 at 7:49 AM Miguel Ojeda > wrote: >> >> Reproduced on s390. However, under defconfig, one also needs to revert >> kernel/livepatch/core.c to avoid triggering the assert, i.e.: > > Stephen: I will put this in rust-next so that others don't see > problems

Re: [PATCH 00/14] Initial support for Nuvoton WPCM450 BMC SoC

2021-03-21 Thread Jonathan Neuschäfer
On Sun, Mar 21, 2021 at 01:07:53PM +0200, Tomer Maimon wrote: > Hi Jonathan, > > Thanks a lot for trying to add WPCM450. > > Hoever WPCM450 is in EOL for several years and we are not supporting this > product anymore. > As you said it is only available in the secondary market. > > Due to it is b

[GIT PULL] USB/Thunderbolt driver fixes for 5.12-rc4

2021-03-21 Thread Greg KH
The following changes since commit 1e28eed17697bcf343c6743f0028cc3b5dd88bf0: Linux 5.12-rc3 (2021-03-14 14:41:02 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.12-rc4 for you to fetch changes up to 2b8c956ea6ba896ec18ae

[GIT PULL] Staging/IIO driver fixes for 5.12-rc4

2021-03-21 Thread Greg KH
The following changes since commit 1e28eed17697bcf343c6743f0028cc3b5dd88bf0: Linux 5.12-rc3 (2021-03-14 14:41:02 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.12-rc4 for you to fetch changes up to 2cafd46a714a

Re: [PATCH v2] memory: tegra20: Add debug statistics

2021-03-21 Thread Krzysztof Kozlowski
On Fri, 19 Mar 2021 16:09:33 +0300, Dmitry Osipenko wrote: > Add debug statistics collection support. The statistics is available > via debugfs in '/sys/kernel/debug/mc/stats', it shows percent of memory > controller utilization for each memory client. This information is > intended to help with de

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-21 Thread syzbot
syzbot has bisected this issue to: commit a33df75c6328bf40078b35f2040d8e54d574c357 Author: Christoph Hellwig Date: Sun Jan 24 10:02:41 2021 + block: use an xarray for disk->part_tbl bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17989906d0 start commit: 1c273e10 Me

[PATCH net-next 1/2] net: socket: use BIT() for MSG_*

2021-03-21 Thread menglong8 . dong
From: Menglong Dong The bit mask for MSG_* seems a little confused here. Replace it with BIT() to make it clear to understand. Signed-off-by: Menglong Dong --- include/linux/socket.h | 71 ++ 1 file changed, 37 insertions(+), 34 deletions(-) diff --git

[PATCH v3] arm64: dts: msm8916: Enable CoreSight STM component

2021-03-21 Thread Leo Yan
From: Georgi Djakov Add DT binding for CoreSight System Trace Macrocell (STM) on msm8916, which can benefit the CoreSight development on DB410c. Signed-off-by: Georgi Djakov Signed-off-by: Leo Yan --- Changes from v2: * Correct for author name. Changes from v1: * alphabetically and address o

[PATCH net-next 0/2] net: socket: use BIT() for MSG_* and fix MSG_CMSG_COMPAT

2021-03-21 Thread menglong8 . dong
From: Menglong Dong In the first patch, I use BIT() for MSG_* to make the code tidier. Directly use BIT() for MSG_* will be a bit problematic, because 'msg_flags' is defined as 'int' somewhere, and MSG_CMSG_COMPAT will make it become negative, just like what Guenter Roeck reported here: https:/

[PATCH net-next 2/2] net: socket: change MSG_CMSG_COMPAT to BIT(21)

2021-03-21 Thread menglong8 . dong
From: Menglong Dong Currently, MSG_CMSG_COMPAT is defined as '1 << 31'. However, 'msg_flags' is defined with type of 'int' somewhere, such as 'packet_recvmsg' and other recvmsg functions: static int packet_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,

Re: [PATCH v2] arm64: dts: msm8916: Enable CoreSight STM component

2021-03-21 Thread Leo Yan
On Sun, Mar 21, 2021 at 08:11:05PM +0800, Leo Yan wrote: > Add DT binding for CoreSight System Trace Macrocell (STM) on msm8916, > which can benefit the CoreSight development on DB410c. > > Signed-off-by: Georgi Djakov > Signed-off-by: Leo Yan When I rebased this patch, I didn't know why the pa

Re: [PATCH net-next 2/2] net: socket: change MSG_CMSG_COMPAT to BIT(21)

2021-03-21 Thread Herbert Xu
On Sun, Mar 21, 2021 at 08:39:29PM +0800, menglong8.d...@gmail.com wrote: > > diff --git a/include/linux/socket.h b/include/linux/socket.h > index d5ebfe30d96b..317b2933f499 100644 > --- a/include/linux/socket.h > +++ b/include/linux/socket.h > @@ -312,17 +312,18 @@ struct ucred { >

Re: [PATCH -tip v3 08/11] kprobes: Setup instruction pointer in __kretprobe_trampoline_handler

2021-03-21 Thread Masami Hiramatsu
On Fri, 19 Mar 2021 21:23:12 +0900 Masami Hiramatsu wrote: > To simplify the stacktrace with pt_regs from kretprobe handler, > set the correct return address to the instruction pointer in > the pt_regs before calling kretprobe handlers. > Oops, now I also find this breaks kretprobe for arm. It

Re: [PATCH 8/9] vfio/pci: export nvlink2 support into vendor vfio_pci drivers

2021-03-21 Thread Jason Gunthorpe
On Fri, Mar 19, 2021 at 10:40:28PM -0600, Alex Williamson wrote: > > Well, today we don't, but Max here adds id_table's to the special > > devices and a MODULE_DEVICE_TABLE would come too if we do the flavours > > thing below. > > I think the id_tables are the wrong approach for IGD and NVLink >

DID YOU RECEIVE MY MAIL?

2021-03-21 Thread Abdwabbo Maddah
-- Dear, I had sent you a mail but i don't think you received it that's why am writing you again.It is important you get back to me as soon as you can. Abd-Wabbo Maddah

[PATCH] MAINTAINERS: Combine "QLOGIC QLGE 10Gb ETHERNET DRIVER" sections into one

2021-03-21 Thread Jonathan Neuschäfer
There ended up being two sections with the same title. Combine the two into one section. Signed-off-by: Jonathan Neuschäfer Cc: Manish Chopra Cc: Coiby Xu --- MAINTAINERS | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index d92f85ca831d3..

Re: [PATCH V3] exit: trigger panic when global init has exited

2021-03-21 Thread qianli zhao
Hi,Oleg > How? Perhaps I missed something again, but I don't think this is possible. > zap_pid_ns_processes() simply won't be called, find_child_reaper() will > see the !PF_EXITING thread which calls panic(). > So I think this should be documented somehow, at least in the changelog. This proble

Re: [PATCH v5 3/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-21 Thread Fabio Estevam
Hi Alistair, On Mon, Mar 15, 2021 at 11:27 PM Alistair Francis wrote: > > The reMarkable2 (https://remarkable.com) is an e-ink tablet based on > the imx7d SoC. > > This commit is based on the DTS provide by reMarkable but ported to the > latest kernel (instead of 4.14). I have removed references

Re: Bootconfig ..too many deep level of header file

2021-03-21 Thread Masami Hiramatsu
Hi Bhaskar, On Sun, 21 Mar 2021 08:38:56 +0530 Bhaskar Chowdhury wrote: > Hey, Masami > > I was wondering why so many level of "deep nesting" of a particualr header > file like this one : > > ✔ ~/git-linux/linux/tools/bootconfig/include/linux [patch L|✔] > 08:34 $ cat bootconfig.h > /* SPD

[PATCH] MIPS: generic: Support linking with LLVM ld.lld

2021-03-21 Thread Paul Cercueil
LLVM's ld.lld chokes on the 64-bit sign-extended load addresses. Use 32-bit addresses if the linker is LLVM's ld.lld. Signed-off-by: Paul Cercueil --- arch/mips/generic/Platform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/generic/Platform b/arch/mips/generic

Re: [PATCH net-next v2 2/2] net: ipa: fix IPA validation

2021-03-21 Thread Alex Elder
On 3/21/21 3:21 AM, Leon Romanovsky wrote: On Sat, Mar 20, 2021 at 09:17:29AM -0500, Alex Elder wrote: There are blocks of IPA code that sanity-check various values, at compile time where possible. Most of these checks can be done once during development but skipped for normal operation. These

Re: [PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks gw7901 dts support

2021-03-21 Thread Fabio Estevam
Hi Tim, On Fri, Mar 19, 2021 at 5:50 PM Tim Harvey wrote: > > The Gateworks GW7901 is an ARM based single board computer (SBC) > featuring: > - i.MX8M Mini SoC > - LPDDR4 DRAM > - eMMC FLASH > - SPI FRAM > - Gateworks System Controller (GSC) > - Atmel ATECC Crypto Authentication > - USB 2.

Re: [PATCH v2 1/2] dt-bindings: arm: imx: add imx8mm gw7901 support

2021-03-21 Thread Fabio Estevam
On Fri, Mar 19, 2021 at 5:50 PM Tim Harvey wrote: > > The Gateworks GW7901 is an ARM based single board computer (SBC) > featuring: > - i.MX8M Mini SoC > - LPDDR4 DRAM > - eMMC FLASH > - SPI FRAM > - Gateworks System Controller (GSC) > - Atmel ATECC Crypto Authentication > - USB 2.0 > - Mi

Re: [PATCH] drm/radeon: don't evict if not initialized

2021-03-21 Thread Christian König
Am 20.03.21 um 21:10 schrieb Tong Zhang: TTM_PL_VRAM may not initialized at all when calling radeon_bo_evict_vram(). We need to check before doing eviction. [2.160837] BUG: kernel NULL pointer dereference, address: 0020 [2.161212] #PF: supervisor read access in kernel mode

Re: [PATCH net-next 2/2] net: socket: change MSG_CMSG_COMPAT to BIT(21)

2021-03-21 Thread Menglong Dong
On Sun, Mar 21, 2021 at 8:49 PM Herbert Xu wrote: > ... > > Shouldn't you add some comment here to stop people from trying to > use BIT(31) in the future? > > Thanks, Yeah, I think it's necessary. Thank you for your reminder~ With Regards, Menglong Dong

Re: [PATCH 1/6] sched: migration changes for core scheduling

2021-03-21 Thread Li, Aubrey
Hi Peter, On 2021/3/20 23:34, Peter Zijlstra wrote: > On Fri, Mar 19, 2021 at 04:32:48PM -0400, Joel Fernandes (Google) wrote: >> @@ -7530,8 +7543,9 @@ int can_migrate_task(struct task_struct *p, struct >> lb_env *env) >> * We do not migrate tasks that are: >> * 1) throttled_lb_pair,

[PATCH v2 net-next 1/2] net: socket: use BIT() for MSG_*

2021-03-21 Thread menglong8 . dong
From: Menglong Dong The bit mask for MSG_* seems a little confused here. Replace it with BIT() to make it clear to understand. Signed-off-by: Menglong Dong --- include/linux/socket.h | 71 ++ 1 file changed, 37 insertions(+), 34 deletions(-) diff --git

[PATCH v2 net-next 0/2] net: socket: use BIT() for MSG_* and fix MSG_CMSG_COMPAT

2021-03-21 Thread menglong8 . dong
From: Menglong Dong In the first patch, I use BIT() for MSG_* to make the code tidier. Directly use BIT() for MSG_* will be a bit problematic, because 'msg_flags' is defined as 'int' somewhere, and MSG_CMSG_COMPAT will make it become negative, just like what Guenter Roeck reported here: https:/

[PATCH v2 net-next 2/2] net: socket: change MSG_CMSG_COMPAT to BIT(21)

2021-03-21 Thread menglong8 . dong
From: Menglong Dong Currently, MSG_CMSG_COMPAT is defined as '1 << 31'. However, 'msg_flags' is defined with type of 'int' somewhere, such as 'packet_recvmsg' and other recvmsg functions: static int packet_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,

[PATCH v3 0/1] Allow drivers to modify dql.min_limit value

2021-03-21 Thread Vincent Mailhol
Abstract: would like to directly set dql.min_limit value inside a driver to improve BQL performances of a CAN USB driver. CAN packets have a small PDU: for classical CAN maximum size is roughly 16 bytes (8 for payload and 8 for arbitration, CRC and others). I am writing an CAN driver for an USB i

Re: [PATCH net-next v2 2/2] net: ipa: fix IPA validation

2021-03-21 Thread Leon Romanovsky
On Sun, Mar 21, 2021 at 08:21:24AM -0500, Alex Elder wrote: > On 3/21/21 3:21 AM, Leon Romanovsky wrote: > > On Sat, Mar 20, 2021 at 09:17:29AM -0500, Alex Elder wrote: > > > There are blocks of IPA code that sanity-check various values, at > > > compile time where possible. Most of these checks c

[PATCH v3 1/1] netdev: add netdev_queue_set_dql_min_limit()

2021-03-21 Thread Vincent Mailhol
Add a function to set the dynamic queue limit minimum value. Some specific drivers might have legitimate reasons to configure dql.min_limit to a given value. Typically, this is the case when the PDU of the protocol is smaller than the packet size to used to carry those frames to the device. Concr

[RESEND PATCH v1] checkpatch: exclude four preprocessor sub-expressions from MACRO_ARG_REUSE

2021-03-21 Thread Vincent Mailhol
__must_be_array, offsetof, sizeof_field and __stringify are all preprocessor macros and do not evaluate their arguments. As such, it is safe not to warn when arguments are being reused in those four sub-expressions. Exclude those so that they can pass checkpatch. Signed-off-by: Vincent Mailhol -

[PATCH v3 0/9] Add Wacom I2C support to rM2

2021-03-21 Thread Alistair Francis
From: Alistair Francis Add support to the reMarkable2 (rM2) for the Wacom I2C device. This is based on the reMarkable Linux fork and with this series I am able to probe the Wacom digitiser. Alistair Francis (9): dt-bindings: Add Wacom to vendor bindings dt-bindings: touchscreen: Initial com

[PATCH v3 2/9] dt-bindings: touchscreen: Initial commit of wacom,generic

2021-03-21 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,generic.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml diff --git a/Documentation/devicetree/bindings/input/touchscre

[PATCH v3 3/9] Input: wacom_i2c - Add device tree support to wacom_i2c

2021-03-21 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 1afc6bde2891..fc0bf

[PATCH v3 6/9] Input: wacom_i2c - Clean up the query device fields

2021-03-21 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 71 +++ 1 file changed, 51 insertions(+), 20 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom

[PATCH v3 8/9] ARM: imx_v6_v7_defconfig: Enable Wacom I2C

2021-03-21 Thread Alistair Francis
Enable the Wacom I2C in the imx defconfig as it is used by the reMarkable2 tablet. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 70928

[PATCH v3 1/9] dt-bindings: Add Wacom to vendor bindings

2021-03-21 Thread Alistair Francis
Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index a8e1e8d2ef20..996f4de2fff5 100644

[PATCH v3 7/9] Input: wacom_i2c - Add support for vdd regulator

2021-03-21 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers

[PATCH v3 4/9] Input: wacom_i2c - Add touchscren properties

2021-03-21 Thread Alistair Francis
Connect touchscreen properties to the wacom_i2c. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index fc0bf583d33b..9b2ed0463d09 100644

  1   2   3   4   5   6   7   >