Re: [REPORT] possible circular locking dependency when booting a VM on arm64 host

2020-07-16 Thread Marc Zyngier
On 2020-07-16 01:58, Salil Mehta wrote: From: Marc Zyngier [mailto:m...@kernel.org] Sent: Wednesday, July 15, 2020 5:09 PM To: yuzenghui Hi Zenghui, On 2020-07-09 11:41, Zenghui Yu wrote: > Hi All, > > I had seen the following lockdep splat when booting a guest on my > Kunpeng 920 with GICv4 e

Re: kernel oops in 'typec_ucsi' due to commit 'drivers property: When no children in primary, try secondary'

2020-07-16 Thread Greg KH
On Thu, Jul 16, 2020 at 11:17:03AM +0300, Maxim Levitsky wrote: > Hi! > > Few days ago I bisected a regression on 5.8 kernel: > > I have nvidia rtx 2070s and its USB type C port driver (which is open source) Is that driver merged into the tree? If not, do you have a pointer to it somewhere? th

Re: [PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code

2020-07-16 Thread Eli Cohen
On Thu, Jul 16, 2020 at 04:13:21PM +0800, Jason Wang wrote: > > On 2020/7/16 下午3:23, Eli Cohen wrote: > >Add code to support registering guest's memory region for the device. > > > It would be better to use "userspace" memory here since vhost-vDPA > could be used by e.g dpdk application on the h

Re: [PATCH v5 01/18] nitro_enclaves: Add ioctl interface definition

2020-07-16 Thread Stefan Hajnoczi
On Wed, Jul 15, 2020 at 10:45:23PM +0300, Andra Paraschiv wrote: > + * A NE CPU pool has be set before calling this function. The pool can be set s/has be/has to be/ Thanks, this looks good! Reviewed-by: Stefan Hajnoczi signature.asc Description: PGP signature

[TEGRA194_CPUFREQ PATCH v6.1 3/3] cpufreq: Add Tegra194 cpufreq driver

2020-07-16 Thread Sumit Gupta
Add support for CPU frequency scaling on Tegra194. The frequency of each core can be adjusted by writing a clock divisor value to a MSR on the core. The range of valid divisors is queried from the BPMP. Signed-off-by: Mikko Perttunen Signed-off-by: Sumit Gupta --- drivers/cpufreq/Kconfig.arm

Re: [PATCH] power: fix duplicated words in bq2415x_charger.h

2020-07-16 Thread Pali Rohár
On Wednesday 15 July 2020 18:30:01 Randy Dunlap wrote: > From: Randy Dunlap > > Drop the doubled word "for". > Change "It it" to "If it". > > Signed-off-by: Randy Dunlap > Cc: Pali Rohár > Cc: Sebastian Reichel > Cc: linux...@vger.kernel.org Thanks! Acked-by: Pali Rohár > --- > include/l

Re: [PATCH v30 05/16] leds: multicolor: Introduce a multicolor class definition

2020-07-16 Thread Pavel Machek
Hi! First, let's substitute multi.color -> multicolor globally, LEDS_CLASS_MULTI_COLOR is most visible example of this. Please also decide whether it is MultiColor or multicolor, and make it consistent. > Introduce a multicolor class that groups colored LEDs > within a LED node. > > The multi co

Re: [PATCH RESEND] lockdep: Move list.h inclusion into lockdep.h

2020-07-16 Thread Will Deacon
On Thu, Jul 16, 2020 at 04:36:50PM +1000, Herbert Xu wrote: > Currently lockdep_types.h includes list.h without actually using any > of its macros or functions. All it needs are the type definitions > which were moved into types.h long ago. This potentially causes > inclusion loops because both a

[PATCH v2] watchdog: initialize device before misc_register

2020-07-16 Thread krzysztof.sob...@nokia.com
watchdog: initialize device before misc_register When watchdog device is being registered, it calls misc_register that makes watchdog available for systemd to open. This is a data race scenario, because when device is open it may still have device struct not initialized - this in turn causes a cr

Re: [PATCH] pinctrl: aspeed: Improve debug output

2020-07-16 Thread Linus Walleij
On Wed, Jul 1, 2020 at 5:00 AM Joel Stanley wrote: > From: Andrew Jeffery > > We need to iterate over each pin in a group for a function and > disable higher priority mux configurations on the pin before finally > muxing the relevant function's signal. With the current debug output it > is hard

[PATCH v4 1/2] dt-bindings: phy: Add UniPhier AHCI PHY description

2020-07-16 Thread Kunihiko Hayashi
Add DT bindings for PHY interface built into ahci controller implemented in UniPhier SoCs. Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- .../bindings/phy/socionext,uniphier-ahci-phy.yaml | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 Documenta

Re: [PATCH] pinctrl: aspeed: Describe the heartbeat function on ball Y23

2020-07-16 Thread Linus Walleij
On Wed, Jul 1, 2020 at 5:08 AM Joel Stanley wrote: > From: Andrew Jeffery > > The default pinmux configuration for Y23 is to route a heartbeat to > drive a LED. Previous revisions of the AST2600 datasheet did not include > a description of this function. > > Fixes: 2eda1cdec49f ("pinctrl: aspeed

[PATCH v4 2/2] phy: socionext: Add UniPhier AHCI PHY driver support

2020-07-16 Thread Kunihiko Hayashi
Add a driver for PHY interface built into ahci controller implemented in UniPhier SoCs. This supports PXs2 and PXs3 SoCs. Signed-off-by: Kunihiko Hayashi --- drivers/phy/socionext/Kconfig | 10 + drivers/phy/socionext/Makefile| 1 + drivers/phy/socionext/phy-uniphier-a

[PATCH v4 0/2] Add new UniPhier AHCI PHY driver

2020-07-16 Thread Kunihiko Hayashi
This series adds support for AHCI PHY interface implemented in Socionext UniPhier SoCs. This driver supports PXs2 and PXs3 SoCs. Changes since v3: - Eliminate a meaningless blank line and a line break - Fix misspelling Changes since v2: - Adjust copyright year - Add helper for enabling the contro

Re: [PATCHv2] mm: Fix warning in move_normal_pmd()

2020-07-16 Thread Naresh Kamboju
On Thu, 16 Jul 2020 at 04:49, Linus Torvalds wrote: > > On Wed, Jul 15, 2020 at 4:04 PM Linus Torvalds > wrote: > > > > It *might* be as simple as this incremental thing on top > > No, it needs to be > > + if (*old_addr + *len < old->vm_end) > + return; > > in try_to_align_end

Re: [PATCH] binder: Don't use mmput() from shrinker function.

2020-07-16 Thread Michal Hocko
On Thu 16-07-20 08:36:52, Tetsuo Handa wrote: > syzbot is reporting that mmput() from shrinker function has a risk of > deadlock [1]. Don't start synchronous teardown of mm when called from > shrinker function. Please add the actual lock dependency to the changelog. Anyway is this deadlock real?

Linux 5.7.9

2020-07-16 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.7.9 kernel. All users of the 5.7 kernel series must upgrade. The updated 5.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.7.y and can be browsed at the normal kernel.org git web browser:

Linux 5.4.52

2020-07-16 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.52 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.133

2020-07-16 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index c46ce2ef8b57..a17c413ee5d6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 132 +SUBLEVEL = 133 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arc/include/asm/elf.h

Linux 4.19.133

2020-07-16 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.133 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

[PATCH] genirq/irqdomain: Remove redundant NULL pointer check on fwnode

2020-07-16 Thread Zenghui Yu
The is_fwnode_irqchip() helper will check if the fwnode_handle is empty. There is no need to perform a redundant check outside of it. Signed-off-by: Zenghui Yu --- kernel/irq/irqdomain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdo

[PATCH -next] scsi: snic: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/scsi/snic/snic_debugfs.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/scsi/snic/snic_debugfs.c b/drivers/scsi/snic/snic_debugfs.c ind

Re: [PATCH v4 6/7] iommu/vt-d: Warn on out-of-range invalidation address

2020-07-16 Thread Auger Eric
Hi Jacob, On 7/7/20 2:12 AM, Jacob Pan wrote: > For guest requested IOTLB invalidation, address and mask are provided as > part of the invalidation data. VT-d HW silently ignores any address bits > below the mask. SW shall also allow such case but give warning if > address does not align with the

[PATCH -next] scsi: qla2xxx: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/scsi/qla2xxx/qla_dfs.c | 69 +- 1 file changed, 9 insertions(+), 60 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_dfs.c b/drivers/scsi/qla2xx

[PATCH -next] scsi: hisi_sas: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/scsi/hisi_sas/hisi_sas_main.c | 137 ++ 1 file changed, 10 insertions(+), 127 deletions(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/s

[PATCH -next] hsr: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- net/hsr/hsr_debugfs.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/net/hsr/hsr_debugfs.c b/net/hsr/hsr_debugfs.c index d994c83b0..ed7f53475 100644 --- a/net/hsr/hsr

Re: [PATCH V3] arm64: dts: Introduce r8a774a1-beacon-rzg2m-kit

2020-07-16 Thread Geert Uytterhoeven
On Wed, Jul 15, 2020 at 4:06 PM Adam Ford wrote: > Beacon EmebeddedWorks, formerly Logic PD is introducing a new > SOM and development kit based on the RZ/G2M SoC from Renesas. > > The SOM supports eMMC, WiFi and Bluetooth, along with a Cat-M1 > cellular radio. > > The Baseboard has Ethernet, USB,

[PATCH -next] debugobjects: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- lib/debugobjects.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 5d2bbfc55..916a5c492 100644 --- a/lib/debugobjects.c +++ b/lib/

[PATCH -next] drivers: visorbus: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- drivers/visorbus/visorbus_main.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/visorbus/visorbus_main.c b/drivers/visorbus/visorbus_main.c index a0b8142bd..b5417f1e7

Re: [PATCH v4 1/8] irqchip/loongson-htpic: Remove redundant kfree operation

2020-07-16 Thread Markus Elfring
> In the function htpic_of_init(), when kzalloc htpic fails, it should > return -ENOMEM directly, no need to execute "goto" to kfree. Would another imperative wording be preferred for the commit message? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/

Re: kernel oops in 'typec_ucsi' due to commit 'drivers property: When no children in primary, try secondary'

2020-07-16 Thread Maxim Levitsky
On Thu, 2020-07-16 at 10:28 +0200, Greg KH wrote: > On Thu, Jul 16, 2020 at 11:17:03AM +0300, Maxim Levitsky wrote: > > Hi! > > > > Few days ago I bisected a regression on 5.8 kernel: > > > > I have nvidia rtx 2070s and its USB type C port driver (which is open > > source) > > Is that driver me

Re: [PATCHv2] mm: Fix warning in move_normal_pmd()

2020-07-16 Thread Kirill A. Shutemov
On Thu, Jul 16, 2020 at 12:53:23PM +0530, Naresh Kamboju wrote: > On Thu, 16 Jul 2020 at 12:07, Naresh Kamboju > wrote: > > > > On Thu, 16 Jul 2020 at 04:49, Linus Torvalds > > wrote: > > > > > > On Wed, Jul 15, 2020 at 4:04 PM Linus Torvalds > > > wrote: > > > > > > > > It *might* be as simple

Re: [PATCH v16 00/22] per memcg lru_lock

2020-07-16 Thread Alex Shi
Hi All, This version get tested and passed Hugh Dickin's testing as well as v15/v14. Thanks, Hugh! Anyone like to give any comments or concerns for the patches? Thanks Alex 在 2020/7/11 上午8:58, Alex Shi 写道: > The new version which bases on v5.8-rc4. Add 2 more patchs: > 'mm/thp: remove code pa

Re: [PATCH 12/14] spi: spi-at91-usart: Make use of the defined 'struct of_device_id'

2020-07-16 Thread Alexandre Belloni
On 16/07/2020 08:56:06+0100, Lee Jones wrote: > On Wed, 15 Jul 2020, Alexandre Belloni wrote: > > > Hi Lee, > > > > On 15/07/2020 16:06:30+0100, Lee Jones wrote: > > > It's there so why not use it. > > > > > > > Is that the correct resolution? Isn't the proper thing to do simply > > removing at

Re: [EXT] Re: [PATCH v2 net-next 03/10] net: mscc: ocelot: allocated rules to different hardware VCAP TCAMs by chain index

2020-07-16 Thread Joergen Andreasen
Hi Xiaoliang, The 07/16/2020 06:49, Xiaoliang Yang wrote: > Hi Allan, > > On 11.06.2002 2:18, Allan W. Nielsen wrote: > >> >> Here is my initial suggestion for an alternative chain-schema: > >> >> > >> >> Chain 0: The default chain - today this is in IS2. If we > >> >> proceed > >> >>

Re: [RFC PATCH 4/7] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-07-16 Thread Peter Zijlstra
On Wed, Jul 15, 2020 at 10:18:20PM -0700, Andy Lutomirski wrote: > > On Jul 15, 2020, at 9:15 PM, Nicholas Piggin wrote: > > CPU0 CPU1 > > 1. user stuff > > a. membarrier() 2. enter kernel > > b. read rq->curr 3. rq->curr switched to kt

Re: [Freedreno] [PATCH v9 4/7] iommu/arm-smmu: Add a pointer to the attached device to smmu_domain

2020-07-16 Thread Will Deacon
On Mon, Jul 13, 2020 at 11:19:17AM -0600, Jordan Crouse wrote: > On Mon, Jul 13, 2020 at 04:09:02PM +0100, Will Deacon wrote: > > On Fri, Jun 26, 2020 at 02:00:38PM -0600, Jordan Crouse wrote: > > > diff --git a/drivers/iommu/arm-smmu.h b/drivers/iommu/arm-smmu.h > > > index 5f2de20e883b..d33cfe26b

Re: [PATCH v4 0/6] Improvements for MAX77620 GPIO driver

2020-07-16 Thread Linus Walleij
On Thu, Jul 9, 2020 at 7:12 PM Dmitry Osipenko wrote: > This series addresses a problem that I discovered on Nexus 7 device where > GPIO interrupts may be left enabled after bootloader and the driver isn't > prepared to this. It also makes a small improvements to the code, fixes the > non-release

[PATCH -next] usb: udc: lpc32xx: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- drivers/usb/gadget/udc/lpc32xx_udc.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/usb/gadget/udc/lpc32xx_udc.c b/drivers/usb/gadget/udc/lpc32xx_udc.c index e7

Re: [PATCH v5 4/6] proc: allow access in init userns for map_files with CAP_CHECKPOINT_RESTORE

2020-07-16 Thread Christian Brauner
On Wed, Jul 15, 2020 at 04:49:52PM +0200, Adrian Reber wrote: > Opening files in /proc/pid/map_files when the current user is > CAP_CHECKPOINT_RESTORE capable in the root namespace is useful for > checkpointing and restoring to recover files that are unreachable via > the file system such as delete

[PATCH -next] soc: ti: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- drivers/soc/ti/knav_dma.c| 16 +++- drivers/soc/ti/knav_qmss_queue.c | 14 ++ 2 files changed, 5 insertions(+), 25 deletions(-) diff --git a/drivers/soc/ti/knav_dma.c b/drivers

linux-next: Tree for Jul 16

2020-07-16 Thread Stephen Rothwell
Hi all, Changes since 20200715: My fixes tree contains: dbf24e30ce2e ("device_cgroup: Fix RCU list debugging warning") The net-next tree gained a conflict against the bpf tree. The block tree gained lost its build failure and runtime problem. The security tree still had its build failure fo

[PATCH -next] sh: intc: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/sh/intc/virq-debugfs.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/sh/intc/virq-debugfs.c b/drivers/sh/intc/virq-debugfs.c index a2

[PATCH -next] drm/msm/dpu: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c | 14 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 29 ++-- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 15 ++ drivers/gpu/d

[PATCH -next] mt76: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- .../wireless/mediatek/mt76/mt7603/debugfs.c | 17 ++ .../wireless/mediatek/mt76/mt7615/debugfs.c | 17 ++ .../wireless/mediatek/mt76/mt76x02_debugfs.c | 34 --- 3 files cha

[PATCH -next] mt7601u: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- .../net/wireless/mediatek/mt7601u/debugfs.c | 34 --- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt7601u/debugfs.c b/drivers/net/wireless/me

[PATCH -next] power: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/power/supply/da9030_battery.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/power/supply/da9030_battery.c b/drivers/power/supply/da9030

[PATCH -next] RAS/CEC: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/ras/cec.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c index a992bb426..ed47b59e4 100644 --- a/driv

[PATCH -next] dpaa2-eth: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- .../freescale/dpaa2/dpaa2-eth-debugfs.c | 63 ++- 1 file changed, 6 insertions(+), 57 deletions(-) diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debug

Re: [PATCH v4 5/6] gpio: max77620: Use irqchip template

2020-07-16 Thread Linus Walleij
On Thu, Jul 9, 2020 at 7:12 PM Dmitry Osipenko wrote: > + mgpio->gpio_chip.irq.chip = &max77620_gpio_irqchip; > + mgpio->gpio_chip.irq.default_type = IRQ_TYPE_NONE; > + mgpio->gpio_chip.irq.handler = handle_edge_irq; > + mgpio->gpio_chip.irq.threaded = true; And I didn't

Re: [RFC PATCH 0/1] Add LTR controls

2020-07-16 Thread Hans Verkuil
On 16/06/2020 20:41, diksh...@codeaurora.org wrote: > Hi Hans, Nicolas, > > Thanks for your comments. > > On 2020-06-12 14:41, Hans Verkuil wrote: >> Hi Dikshita, Nicolas, >> >> On 11/06/2020 16:22, Nicolas Dufresne wrote: >>> Le jeudi 11 juin 2020 à 15:55 +0530, Dikshita Agarwal a écrit : L

Re: mainline/master bisection: baseline.dmesg.crit on qemu_arm-vexpress-a15

2020-07-16 Thread Guillaume Tucker
On 06/07/2020 13:49, Sudeep Holla wrote: > Hi, > > On Sun, Jul 05, 2020 at 07:12:58PM -0700, kernelci.org bot wrote: >> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> * This automated bisection report was sent to you on the basis * >> * that you may be involved with the brea

[PATCH] staging: qlge/qlge_main.c: Replace depracated MSI API.

2020-07-16 Thread Suraj Upadhyay
Replace the depracated MSI API pci_enable_msi() with pci_alloc_irq_vectors(). Signed-off-by: Suraj Upadhyay --- drivers/staging/qlge/qlge_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c index f7e26defb

[PATCH -next] mtd: mtdcore: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/mtd/mtdcore.c | 28 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index e10ff132b..a88f

[PATCH -next] drm/komeda: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/gpu/

[PATCH -next] mfd: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/mfd/ab3100-core.c | 15 ++- drivers/mfd/ab3100-otp.c | 16 +++- drivers/mfd/tps65010.c| 14 ++ 3 files changed, 7 insertions(+), 38 deleti

[PATCH -next] gpu: host1x: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/gpu/host1x/debug.c | 28 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/host1x/debug.c b/drivers/gpu/host1x/debug.c index

[PATCH -next] bcache: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/md/bcache/closure.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index 99222aa5d

[PATCH -next] memory: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/memory/emif.c | 22 ++ drivers/memory/tegra/tegra124-emc.c | 14 +- 2 files changed, 3 insertions(+), 33 deletions(-) diff --git a/d

[PATCH -next] bus: mvebu-mbus: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/bus/mvebu-mbus.c | 24 ++-- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index e76c866cd..3aaaf

[PATCH -next] crypto: zip: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/crypto/cavium/zip/zip_main.c | 44 1 file changed, 6 insertions(+), 38 deletions(-) diff --git a/drivers/crypto/cavium/zip/zip_main.c b/drivers/crypto/cav

[PATCH -next] crypto: amlogic: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/crypto/amlogic/amlogic-gxl-core.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/crypto/amlogic/amlogic-gxl-core.c b/drivers/crypto/amlogi

[PATCH -next] crypto: hisilicon: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/crypto/hisilicon/qm.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index b594dc728..5f1

Re: [PATCH v16 05/22] mm/thp: move lru_add_page_tail func to huge_memory.c

2020-07-16 Thread Alex Shi
Hi Kirill & Matthew, Is there any concern from for the THP involved patches? Thanks Alex 在 2020/7/11 上午8:58, Alex Shi 写道: > The func is only used in huge_memory.c, defining it in other file with a > CONFIG_TRANSPARENT_HUGEPAGE macro restrict just looks weird. > > Let's move it THP. And make it

[PATCH -next] rsxx: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/block/rsxx/core.c | 31 --- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/drivers/block/rsxx/core.c b/drivers/block/rsxx/core.c index e63174

[PATCH -next] crypto: caam: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/crypto/caam/dpseci-debugfs.c | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/drivers/crypto/caam/dpseci-debugfs.c b/drivers/crypto/caam/dps

[PATCH -next] crypto: allwinner - Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 15 ++- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 15 ++- 2 files changed, 4 insertions(+), 26 deletions(-)

Re: [PATCH v10 2/4] media: i2c: Add MAX9286 driver

2020-07-16 Thread Kieran Bingham
Hi Sakari, This is the output of checkpatch --strict on this driver. Sorry for not detailing this in the commit or cover letter. > ./patches/gmsl/v10/v10-0001-dt-bindings-media-i2c-Add-bindings-for-Maxim-Int.patch > has style problems, please review. > ---

[PATCH -next] aoe: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/block/aoe/aoeblk.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/block/aoe/aoeblk.c b/drivers/block/aoe/aoeblk.c index 57905a495..3502a8325

[PATCH -next] pktcdvd: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/block/pktcdvd.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index c81f63714..6a79770db 10064

[PATCH -next] nbd: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/block/nbd.c | 28 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 25208ff71..43f9cfd9a 100644

[PATCH -next] x86/xen: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- arch/x86/xen/p2m.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c index 4cf680e2e..0f4a449de 100644 --- a/arch/x86/xen/

Re: ath9k broken [was: Linux 5.7.3]

2020-07-16 Thread Kalle Valo
Viktor Jägersküpper writes: >>> This bug was also reported on the thread where it had been posted >>> originally: >>> https://lore.kernel.org/linux-wireless/20200621020428.6417d6fb@natsu/ >>> >>> I am waiting for Kalle Valo to accept my patch (v2) which reverts the above >>> mentioned commit and

Re: [PATCH v3 1/3] kprobes: Add text_alloc() and text_free()

2020-07-16 Thread Peter Zijlstra
On Wed, Jul 15, 2020 at 01:32:27AM +0300, Jarkko Sakkinen wrote: > +void *text_alloc(unsigned long size) > +{ > + void *p; > + > + if (PAGE_ALIGN(size) > MODULES_LEN) > + return NULL; > + > + p = __vmalloc_node_range(size, MODULE_ALIGN, > + MO

[PATCH -next] sh: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- arch/sh/mm/asids-debugfs.c | 15 ++- arch/sh/mm/cache-debugfs.c | 15 ++- arch/sh/mm/pmb.c | 15 ++- 3 files changed, 6 insertions(+), 39 deletions

[PATCH -next] s390/mm: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- arch/s390/mm/dump_pagetables.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/s390/mm/dump_pagetables.c b/arch/s390/mm/dump_pagetables.c index 9adb10a05..

[PATCH -next] mips: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- arch/mips/cavium-octeon/oct_ilm.c | 16 +++- arch/mips/kernel/segment.c| 14 ++ arch/mips/ralink/bootrom.c| 14 ++ 3 files changed, 7 inserti

[PATCH -next] arm: dump: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- arch/arm/mm/ptdump_debugfs.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/arm/mm/ptdump_debugfs.c b/arch/arm/mm/ptdump_debugfs.c index ec30bf13c..6a62bc

[PATCH -next] C6X: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- arch/c6x/platforms/pll.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/arch/c6x/platforms/pll.c b/arch/c6x/platforms/pll.c index a952faff1..366c9fe6a 10064

[PATCH -next] powerpc: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- arch/powerpc/kvm/book3s_xive_native.c | 12 +--- arch/powerpc/mm/ptdump/bats.c | 24 +++- arch/powerpc/mm/ptdump/hashpagetable.c | 12 +--- arch/po

Re: [RFC PATCH] hwtracing: Add HiSilicon PCIe Tune and Trace device driver

2020-07-16 Thread Yicong Yang
Hi Bjorn, Thanks for reviewing this. Some replies below. Thanks, Yicong On 2020/7/11 7:09, Bjorn Helgaas wrote: > On Sat, Jun 13, 2020 at 05:32:13PM +0800, Yicong Yang wrote: >> HiSilicon PCIe tune and trace device(PTT) is a PCIe Root Complex >> integrated Endpoint(RCiEP) device, providing the

Re: [PATCH v10 4/4] media: i2c: Add RDACM20 driver

2020-07-16 Thread Kieran Bingham
Hi Sakari, These are the checkpatch warnings from this patch: > ./patches/gmsl/v10/v10-0003-dt-bindings-media-i2c-Add-bindings-for-IMI-RDACM.patch > has style problems, please review. > -- > ./patches/gmsl/v10/v10-0004-media-i2c-Add-RDAC

Re: [PATCH] rtc: pl031: fix alarm support

2020-07-16 Thread Sudeep Holla
On Thu, Jul 16, 2020 at 6:37 AM Marek Szyprowski wrote: > > Commit 75a472845196 ("rtc: pl031: switch to > rtc_time64_to_tm/rtc_tm_to_time64") > adjusted driver to the new API, but during the conversion a call to enable > alarm irq in set_alarm() was lost. Restore it, what fixes alarm support in >

Re: [PATCH v16 13/22] mm/lru: introduce TestClearPageLRU

2020-07-16 Thread Alex Shi
Hi Johannes, The patchset looks good from logical and testing part. Is there any concern for any patches? Thanks Alex 在 2020/7/11 上午8:58, Alex Shi 写道: > Combine PageLRU check and ClearPageLRU into a function by new > introduced func TestClearPageLRU. This function will be used as page > isolatio

Re: [PATCH v3 3/3] um: allow static linking for non-glibc implementations

2020-07-16 Thread Johannes Berg
On Wed, 2020-07-15 at 21:11 +0100, Ignat Korchagin wrote: > It is possible to produce a statically linked UML binary with UML_NET_VECTOR, > UML_NET_VDE and UML_NET_PCAP options enabled using alternative libc > implementations, which do not rely on NSS, such as musl. > > Allow static linking in thi

Re: [PATCH] spi: Use clk_prepare_enable and clk_disable_unprepare

2020-07-16 Thread Geert Uytterhoeven
On Tue, Jul 14, 2020 at 11:45 AM Mark Brown wrote: > On Tue, Jul 14, 2020 at 05:09:14PM +0800, Qing Zhang wrote: > > Convert clk_enable/clk_disable to clk_prepare_enable/clk_disable_unprepare > > calls as required by common clock framework. > > > > Signed-off-by: Qing Zhang > > --- > > drivers/s

Re: [PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices

2020-07-16 Thread Jason Wang
On 2020/7/16 下午3:23, Eli Cohen wrote: Add a front end VDPA driver that registers in the VDPA bus and provides networking to a guest. The VDPA driver creates the necessary resources on the VF it is driving such that data path will be offloaded. Notifications are being communicated through the d

Re: [PATCH] rtc: max77686: Do not allow interrupt to fire before system resume

2020-07-16 Thread Alexandre Belloni
On Mon, 15 Jun 2020 18:14:55 +0200, Krzysztof Kozlowski wrote: > The rtc-max77686 device shares the main interrupt line with parent MFD > device (max77686 driver). During the system suspend, the parent MFD > device disables this IRQ to prevent an early event happening before > resuming I2C bus con

[PATCH] media: tuners: reduce stack usage in mxl5005s_reconfigure

2020-07-16 Thread Bixuan Cui
Fix the warning: [-Werror=-Wframe-larger-than=] drivers/media/tuners/mxl5005s.c: In function 'mxl5005s_reconfigure': drivers/media/tuners/mxl5005s.c:3953:1: warning: the frame size of 1152 bytes is larger than 1024 bytes Signed-off-by: Bixuan Cui --- drivers/media/tuners/mxl5005s.c | 20 +++

Re: [PATCH] media: rcar-vin: Move media_device_register to async completion

2020-07-16 Thread Hans Verkuil
On 24/06/2020 16:54, Niklas Söderlund wrote: > Hi Hans, > > On 2020-06-24 15:31:01 +0200, Hans Verkuil wrote: >> On 17/06/2020 17:28, Niklas Söderlund wrote: >>> Hi Michael, >>> >>> On 2020-06-17 17:15:37 +0200, Michael Rodin wrote: Hi Niklas and Steve, On Wed, Jun 17, 2020 at 12:56

Re: [PATCH 1/1] rcu/tree: Drop the lock before entering to page allocator

2020-07-16 Thread Uladzislau Rezki
On Wed, Jul 15, 2020 at 07:13:33PM -0400, Joel Fernandes wrote: > On Wed, Jul 15, 2020 at 2:56 PM Sebastian Andrzej Siewior > wrote: > > > > On 2020-07-15 20:35:37 [+0200], Uladzislau Rezki (Sony) wrote: > > > @@ -3306,6 +3307,9 @@ kvfree_call_rcu_add_ptr_to_bulk(struct > > > kfree_rcu_cpu *krcp,

Re: [PATCH 1/6] dt-bindings: connector: add power-opmode optional property to usb-connector

2020-07-16 Thread Amelie DELAUNAY
Hi Rob, On 7/15/20 8:19 PM, Rob Herring wrote: On Mon, Jun 15, 2020 at 06:15:07PM +0200, Amelie Delaunay wrote: Power operation mode may depends on hardware design, so, add the optional property power-opmode for usb-c connector to select the power operation mode capability. Signed-off-by: Amel

[PATCH] drivers/perf: Fix kernel panic when rmmod PMU modules during perf sampling

2020-07-16 Thread Qi Liu
When users try to remove PMU modules during perf sampling, kernel panic will happen because the pmu->read() is a NULL pointer here. INFO on HiSilicon hip08 platform as follow: pc : hisi_uncore_pmu_event_update+0x30/0xa4 [hisi_uncore_pmu] lr : hisi_uncore_pmu_read+0x20/0x2c [hisi_uncore_pmu] sp : f

Re: [PATCH] Replace HTTP links with HTTPS ones: RTC

2020-07-16 Thread Alexandre Belloni
On 06/07/2020 08:27:27+0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't contain `\

Re: [RFC PATCH] one-bit-adc-dac: Add initial version of one bit ADC, DAC

2020-07-16 Thread Lars-Peter Clausen
On 7/16/20 9:27 AM, Cristian Pop wrote: Implementation for 1-bit ADC (comparator) and a 1-bit DAC (switch) Very sneaky way of introducing a iio-gpio-proxy driver to be able to access GPIOs through libiio ;). I'm not really a fan of the whole idea. But either way I think this needs a better d

Re: [PATCHv3 1/6] dt-bindings: irqchip: Add PRU-ICSS interrupt controller bindings

2020-07-16 Thread Grzegorz Jaszczyk
On Mon, 13 Jul 2020 at 23:25, Rob Herring wrote: > > On Thu, Jul 02, 2020 at 04:17:54PM +0200, Grzegorz Jaszczyk wrote: > > From: Suman Anna > > > > The Programmable Real-Time Unit and Industrial Communication Subsystem > > (PRU-ICSS or simply PRUSS) contains an interrupt controller (INTC) that >

Re: [PATCH v4] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-16 Thread Alexandre Belloni
On Thu, 9 Jul 2020 06:34:06 +, Johnson CH Chen (陳昭勳) wrote: > Let ds1374 watchdog use watchdog core functions. It also includes > improving watchdog timer setting and nowayout, and just uses ioctl() > of watchdog core. Applied, thanks! [1/1] rtc: ds1374: wdt: Use watchdog core for watchdog pa

Re: [PATCH -next] scsi: hisi_sas: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread John Garry
On 16/07/2020 09:47, Qinglang Miao wrote: Not sure why you cc Greg, but SCSI maintainers should have been - James and Martin From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu The sender is not the author, so your signed-off-by should

Re: [PATCH] rtc: pl031: fix set_alarm by adding back call to alarm_irq_enable

2020-07-16 Thread Alexandre Belloni
On Tue, 14 Jul 2020 13:45:56 +0100, Sudeep Holla wrote: > Commit c8ff5841a90b ("rtc: pl031: switch to > rtc_time64_to_tm/rtc_tm_to_time64") > seemed to have accidentally removed the call to pl031_alarm_irq_enable > from pl031_set_alarm while switching to 64-bit apis. > > Let us add back the same

[PATCH] net: neterion: vxge: reduce stack usage in VXGE_COMPLETE_VPATH_TX

2020-07-16 Thread Bixuan Cui
Fix the warning: [-Werror=-Wframe-larger-than=] drivers/net/ethernet/neterion/vxge/vxge-main.c: In function'VXGE_COMPLETE_VPATH_TX.isra.37': drivers/net/ethernet/neterion/vxge/vxge-main.c:119:1: warning: the frame size of 1056 bytes is larger than 1024 bytes Signed-off-by: Bixuan Cui --- driver

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