Re: next/master bisection: baseline.login on kontron-kbox-a-230-ls

2021-03-16 Thread Guillaume Tucker
] kernel BUG at arch/arm64/kernel/traps.c:406! Full log: https://storage.kernelci.org/next/master/next-20210316/arm64/defconfig/gcc-8/lab-kontron/baseline-kontron-kbox-a-230-ls.html The issue can be reproduced with a plain arm64 defconfig, and doesn't seem to be impacting other platforms

Re: [PATCHv2 2/3] media: uvcvideo: add ROI auto controls

2021-03-16 Thread Ricardo Ribalda Delgado
Hi Sergey Thanks for the patch On Mon, Feb 8, 2021 at 6:24 AM Sergey Senozhatsky wrote: > > From: Sergey Senozhatsky > > This patch adds support for Region of Interest bmAutoControls. > > ROI control is a compound data type: > Control Selector CT_REGION_OF_INTEREST_CONTROL > Mandatory

Re: [PATCH] hpsa: fix boot on ia64 (atomic_t alignment)

2021-03-16 Thread Arnd Bergmann
On Tue, Mar 16, 2021 at 6:12 PM wrote: > drivers/scsi/hpsa_cmd.h | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h index > d126bb877250..617bdae9a7de 100644 > --- a/drivers/scsi/hpsa_cmd.h > +++

[PATCH] drm/rockchip: Cope with endpoints that haven't been registered yet

2021-03-16 Thread Jonathan McDowell
The Rockchip RGB CRTC output driver attempts to avoid probing Rockchip subdrivers to see if they're a connected panel or bridge. However part of its checks assumes that if no OF platform device is found then it can't be a valid bridge or panel. This causes issues with I2C controlled bridges that

Re: [PATCH v3 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-16 Thread Minchan Kim
On Fri, Mar 12, 2021 at 09:17:23AM -0800, Minchan Kim wrote: > On Fri, Mar 12, 2021 at 10:33:48AM +0100, David Hildenbrand wrote: > > On 12.03.21 10:03, David Hildenbrand wrote: > > > On 10.03.21 17:14, Minchan Kim wrote: > > > > ffer_head LRU caches will be pinned and thus cannot be migrated. > >

Re: [PATCH v7 5/6] x86/signal: Detect and prevent an alternate signal stack overflow

2021-03-16 Thread Bae, Chang Seok
On Mar 16, 2021, at 04:52, Borislav Petkov wrote: > On Mon, Mar 15, 2021 at 11:52:14PM -0700, Chang S. Bae wrote: >> @@ -272,7 +275,8 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs >> *regs, size_t frame_size, >> * If we are on the alternate signal stack and would overflow it,

Re: [PATCH RESEND v4 0/4] x86: fix get_nr_restart_syscall()

2021-03-16 Thread Thomas Gleixner
On Tue, Mar 16 2021 at 19:10, Oleg Nesterov wrote: > On 02/04, Oleg Nesterov wrote: >> >> It seems that nobody objects, >> >> Andrew, Andy, Thomas, how do you think this series should be routed? > > ping... > > What can I do to finally get this merged? > > Should I resend once again? Whom? I'll

Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-16 Thread Michael Walle
Am 2021-03-16 19:06, schrieb Pratyush Yadav: On 16/03/21 06:45PM, Michael Walle wrote: Am 2021-03-15 19:30, schrieb Pratyush Yadav: .. > > +patternProperties: > > + "@[0-9a-f]+": Shouldn't this be "^.*@[0-9a-f]+$"? The pattern has to match _anywhere_ in the string so both should match the

Re: [PATCHv2 1/3] media: v4l UAPI docs: document ROI selection targets

2021-03-16 Thread Ricardo Ribalda Delgado
Hi Sergey Thanks for the patch! On Mon, Feb 8, 2021 at 6:21 AM Sergey Senozhatsky wrote: > > From: Sergey Senozhatsky > > Document new v4l2-selection target which will be used for the > Region of Interest v4l2 control. > > Signed-off-by: Sergey Senozhatsky > --- >

Re: [PATCH] net: mdio: Alphabetically sort header inclusion

2021-03-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 15 Mar 2021 16:19:05 +0530 you wrote: > Alphabetically sort header inclusion > > Signed-off-by: Calvin Johnson > --- > > drivers/net/mdio/mdio-bcm-unimac.c | 16 +++- >

Re: [PATCH net-next] net: dsa: b53: spi: allow device tree probing

2021-03-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 15 Mar 2021 15:14:23 +0100 you wrote: > Add missing of_match_table to allow device tree probing. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/net/dsa/b53/b53_spi.c | 13 + > 1 file

Re: Issue with kfence and kmemleak

2021-03-16 Thread Catalin Marinas
On Tue, Mar 16, 2021 at 06:30:00PM +0100, Marco Elver wrote: > On Tue, Mar 16, 2021 at 04:42PM +, Luis Henriques wrote: > > This is probably a known issue, but just in case: looks like it's not > > possible to use kmemleak when kfence is enabled: > > > > [0.272136] kmemleak: Cannot insert

Re: linux-next: build warning after merge of the akpm-current tree

2021-03-16 Thread Minchan Kim
On Mon, Mar 15, 2021 at 04:35:22PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the akpm-current tree, today's linux-next build (htmldocs) > produced this warning: > > Documentation/ABI/testing/sysfs-kernel-mm-cma:2: WARNING: Inline interpreted > text or phrase reference

Re: [PATCH] virtiofs: fix memory leak in virtio_fs_probe()

2021-03-16 Thread Vivek Goyal
On Tue, Mar 16, 2021 at 05:02:34PM +, Luis Henriques wrote: > When accidentally passing twice the same tag to qemu, kmemleak ended up > reporting a memory leak in virtiofs. Also, looking at the log I saw the > following error (that's when I realised the duplicated tag): > > virtiofs: probe

Re: [PATCH v3 0/4] Fix RCU warnings in TDP MMU

2021-03-16 Thread Paolo Bonzini
On 16/03/21 00:37, Ben Gardon wrote: The Linux Test Robot found a few RCU warnings in the TDP MMU: https://www.spinics.net/lists/kernel/msg3845500.html https://www.spinics.net/lists/kernel/msg3845521.html Fix these warnings and cleanup a hack in tdp_mmu_iter_cond_resched. Tested by compiling

Re: [RFC v2 2/2] cgroup: sev: Miscellaneous cgroup documentation.

2021-03-16 Thread Jacob Pan
Hi Tejun, On Mon, 15 Mar 2021 22:22:12 -0400, Tejun Heo wrote: > On Mon, Mar 15, 2021 at 06:30:30PM -0700, Jacob Pan wrote: > > I don't know if this is required. I thought utilities such as cgclassify > > need to be supported. > > " cgclassify - move running task(s) to given cgroups " > > If no

Re: [PATCH v5 3/3] misc/pvpanic: add PCI driver

2021-03-16 Thread Greg KH
On Tue, Mar 16, 2021 at 08:02:14PM +0200, Mihai Carabas wrote: > La 16.03.2021 19:29, Greg KH a scris: > > On Tue, Mar 16, 2021 at 07:08:38PM +0200, Mihai Carabas wrote: > > > ..snip.. > > > > > +}; > > > > > +static unsigned int capability = PVPANIC_PANICKED | > > > > > PVPANIC_CRASH_LOADED; > >

Re: [PATCH 2/6] clk: actions: Fix SD clocks factor table on Owl S500 SoC

2021-03-16 Thread Cristian Ciocaltea
Hi Mani, Thanks for reviewing this patch series! On Tue, Mar 16, 2021 at 09:28:45AM +0530, Manivannan Sadhasivam wrote: > On Mon, Mar 08, 2021 at 07:18:27PM +0200, Cristian Ciocaltea wrote: > > Drop the unsupported entries in the factor table used for the SD[0-2] > > clocks definitions on the

Re: [PATCH v2 1/5] hwmon: (max31790) Rework to use regmap

2021-03-16 Thread Václav Kubernát
Hi Guenther, I'm posting v2 of my series on max31790. These are the changes from v1: 1) The driver uses regmap caching instead of local caching. 2) I got rid of the "refactor" patch and also the "pulses" patch. 3) I got rid of unnecessary whitespace changes. 4) fan*_input now returns -ENODATA

Re: [PATCH] net: ethernet: fs-enet: remove casting dma_alloc_coherent

2021-03-16 Thread Christophe Leroy
Le 11/12/2020 à 17:55, David Laight a écrit : From: Christophe Leroy Sent: 11 December 2020 16:43 Le 11/12/2020 à 17:07, David Laight a écrit : From: Christophe Leroy Sent: 11 December 2020 15:22 Le 11/12/2020 à 09:52, Xu Wang a écrit : Remove casting the values returned by

Re: [PATCH RESEND v4 0/4] x86: fix get_nr_restart_syscall()

2021-03-16 Thread Oleg Nesterov
On 02/04, Oleg Nesterov wrote: > > It seems that nobody objects, > > Andrew, Andy, Thomas, how do you think this series should be routed? ping... What can I do to finally get this merged? Should I resend once again? Whom? > On 02/01, Oleg Nesterov wrote: > > > > Somehow I forgot about this

RE: [PATCH v13 00/15] SMMUv3 Nested Stage Setup (IOMMU part)

2021-03-16 Thread Krishna Reddy
> Hi Krishna, > On 3/15/21 7:04 PM, Krishna Reddy wrote: > > Tested-by: Krishna Reddy > > > >> 1) pass the guest stage 1 configuration > > > > Validated Nested SMMUv3 translations for NVMe PCIe device from Guest VM > along with patch series "v11 SMMUv3 Nested Stage Setup (VFIO part)" and > QEMU

Re: [PATCH] mm: cma: Fix potential null dereference on pointer cma

2021-03-16 Thread Minchan Kim
On Tue, Mar 16, 2021 at 10:04:33AM +, Colin King wrote: > From: Colin Ian King > > At the start of the function there is a null pointer check on cma > and then branch to error handling label 'out'. The subsequent call > to cma_sysfs_fail_pages_count dereferences cma, hence there is a >

Re: [RFC] KVM: x86: Support KVM VMs sharing SEV context

2021-03-16 Thread Sean Christopherson
On Tue, Mar 16, 2021, Paolo Bonzini wrote: > On 16/03/21 18:52, Sean Christopherson wrote: > > > I don't > > > know that holding the fd instead of the kvm makes that much better though, > > > are there advantages to that I'm not seeing? > > If there's no kvm pointer, it's much more difficult for

Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-16 Thread Pratyush Yadav
On 16/03/21 06:45PM, Michael Walle wrote: > Am 2021-03-15 19:30, schrieb Pratyush Yadav: > > .. > > > +patternProperties: > > > + "@[0-9a-f]+": > > Shouldn't this be "^.*@[0-9a-f]+$"? The pattern has to match _anywhere_ in the string so both should match the flash node. Your pattern is more

[PATCH v5 10/10] coresight: docs: Add documentation for CoreSight config

2021-03-16 Thread Mike Leach
Adds documentation for the CoreSight System configuration manager. Signed-off-by: Mike Leach Reviewed-by: Mathieu Poirier --- .../trace/coresight/coresight-config.rst | 244 ++ Documentation/trace/coresight/coresight.rst | 16 ++ 2 files changed, 260 insertions(+)

[PATCH v5 09/10] coresight: syscfg: Add initial configfs support

2021-03-16 Thread Mike Leach
Adds configfs subsystem and attributes to the configuration manager to enable the listing of loaded configurations and features. The default values of feature parameters can be accessed and altered from these attributes to affect all installed devices using the feature. Signed-off-by: Mike Leach

[PATCH v5 08/10] coresight: config: Add preloaded configurations

2021-03-16 Thread Mike Leach
Preload set of configurations. This patch creates a small set of preloaded configurations and features that are available immediately after coresight has been initialised. The current set provides a strobing feature for ETMv4, that creates a periodic sampling of trace by switching trace

[PATCH v5 06/10] coresight: etm-perf: Update to activate selected configuration

2021-03-16 Thread Mike Leach
Add calls to activate the selected configuration as perf starts and stops the tracing session. Signed-off-by: Mike Leach Reviewed-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-etm-perf.c | 14 +- drivers/hwtracing/coresight/coresight-etm-perf.h | 2 ++ 2 files

[PATCH v5 05/10] coresight: syscfg: Add API to activate and enable configurations

2021-03-16 Thread Mike Leach
Configurations are first activated, then when any coresight device is enabled, the active configurations are checked and any matching one is enabled. This patch provides the activation / enable API. Signed-off-by: Mike Leach --- .../hwtracing/coresight/coresight-config.h| 2 +

[PATCH v5 04/10] coresight: etm-perf: update to handle configuration selection

2021-03-16 Thread Mike Leach
Loaded coresight configurations are registered in the cs_etm\cs_config sub directory. This extends the etm-perf code to handle these registrations, and the cs_syscfg driver to perform the registration on load. Signed-off-by: Mike Leach --- .../hwtracing/coresight/coresight-config.h| 2 +

[PATCH v5 07/10] coresight: etm4x: Add complex configuration handlers to etmv4

2021-03-16 Thread Mike Leach
Adds in handlers to allow the ETMv4 to use the complex configuration support. Features and configurations can be loaded and selected in the device. Signed-off-by: Mike Leach --- drivers/hwtracing/coresight/Makefile | 3 +- .../hwtracing/coresight/coresight-etm4x-cfg.c | 182

[PATCH v5 02/10] coresight: syscfg: Add registration and feature loading for cs devices

2021-03-16 Thread Mike Leach
API for individual devices to register with the syscfg management system is added. Devices register with matching information, and any features or configurations that match will be loaded into the device. The feature and configuration loading is extended so that on load these are loaded into any

[PATCH v5 03/10] coresight: config: Add configuration and feature generic functions

2021-03-16 Thread Mike Leach
Adds a set of generic support functions that allow devices to set and save features values on the device, and enable and disable configurations. Additional functions for other common operations including feature reset. Signed-off-by: Mike Leach --- drivers/hwtracing/coresight/Makefile

Re: [PATCH] rtc: ds1307: set uie_unsupported if no interrupt is available

2021-03-16 Thread Lukasz Stelmach
It was <2021-03-16 wto 13:32>, when Alexandre Belloni wrote: > On 16/03/2021 13:12:08+0100, Lukasz Stelmach wrote: >> It was <2021-03-15 pon 23:01>, when Alexandre Belloni wrote: >> > Hello, >> > >> > On 05/03/2021 18:44:11+0100, Łukasz Stelmach wrote: >> >> For an RTC without an IRQ assigned

[PATCH v5 01/10] coresight: syscfg: Initial coresight system configuration

2021-03-16 Thread Mike Leach
Creates an system management API to allow complex configurations and features to be programmed into a CoreSight infrastructure. A feature is defined as a programming set for a device or class of devices. A configuration is a set of features across the system that are enabled for a trace session.

[PATCH v5 00/10] CoreSight configuration management; ETM strobing

2021-03-16 Thread Mike Leach
This patchset introduces initial concepts in CoreSight system configuration management support. to allow more detailed and complex programming to be applied to CoreSight systems during trace capture. Configurations consist of 2 elements:- 1) Features - programming combinations for devices,

Re: EDAC list as Trojan Horse distribution ??

2021-03-16 Thread Borislav Petkov
On Tue, Mar 16, 2021 at 06:55:19PM +0100, Hermann Ruckerbauer wrote: > > quite some tiem ago i sent a question to the EDAC list.. > > I never receveived an answer. > >   > > today i got an answer with my original question quoted  and a .zip > > file attached: Nothing new - just the next spammer

Re: [net PATCH 3/9] octeontx2-af: Do not allocate memory for devlink private

2021-03-16 Thread sundeep subbaraya
Hi Jakub, On Tue, Mar 16, 2021 at 10:53 PM Jakub Kicinski wrote: > > On Tue, 16 Mar 2021 14:57:07 +0530 Hariprasad Kelam wrote: > > From: Subbaraya Sundeep > > > > Memory for driver private structure rvu_devlink is > > also allocated during devlink_alloc. Hence use > > the allocated memory by

Re: [PATCH 2/2] futex: Leave the pi lock stealer in a consistent state upon successful fault

2021-03-16 Thread Davidlohr Bueso
On Tue, 16 Mar 2021, Peter Zijlstra wrote: IIRC we made the explicit choice to never loop here. That saves having to worry about getting stuck in in-kernel loops. Userspace triggering the case where the futex goes corrupt is UB, after that we have no obligation for anything to still work. It's

Re: [PATCH] mm: Move mem_init_print_info() into mm_init()

2021-03-16 Thread kernel test robot
Hi Kefeng, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/x86/mm] [also build test ERROR on linus/master v5.12-rc3 next-20210316] [cannot apply to hnaz-linux-mm/master sparc/master sparc-next/master] [If your patch is applied to the wrong git tree, kindly drop

Re: [PATCH 2/3] KVM: x86: guest debug: don't inject interrupts while single stepping

2021-03-16 Thread Maxim Levitsky
On Tue, 2021-03-16 at 18:01 +0100, Jan Kiszka wrote: > On 16.03.21 17:50, Sean Christopherson wrote: > > On Tue, Mar 16, 2021, Maxim Levitsky wrote: > > > On Tue, 2021-03-16 at 16:31 +0100, Jan Kiszka wrote: > > > > Back then, when I was hacking on the gdb-stub and KVM support, the > > > > monitor

Re: [PATCH] MIPS: ralink: define stubs for clk_set_parent to fix compile testing

2021-03-16 Thread John Crispin
On 16.03.21 18:57, Krzysztof Kozlowski wrote: The Ralink MIPS platform does not use Common Clock Framework and does not define certain clock operations leading to compile test failures: /usr/bin/mips-linux-gnu-ld: drivers/usb/phy/phy-tegra-usb.o: in function `tegra_usb_phy_init':

Re: [PATCH v5 3/3] misc/pvpanic: add PCI driver

2021-03-16 Thread Mihai Carabas
La 16.03.2021 19:29, Greg KH a scris: On Tue, Mar 16, 2021 at 07:08:38PM +0200, Mihai Carabas wrote: ..snip.. +}; +static unsigned int capability = PVPANIC_PANICKED | PVPANIC_CRASH_LOADED; +static unsigned int events; + +static ssize_t capability_show(struct device *dev, +

[PATCH v5 08/13] media: uvcvideo: Set unique vdev name based in type

2021-03-16 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 v5 09/13] media: uvcvideo: Increase the size of UVC_METADATA_BUF_SIZE

2021-03-16 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 v5 13/13] uvc: use vb2 ioctl and fop helpers

2021-03-16 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

Re: [PATCH] memblock: fix section mismatch warning again

2021-03-16 Thread Nick Desaulniers
On Tue, Mar 16, 2021 at 10:13 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Commit 34dc2efb39a2 ("memblock: fix section mismatch warning") marked > memblock_bottom_up() and memblock_set_bottom_up() as __init, but they could > be referenced from non-init functions like

[PATCH v5 12/13] media: v4l2-ioctl: Set error_idx to the right value

2021-03-16 Thread Ricardo Ribalda
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 to userspace that no actual hardware was touched. It would have been much nicer of course if error_idx could point to the control index that failed the

Re: [PATCH v4 02/10] coresight: syscfg: Add registration and feature loading for cs devices

2021-03-16 Thread Mike Leach
Hi Suzuki On Thu, 4 Mar 2021 at 10:33, Suzuki K Poulose wrote: > > Hi Mike > > There are some minor comments on the naming scheme of the structures, > which I think might improve the code readability. > > e.g, in general anything that is associated with a csdev could be named > as such csdev_*,

[PATCH v5 11/13] media: uvcvideo: Use control names from framework

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

[PATCH v5 07/13] media: uvcvideo: Use dev->name for querycap()

2021-03-16 Thread Ricardo Ribalda
Use the device name for the card name instead of cap->card. Suggested-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_v4l2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_v4l2.c

[PATCH v5 03/13] media: uvcvideo: Return -EIO for control errors

2021-03-16 Thread Ricardo Ribalda
The device is doing something unspected with the control. Either because the protocol is not properly implemented or there has been a HW error. Fixes v4l2-compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(448): s_ctrl returned an error (22) test

Re: [PATCH 0/2] Do not handle MCLK device clock in simple-card-utils

2021-03-16 Thread Mark Brown
On Mon, 15 Mar 2021 23:01:30 +0530, Sameer Pujar wrote: > With commit 1e30f642cf29 ("ASoC: simple-card-utils: Fix device module clock") > simple-card-utils can control MCLK clock for rate updates or enable/disable. > But this is breaking some platforms where it is expected that codec drivers >

[PATCH v5 10/13] media: uvcvideo: Return -EACCES to inactive controls

2021-03-16 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. Signed-off-by: Ricardo Ribalda Suggested-by: Hans Verkuil --- drivers/media/usb/uvc/uvc_ctrl.c | 17 - 1 file changed, 16

[PATCH v5 06/13] media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS

2021-03-16 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 v5 00/13] uvcvideo: Fix v4l2-compliance errors

2021-03-16 Thread Ricardo Ribalda
v4l2-compliance -m /dev/media0 -a -f Total for uvcvideo device /dev/media0: 8, Succeeded: 6, Failed: 2, Warnings: 0 Total for uvcvideo device /dev/video0: 54, Succeeded: 50, Failed: 4, Warnings: 2 Total for uvcvideo device /dev/video1: 46, Succeeded: 46, Failed: 0, Warnings: 0 Grand Total for

[PATCH v5 04/13] media: uvcvideo: Check controls flags before accessing them

2021-03-16 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

Re: [PATCH] ASoC: wm8962: Relax bit clock divider searching

2021-03-16 Thread Mark Brown
On Wed, 3 Mar 2021 19:21:28 +0800, Shengjiu Wang wrote: > With S20_3LE format case, the sysclk = rate * 384, > the bclk = rate * 20 * 2, there is no proper bclk divider > for 384 / 40, because current condition needs exact match. > So driver fails to configure the clocking: > > wm8962 3-001a:

[PATCH v5 05/13] media: uvcvideo: refactor __uvc_ctrl_add_mapping

2021-03-16 Thread Ricardo Ribalda
Pass the chain instead of the device. We want to keed the reference to the chain that controls belong to. We need to delay the initialization of the controls after the chains have been initialized. This is a cleanup needed for the next patches. Reviewed-by: Laurent Pinchart Signed-off-by:

[PATCH v5 02/13] media: uvcvideo: Set capability in s_param

2021-03-16 Thread Ricardo Ribalda
Fixes v4l2-compliance: Format ioctls (Input 0): warn: v4l2-test-formats.cpp(1339): S_PARM is supported but doesn't report V4L2_CAP_TIMEPERFRAME fail: v4l2-test-formats.cpp(1241): node->has_frmintervals && !cap->capability Reviewed-by: Laurent Pinchart

[PATCH v5 01/13] media: v4l2-ioctl: Fix check_ext_ctrls

2021-03-16 Thread Ricardo Ribalda
Drivers that do not use the ctrl-framework use this function instead. - Return error when handling of REQUEST_VAL. - Do not check for multiple classes when getting the DEF_VAL. Fixes v4l2-compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(813): doioctl(node,

Re: [PATCH v2] ASoC: imx-hdmi: fix platform_no_drv_owner.cocci warnings

2021-03-16 Thread Mark Brown
On Thu, 4 Mar 2021 17:08:01 +0800, Yang Li wrote: > ./sound/soc/fsl/imx-hdmi.c:226:3-8: No need to set .owner here. The core > will do it. > > Remove .owner field if calls are used which set it automatically Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

Re: [PATCH] ASoC: dt-bindings: fsl_spdif: Add compatible string for new platforms

2021-03-16 Thread Mark Brown
On Tue, 16 Mar 2021 16:40:53 +0800, Shengjiu Wang wrote: > Add compatible string for new added platforms which support spdif module. > They are i.MX8QXP, i.MX8MM, i.MX8MN, i.MX8MQ. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC:

Re: [PATCH] ASoC: hdmi-codec: fix platform_no_drv_owner.cocci warnings

2021-03-16 Thread Mark Brown
On Wed, 3 Mar 2021 16:54:11 +0800, Yang Li wrote: > ./sound/soc/fsl/imx-hdmi.c:226:3-8: No need to set .owner here. The core > will do it. > > Remove .owner field if calls are used which set it automatically Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

Re: [PATCH] ASoC: fsl_spdif: use snd_ctl_boolean_mono_info

2021-03-16 Thread Mark Brown
On Tue, 16 Mar 2021 17:42:16 +0800, Shengjiu Wang wrote: > Remove redundant code and use snd_ctl_boolean_mono_info > instead. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: fsl_spdif: use snd_ctl_boolean_mono_info commit:

Re: [PATCH 0/4] spi: Adding support for software nodes

2021-03-16 Thread Mark Brown
On Wed, 3 Mar 2021 18:28:10 +0300, Heikki Krogerus wrote: > The older API used to supply additional device properties for the > devices - so mainly the function device_add_properties() - is going to > be removed. The reason why the API will be removed is because it gives > false impression that

Re: (subset) [PATCH 00/10] Add basic node support for Mediatek MT8195 SoC

2021-03-16 Thread Mark Brown
On Tue, 16 Mar 2021 19:14:33 +0800, Seiya Wang wrote: > MT8195 is a SoC based on 64bit ARMv8 architecture. > It contains 4 CA55 and 4 CA78 cores. > MT8195 share many HW IP with MT65xx series. > This patchset was tested on MT8195 evaluation board to shell. > > Based on v5.12-rc2 > > [...]

Re: [RFC] KVM: x86: Support KVM VMs sharing SEV context

2021-03-16 Thread Paolo Bonzini
On 16/03/21 18:52, Sean Christopherson wrote: I don't know that holding the fd instead of the kvm makes that much better though, are there advantages to that I'm not seeing? If there's no kvm pointer, it's much more difficult for someone to do the wrong thing, and any such shenanigans stick out

[PATCH] MIPS: ralink: define stubs for clk_set_parent to fix compile testing

2021-03-16 Thread Krzysztof Kozlowski
The Ralink MIPS platform does not use Common Clock Framework and does not define certain clock operations leading to compile test failures: /usr/bin/mips-linux-gnu-ld: drivers/usb/phy/phy-tegra-usb.o: in function `tegra_usb_phy_init': phy-tegra-usb.c:(.text+0x1dd4): undefined reference

Re: [PATCH v1, RFC] docs: reporting-issues.rst: tone down 'test vanilla mainline' a little

2021-03-16 Thread Thorsten Leemhuis
On 15.03.21 21:20, Jonathan Corbet wrote: > Thorsten Leemhuis writes: >> Tell users that reporting bugs with vendor kernels which are only >> slightly patched can be okay in some situations, but point out there's a >> risk in doing so. >> >> Adjust some related sections to make them compatible

Re: [PATCH v3 3/4] KVM: x86/mmu: Factor out tdp_iter_return_to_root

2021-03-16 Thread Sean Christopherson
On Mon, Mar 15, 2021, Ben Gardon wrote: > No functional change intended. I want royalties. > Signed-off-by: Ben Gardon > --- Reviewed-by: Sean Christopherson

[PATCH v2 5/5] hwmon: (max31790) Update documentation

2021-03-16 Thread Václav Kubernát
The conditions for fan fault and its connection to the PWM mode are now documented. The pwm_rate_of_change and fan_window are now mentioned. According to our testing with Sunon PF36281BX-000U-S99, these values are crucial in how RPM mode works and how long it takes for the RPM to stabilize. For

[PATCH v2 4/5] hwmon: (max31790) Allow setting fan*_div

2021-03-16 Thread Václav Kubernát
Right now, the divisor (which determines the speed range) is only set when in RPM mode. However, the speed range also affects the input RPM, which means, to get more accurate readings, this speed range needs to be set. Signed-off-by: Václav Kubernát --- Documentation/hwmon/max31790.rst | 1 +

[PATCH v2 2/5] hwmon: (max31790) Fix and split pwm*_enable

2021-03-16 Thread Václav Kubernát
In the old code, pwm*_enable does two things. Firstly, it sets whether the chip should run in PWM or RPM mode. Secondly, it tells the chip whether it should monitor fan RPM. However, these two settings aren't tied together, so they shouldn't be set with a single value. In the new code, fan*_enable

[PATCH v2 3/5] hwmon: (max31790) Show 0 RPM/fault when input disabled

2021-03-16 Thread Václav Kubernát
When fan speed input is disabled, it makes no sense to show values in fan*_input and fan*_fault. Signed-off-by: Václav Kubernát --- drivers/hwmon/max31790.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/hwmon/max31790.c b/drivers/hwmon/max31790.c index

Re: EDAC list as Trojan Horse distribution ??

2021-03-16 Thread Hermann Ruckerbauer
> Hello *, ==> one more time as plain text..  > > > quite some tiem ago i sent a question to the EDAC list.. > I never receveived an answer. >   > today i got an answer with my original question quoted  and a .zip > file attached: > > == > > from: 

[PATCH v2 1/5] hwmon: (max31790) Rework to use regmap

2021-03-16 Thread Václav Kubernát
Converting the driver to use regmap makes it more generic. It also makes it a lot easier to debug through debugfs. Signed-off-by: Václav Kubernát --- drivers/hwmon/Kconfig| 1 + drivers/hwmon/max31790.c | 318 --- 2 files changed, 163 insertions(+), 156

Re: [PATCH v2] task_work: kasan: record task_work_add() call stack

2021-03-16 Thread Oleg Nesterov
On 03/16, Walter Wu wrote: > > --- a/kernel/task_work.c > +++ b/kernel/task_work.c > @@ -34,6 +34,9 @@ int task_work_add(struct task_struct *task, struct > callback_head *work, > { > struct callback_head *head; > > + /* record the work call stack in order to print it in KASAN reports

Re: [PATCH v3 2/4] KVM: x86/mmu: Fix RCU usage when atomically zapping SPTEs

2021-03-16 Thread Sean Christopherson
On Mon, Mar 15, 2021, Ben Gardon wrote: > Fix a missing rcu_dereference in tdp_mmu_zap_spte_atomic. > > Reported-by: kernel test robot > Signed-off-by: Ben Gardon > --- Reviewed-by: Sean Christopherson

Re: [RFC PATCH v2 7/8] dt-bindings: Add bindings documentation for RISC-V idle states

2021-03-16 Thread Rob Herring
On Tue, 16 Mar 2021 16:11:39 +0530, Anup Patel wrote: > The RISC-V CPU idle states will be described in DT under the > /cpus/idle-states DT node. This patch adds the bindings documentation > for riscv-idle-states DT nodes and idle state DT nodes under it. > > Signed-off-by: Anup Patel > --- >

Re: [PATCH v2 1/7] ASoC: dt-bindings: wcd938x: add bindings for wcd938x

2021-03-16 Thread Rob Herring
On Tue, 16 Mar 2021 10:58:22 +, Srinivas Kandagatla wrote: > Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC > connected over SoundWire. This device has two SoundWire device RX and > TX respectively, supporting 4 x ADCs, ClassH, Ear, Aux PA, 2xHPH, > 7 x TX diff inputs, 8

Re: [PATCH V2 4/5] dt-bindings: regulator: Convert regulator bindings to YAML format

2021-03-16 Thread Rob Herring
On Mon, 15 Mar 2021 19:24:13 +0530, satya priya wrote: > Convert regulator bindings from .txt to .yaml format. > > Signed-off-by: satya priya > --- > Changes in V2: > - As per Mark's comment moved this patch to the end of series. > - As per Rob's comments, added flash and rgb bindings,

Re: [PATCH v6 4/8] dt-bindings: regulator: Add document for MT6359 regulator

2021-03-16 Thread Rob Herring
On Tue, 16 Mar 2021 01:35:53 +0800, Hsin-Hsiung Wang wrote: > add dt-binding document for MediaTek MT6359 PMIC > > Signed-off-by: Hsin-Hsiung Wang > --- > changes since v5: > - no change. > --- > .../bindings/regulator/mt6359-regulator.yaml | 169 ++ > 1 file changed, 169

Re: [PATCH v12 1/7] dt-bindings: soc: mediatek: add mtk svs dt-bindings

2021-03-16 Thread Rob Herring
On Mon, 15 Mar 2021 21:30:12 +0800, Roger Lu wrote: > Document the binding for enabling mtk svs on MediaTek SoC. > > Signed-off-by: Roger Lu > --- > .../bindings/soc/mediatek/mtk-svs.yaml| 81 +++ > 1 file changed, 81 insertions(+) > create mode 100644 >

Re: [PATCH v7 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-03-16 Thread Jyoti Bhayana
Hi Christian, Thanks for porting the driver to the new interface. I have commented on changes in v7-0025-iio-scmi-port-driver-to-the-new-scmi_sensor_proto.patch. Thanks, Jyoti On Tue, Mar 16, 2021 at 6:13 AM Cristian Marussi wrote: > > Hi > > I reposted my series on top of the take3 immutable

Re: [PATCH 16/38] dt-bindings: power: supply: tps65217: Convert to DT schema format

2021-03-16 Thread Rob Herring
On Tue, Mar 16, 2021 at 10:20 AM Sebastian Reichel wrote: > > Hi Rob, > > On Mon, Mar 15, 2021 at 12:33:23PM -0600, Rob Herring wrote: > > On Fri, Mar 12, 2021 at 8:44 AM Sebastian Reichel > > wrote: > > > + interrupts: > > > +minItems: 2 > > > +maxItems: 2 > > > > We've lost info that

Re: [PATCH v6 6/8] regulator: mt6359: Add support for MT6359 regulator

2021-03-16 Thread Mark Brown
On Tue, Mar 16, 2021 at 01:35:55AM +0800, Hsin-Hsiung Wang wrote: > From: Wen Su > > The MT6359 is a regulator found on boards based on MediaTek MT6779 and > probably other SoCs. It is a so called pmic and connects as a slave to > SoC using SPI, wrapped inside the pmic-wrapper. Acked-by: Mark

Re: [RFC] KVM: x86: Support KVM VMs sharing SEV context

2021-03-16 Thread Sean Christopherson
On Fri, Mar 12, 2021, Nathan Tempelman wrote: > On Wed, Feb 24, 2021 at 9:37 AM Sean Christopherson wrote: > > > @@ -1282,6 +1299,65 @@ int svm_unregister_enc_region(struct kvm *kvm, > > > return ret; > > > } > > > > > > +int svm_vm_copy_asid_to(struct kvm *kvm, unsigned int mirror_kvm_fd)

Re: [PATCH v7 25/38] iio/scmi: port driver to the new scmi_sensor_proto_ops interface

2021-03-16 Thread Jyoti Bhayana
Hi Christian, Thanks for porting this driver to the new interface. I have two questions: 1) In the following code snippet, can the sensor_ops be made as part of struct scmi_iio_priv as scmi_protocol_handle is also part of that struct. Not sure if there are any particular reasons for having the

Re: [PATCH v6 7/8] regulator: mt6359: Add support for MT6359P regulator

2021-03-16 Thread Mark Brown
On Tue, Mar 16, 2021 at 01:35:56AM +0800, Hsin-Hsiung Wang wrote: > The MT6359P is a eco version for MT6359 regulator. > We add support based on MT6359 regulator driver. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH 04/38] dt-bindings: power: supply: bq25890: Convert to DT schema format

2021-03-16 Thread Rob Herring
On Tue, Mar 16, 2021 at 10:46 AM Sebastian Reichel wrote: > > Hi, > > On Mon, Mar 15, 2021 at 12:21:34PM -0600, Rob Herring wrote: > > On Fri, Mar 12, 2021 at 8:44 AM Sebastian Reichel > > wrote: > > > + ti,ibatcomp-clamp-microvolt: > > > +$ref: /schemas/types.yaml#/definitions/uint32 > > >

Re: [PATCH v2 1/2] media: staging/intel-ipu3: Fix memory leak in imu_fmt

2021-03-16 Thread Ricardo Ribalda
Hi Bingbu Thanks for your review On Tue, Mar 16, 2021 at 12:29 PM Bingbu Cao wrote: > > Hi, Ricardo > > Thanks for your patch. > It looks fine for me, do you mind squash 2 patchsets into 1 commit? Are you sure? There are two different issues that we are solving. Best regards! > > On 3/15/21

Re: [PATCH v4 08/19] arm64: kvm: Enable access to TRBE support for host

2021-03-16 Thread Mathieu Poirier
On Thu, Feb 25, 2021 at 07:35:32PM +, Suzuki K Poulose wrote: > For a nvhe host, the EL2 must allow the EL1&0 translation > regime for TraceBuffer (MDCR_EL2.E2TB == 0b11). This must > be saved/restored over a trip to the guest. Also, before > entering the guest, we must flush any trace data if

Re: [PATCH v3 0/3] watchdog: f71808e_wdt: migrate to new kernel API

2021-03-16 Thread Ahmad Fatoum
Hello, On 04.02.21 18:00, Ahmad Fatoum wrote: > This series migrates the driver to the new kernel watchdog API and > then to the driver model. > > Main feedback from Guenther on v2 was that I need to split it up to > enable review. I have done so by removing the extra refactoring for > now and

blktests: block/009 next-20210304 failure rate average of 1/448

2021-03-16 Thread Luis Chamberlain
I've managed to reproduce blktests block/009 failures with kdevops [0] on linux-next tag next-20210304 with a current failure rate average of 1/448 (3 counted failures so far). I've documented the failure on korg#212305 [1] and provide instructions on how to reproduce. The failure happens on KVM

Re: [PATCH v5 33/36] KVM: arm64: Wrap the host with a stage 2

2021-03-16 Thread Quentin Perret
On Tuesday 16 Mar 2021 at 16:16:18 (+0100), Mate Toth-Pal wrote: > On 2021-03-16 15:29, Quentin Perret wrote: > > On Tuesday 16 Mar 2021 at 12:53:53 (+), Quentin Perret wrote: > > > On Tuesday 16 Mar 2021 at 13:28:42 (+0100), Mate Toth-Pal wrote: > > > > Changing the value of MT_S2_FWB_NORMAL

Re: [PATCH v4 07/19] arm64: Add TRBE definitions

2021-03-16 Thread Mathieu Poirier
On Thu, Feb 25, 2021 at 07:35:31PM +, Suzuki K Poulose wrote: > From: Anshuman Khandual > > This adds TRBE related registers and corresponding feature macros. > > Cc: Mathieu Poirier > Cc: Mike Leach > Cc: Suzuki K Poulose > Reviewed-by: Suzuki K Poulose > Reviewed-by: Mike Leach >

Re: [PATCH v23 6/9] x86/entry: Introduce ENDBR macro

2021-03-16 Thread Dave Hansen
On 3/16/21 10:44 AM, Yu, Yu-cheng wrote: >> Also, Boris asked for two *different* macros for 32 and 64-bit: >> >> https://lore.kernel.org/linux-api/20210310231731.gk23...@zn.tnic/ >> >> Could you do that in the next version, please? > > Yes, we can do two macros, probably in

Re: [PATCH] memblock: fix section mismatch warning again

2021-03-16 Thread David Hildenbrand
On 16.03.21 18:13, Mike Rapoport wrote: From: Mike Rapoport Commit 34dc2efb39a2 ("memblock: fix section mismatch warning") marked memblock_bottom_up() and memblock_set_bottom_up() as __init, but they could be referenced from non-init functions like memblock_find_in_range_node() on

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