[PATCH v4 07/10] ASoC: SOF: sof-client: Add client APIs to access probes ops

2020-11-13 Thread Dave Ertman
From: Ranjani Sridharan Add client APIs to invoke the platform-specific DSP probes ops. Also, add a new API to get the SOF core device pointer which will be used for DMA buffer allocation. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dav

Re: [PATCH 0/2] nvme-pic: improve max I/O queue handling

2020-11-13 Thread Christoph Hellwig
On Fri, Nov 13, 2020 at 02:15:59PM +0100, Niklas Schnelle wrote: > > > On 11/12/20 6:36 PM, Keith Busch wrote: > > On Thu, Nov 12, 2020 at 04:45:35PM +0100, Niklas Schnelle wrote: > >> You got to get something wrong, I hope in this case it's just the subject > >> of the cover letter :D > > > > I

Re: [PATCH] Revert "mm/vunmap: add cond_resched() in vunmap_pmd_range"

2020-11-13 Thread Minchan Kim
On Thu, Nov 12, 2020 at 02:49:19PM -0800, Andrew Morton wrote: > On Thu, 12 Nov 2020 12:01:01 -0800 Minchan Kim wrote: > > > > > On Sat, Nov 07, 2020 at 12:39:39AM -0800, Minchan Kim wrote: > > > Hi Andrew, > > > > > > On Fri, Nov 06, 2020 at 05:59:33PM -0800, Andrew Morton wrote: > > > > On Th

Re: rmk/for-next bisection: baseline.login on bcm2836-rpi-2-b

2020-11-13 Thread Ard Biesheuvel
On Fri, 13 Nov 2020 at 17:15, Ard Biesheuvel wrote: > > On Fri, 13 Nov 2020 at 16:58, Russell King - ARM Linux admin > wrote: > > > > On Fri, Nov 13, 2020 at 03:43:27PM +, Guillaume Tucker wrote: > > > On 13/11/2020 10:35, Ard Biesheuvel wrote: > > > > On Fri, 13 Nov 2020 at 11:31, Guillaume

Re: INFO: task can't die in nbd_ioctl

2020-11-13 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: INFO: task can't die in nbd_ioctl INFO: task syz-executor.1:10354 can't die for more than 143 seconds. task:syz-executor.1 state:D stack:28664 pid:10354 ppid: 8887 flags:0x4004 Call Trace: context

[PATCH] mm/shmem.c: make shmem_mapping() inline

2020-11-13 Thread Hui Su
inline the shmem_mapping(), and use shmem_mapping() instead of 'inode->i_mapping->a_ops == &shmem_aops' in shmem_evict_inode(). Signed-off-by: Hui Su --- include/linux/shmem_fs.h | 2 +- mm/shmem.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/lin

Re: [PATCH] ACPICA: fix -Wfallthrough

2020-11-13 Thread Joe Perches
On Fri, 2020-11-13 at 09:14 +0100, Miguel Ojeda wrote: > On Fri, Nov 13, 2020 at 1:09 AM Nick Desaulniers > wrote: > > > > Thank you for the explicit diagnostics observed. Something fishy is > > going on though, https://godbolt.org/z/Gbxbxa is how I expect MSVC to > > handle include/linux/compil

[PATCH] arm64: defconfig: Enable Qualcomm OSM L3 driver

2020-11-13 Thread Bjorn Andersson
The OSM L3 interconnect driver is used for scaling the bus to the L3 cache on modern Qualcomm platforms, enable it. Signed-off-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig inde

Re: [PATCH] highmem: fix highmem for xtensa

2020-11-13 Thread Max Filippov
On Fri, Nov 13, 2020 at 6:36 AM Thomas Gleixner wrote: > On Fri, Nov 13 2020 at 05:50, Max Filippov wrote: > > On Fri, Nov 13, 2020 at 5:40 AM Thomas Gleixner wrote: > >> What's wrong with just doing the obvious and making the fixmap defines > >> the other way round? > > > > It becomes really awk

Re: [PATCH] usb: core: Null deref in kernel with USB webcams.

2020-11-13 Thread Alan Stern
On Fri, Nov 13, 2020 at 01:18:05PM +, John Boero wrote: > Thanks for the tips. > > I've spent some more time on this this morning. > It looks like it's not the dev after all. What isn't the dev? > Every interface in the dev is set NULL after init. I can't tell what this means. Please be mo

Re: [PATCH] IB/hfi1: fix error return code in hfi1_init_dd()

2020-11-13 Thread Jason Gunthorpe
On Fri, Nov 13, 2020 at 02:42:27PM +0800, Zhang Changzhong wrote: > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev") > Reported-by: Hulk Robot > Signed-off-by: Zhang

Re: [PATCH 3/2] checkpatch: document the function renaming and deprecation around devm_ioremap_resource

2020-11-13 Thread Joe Perches
On Fri, 2020-11-13 at 10:11 +0100, Uwe Kleine-König wrote: > Signed-off-by: Uwe Kleine-König > --- > Hello, > > this can also be squashed into the respective patches instead. > > Best regards > Uwe > >  scripts/checkpatch.pl | 5 + >  1 file changed, 5 insertions(+) > > diff --git a/scripts

Re: [PATCH] Smack: fix kernel-doc interface on functions

2020-11-13 Thread Casey Schaufler
On 11/12/2020 11:26 PM, Alex Shi wrote: > The are some kernel-doc interface issues: > security/smack/smackfs.c:1950: warning: Function parameter or member > 'list' not described in 'smk_parse_label_list' > security/smack/smackfs.c:1950: warning: Excess function parameter > 'private' description in

Re: [PATCH v1 00/30] Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs

2020-11-13 Thread Thierry Reding
On Fri, Nov 13, 2020 at 01:14:45AM +0300, Dmitry Osipenko wrote: > 12.11.2020 23:43, Thierry Reding пишет: > >> The difference in comparison to using voltage regulator directly is > >> minimal, basically the core-supply phandle is replaced is replaced with > >> a power-domain phandle in a device tr

Re: [PATCH] arm64: defconfig: Enable Qualcomm OSM L3 driver

2020-11-13 Thread Georgi Djakov
On 11/13/20 18:34, Bjorn Andersson wrote: > The OSM L3 interconnect driver is used for scaling the bus to the L3 > cache on modern Qualcomm platforms, enable it. > > Signed-off-by: Bjorn Andersson Reviewed-by: Georgi Djakov > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 inser

Re: [PATCH v4 3/3] arm64: implement CPPC FFH support using AMUs

2020-11-13 Thread Ionela Voinescu
Hi Sudeep, On Friday 13 Nov 2020 at 14:16:58 (+), Sudeep Holla wrote: [..] > > diff --git a/arch/arm64/kernel/topology.c b/arch/arm64/kernel/topology.c > > index b8cb16e3a2cc..7c9b6a0ecd6a 100644 > > --- a/arch/arm64/kernel/topology.c > > +++ b/arch/arm64/kernel/topology.c > > @@ -147,6 +147,9

Re: [PATCH] vfio iommu type1: Improve vfio_iommu_type1_pin_pages performance

2020-11-13 Thread Alex Williamson
On Tue, 10 Nov 2020 21:42:33 +0800 "xuxiaoyang (C)" wrote: > vfio_iommu_type1_pin_pages is very inefficient because > it is processed page by page when calling vfio_pin_page_external. > Added contiguous_vaddr_get_pfn to process continuous pages > to reduce the number of loops, thereby improving p

Re: [PATCH v4 00/16] Tegra XHCI controller ELPG support

2020-11-13 Thread Thierry Reding
d_hda_core tegra_xudc host1x lp855x_bl at24 ip_tables x_tables ipv6 [ 153.566417] CPU: 0 PID: 300 Comm: systemd-sleep Tainted: G C 5.10.0-rc3-next-20201113-00019-g5c064d5372b0-dirty #624 [ 153.578283] Hardware name: NVIDIA Jetson TX1 Developer Kit (DT) [ 153.5

Re: [PATCH] usb: core: Null deref in kernel with USB webcams.

2020-11-13 Thread John Boero
Sorry I wanted to include a pastebin or link but was trying to follow maillist guidelines and not include links or exceed wrap guidelines. Full contents: https://paste.centos.org/view/3746bc40 Yes I understand the return dodges the config dereference. Original line usb.c:281 is the original erro

Re: [PATCH 1/3] x86/quirks: Scan all busses for early PCI quirks

2020-11-13 Thread Bjorn Helgaas
On Fri, Nov 06, 2020 at 10:14:14AM -0300, Guilherme G. Piccoli wrote: > On 23/10/2018 14:03, Bjorn Helgaas wrote: > > On Mon, Oct 22, 2018 at 05:35:06PM -0300, Guilherme G. Piccoli wrote: > >> On 18/10/2018 19:15, Bjorn Helgaas wrote: > >>> On Thu, Oct 18, 2018 at 03:37:19PM -0300, Guilherme G. Pic

Re: [PATCH v4 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-11-13 Thread Joe Perches
On Fri, 2020-11-13 at 12:54 +0200, Sakari Ailus wrote: > Hi Joe, > > On Tue, Nov 03, 2020 at 08:49:36AM -0800, Joe Perches wrote: > > On Tue, 2020-11-03 at 16:56 +0200, Sakari Ailus wrote: > > > On Tue, Nov 03, 2020 at 04:47:47PM +0200, Andy Shevchenko wrote: > > > > On Tue, Nov 03, 2020 at 03:34:

JK

2020-11-13 Thread Mrscarressa Danton
-- Dear Beloved One. I am Mr. Gabriel Edgal , I'm an internal Auditor in Btci bank,I have an abandoned fund of $9.5 million Dollars to transfer to you ,which we are going to share 50:50 .You will only stand as the next of kin to my late client who deposited the fund in our bank so many years ba

Re: [PATCH v12 4/4] gpio: xilinx: Utilize generic bitmap_get_value and _set_value

2020-11-13 Thread Syed Nayyar Waris
On Wed, Nov 11, 2020 at 3:30 AM Syed Nayyar Waris wrote: > > On Tue, Nov 10, 2020 at 12:43:16PM -0500, William Breathitt Gray wrote: > > On Tue, Nov 10, 2020 at 10:52:42PM +0530, Syed Nayyar Waris wrote: > > > On Tue, Nov 10, 2020 at 6:05 PM William Breathitt Gray > > > wrote: > > > > > > > > On

[PATCH RESEND net-next 01/18] net: phy: vitesse: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

[PATCH RESEND net-next 10/18] net: phy: nxp-tja11xx: remove the use of .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 03/18] net: phy: microchip: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

Re: [PATCH 0/2] nvme-pic: improve max I/O queue handling

2020-11-13 Thread Niklas Schnelle
On 11/13/20 5:25 PM, Christoph Hellwig wrote: > On Fri, Nov 13, 2020 at 02:15:59PM +0100, Niklas Schnelle wrote: >> >> >> On 11/12/20 6:36 PM, Keith Busch wrote: >>> On Thu, Nov 12, 2020 at 04:45:35PM +0100, Niklas Schnelle wrote: You got to get something wrong, I hope in this case it's jus

[PATCH RESEND net-next 02/18] net: phy: vitesse: remove the use of .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 12/18] net: phy: amd: remove the use of .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 00/18] net: phy: add support for shared interrupts (part 2)

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei This patch set aims to actually add support for shared interrupts in phylib and not only for multi-PHY devices. While we are at it, streamline the interrupt handling in phylib. For a bit of context, at the moment, there are multiple phy_driver ops that deal with this subject:

[PATCH RESEND net-next 16/18] net: phy: ste10Xp: remove the use of .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 09/18] net: phy: nxp-tja11xx: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

[PATCH RESEND net-next 14/18] net: phy: smsc: remove the use of .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 18/18] net: phy: adin: remove the use of the .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 11/18] net: phy: amd: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

[PATCH RESEND net-next 07/18] net: phy: lxt: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

[PATCH RESEND net-next 13/18] net: phy: smsc: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

[PATCH RESEND net-next 15/18] net: phy: ste10Xp: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

[PATCH RESEND net-next 06/18] net: phy: marvell: remove the use of .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 17/18] net: phy: adin: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

[PATCH RESEND net-next 04/18] net: phy: microchip: remove the use of .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 08/18] net: phy: lxt: remove the use of .ack_interrupt()

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupt

[PATCH RESEND net-next 05/18] net: phy: marvell: implement generic .handle_interrupt() callback

2020-11-13 Thread Ioana Ciornei
From: Ioana Ciornei In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_

Re: [PATCH v3 1/3] PCI: altera-msi: remove chained IRQ handler and data in one go

2020-11-13 Thread Bjorn Helgaas
Please capitalize your subject lines consistently. [3/3] is fine, but you didn't capitalize [1/3] and [2/3] to match. The fact that this is a *chained* IRQ isn't really relevant to the patch, so this would be more succinct: PCI: altera-msi: Remove IRQ handler and data in one go Lorenzo can li

Re: [PATCH] mm/shmem.c: make shmem_mapping() inline

2020-11-13 Thread kernel test robot
Hi Hui, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mmotm/master] url: https://github.com/0day-ci/linux/commits/Hui-Su/mm-shmem-c-make-shmem_mapping-inline/20201113-215549 base: git://git.cmpxchg.org/linux-mmotm.git master config: arm-randconfig-s032

Re: [net-next,v2,4/5] seg6: add support for the SRv6 End.DT4 behavior

2020-11-13 Thread Jakub Kicinski
On Thu, 12 Nov 2020 18:49:17 -0700 David Ahern wrote: > On 11/12/20 6:28 PM, Andrea Mayer wrote: > > The implementation of SRv6 End.DT4 differs from the the implementation of > > SRv6 > > End.DT6 due to the different *route input* lookup functions. For IPv6 is it > > possible to force the routing

Re: [PATCH v2 1/2] KVM: SVM: Move asid to vcpu_svm

2020-11-13 Thread Paolo Bonzini
On 11/10/20 20:48, Cathy Avery wrote: Move asid to svm->asid to allow for vmcb assignment during svm_vcpu_run without regard to which level guest is running. Slightly more verbose commit message: KVM does not have separate ASIDs for L1 and L2; either the nested hypervisor and nested guests sha

Re: [PATCH net-next v2 03/11] net: dsa: microchip: split ksz_common.h

2020-11-13 Thread Christian Eggers
On Friday, 13 November 2020, 00:02:54 CET, Vladimir Oltean wrote: > On Thu, Nov 12, 2020 at 04:35:29PM +0100, Christian Eggers wrote: > > Parts of ksz_common.h (struct ksz_device) will be required in > > net/dsa/tag_ksz.c soon. So move the relevant parts into a new header > > file. > > > > Signed-

Re: [PATCH] arm64: abort counter_read_on_cpu() when irqs_disabled()

2020-11-13 Thread Ionela Voinescu
On Friday 13 Nov 2020 at 16:02:34 (+), Mark Rutland wrote: > On Fri, Nov 13, 2020 at 03:53:28PM +, Ionela Voinescu wrote: > > Given that smp_call_function_single() can deadlock when interrupts are > > disabled, abort the SMP call if irqs_disabled(). This scenario is > > currently not possib

Re: [PATCH] s5p-jpeg: hangle error condition in s5p_jpeg_probe

2020-11-13 Thread Andrzej Pietrasiewicz
Acked-by: Andrzej Pietrasiewicz W dniu 13.11.2020 o 17:06, Baskov Evgeiny pisze: If an error happens in jpeg_get_drv_data(), i.e. match fails, jpeg->variant field is NULL, so we cannot access it. Consider device probe failed if jpeg->variant is NULL. Found by Linux Driver Verification project

Re: [PATCH 3/2] checkpatch: document the function renaming and deprecation around devm_ioremap_resource

2020-11-13 Thread Uwe Kleine-König
On Fri, Nov 13, 2020 at 08:36:44AM -0800, Joe Perches wrote: > On Fri, 2020-11-13 at 10:11 +0100, Uwe Kleine-König wrote: > > Signed-off-by: Uwe Kleine-König > > --- > > Hello, > > > > this can also be squashed into the respective patches instead. > > > > Best regards > > Uwe > > > >  scripts/c

[PATCH v2 0/2] media: i2c: OV5648 image sensor support

2020-11-13 Thread Paul Kocialkowski
This series adds support for the OV5648 image sensor, as a V4L2 subdev driver. Changes since v1: - Used runtime pm; - Used assigned-clock-rate; - Removed clock name; - Returned closest size in set_fmt; - Removed unneeded references to v4l2 controls; - Removed i2c device table; - Dual-licensed bind

[PATCH v2 1/2] dt-bindings: media: i2c: Add OV5648 bindings documentation

2020-11-13 Thread Paul Kocialkowski
This introduces YAML bindings documentation for the OV5648 image sensor. Signed-off-by: Paul Kocialkowski --- .../bindings/media/i2c/ovti,ov5648.yaml | 112 ++ 1 file changed, 112 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml

[PATCH v2 2/2] media: i2c: Add support for the OV5648 image sensor

2020-11-13 Thread Paul Kocialkowski
The OV5648 is a 5 Mpx CMOS image sensor, connected via MIPI CSI-2 in a one or two lane configuration. Most of the features of the hardware are supported, including: - Auto and manual exposition/gain - Auto and manual white balance - Horizontal and vertical flip - Test patterns But the following a

[PATCH v4 5/5] PCI: dwc: exynos: Rework the driver to support Exynos5433 variant

2020-11-13 Thread Marek Szyprowski
From: Jaehoon Chung Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Rework this driver to support DWC PCIe variant found in the Exynos5433 SoCs. The main difference in Exynos5433 variant is lack of the MSI support (the MSI interrupt is n

[PATCH v4 0/5] Add DW PCIe support for Exynos5433 SoCs

2020-11-13 Thread Marek Szyprowski
Dear All, This patchset is a resurrection of the DW PCIe support for the Exynos5433 SoCs posted long time ago here: https://lkml.org/lkml/2016/12/26/6 and later here: https://lkml.org/lkml/2017/12/21/296 . In meantime the support for the Exynos5440 SoCs has been completely dropped from mainline k

[PATCH v4 2/5] dt-bindings: PCI: exynos: add the samsung,exynos-pcie binding

2020-11-13 Thread Marek Szyprowski
Add dt-bindings for the Samsung Exynos PCIe controller (Exynos5433 variant). Based on the text dt-binding posted by Jaehoon Chung. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pci/samsung,exynos-pcie.yaml | 119 +

[PATCH v4 3/5] dt-bindings: phy: exynos: add the samsung,exynos-pcie-phy binding

2020-11-13 Thread Marek Szyprowski
Add dt-bindings for the Samsung Exynos PCIe PHY controller (Exynos5433 variant). Based on the text dt-binding posted by Jaehoon Chung. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/phy/samsung,exynos-pcie-phy.yaml | 51 ++

[PATCH v4 4/5] phy: samsung: phy-exynos-pcie: rework driver to support Exynos5433 PCIe PHY

2020-11-13 Thread Marek Szyprowski
From: Jaehoon Chung Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Rework this driver to support PCIe PHY variant found in the Exynos5433 SoCs. Signed-off-by: Jaehoon Chung [mszyprow: reworked the driver to support only Exynos5433 vari

[PATCH v4 1/5] dt-bindings: PCI: exynos: drop samsung,exynos5440-pcie binding

2020-11-13 Thread Marek Szyprowski
Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Drop the obsolete bindings for exynos5440-pcie. Signed-off-by: Marek Szyprowski Reviewed-by: Rob Herring Reviewed-by: Krzysztof Kozlowski Reviewed-by: Jingoo Han --- .../bindings/pci/sam

Re: [PATCH v2 1/2] KVM: SVM: Move asid to vcpu_svm

2020-11-13 Thread Paolo Bonzini
On 13/10/20 03:29, Sean Christopherson wrote: @@ -3446,6 +3447,7 @@ static __no_kcsan fastpath_t svm_vcpu_run(struct kvm_vcpu *vcpu) sync_lapic_to_cr8(vcpu); + svm->vmcb->control.asid = svm->asid; Related to the above, handling this in vcpu_run() feels wrong. There really shouldn't b

Re: [PATCH bpf v5 1/2] lib/strncpy_from_user.c: Don't overcopy bytes after NUL terminator

2020-11-13 Thread Alexei Starovoitov
On Wed, Nov 11, 2020 at 02:45:54PM -0800, Daniel Xu wrote: > do_strncpy_from_user() may copy some extra bytes after the NUL > terminator into the destination buffer. This usually does not matter for > normal string operations. However, when BPF programs key BPF maps with > strings, this matters a l

[PATCH NOT FOR MERGE v2 3/3] ARM: dts: sun8i: a83t: bananapi-m3: Enable MIPI CSI-2 with OV8865

2020-11-13 Thread Paul Kocialkowski
From: Kévin L'hôpital The Bananapi M3 supports a camera module which includes an OV8865 sensor connected via the parallel CSI interface and an OV8865 sensor connected via MIPI CSI-2. The I2C2 bus is shared by the two sensors as well as the (active-low) reset signal, but each sensor has it own sh

[PATCH v2 1/3] dt-bindings: media: i2c: Add OV8865 bindings documentation

2020-11-13 Thread Paul Kocialkowski
This introduces YAML bindings documentation for the OV8865 image sensor. Co-developed-by: Kévin L'hôpital Signed-off-by: Kévin L'hôpital Signed-off-by: Paul Kocialkowski --- .../bindings/media/i2c/ovti,ov8865.yaml | 120 ++ 1 file changed, 120 insertions(+) create mode 1

Re: [PATCH v3] arm64: defconfig: Enable GPIO and I2C configs for TI's J721e platform

2020-11-13 Thread Nishanth Menon
On 21:19-20201113, Sekhar Nori wrote: > From: Faiz Abbas > > Add configs to help enable regulators that supply power to the SD card > on TI's J721e platform. These regulators are controlled by either > SoC gpios or gpios over i2c expander. > > vmlinux size bef

Re: [net-next,v2,4/5] seg6: add support for the SRv6 End.DT4 behavior

2020-11-13 Thread David Ahern
On 11/13/20 10:02 AM, Stefano Salsano wrote: > Il 2020-11-13 17:55, Jakub Kicinski ha scritto: >> On Thu, 12 Nov 2020 18:49:17 -0700 David Ahern wrote: >>> On 11/12/20 6:28 PM, Andrea Mayer wrote: The implementation of SRv6 End.DT4 differs from the the implementation of SRv6 End.DT6

[PATCH v2 2/3] media: i2c: Add support for the OV8865 image sensor

2020-11-13 Thread Paul Kocialkowski
The OV8865 is a 8 Mpx CMOS image sensor producing 3264x2448 at 30 fps. Other modes (including some with sub-sampling) are available too. It outputs 10-bit bayer CFA data through a MIPI CSI-2 interface with up to 4 lanes supported. Some register initialisation sequences are still needed for this dr

[PATCH v2 0/3] media: i2c: OV8865 image sensor support

2020-11-13 Thread Paul Kocialkowski
This series adds support for the OV8865 image sensor, as a V4L2 subdev driver. Although an initial series was submitted by Kévin L'hôpital some weeks ago, this version is significantly new and should be considered a new series. The final patch (not for merge) shows how to enable the OV8865 on the

[RFC PATCH 0/1] Adding support for IIO SCMI based sensors

2020-11-13 Thread Jyoti Bhayana
Hi, This series adds support for ARM SCMI Protocol based IIO Device. This driver provides support for Accelerometer and Gyroscope sensor using new SCMI Sensor Protocol defined by the upcoming SCMIv3.0 ARM specification, which is available at https://developer.arm.com/documentation/den0056/c/ Th

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

2020-11-13 Thread Jyoti Bhayana
This change provides ARM SCMI Protocol based IIO device. This driver provides support for Accelerometer and Gyroscope using new SCMI Sensor Protocol defined by the upcoming SCMIv3.0 ARM specification Signed-off-by: Jyoti Bhayana --- MAINTAINERS | 6 + drivers/iio/Kconfig

Re: [PATCH RT 1/5] net: Properly annotate the try-lock for the seqlock

2020-11-13 Thread Tom Zanussi
Hi Steve, On Tue, 2020-11-10 at 10:38 -0500, Steven Rostedt wrote: > 5.4.74-rt42-rc2 stable review patch. > If anyone has any objections, please let me know. > > -- > > From: Sebastian Andrzej Siewior > > In patch >("net/Qdisc: use a seqlock instead seqcount") > > the seqc

Re: [PATCH 3/2] checkpatch: document the function renaming and deprecation around devm_ioremap_resource

2020-11-13 Thread Joe Perches
On Fri, 2020-11-13 at 18:00 +0100, Uwe Kleine-König wrote: > On Fri, Nov 13, 2020 at 08:36:44AM -0800, Joe Perches wrote: > > On Fri, 2020-11-13 at 10:11 +0100, Uwe Kleine-König wrote: > > > Signed-off-by: Uwe Kleine-König > > > --- > > > Hello, > > > > > > this can also be squashed into the resp

Re: [net-next,v2,4/5] seg6: add support for the SRv6 End.DT4 behavior

2020-11-13 Thread Stefano Salsano
Il 2020-11-13 17:55, Jakub Kicinski ha scritto: On Thu, 12 Nov 2020 18:49:17 -0700 David Ahern wrote: On 11/12/20 6:28 PM, Andrea Mayer wrote: The implementation of SRv6 End.DT4 differs from the the implementation of SRv6 End.DT6 due to the different *route input* lookup functions. For IPv6 is

Re: [PATCH 05/40] drm/amd/amdgpu/amdgpu_ring: Fix misnaming of param 'max_dw'

2020-11-13 Thread Alex Deucher
On Fri, Nov 13, 2020 at 8:50 AM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:168: warning: Function parameter or > member 'max_dw' not described in 'amdgpu_ring_init' > drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:168: warning: E

Re: [PATCH v1 11/30] drm/tegra: dc: Support OPP and SoC core voltage scaling

2020-11-13 Thread Dmitry Osipenko
13.11.2020 19:15, Mark Brown пишет: > On Fri, Nov 13, 2020 at 06:55:27PM +0300, Dmitry Osipenko wrote: >> 13.11.2020 17:29, Mark Brown пишет: > >>> It's not clear if it matters - it's more a policy decision on the part >>> of the driver about what it thinks safe error handling is. If it's not >

[PATCH] crypto: qat - fix excluded_middle.cocci warnings

2020-11-13 Thread Julia Lawall
From: kernel test robot Condition !A || A && B is equivalent to !A || B. Generated by: scripts/coccinelle/misc/excluded_middle.cocci Fixes: b76f0ea01312 ("coccinelle: misc: add excluded_middle.cocci script") CC: Denis Efremov Reported-by: kernel test robot Signed-off-by: kernel test robot S

Re: [PATCH v11 05/14] s390/vfio-ap: implement in-use callback for vfio_ap driver

2020-11-13 Thread Tony Krowiak
On 10/27/20 9:27 AM, Halil Pasic wrote: On Thu, 22 Oct 2020 13:12:00 -0400 Tony Krowiak wrote: Let's implement the callback to indicate when an APQN is in use by the vfio_ap device driver. The callback is invoked whenever a change to the apmask or aqmask would result in one or more queue de

Re: general protection fault in tomoyo_socket_sendmsg_permission

2020-11-13 Thread Shuah Khan
On 11/13/20 5:00 AM, Hillf Danton wrote: Thu, 12 Nov 2020 23:21:26 -0800 syzbot found the following issue on: HEAD commit:9dbc1c03 Merge tag 'xfs-5.10-fixes-3' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1045303450 kernel con

Re: [PATCH v3 0/6] regulator: mcp16502: add support for ramp delay

2020-11-13 Thread Mark Brown
On Fri, 13 Nov 2020 17:21:04 +0200, Claudiu Beznea wrote: > This series adds support for ramp delay on mcp16502. It also adds > some cleanup on mcp16502. > > Apart from that patches 1/6 fixes the selector validation in case > the regulator::desc::linear_min_sel is not zero. > > Thank you, > Claud

Re: [PATCH 0/6] regulator: mcp16502: add support for ramp delay

2020-11-13 Thread Mark Brown
On Fri, 6 Nov 2020 11:52:58 +0200, Claudiu Beznea wrote: > This series adds support for ramp delay on mcp16502. It also adds > some cleanup on mcp16502. > > Apart from that patches 1/6 fixes the selector validation in case > the regulator::desc::linear_min_sel is not zero. > > Thank you, > Claudi

Re: [PATCH v2 0/6] regulator: mcp16502: add support for ramp delay

2020-11-13 Thread Mark Brown
On Wed, 11 Nov 2020 11:06:12 +0200, Claudiu Beznea wrote: > This series adds support for ramp delay on mcp16502. It also adds > some cleanup on mcp16502. > > Apart from that patches 1/6 fixes the selector validation in case > the regulator::desc::linear_min_sel is not zero. > > Thank you, > Claud

Re: [PATCH v3] arm64: defconfig: Enable GPIO and I2C configs for TI's J721e platform

2020-11-13 Thread Sekhar Nori
On 13/11/20 10:34 PM, Nishanth Menon wrote: > On 21:19-20201113, Sekhar Nori wrote: >> From: Faiz Abbas >> >> Add configs to help enable regulators that supply power to the SD card >> on TI's J721e platform. These regulators are controlled by either >>

Re: #PF from NMI

2020-11-13 Thread Paul E. McKenney
On Fri, Nov 13, 2020 at 01:53:32PM +0100, Peter Zijlstra wrote: > Hi > > Eugenio reported > (https://bugzilla.kernel.org/attachment.cgi?id=293659&action=edit): > > [ 139.226723] [ cut here ] > [ 139.226724] WARNING: CPU: 9 PID: 2290 at kernel/rcu/tree.c:932 > __rcu_irq_

Re: [PATCH 08/40] drm/amd/amdgpu/amdgpu_ib: Fix some incorrect/incomplete function documentation

2020-11-13 Thread Alex Deucher
On Fri, Nov 13, 2020 at 8:50 AM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:66: warning: Function parameter or > member 'adev' not described in 'amdgpu_ib_get' > drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:66: warning: Function par

Re: [PATCH] usb: core: Null deref in kernel with USB webcams.

2020-11-13 Thread Alan Stern
On Fri, Nov 13, 2020 at 04:45:52PM +, John Boero wrote: > Sorry I wanted to include a pastebin or link but was trying to follow maillist > guidelines and not include links or exceed wrap guidelines. Full contents: > https://paste.centos.org/view/3746bc40 > > Yes I understand the return dodges

memory leak in generic_parse_monolithic

2020-11-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:af5043c8 Merge tag 'acpi-5.10-rc4' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13e8c90650 kernel config: https://syzkaller.appspot.com/x/.config?x=a3f13716fa0212fd das

memory leak in atusb_probe

2020-11-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:af5043c8 Merge tag 'acpi-5.10-rc4' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10f165e650 kernel config: https://syzkaller.appspot.com/x/.config?x=a3f13716fa0212fd das

Re: [PATCH v11 06/14] s390/vfio-ap: introduce shadow APCB

2020-11-13 Thread Tony Krowiak
On 10/28/20 4:11 AM, Halil Pasic wrote: On Thu, 22 Oct 2020 13:12:01 -0400 Tony Krowiak wrote: The APCB is a field within the CRYCB that provides the AP configuration to a KVM guest. Let's introduce a shadow copy of the KVM guest's APCB and maintain it for the lifespan of the guest. Signed

Re: [PATCH 11/40] drm/amd/amdgpu/amdgpu_pll: Fix kernel-doc formatting, missing and extra params

2020-11-13 Thread Alex Deucher
On Fri, Nov 13, 2020 at 8:50 AM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or > member 'freq' not described in 'amdgpu_pll_compute' > drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Fun

Re: [PATCH bpf-next v5 01/34] mm: memcontrol: use helpers to read page's memcg data

2020-11-13 Thread Roman Gushchin
On Fri, Nov 13, 2020 at 06:25:53AM -0800, Shakeel Butt wrote: > On Thu, Nov 12, 2020 at 8:02 PM Roman Gushchin wrote: > > > > On Thu, Nov 12, 2020 at 07:25:48PM -0800, Alexei Starovoitov wrote: > > > On Thu, Nov 12, 2020 at 7:18 PM Andrew Morton > > > wrote: > > > > > > > > On Thu, 12 Nov 2020 1

Re: [PATCH 16/40] drm/amd/amdgpu/amdgpu_sync: Fix misnamed, missing and extra param descriptions

2020-11-13 Thread Alex Deucher
On Fri, Nov 13, 2020 at 8:50 AM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:86: warning: Function parameter or > member 'f' not described in 'amdgpu_sync_get_owner' > drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:86: warning: Exc

[PATCH 04/13 v3] perf tools: Replace aggregation ID with a struct

2020-11-13 Thread James Clark
Replace all occurences of the usage of int with the new struct cpu_aggr_id. No functional changes. Signed-off-by: James Clark Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas Richter Cc: John

[PATCH 06/13 v3] perf tools: drop in cpu_aggr_map struct

2020-11-13 Thread James Clark
Replace usages of perf_cpu_map with cpu_aggr map in places that are involved with perf stat aggregation. This will then later be changed to be a map of cpu_aggr_id rather than an int so that more data can be stored. No functional changes. Signed-off-by: James Clark Cc: Peter Zijlstra Cc: Ingo

[PATCH 00/13 v3] perf tools: fix perf stat with large socket IDs

2020-11-13 Thread James Clark
Break up the previous v2 patchset into smaller atomic commits. The end result is the same as the previous patchset apart from some minor refactoring, asserting on an empty header and calling cpu__setup_cpunode_map() in the topology self test. Testing done: Tested --per-core, --per-thread, --per-d

Fair Pay: The main stuff solved!

2020-11-13 Thread Ywe Cærlyn
I have talked quite a bit about Fair Pay here, that we need for correct streaming and OS developlment. I think a new branch of OpenMandriva would be good. "Star-X". Philosophically the problem is Tao that is a Fire Lizard, and Theoprastus, that seems to be about the same, and nonsensical churc

[PATCH 08/13 v3] perf tools: Start using cpu_aggr_id in map

2020-11-13 Thread James Clark
Use the new cpu_aggr_id struct in the cpu map instead of int so that it can store more data. No functional changes. Signed-off-by: James Clark Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas

[PATCH 12/13 v3] perf tools: Add separate core member

2020-11-13 Thread James Clark
Add core as a separate member so that it doesn't have to be packed into the int value. Signed-off-by: James Clark Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas Richter Cc: John Garry --- tools/perf/builtin-s

[PATCH 0/3 v7] ftrace: Add access to function arguments for all callbacks

2020-11-13 Thread VMware
This is something I wanted to implement a long time ago, but held off until there was a good reason to do so. Now it appears that having access to the arguments of the function by default is very useful. As a bonus, because arguments must be saved regardless before calling a callback, because they

[PATCH 3/3 v7] livepatch: Use the default ftrace_ops instead of REGS when ARGS is available

2020-11-13 Thread VMware
From: "Steven Rostedt (VMware)" When CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS is available, the ftrace call will be able to set the ip of the calling function. This will improve the performance of live kernel patching where it does not need all the regs to be stored just to change the instruction poi

[PATCH 10/13 v3] perf tools: Add separate socket member

2020-11-13 Thread James Clark
Add socket as a separate member so that it doesn't have to be packed into the int value. When the socket ID was larger than 8 bits the output appeared corrupted or incomplete. For example, here on ThunderX2 perf stat reports a socket of -1 and an invalid die number: ./perf stat -a --per-die T

<    2   3   4   5   6   7   8   9   10   11   >