[PATCH v7 1/7] pinctrl: mediatek: update pinmux definitions for mt6779

2020-07-02 Thread Hanks Chen
Add devicetree bindings for Mediatek mt6779 SoC Pin Controller. Acked-by: Sean Wang Signed-off-by: Mars Cheng Signed-off-by: Andy Teng Signed-off-by: Hanks Chen --- include/dt-bindings/pinctrl/mt6779-pinfunc.h | 1242 ++ 1 file changed, 1242 insertions(+) create mode

Re: [PATCH v6] i2c: designware: platdrv: Set class based on DMI

2020-07-02 Thread Jarkko Nikula
On 7/2/20 1:33 PM, Ricardo Ribalda wrote: Current AMD's zen-based APUs use this core for some of its i2c-buses. With this patch we re-enable autodetection of hwmon-alike devices, so lm-sensors will be able to work automatically. It does not affect the boot-time of embedded devices, as the class

Re: [RFC PATCH 06/16] sched: Add core wide task selection and scheduling.

2020-07-02 Thread Joel Fernandes
On Wed, Jul 01, 2020 at 05:54:11PM -0700, Tim Chen wrote: > > > On 7/1/20 4:28 PM, Joel Fernandes wrote: > > On Tue, Jun 30, 2020 at 09:32:27PM +, Vineeth Remanan Pillai wrote: > >> From: Peter Zijlstra > >> > >> Instead of only selecting a local task, select a task for all SMT > >> siblings

[PATCH] sparc: sparc64_defconfig: add necessary configs for qemu

2020-07-02 Thread Corentin Labbe
The sparc64 qemu machines uses pcnet32 network hardware by default, so for simple boot testing using qemu, having PCNET32 is useful. Same for its storage which is a PATA_CMD64. Signed-off-by: Corentin Labbe --- arch/sparc/configs/sparc64_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff -

[PATCH] MAINTAINERS: net: macb: add Claudiu as co-maintainer

2020-07-02 Thread nicolas.ferre
From: Nicolas Ferre I would like that Claudiu becomes co-maintainer of the Cadence macb driver. He's already participating to lots of reviews and enhancements to this driver and knows the different versions of this controller. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 1 + 1 file changed,

Re: [PATCH v3 1/1] s390: virtio: let arch accept devices without IOMMU feature

2020-07-02 Thread Pierre Morel
On 2020-06-29 18:05, Cornelia Huck wrote: On Mon, 29 Jun 2020 11:57:14 -0400 "Michael S. Tsirkin" wrote: On Wed, Jun 17, 2020 at 12:43:57PM +0200, Pierre Morel wrote: An architecture protecting the guest memory against unauthorized host access may want to enforce VIRTIO I/O device protecti

Re: [PATCH v2 6/6] hwmon: pmbus: use more devres helpers

2020-07-02 Thread Bartosz Golaszewski
On Thu, Jul 2, 2020 at 2:44 PM Greg Kroah-Hartman wrote: > > On Mon, Jun 29, 2020 at 08:50:08AM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Shrink pmbus code by using devm_hwmon_device_register_with_groups() > > and devm_krealloc() instead of their non-managed variants

Re: [PATCH rdma-next 0/6] Cleanup mlx5_ib main file

2020-07-02 Thread Jason Gunthorpe
On Thu, Jul 02, 2020 at 11:18:03AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > Over the years, the main.c file grew above all imagination and was >8K > LOC of the code. This caused to a huge burden while I started to work on > ib_flow allocation patches. > > This series implements

Re: [PATCH rdma-next 0/6] Cleanup mlx5_ib main file

2020-07-02 Thread Leon Romanovsky
On Thu, Jul 02, 2020 at 10:08:09AM -0300, Jason Gunthorpe wrote: > On Thu, Jul 02, 2020 at 11:18:03AM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > Over the years, the main.c file grew above all imagination and was >8K > > LOC of the code. This caused to a huge burden while I sta

Re: [PATCH v12 00/11] Guest Last Branch Recording Enabling

2020-07-02 Thread Liang, Kan
On 7/2/2020 3:40 AM, Peter Zijlstra wrote: On Sat, Jun 13, 2020 at 04:09:45PM +0800, Like Xu wrote: Like Xu (10): perf/x86/core: Refactor hw->idx checks and cleanup perf/x86/lbr: Add interface to get LBR information perf/x86: Add constraint to create guest LBR event without hw counte

Re: [PATCH v2 5/6] devres: provide devm_krealloc()

2020-07-02 Thread Bartosz Golaszewski
On Thu, Jul 2, 2020 at 2:42 PM Greg Kroah-Hartman wrote: > > On Mon, Jun 29, 2020 at 08:50:07AM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Implement the managed variant of krealloc(). This function works with > > all memory allocated by devm_kmalloc() (or devres funct

[PATCH 1/2] arm64: dts: ti: k3-j721e-common-proc-board: Remove duplicated main_i2c1_exp4_pins_default

2020-07-02 Thread Peter Ujfalusi
Two pimux entry is present with the same name, remove one of them. Fixes: cb27354b38f3 ("arm64: dts: ti: k3-j721e: Add DT nodes for few peripherials") Signed-off-by: Peter Ujfalusi --- arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 6 -- 1 file changed, 6 deletions(-) diff --git a

[PATCH 0/2] arm64: dts: ti: k3-j721e-common-proc-board: Enable audio support

2020-07-02 Thread Peter Ujfalusi
Hi, the DT binding document and the driver is now in linux-next: https://lore.kernel.org/lkml/159364215574.10630.2058528286314798186.b4...@kernel.org/ Before adding the audio support, first fix up the DTS file by removing the duplicated main_i2c1_exp4_pins_default. Regards, Peter --- Peter Ujfal

Re: [PATCH v2 00/15] Make the user mode driver code a better citizen

2020-07-02 Thread Eric W. Biederman
Tetsuo Handa writes: > On 2020/06/30 21:29, Eric W. Biederman wrote: >> Hmm. The wake up happens just of tgid->wait_pidfd happens just before >> release_task is called so there is a race. As it is possible to wake >> up and then go back to sleep before pid_has_task becomes false. > > What is th

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

2020-07-02 Thread Daniel Vetter
On Wed, Jul 01, 2020 at 03:31:34PM +, Sidong Yang wrote: > there is an error when igt test is run continuously. vkms_atomic_commit_tail() > need to call drm_atomic_helper_wait_for_vblanks() for give up ownership of > vblank events. without this code, next atomic commit will not enable vblank >

Re: [RFC][PATCH] sched: Better document ttwu()

2020-07-02 Thread Phil Auld
Hi Peter, On Thu, Jul 02, 2020 at 02:52:11PM +0200 Peter Zijlstra wrote: > > Dave hit the problem fixed by commit: > > b6e13e85829f ("sched/core: Fix ttwu() race") > > and failed to understand much of the code involved. Per his request a > few comments to (hopefully) clarify things. > > Re

[PATCH 2/2] arm64: dts: ti: j721e-common-proc-board: Analog audio support

2020-07-02 Thread Peter Ujfalusi
The codec is wired in multi DIN/DOUT setup (DIN1/2/3/4/DOUT1/2/3 is connected to McASP serializer). To support wide range of audio features a generic sound card can not be used since we need to use different reference clock source for 44.1 and 48 KHz family of sampling rates. Depending on the samp

Re: [PATCH net-next] net: dsa: microchip: split adjust_link() in phylink_mac_link_{up|down}()

2020-07-02 Thread Codrin.Ciubotariu
On 02.07.2020 13:19, Russell King - ARM Linux admin wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Thu, Jul 02, 2020 at 12:54:39PM +0300, Codrin Ciubotariu wrote: >> The DSA subsystem moved to phylink and adjust_link() became deprecate

Re: [PATCH] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Daniel Vetter
On Thu, Jul 02, 2020 at 09:21:54AM +0800, Tian Tao wrote: > using the new API drmm_kzalloc() instead of devm_kzalloc() > > Signed-off-by: Tian Tao > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/h

Re: [PATCH v8 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-02 Thread Daniel Vetter
On Thu, Jul 02, 2020 at 09:23:11AM +, Simon Ser wrote: > On Thursday, July 2, 2020 9:47 AM, Neil Armstrong > wrote: > > > Finally is also adds the Scatter Memory layout, meaning the header contains > > IOMMU > > references to the compressed frames content to optimize memory access > > and l

Re: [PATCH v9 3/3] media: vimc: Add a control to display info on test image

2020-07-02 Thread kernel test robot
Hi Kaaira, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v5.8-rc3 next-20200702] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in

Re: [RFC PATCH 10/10] timer: Lower base clock forwarding threshold

2020-07-02 Thread Thomas Gleixner
Frederic Weisbecker writes: > There is no apparent reason for not forwarding base->clk when it's 2 > jiffies late, except perhaps for past optimizations. But since forwarding > has to be done at some point now anyway, this doesn't stand anymore. > > Signed-off-by: Frederic Weisbecker > Cc: Peter

Re: [EXT] [PATCH v1 2/2] qlcninc: use generic power management

2020-07-02 Thread Igor Russkikh
On 02/07/2020 9:36 am, Vaibhav Gupta wrote: > External Email > > -- > With legacy PM, drivers themselves were responsible for managing the > device's power states and takes care of register states. And they use PCI > helper fun

Re: [PATCH 0/5] RFC: connector: Add network namespace awareness

2020-07-02 Thread Eric W. Biederman
Matt Bennett writes: > Previously the connector functionality could only be used by processes > running in the > default network namespace. This meant that any process that uses the > connector functionality > could not operate correctly when run inside a container. This is a draft > patch ser

Re: [RFC PATCH 06/16] sched: Add core wide task selection and scheduling.

2020-07-02 Thread Joel Fernandes
On Thu, Jul 02, 2020 at 08:57:57AM -0400, Joel Fernandes wrote: [...] > > > unconstrained pick, then rq->core_pick is set. The next time task > > > selection > > > logic runs when stopper needs to switch to idle, the current CPU is not in > > > the smt_mask. This causes the previous ->core_pick t

Re: [PATCH v2 06/17] irqchip/gic-v3: Configure SGIs as standard interrupts

2020-07-02 Thread Valentin Schneider
On 30/06/20 11:15, Marc Zyngier wrote: > On 2020-06-25 19:25, Valentin Schneider wrote: >> Also, while staring at this it dawned on me that IPI's don't need the >> eoimode=0 isb(): due to how the IPI flow-handler is structured, we'll >> get a >> gic_eoi_irq() just before calling into the irqactio

[PATCH] drm : Insert blank lines after declarations.

2020-07-02 Thread Suraj Upadhyay
Resolve checkpatch issues for missing blank lines after declarations. Issues found in multiple files with checkpatch.pl. Signed-off-by: Suraj Upadhyay --- Contributor comments : Hii developers, I am a new contributor to linux kernel. This email is over 600 lines however the changes are very small

[PATCH 0/4] media: introduce microchip csi2dc driver

2020-07-02 Thread Eugen Hristev
Hi, This series adds support for the Microchip csi2dc csi-2 demux controller. I was not fully sure where is the best place for such a helper chip, thus I added the driver in a separate 'misc' menu under the media menu. There are references in the binding driver to the Synopsys IDI interface, whi

[PATCH 1/4] dt-bindings: media: csi2dc: add bindings for microchip csi2dc

2020-07-02 Thread Eugen Hristev
Add bindings documentation for microchip CSI2 Demultiplexer controller. CSI2DC is a demultiplexer from Synopsys IDI interface specification to parallel interface connection or direct memory access. Signed-off-by: Eugen Hristev --- .../bindings/media/microchip,csi2dc.yaml | 186

Re: [net-next,PATCH 1/4] net: mdio-ipq4019: change defines to upper case

2020-07-02 Thread Andrew Lunn
On Thu, Jul 02, 2020 at 12:29:58PM +0200, Robert Marko wrote: > In the commit adding the IPQ4019 MDIO driver, defines for timeout and sleep > partially used lower case. > Lets change it to upper case in line with the rest of driver defines. > > Signed-off-by: Robert Marko Reviewed-by: Andrew Lu

[PATCH 2/4] media: misc: introduce miscellaneous menu for helper chips

2020-07-02 Thread Eugen Hristev
Introduce misc directory for misc driver: various helper chips on different platforms. Signed-off-by: Eugen Hristev --- drivers/media/Kconfig | 1 + drivers/media/Makefile | 2 +- drivers/media/misc/Kconfig | 13 + drivers/media/misc/Makefile | 1 + 4 files changed, 16

Re: [PATCH] usb: host: ohci-platform: Disable ohci for rk3288

2020-07-02 Thread Alan Stern
On Thu, Jul 02, 2020 at 02:35:04PM +0530, Jagan Teki wrote: > rk3288 has usb host0 ohci controller but doesn't actually work > on real hardware but it works with new revision chip rk3288w. > > So, disable ohci for rk3288. > > For rk3288w chips the compatible update code is handled by bootloader.

[PATCH 3/4] media: misc: introduce microchip_csi2dc driver

2020-07-02 Thread Eugen Hristev
Microchip CSI2DC (CSI2 Demultiplexer Controller) is a misc bridge device that converts a byte stream in IDI Synopsys format (coming from a CSI2HOST) to a pixel stream that can be captured by a sensor controller. Signed-off-by: Eugen Hristev --- drivers/media/misc/Kconfig| 9 + driv

Re: [PATCH v5] binder: transaction latency tracking for user build

2020-07-02 Thread Frankie Chang
Hi Greg, Todd and all Gentle remind of this patch set Thanks. Frankie On Wed, 2020-06-10 at 20:23 +0800, Frankie Chang wrote: > Frankie.Chang (3): > binder: move structs from core file to header file > binder: add trace at free transaction. > binder: add transaction latency tracer > > dr

[PATCH 4/4] MAINTAINERS: add microchip csi2dc

2020-07-02 Thread Eugen Hristev
Add Microchip CSI2DC driver in the list. Signed-off-by: Eugen Hristev --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 791d2a862e41..a65b8d28c7d2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11069,6 +11069,13 @@ L: alsa-de...@alsa-p

Re: [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu

2020-07-02 Thread Julian Calaby
Hi Corentin, On Thu, Jul 2, 2020 at 11:03 PM Corentin Labbe wrote: > > The sparc64 qemu machines uses pcnet32 network hardware by default, so for > simple boot testing using qemu, having PCNET32 is useful. > Same for its storage which is a PATA_CMD64. > > Signed-off-by: Corentin Labbe > --- > a

Re: [PATCH] sched/fair: update_pick_idlest() Select group with lowest group_util when idle_cpus are equal

2020-07-02 Thread Mel Gorman
On Thu, Jul 02, 2020 at 11:27:52AM +0200, Dietmar Eggemann wrote: > On 17/06/2020 16:52, Peter Puhov wrote: > > On Wed, 17 Jun 2020 at 06:50, Valentin Schneider > > wrote: > >> > >> > >> On 16/06/20 17:48, peter.pu...@linaro.org wrote: > >>> From: Peter Puhov > >>> We tested this patch with follo

Re: [net-next,PATCH 2/4] net: mdio-ipq4019: add clock support

2020-07-02 Thread Andrew Lunn
On Thu, Jul 02, 2020 at 12:29:59PM +0200, Robert Marko wrote: > Some newer SoC-s have a separate MDIO clock that needs to be enabled. > So lets add support for handling the clocks to the driver. > > Signed-off-by: Robert Marko > --- > drivers/net/phy/mdio-ipq4019.c | 28 +

Re: buffer allocation: was: [PATCH v3 3/3] printk: use the lockless ringbuffer

2020-07-02 Thread Petr Mladek
On Mon 2020-06-29 23:57:59, John Ogness wrote: > On 2020-06-29, Petr Mladek wrote: > >> @@ @@ void __init setup_log_buf(int early) > >> + prb_init(&printk_rb_dynamic, > >> + new_log_buf, order_base_2(new_log_buf_len), > >> + new_dict_buf, order_base_2(new_log_buf_len), > >> +

Re: [RFC PATCH 10/10] timer: Lower base clock forwarding threshold

2020-07-02 Thread Frederic Weisbecker
On Thu, Jul 02, 2020 at 03:21:35PM +0200, Thomas Gleixner wrote: > Frederic Weisbecker writes: > > There is no apparent reason for not forwarding base->clk when it's 2 > > jiffies late, except perhaps for past optimizations. But since forwarding > > has to be done at some point now anyway, this do

Re: objtool clac/stac handling change..

2020-07-02 Thread Michael Ellerman
Linus Torvalds writes: > On Wed, Jul 1, 2020 at 12:59 PM Al Viro wrote: >> On Wed, Jul 01, 2020 at 12:04:36PM -0700, Linus Torvalds wrote: >> > >> > That's actually for the access granting. Shutting the access down ends >> > up always doing the same thing anyway.. >> >> #define user_read_access_e

Re: [PATCH v3 3/3] printk: use the lockless ringbuffer

2020-07-02 Thread Petr Mladek
On Thu 2020-07-02 17:43:22, lijiang wrote: > 在 2020年07月02日 17:02, John Ogness 写道: > > On 2020-07-02, lijiang wrote: > >> About the VMCOREINFO part, I made some tests based on the kernel patch > >> v3, the makedumpfile and crash-utility can work as expected with your > >> patch(userspace patch), bu

Q: Getting consistent CPU status rates from /proc/stat

2020-07-02 Thread Ulrich Windl
(Note: I'm not subscribed to the kernel list, so if you want to talk to me, keep me on CC: at least) Hi! I wrote a monitoring plugin for the current SLES12 kernel (like 4.12.14-122.26-default) that reads the numbers from /proc/stat building differences from absolute numbers, and then building

Re: [PATCH v8 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-02 Thread Neil Armstrong
On 02/07/2020 15:18, Daniel Vetter wrote: > On Thu, Jul 02, 2020 at 09:23:11AM +, Simon Ser wrote: >> On Thursday, July 2, 2020 9:47 AM, Neil Armstrong >> wrote: >> >>> Finally is also adds the Scatter Memory layout, meaning the header contains >>> IOMMU >>> references to the compressed fram

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-02 Thread Kishon Vijay Abraham I
Hi Jason, On 7/2/2020 3:40 PM, Jason Wang wrote: > > On 2020/7/2 下午5:51, Michael S. Tsirkin wrote: >> On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote: >>> This series enhances Linux Vhost support to enable SoC-to-SoC >>> communication over MMIO. This series enables rpmsg co

Re: [net-next,PATCH 3/4] net: mdio-ipq4019: add Clause 45 support

2020-07-02 Thread Andrew Lunn
On Thu, Jul 02, 2020 at 12:30:00PM +0200, Robert Marko wrote: > While up-streaming the IPQ4019 driver it was thought that the controller had > no Clause 45 support, > but it actually does and its activated by writing a bit to the mode register. > > So lets add it as newer SoC-s use the same contr

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

2020-07-02 Thread Jacob Pan
Hi Eric, On Thu, 2 Jul 2020 10:47:39 +0200 Auger Eric wrote: > Hi, > > On 7/1/20 5:33 PM, 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

Re: [PATCH v6 5/6] mm/swap: implement workingset detection for anonymous LRU

2020-07-02 Thread Vlastimil Babka
On 6/17/20 7:26 AM, js1...@gmail.com wrote: > From: Joonsoo Kim > > This patch implements workingset detection for anonymous LRU. > All the infrastructure is implemented by the previous patches so this patch > just activates the workingset detection by installing/retrieving > the shadow entry. >

Re: [PATCH v2 14/17] arm64: Kill __smp_cross_call and co

2020-07-02 Thread Marc Zyngier
On 2020-06-25 19:25, Valentin Schneider wrote: On 24/06/20 20:58, Marc Zyngier wrote: @@ -852,8 +841,7 @@ void arch_send_wakeup_ipi_mask(const struct cpumask *mask) #ifdef CONFIG_IRQ_WORK void arch_irq_work_raise(void) { - if (__smp_cross_call) - smp_cross_call(cpumask_of

Re: [net-next,PATCH 4/4] dt-bindings: mdio-ipq4019: add clock support

2020-07-02 Thread Andrew Lunn
> + clock-frequency: > +default: 1 IEEE 802.3 says the default should be 2.5MHz. Some PHYs will go faster, but 100MHz seems unlikely! Andrew

Re: WARNING in idr_alloc

2020-07-02 Thread syzbot
syzbot has bisected this bug to: commit e42671084361302141a09284fde9bbc14fdd16bf Author: Manivannan Sadhasivam Date: Thu May 7 12:53:06 2020 + net: qrtr: Do not depend on ARCH_QCOM bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17325ad510 start commit: 7ae77150 Mer

Re: [PATCH v2 00/15] Make the user mode driver code a better citizen

2020-07-02 Thread Tetsuo Handa
On 2020/07/02 22:08, Eric W. Biederman wrote: > Tetsuo Handa writes: > >> On 2020/06/30 21:29, Eric W. Biederman wrote: >>> Hmm. The wake up happens just of tgid->wait_pidfd happens just before >>> release_task is called so there is a race. As it is possible to wake >>> up and then go back to s

[PATCH v8 2/5] driver core: add deferring probe reason to devices_deferred property

2020-07-02 Thread Andrzej Hajda
/sys/kernel/debug/devices_deferred property contains list of deferred devices. This list does not contain reason why the driver deferred probe, the patch improves it. The natural place to set the reason is dev_err_probe function introduced recently, ie. if dev_err_probe will be called with -EPROBE_

Re: [PATCH] sched/fair: update_pick_idlest() Select group with lowest group_util when idle_cpus are equal

2020-07-02 Thread Vincent Guittot
On Thu, 2 Jul 2020 at 15:29, Mel Gorman wrote: > > On Thu, Jul 02, 2020 at 11:27:52AM +0200, Dietmar Eggemann wrote: > > On 17/06/2020 16:52, Peter Puhov wrote: > > > On Wed, 17 Jun 2020 at 06:50, Valentin Schneider > > > wrote: > > >> > > >> > > >> On 16/06/20 17:48, peter.pu...@linaro.org wrote

Re: [PATCH v6 6/6] mm/vmscan: restore active/inactive ratio for anonymous LRU

2020-07-02 Thread Vlastimil Babka
On 6/17/20 7:26 AM, js1...@gmail.com wrote: > From: Joonsoo Kim > > Now, workingset detection is implemented for anonymous LRU. > We don't have to worry about the misfound for workingset due to > the ratio of active/inactive. Let's restore the ratio. How about: Now that workingset detection is

[PATCH] MAINTAINERS: Change Maintainer for some at91 drivers

2020-07-02 Thread nicolas.ferre
From: Nicolas Ferre I hand over the maintenance of these drivers to my colleagues. Claudiu, Codrin and Tudor already have experience with these controllers and sub-systems. Signed-off-by: Nicolas Ferre --- Mark, Sebastian, I kept these entries together as it may generate conflicts if handled s

Re: [PATCH v2 06/17] irqchip/gic-v3: Configure SGIs as standard interrupts

2020-07-02 Thread Marc Zyngier
On 2020-07-02 14:23, Valentin Schneider wrote: On 30/06/20 11:15, Marc Zyngier wrote: On 2020-06-25 19:25, Valentin Schneider wrote: Also, while staring at this it dawned on me that IPI's don't need the eoimode=0 isb(): due to how the IPI flow-handler is structured, we'll get a gic_eoi_irq() ju

Re: [PATCH net] net: dsa: microchip: set the correct number of ports

2020-07-02 Thread Andrew Lunn
On Thu, Jul 02, 2020 at 12:44:50PM +0300, Codrin Ciubotariu wrote: > The number of ports is incorrectly set to the maximum available for a DSA > switch. Even if the extra ports are not used, this causes some functions > to be called later, like port_disable() and port_stp_state_set(). If the > driv

Re: [PATCH 16/23] seq_file: switch over direct seq_read method calls to seq_read_iter

2020-07-02 Thread Christoph Hellwig
On Thu, Jul 02, 2020 at 11:46:17AM +0200, Miguel Ojeda wrote: > Hi Christoph, > > On Wed, Jul 1, 2020 at 10:25 PM Christoph Hellwig wrote: > > > > Switch over all instances used directly as methods using these sed > > expressions: > > > > sed -i -e 's/\.read\(\s*=\s*\)seq_read/\.read_iter\1seq_re

Re: [PATCH net-next v2 0/4] net: macb: few code cleanups

2020-07-02 Thread Nicolas Ferre
On 02/07/2020 at 11:05, Claudiu Beznea wrote: Hi, Patches in this series cleanup a bit macb code. Thank you, Claudiu Beznea Changes in v2: - in patch 2/4 use hweight32() instead of hweight_long() Claudiu Beznea (4): net: macb: do not set again bit 0 of queue_mask net: macb: use hweight3

Re: [PATCH 2/3] arm64: arch_timer: Allow an workaround descriptor to provide vdso_clock_mode

2020-07-02 Thread Marc Zyngier
On 2020-07-02 11:28, Mark Rutland wrote: On Wed, Jul 01, 2020 at 05:18:23PM +0100, Marc Zyngier wrote: As we are about to disable the vdso for compat tasks in some circumstances, let's allow a workaround descriptor to provide the vdso_clock_mode that matches the platform. Signed-off-by: Marc

Re: [PATCH v2 1/5] thermal: core: Add helpers to browse the cdev, tz and governor list

2020-07-02 Thread Zhang Rui
On Wed, 2020-07-01 at 11:50 +0200, Daniel Lezcano wrote: > On 01/07/2020 09:57, Zhang Rui wrote: > > [ ... ] > > > > Do you want to move them out? > > > > Then no. I don't have any objection of removing thermal_helper.c, > > so > > you can just leave these functions in thermal_core.c > > Shall

Re: Question about "xxx,yyy" style property

2020-07-02 Thread Rob Herring
On Thu, May 28, 2020 at 8:41 PM Kuninori Morimoto wrote: > > > The Subject was "Re: [PATCH] ASoC: dt-bindings: simple-card: care missing > address #address-cells" > > Hi Rob > > I'm trying to create v2 of simple-card patch, > And got issue which I can't solve by myself. > > I think "xxx,yyy" (= w

Re: [RFC PATCH v2 12/18] media: tegra-video: Add support for selection ioctl ops

2020-07-02 Thread Hans Verkuil
On 17/06/2020 03:41, Sowjanya Komatineni wrote: > This patch adds selection v4l2 ioctl operations to allow configuring > a selection rectangle in the sensor through the Tegra video device > node. > > Some sensor drivers supporting crop uses try_crop rectangle from > v4l2_subdev_pad_config during t

[PATCH v2 6/8] KVM: arm64: Add KVM_CAP_ARM_HW_DIRTY_LOG capability

2020-07-02 Thread Keqian Zhu
For that using arm64 DBM to log dirty pages has the side effect of long time dirty log sync, we should give userspace opportunity to enable or disable this feature, to realize some policy. This feature is disabled by default. Signed-off-by: Keqian Zhu Signed-off-by: Peng Liang --- arch/arm64/i

[PATCH v2 8/8] KVM: Omit dirty log sync in log clear if initially all set

2020-07-02 Thread Keqian Zhu
Synchronizing dirty log during log clear is useful only when the dirty bitmap of userspace contains dirty bits that memslot dirty bitmap does not contain, because we can sync new dirty bits to memslot dirty bitmap, then we can clear them by the way and avoid reporting them to userspace later. With

[PATCH v2 7/8] KVM: arm64: Sync dirty log parallel

2020-07-02 Thread Keqian Zhu
Give userspace another selection to solve high-cost dirty log sync, which called multi-core offload. Usersapce can enable this policy through KVM_CAP_ARM_HW_DIRTY_LOG. Signed-off-by: Keqian Zhu Signed-off-by: Peng Liang --- arch/arm64/include/asm/kvm_host.h | 3 ++ arch/arm64/kvm/arm.c

[PATCH v2 5/8] KVM: arm64: Steply write protect page table by mask bit

2020-07-02 Thread Keqian Zhu
During dirty log clear, page table entries are write protected according to a mask. In the past we write protect all entries corresponding to the mask from ffs to fls. Though there may be zero bits between this range, we are holding the kvm mmu lock so we won't write protect entries that we don't w

[PATCH v2 2/8] KVM: arm64: Scan PTEs to sync dirty log

2020-07-02 Thread Keqian Zhu
For hardware management of dirty state, dirty state is stored in PTEs. We have to scan all PTEs to sync dirty log to memslot dirty bitmap. Signed-off-by: Keqian Zhu Signed-off-by: Peng Liang --- arch/arm64/include/asm/kvm_host.h | 1 + arch/arm64/include/asm/kvm_mmu.h | 13 +++ arch/arm64/k

[PATCH v2 1/8] KVM: arm64: Set DBM bit for writable PTEs

2020-07-02 Thread Keqian Zhu
DBM bit is used by MMU to differentiate a genuinely non-writable page from a page that is only temporarily non-writable in order to mark dirty. Signed-off-by: Keqian Zhu Signed-off-by: Peng Liang --- arch/arm64/include/asm/kvm_mmu.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/a

[PATCH v2 3/8] KVM: arm64: Modify stage2 young mechanism to support hw DBM

2020-07-02 Thread Keqian Zhu
Marking PTs young (set AF bit) should be atomic to avoid cover dirty status set by hardware. Signed-off-by: Keqian Zhu Signed-off-by: Peng Liang --- arch/arm64/include/asm/kvm_mmu.h | 31 ++- arch/arm64/kvm/mmu.c | 15 --- 2 files changed, 30

[PATCH v2 0/8] KVM: arm64: Support HW dirty log based on DBM

2020-07-02 Thread Keqian Zhu
This patch series add support for dirty log based on HW DBM. It works well under some migration test cases, including VM with 4K pages or 2M THP. I checked the SHA256 hash digest of all memory and they keep same for source VM and destination VM, which means no dirty pages is missed under hardware

[PATCH v2 4/8] KVM: arm64: Save stage2 PTE dirty status if it is covered

2020-07-02 Thread Keqian Zhu
kvm_set_pte is called to replace a target PTE with a desired one. We always do this without changing the desired one, but if dirty status set by hardware is covered, let caller know it. There are two types of operations will change PTE and may cover dirty status set by hardware. 1. Stage2 PTE unm

Re: [PATCH v12 00/11] Guest Last Branch Recording Enabling

2020-07-02 Thread Peter Zijlstra
On Thu, Jul 02, 2020 at 09:11:06AM -0400, Liang, Kan wrote: > On 7/2/2020 3:40 AM, Peter Zijlstra wrote: > > On Sat, Jun 13, 2020 at 04:09:45PM +0800, Like Xu wrote: > > > Like Xu (10): > > >perf/x86/core: Refactor hw->idx checks and cleanup > > >perf/x86/lbr: Add interface to get LBR infor

[PATCH 2/2] drm/amdgpu: Change type of module param `ppfeaturemask` to hex

2020-07-02 Thread Paul Menzel
The newly added hex helper is more convenient for bitmasks. Before: $ more /sys/module/amdgpu/parameters/ppfeaturemask 4294950911 After: $ more /sys/module/amdgpu/parameters/ppfeaturemask 0xbfff Cc: amd-...@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Signed-off-b

[PATCH 1/2] moduleparams: Add hex type parameter

2020-07-02 Thread Paul Menzel
For bitmasks printing values in hex is more convenient. Prefix with 0x (#) to make it clear, that it’s a hex value. Using the helper for `amdgpu.ppfeaturemask`, it will look like below. Before: $ more /sys/module/amdgpu/parameters/ppfeaturemask 4294950911 After: $ more /sys/module

Re: objtool clac/stac handling change..

2020-07-02 Thread Al Viro
On Thu, Jul 02, 2020 at 11:34:31PM +1000, Michael Ellerman wrote: > I think we can do something to make it work. > > We don't have an equivalent of x86's ex_handler_uaccess(), so it's not > quite as easy as whacking a user_access_end() in there. > > Probably the simplest option for us is to just

Re: [RFC PATCH 01/10] timer: Prevent base->clk from moving backward

2020-07-02 Thread Frederic Weisbecker
On Thu, Jul 02, 2020 at 11:59:59AM +0200, Juri Lelli wrote: > On 02/07/20 01:20, Frederic Weisbecker wrote: > > On Wed, Jul 01, 2020 at 06:35:04PM +0200, Juri Lelli wrote: > > > Guess you might be faster to understand what I'm missing. :-) > > > > So, did you port only this patch or the whole set

Re: objtool clac/stac handling change..

2020-07-02 Thread Al Viro
On Thu, Jul 02, 2020 at 03:01:59PM +0100, Al Viro wrote: > On Thu, Jul 02, 2020 at 11:34:31PM +1000, Michael Ellerman wrote: > > > I think we can do something to make it work. > > > > We don't have an equivalent of x86's ex_handler_uaccess(), so it's not > > quite as easy as whacking a user_acces

Re: [PATCH] drm/msm/dpu: fix wrong return value in dpu_encoder_init()

2020-07-02 Thread Markus Elfring
> A positive value ENOMEM is returned here. I thinr this is a typo error. > It is necessary to return a negative error value. I imagine that a small adjustment could be nice for this change description. How do you think about to follow progress for the integration of a previous patch like “[RESEN

Re: [PATCH V3 (RESEND) 1/3] mm/sparsemem: Enable vmem_altmap support in vmemmap_populate_basepages()

2020-07-02 Thread Catalin Marinas
On Thu, Jun 18, 2020 at 06:45:28AM +0530, Anshuman Khandual wrote: > vmemmap_populate_basepages() is used across platforms to allocate backing > memory for vmemmap mapping. This is used as a standard default choice or > as a fallback when intended huge pages allocation fails. This just creates > en

Re: [PATCH] drm/msm/dpu: fix wrong return value in dpu_encoder_init()

2020-07-02 Thread Markus Elfring
> A positive value ENOMEM is returned here. I thinr this is a typo error. > It is necessary to return a negative error value. I imagine that a small adjustment could be nice for this change description. How do you think about to follow progress for the integration of a previous patch like “[RESEN

[PATCH] mtd: spi-nor: Add support for Macronix MX25R1635F

2020-07-02 Thread Schrempf Frieder
From: Frieder Schrempf The MX25R1635F is the smaller sibling of the MX25R3235F that is already supported. It's only half the size (16Mb). It was tested on the Kontron Electronics i.MX8MM SoM (N8010) using raw read and write from and to the mtd device and the 'flash_erase' command. Signed-off-by

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Lad, Prabhakar
Hi Geert, On Thu, Jul 2, 2020 at 1:52 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Thu, Jul 2, 2020 at 1:42 PM Lad, Prabhakar > wrote: > > On Thu, Jul 2, 2020 at 11:49 AM Lad, Prabhakar > > wrote: > > > On Thu, Jul 2, 2020 at 10:23 AM Geert Uytterhoeven > > > wrote: > > > > On Wed, J

Re: [PATCH V3 (RESEND) 2/3] mm/sparsemem: Enable vmem_altmap support in vmemmap_alloc_block_buf()

2020-07-02 Thread Catalin Marinas
On Thu, Jun 18, 2020 at 06:45:29AM +0530, Anshuman Khandual wrote: > There are many instances where vmemap allocation is often switched between > regular memory and device memory just based on whether altmap is available > or not. vmemmap_alloc_block_buf() is used in various platforms to allocate >

Re: [PATCH] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Thomas Zimmermann
Hi Daniel Am 02.07.20 um 15:16 schrieb Daniel Vetter: > On Thu, Jul 02, 2020 at 09:21:54AM +0800, Tian Tao wrote: >> using the new API drmm_kzalloc() instead of devm_kzalloc() >> >> Signed-off-by: Tian Tao >> --- >> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 ++- >> 1 file changed, 2 in

Re: [RFC PATCH v2 00/18] Support for Tegra video capture from external sensor

2020-07-02 Thread Hans Verkuil
Hi Sowjanya, On 17/06/2020 03:41, Sowjanya Komatineni wrote: > This series adds support for video capture from external camera sensor to > Tegra video driver. > > Jetson TX1 has camera expansion connector and supports custom camera module > designed as per TX1 design specification. > > This seri

[PATCH] docs: powerpc: Clarify book3s/32 MMU families

2020-07-02 Thread Christophe Leroy
Documentation wrongly tells that book3s/32 CPU have hash MMU. 603 and e300 core only have software loaded TLB. 755, 7450 family and e600 core have both hash MMU and software loaded TLB. This can be selected by setting a bit in HID2 (755) or HID0 (others). At the time being this is not supported b

Re: [PATCH V3 (RESEND) 3/3] arm64/mm: Enable vmem_altmap support for vmemmap mappings

2020-07-02 Thread Catalin Marinas
On Thu, Jun 18, 2020 at 06:45:30AM +0530, Anshuman Khandual wrote: > Device memory ranges when getting hot added into ZONE_DEVICE, might require > their vmemmap mapping's backing memory to be allocated from their own range > instead of consuming system memory. This prevents large system memory usag

Re: [PATCH 18/20] block: refator submit_bio_noacct

2020-07-02 Thread Qian Cai
.590615][ T1373] CPU: 2 PID: 1373 Comm: mount Not tainted 5.8.0-rc3-next-20200702 #2 [ 55.598672][ T1373] Hardware name: HPE ProLiant DL385 Gen10/ProLiant DL385 Gen10, BIOS A40 07/10/2019 [ 55.607972][ T1373] Call Trace: [ 55.607980][ T1373] dump_stack+0x9d/0xe0 [ 55.607984][ T1373] ? bi

[RFC] hung_task:add detecting task in D state milliseconds timeout

2020-07-02 Thread yang che
current hung_task_check_interval_secs and hung_task_timeout_secs only supports seconds.in some cases,the TASK_UNINTERRUPTIBLE state takes less than 1 second.The task of the graphical interface, the unterruptible state lasts for hundreds of milliseconds will cause the interface to freeze echo 1 > /

[PATCH 0/2] ASoC: fsl-asoc-card: add support for generic codecs

2020-07-02 Thread Arnaud Ferraris
fsl-asoc-card currently only works with AC97 or a selection of codecs, although the hardware is capable of more. Supporting generic codecs when acting as I2S slave (codec is master) would be useful, especially when using Bluetooth audio, as these are generally simple I2S devices not controlled by

Re: [PATCH tip/core/rcu 03/17] rcu/tree: Skip entry into the page allocator for PREEMPT_RT

2020-07-02 Thread Sebastian Andrzej Siewior
On 2020-06-30 11:35:34 [-0700], Paul E. McKenney wrote: > > This is not going to work together with the "wait context validator" > > (CONFIG_PROVE_RAW_LOCK_NESTING). As of -rc3 it should complain about > > printk() which is why it is still disabled by default. > > Fixing that should be "interestin

[PATCH 2/2] ASoC: fsl-asoc-card: add support for generic I2S slave use-case

2020-07-02 Thread Arnaud Ferraris
This commit implements support for generic codecs with the SoC acting as I2S slave, by implementing the new `fsl,imx-audio-i2s-slave` compatible and related properties. This is particularly useful when using a Bluetooth controller acting as I2S master, but other simple or dummy codecs might benefi

[PATCH 1/2] dt-bindings: sound: fsl-asoc-card: add new compatible for I2S slave

2020-07-02 Thread Arnaud Ferraris
fsl-asoc-card currently doesn't support generic codecs with the SoC acting as I2S slave. This commit adds a new `fsl,imx-audio-i2s-slave` for this use-case, as well as the following mandatory properties: - `audio-codec-dai-name` for specifying the codec DAI to be used - `audio-slot-width` Signed-

[PATCH net-next v2 0/5] mvpp2: XDP support

2020-07-02 Thread Matteo Croce
From: Matteo Croce From: Matteo Croce Add XDP support to mvpp2. This series converts the driver to the page_pool API for RX buffer management, and adds native XDP support. XDP support comes with extack error reporting and statistics as well. These are the performance numbers, as measured by S

[PATCH net-next v2 1/5] mvpp2: refactor BM pool init percpu code

2020-07-02 Thread Matteo Croce
From: Matteo Croce In mvpp2_swf_bm_pool_init_percpu(), a reference to a struct mvpp2_bm_pool is obtained traversing multiple structs, when a local variable already points to the same object. Fix it and, while at it, give the variable a meaningful name. Signed-off-by: Matteo Croce --- .../net/

[PATCH net-next v2 2/5] mvpp2: use page_pool allocator

2020-07-02 Thread Matteo Croce
From: Matteo Croce Use the page_pool API for memory management. This is a prerequisite for native XDP support. Tested-by: Sven Auhagen Signed-off-by: Matteo Croce --- drivers/net/ethernet/marvell/Kconfig | 1 + drivers/net/ethernet/marvell/mvpp2/mvpp2.h| 8 + .../net/ethernet

Re: linux-next test error: KASAN: stack-out-of-bounds Read in bio_alloc_bioset

2020-07-02 Thread Qian Cai
On Thu, Jul 02, 2020 at 03:02:14AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:d37d5704 Add linux-next specific files for 20200702 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=15

[PATCH net-next v2 3/5] mvpp2: add basic XDP support

2020-07-02 Thread Matteo Croce
From: Matteo Croce Add XDP native support. By now only XDP_DROP, XDP_PASS and XDP_REDIRECT verdicts are supported. Co-developed-by: Sven Auhagen Signed-off-by: Sven Auhagen Signed-off-by: Matteo Croce --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h| 28 ++- .../net/ethernet/marvell/mvpp2

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