[PATCH mlx5-next v1 08/11] RDMA/mlx5: Convert mlx5_ib to use auxiliary bus

2020-11-01 Thread Leon Romanovsky
From: Leon Romanovsky The conversion to auxiliary bus solves long standing issue with existing mlx5_ib<->mlx5_core coupling. It required to have both modules in initramfs if one of them needed for the boot. Signed-off-by: Leon Romanovsky --- drivers/infiniband/hw/mlx5/ib_rep.c | 77

[PATCH mlx5-next v1 10/11] net/mlx5: Simplify eswitch mode check

2020-11-01 Thread Leon Romanovsky
From: Leon Romanovsky Provide mlx5_core device instead of "priv" pointer while checking eswith mode. Signed-off-by: Leon Romanovsky --- drivers/infiniband/hw/mlx5/counters.c | 7 --- drivers/infiniband/hw/mlx5/ib_rep.c | 5 - drivers/infiniband/hw/mlx5/ib_rep.

[PATCH mlx5-next v1 07/11] net/mlx5e: Connect ethernet part to auxiliary bus

2020-11-01 Thread Leon Romanovsky
From: Leon Romanovsky Reuse auxiliary bus to perform device management of the ethernet part of the mlx5 driver. Signed-off-by: Leon Romanovsky --- drivers/net/ethernet/mellanox/mlx5/core/dev.c | 74 ++ .../net/ethernet/mellanox/mlx5/core/en_main.c | 133 -- .../net/eth

Re: [PATCH] Add devices for HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE

2020-11-01 Thread Chris Ye
Thanks Greg,  I just sent out the v2 version of patches, to maintainers of HID core layer. On 10/30/20 3:48 AM, Greg KH wrote: A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read te

Re: [PATCH] Add devices for HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE

2020-11-01 Thread Chris Ye
Thanks Dmitry,  I just sent out the v2 version of patches, to maintainers of HID core layer, Benjamin and Jiri. On 10/29/20 1:39 PM, Dmitry Torokhov wrote: Jiri Kosina

Re: [PATCH v2] lan743x: Fix for potential null pointer dereference

2020-11-01 Thread Andrew Lunn
On Sun, Nov 01, 2020 at 10:54:38PM +0300, Sergej Bauer wrote: > > > Signed-off-by: Sergej Bauer > > > > * I miss a change description here. > The reason for the fix is when the device is down netdev->phydev will be NULL > and there is no checking for this situation. So 'ethtool ethN' leads to >

Re: [PATCH 4/5] mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at

2020-11-01 Thread Matthew Wilcox
On Sun, Nov 01, 2020 at 12:12:51PM -0800, Joe Perches wrote: > @@ -4024,7 +4024,7 @@ int __init shmem_init(void) > > #if defined(CONFIG_TRANSPARENT_HUGEPAGE) && defined(CONFIG_SYSFS) > static ssize_t shmem_enabled_show(struct kobject *kobj, > - struct kobj_attribute *attr, char *buf

Re: [PATCH v2] lan743x: Fix for potential null pointer dereference

2020-11-01 Thread Sergej Bauer
On Sunday, November 1, 2020 11:38:20 PM MSK Andrew Lunn wrote: > On Sun, Nov 01, 2020 at 10:54:38PM +0300, Sergej Bauer wrote: > > > > Signed-off-by: Sergej Bauer > > > > > > * I miss a change description here. > > > > The reason for the fix is when the device is down netdev->phydev will be > >

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-11-01 Thread Rich Felker
On Sun, Nov 01, 2020 at 06:27:10PM +, Jessica Clarke wrote: > On 1 Nov 2020, at 18:15, Jessica Clarke wrote: > > > > On 1 Nov 2020, at 18:07, Andy Lutomirski wrote: > >> > >> On Sat, Oct 31, 2020 at 6:50 PM Rich Felker wrote: > >>> > >>> On Sun, Nov 01, 2020 at 01:27:35AM +, Jessica C

Re: [PATCH 4/5] mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at

2020-11-01 Thread Joe Perches
On Sun, 2020-11-01 at 20:48 +, Matthew Wilcox wrote: > On Sun, Nov 01, 2020 at 12:12:51PM -0800, Joe Perches wrote: > > @@ -4024,7 +4024,7 @@ int __init shmem_init(void) > >   > > > >  #if defined(CONFIG_TRANSPARENT_HUGEPAGE) && defined(CONFIG_SYSFS) > >  static ssize_t shmem_enabled_show(stru

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-01 Thread John Hubbard
On 11/1/20 2:30 AM, Daniel Vetter wrote: On Sun, Nov 1, 2020 at 6:22 AM John Hubbard wrote: On 10/31/20 7:45 AM, Daniel Vetter wrote: On Sat, Oct 31, 2020 at 3:55 AM John Hubbard wrote: On 10/30/20 3:08 AM, Daniel Vetter wrote: ... By removing this check from this location, and changing f

Re: [PATCH 4/5] mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at

2020-11-01 Thread Matthew Wilcox
On Sun, Nov 01, 2020 at 01:04:35PM -0800, Joe Perches wrote: > On Sun, 2020-11-01 at 20:48 +, Matthew Wilcox wrote: > > On Sun, Nov 01, 2020 at 12:12:51PM -0800, Joe Perches wrote: > > > @@ -4024,7 +4024,7 @@ int __init shmem_init(void) > > >   > > > > > >  #if defined(CONFIG_TRANSPARENT_HUGEP

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

2020-11-01 Thread Stephen Rothwell
Hi all, In commit d969e9c05f83 ("ARM: dts: imx6q-prti6q: fix PHY address") Fixes tag Fixes: 0d446a50559 ("ARM: dts: add Protonic PRTI6Q board") has these problem(s): - SHA1 should be at least 12 digits long Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11 or

PROBLEM: fanotify_mark EFAULT on x86

2020-11-01 Thread Paweł Jasiak
I am trying to run examples from man fanotify.7 but fanotify_mark always fail with errno = EFAULT. fanotify_mark declaration is SYSCALL_DEFINE5(fanotify_mark, int, fanotify_fd, unsigned int, flags, __u64, mask, int, dfd, const char __us

linux-next: Signed-off-by missing for commit in the amdgpu tree

2020-11-01 Thread Stephen Rothwell
Hi all, Commit fdaa4cf1097b ("amd/amdgpu: Disable VCN DPG mode for Picasso") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpbDu58MF8mx.pgp Description: OpenPGP digital signature

Re: PROBLEM: fanotify_mark EFAULT on x86

2020-11-01 Thread Matthew Wilcox
On Sun, Nov 01, 2020 at 10:27:38PM +0100, Paweł Jasiak wrote: > I am trying to run examples from man fanotify.7 but fanotify_mark always > fail with errno = EFAULT. > > fanotify_mark declaration is > > SYSCALL_DEFINE5(fanotify_mark, int, fanotify_fd, unsigned int, flags, >

Re: [PATCH 4/5] mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at

2020-11-01 Thread Joe Perches
On Sun, 2020-11-01 at 21:19 +, Matthew Wilcox wrote: > On Sun, Nov 01, 2020 at 01:04:35PM -0800, Joe Perches wrote: > > On Sun, 2020-11-01 at 20:48 +, Matthew Wilcox wrote: > > > On Sun, Nov 01, 2020 at 12:12:51PM -0800, Joe Perches wrote: > > > > @@ -4024,7 +4024,7 @@ int __init shmem_init

Re: Aw: Re: [PATCH] pci: mediatek: fix warning in msi.h

2020-11-01 Thread Marc Zyngier
On Sun, 01 Nov 2020 18:27:13 +, Frank Wunderlich wrote: > > > Gesendet: Sonntag, 01. November 2020 um 18:54 Uhr > > Von: "Ryder Lee" > > > Yea, mt7623 (mtk_pcie_soc_v1) does not support MSI, so that's a way to > > handle it. > > > > @Frank, could you help to test it? > > > > Ryder > > comp

Re: [PATCH 4/5] mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at

2020-11-01 Thread Matthew Wilcox
On Sun, Nov 01, 2020 at 01:43:13PM -0800, Joe Perches wrote: > > Why did you change this? > > Are you asking about the function argument alignment or the commit message? The indentation. Don't change the fucking indentation, Joe. > > Look, this isn't performance sensitive code. Just do somethi

Re: [PATCH 4/5] mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at

2020-11-01 Thread Joe Perches
On Sun, 2020-11-01 at 22:06 +, Matthew Wilcox wrote: > On Sun, Nov 01, 2020 at 01:43:13PM -0800, Joe Perches wrote: > > > Why did you change this? > > > > Are you asking about the function argument alignment or the commit message? > > The indentation. Don't change the fucking indentation, Jo

[PATCH] xfrm/compat: Remove use of kmalloc_track_caller

2020-11-01 Thread Alistair Delva
The __kmalloc_track_caller symbol is not exported if SLUB/SLOB are enabled instead of SLAB, which breaks the build on such configs when CONFIG_XFRM_USER_COMPAT=m. ERROR: "__kmalloc_track_caller" [net/xfrm/xfrm_compat.ko] undefined! Other users of this symbol are 'bool' options, but changing this

Re: [PATCH 4/5] mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at

2020-11-01 Thread Joe Perches
On Sun, 2020-11-01 at 22:06 +, Matthew Wilcox wrote: > Oh, ugh, sysfs_emit() should be able to work on a buffer that isn't > page aligned. Greg, how about this? > > +++ b/fs/sysfs/file.c > @@ -722,13 +722,13 @@ int sysfs_emit(char *buf, const char *fmt, ...) >  { > va_list args; >    

Re: [PATCH 4/5] mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at

2020-11-01 Thread Joe Perches
On Sun, 2020-11-01 at 22:06 +, Matthew Wilcox wrote: > On Sun, Nov 01, 2020 at 01:43:13PM -0800, Joe Perches wrote: > > > Why did you change this? > > > > Are you asking about the function argument alignment or the commit message? > > The indentation. Don't change the fucking indentation, Jo

Re: [RFC PATCH net-next 7/9] net: dsa: microchip: ksz9477: add hardware time stamping support

2020-11-01 Thread Christian Eggers
On Sunday, 1 November 2020, 12:10:08 CET, Vladimir Oltean wrote: > On Sun, Nov 01, 2020 at 10:35:01AM +0100, Christian Eggers wrote: > > Hi Vladimir, > > > > On Friday, 30 October 2020, 19:24:47 CET, Vladimir Oltean wrote: > > > On Thu, Oct 22, 2020 at 12:17:48PM +0200, Christian Eggers wrote: > >

drivers/media/platform/imx-pxp.c:1747:34: warning: unused variable 'pxp_dt_ids'

2020-11-01 Thread kernel test robot
Hi Mauro, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7b56fbd83e261484da43f04090bce07570bd117f commit: a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a media: Kconfig: not all V4L2 platform drivers are for camera date

[PATCH v5 1/7] IMA: generalize keyring specific measurement constructs

2020-11-01 Thread Tushar Sugandhi
IMA functions such as ima_match_keyring(), process_buffer_measurement(), ima_match_policy() etc. handle data specific to keyrings. Currently, these constructs are not generic to handle any func specific data. This makes it harder to extend them without code duplication. Refactor the keyring specif

[PATCH v5 6/7] IMA: add critical_data to the built-in policy rules

2020-11-01 Thread Tushar Sugandhi
From: Lakshmi Ramasubramanian The IMA hook to measure kernel critical data, namely ima_measure_critical_data(), could be called before a custom IMA policy is loaded. For example, SELinux calls ima_measure_critical_data() to measure its state and policy when they are initialized. This occurs befor

[PATCH v5 7/7] selinux: measure state and hash of the policy using IMA

2020-11-01 Thread Tushar Sugandhi
From: Lakshmi Ramasubramanian Critical data structures of security modules are currently not measured. Therefore an attestation service, for instance, would not be able to attest whether the security modules are always operating with the policies and configurations that the system administrator h

[PATCH v5 2/7] IMA: update process_buffer_measurement to measure buffer hash

2020-11-01 Thread Tushar Sugandhi
process_buffer_measurement() currently only measures the input buffer. In case of SeLinux policy measurement, the policy being measured could be large (several MB). This may result in a large entry in IMA measurement log. Introduce a boolean parameter measure_buf_hash to support measuring hash of

[PATCH v5 3/7] IMA: add hook to measure critical data

2020-11-01 Thread Tushar Sugandhi
Currently, IMA does not provide a generic function for kernel subsystems to measure their critical data. Examples of critical data in this context could be kernel in-memory r/o structures, hash of the memory structures, or data that represents a linux kernel subsystem state change. The critical da

[PATCH v5 5/7] IMA: validate supported kernel data sources before measurement

2020-11-01 Thread Tushar Sugandhi
Currently, IMA does not restrict random data sources from measuring their data using ima_measure_critical_data(). Any kernel data source can call the function, and it's data will get measured as long as the input event_data_source is part of the IMA policy - CRITICAL_DATA+data_sources. To ensure t

Re: Aw: Re: [PATCH] pci: mediatek: fix warning in msi.h

2020-11-01 Thread Thomas Gleixner
On Sun, Nov 01 2020 at 21:47, Marc Zyngier wrote: > On Sun, 01 Nov 2020 18:27:13 +, > Frank Wunderlich wrote: > Thinking of it a bit more, I think this is the wrong solution. > > PCI MSIs are optional, and not a requirement. I can trivially spin a > VM with PCI devices and yet no MSI capabilit

[PATCH v5 4/7] IMA: add policy to measure critical data

2020-11-01 Thread Tushar Sugandhi
System administrators should be able to choose which kernel subsystems they want to measure the critical data for. To enable that, an IMA policy option to choose specific kernel subsystems is needed. This policy option would constrain the measurement of the critical data to the given kernel subsyst

[PATCH v5 0/7] IMA: Infrastructure for measurement of critical kernel data

2020-11-01 Thread Tushar Sugandhi
There are several kernel subsystems that contain critical data which if accidentally or maliciously altered, can compromise the integrity of the system. Examples of such subsystems would include LSMs like SELinux, or AppArmor; or device-mapper targets like dm-crypt, dm-verity etc. "critical data"

Re: PROBLEM: fanotify_mark EFAULT on x86

2020-11-01 Thread Paweł Jasiak
On 01/11/20, Matthew Wilcox wrote: > On Sun, Nov 01, 2020 at 10:27:38PM +0100, Paweł Jasiak wrote: > > I am trying to run examples from man fanotify.7 but fanotify_mark always > > fail with errno = EFAULT. > > > > fanotify_mark declaration is > > > > SYSCALL_DEFINE5(fanotify_mark, int, fanotify_f

[PATCH v3] lan743x: fix for potential NULL pointer dereference with bare card

2020-11-01 Thread Sergej Bauer
This is the 3rd revision of the patch fix for potential null pointer dereference with lan743x card. The simpliest way to reproduce: boot with bare lan743x and issue "ethtool ethN" commant where ethN is the interface with lan743x card. Example: $ sudo ethtool eth7 dmesg: [ 103.510336] BUG: kernel

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-01 Thread Daniel Vetter
On Sun, Nov 1, 2020 at 10:13 PM John Hubbard wrote: > > On 11/1/20 2:30 AM, Daniel Vetter wrote: > > On Sun, Nov 1, 2020 at 6:22 AM John Hubbard wrote: > >> > >> On 10/31/20 7:45 AM, Daniel Vetter wrote: > >>> On Sat, Oct 31, 2020 at 3:55 AM John Hubbard wrote: > On 10/30/20 3:08 AM, Daniel

drivers/mmc/host/meson-gx-mmc.c:1252:34: warning: unused variable 'meson_mmc_of_match'

2020-11-01 Thread kernel test robot
Hi Krzysztof, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7b56fbd83e261484da43f04090bce07570bd117f commit: 54d8454436a205682bd89d66d8d9eedbc8452d15 mmc: host: Enable compile testing of multiple drivers date:

Linux 5.10-rc2

2020-11-01 Thread Linus Torvalds
As usual, the start of the week after the merge window closed was pretty quiet, but things picked up in the last few days. Almost everything here got merged Friday or during the weekend. Which is all normal, but a few things stand out. One is that rc2 continues the pattern of this being a fairly

Re: [PATCH 2/3] phy: mediatek: Move mtk_mipi_dsi_phy driver into drivers/phy/mediatek folder

2020-11-01 Thread Chun-Kuang Hu
+ Vinod: Hi, Chunfeng: Chunfeng Yun 於 2020年10月30日 週五 下午2:24寫道: > > On Thu, 2020-10-29 at 23:27 +0800, Chun-Kuang Hu wrote: > > mtk_mipi_dsi_phy is currently placed inside mediatek drm driver, but it's > > more suitable to place a phy driver into phy driver folder, so move > > mtk_mipi_dsi_phy dr

[PATCH] checkpatch: Add __alias and __weak to suggested __attribute__ conversions

2020-11-01 Thread Joe Perches
Add __alias and __weak to the suggested __attribute__(()) conversions. Signed-off-by: Joe Perches --- This depends on the patch to remove stringification from the __alias macro. scripts/checkpatch.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/

[PATCH v2] asm-generic: barrier.h: fix ALPHA builds when SMP is not enabled

2020-11-01 Thread Randy Dunlap
uses barrier() but needs to #include to get a generic definition of it to fix build errors in arch/alpha/ builds when CONFIG_SMP is not enabled. Fixes build errors like this (there are several like this): [49 in the kernel config that was supplied by the 0day bot] In file included from ../arch/

BUG: sleeping function called from invalid context in ext4_superblock_csum_set

2020-11-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:ed8780e3 Merge tag 'x86-urgent-2020-10-27' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=174e7b7450 kernel config: https://syzkaller.appspot.com/x/.config?x=1be40dc0ffa0bea0 das

[PATCH 2/2] perf tools: Add missing swap for ino_generation

2020-11-01 Thread Jiri Olsa
We are missing swap for ino_generation field. Fixes: 5c5e854bc760 ("perf tools: Add attr->mmap2 support") Signed-off-by: Jiri Olsa --- tools/perf/util/session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 7a5f03764702..d20b16ee7

[PATCH 1/2] perf tools: Initialize output buffer in build_id__sprintf

2020-11-01 Thread Jiri Olsa
We display garbage for undefined build_id objects, because we don't initialize the output buffer. Signed-off-by: Jiri Olsa --- tools/perf/util/build-id.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c index 8763772f1095..6b410c3d52dc

Re: [PATCH] xfrm/compat: Remove use of kmalloc_track_caller

2020-11-01 Thread Dmitry Safonov
On 11/1/20 10:08 PM, Alistair Delva wrote: > The __kmalloc_track_caller symbol is not exported if SLUB/SLOB are > enabled instead of SLAB, which breaks the build on such configs when > CONFIG_XFRM_USER_COMPAT=m. > > ERROR: "__kmalloc_track_caller" [net/xfrm/xfrm_compat.ko] undefined! > > Other us

Re: [f2fs-dev] [PATCH v7 2/2] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl

2020-11-01 Thread Daeho Jeong
Oh, even if those are patchset, then I have to send just changed ones? Got it. 2020년 10월 30일 (금) 오후 3:13, Chao Yu 님이 작성: > > Daeho, > > If there is no change, we are used to not resend the patch with updated > version. > > Thanks, > > On 2020/10/30 12:10, Daeho Jeong wrote: > > From: Daeho Jeong

Re: [RFC PATCH net-next 7/9] net: dsa: microchip: ksz9477: add hardware time stamping support

2020-11-01 Thread Vladimir Oltean
On Sun, Nov 01, 2020 at 11:14:24PM +0100, Christian Eggers wrote: > I am not sure whether I understand the question. When the port is in standalone mode, there is no other destination for packets except for the CPU. So if the switch filters out Sync or Delay_Req packets depending on the operating

Re: [PATCH] soc: aspeed: remove unneeded semicolon

2020-11-01 Thread Joel Stanley
On Sun, 1 Nov 2020 at 15:06, wrote: > > From: Tom Rix > > A semicolon is not needed after a switch statement. Thanks Tom. I will add this to the aspeed soc tree. > > Signed-off-by: Tom Rix > --- > drivers/soc/aspeed/aspeed-socinfo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH AUTOSEL 5.9 054/147] sfc: add and use efx_tx_send_pending in tx.c

2020-11-01 Thread Sasha Levin
On Tue, Oct 27, 2020 at 01:24:24PM +, Edward Cree wrote: On 26/10/2020 23:47, Sasha Levin wrote: From: Edward Cree [ Upstream commit 1c0544d24927e4fad04f858216b8ea767a3bd123 ] Instead of using efx_tx_queue_partner(), which relies on the assumption that tx_queues_per_channel is 2, efx_tx_

Re: [PATCH AUTOSEL 5.9 087/147] genirq: Add stub for set_handle_irq() when !GENERIC_IRQ_MULTI_HANDLER

2020-11-01 Thread Sasha Levin
On Tue, Oct 27, 2020 at 08:51:15AM +, Marc Zyngier wrote: On 2020-10-26 23:48, Sasha Levin wrote: From: Zhen Lei [ Upstream commit ea0c80d1764449acf2f70fdb25aec33800cd0348 ] In order to avoid compilation errors when a driver references set_handle_irq(), but that the architecture doesn't

Re: [RFC PATCH net-next 7/9] net: dsa: microchip: ksz9477: add hardware time stamping support

2020-11-01 Thread Vladimir Oltean
On Mon, Nov 02, 2020 at 01:41:49AM +0200, Vladimir Oltean wrote: > In principle I don't see any reason why this switch would not be able > to operate as a one-step peer delay BC. What I meant to say was "one-step E2E BC", since I was talking about having to receive both Sync and Delay_Req at the s

Re: [PATCH 0/1] x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP

2020-11-01 Thread Anand K. Mistry
On Sun, 1 Nov 2020 at 01:50, Tom Lendacky wrote: > > On 10/29/20 1:51 AM, Anand K Mistry wrote: > > When attempting to do some performance testing of IBPB on and AMD > > platform, I noticed the IBPB instruction was never being issued, even > > though it was conditionally on and various seccomp pro

Re: [PATCH] ARM: dts: aspeed: tiogapass: Remove vuart

2020-11-01 Thread Joel Stanley
On Thu, 13 Aug 2020 at 19:04, Vijay Khemka wrote: > > Removed vuart for facebook tiogapass platform as it uses uart2 and > uart3 pin with aspeed uart routing feature. > > Signed-off-by: Vijay Khemka Reviewed-by: Joel Stanley > --- > arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 5

Re: linux-next: Fixes tag needs some work in the imx-mxs tree

2020-11-01 Thread Shawn Guo
On Mon, Nov 02, 2020 at 08:24:13AM +1100, Stephen Rothwell wrote: > Hi all, > > In commit > > d969e9c05f83 ("ARM: dts: imx6q-prti6q: fix PHY address") > > Fixes tag > > Fixes: 0d446a50559 ("ARM: dts: add Protonic PRTI6Q board") > > has these problem(s): Thanks, Stephen. Fixed. > > -

Re: Linux 5.10-rc2 (docs build)

2020-11-01 Thread Randy Dunlap
Something broke the docs build (SEVERE): Sphinx parallel build error: docutils.utils.SystemMessage: /home/rdunlap/lnx/lnx-510-rc2/Documentation/ABI/testing/sysfs-bus-rapidio:2: (SEVERE/4) Title level inconsistent: Attributes Common for All RapidIO Devices

Re: [PATCH 1/1] x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP

2020-11-01 Thread Anand K. Mistry
On Sun, 1 Nov 2020 at 02:05, Tom Lendacky wrote: > > On 10/29/20 1:51 AM, Anand K Mistry wrote: > > On AMD CPUs which have the feature X86_FEATURE_AMD_STIBP_ALWAYS_ON, > > STIBP is set to on and 'spectre_v2_user_stibp == > > SPECTRE_V2_USER_STRICT_PREFERRED'. At the same time, IBPB can be set to >

[PATCH v2] soc / drm: mediatek: cmdq: Remove timeout handler in helper function

2020-11-01 Thread Chun-Kuang Hu
For each client driver, its timeout handler need to dump hardware register or its state machine information, and their way to detect timeout are also different, so remove timeout handler in helper function and let client driver implement its own timeout handler. Signed-off-by: Chun-Kuang Hu --- v

drivers/remoteproc/mtk_scp.c:645:34: warning: unused variable 'mtk_scp_of_match'

2020-11-01 Thread kernel test robot
Hi Alexandre, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3cea11cd5e3b00d91caf0b4730194039b45c5891 commit: cbd2dca74926c0e4610c40923cc786b732c9e8ef remoteproc: scp: add COMPILE_TEST dependency date: 5 weeks

Re: [PATCH 2/2] m68k: m68328: remove duplicate code

2020-11-01 Thread Greg Ungerer
Hi Arnd, On 31/10/20 12:25 am, Arnd Bergmann wrote: On Mon, Oct 19, 2020 at 2:06 PM Arnd Bergmann wrote: On Mon, Oct 19, 2020 at 1:45 AM Greg Ungerer wrote: On 15/10/20 10:32 pm, Arnd Bergmann wrote: diff --git a/arch/m68k/Kconfig.machine b/arch/m68k/Kconfig.machine index 17e8c3a292d7..1

Re: [PATCH AUTOSEL 5.9 089/147] dm: change max_io_len() to use blk_max_size_offset()

2020-11-01 Thread Sasha Levin
On Tue, Oct 27, 2020 at 08:19:59AM -0400, Mike Snitzer wrote: On Mon, Oct 26 2020 at 7:48pm -0400, Sasha Levin wrote: From: Mike Snitzer [ Upstream commit 5091cdec56faeaefa79de4b6cb3c3c55e50d1ac3 ] Using blk_max_size_offset() enables DM core's splitting to impose ti->max_io_len (via q->lim

Re: [PATCH AUTOSEL 5.9 131/147] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling

2020-11-01 Thread Sasha Levin
On Mon, Oct 26, 2020 at 08:59:34PM -0300, Fabio Estevam wrote: Hi Sasha, On Mon, Oct 26, 2020 at 8:56 PM Sasha Levin wrote: From: Anson Huang [ Upstream commit b663b798d04fb73f1ad4d54c46582d2fde7a76d6 ] dev_err_probe() can reduce code size, uniform error handling and record the defer probe

[PATCH] xfs: Drop useless comments

2020-11-01 Thread Fengfei Xi
The names of functions xfs_buf_get_maps and _xfs_buf_free_pages can fully express their roles. So their comments are redundant. We could drop them entirely. Signed-off-by: Fengfei Xi --- fs/xfs/xfs_buf.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c

Re: [PATCH] soc: mediatek: cmdq: fixup possible timeout issue

2020-11-01 Thread Chun-Kuang Hu
Hi, Houlong: Houlong Wei 於 2020年10月22日 週四 下午5:55寫道: > > Fixes: 576f1b4bc802 ("soc: mediatek: Add Mediatek CMDQ helper") > > There may be possible timeout issue when lots of cmdq packets are > flushed to the same cmdq client. The necessary modifications are as > below. > 1.Adjust the timer timeout

I Need An Investment Partner

2020-11-01 Thread Mr. Soma
Dear Friend, I am Aisha Al-Qaddafi, the only biological Daughter of Former President of Libya Col. Muammar Al-Qaddafi. Am a single Mother and a Widow with three Children. I have investment funds worth Twenty Seven Million Five Hundred Thousand United State Dollar ($27.500.000.00 ) and i need a t

drivers/clk/imx/clk-imx8mp.c:757:34: warning: unused variable 'imx8mp_clk_of_match'

2020-11-01 Thread kernel test robot
Hi Anson, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3cea11cd5e3b00d91caf0b4730194039b45c5891 commit: 9a976cd278eafa496ce30196810ef2e879a4a7d5 clk: imx8m: Support module build date: 2 months ago config: x86_6

[PATCH] mmc: owl-mmc: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-11-01 Thread Tian Tao
The code has been in a irq-disabled context since it is hard IRQ. There is no necessity to do it again. Signed-off-by: Tian Tao --- drivers/mmc/host/owl-mmc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/owl-mmc.c b/drivers/mmc/host/owl-mmc.c index cc

Re: [patch V2 00/18] mm/highmem: Preemptible variant of kmap_atomic & friends

2020-11-01 Thread Thomas Gleixner
On Thu, Oct 29 2020 at 23:18, Thomas Gleixner wrote: > > There is also a still to be investigated question from Linus on the initial > posting versus the per cpu / per task mapping stack depth which might need > to be made larger due to the ability to take page faults within a mapping > region. I

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1229:7: error: implicit declaration of function 'msm_dp_display_pre_disable'

2020-11-01 Thread kernel test robot
: 7 weeks ago config: arm64-randconfig-r022-20201101 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 235dfcf70abca65dba5d80f1a42d1485bab8980c) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

Re: [PATCH net-next] openvswitch: Use IS_ERR instead of IS_ERR_OR_NULL

2020-11-01 Thread Tonghao Zhang
On Sat, Oct 31, 2020 at 2:02 PM YueHaibing wrote: > > Fix smatch warning: > > net/openvswitch/meter.c:427 ovs_meter_cmd_set() warn: passing zero to > 'PTR_ERR' > > dp_meter_create() never returns NULL, use IS_ERR > instead of IS_ERR_OR_NULL to fix this. > > Signed-off-by: YueHaibing Acked-by: To

Re: lockdep: possible irq lock inversion dependency detected (trig->leddev_list_lock)

2020-11-01 Thread Boqun Feng
Hi Andrea, On Sun, Nov 01, 2020 at 10:26:14AM +0100, Andrea Righi wrote: > I'm getting the following lockdep splat (see below). > > Apparently this warning starts to be reported after applying: > > e918188611f0 ("locking: More accurate annotations for read_lock()") > > It looks like a false po

Re: [PATCH v3 3/4] powercap: Add AMD Fam17h RAPL support

2020-11-01 Thread Zhang Rui
On Tue, 2020-10-27 at 07:23 +, Victor Ding wrote: > This patch enables AMD Fam17h RAPL support for the power capping > framework. The support is as per AMD Fam17h Model31h (Zen2) and > model 00-ffh (Zen1) PPR. > > Tested by comparing the results of following two sysfs entries and > the > value

linux-next: manual merge of the parisc-hd tree with the asm-generic tree

2020-11-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the parisc-hd tree got a conflict in: arch/parisc/kernel/time.c between commit: 686092e7daaa ("parisc: use legacy_timer_tick") from the asm-generic tree and commit: 3b7ab4a74a2d ("parisc: Switch to clockevent based timers") from the parisc-hd tree.

linux-next: build failure after merge of the drm-misc tree

2020-11-01 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from drivers/gpu/drm/nouveau/nouveau_ttm.c:26: include/linux/swiotlb.h: In function 'swiotlb_max_mapping_size': include/linux/swiotlb.h:99:9: error: 'SIZE_MAX' undeclared

linux-next: build warning after merge of the drm-misc tree

2020-11-01 Thread Stephen Rothwell
Hi all, After merging the imx-drm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/gpu/drm/panfrost/panfrost_job.c: In function 'panfrost_job_close': drivers/gpu/drm/panfrost/panfrost_job.c:617:28: warning: unused variable 'js' [-Wunused-variable] 617 | s

Re: [PATCH 2/3] phy: mediatek: Move mtk_mipi_dsi_phy driver into drivers/phy/mediatek folder

2020-11-01 Thread Chunfeng Yun
On Mon, 2020-11-02 at 07:08 +0800, Chun-Kuang Hu wrote: > + Vinod: > > Hi, Chunfeng: > > Chunfeng Yun 於 2020年10月30日 週五 下午2:24寫道: > > > > On Thu, 2020-10-29 at 23:27 +0800, Chun-Kuang Hu wrote: > > > mtk_mipi_dsi_phy is currently placed inside mediatek drm driver, but it's > > > more suitable to

[PATCH net-next v2] net: phy: realtek: Add support for RTL8221B-CG series

2020-11-01 Thread Willy Liu
Realtek single-port 2.5Gbps Ethernet PHYs are list as below: RTL8226-CG: the 1st generation 2.5Gbps single port PHY RTL8226B-CG/RTL8221B-CG: the 2nd generation 2.5Gbps single port PHY RTL8221B-VB-CG: the 3rd generation 2.5Gbps single port PHY RTL8221B-VM-CG: the 2.5Gbps single port PHY with MACsec

[PATCH v3 1/2] ASoC: dt-bindings: fsl_aud2htx: Add binding doc for aud2htx module

2020-11-01 Thread Shengjiu Wang
AUD2HTX (Audio Subsystem TO HDMI TX Subsystem) is a new IP module found on i.MX8MP. Signed-off-by: Shengjiu Wang --- changes in v3: - Add additionalProperties changes in v2: - fix indentation issue - remove nodename .../bindings/sound/fsl,aud2htx.yaml | 66 +++ 1 file

[PATCH v3 2/2] ASoC: fsl_aud2htx: Add aud2htx module driver

2020-11-01 Thread Shengjiu Wang
The AUD2HTX is a digital module that provides a bridge between the Audio Subsystem and the HDMI RTX Subsystem. This module includes intermediate storage to queue SDMA transactions prior to being synchronized and passed to the HDMI RTX Subsystem over the Audio Link. The AUD2HTX contains a DMA reque

RE: [PATCH] spi: fsl-dspi: fix NULL pointer dereference

2020-11-01 Thread Qiang Zhao
On Thu, Oct 30, 2020 at 21:02PM, Mark Brown wrote: > -Original Message- > From: Mark Brown > Sent: 2020年10月30日 21:02 > To: Qiang Zhao > Cc: olte...@gmail.com; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] spi: fsl-dspi: fix NULL pointer dereference >

Re: [PATCH v4 0/7] Convert the intel iommu driver to the dma-iommu api

2020-11-01 Thread Lu Baolu
Hi Tvrtko, On 10/12/20 4:44 PM, Tvrtko Ursulin wrote: On 29/09/2020 01:11, Lu Baolu wrote: Hi Tvrtko, On 9/28/20 5:44 PM, Tvrtko Ursulin wrote: On 27/09/2020 07:34, Lu Baolu wrote: Hi, The previous post of this series could be found here. https://lore.kernel.org/linux-iommu/2020091203220

Re: [f2fs-dev] [PATCH v7 2/2] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl

2020-11-01 Thread Chao Yu
On 2020/11/2 7:42, Daeho Jeong wrote: Oh, even if those are patchset, then I have to send just changed ones? There is no strict constraint condition, and I'm okay with both ways, however, I prefer the way just sending changed one because IMO it can help to save review time on those unchanged pa

[PATCH] drivers/thermal: fix potential memleak in error branch

2020-11-01 Thread Bernard Zhao
Function __thermal_cooling_device_register, when device_register failed, cdev is not free after error value return, this may bring in potential memleak. Signed-off-by: Bernard Zhao --- drivers/thermal/thermal_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/thermal_core

[PATCH V2] arm64: dts: imx8mp-evk: add CAN support

2020-11-01 Thread Joakim Zhang
Add CAN device node and pinctrl on i.MX8MP evk board. Signed-off-by: Joakim Zhang --- ChangeLogs: V1->V2: * add missing space before '=', fsl,clk-source= /bits/ 8 <0> -> fsl,clk-source = /bits/ 8 <0> --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 62 arch

[PATCH v2 1/2] arm64: dts: imx8mq: Configure clock rate for audio plls

2020-11-01 Thread Shengjiu Wang
Configure clock rate for audio plls. audio pll1 is used as parent clock for clocks that is multiple of 8kHz. audio pll2 is used as parent clock for clocks that is multiple of 11kHz. Signed-off-by: Shengjiu Wang --- changes in v2: - none arch/arm64/boot/dts/freescale/imx8mq.dtsi | 20 +++

[PATCH 0/2] bail out early for memcg disable

2020-11-01 Thread Alex Shi
These 2 patches are indepenedent from per memcg lru lock, and may encounter unexpected warning, so let's move out them from per memcg lru locking patchset. Alex Shi (2): mm/memcg: bail early from swap accounting if memcg disabled mm/memcg: warning on !memcg after readahead page charged inclu

Re: UBSAN: array-index-out-of-bounds in alg_bind

2020-11-01 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:3cea11cd Linux 5.10-rc2 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1443bf9250 kernel config: https://syzkaller.appspot.com/x/.config?x=e791ddf0875adf65 dashboard link: https://syz

[PATCH v2 2/2] arm64: dts: imx8mq-evk: Add spdif sound card support

2020-11-01 Thread Shengjiu Wang
There are two spdif IP on imx8mq, spdif1 is for normal spdif device, spdif2 is for HDMI ARC interface. Enable these spdif sound card in this patch. Signed-off-by: Shengjiu Wang --- changes in v2: - remove undocument compatible string. arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 38 +

[PATCH 1/2] mm/memcg: bail early from swap accounting if memcg disabled

2020-11-01 Thread Alex Shi
We could bail out early when memcg wasn't enabled. Signed-off-by: Alex Shi Reviewed-by: Roman Gushchin Acked-by: Michal Hocko Acked-by: Hugh Dickins Acked-by: Johannes Weiner Cc: Johannes Weiner Cc: Michal Hocko Cc: Vladimir Davydov Cc: Andrew Morton Cc: cgro...@vger.kernel.org Cc: linux.

[PATCH 2/2] mm/memcg: warning on !memcg after readahead page charged

2020-11-01 Thread Alex Shi
Add VM_WARN_ON_ONCE_PAGE() macro. Since readahead page is charged on memcg too, in theory we don't have to check this exception now. Before safely remove them all, add a warning for the unexpected !memcg. Signed-off-by: Alex Shi Acked-by: Michal Hocko Acked-by: Hugh Dickins Acked-by: Johannes

RE: [PATCH] spi: fsl-dspi: fix NULL pointer dereference

2020-11-01 Thread Qiang Zhao
On Thu, Oct 30, 2020 at 21:18PM +0800, Vladimir Oltean wrote: > -Original Message- > From: Vladimir Oltean > Sent: 2020年10月30日 21:18 > To: Qiang Zhao > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] spi: fsl-dspi: fix NULL point

Re: [PATCH] Kbuild: implement support for DWARF5

2020-11-01 Thread Masahiro Yamada
On Thu, Oct 22, 2020 at 10:21 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > DWARF5 is the latest standard of the DWARF debug info format. > > Feature detection of DWARF5 is onerous, especially given that we've > removed $(AS), so we must query $(CC) for DWARF5 assembler directive > suppor

[PATCH 0/3] arm64: dts: imx8m: add IR support

2020-11-01 Thread Joakim Zhang
Add IR support on i.MX8M platforms. Joakim Zhang (3): arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR arm64: dts: imx8mm-evk: add IR support arm64: dts: imx8mn-evk: add IR support arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 14 ++ arch/arm64/boot/dts/fr

[PATCH 1/3] arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR

2020-11-01 Thread Joakim Zhang
Add linux,autosuspend-period property for IR, details please refer to: commit ff1c9223b7b8 ("media: rc: gpio-ir-recv: add QoS support for cpuidle system") Signed-off-by: Joakim Zhang --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64

[PATCH 3/3] arm64: dts: imx8mn-evk: add IR support

2020-11-01 Thread Joakim Zhang
Add IR support on i.MX8MN EVK board. Signed-off-by: Joakim Zhang --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index fda890589a09

[PATCH 2/3] arm64: dts: imx8mm-evk: add IR support

2020-11-01 Thread Joakim Zhang
Add IR support on i.MX8MM EVK board. Signed-off-by: Joakim Zhang --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index fbfb57b195ad

[PATCH] drivers/thermal: cleanup coding style a bit

2020-11-01 Thread Bernard Zhao
Function thermal_add_hwmon_sysfs, hwmon will be NULL when new_hwmon_device = 0, so there is no need to check, kfree will handle NULL point. Signed-off-by: Bernard Zhao --- drivers/thermal/thermal_hwmon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/therma

[PATCH v2 2/5] crypto: hisilicon/hpre - add version adapt to new algorithms

2020-11-01 Thread Meng Yu
'DH' and 'RSA' algorithms are supported by 'Kunpeng 920' and 'Kunpeng 930', but some new algrithms(like ECDH) are only supported by 'Kunpeng 930', so we add parameter 'struct hisi_qm *qm' to hpre_algs_(un)register to identify the chip's version. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu ---

[PATCH v2 3/5] crypto: hisilicon/hpre - add algorithm type

2020-11-01 Thread Meng Yu
Algorithm type is brought in to get hardware HPRE queue to support different algorithms. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre.h| 10 +- drivers/crypto/hisilicon/hpre/hpre_crypto.c | 12 ++-- drivers/crypto/hisilicon/hpre/hpr

[PATCH v2 1/5] crypto: hisilicon/hpre - add initial settings adapt to 'Kunpeng 930'

2020-11-01 Thread Meng Yu
From: Hui Tang HPRE device 'Kunpeng 930' is updated based on 'Kunpeng 920', and they are not all the same, such as cluster numbers and configuration of some registers, so we try to update this driver to make it running okay not only on 'Kunpeng 920', but also okay on 'Kunpeng 930' in this patch.

<    1   2   3   4   5   6   >