[PATCH for-next 23/32] scsi: nsp32: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/nsp32.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c index

[PATCH for-next 02/32] scsi: ipr: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/ipr.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c

[PATCH for-next 26/32] scsi: qlogicfas408: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/qlogicfas408.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qlogicfas408.c

[PATCH for-next 32/32] scsi: advansys: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/advansys.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index

[PATCH for-next 24/32] scsi: pmcraid: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/pmcraid.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index

[PATCH for-next 22/32] scsi: ncr53c8xx: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/ncr53c8xx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ncr53c8xx.c b/drivers/scsi/ncr53c8xx.c

[PATCH for-next 29/32] scsi: stex: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/stex.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index

[PATCH for-next 13/32] scsi: hptiop: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/hptiop.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c index

[PATCH for-next 00/32] spin lock usage optimization for SCSI drivers

2021-02-07 Thread Xiaofei Tan
Replace spin_lock_irqsave with spin_lock in hard IRQ of SCSI drivers. There are no function changes, but may speed up if interrupt happen too often. Xiaofei Tan (32): scsi: 53c700: Replace spin_lock_irqsave with spin_lock in hard IRQ scsi: ipr: Replace spin_lock_irqsave with spin_lock in hard

[PATCH for-next 10/32] scsi: bfa: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/bfa/bfad.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/bfa/bfad.c

[PATCH for-next 16/32] scsi: megaraid: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/megaraid.c | 10 -- drivers/scsi/megaraid/megaraid_sas_base.c | 5 ++--- 2 files changed, 6 insertions(+), 9

[PATCH for-next 04/32] scsi: qla4xxx: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/qla4xxx/ql4_isr.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_isr.c

[PATCH for-next 14/32] scsi: ibmvscsi: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/ibmvscsi/ibmvfc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c

[PATCH for-next 18/32] scsi: mesh: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/mesh.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/mesh.c b/drivers/scsi/mesh.c index

[PATCH for-next 07/32] scsi: a2091: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/a2091.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c index

[PATCH for-next 06/32] scsi: a100u2w: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/a100u2w.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index

[PATCH for-next 05/32] scsi: BusLogic: Replace spin_lock_irqsave with spin_lock in hard IRQ

2021-02-07 Thread Xiaofei Tan
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan --- drivers/scsi/BusLogic.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index

Re: [PATCH] apparmor: fix error check

2021-02-07 Thread John Johansen
On 10/4/20 7:24 AM, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis reports this representative problem: > > label.c:1463:16: warning: Assigned value is garbage or undefined > label->hname = name; > ^ > > In aa_update_label_name(), this the

[GIT PULL] sched/urgent for v5.11-rc7

2021-02-07 Thread Borislav Petkov
Hi Linus, pls pull one sched/urgent revert for v5.11. Thx. --- The following changes since commit 1048ba83fb1c00cd24172e23e8263972f6b5d9ac: Linux 5.11-rc6 (2021-01-31 13:50:09 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [PATCH v2 6/7] platform: x86: Add intel_skl_int3472 driver

2021-02-07 Thread Daniel Scally
Hello Andy, Laurent On 21/01/2021 00:18, Daniel Scally wrote: > On 20/01/2021 12:57, Andy Shevchenko wrote: >> On Wed, Jan 20, 2021 at 06:21:41AM +0200, Laurent Pinchart wrote: >>> On Tue, Jan 19, 2021 at 07:51:14PM +0200, Andy Shevchenko wrote: On Tue, Jan 19, 2021 at 06:48:15PM +0200,

linux-next: Fixes tag needs some work in the soundwire tree

2021-02-07 Thread Stephen Rothwell
Hi all, In commit 531f45f2bdf6 ("soundwire: export sdw_write/read_no_pm functions") Fixes tag Fixes: 60ee9be25571 ('soundwire: bus: add PM/no-PM versions of has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but no trailing quotes Please do

[GIT PULL] timers/urgent for v5.11-rc7

2021-02-07 Thread Borislav Petkov
Hi Linus, please pull two more timers-related fixes for v5.11. Thx. --- The following changes since commit 211e5db19d15a721b2953ea54b8f26c2963720eb: rtc: mc146818: Detect and handle broken RTCs (2021-01-27 09:36:22 +0100) are available in the Git repository at:

Re: [PATCH] I was wondering why I can't set the resolution to 2560x1080, while in windows 7 I can without a problem. I looked at the radeon driver code and found it doesn't support this resolution. So

2021-02-07 Thread Joe Perches
Your subject needs to be changed and a commit log added. > diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c > b/drivers/gpu/drm/radeon/radeon_connectors.c [] > @@ -37,6 +37,8 @@ >  #include >  #include > > +extern int hdmimhz; > + >  static int radeon_dp_handle_hpd(struct drm_connector

Re: [RESEND PATCH v8 net-next 03/15] net: mvpp2: add CM3 SRAM memory map

2021-02-07 Thread Baruch Siach
Hi Stefan, On Sun, Feb 07 2021, stef...@marvell.com wrote: > From: Stefan Chulski > > This patch adds CM3 memory map and CM3 read/write callbacks. > No functionality changes. > > Signed-off-by: Stefan Chulski > --- > drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 7 +++ >

Re: [PATCH v19 3/3] scsi: ufs: Prepare HPB read for cached sub-region

2021-02-07 Thread Bean Huo
On Sun, 2021-02-07 at 15:36 +0800, Can Guo wrote: > > > > Thanks, I tested Daejun's patchset before, it is also ok (I don't > > know > > which version patchset). maybe we can keep current implementation > > as > > default, then if there is conflict, and submit the quirk. > > > > Yeah, you've

[GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread Borislav Petkov
Hi Linus, I hope this is the last batch of x86/urgent updates for this round. Pls pull, thx. --- The following changes since commit 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04: Linux 5.11-rc5 (2021-01-24 16:47:14 -0800) are available in the Git repository at:

Re: [RFC PATCH 10/11] vfio/iommu_type1: Optimize dirty bitmap population based on iommu HWDBM

2021-02-07 Thread Keqian Zhu
Hi Yi, On 2021/2/7 17:56, Yi Sun wrote: > Hi, > > On 21-01-28 23:17:41, Keqian Zhu wrote: > > [...] > >> +static void vfio_dma_dirty_log_start(struct vfio_iommu *iommu, >> + struct vfio_dma *dma) >> +{ >> +struct vfio_domain *d; >> + >> +

Re: [PATCH 5.10 04/57] net: octeontx2: Make sure the buffer is 128 byte aligned

2021-02-07 Thread Kevin Hao
On Sun, Feb 07, 2021 at 10:20:15AM +0100, Pavel Machek wrote: > Hi! > > > commit db2805150a0f27c00ad286a29109397a7723adad upstream. > > > > The octeontx2 hardware needs the buffer to be 128 byte aligned. > > But in the current implementation of napi_alloc_frag(), it can't > > guarantee the

[PATCH v2 5/7] ASoC: imx-pcm-rpmsg: Add platform driver for audio base on rpmsg

2021-02-07 Thread Shengjiu Wang
platform driver base on rpmsg is the interface for sending and receiving rpmsg to and from M core. It will tell the Cortex-M core sound format/rate/channel, where is the data buffer, where is the period size, when to start, when to stop and when suspend or resume happen, each this behavior there

Re: [PATCH] ASoC: fsl: constify static snd_soc_dai_ops structs

2021-02-07 Thread Shengjiu Wang
On Sun, Feb 7, 2021 at 6:58 AM Rikard Falkeborn wrote: > > The only usage of these is to assign their address to the 'ops' field in > the snd_soc_dai_driver struct, which is a pointer to const. Make them > const to allow the compiler to put them in read-only memory. > > Signed-off-by: Rikard

[PATCH v2 7/7] ASoC: dt-bindings: imx-rpmsg: Add binding doc for rpmsg machine driver

2021-02-07 Thread Shengjiu Wang
Imx-rpmsg is a new added machine driver for supporting audio on Cortex-M core. The Cortex-M core will control the audio interface, DMA and audio codec, setup the pipeline, the audio driver on Cortex-A core side is just to communitcate with M core, it is a virtual sound card and don't touch the

[PATCH v2 4/7] ASoC: imx-audio-rpmsg: Add rpmsg_driver for audio channel

2021-02-07 Thread Shengjiu Wang
This driver is used to accept the message from rpmsg audio channel, and if this driver is probed, it will help to register the platform driver, the platform driver will use this audio channel to send and receive message to and from Cortex-M core. Signed-off-by: Shengjiu Wang ---

[PATCH v2 6/7] ASoC: imx-rpmsg: Add machine driver for audio base on rpmsg

2021-02-07 Thread Shengjiu Wang
The platform device is not registered by device tree or cpu dai driver, it is registered by the rpmsg channel, So add a dedicated machine driver to handle this case. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/Kconfig | 12 sound/soc/fsl/Makefile| 2 +

[PATCH v2 1/7] ASoC: soc-component: Add snd_soc_pcm_component_ack

2021-02-07 Thread Shengjiu Wang
Add snd_soc_pcm_component_ack back, which can be used to get updated buffer pointer in platform driver. On Asymmetric multiprocessor, this pointer can be sent to Cortex-M core for audio processing. Signed-off-by: Shengjiu Wang --- include/sound/soc-component.h | 3 +++

[PATCH v2 3/7] ASoC: dt-bindings: fsl_rpmsg: Add binding doc for rpmsg cpu dai driver

2021-02-07 Thread Shengjiu Wang
fsl_rpmsg cpu dai driver is driver for rpmsg audio, which is mainly used for getting the user's configuration from device tree and configure the clocks which is used by Cortex-M core. So in this document define the needed property. Signed-off-by: Shengjiu Wang ---

[PATCH v2 2/7] ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg

2021-02-07 Thread Shengjiu Wang
This is a cpu dai driver for rpmsg audio use case, which is mainly used for getting the user's configuration from devicetree and configure the clocks which is used by Cortex-M core. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/Kconfig | 7 ++ sound/soc/fsl/Makefile| 2 +

[PATCH v2 0/7] Add audio driver base on rpmsg on i.MX platform

2021-02-07 Thread Shengjiu Wang
On Asymmetric multiprocessor, there is Cortex-A core and Cortex-M core, Linux is running on A core, RTOS is running on M core. The audio hardware device can be controlled by Cortex-M device, So audio playback/capture can be handled by M core. Rpmsg is the interface for sending and receiving msg

Re: [PATCH] Input: synaptic - reverting dcb00fc799dc03fd320e123e4c81b3278c763ea5 because it breaks the touchpad for one guy on Reddit.

2021-02-07 Thread Hans de Goede
Hi, On 2/7/21 11:18 AM, Hans de Goede wrote: > Hi, > > On 2/7/21 4:50 AM, Colton Booth wrote: >> I can't test myself since I don't have the correct hardware, BUT this change >> seems to work for him. I'm thinking he has an early version of the X1E which >> may use slightly different trackpad

Re: [PATCH] I was wondering why I can't set the resolution to 2560x1080, while in windows 7 I can without a problem. I looked at the radeon driver code and found it doesn't support this resolution. So

2021-02-07 Thread Willy Tarreau
Hello, On Sun, Feb 07, 2021 at 10:46:04AM +0100, Marcin Raszka wrote: > --- > drivers/gpu/drm/radeon/radeon_benchmark.c | 5 ++-- > drivers/gpu/drm/radeon/radeon_connectors.c | 30 ++ > drivers/gpu/drm/radeon/radeon_drv.c| 5 >

Re: [PATCH v6 2/4] soc: qcom: Add SoC sleep stats driver

2021-02-07 Thread kernel test robot
-randconfig-r013-20210207 (attached as .config) compiler: h8300-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux

Re: [PATCH] Input: synaptic - reverting dcb00fc799dc03fd320e123e4c81b3278c763ea5 because it breaks the touchpad for one guy on Reddit.

2021-02-07 Thread Hans de Goede
Hi, On 2/7/21 4:50 AM, Colton Booth wrote: > I can't test myself since I don't have the correct hardware, BUT this change > seems to work for him. I'm thinking he has an early version of the X1E which > may use slightly different trackpad revision. Who is "him"? Do you have a bug-report link

Re: [PATCH v2] jfs: turn diLog(), dataLog() and txLog() into void functions

2021-02-07 Thread kernel test robot
in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Yang-Li/jfs-turn-diLog-dataLog-and-txLog-into-void-functions/20210207-164143 base: https://github.com/kleikamp/linux-shaggy jfs-next config: i386-randconfig-s001-20210207 (attached as .config) compiler

[PATCH] powerpc/uaccess: Perform barrier_nospec() in KUAP allowance helpers

2021-02-07 Thread Christophe Leroy
barrier_nospec() in uaccess helpers is there to protect against speculative accesses around access_ok(). When using user_access_begin() sequences together with unsafe_get_user() like macros, barrier_nospec() is called for every single read although we know the access_ok() is done onece. Since

[PATCH v2 3/3] crypto: hisilicon/sec - fixes shash test error

2021-02-07 Thread Longfang Liu
If the header file "crypto/internal/hash.h" not added, the allocation of crypto_tfm will fail when the shash algorithm calculates the hash through the software. Signed-off-by: Longfang Liu --- drivers/crypto/hisilicon/sec2/sec_crypto.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 2/3] crypto: hisilicon/sec - fixes some driver coding style

2021-02-07 Thread Longfang Liu
cleanup static check errors for SEC Signed-off-by: Longfang Liu --- drivers/crypto/hisilicon/sec2/sec_main.c | 131 ++- 1 file changed, 76 insertions(+), 55 deletions(-) diff --git a/drivers/crypto/hisilicon/sec2/sec_main.c

[PATCH v2 0/3] crypto:hisilicon/sec - fixes some coding style

2021-02-07 Thread Longfang Liu
1. Fix two problems. 2. Fix some coding style. Changes v1 -> v2: - Modify the way to fix shash test error. Longfang Liu (3): crypto: hisilicon/sec - fixes some log printing style crypto: hisilicon/sec - fixes some driver coding style crypto: hisilicon/sec - fixes shash test error

[PATCH v2 1/3] crypto: hisilicon/sec - fixes some log printing style

2021-02-07 Thread Longfang Liu
1. Fix a problem of error log printing 2. Modify error log printing style Signed-off-by: Longfang Liu --- drivers/crypto/hisilicon/sec2/sec.h| 5 +- drivers/crypto/hisilicon/sec2/sec_crypto.c | 82 +++--- drivers/crypto/hisilicon/sec2/sec_crypto.h | 2 - 3

[no subject]

2021-02-07 Thread george mike
Hallo Mein Name ist George Mike. Ich bin von Beruf Rechtsanwalt. Ich möchte Ihnen anbieten der nächste Verwandte meines Klienten. Sie erben die Summe von (8,5 Millionen US-Dollar) Dollar, die mein Kunde vor seinem Tod auf der Bank gelassen hat. Mein Kunde ist ein Staatsbürger Ihres Landes, der

Re: [RFC PATCH 10/11] vfio/iommu_type1: Optimize dirty bitmap population based on iommu HWDBM

2021-02-07 Thread Yi Sun
Hi, On 21-01-28 23:17:41, Keqian Zhu wrote: [...] > +static void vfio_dma_dirty_log_start(struct vfio_iommu *iommu, > + struct vfio_dma *dma) > +{ > + struct vfio_domain *d; > + > + list_for_each_entry(d, >domain_list, next) { > + /* Go

arch/mips/loongson64/cop2-ex.c:97:30: error: no member named 'fpu' in 'struct thread_struct'

2021-02-07 Thread kernel test robot
-20210207 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: [PATCH 5/7] ASoC: imx-pcm-rpmsg: Add platform driver for audio base on rpmsg

2021-02-07 Thread Shengjiu Wang
On Fri, Feb 5, 2021 at 11:00 PM Mark Brown wrote: > > On Fri, Feb 05, 2021 at 02:57:28PM +0800, Shengjiu Wang wrote: > > > + if (params_format(params) == SNDRV_PCM_FORMAT_S16_LE) > > + msg->s_msg.param.format = RPMSG_S16_LE; > > + else if (params_format(params) ==

Re: [PATCH 3/3] crypto: hisilicon/sec - fixes shash test error

2021-02-07 Thread liulongfang
On 2021/2/7 16:02, Ard Biesheuvel wrote: > On Sun, 7 Feb 2021 at 03:47, liulongfang wrote: >> >> On 2021/2/5 19:44, Herbert Xu write: >>> On Fri, Feb 05, 2021 at 06:10:57PM +0800, Longfang Liu wrote: If this configuration item is not turned on, the allocation of crypto_tfm will fail

Re: [PATCH 4/7] ASoC: imx-audio-rpmsg: Add rpmsg_driver for audio channel

2021-02-07 Thread Shengjiu Wang
On Fri, Feb 5, 2021 at 10:27 PM Mark Brown wrote: > > On Fri, Feb 05, 2021 at 02:57:27PM +0800, Shengjiu Wang wrote: > > > + /* TYPE C is notification from M core */ > > + if (r_msg->header.type == MSG_TYPE_C) { > > + if (r_msg->header.cmd == TX_PERIOD_DONE) { > > > +

Re: [PATCH 2/7] ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg

2021-02-07 Thread Shengjiu Wang
On Fri, Feb 5, 2021 at 10:04 PM Mark Brown wrote: > > On Fri, Feb 05, 2021 at 02:57:25PM +0800, Shengjiu Wang wrote: > > This is a dummy cpu dai driver for rpmsg audio use case, > > which is mainly used for getting the user's configuration > > This is actually doing stuff, it's not a dummy

[PATCH] I was wondering why I can't set the resolution to 2560x1080, while in windows 7 I can without a problem. I looked at the radeon driver code and found it doesn't support this resolution. So I m

2021-02-07 Thread Marcin Raszka
--- drivers/gpu/drm/radeon/radeon_benchmark.c | 5 ++-- drivers/gpu/drm/radeon/radeon_connectors.c | 30 ++ drivers/gpu/drm/radeon/radeon_drv.c| 5 drivers/gpu/drm/radeon/radeon_encoders.c | 6 +++-- 4 files changed, 32 insertions(+), 14 deletions(-) diff

Re: [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS

2021-02-07 Thread Geert Uytterhoeven
Hi Adrian, On Sun, Feb 7, 2021 at 9:51 AM John Paul Adrian Glaubitz wrote: > On 2/7/21 8:02 AM, Finn Thain wrote: > > References: commit 565bae6a4a8f ("[SCSI] 53c7xx: kill driver") > > Does that mean there is currently no driver for the A4091? Supported by the replacement driver:

[PATCH] I was wondering why I can't set the resolution to 2560x1080, while in windows 7 I can without a problem. I looked at the radeon driver code and found it doesn't support this resolution. So I m

2021-02-07 Thread Marcin Raszka
--- drivers/gpu/drm/radeon/radeon_benchmark.c | 5 ++-- drivers/gpu/drm/radeon/radeon_connectors.c | 30 ++ drivers/gpu/drm/radeon/radeon_drv.c| 5 drivers/gpu/drm/radeon/radeon_encoders.c | 6 +++-- 4 files changed, 32 insertions(+), 14 deletions(-) diff

Re: [PATCH] staging: fix ignoring return value warning

2021-02-07 Thread Greg Kroah-Hartman
On Sun, Feb 07, 2021 at 05:23:28PM +0800, Youling Tang wrote: > Fix the below ignoring return value warning for device_reset. > > drivers/staging/mt7621-dma/mtk-hsdma.c:685:2: warning: ignoring return value > of function declared with 'warn_unused_result' attribute [-Wunused-result] >

Re: [PATCH v2 2/2] drivers/clocksource: Fixup csky,mptimer compile error with CPU_CK610

2021-02-07 Thread Daniel Lezcano
On 07/02/2021 04:31, Guo Ren wrote: > Hi Daniel, > > On Thu, Feb 4, 2021 at 4:48 PM Daniel Lezcano > wrote: >> >> On 04/02/2021 08:46, guo...@kernel.org wrote: >>> From: Guo Ren >>> >>> The timer-mp-csky.c only could support CPU_CK860 and it will >>> compile error with CPU_CK610. >>> >>> It

Re: [PATCH 05/18] tty: serial: samsung_tty: add support for Apple UARTs

2021-02-07 Thread Hector Martin 'marcan'
On 07/02/2021 18.12, Hector Martin 'marcan' wrote: On 06/02/2021 22.15, Marc Zyngier wrote: The default should be IRQ_NONE, otherwise the kernel cannot detect a screaming spurious interrupt. Good point, and this needs fixing in s3c64xx_serial_handle_irq too then (which is what I based mine

Re: [PATCH 5.4 01/32] net: dsa: bcm_sf2: put device node before return

2021-02-07 Thread Pavel Machek
Hi! > From: Pan Bian > > commit cf3c46631e1637582f517a574c77cd6c05793817 upstream. > > Put the device node dn before return error code on failure path. This fixes one resource leak, but exposes next one: get_device() is not undone in the second error path and in the end of function. Best

[PATCH] staging: fix ignoring return value warning

2021-02-07 Thread Youling Tang
Fix the below ignoring return value warning for device_reset. drivers/staging/mt7621-dma/mtk-hsdma.c:685:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] device_reset(>dev); ^~~~ ~~

Re: [PATCH 11/18] arm64: Kconfig: Require FIQ support for ARCH_APPLE

2021-02-07 Thread Hector Martin 'marcan'
On 07/02/2021 00.46, Marc Zyngier wrote: config ARCH_APPLE bool "Apple Silicon SoC family" select GENERIC_IRQ_CHIP + select ARM64_FIQ_SUPPORT Ah, this is what I was expecting in the previous patch. I guess the initial ARCH_APPLE patch could be moved down the line and

Re: [PATCH 5.10 04/57] net: octeontx2: Make sure the buffer is 128 byte aligned

2021-02-07 Thread Pavel Machek
Hi! > commit db2805150a0f27c00ad286a29109397a7723adad upstream. > > The octeontx2 hardware needs the buffer to be 128 byte aligned. > But in the current implementation of napi_alloc_frag(), it can't > guarantee the return address is 128 byte aligned even the request size > is a multiple of 128

Re: [PATCH] mips: kernel: setup: fix crash kernel resource allocation

2021-02-07 Thread Mike Rapoport
On Sat, Feb 06, 2021 at 12:59:40PM +, Ivan Khoronzhuk wrote: > In order to avoid crash kernel corruption, its memory is reserved > early in memblock and as result, in time when resources are inited > it's not present in memblock.memory, so crash kernel memory is out > of ranges listed with

Re: [PATCH v3] staging: emxx_udc: Make incorrectly defined global static

2021-02-07 Thread Greg KH
On Sun, Feb 07, 2021 at 02:29:12PM +0530, Kumar Kartikeya Dwivedi wrote: > The global gpio_desc pointer and int vbus_irq were defined in the header, > instead put the definitions in the translation unit and make them static as > there's only a single consumer, and these symbols shouldn't pollute

Re: [PATCH 05/18] tty: serial: samsung_tty: add support for Apple UARTs

2021-02-07 Thread Hector Martin 'marcan'
On 06/02/2021 22.15, Marc Zyngier wrote: -static int s3c24xx_serial_has_interrupt_mask(struct uart_port *port) +static int s3c24xx_irq_type(struct uart_port *port) { - return to_ourport(port)->info->type == PORT_S3C6400; + switch (to_ourport(port)->info->type) { + case

[PATCH] drm: bridge: convert sysfs sprintf/snprintf family to sysfs_emit

2021-02-07 Thread Jiapeng Chong
Fix the following coccicheck warning: drivers/gpu/drm/bridge/lontium-lt9611uxc.c:858:8-16: WARNING: use scnprintf or sprintf. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 4/4] hugetlb: Do early cow when page pinned on src mm

2021-02-07 Thread Gal Pressman
On 05/02/2021 17:51, Peter Xu wrote: > On Fri, Feb 05, 2021 at 02:58:33PM +, Zhang, Wei wrote: >> Hi Peter, > > Hi, Wei, > >> >> Gal and I worked together. We tested the patch v2 and can confirm it is >> working as intended. >> >> Thank you very much for your quick response! > > My thanks

[PATCH] platform/chrome: wilco_ec: convert stream-like files from nonseekable_open -> stream_open

2021-02-07 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/platform/chrome/wilco_ec/telemetry.c:259:1-17: WARNING: telem_fops: .read() and .write() have stream semantic; safe to change nonseekable_open -> stream_open. Reported-by: Abaci Robot Signed-off-by: Yang Li ---

[PATCH v3] staging: emxx_udc: Make incorrectly defined global static

2021-02-07 Thread Kumar Kartikeya Dwivedi
The global gpio_desc pointer and int vbus_irq were defined in the header, instead put the definitions in the translation unit and make them static as there's only a single consumer, and these symbols shouldn't pollute the global namespace. This fixes the following sparse warnings for this driver:

Re: [PATCH v5 1/2] dt-bindings: hwlock: add sun6i_hwspinlock

2021-02-07 Thread Wilken Gottwalt
On Wed, 23 Dec 2020 15:49:19 -0700 Rob Herring wrote: > On Wed, Dec 23, 2020 at 4:34 AM Wilken Gottwalt > wrote: > > > > Adds documentation on how to use the sun6i_hwspinlock driver for sun6i > > compatible SoCs. > > Please resend to DT list so that automated checks run and it's in my > queue

[PATCH] gpiolib: cdev: convert stream-like files from

2021-02-07 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/gpio/gpiolib-cdev.c:2307:7-23: WARNING: gpio_fileops: .read() has stream semantic; safe to change nonseekable_open -> stream_open. Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpio/gpiolib-cdev.c | 2 +- 1 file changed, 1

[PATCH] MIPS: process: Fix no previous prototype warning

2021-02-07 Thread Jinyang He
unwind_stack_by_address and unwind_stack need . arch_align_stack needs link: https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org/thread/ZPL2RRA6RZKRQZI5IGOVLFXN2GVZBN3L/ Fixes: ("MIPS: process: Remove unnecessary headers inclusion") Reported-by: kernel test robot Signed-off-by:

Re: [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS

2021-02-07 Thread John Paul Adrian Glaubitz
On 2/7/21 8:02 AM, Finn Thain wrote: > References: commit 565bae6a4a8f ("[SCSI] 53c7xx: kill driver") Does that mean there is currently no driver for the A4091? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin -

Re: [PATCH v2] staging: emxx_udc: Make incorrectly defined global static

2021-02-07 Thread Greg KH
On Sun, Feb 07, 2021 at 02:16:58PM +0530, Kumar Kartikeya Dwivedi wrote: > The global gpio_desc pointer and int vbus_irq were defined in the header, > instead put the definitions in the translation unit and make them static as > there's only a single consumer, and these symbols shouldn't pollute

[PATCH] drm/amd/pm: Remove unnecessary conversion to bool

2021-02-07 Thread Jiapeng Chong
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c:907:47-52: WARNING: conversion to bool not needed here. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 2 +- 1 file changed, 1

Re: [PATCH] ALSA: pci: Assign boolean values to a bool variable

2021-02-07 Thread Takashi Iwai
On Sun, 07 Feb 2021 08:02:41 +0100, Jiapeng Chong wrote: > > Fix the following coccicheck warnings: > > ./sound/pci/azt3328.c:2451:2-16: WARNING: Assignment of 0/1 to bool > variable. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Thanks, applied. Takashi

Re: [PATCH 10/18] arm64: Introduce FIQ support

2021-02-07 Thread Hector Martin 'marcan'
On 07/02/2021 00.37, Marc Zyngier wrote: See my digression in patch 8. I really wonder what the benefit is to treat FIQ independently of IRQ, and we might as well generalise this. We could always panic on getting a FIQ on platforms that don't expect one. It'd be good to rope in the other

[PATCH v2] staging: emxx_udc: Make incorrectly defined global static

2021-02-07 Thread Kumar Kartikeya Dwivedi
The global gpio_desc pointer and int vbus_irq were defined in the header, instead put the definitions in the translation unit and make them static as there's only a single consumer, and these symbols shouldn't pollute the global namespace. This fixes the following sparse warnings for this driver:

Re: [PATCH 10/18] arm64: Introduce FIQ support

2021-02-07 Thread Hector Martin 'marcan'
On 07/02/2021 01.22, Arnd Bergmann wrote: * In the fiq handler code, check if normal interrupts were enabled when the fiq hit. Normally they are enabled, so just proceed to handle the timer and ipi directly * if irq was disabled, defer the handling by doing a self-ipi through the aic's

[PATCH v2] jfs: turn diLog(), dataLog() and txLog() into void functions

2021-02-07 Thread Yang Li
These functions always return '0' and no callers use the return value. So make it a void function. This eliminates the following coccicheck warning: ./fs/jfs/jfs_txnmgr.c:1365:5-7: Unneeded variable: "rc". Return "0" on line 1414 ./fs/jfs/jfs_txnmgr.c:1422:5-7: Unneeded variable: "rc". Return "0"

Re: [PATCH] staging: gasket: Align code to match with open parenthesis and fix the lines ending with open parenthesis

2021-02-07 Thread Greg KH
On Sun, Feb 07, 2021 at 01:11:36PM +0530, Mahak gupta wrote: > This patch fixes warnings of checkpatch.pl. According to the coding style > of linux, code should be aligned properly to match with open parenthesis > and lines should not end with open parenthesis. > > Signed-off-by: mhk19 > --- >

Re: [PATCH] staging: emxx_udc: Fix incorrectly defined global

2021-02-07 Thread Greg KH
On Sun, Feb 07, 2021 at 01:08:27PM +0530, Kumar Kartikeya Dwivedi wrote: > On Sun, Feb 07, 2021 at 12:04:41PM IST, Stephen Rothwell wrote: > > > > Given that drivers/staging/emxx_udc/emxx_udc.h is only included by > > drivers/staging/emxx_udc/emxx_udc.c, shouldn't these variables just be > >

Re: [PATCH 08/18] arm64: cpufeature: Add a feature for FIQ support

2021-02-07 Thread Hector Martin 'marcan'
On 06/02/2021 22.58, Marc Zyngier wrote: Hector Martin wrote: +static void cpu_sync_irq_to_fiq(struct arm64_cpu_capabilities const *cap) +{ + u64 daif = read_sysreg(daif); + + /* +* By this point in the boot process IRQs are likely masked and FIOs +* aren't, so we

Re: [PATCH] staging: emxx_udc: Fix incorrectly defined global

2021-02-07 Thread Greg KH
On Sun, Feb 07, 2021 at 05:30:31AM +0530, Kumar Kartikeya Dwivedi wrote: > The global gpio_desc pointer and int were defined in the header, > instead put the definitions in the translation unit and add an extern > declaration for consumers of the header (currently only one, which is > perhaps why

[RFC PATCH v3 2/2] selftests/vm: add mempinfd test

2021-02-07 Thread Zhou Wang
This test gets a fd from new mempinfd syscall and creates multiple threads to do pin/unpin memory. Signed-off-by: Zhou Wang Suggested-by: Barry Song --- tools/testing/selftests/vm/Makefile | 1 + tools/testing/selftests/vm/mempinfd.c | 131 ++ 2 files

[RFC PATCH v3 0/2] mempinfd: Add new syscall to provide memory pin

2021-02-07 Thread Zhou Wang
This series adds a new mempinfd syscall to offer a common way to pin/unpin memory. Patch 1/2 is about mempinfd codes. Patch 2/2 adds a simple test tool about mempinfd. Change logs: v2 -> v3: - Follow suggestions from Greg and Kevin, add a new syscall. - Add input check. - Use

[RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-07 Thread Zhou Wang
SVA(share virtual address) offers a way for device to share process virtual address space safely, which makes more convenient for user space device driver coding. However, IO page faults may happen when doing DMA operations. As the latency of IO page fault is relatively big, DMA performance will

Re: [RFC 0/9] Linear Address Masking enabling

2021-02-07 Thread Dmitry Vyukov
On Fri, Feb 5, 2021 at 4:16 PM Kirill A. Shutemov wrote: > > Linear Address Masking[1] (LAM) modifies the checking that is applied to > 64-bit linear addresses, allowing software to use of the untranslated > address bits for metadata. > > The patchset brings support for LAM for userspace

[RESEND PATCH v8 net-next 15/15] net: mvpp2: add TX FC firmware check

2021-02-07 Thread stefanc
From: Stefan Chulski Patch check that TX FC firmware is running in CM3. If not, global TX FC would be disabled. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 1 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 42 2 files changed,

[RESEND PATCH v8 net-next 14/15] net: mvpp2: set 802.3x GoP Flow Control mode

2021-02-07 Thread stefanc
From: Stefan Chulski This patch fix GMAC TX flow control autoneg. Flow control autoneg wrongly were disabled with enabled TX flow control. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: Linux 4.4.256

2021-02-07 Thread Greg Kroah-Hartman
On Sat, Feb 06, 2021 at 10:49:26AM -0800, Guenter Roeck wrote: > On Sat, Feb 06, 2021 at 07:13:39PM +0100, Greg Kroah-Hartman wrote: > > On Sat, Feb 06, 2021 at 08:59:42AM -0800, Guenter Roeck wrote: > > > On 2/6/21 5:22 AM, Willy Tarreau wrote: > > > > On Sat, Feb 06, 2021 at 02:11:13PM +0100,

[RESEND PATCH v8 net-next 13/15] net: mvpp2: add PPv23 RX FIFO flow control

2021-02-07 Thread stefanc
From: Stefan Chulski New FIFO flow control feature was added in PPv23. PPv2 FIFO polled by HW and trigger pause frame if FIFO fill level is below threshold. FIFO HW flow control enabled with CM3 RXQ flow control with ethtool. Current FIFO thresholds is: 9KB for port with maximum speed 10Gb/s

[RESEND PATCH v8 net-next 12/15] net: mvpp2: add BM protection underrun feature support

2021-02-07 Thread stefanc
From: Stefan Chulski The PP2v23 hardware supports a feature allowing to double the size of BPPI by decreasing number of pools from 16 to 8. Increasing of BPPI size protect BM drop from BPPI underrun. Underrun could occurred due to stress on DDR and as result slow buffer transition from BPPE to

[RESEND PATCH v8 net-next 11/15] net: mvpp2: add ethtool flow control configuration support

2021-02-07 Thread stefanc
From: Stefan Chulski This patch add ethtool flow control configuration support. Tx flow control retrieved correctly by ethtool get function. FW per port ethtool configuration capability added. Patch also takes care about mtu change procedure, if PPv2 switch BM pools during mtu change.

[RESEND PATCH v8 net-next 10/15] net: mvpp2: add RXQ flow control configurations

2021-02-07 Thread stefanc
From: Stefan Chulski This patch adds RXQ flow control configurations. Flow control disabled by default. Minimum ring size limited to 1024 descriptors. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 35 +-

[RESEND PATCH v8 net-next 09/15] net: mvpp2: enable global flow control

2021-02-07 Thread stefanc
From: Stefan Chulski This patch enables global flow control in FW and in the phylink validate mask. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 13 ++--- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 30 +++- 2 files changed, 38

[RESEND PATCH v8 net-next 08/15] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-02-07 Thread stefanc
From: Stefan Chulski The firmware needs to monitor the RX Non-occupied descriptor bits for flow control to move to XOFF mode. These bits need to be unmasked to be functional, but they will not raise interrupts as we leave the RX exception summary bit in MVPP2_ISR_RX_TX_MASK_REG clear.

[RESEND PATCH v8 net-next 07/15] net: mvpp2: add FCA periodic timer configurations

2021-02-07 Thread stefanc
From: Stefan Chulski Flow Control periodic timer would be used if port in XOFF to transmit periodic XOFF frames. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 13 +- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 45 2 files

<    1   2   3   4   5   6   >