Re: [PATCH v2 2/6] usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply

2021-04-07 Thread Heikki Krogerus
On Wed, Apr 07, 2021 at 01:07:19PM -0700, Badhri Jagan Sridharan wrote: > tcpm_pd_select_pps_apdo overwrites port->pps_data.min_volt, > port->pps_data.max_volt, port->pps_data.max_curr even before > port partner accepts the requests. This leaves incorrect values > in current_limit and supply_voltag

Re: [PATCH v3 04/12] module: Add printk format to add module build ID to stacktraces

2021-04-07 Thread Stephen Boyd
Quoting Petr Mladek (2021-04-07 08:03:47) > On Tue 2021-03-30 20:05:12, Stephen Boyd wrote: > > Let's make kernel stacktraces easier to identify by including the build > > ID[1] of a module if the stacktrace is printing a symbol from a module. > > This makes it simpler for developers to locate a ke

[PATCH -next] drm/nouveau: delete redundant header file if000c.h

2021-04-07 Thread Zhang Jianhua
The header file if000c.h has been included two times in nouveau_dmem.c, delete the redundant one. Signed-off-by: Zhang Jianhua --- drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_dmem.c b/drivers/gpu/drm/nouveau/nouveau_d

Re: [PATCH v3] bus: mhi: core: Sanity check values from remote device before use

2021-04-07 Thread Manivannan Sadhasivam
On Wed, Mar 10, 2021 at 02:30:55PM -0700, Jeffrey Hugo wrote: > When parsing the structures in the shared memory, there are values which > come from the remote device. For example, a transfer completion event > will have a pointer to the tre in the relevant channel's transfer ring. > As another ex

[PATCH] media: atomisp: Fix error handling in atomisp_open

2021-04-07 Thread Dinghao Liu
Some error paths in atomisp_open will execute PM runtime decrement and unregister hmm pool even before we increase the PM refcount and registration. Fix this by adjusting jump labels on error. Signed-off-by: Dinghao Liu --- drivers/staging/media/atomisp/pci/atomisp_fops.c | 5 +++-- 1 file chang

Re: [PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-04-07 Thread Michael Walle
Hi Tudor, Am 2021-04-08 07:51, schrieb tudor.amba...@microchip.com: Would you please resend this patch, together with the mtd-utils and the SPI NOR patch in a single patch set? You'll help us all having all in a single place. This has already been picked-up: https://git.kernel.org/pub/scm/linu

[PATCH -next] drm/nouveau/nvenc: delete redundant header file priv.h

2021-04-07 Thread Zhang Jianhua
The header file priv.h has been included two times in base.c, delete the redundant one. Signed-off-by: Zhang Jianhua --- drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c b/drivers/gpu/drm/nouveau

Re: [PATCH v2 1/6] usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply

2021-04-07 Thread Heikki Krogerus
On Wed, Apr 07, 2021 at 01:07:18PM -0700, Badhri Jagan Sridharan wrote: > tcpm_pd_build_request overwrites current_limit and supply_voltage > even before port partner accepts the requests. This leaves stale > values in current_limit and supply_voltage that get exported by > "tcpm-source-psy-". Solv

Re: Linux 4.14.229

2021-04-07 Thread Samuel Zou
On 2021/4/7 19:16, Greg Kroah-Hartman wrote: I'm announcing the release of the 4.14.229 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can b

Re: [Outreachy kernel] [PATCH v3] staging: rtl8723bs: hal: Remove camelcase in sdio_ops.c

2021-04-07 Thread Fabio M. De Francesco
On Thursday, April 8, 2021 8:24:50 AM CEST Greg KH wrote: > On Wed, Apr 07, 2021 at 08:19:14PM +0200, Fabio M. De Francesco wrote: > > Changes from v2: Remove unnecessary comment. Shortened a function name. > > Changes from v1: No changes to the code but only to the subject for the > > purpose to d

Re: [PATCH] fs/nilfs2: fix misspellings using codespell tool

2021-04-07 Thread Ryusuke Konishi
Hi Andrew, Please queue this typo fix for the next merge window. Thank you, Ryusuke Konishi On Thu, Apr 8, 2021 at 3:41 PM Ryusuke Konishi wrote: > > From: Liu xuzhi > > Two typos are found out by codespell tool \ > in 2217th and 2254th lines of segment.c: > > $ codespell ./fs/nilfs2/ > ./segm

Re: [GIT PULL] extcon next for v5.13

2021-04-07 Thread Greg KH
On Thu, Apr 08, 2021 at 03:44:35PM +0900, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-next pull request for v5.13. I add detailed description of > this pull request on below. Please pull extcon with following updates. > > Best Regards, > Chanwoo Choi > > > The following changes since co

[PATCH] bus: mhi: core: Fix shadow declarations

2021-04-07 Thread Manivannan Sadhasivam
This commit fixes below sparse warnings with W=2 about shadow declarations: drivers/bus/mhi/core/main.c: In function ‘parse_xfer_event’: drivers/bus/mhi/core/main.c:667:17: warning: declaration of ‘flags’ shadows a previous local [-Wshadow] 667 | unsigned long flags; | ^

[PATCH] fs/nilfs2: fix misspellings using codespell tool

2021-04-07 Thread Ryusuke Konishi
From: Liu xuzhi Two typos are found out by codespell tool \ in 2217th and 2254th lines of segment.c: $ codespell ./fs/nilfs2/ ./segment.c:2217 :retured ==> returned ./segment.c:2254: retured ==> returned Fix two typos found by codespell. Signed-off-by: Liu xuzhi Signed-off-by: Ryusuke Konis

Re: [PATCH v1 0/2] Add sync_state() support to clock framework

2021-04-07 Thread Greg Kroah-Hartman
On Wed, Apr 07, 2021 at 05:29:19PM -0700, Stephen Boyd wrote: > Quoting Saravana Kannan (2021-04-06 20:44:53) > > Stephen, > > > > We can decide later if both these patches land through clk tree or the > > driver-core tree. The meat of the series is in Patch 2/2 and that commit > > text gives all

Re: [PATCH v1 1/2] driver core: Add dev_set_drv_sync_state()

2021-04-07 Thread Greg Kroah-Hartman
On Tue, Apr 06, 2021 at 08:44:54PM -0700, Saravana Kannan wrote: > This can be used by frameworks to set the sync_state() helper functions > for drivers that don't already have them set. > > Signed-off-by: Saravana Kannan Acked-by: Greg Kroah-Hartman

[PATCH] [v2] ASoC: codecs: Fix runtime PM imbalance in tas2552_probe

2021-04-07 Thread Dinghao Liu
There is a rumtime PM imbalance between the error handling path after devm_snd_soc_register_component() and all other error handling paths. Add a PM runtime increment to balance refcount. Signed-off-by: Dinghao Liu --- Changelog: v2: - Add a PM runtime increment to fix it instead of moving

Re: [PATCH 1/3] dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller

2021-04-07 Thread Nobuhiro Iwamatsu
Hi, Thanks for your review. On Wed, Apr 07, 2021 at 08:18:58AM -0500, Rob Herring wrote: > On Tue, Apr 6, 2021 at 10:19 PM Nobuhiro Iwamatsu > wrote: > > > > This commit adds the Device Tree binding documentation that allows > > to describe the PCIe controller found in Toshiba Visconti SoCs. > >

Re: [PATCH v4 1/4] dt-bindings: serial: 8250: deprecate aspeed,sirq-polarity-sense

2021-04-07 Thread Greg Kroah-Hartman
On Wed, Apr 07, 2021 at 12:55:29PM -0500, Zev Weiss wrote: > On Wed, Apr 07, 2021 at 12:25:09PM CDT, Greg Kroah-Hartman wrote: > > On Wed, Apr 07, 2021 at 11:56:04AM -0500, Zev Weiss wrote: > > > On Wed, Apr 07, 2021 at 10:18:31AM CDT, Greg Kroah-Hartman wrote: > > > > On Fri, Apr 02, 2021 at 01:27

Re: [PATCH net-next v2 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-04-07 Thread Greg KH
On Wed, Apr 07, 2021 at 08:12:10PM +, Min Li wrote: > > > > Why not use the miscdev name field? > > > miscdev name field is just a char pointer and I need an static array to > manipulate the name with index Why? > > So it's a parent? Why not make this a real platform_device pointer and no

Re: [PATCH v2 1/1] powerpc/iommu: Enable remaining IOMMU Pagesizes present in LoPAR

2021-04-07 Thread Leonardo Bras
On Thu, 2021-04-08 at 03:20 -0300, Leonardo Bras wrote: > > > +#define QUERY_DDW_PGSIZE_4K 0x01 > > > +#define QUERY_DDW_PGSIZE_64K 0x02 > > > +#define QUERY_DDW_PGSIZE_16M 0x04 > > > +#define QUERY_DDW_PGSIZE_32M 0x08 > > > +#define QUERY_DDW_PGSIZE_64M 0x10 > > > +#define QUE

linux-next: build failure after merge of the irqchip tree

2021-04-07 Thread Stephen Rothwell
49663 ("irqchip: Add driver for WPCM450 interrupt controller") I have used the irqchip tree from next-20210407 for today. -- Cheers, Stephen Rothwell pgpLhJoYYtpeF.pgp Description: OpenPGP digital signature

Re: Re: [PATCH] Input: cyapa - Fix rumtime PM imbalance on error

2021-04-07 Thread dinghao . liu
> Hi Dinghao, > > On Wed, Apr 07, 2021 at 12:07:38PM +0800, Dinghao Liu wrote: > > When mutex_lock_interruptible() fails, a pairing PM usage > > counter decrement is needed to keep the counter balanced. > > Thank you for the patch. > > > > > Signed-off-by: Dinghao Liu > > --- > > drivers/inpu

Re: [RFC/RFT PATCH 0/3] arm64: drop pfn_valid_within() and simplify pfn_valid()

2021-04-07 Thread Mike Rapoport
On Thu, Apr 08, 2021 at 10:49:02AM +0530, Anshuman Khandual wrote: > Adding James here. > > + James Morse > > On 4/7/21 10:56 PM, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Hi, > > > > These patches aim to remove CONFIG_HOLES_IN_ZONE and essentially hardwire > > pfn_valid_within() t

[GIT PULL] extcon next for v5.13

2021-04-07 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v5.13. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit e49d033bddf5b565044e2abe4241353959bc9120: Linux 5.12-rc6 (2021-04-04 14:15

[PATCH] init/version.c: remove unused including

2021-04-07 Thread Tian Tao
Remove including that don't need it. Signed-off-by: Tian Tao Signed-off-by: Zhiqi Song --- init/version.c | 1 - 1 file changed, 1 deletion(-) diff --git a/init/version.c b/init/version.c index 92afc78..b1329f1 100644 --- a/init/version.c +++ b/init/version.c @@ -13,7 +13,6 @@ #include #in

Re: [Outreachy kernel] [PATCH v3] staging: rtl8723bs: hal: Remove camelcase in sdio_ops.c

2021-04-07 Thread Greg KH
On Wed, Apr 07, 2021 at 08:19:14PM +0200, Fabio M. De Francesco wrote: > Changes from v2: Remove unnecessary comment. Shortened a function name. > Changes from v1: No changes to the code but only to the subject for the > purpose to differentiate this patch because other removes of camelcase > have

Re: [PATCH 1/3] input: pm8941-pwrkey: add support for PMK8350 PON_HLOS PMIC peripheral

2021-04-07 Thread Dmitry Torokhov
Hi Satya, On Wed, Apr 07, 2021 at 08:59:39PM +0530, ska...@codeaurora.org wrote: > Gentle Reminder! Sorry, please address Rob's comments on the bindings, the driver code looks OK to me. Thanks. -- Dmitry

Re: [PATCH] staging: rtl8712: remove unused variable from rtl871x_mlme.c

2021-04-07 Thread Greg KH
On Wed, Apr 07, 2021 at 09:32:14PM +0200, Sergei Krainov wrote: > Remove unused variable from rtl871x_mlme.c > > Signed-off-by: Sergei Krainov > --- > drivers/staging/rtl8712/rtl871x_mlme.c | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) > > diff --git a/drivers/staging/rtl8712/

Re: [PATCH net-next v3 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-04-07 Thread Greg KH
On Wed, Apr 07, 2021 at 09:50:50PM -0400, min.li...@renesas.com wrote: > From: Min Li > > This driver is developed for the IDT ClockMatrix(TM) and 82P33xxx families > of timing and synchronization devices.It will be used by Renesas PTP Clock > Manager for Linux (pcm4l) software to provide support

Re: [PATCH] inotify: fix minmax.cocci warnings

2021-04-07 Thread Denis Efremov
On 4/7/21 8:02 PM, Julia Lawall wrote: > > > On Wed, 7 Apr 2021, Jan Kara wrote: > >> On Tue 06-04-21 22:49:26, Julia Lawall wrote: >>> From: kernel test robot >>> >>> Opportunity for min(). >>> >>> Generated by: scripts/coccinelle/misc/minmax.cocci >>> >>> Fixes: 8636e3295ce3 ("coccinelle:

Re: [PATCH net-next v2 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-04-07 Thread Greg KH
On Wed, Apr 07, 2021 at 08:00:38PM +, Min Li wrote: > > > > Do you really meen "+" here? (sorry, have to ask.) > > > > I don't know. All of our Linux kernel code has GPL-2.0+ and I just blindly > inherit it. You should ask your managers :) > > > > +#define pr_fmt(fmt) KBUILD_MODNAME ":

Re: [PATCH v3 03/12] dump_stack: Add vmlinux build ID to stack traces

2021-04-07 Thread Stephen Boyd
Quoting Petr Mladek (2021-04-07 07:03:19) > # readelf -Wn vmlinux-5.12.0-rc6-default+ > > Displaying notes found in: .notes > Owner Data size Description > Xen 0x0006 Unknown note type: (0x0006) > description data: 6c 69 6e 75 78 00 >

Re: [PATCH v2 1/1] powerpc/iommu: Enable remaining IOMMU Pagesizes present in LoPAR

2021-04-07 Thread Leonardo Bras
Hello Michael, thank you for this feedback! Comments inline: On Thu, 2021-04-08 at 15:37 +1000, Michael Ellerman wrote: > Leonardo Bras writes: > > According to LoPAR, ibm,query-pe-dma-window output named "IO Page Sizes" > > will let the OS know all possible pagesizes that can be used for creatin

[PATCH -next] powerpc/fadump: make symbol 'rtas_fadump_set_regval' static

2021-04-07 Thread Pu Lehui
Fix sparse warnings: arch/powerpc/platforms/pseries/rtas-fadump.c:250:6: warning: symbol 'rtas_fadump_set_regval' was not declared. Should it be static? Signed-off-by: Pu Lehui --- arch/powerpc/platforms/pseries/rtas-fadump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

Re: [PATCH] Input: cyapa - Fix rumtime PM imbalance on error

2021-04-07 Thread Dmitry Torokhov
Hi Dinghao, On Wed, Apr 07, 2021 at 12:07:38PM +0800, Dinghao Liu wrote: > When mutex_lock_interruptible() fails, a pairing PM usage > counter decrement is needed to keep the counter balanced. Thank you for the patch. > > Signed-off-by: Dinghao Liu > --- > drivers/input/mouse/cyapa.c | 4 +++-

Re: [PATCH net-next v2 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-04-07 Thread Greg KH
On Wed, Apr 07, 2021 at 07:43:44PM +, Min Li wrote: > > > > Why do you need 4 files here? Can't you do this all in one? There's no > > need > > for such a small driver to be split up, that just causes added complexity > > and > > makes things harder to review and understand. > > > > We w

[PATCH 0/3] scsi: mptfusion: Clear the warnings indicating that the variable is not used

2021-04-07 Thread Zhen Lei
Fix below warnings: drivers/message/fusion/mptctl.c: In function ‘mptctl_do_taskmgmt’: drivers/message/fusion/mptctl.c:324:17: warning: variable ‘time_count’ set but not used [-Wunused-but-set-variable] 324 | unsigned long time_count; | ^~ drivers/message/fusion/m

[PATCH 1/3] scsi: mptfusion: Remove unused local variable 'time_count'

2021-04-07 Thread Zhen Lei
Fixes the following W=1 kernel build warning: drivers/message/fusion/mptctl.c: In function ‘mptctl_do_taskmgmt: drivers/message/fusion/mptctl.c:324:17: warning: variable ‘time_count’ set but not used [-Wunused-but-set-variable] Fixes: 7d757f185540 ("[SCSI] mptfusion: Updated SCSI IO IOCTL error

[PATCH 2/3] scsi: mptfusion: Remove unused local variable 'port'

2021-04-07 Thread Zhen Lei
Fixes the following W=1 kernel build warning: drivers/message/fusion/mptctl.c: In function ‘mptctl_gettargetinfo drivers/message/fusion/mptctl.c:1372:7: warning: variable ‘port’ set but not used [-Wunused-but-set-variable] Reported-by: Hulk Robot Signed-off-by: Zhen Lei --- drivers/message/fu

[PATCH 3/3] scsi: mptfusion: Fix error return code of mptctl_hp_hostinfo()

2021-04-07 Thread Zhen Lei
Ensure that all "goto out" error branches return correct error codes. Currently, always returns 0. Reported-by: Hulk Robot Signed-off-by: Zhen Lei --- drivers/message/fusion/mptctl.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/message/fusion

[PATCH -next] ASoC: codecs: wsa881x: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/wsa881x.c | 2 +- 1 file changed,

[PATCH -next] ASoC: rt1019: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/rt1019.c | 2 +- 1 file changed,

[PATCH -next] ASoC: cx2072x: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/cx2072x.c | 2 +- 1 file changed,

[PATCH -next] ASoC: amd: renoir: acp3x-pdm-dma: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/amd/renoir/acp3x-pdm-dma.c | 2 +- 1 fil

[PATCH -next] ASoC: rt715-sdca: Constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/rt715-sdca.c | 2 +- 1 file chang

[PATCH -next] ASoC: codecs: lpass-rx-macro: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/lpass-rx-macro.c | 2 +- 1 file c

[PATCH -next] ASoC: wcd934x: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/wcd934x.c | 2 +- 1 file changed,

[PATCH -next] ASoC: codecs: lpass-tx-macro: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/lpass-tx-macro.c | 2 +- 1 file c

[PATCH -next] ASoC: rt711-sdca: Constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/rt711-sdca.c | 2 +- 1 file chang

[PATCH -next] ASoC: tas2770: Constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/tas2770.c | 2 +- 1 file changed,

[PATCH -next] ASoC: codecs: lpass-wsa-macro: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/lpass-wsa-macro.c | 2 +- 1 file

[PATCH -next] ASoC: wcd9335: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/wcd9335.c | 2 +- 1 file changed,

[PATCH -next] ASoC: Intel: KMB: Constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/intel/keembay/kmb_platform.c | 2 +- 1 f

[PATCH -next] ASoC: amd: raven: acp3x-i2s: Constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/amd/raven/acp3x-i2s.c | 2 +- 1 file cha

Re: [PATCH 1/2] zram: fix crashes due to use of cpu hotplug multistate

2021-04-07 Thread Greg KH
On Wed, Apr 07, 2021 at 03:17:46PM -0500, Josh Poimboeuf wrote: > On Fri, Apr 02, 2021 at 09:54:12AM +0200, Greg KH wrote: > > On Thu, Apr 01, 2021 at 11:59:25PM +, Luis Chamberlain wrote: > > > As for the syfs deadlock possible with drivers, this fixes it in a > > > generic way: > > > > > >

[PATCH -next] ASoC: tas2764: constify static struct snd_soc_dai_ops

2021-04-07 Thread Ye Bin
The snd_soc_dai_ops structures is only stored in the ops field of a snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure const to allow the compiler to put it in read-only memory. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- sound/soc/codecs/tas2764.c | 2 +- 1 file changed,

Re: [RFC/RFT PATCH 3/3] arm64: drop pfn_valid_within() and simplify pfn_valid()

2021-04-07 Thread Mike Rapoport
On Thu, Apr 08, 2021 at 10:42:43AM +0530, Anshuman Khandual wrote: > > On 4/7/21 10:56 PM, Mike Rapoport wrote: > > From: Mike Rapoport > > > > The arm64's version of pfn_valid() differs from the generic because of two > > reasons: > > > > * Parts of the memory map are freed during boot. This m

Re: [PATCH 1/2] zram: fix crashes due to use of cpu hotplug multistate

2021-04-07 Thread Greg KH
On Thu, Apr 08, 2021 at 03:37:53AM +0200, Thomas Gleixner wrote: > Greg, > > On Fri, Apr 02 2021 at 09:54, Greg KH wrote: > > On Thu, Apr 01, 2021 at 11:59:25PM +, Luis Chamberlain wrote: > >> As for the syfs deadlock possible with drivers, this fixes it in a generic > >> way: > >> > >> comm

Re: [RFC bpf-next 1/1] bpf: Introduce iter_pagecache

2021-04-07 Thread Matthew Wilcox
On Wed, Apr 07, 2021 at 02:46:11PM -0700, Daniel Xu wrote: > +struct bpf_iter_seq_pagecache_info { > + struct mnt_namespace *ns; > + struct radix_tree_root superblocks; Why are you adding a new radix tree? Use an XArray instead. > +static struct page *goto_next_page(struct bpf_iter_seq_p

Re: [PATCH v2 6/6] soc: mediatek: devapc: support mt8192

2021-04-07 Thread Nina Wu
Hi, Matthias On Tue, 2021-04-06 at 15:55 +0200, Matthias Brugger wrote: > > On 01/04/2021 08:38, Nina Wu wrote: > > From: Nina Wu > > > > Add compatible to support mt8192. > > > > Signed-off-by: Nina Wu > > --- > > > Looks good, I'd like to see DTS for this as well, although I understand it

Re: [PATCH 00/14] usb: dwc2: Fix Partial Power down issues.

2021-04-07 Thread Greg Kroah-Hartman
On Thu, Apr 08, 2021 at 05:57:57AM +, Artur Petrosyan wrote: > Hi Greg, > > On 4/7/2021 14:00, Artur Petrosyan wrote: > > This patch set fixes and improves the Partial Power Down mode for > > dwc2 core. > > It adds support for the following cases > > 1. Entering and exiting partial power

[GIT PULL] devfreq next for v5.13

2021-04-07 Thread Chanwoo Choi
Dear Rafael, This is devfreq-next pull request for v5.13-rc1. I add detailed description of this pull request on the following tag. Please pull devfreq with following updates. - tag name : devfreq-next-for-5.12 This pull request contains the immutable branch to keep the immutable patch[1] betwee

Re: [PATCH] bus: mhi: pci_generic: Introduce Foxconn T99W175 support

2021-04-07 Thread Jarvis Jiang
On Wed, Apr 7, 2021 at 4:22 PM Loic Poulain wrote: > > Hi Jarvis, > > On Wed, 7 Apr 2021 at 04:51, Jarvis Jiang wrote: > > > > Add support for T99W175 modems, this modem series is based on SDX55 > > qcom chip. The modem is mainly based on MBIM protocol for both the > > data and control path. > >

Re: [PATCH v2 5/6] soc: mediatek: devapc: add debug register for new IC support

2021-04-07 Thread Nina Wu
Hi, Matthias On Tue, 2021-04-06 at 15:53 +0200, Matthias Brugger wrote: > > On 01/04/2021 08:38, Nina Wu wrote: > > From: Nina Wu > > > > There are 3 debug info registers in new ICs while in legacy ones, > > we have only 2. When dumping the debug info, we need to check first > > if the 3rd debu

Re: [PATCH v4 2/2] usb: dwc3: Add driver for Xilinx platforms

2021-04-07 Thread Michal Simek
Hi Guenter, On 4/7/21 11:48 PM, Guenter Roeck wrote: > On Wed, Mar 17, 2021 at 12:22:29PM +0530, Manish Narani wrote: >> Add a new driver for supporting Xilinx platforms. This driver is used >> for some sequence of operations required for Xilinx USB controllers. >> This driver is also used to choo

Re: [PATCH] usb: dwc2: Enable RPi in ACPI mode

2021-04-07 Thread kernel test robot
Hi jlinton, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on usb/usb-testing] [also build test WARNING on peter.chen-usb/for-usb-next balbi-usb/testing/next v5.12-rc6 next-20210407] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: Linux 5.4.110

2021-04-07 Thread Samuel Zou
On 2021/4/7 21:02, Greg Kroah-Hartman wrote: I'm announcing the release of the 5.4.110 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be br

Re: [RFC/RFT PATCH 2/3] arm64: decouple check whether pfn is normal memory from pfn_valid()

2021-04-07 Thread Mike Rapoport
On Thu, Apr 08, 2021 at 10:44:58AM +0530, Anshuman Khandual wrote: > > On 4/7/21 10:56 PM, Mike Rapoport wrote: > > From: Mike Rapoport > > > > The intended semantics of pfn_valid() is to verify whether there is a > > struct page for the pfn in question and nothing else. > > Should there be a c

Re: [PATCH v2 4/6] soc: mediatek: devapc: rename variable for new IC support

2021-04-07 Thread Nina Wu
Hi, Matthias On Tue, 2021-04-06 at 15:43 +0200, Matthias Brugger wrote: > Regarding the commit subject: > "soc: mediatek: devapc: rename variable for new IC support" > maybe something like: > "soc: mediatek: devapc: rename register variable infra_base" > > Other then that looks good to me. > OK

Re: [PATCH 00/14] usb: dwc2: Fix Partial Power down issues.

2021-04-07 Thread Artur Petrosyan
Hi Greg, On 4/7/2021 14:00, Artur Petrosyan wrote: > This patch set fixes and improves the Partial Power Down mode for > dwc2 core. > It adds support for the following cases > 1. Entering and exiting partial power down when a port is > suspended, resumed, port reset is asserted. >

Re: [PATCH] drm/amd/pm: convert sysfs snprintf to sysfs_emit

2021-04-07 Thread Carlis
On Wed, 7 Apr 2021 16:30:01 -0400 Alex Deucher wrote: > On Tue, Apr 6, 2021 at 10:13 AM Carlis wrote: > > > > From: Xuezhi Zhang > > > > Fix the following coccicheck warning: > > drivers/gpu/drm/amd/pm//amdgpu_pm.c:1940:8-16: > > WARNING: use scnprintf or sprintf > > drivers/gpu/drm/amd/pm//amd

Re: [PATCH v2 2/6] soc: mediatek: devapc: move 'vio_idx_num' info to DT

2021-04-07 Thread Nina Wu
Hi, Matthias On Tue, 2021-04-06 at 15:41 +0200, Matthias Brugger wrote: > > On 01/04/2021 08:38, Nina Wu wrote: > > From: Nina Wu > > > > For new ICs, there are multiple devapc HWs for different subsys. > > The number of devices controlled by each devapc (i.e. 'vio_idx_num' > > in the code) va

Re: [PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-04-07 Thread Tudor.Ambarus
Michael, Would you please resend this patch, together with the mtd-utils and the SPI NOR patch in a single patch set? You'll help us all having all in a single place. For the new ioctl we'll need acks from all the mtd maintainers and at least a tested-by tag. Cheers, ta

Re: [RFC/RFT PATCH 1/3] memblock: update initialization of reserved pages

2021-04-07 Thread Mike Rapoport
On Thu, Apr 08, 2021 at 10:46:18AM +0530, Anshuman Khandual wrote: > > > On 4/7/21 10:56 PM, Mike Rapoport wrote: > > From: Mike Rapoport > > > > The struct pages representing a reserved memory region are initialized > > using reserve_bootmem_range() function. This function is called for each >

Re: [v9,3/7] PCI: mediatek-gen3: Add MediaTek Gen3 driver for MT8192

2021-04-07 Thread Jianjun Wang
Hi Bjorn, Lorenzo, Just gentle ping for this patch set, please kindly let me know your comments about this patch set. Thanks. On Wed, 2021-03-24 at 11:05 +0800, Jianjun Wang wrote: > MediaTek's PCIe host controller has three generation HWs, the new > generation HW is an individual bridge, it sup

Re: Re: [PATCH] ASoC: codecs: Fix rumtime PM imbalance in tas2552_probe

2021-04-07 Thread dinghao . liu
> On Wed, Apr 07, 2021 at 02:54:00PM +0800, Dinghao Liu wrote: > > > - pm_runtime_set_active(&client->dev); > > - pm_runtime_set_autosuspend_delay(&client->dev, 1000); > > - pm_runtime_use_autosuspend(&client->dev); > > - pm_runtime_enable(&client->dev); > > - pm_runtime_mark_last_busy(&

Re: [PATCH v3 03/12] dump_stack: Add vmlinux build ID to stack traces

2021-04-07 Thread Stephen Boyd
Quoting Petr Mladek (2021-04-07 06:42:38) > > I think that you need to use something like: > > #ifdef CONFIG_STACKTRACE_BUILD_ID > #define BUILD_ID_FTM " %20phN" > #define BUILD_ID_VAL vmlinux_build_id > #else > #define BUILD_ID_FTM "%s" > #define BUILD_ID_VAL "" > #endif > > printk("%sC

Re: [PATCH] sched/fair: use signed long when compute energy delta in eas

2021-04-07 Thread Xuewen Yan
Hi On Wed, Apr 7, 2021 at 10:11 PM Pierre wrote: > > Hi, > > I test the patch, but the overflow still exists. > > In the "sched/fair: Use pd_cache to speed up find_energy_efficient_cpu()" > > I wonder why recompute the cpu util when cpu==dst_cpu in compute_energy(), > > when the dst_cpu's util ch

Re: [PATCH v4 08/16] KVM: x86/pmu: Add IA32_DS_AREA MSR emulation to manage guest DS buffer

2021-04-07 Thread Xu, Like
Hi Peter, Thanks for your detailed comments. If you have more comments for other patches, please let me know. On 2021/4/7 23:39, Peter Zijlstra wrote: On Mon, Mar 29, 2021 at 01:41:29PM +0800, Like Xu wrote: @@ -3869,10 +3876,12 @@ static struct perf_guest_switch_msr *intel_guest_get_msrs(in

Re: [PATCH v2 1/1] powerpc/iommu: Enable remaining IOMMU Pagesizes present in LoPAR

2021-04-07 Thread Michael Ellerman
Leonardo Bras writes: > According to LoPAR, ibm,query-pe-dma-window output named "IO Page Sizes" > will let the OS know all possible pagesizes that can be used for creating a > new DDW. > > Currently Linux will only try using 3 of the 8 available options: > 4K, 64K and 16M. According to LoPAR, Hyp

Re: [PATCH v3 12/12] kdump: Use vmlinux_build_id to simplify

2021-04-07 Thread Stephen Boyd
Quoting Petr Mladek (2021-04-07 10:03:28) > On Tue 2021-03-30 20:05:20, Stephen Boyd wrote: > > We can use the vmlinux_build_id array here now instead of open coding > > it. This mostly consolidates code. > > > > Cc: Jiri Olsa > > Cc: Alexei Starovoitov > > Cc: Jessica Yu > > Cc: Evan Green >

[RFC PATCH] Add split_lock

2021-04-07 Thread Matthew Wilcox (Oracle)
bit_spinlocks are horrible on RT because there's absolutely nowhere to put the mutex to sleep on. They also do not participate in lockdep because there's nowhere to put the map. Most (all?) bit spinlocks are actually a split lock; logically they could be treated as a single spinlock, but for perf

Re: [PATCH v6 3/8] regulator: IRQ based event/error notification helpers

2021-04-07 Thread Matti Vaittinen
Hello Andy, All. On Wed, 2021-04-07 at 16:21 +0300, Andy Shevchenko wrote: > On Wed, Apr 7, 2021 at 1:04 PM Matti Vaittinen > wrote: > > Provide helper function for IC's implementing regulator > > notifications > > when an IRQ fires. The helper also works for IRQs which can not be > > acked. > >

Re: [PATCH net v4] atl1c: move tx cleanup processing out of interrupt

2021-04-07 Thread Gatis Peisenieks
On 2021-04-07 19:55, Eric Dumazet wrote: On 4/6/21 4:49 PM, Gatis Peisenieks wrote: Tx queue cleanup happens in interrupt handler on same core as rx queue processing. Both can take considerable amount of processing in high packet-per-second scenarios. Sending big amounts of packets can stall th

Re: [PATCH][next] scsi: pm80xx: Fix potential infinite loop

2021-04-07 Thread Jinpu Wang
On Wed, Apr 7, 2021 at 7:18 PM Martin K. Petersen wrote: > > > Hi Colin! > > > The for-loop iterates with a u8 loop counter i and compares this with > > the loop upper limit of pm8001_ha->max_q_num which is a u32 type. > > There is a potential infinite loop if pm8001_ha->max_q_num is larger > > th

Re: [RFC/RFT PATCH 0/3] arm64: drop pfn_valid_within() and simplify pfn_valid()

2021-04-07 Thread Anshuman Khandual
Adding James here. + James Morse On 4/7/21 10:56 PM, Mike Rapoport wrote: > From: Mike Rapoport > > Hi, > > These patches aim to remove CONFIG_HOLES_IN_ZONE and essentially hardwire > pfn_valid_within() to 1. That would be really great for arm64 platform as it will save CPU cycles on many g

Re: [PATCH] arm64: dts: qcom: Move rmtfs memory region

2021-04-07 Thread Sibi Sankar
Hey Sujit, Thanks for the patch. On 2021-03-30 07:16, Sujit Kautkar wrote: Move rmtfs memory region so that it does not overlap with system RAM (kernel data) when KAsan is enabled. This puts rmtfs right after mba_mem which is not supposed to increase beyond 0x9460 Signed-off-by: Sujit Kautk

Re: [RFC/RFT PATCH 1/3] memblock: update initialization of reserved pages

2021-04-07 Thread Anshuman Khandual
On 4/7/21 10:56 PM, Mike Rapoport wrote: > From: Mike Rapoport > > The struct pages representing a reserved memory region are initialized > using reserve_bootmem_range() function. This function is called for each > reserved region just before the memory is freed from memblock to the buddy > pa

Re: [RFC/RFT PATCH 2/3] arm64: decouple check whether pfn is normal memory from pfn_valid()

2021-04-07 Thread Anshuman Khandual
On 4/7/21 10:56 PM, Mike Rapoport wrote: > From: Mike Rapoport > > The intended semantics of pfn_valid() is to verify whether there is a > struct page for the pfn in question and nothing else. Should there be a comment affirming this semantics interpretation, above the generic pfn_valid() in i

Re: [RFC/RFT PATCH 3/3] arm64: drop pfn_valid_within() and simplify pfn_valid()

2021-04-07 Thread Anshuman Khandual
On 4/7/21 10:56 PM, Mike Rapoport wrote: > From: Mike Rapoport > > The arm64's version of pfn_valid() differs from the generic because of two > reasons: > > * Parts of the memory map are freed during boot. This makes it necessary to > verify that there is actual physical memory that correspo

Re: [syzbot] INFO: task hung in io_ring_exit_work

2021-04-07 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: INFO: task hung in io_ring_exit_work INFO: task kworker/u4:0:9 blocked for more than 143 seconds. Not tainted 5.12.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables thi

Re: [PATCH 2/2] powerpc: make 'boot_text_mapped' static

2021-04-07 Thread Christophe Leroy
Le 08/04/2021 à 03:18, Yu Kuai a écrit : The sparse tool complains as follow: arch/powerpc/kernel/btext.c:48:5: warning: symbol 'boot_text_mapped' was not declared. Should it be static? This symbol is not used outside of btext.c, so this commit make it static. Signed-off-by: Yu Kuai ---

Re: [PATCH 1/2] powerpc: remove set but not used variable 'force_printk_to_btext'

2021-04-07 Thread Christophe Leroy
Le 08/04/2021 à 03:18, Yu Kuai a écrit : Fixes gcc '-Wunused-but-set-variable' warning: arch/powerpc/kernel/btext.c:49:12: error: 'force_printk_to_btext' defined but not used. You don't get this error as it is now. You will get this error only if you make it 'static', which is what you did

[PATCH] Revert "drm/syncobj: use dma_fence_get_stub"

2021-04-07 Thread David Stevens
From: David Stevens This reverts commit 86bbd89d5da66fe760049ad3f04adc407ec0c4d6. Using the singleton stub fence in drm_syncobj_assign_null_handle means that all syncobjs created in an already signaled state or any syncobjs signaled by userspace will reference the singleton fence when exported t

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

2021-04-07 Thread Stephen Rothwell
Hi Luiz, On Thu, 8 Apr 2021 04:47:04 + "Von Dentz, Luiz" wrote: > > I'd leave this for Marcel to comments, but there are quite many > instances of // comment like that, so I wonder what is going on, or > perhaps that is not allowed in include/uapi? We only do these standalone compile checks

Re: [PATCH-next] powerpc/interrupt: Remove duplicate header file

2021-04-07 Thread Christophe Leroy
Le 08/04/2021 à 05:56, johnny.che...@huawei.com a écrit : From: Chen Yi Delete one of the header files that are included twice. Guys, we have been flooded with such tiny patches over the last weeks, some changes being sent several times by different people. That one is included in htt

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-04-07 Thread Sandeep Maheswaram
On 3/30/2021 7:02 PM, Greg Kroah-Hartman wrote: On Tue, Mar 30, 2021 at 06:18:43PM +0530, Sai Prakash Ranjan wrote: On 2021-03-30 16:46, Greg Kroah-Hartman wrote: On Tue, Mar 30, 2021 at 03:25:58PM +0530, Sai Prakash Ranjan wrote: On 2021-03-30 14:37, Greg Kroah-Hartman wrote: On Tue, Mar 3

RE: rtlwifi/rtl8192cu AP mode broken with PS STA

2021-04-07 Thread Pkshih
> -Original Message- > From: Maciej S. Szmigiero [mailto:m...@maciej.szmigiero.name] > Sent: Thursday, April 08, 2021 4:53 AM > To: Larry Finger; Pkshih > Cc: linux-wirel...@vger.kernel.org; net...@vger.kernel.org; > linux-kernel@vger.kernel.org; > johan...@sipsolutions.net; kv...@codeau

Re: [PATCH] iommu/vt-d: Force to flush iotlb before creating superpage

2021-04-07 Thread Lu Baolu
Hi Longpeng, On 4/7/21 2:35 PM, Longpeng (Mike, Cloud Infrastructure Service Product Dept.) wrote: Hi Baolu, -Original Message- From: Lu Baolu [mailto:baolu...@linux.intel.com] Sent: Friday, April 2, 2021 12:44 PM To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) ; io...

  1   2   3   4   5   6   7   8   9   10   >