Re: [PATCH] Revert "ARM: dts: bcm2711: Add the BSC interrupt controller"

2021-02-15 Thread Maxime Ripard
On Fri, Feb 12, 2021 at 11:11:04AM -0800, Florian Fainelli wrote: > As Dave reported: > > This seems to have unintended side effects. GIC interrupt 117 is shared > between the standard I2C controllers (i2c-bcm2835) and the l2-intc block > handling the HDMI I2C interrupts. > > There is not a

Re: [PATCH 2/2] ath9k: fix ath_tx_process_buffer() potential null ptr dereference

2021-02-15 Thread Felix Fietkau
On 2021-02-16 08:03, Kalle Valo wrote: > Shuah Khan wrote: > >> ath_tx_process_buffer() references ieee80211_find_sta_by_ifaddr() >> return pointer (sta) outside null check. Fix it by moving the code >> block under the null check. >> >> This problem was found while reviewing code to debug RCU

RE: [PATCH] PCI : check if type 0 devices have all BARs of size zero

2021-02-15 Thread Wasim Khan
Hi Bjorn, > -Original Message- > From: Bjorn Helgaas > Sent: Tuesday, February 16, 2021 2:43 AM > To: Wasim Khan (OSS) > Cc: bhelg...@google.com; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Wasim Khan > Subject: Re: [PATCH] PCI : check if type 0 devices have all BARs

Re: [PATCH 0/3] MAINTAINERS: update STMicroelectronics email

2021-02-15 Thread Patrice CHOTARD
Hi Arnd On 2/15/21 3:19 PM, Arnd Bergmann wrote: > On Mon, Feb 15, 2021 at 2:17 PM Patrice CHOTARD > wrote: >> >> Hi Arnd, Olof, Kevin >> >> What is the best way to get this series merged ? >> Do you pick it and apply it directly, or do we integrate it in the next >> STM32 pull request ? > > I

Re: [PATCH] i2c: exynos5: Preserve high speed master code

2021-02-15 Thread Krzysztof Kozlowski
On Mon, Feb 15, 2021 at 08:03:21PM +0100, Mårten Lindahl wrote: > From: Mårten Lindahl > > When the controller starts to send a message with the MASTER_ID field > set (high speed), the whole I2C_ADDR register is overwritten including > MASTER_ID as the SLV_ADDR_MAS field is set. Are you here

[RESEND PATCH 1/3] MAINTAINERS: Update some st.com email addresses to foss.st.com

2021-02-15 Thread patrice.chotard
From: Patrice Chotard Update some st.com to foss.st.com addresses related to STMicroelectronics drivers. All these people will now use this new email address for upstream activities. Signed-off-by: Patrice Chotard --- MAINTAINERS | 28 ++-- 1 file changed, 14

[RESEND PATCH 3/3] MAINTAINERS: Add Alain Volmat as STM32 I2C/SMBUS maintainer

2021-02-15 Thread patrice.chotard
From: Patrice Chotard Add Alain Volmat as STM32 I2C/SMBUS driver co-maintainer. Signed-off-by: Patrice Chotard Cc: alain.vol...@foss.st.com --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c6266d311061..7de268e4aec0 100644 --- a/MAINTAINERS

[RESEND PATCH 0/3] MAINTAINERS: update STMicroelectronics email

2021-02-15 Thread patrice.chotard
From: Patrice Chotard This series: _ Update st.com to foss.st.com email for some maintainers. _ Remove Vincent Abriou as STI/STM DRM driver _ Add Alain Volmat as STM32 I2C/SMBUS driver maintainer Patrice Chotard (3): MAINTAINERS: Update some st.com email addresses to foss.st.com

[RESEND PATCH 2/3] MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.

2021-02-15 Thread patrice.chotard
From: Patrice Chotard Remove Vincent Abriou's email as he has no more review activities on STM/STI DRM drivers. Signed-off-by: Patrice Chotard Cc: Vincent Abriou --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 98802b71385b..c6266d311061

Re: [PATCH] perf tools: Add OCaml demangling

2021-02-15 Thread Namhyung Kim
Hello, (+ Cc: LKML) On Thu, Feb 4, 2021 at 6:22 AM Fabian Hemmer wrote: > > Detect symbols generated by the OCaml compiler based on their prefix. > > Demangle OCaml symbols, returning a newly allocated string (like the > existing Java demangling functionality). > > Move a helper function (hex)

Re: [PATCH net-next RFC v3] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-15 Thread Leon Romanovsky
On Mon, Feb 15, 2021 at 11:30:25PM -0800, Xie He wrote: > On Mon, Feb 15, 2021 at 10:04 PM Leon Romanovsky wrote: > > > > On Mon, Feb 15, 2021 at 11:08:02AM -0800, Xie He wrote: > > > On Mon, Feb 15, 2021 at 10:54 AM Leon Romanovsky wrote: > > > > > > > > On Mon, Feb 15, 2021 at 09:23:32AM

Re: [PATCH] vdpa/mlx5: Extract correct pointer from driver data

2021-02-15 Thread Leon Romanovsky
On Tue, Feb 16, 2021 at 08:42:26AM +0200, Eli Cohen wrote: > On Tue, Feb 16, 2021 at 08:35:51AM +0200, Leon Romanovsky wrote: > > On Tue, Feb 16, 2021 at 07:50:22AM +0200, Eli Cohen wrote: > > > struct mlx5_vdpa_net pointer was stored in drvdata. Extract it as well > > > in mlx5v_remove(). > > > >

Re: [PATCH v2 1/1] arm64: mm: correct the inside linear map boundaries during hotplug check

2021-02-15 Thread Ard Biesheuvel
On Tue, 16 Feb 2021 at 04:12, Anshuman Khandual wrote: > > > > On 2/16/21 1:21 AM, Pavel Tatashin wrote: > > On Mon, Feb 15, 2021 at 2:34 PM Ard Biesheuvel wrote: > >> > >> On Mon, 15 Feb 2021 at 20:30, Pavel Tatashin > >> wrote: > >>> > Can't we simply use signed arithmetic here? This

Re: [PATCH] perf metricgroup: remove unneeded semicolon

2021-02-15 Thread Namhyung Kim
Hello, On Mon, Feb 1, 2021 at 4:41 PM Yang Li wrote: > > Eliminate the following coccicheck warning: > ./tools/perf/util/metricgroup.c:382:3-4: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Acked-by: Namhyung Kim Thanks, Namhyung > --- >

Re: [PATCH] bus: mhi: core: Fix check for syserr at power_up

2021-02-15 Thread Manivannan Sadhasivam
On Fri, Feb 12, 2021 at 02:27:23PM -0700, Jeffrey Hugo wrote: > The check to see if we have reset the device after detecting syserr at > power_up is inverted. wait_for_event_timeout() returns 0 on failure, > and a positive value on success. The check is looking for non-zero > as a failure, which

Re: [PATCH v2 25/25] arm64: apple: Add initial Mac Mini 2020 (M1) devicetree

2021-02-15 Thread Krzysztof Kozlowski
On Mon, Feb 15, 2021 at 01:00:58PM -0800, Randy Dunlap wrote: > On 2/15/21 11:29 AM, Krzysztof Kozlowski wrote: > >> diff --git a/arch/arm64/boot/dts/apple/apple-j274.dts > >> b/arch/arm64/boot/dts/apple/apple-j274.dts > >> new file mode 100644 > >> index ..9a1be91a2cf0 > >> ---

Re: [PATCH] bus: mhi: core: Use current ee in intvec handler for syserr

2021-02-15 Thread Manivannan Sadhasivam
On Fri, Feb 12, 2021 at 05:40:14PM -0700, Jeffrey Hugo wrote: > The intvec handler stores the caches ee in a local variable for use in > processing the intvec. When determining if a syserr is a fatal error or > not, the intvec handler is using the cached version, when it should be > using the

Re: [PATCH net-next RFC v3] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-15 Thread Xie He
On Mon, Feb 15, 2021 at 10:04 PM Leon Romanovsky wrote: > > On Mon, Feb 15, 2021 at 11:08:02AM -0800, Xie He wrote: > > On Mon, Feb 15, 2021 at 10:54 AM Leon Romanovsky wrote: > > > > > > On Mon, Feb 15, 2021 at 09:23:32AM -0800, Xie He wrote: > > > > On Mon, Feb 15, 2021 at 1:25 AM Leon

Re: [PATCH v8 2/4] KEYS: trusted: Introduce TEE based Trusted Keys

2021-02-15 Thread Jarkko Sakkinen
On Mon, Feb 15, 2021 at 06:37:00PM +0530, Sumit Garg wrote: > On Fri, 12 Feb 2021 at 05:04, Jarkko Sakkinen wrote: > > > > On Mon, Jan 25, 2021 at 02:47:38PM +0530, Sumit Garg wrote: > > > Hi Jarkko, > > > > > > On Fri, 22 Jan 2021 at 23:42, Jarkko Sakkinen wrote: > > > > > > > > On Thu, Jan 21,

Re: [PATCH v2 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-02-15 Thread Perry Yuan
Hi Hans: On 2021/1/13 2:37, Hans de Goede wrote: Hi, I know there already is a v3 out and I will try to get around to reviewing that soon, still 1 remark about the discussion surrounding v2: On 1/11/21 2:42 PM, Perry Yuan wrote: *The flow is like this: 1) User presses key. HW does stuff

[PATCH v2] fs: ubifs: set s_uuid in super block to support ima/evm uuid options

2021-02-15 Thread Juergen Borleis
From: Steffen Trumtrar This is required to provide uuid based integrity functionality for: ima_policy (fsuuid option) and the 'evmctl' command ('--uuid' option). Co-developed-by: Oleksij Rempel Co-developed-by: Juergen Borleis Signed-off-by: Steffen Trumtrar --- fs/ubifs/super.c | 2 ++ 1

fs: ubifs: set s_uuid in super block to support ima/evm uuid options

2021-02-15 Thread Juergen Borleis
This is V2 to support ima/evm uuid in ubifs. - the previously used memcopy is now replaced by a helper function as suggested by Andy jb

linux-next: manual merge of the gpio-brgl tree with the arm-soc, net-next trees

2021-02-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gpio-brgl tree got a conflict in: arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts between commits: 4fd18fc38757 ("arm64: dts: visconti: Add watchdog support for TMPV7708 SoC") 0109a17564fc ("arm: dts: visconti: Add DT support for Toshiba Visconti5

linux-next: manual merge of the gpio-brgl tree with the net-next tree

2021-02-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gpio-brgl tree got a conflict in: MAINTAINERS between commit: df53e4f48e8d ("MAINTAINERS: Add entries for Toshiba Visconti ethernet controller") from the net-next tree and commit: 5103c90d133c ("MAINTAINERS: Add entries for Toshiba Visconti GPIO

Re: [PATCH][next] ath11k: debugfs: Fix spelling mistake "Opportunies" -> "Opportunities"

2021-02-15 Thread Kalle Valo
Colin King wrote: > There is a spelling mistake in some debug text, fix this. > > Signed-off-by: Colin Ian King > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 9c349dbd0752 ath11k: debugfs: Fix spelling mistake "Opportunies" -> "Opportunities" --

Re: [PATCH 2/2] ath9k: fix ath_tx_process_buffer() potential null ptr dereference

2021-02-15 Thread Kalle Valo
Shuah Khan wrote: > ath_tx_process_buffer() references ieee80211_find_sta_by_ifaddr() > return pointer (sta) outside null check. Fix it by moving the code > block under the null check. > > This problem was found while reviewing code to debug RCU warn from >

Re: [PATCH v5 1/2] bio: limit bio max size

2021-02-15 Thread Greg KH
On Tue, Feb 16, 2021 at 03:42:42PM +0900, Changheun Lee wrote: > > > > On Tue, Feb 16, 2021 at 11:00:32AM +0900, Changheun Lee wrote: > > > Please feedback to me if more modification is needed to apply. :) > > > > No context here :( > > > > I'm so sorry. I missed it. > > > bio size can grow

Re: [RFC PATCH v4 02/17] af_vsock: separate wait data loop

2021-02-15 Thread Arseny Krasnov
On 11.02.2021 18:11, Jorgen Hansen wrote: >> On 7 Feb 2021, at 16:14, Arseny Krasnov wrote: >> >> This moves wait loop for data to dedicated function, because later >> it will be used by SEQPACKET data receive loop. >> >> Signed-off-by: Arseny Krasnov >> --- >> net/vmw_vsock/af_vsock.c | 158

Re: [PATCH v5 1/2] bio: limit bio max size

2021-02-15 Thread Changheun Lee
> > On Tue, Feb 16, 2021 at 11:00:32AM +0900, Changheun Lee wrote: > > Please feedback to me if more modification is needed to apply. :) > > No context here :( > I'm so sorry. I missed it. > bio size can grow up to 4GB when muli-page bvec is enabled. > but sometimes it would lead to

Re: [PATCH v3 1/3] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-02-15 Thread Perry Yuan
Hi Pierre: thanks for the review effort. On 2021/1/13 3:00, Pierre-Louis Bossart wrote: On 1/12/21 11:17 AM, Perry Yuan wrote: From: Perry Yuan add support for dell privacy driver for the dell units equipped hardware privacy design, which protect users privacy of audio and camera from

Re: [PATCH v3] firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)

2021-02-15 Thread Michal Simek
On 2/15/21 4:58 PM, Nobuhiro Iwamatsu wrote: > zynqmp_pm_get_eemi_ops() was removed in commit 4db8180ffe7c: "Firmware: > xilinx: > Remove eemi ops for fpga related APIs", but not in > IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE). > Any driver who want to communicate with PMC using EEMI APIs use the

Re: [PATCH] microblaze: Fix built-in DTB alignment to be 8-byte aligned

2021-02-15 Thread Michal Simek
so 13. 2. 2021 v 2:16 odesílatel Rob Herring napsal: > > Commit 79edff12060f ("scripts/dtc: Update to upstream version > v1.6.0-51-g183df9e9c2b9") broke booting on Microblaze systems depending on > the build. The problem is libfdt gained an 8-byte starting alignment check, > but the Microblaze

Re: [PATCH] vdpa/mlx5: Extract correct pointer from driver data

2021-02-15 Thread Eli Cohen
On Tue, Feb 16, 2021 at 08:35:51AM +0200, Leon Romanovsky wrote: > On Tue, Feb 16, 2021 at 07:50:22AM +0200, Eli Cohen wrote: > > struct mlx5_vdpa_net pointer was stored in drvdata. Extract it as well > > in mlx5v_remove(). > > > > Fixes: 74c9729dd892 ("vdpa/mlx5: Connect mlx5_vdpa to auxiliary

Re: [PATCH] gen_compile_commands: prune some directories

2021-02-15 Thread Masahiro Yamada
On Fri, Feb 12, 2021 at 2:19 AM Nathan Chancellor wrote: > > On Fri, Feb 12, 2021 at 01:11:54AM +0900, Masahiro Yamada wrote: > > If directories are passed to gen_compile_commands.py, os.walk() traverses > > all the subdirectories to search for .cmd files, but we know some of them > > are not

Re: INFO: task hung in nbd_ioctl (3)

2021-02-15 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:f40ddce8 Linux 5.11 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10a8b204d0 kernel config: https://syzkaller.appspot.com/x/.config?x=4b919ebed7b4902 dashboard link:

Re: [PATCH] vdpa/mlx5: Extract correct pointer from driver data

2021-02-15 Thread Leon Romanovsky
On Tue, Feb 16, 2021 at 07:50:22AM +0200, Eli Cohen wrote: > struct mlx5_vdpa_net pointer was stored in drvdata. Extract it as well > in mlx5v_remove(). > > Fixes: 74c9729dd892 ("vdpa/mlx5: Connect mlx5_vdpa to auxiliary bus") > Signed-off-by: Eli Cohen > --- > drivers/vdpa/mlx5/net/mlx5_vnet.c

Re: [PATCH] mfd: syscon: Don't free allocated name for regmap_config

2021-02-15 Thread Tomi Valkeinen
Hi Marc, On 03/09/2020 19:02, Marc Zyngier wrote: > The name allocated for the regmap_config structure is freed > pretty early, right after the registration of the MMIO region. > > Unfortunately, that doesn't follow the life cycle that debugfs > expects, as it can access the name field long

Re: [PATCH] drm/dsi: Add _NO_ to MIPI_DSI_* flags disabling features

2021-02-15 Thread Chun-Kuang Hu
Hi, Nicolas: Nicolas Boichat 於 2021年2月11日 週四 上午11:34寫道: > > Many of the DSI flags have names opposite to their actual effects, > e.g. MIPI_DSI_MODE_EOT_PACKET means that EoT packets will actually > be disabled. Fix this by including _NO_ in the flag names, e.g. > MIPI_DSI_MODE_NO_EOT_PACKET.

Re: [PATCH v5 1/2] bio: limit bio max size

2021-02-15 Thread Greg KH
On Tue, Feb 16, 2021 at 11:00:32AM +0900, Changheun Lee wrote: > Please feedback to me if more modification is needed to apply. :) No context here :(

Re: [PATCH net-next RFC v3] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-15 Thread Leon Romanovsky
On Mon, Feb 15, 2021 at 11:08:02AM -0800, Xie He wrote: > On Mon, Feb 15, 2021 at 10:54 AM Leon Romanovsky wrote: > > > > On Mon, Feb 15, 2021 at 09:23:32AM -0800, Xie He wrote: > > > On Mon, Feb 15, 2021 at 1:25 AM Leon Romanovsky wrote: > > > > > > > > > + /* When transmitting data: > > >

[PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops

2021-02-15 Thread Axel Lin
The voltages in pf8x00_sw7_voltages are in ascendant order, so use regulator_map_voltage_ascend. Signed-off-by: Axel Lin --- drivers/regulator/pf8x00-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/pf8x00-regulator.c b/drivers/regulator/pf8x00-regulator.c

[PATCH] vdpa/mlx5: Extract correct pointer from driver data

2021-02-15 Thread Eli Cohen
struct mlx5_vdpa_net pointer was stored in drvdata. Extract it as well in mlx5v_remove(). Fixes: 74c9729dd892 ("vdpa/mlx5: Connect mlx5_vdpa to auxiliary bus") Signed-off-by: Eli Cohen --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] vdpa/mlx5: Extract correct pointer from driver data

2021-02-15 Thread Eli Cohen
struct mlx5_vdpa_net pointer was stored in drvdata. Extract it as well in mlx5v_remove(). Fixes: 74c9729dd892 ("vdpa/mlx5: Connect mlx5_vdpa to auxiliary bus") Signed-off-by: Eli Cohen --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz

2021-02-15 Thread nnet
> Could you test following change instead of PATCH 04/10? I added here also > logic for 1.2 GHz variant with 1.132 V value another change is that > value for load L0 is not touched as it is stable. These changes to patch 04/10 worked going 600 MHz <-> 1.2 GHz , _but_ only with: ++#define

drivers/video/fbdev/aty/atyfb_base.c:2002:7: error: implicit declaration of function 'aty_ld_lcd'; did you mean

2021-02-15 Thread kernel test robot
Hi Vaibhav, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f40ddce88593482919761f74910f42f4b84c004b commit: 348b2956d5e6d9876b567226184de598d00c9bd1 fbdev: aty: use generic power management date: 5 months ago

Re: [PATCH 00/33] Network fs helper library & fscache kiocb API [ver #3]

2021-02-15 Thread Steve French
On Mon, Feb 15, 2021 at 8:10 PM Matthew Wilcox wrote: > > On Mon, Feb 15, 2021 at 06:40:27PM -0600, Steve French wrote: > > It could be good if netfs simplifies the problem experienced by > > network filesystems on Linux with readahead on large sequential reads > > - where we don't get as much

Re: [PATCH 00/33] Network fs helper library & fscache kiocb API [ver #3]

2021-02-15 Thread Steve French
On Mon, Feb 15, 2021 at 8:10 PM Matthew Wilcox wrote: > > On Mon, Feb 15, 2021 at 06:40:27PM -0600, Steve French wrote: > > It could be good if netfs simplifies the problem experienced by > > network filesystems on Linux with readahead on large sequential reads > > - where we don't get as much

Re: [PATCH] arc: Replace lkml.org links with lore

2021-02-15 Thread Vineet Gupta
On 2/10/21 3:28 PM, Kees Cook wrote: As started by commit 05a5f51ca566 ("Documentation: Replace lkml.org links with lore"), replace lkml.org links with lore to better use a single source that's more likely to stay available long-term. Signed-off-by: Kees Cook Acked-by: Vineet Gupta Let me

[PATCH] ionic: Remove unused function pointer typedef ionic_reset_cb

2021-02-15 Thread Chen Lin
From: Chen Lin Remove the 'ionic_reset_cb' typedef as it is not used. Signed-off-by: Chen Lin --- drivers/net/ethernet/pensando/ionic/ionic_lif.h |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.h

Re: [External] Re: [PATCH v15 4/8] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-02-15 Thread Muchun Song
On Tue, Feb 16, 2021 at 3:39 AM Michal Hocko wrote: > > On Tue 16-02-21 02:19:20, Muchun Song wrote: > > On Tue, Feb 16, 2021 at 1:48 AM Muchun Song > > wrote: > > > > > > On Tue, Feb 16, 2021 at 12:28 AM Michal Hocko wrote: > > > > > > > > On Mon 15-02-21 23:36:49, Muchun Song wrote: > > > >

[PATCH -next] fs: namei: fix kernel-doc for struct renamedata and more

2021-02-15 Thread Randy Dunlap
nel.org Cc: Christian Brauner --- fs/namei.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) --- linux-next-20210215.orig/fs/namei.c +++ linux-next-20210215/fs/namei.c @@ -1121,8 +1121,7 @@ int may_linkat(struct user_namespace *mn * should

[PATCH -next] fs: fix new and older kernel-doc warnings in fs/

2021-02-15 Thread Randy Dunlap
[PATCH -next] fs: libfs: fix kernel-doc for mnt_userns [PATCH -next] fs: namei: fix kernel-doc for struct renamedata and more [PATCH -next] fs: xattr: fix kernel-doc for mnt_userns and vfs xattr helpers Cc: Christoph Hellwig Cc: David Howells Cc: Al Viro Cc: linux-fsde...@vger.kernel.org

[PATCH] cw1200: Remove unused function pointer typedef wsm_*

2021-02-15 Thread Chen Lin
From: Chen Lin Remove the 'wsm_*' typedef as it is not used. Signed-off-by: Chen Lin --- drivers/net/wireless/st/cw1200/wsm.h | 12 1 file changed, 12 deletions(-) diff --git a/drivers/net/wireless/st/cw1200/wsm.h b/drivers/net/wireless/st/cw1200/wsm.h index 1ffa479..89fdc91

[PATCH] cw1200: Remove unused function pointer typedef cw1200_wsm_handler

2021-02-15 Thread Chen Lin
From: Chen Lin Remove the 'cw1200_wsm_handler' typedef as it is not used. Signed-off-by: Chen Lin --- drivers/net/wireless/st/cw1200/bh.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/st/cw1200/bh.c b/drivers/net/wireless/st/cw1200/bh.c index c364a39..8bade5d

[PATCH -next] fs: xattr: fix kernel-doc for mnt_userns and vfs xattr helpers

2021-02-15 Thread Randy Dunlap
avid Howells Cc: Al Viro Cc: linux-fsde...@vger.kernel.org Cc: Christian Brauner Cc: David P. Quigley Cc: James Morris --- fs/xattr.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) --- linux-next-20210215.orig/fs/xattr.c +++ linux-next-20210215/fs/xattr.c @@ -186,12 +186

[PATCH -next] fs: libfs: fix kernel-doc for mnt_userns

2021-02-15 Thread Randy Dunlap
Cc: linux-fsde...@vger.kernel.org Cc: Christian Brauner --- fs/libfs.c |1 + 1 file changed, 1 insertion(+) --- linux-next-20210215.orig/fs/libfs.c +++ linux-next-20210215/fs/libfs.c @@ -481,6 +481,7 @@ EXPORT_SYMBOL(simple_rename); /** * simple_setattr - setattr for simple filesystem + * @

Re: [PATCH 5.10 000/104] 5.10.17-rc1 review

2021-02-15 Thread Naresh Kamboju
On Mon, 15 Feb 2021 at 21:02, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.17 release. > There are 104 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. > >

Re: [PATCH 2/2] exfat: add support FITRIM ioctl

2021-02-15 Thread Hyeongseok Kim
Hi Chaitanya, Thank you for the review. On 2/16/21 4:33 AM, Chaitanya Kulkarni wrote: On 2/14/21 20:28, Hyeongseok Kim wrote: + +int exfat_trim_fs(struct inode *inode, struct fstrim_range *range) +{ + struct super_block *sb = inode->i_sb; Reverse tree style for function variable

Re: [PATCH 5.4 00/60] 5.4.99-rc1 review

2021-02-15 Thread Naresh Kamboju
On Mon, 15 Feb 2021 at 20:59, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.99 release. > There are 60 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. > >

[PATCH v5 2/3] x86/sgx: Allows ioctl PROVISION to execute before CREATE

2021-02-15 Thread Tianjia Zhang
In the function sgx_create_enclave(), the direct assignment operation of attributes_mask determines that the ioctl PROVISION operation must be executed after the ioctl CREATE operation, which will limit the flexibility of SGX developers. This patch takes the assignment of attributes_mask from the

[PATCH v5 0/3] Some optimizations related to sgx

2021-02-15 Thread Tianjia Zhang
This is an optimization of a set of sgx-related codes, each of which is independent of the patch. Because the second and third patches have conflicting dependencies, these patches are put together. --- v5 changes: * Remove the two patches with no actual value * Typo fix in commit message v4

[PATCH v5 3/3] x86/sgx: Remove redundant if conditions in sgx_encl_create

2021-02-15 Thread Tianjia Zhang
In this scenario, there is no case where va_page is NULL, and the error has been checked. The if-condition statement here is redundant, so remove the condition detection. Signed-off-by: Tianjia Zhang Acked-by: Jarkko Sakkinen --- arch/x86/kernel/cpu/sgx/ioctl.c | 7 --- 1 file changed, 4

[PATCH v5 1/3] selftests/x86: Use getauxval() to simplify the code in sgx

2021-02-15 Thread Tianjia Zhang
Simplify the sgx code implemntation by using library function getauxval() instead of a custom function to get the base address of vDSO. Signed-off-by: Tianjia Zhang Reviewed-by: Jarkko Sakkinen Acked-by: Shuah Khan --- tools/testing/selftests/sgx/main.c | 24 1 file

[RFC PATCH] mm, oom: introduce vm.sacrifice_hugepage_on_oom

2021-02-15 Thread Eiichi Tsukata
Hugepages can be preallocated to avoid unpredictable allocation latency. If we run into 4k page shortage, the kernel can trigger OOM even though there were free hugepages. When OOM is triggered by user address page fault handler, we can use oom notifier to free hugepages in user space but if it's

Re: [PATCH v3 3/5] x86/sgx: Optimize the free_cnt count in sgx_epc_section

2021-02-15 Thread Tianjia Zhang
On 2/12/21 8:19 PM, Jarkko Sakkinen wrote: On Thu, Feb 11, 2021 at 02:04:12PM +0800, Tianjia Zhang wrote: Hi, Sorry for the late reply. On 1/28/21 1:40 AM, Jarkko Sakkinen wrote: I could bet some money that this does not bring any significant performance gain. Yes, this does not bring

[tip:irq/core] BUILD SUCCESS 0b6d70e571a1c764ab079e5c31d4156feee4b06b

2021-02-15 Thread kernel test robot
powerpc allmodconfig powerpc allnoconfig i386 randconfig-a003-20210215 i386 randconfig-a005-20210215 i386 randconfig-a002-20210215 i386 randconfig-a006-20210215 i386

Re: [PATCH] of: property: fw_devlink: Ignore interrupts property for some configs

2021-02-15 Thread Guenter Roeck
On Mon, Feb 15, 2021 at 02:42:58PM -0800, Saravana Kannan wrote: > When CONFIG_OF_IRQ is not defined, it doesn't make sense to parse > interrupts property. > > Also, parsing and tracking interrupts property breaks some PPC > devices[1]. But none of the IRQ drivers in PPC seem ready to be >

Re: [PATCH v2 1/1] arm64: mm: correct the inside linear map boundaries during hotplug check

2021-02-15 Thread Anshuman Khandual
On 2/16/21 1:21 AM, Pavel Tatashin wrote: > On Mon, Feb 15, 2021 at 2:34 PM Ard Biesheuvel wrote: >> >> On Mon, 15 Feb 2021 at 20:30, Pavel Tatashin >> wrote: >>> Can't we simply use signed arithmetic here? This expression works fine if the quantities are all interpreted as s64

[PATCH 2/2] kbuild: check the minimum linker version in Kconfig

2021-02-15 Thread Masahiro Yamada
Unify the two scripts/ld-version.sh and scripts/lld-version.sh, and check the minimum linker version like scripts/cc-version.sh did. I tested this script for some corner cases reported in the past: - GNU ld version 2.25-15.fc23 as reported by commit 8083013fc320 ("ld-version: Fix it on

[PATCH 1/2] kbuild: remove ld-version macro

2021-02-15 Thread Masahiro Yamada
There is no direct user of ld-version; you can use CONFIG_LD_VERSION if needed. Signed-off-by: Masahiro Yamada --- scripts/Kbuild.include | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 08e011175b4c..509e0856d653

Re: [PATCH] ntfs: move check for valid resident attribute offset and length

2021-02-15 Thread Anton Altaparmakov
Hi Rustam, Thank you for the patch but it is not quite correct: 1) The first delta: yes that is a good idea to add this check but the error message is incorrect. It should say "Corrupt standard information attribute in inode." instead. 2) The second delta: The check of the attribute list

Re: [PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback

2021-02-15 Thread Krzysztof Wilczyński
Hi Chen, > Remove the 'acpiphp_callback' typedef as it is not used. [...] Good catch! This typedef was initially added in 2005, and then it stopped being used around the Kernel version 3.7 release, which is also when the sole user of this typedef called acpiphp_for_each_slot() has also been

Re: [PATCH v2 1/1] arm64: mm: correct the inside linear map boundaries during hotplug check

2021-02-15 Thread Anshuman Khandual
On 2/16/21 12:57 AM, Ard Biesheuvel wrote: > On Mon, 15 Feb 2021 at 20:22, Pavel Tatashin > wrote: >> >> Memory hotplug may fail on systems with CONFIG_RANDOMIZE_BASE because the >> linear map range is not checked correctly. >> >> The start physical address that linear map covers can be

[PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback

2021-02-15 Thread Chen Lin
From: Chen Lin Remove the 'acpiphp_callback' typedef as it is not used. Signed-off-by: Chen Lin --- drivers/pci/hotplug/acpiphp.h |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h index a2094c0..a74b274 100644 ---

RE: linux-next: manual merge of the net-next tree with the arm-soc tree

2021-02-15 Thread nobuhiro1.iwamatsu
Hi, > -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Tuesday, February 16, 2021 11:05 AM > To: David Miller ; Networking ; > Olof Johansson ; Arnd > Bergmann ; ARM > Cc: Bartosz Golaszewski ; Linux Kernel Mailing > List ; Linux > Next Mailing List ;

[PATCH v5 1/2] bio: limit bio max size

2021-02-15 Thread Changheun Lee
Please feedback to me if more modification is needed to apply. :) --- Changheun Lee

Re: [PATCH v8 21/22] counter: 104-quad-8: Replace mutex with spinlock

2021-02-15 Thread William Breathitt Gray
On Sun, Feb 14, 2021 at 06:19:46PM +, Jonathan Cameron wrote: > On Fri, 12 Feb 2021 21:13:45 +0900 > William Breathitt Gray wrote: > > > This patch replaces the mutex I/O lock with a spinlock. This is in > > preparation for a subsequent patch adding IRQ support for 104-QUAD-8 > > devices; we

Re: [PATCH 00/33] Network fs helper library & fscache kiocb API [ver #3]

2021-02-15 Thread Matthew Wilcox
On Mon, Feb 15, 2021 at 06:40:27PM -0600, Steve French wrote: > It could be good if netfs simplifies the problem experienced by > network filesystems on Linux with readahead on large sequential reads > - where we don't get as much parallelism due to only having one > readahead request at a time

linux-next: manual merge of the net-next tree with the arm-soc tree

2021-02-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got conflicts in: arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts arch/arm64/boot/dts/toshiba/tmpv7708.dtsi between commits: 4fd18fc38757 ("arm64: dts: visconti: Add watchdog support for TMPV7708 SoC") 0109a17564fc ("arm: dts:

[PATCH 1/2] scripts: add generic syscalltbl.sh

2021-02-15 Thread Masahiro Yamada
Most of architectures generate syscall headers at the compile time in a similar way. The syscall table has the same format for all architectures. Each line has up to 5 fields; syscall number, ABI, syscall name, native entry point, and compat entry point. The syscall table is processed by

[PATCH 2/2] scripts: add generic syscallhdr.sh

2021-02-15 Thread Masahiro Yamada
Most of architectures generate syscall headers at the compile time in a similar way. As of v5.11-rc1, 12 architectures duplicate similar shell scripts: $ find arch -name syscallhdr.sh | sort arch/alpha/kernel/syscalls/syscallhdr.sh arch/arm/tools/syscallhdr.sh

Re: [PATCH] ftrace: Do not reference symbols in sections without size

2021-02-15 Thread Steven Rostedt
On Mon, 15 Feb 2021 20:06:39 -0500 Steven Rostedt wrote: > Strange, that when I applied this to the latest kernel on a my build > system (binutils 2.35), it still created all the necessary mcount > locations?? I know why it worked. If you are using the latest gcc on the latest mainline, it will

Re: [PATCH v8 17/22] counter: Add character device interface

2021-02-15 Thread William Breathitt Gray
On Mon, Feb 15, 2021 at 10:24:12AM +0100, Oleksij Rempel wrote: > Hi William, > > On Fri, Feb 12, 2021 at 09:13:41PM +0900, William Breathitt Gray wrote: > > This patch introduces a character device interface for the Counter > > subsystem. Device data is exposed through standard character device

Re: [RFT][PATCH v1] cpufreq: ACPI: Set cpuinfo.max_freq directly if max boost is known

2021-02-15 Thread Michael Larabel
On 2/15/21 1:24 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Commit 3c55e94c0ade ("cpufreq: ACPI: Extend frequency tables to cover boost frequencies") attempted to address a performance issue involving acpi-cpufreq, the schedutil governor and scale-invariance on x86 by extending the

[PATCH v4 7/9] cxl/mem: Add set of informational commands

2021-02-15 Thread Ben Widawsky
Add initial set of formal commands beyond basic identify and command enumeration. Signed-off-by: Ben Widawsky Reviewed-by: Dan Williams Reviewed-by: Jonathan Cameron (v2) --- drivers/cxl/mem.c| 9 + include/uapi/linux/cxl_mem.h | 5 + 2 files changed, 14 insertions(+)

[PATCH v4 6/9] cxl/mem: Enable commands via CEL

2021-02-15 Thread Ben Widawsky
CXL devices identified by the memory-device class code must implement the Device Command Interface (described in 8.2.9 of the CXL 2.0 spec). While the driver already maintains a list of commands it supports, there is still a need to be able to distinguish between commands that the driver knows

[PATCH v4 9/9] cxl/mem: Add payload dumping for debug

2021-02-15 Thread Ben Widawsky
It's often useful in debug scenarios to see what the hardware has dumped out. As it stands today, any device error will result in the payload not being copied out, so there is no way to triage commands which weren't expected to fail (and sometimes the payload may have that information). The

[PATCH v4 8/9] MAINTAINERS: Add maintainers of the CXL driver

2021-02-15 Thread Ben Widawsky
Cc: Dan Williams Cc: Vishal Verma Cc: Ira Weiny Cc: Alison Schofield Signed-off-by: Ben Widawsky --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6eff4f720c72..93c8694a8f04 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -,6

[PATCH v4 4/9] cxl/mem: Add basic IOCTL interface

2021-02-15 Thread Ben Widawsky
Add a straightforward IOCTL that provides a mechanism for userspace to query the supported memory device commands. CXL commands as they appear to userspace are described as part of the UAPI kerneldoc. The command list returned via this IOCTL will contain the full set of commands that the driver

[PATCH v4 0/9] CXL 2.0 Support

2021-02-15 Thread Ben Widawsky
# Changes since v3 [1] * Fix use of GET_SUPPORTED_LOGS (Ben) * Reported by Dan * Rework userspace commands (Al, Dan) * Don't get_user twice (Al) * Don't pass __user @u to handle_mailbox_cmd_from_user() (Dan) * Use void * in cxl_mem_mbox_send_cmd() (Dan) * Fix for 32b builds (Stephen,

[PATCH v4 3/9] cxl/mem: Register CXL memX devices

2021-02-15 Thread Ben Widawsky
From: Dan Williams Create the /sys/bus/cxl hierarchy to enumerate: * Memory Devices (per-endpoint control devices) * Memory Address Space Devices (platform address ranges with interleaving, performance, and persistence attributes) * Memory Regions (active provisioned memory from an address

[PATCH v4 2/9] cxl/mem: Find device capabilities

2021-02-15 Thread Ben Widawsky
Provide enough functionality to utilize the mailbox of a memory device. The mailbox is used to interact with the firmware running on the memory device. The flow is proven with one implemented command, "identify". Because the class code has already told the driver this is a memory device and the

[PATCH v4 1/9] cxl/mem: Introduce a driver for CXL-2.0-Type-3 endpoints

2021-02-15 Thread Ben Widawsky
From: Dan Williams The CXL.mem protocol allows a device to act as a provider of "System RAM" and/or "Persistent Memory" that is fully coherent as if the memory was attached to the typical CPU memory controller. With the CXL-2.0 specification a PCI endpoint can implement a "Type-3" device

[PATCH v4 5/9] cxl/mem: Add a "RAW" send command

2021-02-15 Thread Ben Widawsky
The CXL memory device send interface will have a number of supported commands. The raw command is not such a command. Raw commands allow userspace to send a specified opcode to the underlying hardware and bypass all driver checks on the command. The primary use for this command is to

Re: usb: dwc3: gadget: Change runtime pm function for DWC3 runtime suspend

2021-02-15 Thread Jung Daehwan
Hello, Alan On Mon, Feb 15, 2021 at 12:41:45PM -0500, Alan Stern wrote: > On Mon, Feb 15, 2021 at 11:38:58AM +0900, Daehwan Jung wrote: > > It seems pm_runtime_put calls runtime_idle callback not runtime_suspend > > callback. > > How is this fact related to your patch? I think we should cause

Re: [PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors

2021-02-15 Thread William Breathitt Gray
On Sun, Feb 14, 2021 at 05:10:21PM +, Jonathan Cameron wrote: > On Fri, 12 Feb 2021 21:13:34 +0900 > William Breathitt Gray wrote: > > > ERANGE is a semantically better error code to return when an argument > > value falls outside the supported limit range of a device. > > #define

Re: [PATCH] USB: gadget: Fix a configfs return code

2021-02-15 Thread Lorenzo Colitti
On Tue, Feb 16, 2021 at 12:57 AM Dan Carpenter wrote: > { \ > struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ > - int ret;\ > +

[PATCH v2 0/1] s390/vfio-ap: fix circular lockdep when staring SE guest

2021-02-15 Thread Tony Krowiak
Commit f21916ec4826 ("s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated") introduced a change that results in a circular lockdep when a Secure Execution guest that is configured with crypto devices is started. The problem resulted due to the fact that the patch moved the

[PATCH v2 1/1] s390/vfio-ap: fix circular lockdep when setting/clearing crypto masks

2021-02-15 Thread Tony Krowiak
This patch fixes a circular locking dependency in the CI introduced by commit f21916ec4826 ("s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated"). The lockdep only occurs when starting a Secure Execution guest. Crypto virtualization (vfio_ap) is not yet supported for SE guests;

[PATCH net-next v3 5/5] TEST ONLY: lan743x: skb_trim failure test

2021-02-15 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Simulate low-memory in lan743x_rx_trim_skb(): fail one allocation in every 100. Signed-off-by: Sven Van Asbroeck --- To: Bryan Whitehead To: unglinuxdri...@microchip.com To: "David S. Miller" To: Jakub Kicinski Cc: Andrew Lunn Cc: Alexey Denisov Cc: Sergej Bauer

  1   2   3   4   5   6   7   8   9   10   >