Re: linux-next: Fixes tag needs some work in the drivers-x86 tree

2020-11-30 Thread Stephen Rothwell
Hi Hans, On Mon, 30 Nov 2020 08:43:21 +0100 Hans de Goede wrote: > > Question, how important is it to fix these ? I normally never do forced pushes > to the for-next branch. But if this is considered important to fix I guess I > can make an exception. I think it is fine to leave these, but to

Re: [PATCH] drm/amdgpu/display: remove trailing semicolon in macro definition

2020-11-30 Thread Christian König
Am 27.11.20 um 17:26 schrieb t...@redhat.com: From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] riscv/mm: Prevent kernel module access user-space memory without uaccess routines

2020-11-30 Thread Pekka Enberg
On Mon, Nov 30, 2020 at 7:33 AM Eric Lin wrote: > > In the page fault handler, an access to user-space memory > without get/put_user() or copy_from/to_user() routines is > not resolved properly. Like arm and other architectures, > we need to let it die earlier in page fault handler. Fix looks

Re: [BISECTED REGRESSION] Broken USB/GPIO on OMAP1 OSK

2020-11-30 Thread Linus Walleij
On Sun, Nov 29, 2020 at 12:57 PM Aaro Koskinen wrote: > On Sun, Nov 29, 2020 at 01:51:54AM +0200, Aaro Koskinen wrote: > > I tried to upgrade my OMAP1 OSK board to v5.9, but the rootfs cannot > > be accessed anymore due to broken USB. It fails to probe with the > > following logs: > > > > [

Re: [PATCH v2 net-next 3/3] nfc: s3fwrn5: extract the common phy blocks

2020-11-30 Thread Krzysztof Kozlowski
On Sun, Nov 29, 2020 at 06:55:10PM +0900, Bongsu Jeon wrote: > On Sat, Nov 28, 2020 at 9:49 PM Krzysztof Kozlowski wrote: > > This is not a proper wrapping. Wrapping happens on function arguments. > > > > > + if (!gpio_is_valid(phy->common.gpio_en)) > > > return

Re: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-11-30 Thread ivanhu
Hi Heinrich, Thanks for the patch. It looks good to me, but I noticed that the runtime_supported_mask was introduced after 5.7-rc1. Maybe we should add the kernel version checking for the old kernels. Cheers, Ivan On 11/28/20 3:20 AM, Heinrich Schuchardt wrote: > Since the UEFI 2.8A

[PATCH v2] ARM: fix __div64_32() error when compiling with clang

2020-11-30 Thread Antony Yu
>From 3a4c19e09079324a625941ea3c16fe4b0df2ed86 Mon Sep 17 00:00:00 2001 From: Antony Yu Date: Mon, 9 Nov 2020 17:31:52 +0800 Subject: [PATCH v2] ARM: fix __div64_32() error when compiling with clang __do_div64 clobbers the input register r0 in little endian system. According to the inline

Re: [v3 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-11-30 Thread Marc Zyngier
[- jason] On 2020-11-30 03:30, Biwen Li wrote: From: Hou Zhiqiang Add an new IRQ chip declaration for LS1043A and LS1088A - compatible "fsl,ls1043a-extirq" for LS1043A, LS1046A. - compatible "fsl,ls1088a-extirq" for LS1088A, LS208xA, LX216xA Signed-off-by: Hou Zhiqiang Signed-off-by: Biwen

[PATCH v5 0/5] clk: add driver for the SiFive FU740

2020-11-30 Thread Zong Li
Add a driver for the SiFive FU740 PRCI IP block, which handles more clocks than FU540. These patches also refactor the original implementation by spliting the dependent-code of fu540 and fu740 respectively. In v3 and v4 patch set, it fix the wrong clk enable bit field which reported by Pragnesh.

[PATCH v5 1/5] clk: sifive: Extract prci core to common base

2020-11-30 Thread Zong Li
Extract common core of prci driver to an independent file, it could allow other chips to reuse it. Separate SoCs-dependent code 'fu540' from prci core, then we can easily add 'fu740' later. Almost these changes are code movement. The different is adding the private data for each SoC use, so it

Re: [GIT pull] locking/urgent for v5.10-rc6

2020-11-30 Thread Sven Schnelle
Hi Peter, Peter Zijlstra writes: > On Sun, Nov 29, 2020 at 11:31:41AM -0800, Linus Torvalds wrote: >> On Sun, Nov 29, 2020 at 5:38 AM Thomas Gleixner wrote: >> > >> > Yet two more places which invoke tracing from RCU disabled regions in the >> > idle path. Similar to the entry path the low

Re: [PATCH 1/3] thermal: core: Add indication for userspace usage

2020-11-30 Thread Kai-Heng Feng
> On Nov 30, 2020, at 15:57, Daniel Lezcano wrote: > > > [Added Srinivas] > > On 28/11/2020 18:54, Kai-Heng Feng wrote: >> We are seeing thermal shutdown on Intel based mobile workstations, the >> shutdown happens during the first trip handle in >> thermal_zone_device_register(): >> kernel:

[PATCH v5 3/5] clk: sifive: Add a driver for the SiFive FU740 PRCI IP block

2020-11-30 Thread Zong Li
Add driver code for the SiFive FU740 PRCI IP block. This IP block handles reset and clock control for the SiFive FU740 device and implements SoC-level clock tree controls and dividers. The link of unmatched as follow, and the U740-C000 manual would be present in the same page as soon.

[PATCH v5 4/5] clk: sifive: Fix the wrong bit field shift

2020-11-30 Thread Zong Li
The clk enable bit should be 31 instead of 24. Signed-off-by: Zong Li Reported-by: Pragnesh Patel --- drivers/clk/sifive/sifive-prci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sifive/sifive-prci.h b/drivers/clk/sifive/sifive-prci.h index

[PATCH v5 2/5] clk: sifive: Use common name for prci configuration

2020-11-30 Thread Zong Li
Use generic name CLK_SIFIVE_PRCI instead of CLK_SIFIVE_FU540_PRCI. This patch is prepared for fu740 support. Signed-off-by: Zong Li Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt Reviewed-by: Pragnesh Patel --- arch/riscv/Kconfig.socs | 2 +- drivers/clk/sifive/Kconfig | 6 +++---

[PATCH v5 5/5] clk: sifive: Add clock enable and disable ops

2020-11-30 Thread Zong Li
From: Pragnesh Patel Add new functions "sifive_prci_clock_enable(), sifive_prci_clock_disable() and sifive_clk_is_enabled()" to enable or disable the PRCI clock Signed-off-by: Pragnesh Patel --- drivers/clk/sifive/fu540-prci.c | 6 +++ drivers/clk/sifive/fu740-prci.c | 9

Re: [PATCH v1 0/9] Enable root to update the blacklist keyring

2020-11-30 Thread Mickaël Salaün
On 30/11/2020 03:40, Jarkko Sakkinen wrote: > On Fri, Nov 20, 2020 at 07:04:17PM +0100, Mickaël Salaün wrote: >> Hi, >> >> This patch series mainly add a new configuration option to enable the >> root user to load signed keys in the blacklist keyring. This keyring is >> useful to "untrust"

RE: [EXT] Re: [v3 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-11-30 Thread Biwen Li
> > On 2020-11-30 03:30, Biwen Li wrote: > > From: Hou Zhiqiang > > > > Add an new IRQ chip declaration for LS1043A and LS1088A > > - compatible "fsl,ls1043a-extirq" for LS1043A, LS1046A. > > - compatible "fsl,ls1088a-extirq" for LS1088A, LS208xA, LX216xA > > > > Signed-off-by: Hou Zhiqiang > >

Re: [PATCH 3/6] dma-iommu: remove __iommu_dma_mmap

2020-11-30 Thread Christoph Hellwig
On Tue, Nov 24, 2020 at 04:38:42PM +0100, Ricardo Ribalda wrote: > From: Christoph Hellwig > > The function has a single caller, so open code it there and take > advantage of the precalculated page count variable. > > Signed-off-by: Christoph Hellwig It turns out this isn't really required

Re: [PATCH 2/6] dma-direct: use __GFP_ZERO in dma_direct_alloc_pages

2020-11-30 Thread Christoph Hellwig
On Tue, Nov 24, 2020 at 04:38:41PM +0100, Ricardo Ribalda wrote: > From: Christoph Hellwig > > Prepare for supporting the DMA_ATTR_NO_KERNEL_MAPPING flag in > dma_alloc_pages. > > Signed-off-by: Christoph Hellwig FYI, this patch should be dropped as I've implemented the functionality

[PATCH 1/4] net: ti: am65-cpsw-nuss: Add devlink support

2020-11-30 Thread Vignesh Raghavendra
AM65 NUSS ethernet switch on K3 devices can be configured to work either in independent mac mode where each port acts as independent network interface (multi mac) or switch mode. Add devlink hooks to provide a way to switch b/w these modes. Signed-off-by: Vignesh Raghavendra ---

[PATCH 0/4] net: ti: am65-cpsw-nuss: Add switchdev driver

2020-11-30 Thread Vignesh Raghavendra
This series adds switchdev support for AM65 CPSW NUSS driver to support multi port CPSW present on J721e and AM64 SoCs. It adds devlink hook to switch b/w switch mode and multi mac mode. Vignesh Raghavendra (4): net: ti: am65-cpsw-nuss: Add devlink support net: ti: am65-cpsw-nuss: Add

[PATCH 2/4] net: ti: am65-cpsw-nuss: Add netdevice notifiers

2020-11-30 Thread Vignesh Raghavendra
Register netdevice notifiers in order to receive notification when individual MAC ports are added to the HW bridge. Signed-off-by: Vignesh Raghavendra --- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 130 ++- drivers/net/ethernet/ti/am65-cpsw-nuss.h | 4 + 2 files changed,

[PATCH] habanalabs: put devices before driver removal

2020-11-30 Thread Oded Gabbay
From: Ofir Bitton Driver never puts its device and control_device objects, hence a memory leak is introduced every driver removal. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/device.c | 16 1 file

[PATCH 4/4] docs: networking: ti: Add driver doc for AM65 NUSS switch driver

2020-11-30 Thread Vignesh Raghavendra
J721e, J7200 and AM64 have multi port switches which can work in multi mac mode and in switch mode. Add documentation explaining how to use different modes. Borrowed from: Documentation/networking/device_drivers/ethernet/ti/cpsw_switchdev.rst Signed-off-by: Vignesh Raghavendra ---

[PATCH 3/4] net: ti: am65-cpsw-nuss: Add switchdev support

2020-11-30 Thread Vignesh Raghavendra
J721e, J7200 and AM64 have multi port switches which can work in multi mac mode and in switch mode. Add support for configuring this HW in switch mode using devlink and switchdev notifiers. Support is similar to existing CPSW switchdev implementation of TI's 32 bit platform like DRA7xx. To

Re: [PATCH v10 00/19] Introduce memory interconnect for NVIDIA Tegra SoCs

2020-11-30 Thread Chanwoo Choi
Hi Dmitry, The v5.10-rc6 was released from linus git tree. Generally, I will send the pull-quest about devfreq to linux-pm.git maintainer after releasing the v5.1-rc7 for the integration test on linux-pm.git. The icc patches in this patch have not yet merged. If these patches are not merged

Re: [PATCH] riscv/mm: Prevent kernel module access user-space memory without uaccess routines

2020-11-30 Thread Christoph Hellwig
> + if (!user_mode(regs) && addr < TASK_SIZE && unlikely(!(regs->status & > SR_SUM))) Please avoid the overly long line.

Re: [PATCH v3] s390/pci: fix CPU address in MSI for directed IRQ

2020-11-30 Thread Niklas Schnelle
On 11/27/20 4:39 PM, Halil Pasic wrote: > On Fri, 27 Nov 2020 11:08:10 +0100 > Niklas Schnelle wrote: > >> >> >> On 11/27/20 9:56 AM, Halil Pasic wrote: >>> On Thu, 26 Nov 2020 18:00:37 +0100 >>> Alexander Gordeev wrote: >>> The directed MSIs are delivered to CPUs whose address is

Re: [PATCH v3 5/6] media: uvcvideo: Use dma_alloc_noncontiguos API

2020-11-30 Thread Christoph Hellwig
On Thu, Nov 26, 2020 at 08:44:50PM +0900, Sergey Senozhatsky wrote: > > + uvc_urb->buffer = vmap(uvc_urb->pages, > > + PAGE_ALIGN(stream->urb_size) >> PAGE_SHIFT, > > + VM_DMA_COHERENT, PAGE_KERNEL); > > This is not related to Ricardo's patch,

Re: [PATCH v3 5/6] media: uvcvideo: Use dma_alloc_noncontiguos API

2020-11-30 Thread Christoph Hellwig
> +#ifndef CONFIG_DMA_NONCOHERENT I think you need to drop this ifdef. This code should work just fine on noncoherent mips and sh platforms. > + uvc_urb->pages = dma_alloc_noncontiguous(dma_dev, stream->urb_size, > + _urb->dma, > +

Re: [PATCH AUTOSEL 5.9 22/33] vhost scsi: add lun parser helper

2020-11-30 Thread Paolo Bonzini
On 29/11/20 22:06, Sasha Levin wrote: On Sun, Nov 29, 2020 at 06:34:01PM +0100, Paolo Bonzini wrote: On 29/11/20 05:13, Sasha Levin wrote: Which doesn't seem to be suitable for stable either...  Patch 3/5 in Why not? It was sent as a fix to Linus. Dunno, 120 lines of new code?  Even if

[PATCH] audit: replace atomic_add_return()

2020-11-30 Thread Yejune Deng
atomic_inc_return() is a little neater Signed-off-by: Yejune Deng --- kernel/audit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/audit.c b/kernel/audit.c index e22f22b..1ffc2e0 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -1779,7 +1779,7 @@ unsigned int

[PATCH 1/3] dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support

2020-11-30 Thread Troy Lee
Adding Aspeed AST2400 and AST2600 binding for edac driver. Signed-off-by: Troy Lee --- .../devicetree/bindings/edac/aspeed-sdram-edac.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt

[git pull] habanalabs fixes for 5.10-rc7

2020-11-30 Thread Oded Gabbay
Hello Greg, This pull request contains two memory leak bug fixes for 5.10-rc7. Details are in the tag. Thanks, Oded The following changes since commit f0992098cadb4c9c6a00703b66cafe604e178fea: speakup: Reject setting the speakup line discipline outside of speakup (2020-11-30 09:20:32 +0100)

[PATCH 2/3] ARM: dts: aspeed: Add AST2600 edac into common devicetree

2020-11-30 Thread Troy Lee
Adding Aspeed AST2600 edac node into common devicetree. Signed-off-by: Troy Lee --- arch/arm/boot/dts/aspeed-g6.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index 97ca743363d7..fb144515f397 100644 ---

Re: [GIT pull] locking/urgent for v5.10-rc6

2020-11-30 Thread Peter Zijlstra
On Mon, Nov 30, 2020 at 08:56:51AM +0100, Peter Zijlstra wrote: > The idea was to flip all of arch_cpu_idle() to not enable interrupts. > > This is suboptimal for things like x86 where arch_cpu_idle() is > basically STI;HLT, but x86 isn't likely to actually use this code path > anyway, given all

Re: [PATCH v10 00/19] Introduce memory interconnect for NVIDIA Tegra SoCs

2020-11-30 Thread Krzysztof Kozlowski
On Mon, Nov 30, 2020 at 05:44:39PM +0900, Chanwoo Choi wrote: > Hi Dmitry, > > The v5.10-rc6 was released from linus git tree. > Generally, I will send the pull-quest about devfreq to linux-pm.git maintainer > after releasing the v5.1-rc7 for the integration test on linux-pm.git. > > The icc

[PATCH 3/3] edac: Supporting AST2400 and AST2600 edac driver

2020-11-30 Thread Troy Lee
Adding AST2400 and AST2600 edac driver support. Signed-off-by: Troy Lee --- drivers/edac/Kconfig | 6 +- drivers/edac/aspeed_edac.c | 114 + 2 files changed, 94 insertions(+), 26 deletions(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig

linux-next: Tree for Nov 30

2020-11-30 Thread Stephen Rothwell
Hi all, Changes since 20201127: The dma-mapping tree lost its build failure. The net-next tree gained a conflict against the net tree. The regmap tree stll had its build failure. The tip tree lost its build failure but gained a conflict against the pci tree. The akpm tree gained conflicts

WARNING in sk_stream_kill_queues (5)

2020-11-30 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:6147c83f Add linux-next specific files for 20201126 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=117c967950 kernel config: https://syzkaller.appspot.com/x/.config?x=9b91566da897c24f dashboard

KASAN: use-after-free Write in kernfs_path_from_node_locked

2020-11-30 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:6174f052 Add linux-next specific files for 20201127 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1225207350 kernel config: https://syzkaller.appspot.com/x/.config?x=79c69cf2521bef9c dashboard

Re: WARNING: filesystem loop5 was created with 512 inodes, the real maximum is 511, mounting anyway

2020-11-30 Thread Dmitry Vyukov
On Mon, Nov 30, 2020 at 5:29 AM Randy Dunlap wrote: > > On 11/27/20 4:32 AM, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:418baf2c Linux 5.10-rc5 > > git tree: upstream > > console output:

Re: [PATCH v10 00/19] Introduce memory interconnect for NVIDIA Tegra SoCs

2020-11-30 Thread Chanwoo Choi
On 11/30/20 5:36 PM, Krzysztof Kozlowski wrote: > On Mon, Nov 30, 2020 at 05:44:39PM +0900, Chanwoo Choi wrote: >> Hi Dmitry, >> >> The v5.10-rc6 was released from linus git tree. >> Generally, I will send the pull-quest about devfreq to linux-pm.git >> maintainer >> after releasing the v5.1-rc7

Re: 5.10 regression caused by: "uas: fix sdev->host->dma_dev": many XHCI swiotlb buffer is full / DMAR: Device bounce map failed errors on thunderbolt connected XHCI controller

2020-11-30 Thread Hans de Goede
Hi, On 11/28/20 6:15 PM, Christoph Hellwig wrote: > Can you give this one-liner a spin? > > diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c > index c6622011d4938c..e889111b55c71d 100644 > --- a/drivers/iommu/intel/iommu.c > +++ b/drivers/iommu/intel/iommu.c > @@ -4007,6

Re: [LKP] Re: [mm/memcg] bd0b230fe1: will-it-scale.per_process_ops -22.7% regression

2020-11-30 Thread Michal Hocko
On Wed 25-11-20 14:24:45, Feng Tang wrote: [...] > I think we finally found the trick :), further debugging shows it > is not related to the alignment inside one cacheline, but the > adjacency of 2 adjacent cacheliens (2N and 2N+1, one pair of 128 bytes). > > For structure mem_cgroup, member

Re: [RFC PATCH v2 3/4] mm,memory_hotplug: Add mhp_supports_memmap_on_memory

2020-11-30 Thread Oscar Salvador
On Fri, Nov 27, 2020 at 04:02:53PM +0100, Michal Hocko wrote: > It should also require a tunable (kernel parameter for now but maybe we > will need a more fine grained control later) to enable this explicitly. > Earlier discussions have pointed out that allocating vmemmap from each > section can

[GIT PULL] vhost,vdpa: bugfixes

2020-11-30 Thread Michael S. Tsirkin
The following changes since commit 418baf2c28f3473039f2f7377760bd8f6897ae18: Linux 5.10-rc5 (2020-11-22 15:36:08 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to

[PATCH] infiniband: i40iw: replace atomic_add_return()

2020-11-30 Thread Yejune Deng
atomic_inc_return() is a little neater Signed-off-by: Yejune Deng --- drivers/infiniband/hw/i40iw/i40iw_cm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/i40iw/i40iw_cm.c b/drivers/infiniband/hw/i40iw/i40iw_cm.c index 3053c345..26e92ae 100644

[PATCH] clk: renesas: r9a06g032: Drop __packed for portability

2020-11-30 Thread Geert Uytterhoeven
The R9A06G032 clock driver uses an array of packed structures to reduce kernel size. However, this array contains pointers, which are no longer aligned naturally, and cannot be relocated on PPC64. Hence when compile-testing this driver on PPC64 with CONFIG_RELOCATABLE=y (e.g. PowerPC

Re: [PATCH 17/17] realtek: rtw88: pci: Add prototypes for .probe, .remove and .shutdown

2020-11-30 Thread Lee Jones
On Mon, 30 Nov 2020, Pkshih wrote: > > > > -Original Message- > > From: Lee Jones [mailto:lee.jo...@linaro.org] > > Sent: Friday, November 27, 2020 4:57 PM > > To: Pkshih > > Cc: Tony Chuang; kv...@codeaurora.org; linux-kernel@vger.kernel.org; > > linux-wirel...@vger.kernel.org; > >

Re: [PATCH v1 2/3] drm/tiny: Add driver for ili9341 with parallel bus

2020-11-30 Thread kernel test robot
/20201130-142812 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 09162bc32c880a791c6c0668ce0745cf7958f576 config: arm64-randconfig-r024-20201130 (attached as .config) compiler: aarch64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https

RE: [RESEND PATCH V20 3/3] Input: new da7280 haptic driver

2020-11-30 Thread Roy Im
> On Mon, Nov 30, 2020 4:55 PM, Dmitry Torokhov wrote: > On Thu, Nov 26, 2020 at 01:07:39AM +0900, Roy Im wrote: > > Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple > > mode and integrated waveform memory and wideband support. > > It communicates via an I2C bus to the

[PATCH v2] clk: renesas: r9a06g032: Drop __packed for portability

2020-11-30 Thread Geert Uytterhoeven
The R9A06G032 clock driver uses an array of packed structures to reduce kernel size. However, this array contains pointers, which are no longer aligned naturally, and cannot be relocated on PPC64. Hence when compile-testing this driver on PPC64 with CONFIG_RELOCATABLE=y (e.g. PowerPC

Re: [PATCH v3] s390/pci: fix CPU address in MSI for directed IRQ

2020-11-30 Thread Halil Pasic
On Mon, 30 Nov 2020 09:30:33 +0100 Niklas Schnelle wrote: > I'm not really familiar, with it but I think this is closely related > to what I asked Bernd Nerz. I fear that if CPUs go away we might already > be in trouble at the firmware/hardware/platform level because the CPU Address > is >

Re: [PATCH] powerpc: fix the allyesconfig build

2020-11-30 Thread Geert Uytterhoeven
Hi Stephen, On Sat, Nov 28, 2020 at 2:28 AM Stephen Rothwell wrote: > There are 2 drivers that have arrays of packed structures that contain > pointers that end up at unaligned offsets. These produce warnings in > the PowerPC allyesconfig build like this: > > WARNING: 148 bad relocations >

Re: [PATCH] irqchip/alpine-msi: Fix freeing of interrupts on allocation error path

2020-11-30 Thread Antoine Tenart
Hello Marc, Quoting Marc Zyngier (2020-11-29 14:55:25) > The alpine-msi driver has an interesting allocation error handling, > where it frees the same interrupts repeatedly. Hilarity follows. That's interesting indeed... > This code is probably never executed, but let's fix it nonetheless. > >

Re: [PATCH] keys: remove trailing semicolon in macro definition

2020-11-30 Thread David Howells
Jarkko Sakkinen wrote: > I'm in-between whether this is worth of merging. The commit message > does not help with that decision too much. It is worth merging. It might cause problems for someone using it in the body of an if-statement, say, if they don't put braces in, but do put a semicolon

Re: [PATCH 8/8] net: ethernet: ibm: ibmvnic: Fix some kernel-doc issues

2020-11-30 Thread Lee Jones
On Sun, 29 Nov 2020, Andrew Lunn wrote: > On Thu, Nov 26, 2020 at 01:38:53PM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > from drivers/net/ethernet/ibm/ibmvnic.c:35: > > inlined from ‘handle_vpd_rsp’ at drivers/net/ethernet/ibm/ibmvnic.c:4124:3: > >

Re: [PATCH 1/8] net: ethernet: smsc: smc91x: Demote non-conformant kernel function header

2020-11-30 Thread Lee Jones
On Sun, 29 Nov 2020, Andrew Lunn wrote: > On Thu, Nov 26, 2020 at 01:38:46PM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/net/ethernet/smsc/smc91x.c:2200: warning: Function parameter or > > member 'dev' not described in 'try_toggle_control_gpio'

Re: [PATCH] vdpa/mlx5: Use random MAC for the vdpa net instance

2020-11-30 Thread Michael S. Tsirkin
On Mon, Nov 30, 2020 at 08:27:46AM +0200, Eli Cohen wrote: > On Sun, Nov 29, 2020 at 03:08:22PM -0500, Michael S. Tsirkin wrote: > > On Sun, Nov 29, 2020 at 08:43:51AM +0200, Eli Cohen wrote: > > > We should not try to use the VF MAC address as that is used by the > > > regular (e.g. mlx5_core)

Re: [RFC 1/2] dt-bindings: thermal: sprd: Add virtual thermal documentation

2020-11-30 Thread gao yunxiao
Hi Daniel Thank you for your the new information I have a question trouble to you We should choose which per-core thermal zone as the IPA's input reference temperature in the current kernel version? thank you. On 27/11/2020, Lukasz Luba wrote: > > > On 11/27/20 1:26 PM, Daniel Lezcano wrote:

Re: [PATCH 5/8] net: ethernet: ibm: ibmvnic: Fix some kernel-doc misdemeanours

2020-11-30 Thread Lee Jones
On Sun, 29 Nov 2020, Andrew Lunn wrote: > Hi Lee > > > /** > > * build_hdr_data - creates L2/L3/L4 header data buffer > > - * @hdr_field - bitfield determining needed headers > > - * @skb - socket buffer > > - * @hdr_len - array of header lengths > > - * @tot_len - total length of data > > +

Loan

2020-11-30 Thread Juanita Freer Calderón
-- Are YOU in need of finance this COVID-19 times? You have been pre-approved for a loan. Email i...@acetrakit.com You can also visit our website GoodLuck Please do not repond to this message contact the email above for further assistance Thank you

[PATCH 0/4] Add random IR and AUD encoder controls

2020-11-30 Thread Stanimir Varbanov
Hi, Here we introduce two new v4l2 controls for encoders: * V4L2_CID_MPEG_VIDEO_RANDOM_INTRA_REFRESH_MB * V4L2_CID_MPEG_VIDEO_AU_DELIMITER The patchset also includes implementation in Venus driver. Comments are welcome! regards, Stan Stanimir Varbanov (4): media: v4l2-ctrls: Add random

[PATCH 3/4] media: v4l2-ctrls: Add control for AUD generation

2020-11-30 Thread Stanimir Varbanov
Add a control to enable inserting of AUD NALU into encoded bitstream. Signed-off-by: Stanimir Varbanov --- Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 5 + drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++ include/uapi/linux/v4l2-controls.h

[PATCH 2/4] venus: venc: Add support for intra-refresh modes

2020-11-30 Thread Stanimir Varbanov
Add support for random intra-refresh mode and number of macroblocks. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.h | 2 ++ drivers/media/platform/qcom/venus/venc.c | 12 drivers/media/platform/qcom/venus/venc_ctrls.c | 10 +- 3

[PATCH 4/4] venus: venc: Add support for AUD NALU control

2020-11-30 Thread Stanimir Varbanov
Add support for Access Unit Delimiter control into encoder. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.h | 1 + drivers/media/platform/qcom/venus/venc.c | 14 ++ drivers/media/platform/qcom/venus/venc_ctrls.c | 8 +++- 3 files

[PATCH v3] Currently checkpatch warns us if there is no 'Signed-off-by' line for the patch.

2020-11-30 Thread Aditya Srivastava
E.g., running checkpatch on commit 9ac060a708e0 ("leaking_addresses: Completely remove --version flag") reports this error: ERROR: Missing Signed-off-by: line(s) Provide a fix by adding a Signed-off-by line corresponding to the author of the patch before the patch separator line. Also, avoid

[PATCH resend] clk: si5351: Wait for bit clear after PLL reset

2020-11-30 Thread Sascha Hauer
Documentation states that SI5351_PLL_RESET_B and SI5351_PLL_RESET_A bits are self clearing bits, so wait until they are cleared before continuing. This fixes a case when the clock doesn't come up properly after a PLL reset. It worked properly when the frequency was below 900MHz, but with 900MHz it

[PATCH 1/4] media: v4l2-ctrls: Add random intra-refresh control

2020-11-30 Thread Stanimir Varbanov
Add a control to configure number of macroblocks for random intra-refresh mode. Signed-off-by: Stanimir Varbanov --- Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 6 ++ drivers/media/v4l2-core/v4l2-ctrls.c | 1 + include/uapi/linux/v4l2-controls.h

Re: [RFC PATCH v2 2/4] mm,memory_hotplug: Allocate memmap from the added memory range

2020-11-30 Thread Oscar Salvador
On Fri, Nov 27, 2020 at 04:15:36PM +0100, Michal Hocko wrote: > > Vmemap page tables can map arbitrary memory. > > That means that we can simply use the beginning of each memory section and > > map struct pages there. > > Did you mean each memory block rather than section? Yes, sorry, I did not

[git pull] habanalabs pull request for kernel 5.11-rc1

2020-11-30 Thread Oded Gabbay
Hello Greg, This is habanalabs pull request for the merge window of kernel 5.11. It contains many changes, new features, support for new firmware. Details are in the tag. Thanks, Oded The following changes since commit 3473065927a877e0a15c4d4b64f245ccaba24e3f: Merge 5.10-rc6 into

Re: [PATCH v2 4/5] USB: gadget: f_fs: add SuperSpeed Plus support

2020-11-30 Thread Jack Pham
On Fri, Nov 27, 2020 at 03:05:58PM +0100, Greg Kroah-Hartman wrote: > From: "taehyun.cho" > > Setup the descriptors for SuperSpeed Plus for f_fs. This allows the > gadget to work properly without crashing at SuperSpeed rates. > > Cc: Felipe Balbi > Cc: stable > Signed-off-by: taehyun.cho >

[PATCH v3] checkpatch: add fix option for MISSING_SIGN_OFF

2020-11-30 Thread Aditya Srivastava
Currently checkpatch warns us if there is no 'Signed-off-by' line for the patch. E.g., running checkpatch on commit 9ac060a708e0 ("leaking_addresses: Completely remove --version flag") reports this error: ERROR: Missing Signed-off-by: line(s) Provide a fix by adding a Signed-off-by line

Re: [PATCH v4 1/2] ARM: dts: r8a7742-iwg21d-q7-dbcm-ca: Separate out ov5640 nodes

2020-11-30 Thread Geert Uytterhoeven
On Thu, Nov 26, 2020 at 3:20 PM Geert Uytterhoeven wrote: > From: Lad Prabhakar > > The camera daughter board can also be connected to 8-bit ov7725 sensors, > so in preparation for configurable option to choose depending on the > camera's connected separate out the ov5640 nodes in a dtsi file. >

[RFC PATCH v1] scsi: ufs: Remove pre-defined initial VCC voltage values

2020-11-30 Thread Stanley Chu
UFS specficication allows different VCC configurations for UFS devices, for example, (1). 2.70V - 3.60V (By default) (2). 1.70V - 1.95V (Activated if "vcc-supply-1p8" is declared in device tree) (3). 2.40V - 2.70V (Supported since UFS 3.x) With

Re: [PATCH] scsi: qla2xxx: remove trailing semicolon in macro definition

2020-11-30 Thread Daniel Wagner
Hi Tom, On Fri, Nov 27, 2020 at 10:27:41AM -0800, t...@redhat.com wrote: > From: Tom Rix > > The macro use will already have a semicolon. > > Signed-off-by: Tom Rix Reviewed-by: Daniel Wagner > --- > drivers/scsi/qla2xxx/qla_def.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH/RFC] dt-bindings: pci: rcar-pci-ep: Document missing interrupts property

2020-11-30 Thread Geert Uytterhoeven
On Thu, Nov 26, 2020 at 3:20 PM Geert Uytterhoeven wrote: > The R-Car PCIe controller does not use interrupts when configured > for endpoint mode, hence the bindings do not document the interrupt > property. However, all DTS files provide interrupts properties, and > thus fail to validate. > >

Re: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-11-30 Thread Heinrich Schuchardt
On 11/30/20 9:16 AM, ivanhu wrote: Hi Heinrich, Thanks for the patch. It looks good to me, but I noticed that the runtime_supported_mask was introduced after 5.7-rc1. Maybe we should add the kernel version checking for the old kernels. This is a kernel patch. Why should we check the kernel

Re: [PATCH v3 1/9] arm64: dts: ls1028a: fix ENETC PTP clock input

2020-11-30 Thread Shawn Guo
On Sun, Nov 08, 2020 at 07:51:05PM +0100, Michael Walle wrote: > On the LS1028A the ENETC reference clock is connected to 4th HWA output, > see Figure 7 "Clock subsystem block diagram". > > The PHC may run with a wrong frequency. ptp_qoriq_auto_config() will read > the clock speed of the clock

Re: [PATCH v3 2/9] arm64: dts: ls1028a: fix FlexSPI clock input

2020-11-30 Thread Shawn Guo
On Sun, Nov 08, 2020 at 07:51:06PM +0100, Michael Walle wrote: > On the LS1028A the FlexSPI clock is connected to the first HWA output, > see Figure 7 "Clock subsystem block diagram". > > Fixes: c77fae5ba09a ("arm64: dts: ls1028a: Add FlexSPI support") > Signed-off-by: Michael Walle Applied,

[PATCH] cpuidle: Select polling interval based on a c-state with a longer target residency

2020-11-30 Thread Mel Gorman
It was noted that a few workloads that idle rapidly regressed when commit 36fcb4292473 ("cpuidle: use first valid target residency as poll time") was merged. The workloads in question were heavy communicators that idle rapidly and were impacted by the c-state exit latency as the active CPUs were

Re: [PATCH] arm64: dts: qcom: c630: Define eDP bridge and panel

2020-11-30 Thread Shawn Guo
On Fri, Nov 27, 2020 at 09:42:31PM -0600, Bjorn Andersson wrote: > The Lenovo Yoga C630 drives the Boe NV133FHM-N61 eDP display from DSI > using a TI SN65DSI86 bridge chip on I2C 10. Define the bridge and eDP > panel and enable the display blocks. > > Signed-off-by: Bjorn Andersson Acked-by:

Re: [PATCH 0/9] keys: Miscellaneous fixes

2020-11-30 Thread David Howells
Jarkko Sakkinen wrote: > I think that looks good, thank you. I'm sending PR next week. Should I > bundle those to that? I've updated the branch to include an ack from you, plus added the semicolon-removal patch and a #include-removal patch. You can try sending them on, though I don't think any

[tip: irq/urgent] MAINTAINERS: Move Jason Cooper to CREDITS

2020-11-30 Thread tip-bot2 for Marc Zyngier
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 509920aee72ae23235615a009c5148cdb38794c3 Gitweb: https://git.kernel.org/tip/509920aee72ae23235615a009c5148cdb38794c3 Author:Marc Zyngier AuthorDate:Sat, 28 Nov 2020 10:37:07 Committer:

Re: [PATCH] net: flow_offload: remove trailing semicolon in macro definition

2020-11-30 Thread Edward Cree
On 27/11/2020 19:37, t...@redhat.com wrote: > From: Tom Rix > > The macro use will already have a semicolon. > > Signed-off-by: Tom Rix > --- > net/core/flow_offload.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/core/flow_offload.c b/net/core/flow_offload.c >

Re: [PATCH 3/3] edac: Supporting AST2400 and AST2600 edac driver

2020-11-30 Thread Stefan Schaeckeler (sschaeck)
Hello Troy, > Adding AST2400 and AST2600 edac driver support. > > Signed-off-by: Troy Lee > --- > drivers/edac/Kconfig | 6 +- > drivers/edac/aspeed_edac.c | 114 + > 2 files changed, 94 insertions(+), 26 deletions(-) Uh, there are quite some

Re: [PATCH 6/8] lazy tlb: shoot lazies, a non-refcounting lazy tlb option

2020-11-30 Thread Peter Zijlstra
On Sun, Nov 29, 2020 at 12:16:26PM -0800, Andy Lutomirski wrote: > On Sat, Nov 28, 2020 at 7:54 PM Andy Lutomirski wrote: > > > > On Sat, Nov 28, 2020 at 8:02 AM Nicholas Piggin wrote: > > > > > > On big systems, the mm refcount can become highly contented when doing > > > a lot of context

Hello

2020-11-30 Thread Sunie Wendy
Hello I sent a letter to your mail but got no reply from you. Did you receive my previous mail please i wait to read your mail soon on my email address at ( mrs.suniewen...@gmail.com ) respond to me

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

2020-11-30 Thread Thomas Gleixner
On Fri, Nov 27 2020 at 13:54, Andy Shevchenko wrote: >> I fixed it up (see below) and can carry the fix as necessary. This >> is now fixed as far as linux-next is concerned, but any non trivial >> conflicts should be mentioned to your upstream maintainer when your tree >> is submitted for merging.

Re: [PATCH 6/8] lazy tlb: shoot lazies, a non-refcounting lazy tlb option

2020-11-30 Thread Peter Zijlstra
On Sat, Nov 28, 2020 at 07:54:57PM -0800, Andy Lutomirski wrote: > Version (b) seems fairly straightforward to implement -- add RCU > protection and a atomic_t special_ref_cleared (initially 0) to struct > mm_struct itself. After anyone clears a bit to mm_cpumask (which is > already a barrier),

Re: [PATCH] vdpa/mlx5: Use random MAC for the vdpa net instance

2020-11-30 Thread Eli Cohen
On Mon, Nov 30, 2020 at 04:00:51AM -0500, Michael S. Tsirkin wrote: > On Mon, Nov 30, 2020 at 08:27:46AM +0200, Eli Cohen wrote: > > On Sun, Nov 29, 2020 at 03:08:22PM -0500, Michael S. Tsirkin wrote: > > > On Sun, Nov 29, 2020 at 08:43:51AM +0200, Eli Cohen wrote: > > > > We should not try to use

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

2020-11-30 Thread Sakari Ailus
Hi Paul, Thanks for the update. I have a few comments on the driver, too. On Sat, Nov 28, 2020 at 03:33:50PM +0100, Paul Kocialkowski wrote: > 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

Re: [PATCH] arm64: dts: ls1028a: add optee node

2020-11-30 Thread Shawn Guo
On Sun, Nov 15, 2020 at 11:53:14PM +0100, Michael Walle wrote: > Add the optee node which can either be enabled by a specific board or by > the bootloader. > > Signed-off-by: Michael Walle Applied, thanks.

[PATCH] media: vidtv: fix read after free

2020-11-30 Thread Cengiz Can
`vidtv_channel_si_destroy` function has a call to `vidtv_psi_pat_table_destroy` that frees Program Association Table. However it is followed by a loop that iterates over the count of Program Map Tables. This obviously accesses an invalid memory. Eliminate this by making a copy of num_pmt

Re: [PATCH 6/8] lazy tlb: shoot lazies, a non-refcounting lazy tlb option

2020-11-30 Thread Peter Zijlstra
On Sat, Nov 28, 2020 at 07:54:57PM -0800, Andy Lutomirski wrote: > This means that mm_cpumask operations won't need to be full barriers > forever, and we might not want to take the implied full barriers in > set_bit() and clear_bit() for granted. There is no implied full barrier for those ops.

Re: [PATCH] arm64: dts: freescale: sl28: combine SPI MTD partitions

2020-11-30 Thread Shawn Guo
On Sun, Nov 15, 2020 at 11:54:35PM +0100, Michael Walle wrote: > The upstream port, doesn't really follow the vendor partitioning. The > bootloader partition has one U-Boot FIT image containing all needed > bits and pieces. Even today the bootloader is already larger than the > current

Re: [PATCH v4 17/25] coresight: etm4x: Use TRCDEVARCH for component discovery

2020-11-30 Thread Suzuki K Poulose
On 11/27/20 6:28 PM, Mathieu Poirier wrote: On Thu, Nov 19, 2020 at 04:45:39PM +, Suzuki K Poulose wrote: We have been using TRCIDR1 for detecting the ETM version. This is in preparation for the future IP support. Cc: Mike Leach Reviewed-by: Suzuki K Poulose You have reviewed your own

Re: [PATCH v2] ARM: mxs: Add serial number support for i.MX23, i.MX28 SoCs

2020-11-30 Thread Shawn Guo
On Mon, Nov 16, 2020 at 07:58:26PM +0300, Ivan Zaentsev wrote: > i.MX23 and i.MX28 SoCs unique identifiers are factory-programmed > in On-Chip OTP memory. i.MX28's 64-bit unique id is in > HW_OCOTP_OPS2:HW_OCOTP_OPS3 (see MCIMX28 Ref. Man., sec. 20.4.22-23). > > i.MX23 provides 32-bit long unique

  1   2   3   4   5   6   7   8   9   10   >