Re: [PATCH v2 net-next] net: phy: at803x: remove at803x_aneg_done()

2021-03-18 Thread Heiner Kallweit
On 18.03.2021 20:44, Michael Walle wrote: > Here is what Vladimir says about it: > > at803x_aneg_done() keeps the aneg reporting as "not done" even when > the copper-side link was reported as up, but the in-band autoneg has > not finished. > > That was the _intended_ behavior when that

[PATCH v4] x86/Hyper-V: Support for free page reporting

2021-03-18 Thread Sunil Muthuswamy
Linux has support for free page reporting now (36e66c554b5c) for virtualized environment. On Hyper-V when virtually backed VMs are configured, Hyper-V will advertise cold memory discard capability, when supported. This patch adds the support to hook into the free page reporting infrastructure and

Re: [sched] 663017c554: WARNING:at_kernel/sched/core.c:#scheduler_tick

2021-03-18 Thread Josh Don
The warning is WAI (holding spinlock for 100ms). However, since this is expected for locktorture, it makes sense to not have the warning enabled while the test is running. I can add that to the patch.

Re: [PATCH][next] loop: Fix missing max_active argument in alloc_workqueue call

2021-03-18 Thread Jens Axboe
On 3/18/21 2:24 PM, Colin Ian King wrote: > On 18/03/2021 20:12, Jens Axboe wrote: >> On 3/18/21 9:16 AM, Colin King wrote: >>> From: Colin Ian King >>> >>> The 3rd argument to alloc_workqueue should be the max_active count, >>> however currently it is the lo->lo_number that is intended for the

Re: [v5] PCI: Add reset quirk for Huawei Intelligent NIC virtual function

2021-03-18 Thread Bjorn Helgaas
On Tue, Mar 16, 2021 at 10:08:47PM +0800, Chiqijun wrote: > When multiple VFs do FLR at the same time, the firmware is > processed serially, resulting in some VF FLRs being delayed more > than 100ms, when the virtual machine restarts and the device > driver is loaded, the firmware is doing the

Re: [PATCH v2 4/4] fs: unicode: Add utf8 module and a unicode layer

2021-03-18 Thread Eric Biggers
On Thu, Mar 18, 2021 at 07:03:05PM +0530, Shreeya Patel wrote: > +struct unicode_ops { > + struct module *owner; > + int (*validate)(const struct unicode_map *um, const struct qstr *str); > + int (*strncmp)(const struct unicode_map *um, const struct qstr *s1, > +

Re: [PATCH 4/4] kbuild: include Makefile.compiler only when compiler is required

2021-03-18 Thread Nathan Chancellor
On Sun, Feb 28, 2021 at 03:10:28PM +0900, Masahiro Yamada wrote: > Since commit f2f02ebd8f38 ("kbuild: improve cc-option to clean up all > temporary files"), running 'make kernelversion' in a read-only source > tree emits a bunch of warnings: > > mkdir: cannot create directory '.tmp_12345':

Re: [PATCHv2 3/3] media: uvcvideo: add UVC 1.5 ROI control

2021-03-18 Thread Ricardo Ribalda
On Thu, Mar 18, 2021 at 10:19 PM Ricardo Ribalda wrote: > > Hi Sergey > > On Thu, Mar 18, 2021 at 5:47 AM Sergey Senozhatsky > wrote: > > > > On (21/03/17 08:58), Ricardo Ribalda Delgado wrote: > > [..] > > > > > > > > GET_CUR? > > > yep > > > > > > > > > > > >

Re: [PATCH] swiotlb: Add swiotlb=off to disable SWIOTLB

2021-03-18 Thread Florian Fainelli
On 3/18/2021 12:53 PM, Robin Murphy wrote: > On 2021-03-18 19:43, Florian Fainelli wrote: >> >> >> On 3/18/2021 12:34 PM, Robin Murphy wrote: >>> On 2021-03-18 19:22, Florian Fainelli wrote: On 3/18/2021 12:18 PM, Florian Fainelli wrote: > It may be useful to disable the

Re: [PATCH 4/6] um: split up CONFIG_GCOV

2021-03-18 Thread Johannes Berg
Hi Brendan, > Hey, thanks for doing this! I was looking into this a few weeks ago > and root caused part of the issue in GCC and in the kernel, but I did > not have a fix put together. > > Anyway, most of the patches make sense to me, but I am not able to > apply this patch on torvalds/master.

Re: [PATCH v2 09/17] lib/list_sort: fix function type mismatches

2021-03-18 Thread Sami Tolvanen
On Thu, Mar 18, 2021 at 11:31 AM Nick Desaulniers wrote: > > On Thu, Mar 18, 2021 at 10:11 AM Sami Tolvanen > wrote: > > > > Casting the comparison function to a different type trips indirect > > call Control-Flow Integrity (CFI) checking. Remove the additional > > consts from cmp_func, and the

Re: [net PATCH v2 0/8] octeontx2: miscellaneous fixes

2021-03-18 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net.git (refs/heads/master): On Thu, 18 Mar 2021 19:45:41 +0530 you wrote: > This series of patches fixes various issues related to NPC MCAM entry > management, debugfs, devlink, CGX LMAC mapping, RSS config etc > > Change-log: > v2: > Fixed below review

Re: [PATCH net-next 0/2] stmmac: add VLAN priority based RX steering

2021-03-18 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Fri, 19 Mar 2021 01:22:02 +0800 you wrote: > Hi, > > The current tc flower implementation in stmmac supports both L3 and L4 > filter offloading. This patch adds the support of VLAN priority based > RX frame steering

Re: [PATCH] net: marvell: Remove reference to CONFIG_MV64X60

2021-03-18 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 18 Mar 2021 17:25:08 + (UTC) you wrote: > Commit 92c8c16f3457 ("powerpc/embedded6xx: Remove C2K board support") > removed last selector of CONFIG_MV64X60. > > As it is not a user selectable config item, all

Re: [PATCH v2 07/17] kallsyms: strip ThinLTO hashes from static functions

2021-03-18 Thread Sami Tolvanen
On Thu, Mar 18, 2021 at 12:00 PM Nick Desaulniers wrote: > > On Thu, Mar 18, 2021 at 10:11 AM Sami Tolvanen > wrote: > > > > With CONFIG_CFI_CLANG and ThinLTO, Clang appends a hash to the names > > of all static functions not marked __used. This can break userspace > > tools that don't expect

Re: [PATCH v3 net-next] net: dsa: b53: mmap: Add device tree support

2021-03-18 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 17 Mar 2021 10:23:17 +0100 you wrote: > Add device tree support to b53_mmap.c while keeping platform devices support. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/net/dsa/b53/b53_mmap.c | 55

Re: [PATCH net-next 0/2] net: stmmac: EST interrupts and ethtool

2021-03-18 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Thu, 18 Mar 2021 08:50:51 +0800 you wrote: > From: Mohammad Athari Bin Ismail > > This patchset adds support for handling EST interrupts and reporting EST > errors. Additionally, the errors are added into ethtool

Re: [PATCH] drm/tilcdc: fix LCD pixel clock setting

2021-03-18 Thread Dario Binacchi
> Il 17/03/2021 09:19 Tomi Valkeinen ha scritto: > > > On 14/03/2021 17:13, Dario Binacchi wrote: > > As reported by TI spruh73x RM, the LCD pixel clock (LCD_PCLK) frequency > > is obtained by dividing LCD_CLK, the LCD controller reference clock, > > for CLKDIV: > > > > LCD_PCLK = LCD_CLK /

Re: [PATCH 0/2] TI K3 R5F remoteproc support on AM46x SoCs

2021-03-18 Thread Suman Anna
On 3/18/21 4:58 PM, Suman Anna wrote: > Hi All, > > The following series enhances the K3 R5F remoteproc driver to add support > for the R5F clusters on the newer TI K3 AM64x SoC family. The AM64x SoCs > have 2 R5FSS clusters and no DSPs. Both clusters are capable of supporting > either the

[tip: x86/seves] x86/boot/compressed/64: Add 32-bit boot #VC handler

2021-03-18 Thread tip-bot2 for Joerg Roedel
The following commit has been merged into the x86/seves branch of tip: Commit-ID: 1ccdbf748d862bc2ea106fa9f2300983c77860fe Gitweb: https://git.kernel.org/tip/1ccdbf748d862bc2ea106fa9f2300983c77860fe Author:Joerg Roedel AuthorDate:Wed, 10 Mar 2021 09:43:22 +01:00

[tip: x86/seves] x86/boot/compressed/64: Add CPUID sanity check to 32-bit boot-path

2021-03-18 Thread tip-bot2 for Joerg Roedel
The following commit has been merged into the x86/seves branch of tip: Commit-ID: e927e62d8e370ebfc0d702fec22bc752249ebcef Gitweb: https://git.kernel.org/tip/e927e62d8e370ebfc0d702fec22bc752249ebcef Author:Joerg Roedel AuthorDate:Fri, 12 Mar 2021 13:38:22 +01:00

[tip:timers/core] BUILD SUCCESS 44511ab344c755d1f216bf421e92fbc2777e87fe

2021-03-18 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20210318 i386 randconfig-a005-20210318 i386

[tip:x86/misc] BUILD SUCCESS f281854fa743f3474b2d0d69533301f48cf0e184

2021-03-18 Thread kernel test robot
allmodconfig powerpc allnoconfig i386 randconfig-a001-20210318 i386 randconfig-a005-20210318 i386 randconfig-a003-20210318 i386 randconfig-a002-20210318 i386 randconfig-a006-20210318 i386

[PATCH v2] drm/nouveau/kms/nv50-: Correct size checks for cursors

2021-03-18 Thread Lyude Paul
Found this while trying to make some changes to the kms_cursor_crc test. curs507a_acquire checks that the width and height of the cursor framebuffer are equal (asyw->image.{w,h}). This isn't entirely correct though, as the height of the cursor can be larger than the size of the cursor, as long as

Re: [PATCH v30 07/12] landlock: Support filesystem access-control

2021-03-18 Thread James Morris
> This commit adds a minimal set of supported filesystem access-control > which doesn't enable to restrict all file-related actions. It would be great to get some more review/acks on this patch, particularly from VFS/FS folk. -- James Morris

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

2021-03-18 Thread Stephen Rothwell
Hi all, Commit c2c6c067c050 ("io_uring: remove structures from include/linux/io_uring.h") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgppGfflW2SsR.pgp Description: OpenPGP digital signature

Re: [PATCH 4/4] kbuild: include Makefile.compiler only when compiler is required

2021-03-18 Thread Masahiro Yamada
(CC: Will and ARM ML) On Fri, Mar 19, 2021 at 6:14 AM Nathan Chancellor wrote: > > On Sun, Feb 28, 2021 at 03:10:28PM +0900, Masahiro Yamada wrote: > > Since commit f2f02ebd8f38 ("kbuild: improve cc-option to clean up all > > temporary files"), running 'make kernelversion' in a read-only source

Re: [PATCH 2/2] drivers/clocksource/mediatek: Ack and disable interrupts on shutdown

2021-03-18 Thread Evan Benn
Hello, There is a suspend failure on mt8173 chromebooks that use this timer. The failure shows as an errno: -95 failure with none device. I tracked this down to the arm trusted firmware aborting the suspend due to this timer having a pending IRQ, due to not being disabled during suspend /

Re: [PATCH v4 01/25] mm: Introduce struct folio

2021-03-18 Thread Balbir Singh
On Fri, Mar 05, 2021 at 04:18:37AM +, Matthew Wilcox (Oracle) wrote: > A struct folio refers to an entire (possibly compound) page. A function > which takes a struct folio argument declares that it will operate on the > entire compound page, not just PAGE_SIZE bytes. In return, the caller >

[PATCH v7 07/17] media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS

2021-03-18 Thread Ricardo Ribalda
Create all the class controls for the device defined controls. Fixes v4l2-compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(216): missing control class for class 0098 fail: v4l2-test-controls.cpp(216): missing control tclass for class

[PATCH v7 12/17] media: uvcvideo: Check controls flags before accessing them

2021-03-18 Thread Ricardo Ribalda
We can figure out if reading/writing a set of controls can fail without accessing them by checking their flags. This way we can honor the API closer: If an error is found when validating the list of controls passed with VIDIOC_G_EXT_CTRLS, then error_idx shall be set to ctrls->count to indicate

[PATCH v7 10/17] media: uvcvideo: Increase the size of UVC_METADATA_BUF_SIZE

2021-03-18 Thread Ricardo Ribalda
Hans has discovered that in his test device, for the H264 format bytesused goes up to about 570, for YUYV it will actually go up to a bit over 5000 bytes, and for MJPG up to about 2706 bytes. We should also, according to V4L2_META_FMT_UVC docs, drop headers when the buffer is full. Credit-to:

[PATCH v7 09/17] media: uvcvideo: Set unique vdev name based in type

2021-03-18 Thread Ricardo Ribalda
All the entities must have a unique name. We can have a descriptive and unique name by appending the function and the entity->id. This is even resilent to multi chain devices. Fixes v4l2-compliance: Media Controller ioctls: fail: v4l2-test-media.cpp(205):

[PATCH v7 11/17] media: uvcvideo: Use control names from framework

2021-03-18 Thread Ricardo Ribalda
The framework already contains a map of IDs to names, lets use it when possible. Signed-off-by: Ricardo Ribalda Reviewed-by: Hans Verkuil Suggested-by: Hans Verkuil --- drivers/media/usb/uvc/uvc_ctrl.c | 57 drivers/media/usb/uvc/uvc_v4l2.c | 8 -

[PATCH v7 14/17] media: docs: Document the behaviour of uvcdriver

2021-03-18 Thread Ricardo Ribalda
The uvc driver relies on the camera firmware to keep the control states and therefore is not capable of changing an inactive control. Allow returning -EACESS in those cases. Signed-off-by: Ricardo Ribalda --- Documentation/userspace-api/media/v4l/vidioc-g-ctrl.rst | 5 +

[PATCH v7 15/17] media: uvcvideo: Refactor __uvc_ctrl_commit

2021-03-18 Thread Ricardo Ribalda
Take a v4l2_ext_controls instead of an array of controls, this way we can access the error_idx in future changes. Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 5 ++--- drivers/media/usb/uvc/uvc_v4l2.c | 8 ++-- drivers/media/usb/uvc/uvcvideo.h | 10 -- 3

[PATCH v7 13/17] media: uvcvideo: Return -EACCES to inactive controls

2021-03-18 Thread Ricardo Ribalda
If a control is inactive return -EACCES to let the userspace know that the value will not be applied automatically when the control is active again. Reviewed-by: Hans Verkuil Suggested-by: Hans Verkuil Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 68

[PATCH v7 17/17] uvc: use vb2 ioctl and fop helpers

2021-03-18 Thread Ricardo Ribalda
From: Hans Verkuil When uvc was written the vb2 ioctl and file operation helpers didn't exist. This patch switches uvc over to those helpers, which removes a lot of boilerplate code and simplifies VIDIOC_G/S_PRIORITY handling and allows us to drop the 'privileges' scheme, since that's now

[PATCH v7 16/17] media: uvcvideo: Set error_idx during ctrl_commit errors

2021-03-18 Thread Ricardo Ribalda
If we have an error setting a control, return the affected control in the error_idx field. Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 37 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_ctrl.c

[PATCH v7 08/17] media: uvcvideo: Use dev->name for querycap()

2021-03-18 Thread Ricardo Ribalda
Use the device name for the card name instead of vdev->name. Signed-off-by: Hans Verkuil Suggested-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_metadata.c | 2 +- drivers/media/usb/uvc/uvc_v4l2.c | 3 +-- 2 files changed, 2 insertions(+), 3

Re: [RFC PATCH] devres: better type safety with devm_*_action()

2021-03-18 Thread Rasmus Villemoes
On 10/03/2021 00.59, Rasmus Villemoes wrote: [quoting in full for context to the new CCs] > With a little MacroMagic(tm), we can allow users to pass a pointer to > a function that actually takes the type of the data argument, instead > of forcing the function to have prototype void (*)(void *).

Re: seccomp: Delay filter activation

2021-03-18 Thread Sargun Dhillon
On Thu, Mar 18, 2021 at 03:54:54PM +0100, Christian Brauner wrote: > Sorry, I just found that mail. > > On Mon, Mar 01, 2021 at 03:44:06PM -0800, Kees Cook wrote: > > On Mon, Mar 01, 2021 at 02:21:56PM +0100, Christian Brauner wrote: > > > On Mon, Mar 01, 2021 at 12:09:09PM +0100, Christian

Re: [PATCH net-next v1 2/3] net: phy: mscc: improved serdes calibration applied to VSC8584

2021-03-18 Thread Andrew Lunn
On Thu, Mar 18, 2021 at 01:38:50PM +0100, Bjarni Jonasson wrote: > -static int vsc8584_config_init(struct phy_device *phydev) > +static int vsc8584_config_host_serdes(struct phy_device *phydev) > { > - struct vsc8531_private *vsc8531 = phydev->priv; > - int ret, i; > + int ret; >

Re: [PATCH v3 1/2] audit: document /proc/PID/loginuid

2021-03-18 Thread Paul Moore
On Thu, Mar 18, 2021 at 3:19 PM Richard Guy Briggs wrote: > > Describe the /proc/PID/loginuid interface in Documentation/ABI/stable that > was added 2005-02-01 by commit 1e2d1492e178 ("[PATCH] audit: handle > loginuid through proc") > > Signed-off-by: Richard Guy Briggs > --- >

Re: [PATCH v3 2/2] audit: document /proc/PID/sessionid

2021-03-18 Thread Paul Moore
On Thu, Mar 18, 2021 at 3:19 PM Richard Guy Briggs wrote: > > Describe the /proc/PID/loginuid interface in Documentation/ABI/stable that > was added 2008-03-13 in commit 1e0bd7550ea9 ("[PATCH] export sessionid > alongside the loginuid in procfs") > > Signed-off-by: Richard Guy Briggs > --- >

Re: [PATCH v2 1/3] perf-stat: introduce bperf, share hardware PMCs with BPF

2021-03-18 Thread Jiri Olsa
On Tue, Mar 16, 2021 at 02:18:35PM -0700, Song Liu wrote: > perf uses performance monitoring counters (PMCs) to monitor system > performance. The PMCs are limited hardware resources. For example, > Intel CPUs have 3x fixed PMCs and 4x programmable PMCs per cpu. > > Modern data center systems use

Re: [PATCH v10 3/8] drivers: thermal: tsens: Convert msm8960 to reg_field

2021-03-18 Thread Thara Gopinath
On 2/17/21 2:40 PM, Ansuel Smith wrote: Convert msm9860 driver to reg_field to use the init_common function. Hi! Now that you have done this, you should clean up the unused bitmasks/offsets etc in tsens-8960.c file as well as a separate patch. I only see the need to maintain

Re: [PATCH v10 1/8] drivers: thermal: tsens: Add VER_0 tsens version

2021-03-18 Thread Thara Gopinath
Hi Ansuel! Apologies for delay in the review.. This particular patch throws checkpatch check warnings. Please run checkpatch.pl --strict and fix them. Rest of the comments below On 2/17/21 2:40 PM, Ansuel Smith wrote: VER_0 is used to describe device based on tsens version before v0.1. These

Re: [PATCH v10 4/8] drivers: thermal: tsens: Use init_common for msm8960

2021-03-18 Thread Thara Gopinath
On 2/17/21 2:40 PM, Ansuel Smith wrote: Use init_common and drop custom init for msm8960. Signed-off-by: Ansuel Smith Reviewed-by: Thara Gopinath Warm Regards Thara --- > drivers/thermal/qcom/tsens-8960.c | 52 +-- 1 file changed, 1 insertion(+), 51

Re: [PATCH v10 2/8] drivers: thermal: tsens: Don't hardcode sensor slope

2021-03-18 Thread Thara Gopinath
On 2/17/21 2:40 PM, Ansuel Smith wrote: Function compute_intercept_slope hardcode the sensor slope to SLOPE_DEFAULT. Change this and use the default value only if a slope is not defined. This is needed for tsens VER_0 that has a hardcoded slope table. Signed-off-by: Ansuel Smith

Re: [PATCH v10 5/8] drivers: thermal: tsens: Fix bug in sensor enable for msm8960

2021-03-18 Thread Thara Gopinath
On 2/17/21 2:40 PM, Ansuel Smith wrote: It's present a hardware bug in tsens VER_0 where if sensors upper to id 6 are enabled selectively, underfined results are expected. Fix this by enabling all the remaining sensor in one step. It took me a while to understand this. It is most likely

Re: [PATCH RESEND V12 2/8] fuse: 32-bit user space ioctl compat for fuse device

2021-03-18 Thread Arnd Bergmann
On Thu, Mar 18, 2021 at 5:13 PM Alessio Balsini wrote: > On Tue, Mar 16, 2021 at 07:53:06PM +0100, Arnd Bergmann wrote: > > On Mon, Jan 25, 2021 at 4:48 PM Alessio Balsini wrote: > > > > > Thanks for spotting this possible criticality. > > I noticed that 32-bit users pace was unable to use the >

Re: [PATCH v10 6/8] drivers: thermal: tsens: Use get_temp_common for msm8960

2021-03-18 Thread Thara Gopinath
On 2/17/21 2:40 PM, Ansuel Smith wrote: Rework calibrate function to use common function. Derive the offset from a missing hardcoded slope table and the data from the nvmem calib efuses. You are also changing get_temp to use get_temp_common instead of get_temp_8960 in this patch. Please

[RFC][PATCH] sched: Optimize cpufreq_update_util

2021-03-18 Thread Peter Zijlstra
Hi, The below replaces cpufreq_update_util()'s indirect call with a static_call(). The patch is quite gross, and we definitely need static_call_update_cpuslocked(). cpufreq folks, is there a better way to do that optimize pass? That is, we need to know when all CPUs have the *same* function

Re: [PATCH v2] gpio: pl061: Support implementations without GPIOINTR line

2021-03-18 Thread kernel test robot
Hi Alexander, I love your patch! Perhaps something to improve: [auto build test WARNING on gpio/for-next] [also build test WARNING on v5.12-rc3 next-20210318] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

[PATCH] mailmap: update Andrey Konovalov's email address

2021-03-18 Thread Andrey Konovalov
Use my personal email, the @google.com one will stop functioning soon. Signed-off-by: Andrey Konovalov --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 85b93cdefc87..11219fa3b62b 100644 --- a/.mailmap +++ b/.mailmap @@ -36,6 +36,7 @@ Andrew Morton

[PATCH] mm/highmem: Fix CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP

2021-03-18 Thread ira . weiny
From: Ira Weiny The kernel test robot found that __kmap_local_sched_out() was not correctly skipping the guard pages when CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP was set.[1] This was due to CONFIG_DEBUG_HIGHMEM check being used. Change the configuration check to be correct. [1]

Re: [PATCH] hwmon: add driver for NZXT Kraken X42/X52/X62/X72

2021-03-18 Thread Jonas Malaco
On Thu, Mar 18, 2021 at 11:55:39AM -0700, Guenter Roeck wrote: > On 3/18/21 9:48 AM, Jonas Malaco wrote: > > These are "all-in-one" CPU liquid coolers that can be monitored and > > controlled through a proprietary USB HID protocol. > > > > While the models have differently sized radiators and

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

2021-03-18 Thread Jens Axboe
On 3/18/21 5:16 PM, Stephen Rothwell wrote: > Hi all, > > Commit > > c2c6c067c050 ("io_uring: remove structures from include/linux/io_uring.h") > > is missing a Signed-off-by from its author. Stefan, let me know if you're OK with me adding that, not sure how I missed that. -- Jens Axboe

[PATCH] selftests: net: forwarding: Fix a typo

2021-03-18 Thread Bhaskar Chowdhury
s/verfied/verified/ Signed-off-by: Bhaskar Chowdhury --- tools/testing/selftests/net/forwarding/fib_offload_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/forwarding/fib_offload_lib.sh

Re: [PATCH] audit: log nftables configuration change events once per table

2021-03-18 Thread Phil Sutter
Hi, On Thu, Mar 18, 2021 at 11:39:52AM -0400, Richard Guy Briggs wrote: > Reduce logging of nftables events to a level similar to iptables. > Restore the table field to list the table, adding the generation. This looks much better, a few remarks below: [...] > +static const u8 nft2audit_op[] =

Re: [PATCH 3/3] KVM: SVM: allow to intercept all exceptions for debug

2021-03-18 Thread Maxim Levitsky
On Thu, 2021-03-18 at 16:35 +, Sean Christopherson wrote: > On Thu, Mar 18, 2021, Joerg Roedel wrote: > > On Thu, Mar 18, 2021 at 11:24:25AM +0200, Maxim Levitsky wrote: > > > But again this is a debug feature, and it is intended to allow the user > > > to shoot himself in the foot. > > > >

[PATCH] hwmon: add driver for NZXT Kraken X42/X52/X62/X72

2021-03-18 Thread Jonas Malaco
These are "all-in-one" CPU liquid coolers that can be monitored and controlled through a proprietary USB HID protocol. While the models have differently sized radiators and come with varying numbers of fans, they are all indistinguishable at the software level. The driver exposes fan/pump speeds

Re: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22

2021-03-18 Thread Heiner Kallweit
On 18.03.2021 17:02, Florian Fainelli wrote: > > > On 3/18/2021 6:25 AM, Heiner Kallweit wrote: >> On 18.03.2021 10:09, Wong Vee Khee wrote: >>> When using Clause-22 to probe for PHY devices such as the Marvell >>> 88E2110, PHY ID with value 0 is read from the MII PHYID registers >>> which

Re: [PATCH 0/5] qcom: wcnss: Allow overriding firmware form DT

2021-03-18 Thread Vinod Koul
On 11-03-21, 16:33, Bjorn Andersson wrote: > The wireless subsystem found in Qualcomm MSM8974 and MSM8916 among others > needs > platform-, and perhaps even board-, specific firmware. Add support for > providing this in devicetree. Reviewed-by: Vinod Koul -- ~Vinod

Re: [PATCHv5 1/7] firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0

2021-03-18 Thread Moritz Fischer
On Mon, Feb 15, 2021 at 06:32:16AM -0800, Tom Rix wrote: > > On 2/15/21 6:41 AM, Richard Gong wrote: > > Hi Tom, > > > > On 2/13/21 9:44 AM, Tom Rix wrote: > >> > >> On 2/9/21 2:20 PM, richard.g...@linux.intel.com wrote: > >>> From: Richard Gong > >>> > >>> Clean up COMMAND_RECONFIG_FLAG_PARTIAL

Re: [PATCH net-next] net: phy: at803x: remove at803x_aneg_done()

2021-03-18 Thread Heiner Kallweit
On 18.03.2021 18:04, Vladimir Oltean wrote: > On Thu, Mar 18, 2021 at 05:38:13PM +0100, Michael Walle wrote: >> Am 2021-03-18 17:21, schrieb Heiner Kallweit: >>> On 18.03.2021 16:17, Vladimir Oltean wrote: On Thu, Mar 18, 2021 at 03:54:00PM +0100, Heiner Kallweit wrote: > On 18.03.2021

Re: [PATCH tip/core/rcu 1/3] rcu: Provide polling interfaces for Tree RCU grace periods

2021-03-18 Thread Paul E. McKenney
On Thu, Mar 18, 2021 at 03:59:52PM +0100, Frederic Weisbecker wrote: > On Tue, Mar 16, 2021 at 09:51:01AM -0700, Paul E. McKenney wrote: > > On Tue, Mar 16, 2021 at 04:17:50PM +0100, Frederic Weisbecker wrote: > > > On Wed, Mar 03, 2021 at 04:26:30PM -0800, paul...@kernel.org wrote: > > > > +/** >

Re: [drm/i915/dp] 4a8d79901d: WARNING:at_drivers/gpu/drm/i915/display/intel_display_power.c:#assert_can_disable_lcpll[i915]

2021-03-18 Thread Lyude Paul
Well this is surprising, because I had been pretty sure we had asked someone at Intel to test that this patch worked on samus and they had said that it did. Is there any way you can get me the kernel messages from this failure with drm.debug=0x16 log_buf_len=5M added to the kernel commandline?

[PATCH] powerpc/embedded6xx: Remove CONFIG_MV64X60

2021-03-18 Thread Christophe Leroy
Commit 92c8c16f3457 ("powerpc/embedded6xx: Remove C2K board support") moved the last selector of CONFIG_MV64X60. As it is not a user selectable config, it can be removed. Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/embedded6xx/Kconfig | 5 - drivers/i2c/busses/Kconfig

[PATCH] watchdog: Remove MV64x60 watchdog driver

2021-03-18 Thread Christophe Leroy
Commit 92c8c16f3457 ("powerpc/embedded6xx: Remove C2K board support") removed the last selector of CONFIG_MV64X60. Therefore CONFIG_MV64X60_WDT cannot be selected anymore and can be removed. Signed-off-by: Christophe Leroy --- drivers/watchdog/Kconfig | 4 - drivers/watchdog/Makefile

[PATCH] net: marvell: Remove reference to CONFIG_MV64X60

2021-03-18 Thread Christophe Leroy
Commit 92c8c16f3457 ("powerpc/embedded6xx: Remove C2K board support") removed last selector of CONFIG_MV64X60. As it is not a user selectable config item, all references to it are stale. Remove them. Signed-off-by: Christophe Leroy --- drivers/net/ethernet/marvell/Kconfig | 4 ++--

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

2021-03-18 Thread Amey Narkhede
On 21/03/18 07:35PM, Leon Romanovsky wrote: > On Thu, Mar 18, 2021 at 10:31:43PM +0530, Amey Narkhede wrote: > > On 21/03/18 04:57PM, Leon Romanovsky wrote: > > > On Thu, Mar 18, 2021 at 07:52:52PM +0530, Amey Narkhede wrote: > > > > On 21/03/18 11:09AM, Leon Romanovsky wrote: > > > > > On Wed,

[PATCH 1/1] powerpc/kernel/iommu: Align size for IOMMU_PAGE_SIZE() to save TCEs

2021-03-18 Thread Leonardo Bras
Currently both iommu_alloc_coherent() and iommu_free_coherent() align the desired allocation size to PAGE_SIZE, and gets system pages and IOMMU mappings (TCEs) for that value. When IOMMU_PAGE_SIZE < PAGE_SIZE, this behavior may cause unnecessary TCEs to be created for mapping the whole system

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

2021-03-18 Thread Oleg Nesterov
On 03/18, qianli zhao wrote: > > Hi,Oleg > > Thank you for your reply. > > >> When init sub-threads running on different CPUs exit at the same time, > >> zap_pid_ns_processe()->BUG() may be happened. > > > and why do you think your patch can't prevent this? > > > Sorry, I must have missed

Re: [PATCH] PM: devfreq: Couple of typo fixes

2021-03-18 Thread Randy Dunlap
On 3/18/21 4:20 AM, Bhaskar Chowdhury wrote: > > s/stoping/stopping/ > s/opeations/operations/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/devfreq/devfreq-event.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: linux-next: manual merge of the akpm-current tree with the block tree

2021-03-18 Thread Jens Axboe
On 3/18/21 11:54 AM, Shakeel Butt wrote: > On Wed, Mar 17, 2021 at 11:17 PM Stephen Rothwell > wrote: >> >> Hi all, >> >> Today's linux-next merge of the akpm-current tree got a conflict in: >> >> mm/memcontrol.c >> >> between commit: >> >> 06d69d4c8669 ("mm: Charge active memcg when no mm

Re: [PATCH] mm: Few spelling fixes

2021-03-18 Thread Randy Dunlap
On 3/17/21 11:58 PM, Bhaskar Chowdhury wrote: > > Few spelling fixes throughout the file. > > Signed-off-by: Bhaskar Chowdhury > --- > include/linux/pgtable.h | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h

Re: [PATCH] ethernet: sun: Fix a typo

2021-03-18 Thread Randy Dunlap
On 3/17/21 11:02 PM, Bhaskar Chowdhury wrote: > > s/serisouly/seriously/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/net/ethernet/sun/sungem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/sun/sungem.c >

Re: [PATCH 2/2] arm64: stacktrace: Add skip when task == current

2021-03-18 Thread Catalin Marinas
On Thu, Mar 18, 2021 at 05:12:07PM +, Mark Rutland wrote: > On Thu, Mar 18, 2021 at 04:17:24PM +, Catalin Marinas wrote: > > On Wed, Mar 17, 2021 at 07:34:16PM +, Mark Rutland wrote: > > > On Wed, Mar 17, 2021 at 06:36:36PM +, Catalin Marinas wrote: > > > > On Wed, Mar 17, 2021 at

Re: [PATCH] docs: devicetree: bindings: sound: Fix a typo in the file rt5682.txt

2021-03-18 Thread Mark Brown
On Sun, 14 Mar 2021 04:48:50 +0530, Bhaskar Chowdhury wrote: > s/drving/driving/ Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] docs: devicetree: bindings: sound: Fix a typo in the file rt5682.txt commit:

Re: [PATCH v2 10/17] lkdtm: use __va_function

2021-03-18 Thread Nick Desaulniers
On Thu, Mar 18, 2021 at 10:11 AM Sami Tolvanen wrote: > > To ensure we take the actual address of a function in kernel text, use > __va_function. Otherwise, with CONFIG_CFI_CLANG, the compiler replaces > the address with a pointer to the CFI jump table, which is actually in > the module when

Re: [PATCH] powercap: Add Hygon Fam18h RAPL support

2021-03-18 Thread Rafael J. Wysocki
On Tue, Mar 2, 2021 at 3:05 AM Pu Wen wrote: > > Enable Hygon Fam18h RAPL support for the power capping framework. > > Signed-off-by: Pu Wen > --- > drivers/powercap/intel_rapl_common.c | 1 + > drivers/powercap/intel_rapl_msr.c| 1 + > 2 files changed, 2 insertions(+) > > diff --git

[PATCH v2] gpio: pl061: Support implementations without GPIOINTR line

2021-03-18 Thread Alexander A Sverdlin
From: Alexander Sverdlin There are several implementations of PL061 which lack GPIOINTR signal in hardware and only have individual GPIOMIS[7:0] interrupts. Use the hierarchical interrupt support of the gpiolib in these cases (if at least 8 IRQs are configured for the PL061). One in-tree

Re: AHCI SATA Runtime PM

2021-03-18 Thread Enrico Weigelt, metux IT consult
On 04.03.21 16:34, Alexander Monakov wrote: I have a laptop where two unused AHCI SATA controllers are present (but obviously nothing can be hotplugged into them). Apparently due to the above, they do not enter runtime autosuspend. if nothing ever can connect to them, shouldn't they be power

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

2021-03-18 Thread Eric W. Biederman
Oleg Nesterov writes: > On 03/18, qianli zhao wrote: >> >> Hi,Oleg >> >> Thank you for your reply. >> >> >> When init sub-threads running on different CPUs exit at the same time, >> >> zap_pid_ns_processe()->BUG() may be happened. >> >> > and why do you think your patch can't prevent this? >> >>

Re: [PATCH][next] loop: Fix missing max_active argument in alloc_workqueue call

2021-03-18 Thread Muhammad Usama Anjum
On Thu, 2021-03-18 at 15:16 +, Colin King wrote: > From: Colin Ian King > > The 3rd argument to alloc_workqueue should be the max_active count, > however currently it is the lo->lo_number that is intended for the > loop%d number. Fix this by adding in the missing max_active count. > >

Re: [PATCH 1/2] x86/sgx: Replace section->init_laundry_list with sgx_dirty_page_list

2021-03-18 Thread Jarkko Sakkinen
On Thu, Mar 18, 2021 at 08:01:38PM +0100, Borislav Petkov wrote: > On Thu, Mar 18, 2021 at 11:34:10AM -0700, Dave Hansen wrote: > > I usually get that after I reboot. I have to do this: > > > > chmod 755 /dev/sgx_enclave > > mount -o remount,exec /dev > > Yap, that did it: > >

Re: [PATCH v3] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu onlining

2021-03-18 Thread Daniel Jordan
Alexey Klimov writes: > When a CPU offlined and onlined via device_offline() and device_online() > the userspace gets uevent notification. If, after receiving "online" uevent, > userspace executes sched_setaffinity() on some task trying to move it > to a recently onlined CPU, then it sometimes

Re: [PATCH] swiotlb: Add swiotlb=off to disable SWIOTLB

2021-03-18 Thread Florian Fainelli
On 3/18/2021 12:34 PM, Robin Murphy wrote: > On 2021-03-18 19:22, Florian Fainelli wrote: >> >> >> On 3/18/2021 12:18 PM, Florian Fainelli wrote: >>> It may be useful to disable the SWIOTLB completely for testing or when a >>> platform is known not to have any DRAM addressing limitations what

[PATCH v3 0/6] phy: qcom-qmp: provide DP phy support for sm8250

2021-03-18 Thread Dmitry Baryshkov
Changes since v2: - Drop unused qmp_v4_usb3_rx_tbl Changes since v1: - Provide dt bindings - Split register renaming from sm8250-dp-phy patch - Add respective changes to sm8250 device tree The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2

[PATCH v3 1/6] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SM8250

2021-03-18 Thread Dmitry Baryshkov
Add compatible for SM8250 in QMP USB3 DP PHY bindings. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 - Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v3 3/6] phy: qcom-qmp: rename common registers

2021-03-18 Thread Dmitry Baryshkov
A plenty of DP PHY registers are common between V3 and V4. To simplify V4 code, rename all common registers. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 50 ++--- drivers/phy/qualcomm/phy-qcom-qmp.h | 37 ++--- 2 files

[PATCH v3 2/6] phy: qcom-qmp: move DP functions to callbacks

2021-03-18 Thread Dmitry Baryshkov
In preparation to adding support for V4 DP PHY move DP functions to callbacks at struct qmp_phy_cfg. Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 438 +++- 1 file changed, 231 insertions(+), 207 deletions(-) diff --git

[PATCH v3 4/6] phy: qcom-qmp: add support for sm8250-usb3-dp phy

2021-03-18 Thread Dmitry Baryshkov
Add support for QMP V4 Combo USB3+DP PHY (for SM8250 platform). Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp.c | 388 ++-- drivers/phy/qualcomm/phy-qcom-qmp.h | 40 ++- 2 files changed, 406 insertions(+), 22 deletions(-) diff --git

[PATCH v3 5/6] arm64: dts: qcom: sm8250: switch usb1 qmp phy to USB3+DP mode

2021-03-18 Thread Dmitry Baryshkov
USB1 QMP PHY is not just a USB3 PHY, but USB3+DP PHY. Change device tree nodes accordingly. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi

[PATCH v3 6/6] arm64: dts: qcom: use dp_phy to provide clocks to dispcc

2021-03-18 Thread Dmitry Baryshkov
Plug dp_phy-provided clocks to display clock controller. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index

Fix bug for Ingenic X1000.

2021-03-18 Thread Zhou Yanjie
For SoCs after X1000, only send "X1000_I2C_DC_STOP" when last byte, or it will cause error when I2C write operation. 周琰杰 (Zhou Yanjie) (1): I2C: JZ4780: Fix bug for Ingenic X1000. drivers/i2c/busses/i2c-jz4780.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.7.4

[PATCH] I2C: JZ4780: Fix bug for Ingenic X1000.

2021-03-18 Thread Zhou Yanjie
Only send "X1000_I2C_DC_STOP" when last byte, or it will cause error when I2C write operation. Fixes: 21575a7a8d4c ("I2C: JZ4780: Add support for the X1000.") Signed-off-by: 周琰杰 (Zhou Yanjie) --- drivers/i2c/busses/i2c-jz4780.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

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

2021-03-18 Thread Alex Williamson
On Thu, 18 Mar 2021 11:09:34 +0200 Leon Romanovsky wrote: > On Wed, Mar 17, 2021 at 11:31:40AM -0600, Alex Williamson wrote: > > On Wed, 17 Mar 2021 15:58:40 +0200 > > Leon Romanovsky wrote: > > > > > On Wed, Mar 17, 2021 at 06:47:18PM +0530, Amey Narkhede wrote: > > > > On 21/03/17

<    4   5   6   7   8   9   10   11   12   13   >