Re: [PATCH v8 6/7] arm64: dts: add dts nodes for MT6779

2020-07-21 Thread Hanks Chen
On Mon, 2020-07-20 at 18:13 +0200, Matthias Brugger wrote: > > On 16/07/2020 06:04, Hanks Chen wrote: > > On Tue, 2020-07-14 at 20:14 +0200, Matthias Brugger wrote: > >> > >> On 14/07/2020 11:20, Hanks Chen wrote: > >>> this adds initial MT6779 dts settings for board support, > >>> including cpu,

RE: [EXT] Re: [PATCH 1/2] net: dsa: Add flag for 802.1AD when adding VLAN for dsa switch and port

2020-07-21 Thread Hongbo Wang
Thanks for your suggestion! I will change the code. thanks. -Original Message- From: Florian Fainelli Sent: 2020年7月21日 12:57 To: Hongbo Wang ; Xiaoliang Yang ; allan.niel...@microchip.com; Po Liu ; Claudiu Manoil ; Alexandru Marginean ; Vladimir Oltean ; Leo Li ; Mingkai Hu ;

[PATCH v5 0/4] add some power supply properties about wireless/wired charging

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_strength" shows the coupling level

[PATCH v5 1/4] power: supply: core: add quick charge type property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 10

[PATCH v5 3/4] power: supply: core: add wireless signal strength property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 10 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h|

Re: [PATCH v4 1/7] ipq806x: gcc: add support for child probe

2020-07-21 Thread Amit Kucheria
On Tue, Jul 21, 2020 at 11:27 AM Amit Kucheria wrote: > > > > On Tue, 21 Jul, 2020, 05:06 Stephen Boyd, wrote: >> >> Quoting Amit Kucheria (2020-07-20 02:41:44) >> > On Thu, Jul 16, 2020 at 7:58 AM Ansuel Smith wrote: >> > > >> > > Add support for child probing needed for tsens driver that

[PATCH v5 2/4] power: supply: core: add wireless charger adapter type property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 +

[PATCH v5 4/4] power: supply: core: property to control reverse charge

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Supply reverse charge function when enabled. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 12 drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

Re: [PATCH] i2c: xiic: Fix reference count leaks.

2020-07-21 Thread Michal Simek
Hi Qiushi, On 13. 07. 20 21:41, Qiushi Wu wrote: > Hi Michal, > I think multiple previous patches also fixed similar problems, such as > https://patchwork.kernel.org/patch/2404751/ > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2227849.html >

Re: [PATCH for v5.9] RDS: Replace HTTP links with HTTPS ones

2020-07-21 Thread Leon Romanovsky
On Mon, Jul 20, 2020 at 11:34:00PM +0200, Alexander A. Klimov wrote: > > > Am 20.07.20 um 18:48 schrieb Leon Romanovsky: > > On Mon, Jul 20, 2020 at 08:36:35AM -0600, Jonathan Corbet wrote: > > > On Mon, 20 Jul 2020 17:07:16 +0300 > > > Leon Romanovsky wrote: > > > > > > > > Do *you* want to

Re: [PATCH 0/2] Modularization of DFL private feature drivers

2020-07-21 Thread Xu Yilun
On Mon, Jul 20, 2020 at 05:21:43PM +0800, Wu, Hao wrote: > > On 7/16/20 8:48 PM, Wu, Hao wrote: > > >> Subject: Re: [PATCH 0/2] Modularization of DFL private feature drivers > > >> > > >> Generally i think this is a good approach. > > >> > > >> However I do have concern. > > >> > > >> The

Re: mmotm 2020-07-20-19-06 uploaded (net/ipv6/ip6_vti.o)

2020-07-21 Thread Steffen Klassert
On Mon, Jul 20, 2020 at 11:09:34PM -0700, Randy Dunlap wrote: > On 7/20/20 7:07 PM, Andrew Morton wrote: > > The mm-of-the-moment snapshot 2020-07-20-19-06 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment: > >

Re: [PATCH] net-sysfs: add a newline when printing 'tx_timeout' by sysfs

2020-07-21 Thread Xiongfeng Wang
Hi, On 2020/7/21 8:44, David Miller wrote: > From: Xiongfeng Wang > Date: Mon, 20 Jul 2020 19:17:49 +0800 > >> -return sprintf(buf, "%lu", trans_timeout); >> +return sprintf(buf, "%lu\n", trans_timeout); > > Better to replace it with 'fmt_ulong'. Thanks for your advice. I will change

linux-next: manual merge of the dmaengine tree with the phy-next tree

2020-07-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dmaengine tree got a conflict in: MAINTAINERS between commit: 4a33bea00314 ("phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver") from the phy-next tree and commit: ef9303fdf46f ("dt: bindings: dma: xilinx: dpdma: DT bindings

Re: [PATCH] ipmi/watchdog: add missing newlines when printing parameters by sysfs

2020-07-21 Thread Xiongfeng Wang
On 2020/7/21 10:00, Joe Perches wrote: > On Tue, 2020-07-21 at 09:20 +0800, Xiongfeng Wang wrote: >> On 2020/7/21 3:52, Corey Minyard wrote: >>> On Mon, Jul 20, 2020 at 10:03:25AM +0800, Xiongfeng Wang wrote: When I cat some ipmi_watchdog parameters by sysfs, it displays as follows.

Re: [PATCH v5 04/18] nitro_enclaves: Init PCI device driver

2020-07-21 Thread Paraschiv, Andra-Irina
On 20/07/2020 17:24, Alexander Graf wrote: On 15.07.20 21:45, Andra Paraschiv wrote: The Nitro Enclaves PCI device is used by the kernel driver as a means of communication with the hypervisor on the host where the primary VM and the enclaves run. It handles requests with regard to enclave

Re: [PATCH v2 3/4] dt-bindings: i2c-stm32: add SMBus Alert bindings

2020-07-21 Thread Wolfram Sang
Hi Rob, > > > The I2C/SMBUS framework already provides a mechanism to enable SMBus-Alert > > > by naming an IRQ line "smbus_alert". However, on stm32, the SMBus-Alert is > > > part of the i2c IRQ. Using the smbus_alert naming here would lead to > > > having > > > 2 handlers (the handler of the

[v3 PATCH RESEND] printk: Make linux/printk.h self-contained

2020-07-21 Thread Herbert Xu
As it stands if you include printk.h by itself it will fail to compile because it requires definitions from ratelimit.h. However, simply including ratelimit.h from printk.h does not work due to inclusion loops involving sched.h and kernel.h. This patch solves this by moving bits from ratelimit.h

RE: [PATCH 1/2] dt-bindings: reset: Updated binding for Versal reset driver

2020-07-21 Thread Sai Krishna Potthuri
Hi Rob, Thanks for the review > -Original Message- > From: Rob Herring > Sent: Tuesday, July 21, 2020 7:38 AM > To: Sai Krishna Potthuri > Cc: Philipp Zabel ; Michal Simek > ; devicet...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org; git > ;

linux-next: build failure after merge of the scsi-mkp tree

2020-07-21 Thread Stephen Rothwell
Hi all, After merging the scsi-mkp tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: modpost: "exynos_ufs_dump_info" [drivers/scsi/ufs/ufs-exynos.ko] undefined! ERROR: modpost: "exynos_ufs_init_dbg" [drivers/scsi/ufs/ufs-exynos.ko] undefined! ERROR: modpost:

[RFC PATCH] mm: silence soft lockups from unlock_page

2020-07-21 Thread Michal Hocko
From: Michal Hocko We have seen a bug report with huge number of soft lockups during the system boot on !PREEMPT kernel NMI watchdog: BUG: soft lockup - CPU#1291 stuck for 22s! [systemd-udevd:43283] [...] NIP [c094e66c] _raw_spin_lock_irqsave+0xac/0x100 LR [c094e654]

Re: 答复: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP

2020-07-21 Thread Mike Rapoport
Hi, On Tue, Jul 21, 2020 at 01:56:33AM +, liwei (CM) wrote: > Hi, all > > I'm sorry to bother you, but still very hope you can give comments or > suggestions to this patch, thank you very much. I cannot find your patch neither in Inbox nor in the public archives. Can you resend it please?

Re: [PATCH v7 3/4] mmc: mediatek: command queue support

2020-07-21 Thread yong....@mediatek.com
On Mon, 2020-07-20 at 08:42 +0800, Chun-Hung Wu wrote: > Support command queue for mt6779 platform. > a. Add msdc_set_busy_timeout() to calculate emmc write timeout. > b. Connect mtk msdc driver to cqhci driver through >host->cq_host->ops = _cmdq_ops; > c. msdc_cmdq_irq() will link up with

Re: [PATCH v2 24/24] scsi: aic7xxx: aic79xx_osm: Remove set but unused variabes 'saved_scsiid' and 'saved_modes'

2020-07-21 Thread Hannes Reinecke
On 7/15/20 1:03 AM, James Bottomley wrote: On Tue, 2020-07-14 at 22:39 +0100, Lee Jones wrote: On Tue, 14 Jul 2020, James Bottomley wrote: On Tue, 2020-07-14 at 09:46 +0200, Hannes Reinecke wrote: On 7/13/20 10:00 AM, Lee Jones wrote: Haven't been used since 2006. Fixes the following W=1

[PATCH] serial: 8250: fix null-ptr-deref in serial8250_start_tx()

2020-07-21 Thread Yang Yingliang
I got null-ptr-deref in serial8250_start_tx(): [ 78.114630] Unable to handle kernel NULL pointer dereference at virtual address [ 78.123778] Mem abort info: [ 78.126560] ESR = 0x8607 [ 78.129603] EC = 0x21: IABT (current EL), IL = 32 bits [ 78.134891] SET =

[PATCH v2] ipmi/watchdog: add missing newlines when printing parameters by sysfs

2020-07-21 Thread Xiongfeng Wang
When I cat some ipmi_watchdog parameters by sysfs, it displays as follows. It's better to add a newline for easy reading. root@(none):/# cat /sys/module/ipmi_watchdog/parameters/action resetroot@(none):/# cat /sys/module/ipmi_watchdog/parameters/preaction pre_noneroot@(none):/# cat

Re: [PATCH for v5.9] RDS: Replace HTTP links with HTTPS ones

2020-07-21 Thread Alexander A. Klimov
Am 21.07.20 um 08:05 schrieb Leon Romanovsky: On Mon, Jul 20, 2020 at 11:34:00PM +0200, Alexander A. Klimov wrote: Am 20.07.20 um 18:48 schrieb Leon Romanovsky: On Mon, Jul 20, 2020 at 08:36:35AM -0600, Jonathan Corbet wrote: On Mon, 20 Jul 2020 17:07:16 +0300 Leon Romanovsky wrote:

Re: [PATCH] drm/vkms: add wait_for_vblanks in atomic_commit_tail

2020-07-21 Thread Daniel Vetter
On Tue, Jul 21, 2020 at 05:33:00AM +, Sidong Yang wrote: > Hi, Daniel and Melissa > > I tested some code for this problem trying to find the code that make problem > in igt test. > kms_cursor_crc test in igt test has 3 steps (preparation, test, cleanup). I > check each steps > and I found

Re: [PATCH 2/2] debugfs: Add access restriction option

2020-07-21 Thread Enderborg, Peter
On 7/15/20 11:39 AM, Greg Kroah-Hartman wrote: > On Wed, Jul 15, 2020 at 10:42:07AM +0200, Peter Enderborg wrote: >> Since debugfs include sensitive information it need to be treated >> carefully. But it also has many very useful debug functions for userspace. >> With this option we can have same

Re: [PATCH v2] pinctrl: core: print gpio in pins debugfs file

2020-07-21 Thread Andy Shevchenko
On Mon, Jul 20, 2020 at 10:18 PM Drew Fustini wrote: > > If there is a gpio range mapping for the pin, then print out the gpio > number for the pin in the debugfs 'pins' file. > > Here is an example output on the BeagleBone Black from: >

Re: [PATCH 4/5] drm/vblank: Use spin_(un)lock_irq() in drm_queue_vblank_event()

2020-07-21 Thread Daniel Vetter
On Mon, Jul 20, 2020 at 03:07:35PM -0400, Lyude Paul wrote: > This one's easy - we're already calling kzalloc() in this function, so Nit: "kzalloc(GFP_KERNEL)", since kzalloc(GFP_ATOMIC) is perfectly fine in interrupt context. With that clarified for the entire series: Reviewed-by: Daniel Vetter

Re: hibernation reverts in 4.19.134: better alternative?

2020-07-21 Thread Eugeniu Rosca
Hi Pavel, On Mon, Jul 20, 2020 at 12:15:22PM +0200, Pavel Machek wrote: > This is queued for 4.19.134-stable, reverting 3 patches. But it seems > better alternative is available... > > commit f3e697b7b6f5e2c570226f8f8692fb7db57215ec > Author: Sasha Levin > Date: Fri Jul 17 12:58:32 2020 -0400

Re: [PATCH] riscv: Select ARCH_HAS_DEBUG_VM_PGTABLE

2020-07-21 Thread Emil Renner Berthing
On Tue, 21 Jul 2020 at 06:04, Palmer Dabbelt wrote: > > On Tue, 14 Jul 2020 20:20:54 PDT (-0700), anshuman.khand...@arm.com wrote: > > > > > > On 07/15/2020 02:56 AM, Emil Renner Berthing wrote: > >> This allows the pgtable tests to be built. > >> > >> Signed-off-by: Emil Renner Berthing > >>

Re: mmotm 2020-07-20-19-06 uploaded (net/ipv6/ip6_vti.o)

2020-07-21 Thread Stephen Rothwell
Hi all, On Mon, 20 Jul 2020 23:09:34 -0700 Randy Dunlap wrote: > > on i386: > > ld: net/ipv6/ip6_vti.o: in function `vti6_rcv_tunnel': > ip6_vti.c:(.text+0x2d11): undefined reference to `xfrm6_tunnel_spi_lookup' Caused by commit 08622869ed3f ("ip6_vti: support IP6IP6 tunnel processing with

[PATCH] HID: quirks: add NOGET quirk for Logitech GROUP

2020-07-21 Thread Ikjoon Jang
Add HID_QUIRK_NOGET for Logitech GROUP device. Logitech GROUP is a compound with camera and audio. When the HID interface in an audio device is requested to get specific report id, all following control transfers are stalled and never be restored back. BugLink:

Re: mmotm 2020-07-20-19-06 uploaded (net/ipv6/ip6_vti.o)

2020-07-21 Thread Stephen Rothwell
Hi all, On Tue, 21 Jul 2020 16:54:24 +1000 Stephen Rothwell wrote: > > On Mon, 20 Jul 2020 23:09:34 -0700 Randy Dunlap wrote: > > > > on i386: > > > > ld: net/ipv6/ip6_vti.o: in function `vti6_rcv_tunnel': > > ip6_vti.c:(.text+0x2d11): undefined reference to `xfrm6_tunnel_spi_lookup' > >

Re: [PATCH] uacce: fix some coding styles

2020-07-21 Thread Zhangfei Gao
On 2020/7/20 下午3:18, Kai Ye wrote: 1. add some parameter check. 2. delete some redundant code. 3. modify the module author information. Signed-off-by: Kai Ye Reviewed-by: Zhou Wang Thanks Kai. --- drivers/misc/uacce/uacce.c | 28 +--- 1 file changed, 13

[PATCH v2] virtio_ring: use alloc_pages_node for NUMA-aware allocation

2020-07-21 Thread Shile Zhang
Use alloc_pages_node() allocate memory for vring queue with proper NUMA affinity. Reported-by: kernel test robot Suggested-by: Jiang Liu Signed-off-by: Shile Zhang --- Changelog v1 -> v2: - fixed compile warning reported by LKP. --- drivers/virtio/virtio_ring.c | 10 ++ 1 file

[PATCH net-next] net: mdio-mux-gpio: use devm_gpiod_get_array()

2020-07-21 Thread Jisheng Zhang
Use devm_gpiod_get_array() to simplify the error handling and exit code path. Signed-off-by: Jisheng Zhang --- drivers/net/phy/mdio-mux-gpio.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/net/phy/mdio-mux-gpio.c b/drivers/net/phy/mdio-mux-gpio.c index

Re: [PATCH v1 3/3] skd: use generic power management

2020-07-21 Thread Vaibhav Gupta
On Tue, Jul 21, 2020 at 02:49:06AM +, Damien Le Moal wrote: > On 2020/07/20 22:18, Vaibhav Gupta wrote: > > On Mon, Jul 20, 2020 at 12:52:14PM +, Damien Le Moal wrote: > >> On 2020/07/17 17:10, Vaibhav Gupta wrote: > >>> Change function parameter in both .suspend() and .resume() to > >>>

Re: io_uring vs in_compat_syscall()

2020-07-21 Thread Christoph Hellwig
On Mon, Jul 20, 2020 at 10:28:55AM -0700, Andy Lutomirski wrote: > > Sure, I'd consider that implementation detail for the actual patch(es) > > for this issue. > > There’s a corner case, though: doesn’t io_uring submission frequently do the > work synchronously in the context of the calling

Re: [PATCH] i2c: i2c-qcom-geni: Fix DMA transfer race

2020-07-21 Thread Stephen Boyd
Quoting Stephen Boyd (2020-07-20 22:59:14) > > I worry that we also need a dmb() here to make sure the dma buffer is > properly mapped before this write to the device is attempted. But it may > only matter to be before the I2C_READ. > I'm suggesting this patch instead where we make

Re: [PATCH v4 1/7] ipq806x: gcc: add support for child probe

2020-07-21 Thread Stephen Boyd
Quoting Ansuel Smith (2020-07-15 19:28:10) > Add support for child probing needed for tsens driver that share the > seme regs of gcc for this platform. > > Signed-off-by: Ansuel Smith > --- Applied to clk-next with the typo fix and tag.

[PATCH v2] net-sysfs: add a newline when printing 'tx_timeout' by sysfs

2020-07-21 Thread Xiongfeng Wang
When I cat 'tx_timeout' by sysfs, it displays as follows. It's better to add a newline for easy reading. root@syzkaller:~# cat /sys/devices/virtual/net/lo/queues/tx-0/tx_timeout 0root@syzkaller:~# Signed-off-by: Xiongfeng Wang --- net/core/net-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 1/2] fpga: dfl: map feature mmio resources in their own feature drivers

2020-07-21 Thread Xu Yilun
On Fri, Jul 17, 2020 at 05:48:55PM +0800, Wu, Hao wrote: > > -Original Message- > > From: linux-fpga-ow...@vger.kernel.org > > On Behalf Of Xu Yilun > > Sent: Wednesday, July 15, 2020 1:38 PM > > To: m...@kernel.org; linux-f...@vger.kernel.org; linux- > > ker...@vger.kernel.org > > Cc:

Re: [PATCH v3] net: hyperv: add support for vlans in netvsc driver

2020-07-21 Thread Sriram Krishnan (srirakr2)
On 21/07/20, 4:57 AM, "David Miller" wrote: From: Sriram Krishnan Date: Mon, 20 Jul 2020 22:15:51 +0530 > + if (skb->protocol == htons(ETH_P_8021Q)) { > + u16 vlan_tci = 0; > + skb_reset_mac_header(skb); > Please place an empty line between basic

Re: [PATCH v5 0/2] Small devm helper for devm implementations

2020-07-21 Thread Marc Gonzalez
On 06/07/2020 21:57, Greg Kroah-Hartman wrote: > Given the lack of testing of the patch, it doesn't seem wise to add > this, right? You're probably not wrong :) > Please get some testing, and some more users, and I'll be glad to > consider it. "Users" == files modified to use the new helper?

Re: [PATCH v2 3/3] skd: use generic power management

2020-07-21 Thread Vaibhav Gupta
On Tue, Jul 21, 2020 at 02:57:28AM +, Damien Le Moal wrote: > On 2020/07/20 22:32, Vaibhav Gupta wrote: > > Drivers using legacy PM have to manage PCI states and device's PM states > > themselves. They also need to take care of configuration registers. > > > > With improved and powerful

[PATCH] arm64: dts: qcom: sdm845: Support ETMv4 power management

2020-07-21 Thread Sai Prakash Ranjan
Add "arm,coresight-loses-context-with-cpu" property to coresight ETM nodes to avoid failure of trace session because of losing context on entering deep idle states. Signed-off-by: Sai Prakash Ranjan --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 1 file changed, 8 insertions(+) diff

[PATCH v4] hv_netvsc: add support for vlans in AF_PACKET mode

2020-07-21 Thread Sriram Krishnan
Vlan tagged packets are getting dropped when used with DPDK that uses the AF_PACKET interface on a hyperV guest. The packet layer uses the tpacket interface to communicate the vlans information to the upper layers. On Rx path, these drivers can read the vlan info from the tpacket header but on

Re: [PATCH v4 01/24] Documentation: locking: Describe seqlock design and usage

2020-07-21 Thread Ahmed S. Darwish
On Mon, Jul 20, 2020 at 09:51:15PM -0400, Steven Rostedt wrote: > On Mon, 20 Jul 2020 21:44:00 -0400 > Steven Rostedt wrote: > > > > - * This is not as cache friendly as brlock. Also, this may not work well > > > - * for data that contains pointers, because any writer could > > > - * invalidate a

Re: linux-next: manual merge of the dmaengine tree with the phy-next tree

2020-07-21 Thread Vinod Koul
Hi Stephen, On 21-07-20, 16:17, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the dmaengine tree got a conflict in: > > MAINTAINERS > > between commit: > > 4a33bea00314 ("phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit > Transceiver") > > from the phy-next

Re: [PATCH] ARM: dts: stm32: cosmetic update in stm32mp15-pinctrl.dtsi

2020-07-21 Thread Alexandre Torgue
Hi Patrick On 6/16/20 5:33 PM, Patrick Delaunay wrote: Use tabs where possible and remove multiple blanks lines. Signed-off-by: Patrick Delaunay --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) Applied on stm32-next. Thanks.

Re: [Linux-kernel-mentees] [PATCH v1] usbhid: Fix slab-out-of-bounds write in hiddev_ioctl_usage()

2020-07-21 Thread Dan Carpenter
For some reason the reply-to header on your email is bogus: Reply-To: 20200720121257.GJ2571@kadam "kadam" is a system on my home network. On Mon, Jul 20, 2020 at 03:16:56PM -0400, Peilin Ye wrote: > I made some mistakes in the previous e-mail. Please ignore that. There > are a lot of things

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Amit Pundir
On Wed, 8 Jul 2020 at 22:43, Nicolas Saenz Julienne wrote: > > There is no guarantee to CMA's placement, so allocating a zone specific > atomic pool from CMA might return memory from a completely different > memory zone. So stop using it. > > Fixes: c84dc6e68a1d ("dma-pool: add additional

Re: [PATCH] USB: serial: qcserial: add EM7305 QDL product ID

2020-07-21 Thread Johan Hovold
On Fri, Jul 17, 2020 at 08:51:18PM +0200, Erik Ekman wrote: > When running qmi-firmware-update on the Sierra Wireless EM7305 in a Toshiba > laptop, it changed product ID to 0x9062 when entering QDL mode: > > usb 2-4: new high-speed USB device number 78 using xhci_hcd > usb 2-4: New USB device

Re: [PATCH bpf-next v1 3/3] bpf, riscv: Use compressed instructions in the rv64 JIT

2020-07-21 Thread Björn Töpel
On Tue, 21 Jul 2020 at 04:52, Luke Nelson wrote: > > This patch uses the RVC support and encodings from bpf_jit.h to optimize > the rv64 jit. > > The optimizations work by replacing emit(rv_X(...)) with a call to a > helper function emit_X, which will emit a compressed version of the >

[PATCH] ARM: dts: imx6qp-sabreauto: enable pcie

2020-07-21 Thread Richard Zhu
Add the reset-gpio property, and enable PCIe on iMX6QP SABREAUTO board. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx6qp-sabreauto.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qp-sabreauto.dts b/arch/arm/boot/dts/imx6qp-sabreauto.dts

Re: [PATCH bpf-next v1 0/3] bpf, riscv: Add compressed instructions to rv64 JIT

2020-07-21 Thread Björn Töpel
On Tue, 21 Jul 2020 at 04:52, Luke Nelson wrote: > > This patch series enables using compressed riscv (RVC) instructions > in the rv64 BPF JIT. > > RVC is a standard riscv extension that adds a set of compressed, > 2-byte instructions that can replace some regular 4-byte instructions > for

[PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP

2020-07-21 Thread Wei Li
For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP do not free the reserved memory for the page map, this patch do it. Signed-off-by: Wei Li Signed-off-by: Chen Feng Signed-off-by: Xia Qing --- arch/arm64/mm/init.c | 81 +---

Re: [PATCH] thermal: netlink: Fix compilation error when CONFIG_NET=n

2020-07-21 Thread Amit Kucheria
On Tue, Jul 7, 2020 at 2:32 PM Daniel Lezcano wrote: > > When the network is not configured, the netlink are disabled on all > the system. The thermal framework assumed the netlink are always nit: s/are/is/ in both places above > opt-in. > > Fix this by adding a Kconfig option for the netlink

[PATCH v2] mfd: rn5t618: Make restart handler atomic safe

2020-07-21 Thread Andreas Kemnade
The restart handler is executed during the shutdown phase which is atomic/irq-less. The i2c framework supports atomic transfers since commit 63b96983a5dd ("i2c: core: introduce callbacks for atomic transfers") to address this use case. Using i2c regmap in that situation is not allowed: [

Re: [RFC PATCH 07/16] sched/fair: Fix forced idle sibling starvation corner case(Internet mail)

2020-07-21 Thread 蒋彪
Hi, > On Jul 1, 2020, at 5:32 AM, Vineeth Remanan Pillai > wrote: > > From: vpillai > > If there is only one long running local task and the sibling is > forced idle, it might not get a chance to run until a schedule > event happens on any cpu in the core. > > So we check for this

Re: [PATCH 1/2] fpga: dfl: map feature mmio resources in their own feature drivers

2020-07-21 Thread Xu Yilun
On Fri, Jul 17, 2020 at 09:51:34AM -0700, Tom Rix wrote: > Mostly little stuff. > > Consider refactoring create_feature_instance. > > Tom > > > diff --git a/drivers/fpga/dfl-pci.c b/drivers/fpga/dfl-pci.c > > index e220bec..22dc025 100644 > > --- a/drivers/fpga/dfl-pci.c > > +++

[PATCH 1/1] video: backlight: cr_bllcd: Remove unused variable 'intensity'

2020-07-21 Thread Lee Jones
Fixes the following kernel build warning: drivers/video/backlight/cr_bllcd.c: In function ‘cr_backlight_set_intensity’: drivers/video/backlight/cr_bllcd.c:62:6: warning: unused variable ‘intensity’ [-Wunused-variable] 62 | int intensity = bd->props.brightness; | ^ Cc: Sam Ravnborg

Re: [PATCH 1/2] fpga: dfl: map feature mmio resources in their own feature drivers

2020-07-21 Thread Xu Yilun
On Mon, Jul 20, 2020 at 05:09:35PM +0800, Wu, Hao wrote: > > Subject: [PATCH 1/2] fpga: dfl: map feature mmio resources in their own > > feature drivers > > > > This patch makes preparation for modularization of DFL sub feature > > drivers. > > > > Currently, if we need to support a new DFL sub

[PATCH v9 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-07-21 Thread Sandeep Maheswaram
Add interconnect support in dwc3-qcom driver to vote for bus bandwidth. This requires for two different paths - from USB to DDR. The other is from APPS to USB. Signed-off-by: Sandeep Maheswaram Signed-off-by: Chandana Kishori Chiluveru Reviewed-by: Matthias Kaehlcke ---

[PATCH v9 2/2] arm64: dts: qcom: sc7180: Add maximum speed property for DWC3 USB node

2020-07-21 Thread Sandeep Maheswaram
Adding maximum speed property for DWC3 USB node which can be used for setting interconnect bandwidth. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v9 0/2] ADD interconnect support for Qualcomm DWC3 driver

2020-07-21 Thread Sandeep Maheswaram
This path series aims to add interconnect support in dwc3-qcom driver on SDM845 and SC7180 SoCs. Changes from v8 -> v9 > Addressed comments from Matthias. Changes from v7 -> v8 > Only driver change is pending all other patches are merged so dropped from the series. > Removed the

Re: [PATCH v0] clk: qcom: gcc: Update disp gpll0 branch for 7180/845

2020-07-21 Thread Stephen Boyd
Quoting Taniya Das (2020-07-14 23:54:10) > The display gpll0 branch clock needs to be always left enabled, thus > move the clock ops to _aon branch ops. > > Signed-off-by: Taniya Das I wanted to apply this but it needs more commit text. Here's the commit text I wrote. clk: qcom: gcc: Make disp

[PATCH v2 0/6] Add new controls for CQ and Frame-skip

2020-07-21 Thread Stanimir Varbanov
Hello, Here is v2 with following changes: * 3/6 Added references for VBV size and h264 CPB size - requested by Nicolas * 4/6 Fixed compile warning Previous version can be found at [1]. regards, Stan [1] https://lkml.org/lkml/2020/7/20/619 Maheshwar Ajja (1): media: v4l2-ctrls: Add

Re: [PATCH v4 4/4] clk: qcom: lpass: Add support for LPASS clock controller for SC7180

2020-07-21 Thread Stephen Boyd
Quoting Taniya Das (2020-07-14 23:36:50) > diff --git a/drivers/clk/qcom/lpasscorecc-sc7180.c > b/drivers/clk/qcom/lpasscorecc-sc7180.c > new file mode 100644 > index 000..fd8537c > --- /dev/null > +++ b/drivers/clk/qcom/lpasscorecc-sc7180.c > @@ -0,0 +1,478 @@ > +// SPDX-License-Identifier:

[PATCH v2 1/6] media: v4l2-ctrls: Add encoder constant quality control

2020-07-21 Thread Stanimir Varbanov
From: Maheshwar Ajja When V4L2_CID_MPEG_VIDEO_BITRATE_MODE value is V4L2_MPEG_VIDEO_BITRATE_MODE_CQ, encoder will produce constant quality output indicated by V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY control value. Encoder will choose appropriate quantization parameter and bitrate to produce

[PATCH 1/2] ARM: dts: imx6qp-sabresd: enable pcie

2020-07-21 Thread Richard Zhu
Add one regulator, used to power up the external oscillator, and enable PCIe on iMX6QP SABRESD board. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx6qp-sabresd.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qp-sabresd.dts

[PATCH 2/2] PCI: imx: add another regulator for imx pcie

2020-07-21 Thread Richard Zhu
One more regulator is required to turn on the external oscillator populated on the iMX6QP SABRESD board. Add another regulator to enable PCIe on iMX6QP SABRESD board. Signed-off-by: Richard Zhu --- drivers/pci/controller/dwc/pci-imx6.c | 22 ++ 1 file changed, 22

[PATCH v2 2/6] venus: venc: Add support for constant quality control

2020-07-21 Thread Stanimir Varbanov
Adds implementation of V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY v4l control when the bitrate mode is CQ. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.h | 1 + drivers/media/platform/qcom/venus/hfi_cmds.c | 37 ++-

Re: [PATCH v4 2/4] dt-bindings: clock: Add YAML schemas for LPASS clocks on SC7180

2020-07-21 Thread Stephen Boyd
Quoting Taniya Das (2020-07-14 23:36:48) > diff --git > a/Documentation/devicetree/bindings/clock/qcom,sc7180-lpasscorecc.yaml > b/Documentation/devicetree/bindings/clock/qcom,sc7180-lpasscorecc.yaml > new file mode 100644 > index 000..41d0a6d > --- /dev/null > +++

[PATCH v2 4/6] venus: venc: Add support for frame-skip mode v4l2 control

2020-07-21 Thread Stanimir Varbanov
This adds support for frame-skip-mode standard v4l2 control in encoder driver. The control is implemented based on the combination of client selected bitrate-mode and frame-skip-mode. Once The client selected bitrate-mode (constant or variable) and the frame-skip-mode is not disabled we set

[PATCH v2 5/6] media: s5p-mfc: Use standard frame skip mode control

2020-07-21 Thread Stanimir Varbanov
Use the standard menu control for frame skip mode in the MFC driver. The legacy private menu control is kept for backward compatibility. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH v4 05/10] powerpc/dt_cpu_ftrs: Add feature for 2nd DAWR

2020-07-21 Thread Ravi Bangoria
On 7/17/20 11:14 AM, Jordan Niethe wrote: On Fri, Jul 17, 2020 at 2:10 PM Ravi Bangoria wrote: Add new device-tree feature for 2nd DAWR. If this feature is present, 2nd DAWR is supported, otherwise not. Signed-off-by: Ravi Bangoria --- arch/powerpc/include/asm/cputable.h | 7 +--

[PATCH v2 6/6] media: docs: Deprecate mfc frame skip control

2020-07-21 Thread Stanimir Varbanov
Deprecate mfc private frame skip mode control for new clients and use the standard one instead. Signed-off-by: Stanimir Varbanov --- Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v2 3/6] media: v4l2-ctrl: Add frame-skip std encoder control

2020-07-21 Thread Stanimir Varbanov
Adds encoders standard v4l2 control for frame-skip. The control is a copy of a custom encoder control so that other v4l2 encoder drivers can use it. Signed-off-by: Stanimir Varbanov Reviewed-by: Hans Verkuil --- .../media/v4l/ext-ctrls-codec.rst | 38 +++

Note that your e-mail box account urgently needs verification

2020-07-21 Thread Felipe Francisco Romero Ruiz
MICROSOFT URGENT NOTIFICATION Note that your e-mail box account urgently needs verification in other to release about 20 of your incoming messages that has been currently suspended.Do click on the verify below to verify your account now. VERIFY

Re: [PATCH v3 00/14] Enable GPU for SM8150 and SM8250

2020-07-21 Thread Stephen Boyd
Quoting Jonathan Marek (2020-07-09 06:52:31) > This series adds the missing clock drivers and dts nodes to enable > the GPU on both SM8150 and SM8250. > > Note an extra drm/msm patch [1] is required for SM8250. > > As noted by Dmitry, GMU init fails with newer firmware, needs this patch [2]. >

Re: [PATCH v2 6/6] media: docs: Deprecate mfc frame skip control

2020-07-21 Thread Hans Verkuil
On 21/07/2020 09:45, Stanimir Varbanov wrote: > Deprecate mfc private frame skip mode control for new > clients and use the standard one instead. > > Signed-off-by: Stanimir Varbanov Reviewed-by: Hans Verkuil > --- > Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 5 + > 1

Re: [PATCH 4.19 000/133] 4.19.134-rc1 review

2020-07-21 Thread Naresh Kamboju
On Mon, 20 Jul 2020 at 21:21, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.134 release. > There are 133 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 1/1] video: backlight: cr_bllcd: Remove unused variable 'intensity'

2020-07-21 Thread Sam Ravnborg
Hi Lee. On Tue, Jul 21, 2020 at 08:39:19AM +0100, Lee Jones wrote: > Fixes the following kernel build warning: > > drivers/video/backlight/cr_bllcd.c: In function ‘cr_backlight_set_intensity’: > drivers/video/backlight/cr_bllcd.c:62:6: warning: unused variable > ‘intensity’

Re: [PATCH v2 06/14] spi: spi-meson-spicc: Remove set but never used variable 'data' from meson_spicc_reset_fifo()

2020-07-21 Thread Neil Armstrong
On 17/07/2020 15:54, Lee Jones wrote: > Looks like it hasn't ever been checked. > > Fixes the following W=1 kernel build warning(s): > > drivers/spi/spi-meson-spicc.c: In function ‘meson_spicc_reset_fifo’: > drivers/spi/spi-meson-spicc.c:365:6: warning: variable ‘data’ set but not > used

[RFC PATCH] firmware: qcom_scm: disable SDI at boot

2020-07-21 Thread Brian Norris
*** Disclaimer: I know extremely little about Qualcomm's undocumented SMC API. *** I'm trying to get upstream support for an IPQ4019 device I have, and by default, warm boot does not work properly -- it appears to trap into TrustZone. I find that the downstream/vendor kernel makes this call at

Re: [PATCH v2 05/14] spi: spi-meson-spifc: Fix misdocumenting of 'dev' in 'struct meson_spifc'

2020-07-21 Thread Neil Armstrong
On 17/07/2020 15:54, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/spi/spi-meson-spifc.c:80: warning: Function parameter or member > 'dev' not described in 'meson_spifc' > > Cc: Kevin Hilman > Cc: Beniamino Galvani > Cc: linux-amlo...@lists.infradead.org >

Re: [PATCH 2/2] arm64: dts: meson: add initial Beelink GS-King-X device-tree

2020-07-21 Thread Neil Armstrong
On 18/07/2020 07:22, Christian Hewitt wrote: > The Shenzen AZW (Beelink) GS-King-X is based on the Amlogic W400 reference > board with an S922X-H chip. > > - 4GB LPDDR4 RAM > - 64GB eMMC storage > - 10/100/1000 Base-T Ethernet > - AP6356S Wireless (802.11 a/b/g/n/ac, BT 4.1) > - HDMI 2.1 video >

[GIT PULL] iommu/arm-smmu: Updates for 5.9

2020-07-21 Thread Will Deacon
Hi Joerg, Please pull these Arm SMMU driver updates for 5.9. Summary is in the tag, but the main thing is support for two new SoC integrations, one of which is considerably more brain-dead than the other (determining which one is left as an exercise to the reader although the diffstat is fairly

Re: [PATCH 2/5] clk: x86: Change name from ST to FCH

2020-07-21 Thread Stephen Boyd
Quoting Agrawal, Akshu (2020-07-19 21:59:02) > > On 7/16/2020 6:12 AM, Stephen Boyd wrote: > > Quoting Akshu Agrawal (2020-07-12 17:59:50) > >> diff --git a/drivers/clk/x86/clk-st.c b/drivers/clk/x86/clk-fch.c > >> similarity index 73% > >> rename from drivers/clk/x86/clk-st.c > >> rename to

Re: [PATCH v4] serial: samsung: change to platform_get_irq_optional

2020-07-21 Thread Krzysztof Kozlowski
On Mon, Jul 13, 2020 at 07:25:31PM +0530, Tamseel Shams wrote: > In few older Samsung SoCs like s3c2410, s3c2412 > and s3c2440, UART IP is having 2 interrupt lines. > However, in other SoCs like s3c6400, s5pv210, > exynos5433, and exynos4210 UART is having only 1 > interrupt line. Due to this,

Re: [PATCH v2 2/2] arm64: dts: meson: add support for the WeTek Core 2

2020-07-21 Thread Neil Armstrong
On 18/07/2020 11:44, Christian Hewitt wrote: > The WeTek Core2 is a commercial device based on the Amlogic Q200 reference > design but with the following differences: > > - 3GB RAM, 32GB eMMC > - Blue and Red LEDs used to signal on/off status > - uart_AO can be accessed after opening the case;

Re: [PATCH v3 2/2] arm64: dts: meson: add support for the WeTek Core 2

2020-07-21 Thread Neil Armstrong
On 19/07/2020 04:14, Christian Hewitt wrote: > The WeTek Core2 is a commercial device based on the Amlogic Q200 reference > design but with the following differences: > > - 3GB RAM, 32GB eMMC > - Blue and Red LEDs used to signal on/off status > - uart_AO can be accessed after opening the case;

Re: [v2 4/4] clk: x86: Support RV architecture

2020-07-21 Thread Stephen Boyd
Quoting Akshu Agrawal (2020-07-19 22:04:59) > diff --git a/drivers/clk/x86/clk-fch.c b/drivers/clk/x86/clk-fch.c > index b252f0cf0628..d68bca7b213f 100644 > --- a/drivers/clk/x86/clk-fch.c > +++ b/drivers/clk/x86/clk-fch.c [...] > > static int fch_clk_remove(struct platform_device *pdev) > { >

Re: [PATCH 2/4] clk: x86: Change name from ST to FCH

2020-07-21 Thread Stephen Boyd
Quoting Akshu Agrawal (2020-07-19 22:04:57) > diff --git a/drivers/clk/x86/clk-st.c b/drivers/clk/x86/clk-fch.c > similarity index 73% > rename from drivers/clk/x86/clk-st.c > rename to drivers/clk/x86/clk-fch.c > index 25d4b97aff9b..b252f0cf0628 100644 > --- a/drivers/clk/x86/clk-st.c > +++

Re: [PATCH 1/3] arm64: dts: meson: convert ODROID-N2 to dtsi

2020-07-21 Thread Neil Armstrong
On 19/07/2020 16:10, Christian Hewitt wrote: > Convert the current ODROID-N2 dts into a common dtsi in preparation > for adding ODROID-N2+ support. > > Signed-off-by: Christian Hewitt > --- > .../boot/dts/amlogic/meson-g12b-odroid-n2.dts | 493 + >

Re: [PATCH 2/2] arm64: dts: meson: add initial Beelink GS-King-X device-tree

2020-07-21 Thread Jerome Brunet
On Sat 18 Jul 2020 at 07:22, Christian Hewitt wrote: > The Shenzen AZW (Beelink) GS-King-X is based on the Amlogic W400 reference > board with an S922X-H chip. > > - 4GB LPDDR4 RAM > - 64GB eMMC storage > - 10/100/1000 Base-T Ethernet > - AP6356S Wireless (802.11 a/b/g/n/ac, BT 4.1) > - HDMI

  1   2   3   4   5   6   7   8   9   10   >