[PATCH] kvm: Fix false positive RCU usage warning

2020-04-28 Thread madhuparnabhowmik10
From: Madhuparna Bhowmik Fix the following false positive warnings: [ 9403.765413][T61744] = [ 9403.786541][T61744] WARNING: suspicious RCU usage [ 9403.807865][T61744] 5.7.0-rc1-next-20200417 #4 Tainted: G L [ 9403.838945][T61744]

Re: [PATCH v4] Add new uio device for PCI with dynamic memory allocation

2020-04-28 Thread Stahl, Manuel
On Di, 2020-04-28 at 15:54 +0200, greg k-h wrote: > On Thu, Apr 16, 2020 at 06:38:30PM +0200, Manuel Stahl wrote: > > This device combines the uio_pci_generic driver and the uio_dmem_genirq > > driver since PCI uses a slightly different API for interrupts. > > A fixed number of DMA capable memory r

Re: [PATCH] Input: synaptics-rmi4 - Really fix attn_data use-after-free

2020-04-28 Thread Evan Green
On Mon, Apr 27, 2020 at 6:11 PM Dmitry Torokhov wrote: > > On Mon, Apr 27, 2020 at 02:55:48PM -0700, Evan Green wrote: > > Fix a use-after-free noticed by running with KASAN enabled. If > > rmi_irq_fn() is run twice in a row, then rmi_f11_attention() (among > > others) will end up reading from drv

Re: [PATCH] gpiolib: don't call sleeping functions with a spinlock taken

2020-04-28 Thread Andy Shevchenko
On Tue, Apr 14, 2020 at 6:35 PM Bartosz Golaszewski wrote: > > wt., 14 kwi 2020 o 14:00 Linus Walleij napisał(a): > > > > On Fri, Mar 20, 2020 at 10:31 AM Bartosz Golaszewski wrote: > > > > > From: Bartosz Golaszewski > > > > > > We must not call pinctrl_gpio_can_use_line() with the gpio_lock t

Re: x86 entry perf unwinding failure (missing IRET_REGS annotation on stack switch?)

2020-04-28 Thread Josh Poimboeuf
On Tue, Apr 28, 2020 at 10:49:09AM -0500, Josh Poimboeuf wrote: > On Tue, Apr 28, 2020 at 05:25:52PM +0200, Peter Zijlstra wrote: > > On Tue, Apr 28, 2020 at 09:31:57AM -0500, Josh Poimboeuf wrote: > > > That's quite the monstrosity, and I still don't see the point. I > > > thought we decided to j

Re: [PATCH v3 1/3] dt-bindings: ath10k: Add wifi-firmware subnode for wifi node

2020-04-28 Thread Rob Herring
On Wed, 15 Apr 2020 23:01:44 +0530, Rakesh Pillai wrote: > Add a wifi-firmware subnode for the wifi node. > This wifi-firmware subnode is needed for the > targets which do not support TrustZone. > > Signed-off-by: Rakesh Pillai > --- > .../devicetree/bindings/net/wireless/qcom,ath10k.txt |

Re: [PATCH v2 79/91] drm/vc4: hdmi: Deal with multiple debugfs files

2020-04-28 Thread Maxime Ripard
Hi Stefan, On Sat, Apr 25, 2020 at 11:26:31PM +0200, Stefan Wahren wrote: > Am 24.04.20 um 17:35 schrieb Maxime Ripard: > > The HDMI driver was registering a single debugfs file so far with the name > > hdmi_regs. > > > > Obviously, this is not going to work anymore when will have multiple HDMI >

Re: [PATCH v2] virtio-blk: handle block_device_operations callbacks after hot unplug

2020-04-28 Thread Stefan Hajnoczi
On Tue, Apr 28, 2020 at 11:25:07AM -0400, Michael S. Tsirkin wrote: > On Tue, Apr 28, 2020 at 03:30:09PM +0100, Stefan Hajnoczi wrote: > > A userspace process holding a file descriptor to a virtio_blk device can > > still invoke block_device_operations after hot unplug. For example, a > > program

Re: [PATCH v3 2/2] devicetree: bindings: phy: Document ipq806x dwc3 qcom phy

2020-04-28 Thread Rob Herring
On Wed, Apr 15, 2020 at 11:07:27PM +0200, Ansuel Smith wrote: > Document dwc3 qcom phy hs and ss phy bindings needed to correctly > inizialize and use usb on ipq806x SoC. > > Signed-off-by: Ansuel Smith > --- > v3: > * Use explicit reg instead of regmap > > .../bindings/phy/qcom,ipq806x-usb-phy

Re: [PATCH v4] Add new uio device for PCI with dynamic memory allocation

2020-04-28 Thread gre...@linuxfoundation.org
On Tue, Apr 28, 2020 at 03:47:42PM +, Stahl, Manuel wrote: > > > > > + return err; > > > + } > > > + pci_set_master(pdev); > > > + > > > + dev_info(&pdev->dev, "Legacy IRQ: %i", pdev->irq); > > > > Again, remove, be quiet :) > > Use dev_dbg() or remove completely? If it helps in deb

Re: [PATCH v10 00/13] arm64: Branch Target Identification support

2020-04-28 Thread Mark Brown
On Tue, Apr 28, 2020 at 04:18:16PM +0100, Will Deacon wrote: > On Tue, Apr 28, 2020 at 04:12:05PM +0100, Mark Brown wrote: > > It's probably easier for me if you just use the existing branch, I've > > already got a branch based on a merge down. > Okey doke, I'll funnel that in the direction of li

Re: [PATCH net-next 0/3] vsock: support network namespace

2020-04-28 Thread Stefano Garzarella
On Tue, Apr 28, 2020 at 04:13:22PM +0800, Jason Wang wrote: > > On 2020/4/27 下午10:25, Stefano Garzarella wrote: > > Hi David, Michael, Stefan, > > I'm restarting to work on this topic since Kata guys are interested to > > have that, especially on the guest side. > > > > While working on the v2 I

Re: [RFC PATCH] powerpc/spufs: fix copy_to_user while atomic

2020-04-28 Thread Arnd Bergmann
On Tue, Apr 28, 2020 at 2:05 PM Jeremy Kerr wrote: > > Currently, we may perform a copy_to_user (through > simple_read_from_buffer()) while holding a context's register_lock, > while accessing the context save area. > > This change uses a temporary buffers for the context save area data, > which w

Re: [PATCH] dmaengine: qcom_hidma: Simplify error handling path in hidma_probe

2020-04-28 Thread Sinan Kaya
On 4/28/2020 8:54 AM, Dan Carpenter wrote: >> @@ -897,7 +897,6 @@ static int hidma_probe(struct platform_device *pdev) >> if (msi) > ^^^ > This test doesn't work. It will call free hidma_free_msis() if the > hidma_request_msi() call fails. We should do: > > if (msi) { >

Re: [PATCH v1 00/15] Add support for Nitro Enclaves

2020-04-28 Thread Liran Alon
On 28/04/2020 18:25, Alexander Graf wrote: On 27.04.20 13:44, Liran Alon wrote: On 27/04/2020 10:56, Paraschiv, Andra-Irina wrote: On 25/04/2020 18:25, Liran Alon wrote: On 23/04/2020 16:19, Paraschiv, Andra-Irina wrote: The memory and CPUs are carved out of the primary VM, they are d

Re: [PATCH v10 00/13] arm64: Branch Target Identification support

2020-04-28 Thread Will Deacon
On Tue, Apr 28, 2020 at 04:58:12PM +0100, Mark Brown wrote: > On Tue, Apr 28, 2020 at 04:18:16PM +0100, Will Deacon wrote: > > On Tue, Apr 28, 2020 at 04:12:05PM +0100, Mark Brown wrote: > > > > It's probably easier for me if you just use the existing branch, I've > > > already got a branch based

Re: [RFC 00/17] DRM: fix struct sg_table nents vs. orig_nents misuse

2020-04-28 Thread Robin Murphy
On 2020-04-28 4:32 pm, Daniel Vetter wrote: On Tue, Apr 28, 2020 at 04:02:57PM +0200, Christoph Hellwig wrote: On Tue, Apr 28, 2020 at 03:19:48PM +0200, Marek Szyprowski wrote: 1. introduce a dma_{map,sync,unmap}_sgtable() wrappers, which will use a proper sg_table entries and call respecti

Re: [PATCH v2] virtio-blk: handle block_device_operations callbacks after hot unplug

2020-04-28 Thread Michael S. Tsirkin
On Tue, Apr 28, 2020 at 04:57:15PM +0100, Stefan Hajnoczi wrote: > On Tue, Apr 28, 2020 at 11:25:07AM -0400, Michael S. Tsirkin wrote: > > On Tue, Apr 28, 2020 at 03:30:09PM +0100, Stefan Hajnoczi wrote: > > > A userspace process holding a file descriptor to a virtio_blk device can > > > still invo

Re: [PATCH 4/7] arm64: dts: allwinner: a64: Add HDMI audio

2020-04-28 Thread Maxime Ripard
On Tue, Apr 28, 2020 at 10:54:00AM +0200, Clément Péron wrote: > Hi Maxime, > > On Tue, 28 Apr 2020 at 10:00, Maxime Ripard wrote: > > > > On Sun, Apr 26, 2020 at 02:04:39PM +0200, Clément Péron wrote: > > > From: Marcus Cooper > > > > > > Add a simple-soundcard to link audio between HDMI and I2

Re: [RFC PATCH v1 3/5] media: tegra-video: Move PM runtime handle to streaming

2020-04-28 Thread Dmitry Osipenko
28.04.2020 18:22, Sowjanya Komatineni пишет: > > On 4/28/20 8:15 AM, Dmitry Osipenko wrote: >> External email: Use caution opening links or attachments >> >> >> 28.04.2020 18:08, Sowjanya Komatineni пишет: >>> On 4/28/20 7:59 AM, Dmitry Osipenko wrote: External email: Use caution opening link

Re: [PATCH v8 8/8] powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32

2020-04-28 Thread Arnd Bergmann
On Tue, Apr 28, 2020 at 3:16 PM Christophe Leroy wrote: > > Provides __kernel_clock_gettime64() on vdso32. This is the > 64 bits version of __kernel_clock_gettime() which is > y2038 compliant. > > Signed-off-by: Christophe Leroy Looks good to me Reviewed-by: Arnd Bergmann There was a bug on A

Re: [PATCH -next] drm/mediatek: Fix Kconfig warning

2020-04-28 Thread Chun-Kuang Hu
Daniel Vetter 於 2020年4月28日 週二 下午10:55寫道: > > On Sun, Apr 26, 2020 at 04:20:39PM +0800, Chun-Kuang Hu wrote: > > Hi, YueHaibing: > > > > YueHaibing 於 2020年4月20日 週一 下午10:04寫道: > > > > > > WARNING: unmet direct dependencies detected for MTK_MMSYS > > > Depends on [n]: (ARCH_MEDIATEK [=y] || COMPIL

Re: [PATCH] net: Select PTP_1588_CLOCK in PTP-specific drivers

2020-04-28 Thread Arnd Bergmann
On Tue, Apr 28, 2020 at 11:21 AM Geert Uytterhoeven wrote: > On Tue, Apr 28, 2020 at 11:14 AM Clay McClure wrote: > > Commit d1cbfd771ce8 ("ptp_clock: Allow for it to be optional") changed > > all PTP-capable Ethernet drivers from `select PTP_1588_CLOCK` to `imply > > PTP_1588_CLOCK`, "in order t

[PATCH net v3 1/2] net: phy: DP83822: Fix WoL in config init to be disabled

2020-04-28 Thread Dan Murphy
The WoL feature should be disabled when config_init is called and the feature should turned on or off when set_wol is called. In addition updated the calls to modify the registers to use the set_bit and clear_bit function calls. Fixes: 3b427751a9d0 ("net: phy: DP83822 initial driver submission")

[PATCH v21 04/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-04-28 Thread Dan Murphy
Introduce the LP5036/30/24/18/12/9 RGB LED driver. The difference in these parts are the number of LED outputs where the: LP5036 can control 36 LEDs LP5030 can control 30 LEDs LP5024 can control 24 LEDs LP5018 can control 18 LEDs LP5012 can control 12 LEDs LP5009 can control 9 LEDs The device has

[PATCH v21 03/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-04-28 Thread Dan Murphy
Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver. The LP5036/30/24/18/12/9 can control RGB LEDs individually or as part of a control bank group. These devices have the ability to adjust the mixing control for the RGB LEDs to o

[PATCH v21 05/16] dt: bindings: lp55xx: Be consistent in the document with LED acronym

2020-04-28 Thread Dan Murphy
Update the document to be consistent in case when using "LED". This acronym should be capital throughout the document. Signed-off-by: Dan Murphy Acked-by: Pavel Machek --- Documentation/devicetree/bindings/leds/leds-lp55xx.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --

[PATCH v21 02/16] leds: multicolor: Introduce a multicolor class definition

2020-04-28 Thread Dan Murphy
Introduce a multicolor class that groups colored LEDs within a LED node. The multi color class groups monochrome LEDs and allows controlling two aspects of the final combined color: hue and lightness. The former is controlled via the intensity file and the latter is controlled via brightness file.

[PATCH v21 00/16] Multicolor Framework

2020-04-28 Thread Dan Murphy
This is the multi color LED framework. This framework presents clustered colored LEDs into an array and allows the user space to adjust the brightness of the cluster using a single file write. The individual colored LEDs intensities are controlled via a single file that is an array of LEDs Dan

[PATCH v21 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-04-28 Thread Dan Murphy
Add DT bindings for the LEDs multicolor class framework. Add multicolor ID to the color ID list for device tree bindings. CC: Rob Herring Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class-multicolor.txt | 98 +++ drivers/leds/led-core.c

[PATCH v21 08/16] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

2020-04-28 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Acked-by: Pavel Machek Signed-off-by: D

[PATCH v21 15/16] leds: lp5523: Fix checkpatch issues in the code

2020-04-28 Thread Dan Murphy
Fix checkpatch errors and warnings for the LP5523.c device driver. Signed-off-by: Dan Murphy Acked-by: Pavel Machek --- drivers/leds/leds-lp5523.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c ind

Re: Remaining randconfig objtool warnings, linux-next-20200428

2020-04-28 Thread Josh Poimboeuf
On Tue, Apr 28, 2020 at 04:49:15PM +0200, Arnd Bergmann wrote: > I noticed the number of objtool warnings in randconfig kernels have gone down > recently, maybe it's possible to eliminate the remaining ones? > > Here are the ones I ran into recently, using gcc-9.3: > > ==> build/x86/0x3D2B5D6D_d

[PATCH v21 06/16] dt: bindings: lp55xx: Update binding for Multicolor Framework

2020-04-28 Thread Dan Murphy
Update the DT binding to include the properties to use the multicolor framework for the devices that use the LP55xx framework. Reviewed-by: Linus Walleij Signed-off-by: Dan Murphy CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kernel

[PATCH v21 14/16] leds: lp55xx: Fix checkpatch file permissions issues

2020-04-28 Thread Dan Murphy
Fix the checkpatch warnings for the use of the file permission macros. In converting the file permissions to the DEVICE_ATTR_XX macros the call back function names needed to be updated within the code. This means that the lp55xx_ needed to be dropped in the name to keep in harmony with the ABI doc

[PATCH v21 11/16] leds: lp55xx: Add multicolor framework support to lp55xx

2020-04-28 Thread Dan Murphy
Add multicolor framework support for the lp55xx family. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 1 + drivers/leds/leds-lp5521.c| 14 +- drivers/leds/leds-lp5523.c| 14 +- drivers/leds/leds-lp5562.c

[PATCH v21 09/16] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes

2020-04-28 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Linus Wal

Re: [PATCH v3] checkpatch: add dedicated checker for 'Fixes:' tag

2020-04-28 Thread Joe Perches
On Tue, 2020-04-28 at 10:02 +0800, Wang YanQing wrote: > According to submitting-patches.rst, 'Fixes:' tag has a little > stricter condition about the one line summary: > ... > Do not split the tag across multiple > lines, tags are exempt from the "wrap at 75 columns" rule in order to simplify > pa

[PATCH v21 13/16] leds: lp5521: Add multicolor framework multicolor brightness support

2020-04-28 Thread Dan Murphy
Add the multicolor brightness call back to support the multicolor framework. This function allows setting the brightness across grouped LED channels in a single call. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c | 20 1 file changed, 20 in

[PATCH net v3 0/2] WoL fixes for DP83822 and DP83tc811

2020-04-28 Thread Dan Murphy
Hello The WoL feature for each device was enabled during boot or when the PHY was brought up which may be undesired. These patches disable the WoL in the config_init. The disabling and enabling of the WoL is now done though the set_wol call. Dan Dan Murphy (2): net: phy: DP83822: Fix WoL in

[PATCH v21 16/16] dt: bindings: Update lp55xx binding to recommended LED naming

2020-04-28 Thread Dan Murphy
Update the LP55xx DT binding examples to the recommended node naming convention. There are no changes to the DT properties. Signed-off-by: Dan Murphy CC: Rob Herring CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kernel Team CC: Fab

[PATCH v21 12/16] leds: lp5523: Update the lp5523 code to add multicolor brightness function

2020-04-28 Thread Dan Murphy
Add the multicolor brightness call back to support the multicolor framework. This call back allows setting brightness on grouped channels in a single function. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c | 20 1 file changed, 20 inserti

Re: [PATCH] soc: imx8m: Make imx8m_dsp_ops static

2020-04-28 Thread Kai Vehmanen
Hi, [+Daniel] On Sat, 25 Apr 2020, ChenTao wrote: > Fix the following warning: > > sound/soc/sof/imx/imx8m.c:95:20: warning: > symbol 'imx8m_dsp_ops' was not declared. Should it be static? yes, this was missed in the initial version of this driver. Ok to go with this: Acked-by: Kai Vehmanen

[PATCH v21 10/16] leds: lp55xx: Convert LED class registration to devm_*

2020-04-28 Thread Dan Murphy
Convert the LED class registration calls to the LED devm_* registration calls. Signed-off-by: Dan Murphy Acked-by: Pavel Machek --- drivers/leds/leds-lp5521.c| 9 +++-- drivers/leds/leds-lp5523.c| 9 +++-- drivers/leds/leds-lp5562.c| 9 +++-- drivers/leds/

[PATCH v21 07/16] ARM: dts: n900: Add reg property to the LP5523 channel node

2020-04-28 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy Acked-by: Ton

[PATCH net v3 2/2] net: phy: DP83TC811: Fix WoL in config init to be disabled

2020-04-28 Thread Dan Murphy
The WoL feature should be disabled when config_init is called and the feature should turned on or off when set_wol is called. In addition updated the calls to modify the registers to use the set_bit and clear_bit function calls. Fixes: 6d749428788b ("net: phy: DP83TC811: Introduce support for th

Re: BPFilter: bit size mismatch between bpfiter_umh and vmliux

2020-04-28 Thread Alexei Starovoitov
On Tue, Apr 28, 2020 at 3:54 AM Masahiro Yamada wrote: > > Hi. > > I have a question about potential bit size > mismatch between vmlinux and bpfilter_umh. > > > net/bpfilter/bpfilter_umh is compiled for the > default machine bit of the compiler. > This may not match to the kernel bit size. > > > T

[PATCH v5 0/4] Charge loop device i/o to issuing cgroup

2020-04-28 Thread Dan Schatzberg
Changes since V5: * Fixed a missing css_put when failing to allocate a worker * Minor style changes Changes since V4: Only patches 1 and 2 have changed. * Fixed irq lock ordering bug * Simplified loop detach * Added support for nesting memalloc_use_memcg Changes since V3: * Fix race on loop d

[PATCH v5 4/4] loop: Charge i/o to mem and blk cg

2020-04-28 Thread Dan Schatzberg
The current code only associates with the existing blkcg when aio is used to access the backing file. This patch covers all types of i/o to the backing file and also associates the memcg so if the backing file is on tmpfs, memory is charged appropriately. This patch also exports cgroup_get_e_css s

[PATCH v5 1/4] loop: Use worker per cgroup instead of kworker

2020-04-28 Thread Dan Schatzberg
Existing uses of loop device may have multiple cgroups reading/writing to the same device. Simply charging resources for I/O to the backing file could result in priority inversion where one cgroup gets synchronously blocked, holding up all other I/O to the loop device. In order to avoid this prior

Re: [PATCH] drm/mcde: dsi: Fix a return value check in mcde_dsi_bind()

2020-04-28 Thread Markus Elfring
> In case of error, the function of_drm_find_bridge() returns NULL pointer > not ERR_PTR(). Such information is helpful. > The IS_ERR() test in the return value check should be > replaced with NULL test. * Would you like to convert this description into an imperative wording? * Please fix the

Re: [PATCH] regulator: bd718x7: remove voltage change restriction from BD71847

2020-04-28 Thread Mark Brown
On Tue, 28 Apr 2020 12:29:30 +0300, Matti Vaittinen wrote: > The BD71837 had a HW "feature" where changing the regulator output > voltages of other regulators but bucks 1-4 might cause spikes if > regulators were enabled. Thus SW prohibit voltage changes for other > regulators except for bucks 1-4

[PATCH v5 2/4] mm: support nesting memalloc_use_memcg()

2020-04-28 Thread Dan Schatzberg
From: Johannes Weiner The memalloc_use_memcg() function to override the default memcg accounting context currently doesn't nest. But the patches to make the loop driver cgroup-aware will end up nesting: [ 98.137605] alloc_page_buffers+0x210/0x288 [ 98.141799] __getblk_gfp+0x1d4/0x400 [ 9

[PATCH v5 3/4] mm: Charge active memcg when no mm is set

2020-04-28 Thread Dan Schatzberg
memalloc_use_memcg() worked for kernel allocations but was silently ignored for user pages. This patch establishes a precedence order for who gets charged: 1. If there is a memcg associated with the page already, that memcg is charged. This happens during swapin. 2. If an explicit mm is passe

Re: [PATCH net-next v3] net: phy: micrel: add phy-mode support for the KSZ9031 PHY

2020-04-28 Thread Philippe Schenker
On Tue, 2020-04-28 at 17:47 +0200, Andrew Lunn wrote: > On Tue, Apr 28, 2020 at 05:28:30PM +0200, Geert Uytterhoeven wrote: > > This triggers on Renesas Salvator-X(S): > > > > Micrel KSZ9031 Gigabit PHY e680.ethernet-:00: > > *-skew-ps values should be used only with phy-mode = "rg

Re: [PATCH 5/5] virtio: Add bounce DMA ops

2020-04-28 Thread Michael S. Tsirkin
On Tue, Apr 28, 2020 at 05:09:18PM +0530, Srivatsa Vaddagiri wrote: > For better security, its desirable that a guest VM's memory is > not accessible to any entity that executes outside the context of > guest VM. In case of virtio, backend drivers execute outside the > context of guest VM and in ge

Re: [PATCH v9 00/15] Introduce Data Access MONitor (DAMON)

2020-04-28 Thread Jonathan Cameron
On Tue, 28 Apr 2020 15:23:42 +0200 SeongJae Park wrote: > On Tue, 28 Apr 2020 13:27:04 +0100 Jonathan Cameron > wrote: > > > On Mon, 27 Apr 2020 14:04:27 +0200 > > SeongJae Park wrote: > > > > > From: SeongJae Park > > > > > > Introduction > > > > > > > > > Memory managemen

Re: [PATCH] KVM: nVMX: Tweak handling of failure code for nested VM-Enter failure

2020-04-28 Thread Sean Christopherson
On Fri, Apr 24, 2020 at 10:47:04AM -0700, Jim Mattson wrote: > On Fri, Apr 24, 2020 at 10:19 AM Sean Christopherson > wrote: > > if (from_vmentry) { > > exit_reason = EXIT_REASON_MSR_LOAD_FAIL; > > - exit_qual = nested_vmx_load_msr(vcpu, > > -

Re: [PATCH v3 01/14] remoteproc: Make core operations optional

2020-04-28 Thread Arnaud POULIQUEN
Hi Mathieu, On 4/24/20 10:01 PM, Mathieu Poirier wrote: > When synchronizing with a remote processor, it is entirely possible that > the remoteproc core is not the life cycle manager. In such a case core > operations don't exist and should not be called. What about ops in remote_core.c? Applying

Re: [PATCH v2 79/91] drm/vc4: hdmi: Deal with multiple debugfs files

2020-04-28 Thread Dave Stevenson
Hi Stefan and Maxime On Tue, 28 Apr 2020 at 16:57, Maxime Ripard wrote: > > Hi Stefan, > > On Sat, Apr 25, 2020 at 11:26:31PM +0200, Stefan Wahren wrote: > > Am 24.04.20 um 17:35 schrieb Maxime Ripard: > > > The HDMI driver was registering a single debugfs file so far with the name > > > hdmi_reg

Re: [PATCH] dt-bindings: thermal: Convert UniPhier thermal monitor to json-schema

2020-04-28 Thread Rob Herring
On Thu, Apr 16, 2020 at 02:12:15PM +0900, Kunihiko Hayashi wrote: > Convert the UniPhier thermal monitor binding to DT schema format. > > Signed-off-by: Kunihiko Hayashi > --- > .../thermal/socionext,uniphier-thermal.yaml| 57 +++ > .../bindings/thermal/uniphier-thermal.t

Re: [PATCH v2 00/91] drm/vc4: Support BCM2711 Display Pipelin

2020-04-28 Thread Maxime Ripard
Hi, On Mon, Apr 27, 2020 at 03:23:42PM +0800, Jian-Hong Pan wrote: > Hi Maxime, > > Thanks for your V2 patch series! I'm testing it. > > This patch series is applied upon mainline kernel 5.7-rc2 cleanly and built. > System can boot into console text mode, but no graphic UI. > > Get the error i

Re: [PATCH v7 4/7] OPP: Add support for parsing interconnect bandwidth

2020-04-28 Thread Georgi Djakov
Hi Matthias, On 4/24/20 22:20, Matthias Kaehlcke wrote: > Hi, > > On Fri, Apr 24, 2020 at 06:54:01PM +0300, Georgi Djakov wrote: >> The OPP bindings now support bandwidth values, so add support to parse it >> from device tree and store it into the new dev_pm_opp_icc_bw struct, which >> is part of

[tip:master] BUILD SUCCESS cf14a924b8f60e0a60f404dc3a0f023ee5f9e64c

2020-04-28 Thread kbuild test robot
fig parisc allmodconfig parisc randconfig-a001-20200428 m68k randconfig-a001-20200428 alpharandconfig-a001-20200428 nds32randconfig-a001-20200428 riscvrandconfig-a001-20200428 sh randconfig-a001-202

[PATCH] serial: earlycon: Allow earlier DT scan is acpi=off

2020-04-28 Thread Daniel Thompson
Currently if the kernel has support for ACPI SPCR parsing then earlycon without arguments is processed later than the full earlycon=... alternative. If ACPI has been explicitly disabled on the kernel command line then there is not need to defer since the ACPI code (both x86 and arm64) will never a

Re: [linux-sunxi] Re: [PATCH v2] arm64: dts: allwinner: h6: Use dummy regulator for Tanix TX6

2020-04-28 Thread Clément Péron
Hi Robin, On Tue, 28 Apr 2020 at 17:21, Robin Murphy wrote: > > On 2020-04-28 3:26 pm, Clément Péron wrote: > > Tanix TX6 has a fixed regulator. As DVFS is instructed to change > > voltage to meet OPP table, the DVFS is not working as expected. > > Hmm, isn't that really a bug in the DVFS code? I

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-04-28 Thread Tetsuo Handa
On 2020/04/29 0:45, Michal Hocko wrote: > On Tue 28-04-20 22:11:19, Tetsuo Handa wrote: >> Existing KERN_$LEVEL allows a user to determine whether he/she wants that >> message >> to be printed on consoles (even if it spams his/her operation doing on >> consoles), and >> at the same time constrain

Re: [PATCH v3 09/10] module: Remove module_disable_ro()

2020-04-28 Thread Jessica Yu
+++ Josh Poimboeuf [25/04/20 06:07 -0500]: module_disable_ro() has no more users. Remove it. Signed-off-by: Josh Poimboeuf Acked-by: Peter Zijlstra (Intel) Hm, I guess this means we can also remove the module_enable_ro() stubs in module.h and make it a static function again (like the other

Re: x86 entry perf unwinding failure (missing IRET_REGS annotation on stack switch?)

2020-04-28 Thread Sean Christopherson
On Tue, Apr 28, 2020 at 10:54:13AM -0500, Josh Poimboeuf wrote: > On Tue, Apr 28, 2020 at 10:49:09AM -0500, Josh Poimboeuf wrote: > > On Tue, Apr 28, 2020 at 05:25:52PM +0200, Peter Zijlstra wrote: > > > On Tue, Apr 28, 2020 at 09:31:57AM -0500, Josh Poimboeuf wrote: > > > > That's quite the monstr

Re: [PATCH 0/5] i2c: i2c-stm32f7: enhance FastModePlus support

2020-04-28 Thread Alexandre Torgue
Hi Alain On 1/23/20 5:12 PM, Alain Volmat wrote: This serie enhance Fast Mode Plus support in the i2c-stm32f7 driver (support suspend/resume) and add the support for the stm32mp15 SoC that has new syscfg bits. Alain Volmat (5): i2c: i2c-stm32f7: disable/restore Fast Mode Plus bits in low pow

Re: [PATCH v2] ARM: dts: stm32: add cortex-M4 pdds management in Cortex-M4 node

2020-04-28 Thread Alexandre Torgue
Hi Arnaud On 4/1/20 5:03 PM, Arnaud Pouliquen wrote: Add declarations related to the syscon pdds for deep sleep management. Signed-off-by: Arnaud Pouliquen --- v2: patch rebasing arch/arm/boot/dts/stm32mp151.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/s

Re: [PATCH 2/4] sched: set new prio after checking schedule policy

2020-04-28 Thread Valentin Schneider
On 24/04/20 05:36, Hillf Danton wrote: > Set newprio the same way as normal_prio() does after checking schedule > policy and to MAX_PRIO -1 by default. > > What is also added is boundary checks for RT and fair priorities. > > Cc: Mike Galbraith > Cc: Steven Rostedt > Cc: Mel Gorman > Cc: Vince

Re: [PATCH 1/1] kthread: break dependency between worker->lock and task_struct->pi_lock

2020-04-28 Thread Peter Zijlstra
On Mon, Apr 27, 2020 at 11:43:58AM -0700, Suren Baghdasaryan wrote: > A number of kthread-related functions indirectly take task_struct->pi_lock > while holding worker->lock in the call chain like this: > spin_lock(&worker->lock) > kthread_insert_work > wake_up_process > try_to_wake

Re: [PATCH v3 05/17] drm/msm/dpu: Use OPP API to set clk/perf state

2020-04-28 Thread Rob Clark
On Tue, Apr 28, 2020 at 6:39 AM Rajendra Nayak wrote: > > On some qualcomm platforms DPU needs to express a perforamnce state s/perforamnce/performance/ > requirement on a power domain depennding on the clock rates. s/depennding/depending/ > Use OPP table from DT to register with OPP framework

Re: x86 entry perf unwinding failure (missing IRET_REGS annotation on stack switch?)

2020-04-28 Thread Josh Poimboeuf
On Tue, Apr 28, 2020 at 09:25:51AM -0700, Sean Christopherson wrote: > On Tue, Apr 28, 2020 at 10:54:13AM -0500, Josh Poimboeuf wrote: > > On Tue, Apr 28, 2020 at 10:49:09AM -0500, Josh Poimboeuf wrote: > > > On Tue, Apr 28, 2020 at 05:25:52PM +0200, Peter Zijlstra wrote: > > > > On Tue, Apr 28, 20

Re: [PATCH 2/5] coredump: Fix handling of partial writes in dump_emit()

2020-04-28 Thread Rob Landley
On 4/27/20 10:35 PM, Linus Torvalds wrote: > On Mon, Apr 27, 2020 at 8:28 PM Jann Horn wrote: >> >> After a partial write, we have to update the input buffer pointer. > > Interesting. It seems this partial write case never triggers (except > for actually killing the core-dump). > > Or did you fi

Re: Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)

2020-04-28 Thread Andrew Cooper
On 28/04/2020 08:55, Joerg Roedel wrote: > On Mon, Apr 27, 2020 at 10:37:41AM -0700, Andy Lutomirski wrote: >> I have a somewhat serious question: should we use IST for #VC at all? >> As I understand it, Rome and Naples make it mandatory for hypervisors >> to intercept #DB, which means that, due to

Re: [PATCH v3 09/10] module: Remove module_disable_ro()

2020-04-28 Thread Josh Poimboeuf
On Tue, Apr 28, 2020 at 06:25:05PM +0200, Jessica Yu wrote: > +++ Josh Poimboeuf [25/04/20 06:07 -0500]: > > module_disable_ro() has no more users. Remove it. > > > > Signed-off-by: Josh Poimboeuf > > Acked-by: Peter Zijlstra (Intel) > > Hm, I guess this means we can also remove the module_ena

Re: [PATCH v3 03/14] remoteproc: Add new operation and flags for synchronistation

2020-04-28 Thread Arnaud POULIQUEN
On 4/24/20 10:01 PM, Mathieu Poirier wrote: > Add a new sync_ops to support use cases where the remoteproc > core is synchronising with the remote processor. Exactly when to use > the synchronisation operations is directed by the flags in structure > rproc_sync_flags. > > Signed-off-by: Mathie

[rcu:dev.2020.04.27a] BUILD SUCCESS 57e72e53ca32c848c780be651122976394030b37

2020-04-28 Thread kbuild test robot
allmodconfig parisc randconfig-a001-20200428 m68k randconfig-a001-20200428 alpharandconfig-a001-20200428 nds32randconfig-a001-20200428 riscvrandconfig-a001-20200428 parisc randconfig-a001

Re: [PATCH v3 2/3] dt-bindings: add Qualcomm IPQ4019 MDIO bindings

2020-04-28 Thread Robert Marko
On Tue, Apr 28, 2020 at 5:09 PM Rob Herring wrote: > > On Wed, Apr 15, 2020 at 05:02:46PM +0200, Robert Marko wrote: > > This patch adds the binding document for the IPQ40xx MDIO driver. > > > > Signed-off-by: Robert Marko > > Cc: Luka Perkov > > --- > > Changes from v2 to v3: > > * Remove statu

[PATCH v3 2/2] Documentation/sysctl: Document uclamp sysctl knobs

2020-04-28 Thread Qais Yousef
Uclamp exposes 3 sysctl knobs: * sched_util_clamp_min * sched_util_clamp_max * sched_util_clamp_min_rt_default Document them in sysctl/kernel.rst. Signed-off-by: Qais Yousef CC: Jonathan Corbet CC: Juri Lelli CC: Vincent Guittot CC: Dietmar Eggemann CC: Steven Rosted

[PATCH v2] pwm: sun4i: direct clock output support for Allwinner A64

2020-04-28 Thread Peter Vasil
Allwinner A64 is capable of a direct clock output on PWM (see A64 User Manual chapter 3.10). Add support for this in the sun4i PWM driver. Signed-off-by: Peter Vasil --- drivers/pwm/pwm-sun4i.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pwm/pwm-sun4i.c b/drivers/pwm/pwm

[PATCH v3 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-04-28 Thread Qais Yousef
RT tasks by default run at the highest capacity/performance level. When uclamp is selected this default behavior is retained by enforcing the requested uclamp.min (p->uclamp_req[UCLAMP_MIN]) of the RT tasks to be uclamp_none(UCLAMP_MAX), which is SCHED_CAPACITY_SCALE; the maximum value. This is al

Re: [PATCH v3 09/10] module: Remove module_disable_ro()

2020-04-28 Thread Jessica Yu
+++ Josh Poimboeuf [28/04/20 11:36 -0500]: On Tue, Apr 28, 2020 at 06:25:05PM +0200, Jessica Yu wrote: +++ Josh Poimboeuf [25/04/20 06:07 -0500]: > module_disable_ro() has no more users. Remove it. > > Signed-off-by: Josh Poimboeuf > Acked-by: Peter Zijlstra (Intel) Hm, I guess this means we

Re: [PATCH] soc: imx8m: Make imx8m_dsp_ops static

2020-04-28 Thread Daniel Baluta
On Sat, Apr 25, 2020 at 11:03 AM ChenTao wrote: > > Fix the following warning: > > sound/soc/sof/imx/imx8m.c:95:20: warning: > symbol 'imx8m_dsp_ops' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: ChenTao Reviewed-by: Daniel Baluta Can you please resend (p

Re: x86 entry perf unwinding failure (missing IRET_REGS annotation on stack switch?)

2020-04-28 Thread Peter Zijlstra
On Tue, Apr 28, 2020 at 10:49:09AM -0500, Josh Poimboeuf wrote: > > @@ -2439,12 +2445,6 @@ static int validate_branch(struct objtool_file > > *file, struct symbol *func, > > > > sec = insn->sec; > > > > - if (insn->alt_group && list_empty(&insn->alts)) { > > - WARN_FUNC("don't

Re: [linux-sunxi] Re: [PATCH v2] arm64: dts: allwinner: h6: Use dummy regulator for Tanix TX6

2020-04-28 Thread Maxime Ripard
On Tue, Apr 28, 2020 at 06:23:35PM +0200, Clément Péron wrote: > Hi Robin, > > On Tue, 28 Apr 2020 at 17:21, Robin Murphy wrote: > > > > On 2020-04-28 3:26 pm, Clément Péron wrote: > > > Tanix TX6 has a fixed regulator. As DVFS is instructed to change > > > voltage to meet OPP table, the DVFS is

Re: [PATCH 2/5] coredump: Fix handling of partial writes in dump_emit()

2020-04-28 Thread Linus Torvalds
On Tue, Apr 28, 2020 at 9:34 AM Rob Landley wrote: > > Writes to a local filesystem should never be short unless disk full/error. Well, that code is definitely supposed to also write to pipes. But it also has "was I interrupted" logic, which stops the core dump. So short writes can very much ha

Re: [PATCH V6 08/15] ftrace: Add perf text poke events for ftrace trampolines

2020-04-28 Thread Peter Zijlstra
On Mon, Apr 27, 2020 at 02:34:42PM -0400, Steven Rostedt wrote: > Arnaldo deals with the userspace perf code. This looks like it needs to go > through the x86 tree. Sometimes, when a series crosses both, it'll go through either tree. I'm fine with picking up the kernel bits I suppose, but then we

Audio sound card name [was [PATCH 4/7] arm64: dts: allwinner: a64: Add HDMI audio]

2020-04-28 Thread Clément Péron
Hi Mark, Rob, On Tue, 28 Apr 2020 at 18:04, Maxime Ripard wrote: > > On Tue, Apr 28, 2020 at 10:54:00AM +0200, Clément Péron wrote: > > Hi Maxime, > > > > On Tue, 28 Apr 2020 at 10:00, Maxime Ripard wrote: > > > > > > On Sun, Apr 26, 2020 at 02:04:39PM +0200, Clément Péron wrote: > > > > From: M

Re: [PATCH 1/1] dma: actions: Fix lockdep splat for owl-dma

2020-04-28 Thread Manivannan Sadhasivam
Hi, On Tue, Apr 28, 2020 at 01:56:12PM +0300, Cristian Ciocaltea wrote: > When the kernel is build with lockdep support and the owl-dma driver is > used, the following message is shown: > > [2.496939] INFO: trying to register non-static key. > [2.501889] the code is fine but needs lockdep

Re: [PATCH] spi: spi-amd: fix warning

2020-04-28 Thread Mark Brown
On Mon, 27 Apr 2020 23:56:41 -0500, Sanjay R Mehta wrote: > remove unused variable "opcode" > > Signed-off-by: Sanjay R Mehta > Signed-off-by: Mark Brown > --- > drivers/spi/spi-amd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > [...] Applied to https://git.kernel.org/pub/s

Re: [PATCH v4 0/2] proc: Ensure we see the exit of each process tid exactly

2020-04-28 Thread Linus Torvalds
On Tue, Apr 28, 2020 at 5:20 AM Eric W. Biederman wrote: > > In short I don't think this change will introduce any regressions. I think the series looks fine, but I also think the long explanation (that I snipped in this reply) in the cover letter should be there in the kernel tree. So if you se

Re: [regression?] Re: [PATCH v6 06/12] mm/gup: track FOLL_PIN pages

2020-04-28 Thread Alex Williamson
On Fri, 24 Apr 2020 15:58:29 -0700 John Hubbard wrote: > On 2020-04-24 13:15, Alex Williamson wrote: > > On Fri, 24 Apr 2020 12:20:03 -0700 > > John Hubbard wrote: > > > >> On 2020-04-24 11:18, Alex Williamson wrote: > >> ... > >>> Hi John, > >>> > >>> I'm seeing a regression bisected back

Re: Audio sound card name [was [PATCH 4/7] arm64: dts: allwinner: a64: Add HDMI audio]

2020-04-28 Thread Mark Brown
On Tue, Apr 28, 2020 at 06:49:10PM +0200, Clément Péron wrote: > I have a question regarding the simple-audio-card,name. > In this patch, I would like to introduce a simple-audio-card for the > Allwinner A64 HDMI. > What should be the preferred name for this sound card? > "sun50i-a64-hdmi" ? "all

Re: [PATCH v2 1/6] irqchip: Add Loongson HyperTransport Vector support

2020-04-28 Thread Marc Zyngier
On Tue, 28 Apr 2020 14:32:40 +0800 Jiaxun Yang wrote: > This controller appears on Loongson-3 chips for receiving interrupt > vectors from PCH's PIC and PCH's PCIe MSI interrupts. > > Signed-off-by: Jiaxun Yang > --- > v2: > - Style cleanup > - Set ack callback and set correct edge_

Re: [PATCH v3 06/14] remoteproc: Refactor function rproc_trigger_auto_boot()

2020-04-28 Thread Arnaud POULIQUEN
On 4/24/20 10:01 PM, Mathieu Poirier wrote: > Refactor function rproc_trigger_auto_boot() so that it can deal with > scenarios where the remote processor is already running. As such give > it a new name to better represent the capabilities and add a call to > rproc_boot() if instructed by the p

Re: x86 entry perf unwinding failure (missing IRET_REGS annotation on stack switch?)

2020-04-28 Thread Josh Poimboeuf
On Tue, Apr 28, 2020 at 06:44:44PM +0200, Peter Zijlstra wrote: > > > @@ -2494,8 +2494,16 @@ static int validate_branch(struct objtool_file > > > *file, struct symbol *func, > > > } > > > } > > > > > > - if (skip_orig) > > > +

Re: [PATCH v3 09/10] module: Remove module_disable_ro()

2020-04-28 Thread Josh Poimboeuf
On Tue, Apr 28, 2020 at 06:41:55PM +0200, Jessica Yu wrote: > +++ Josh Poimboeuf [28/04/20 11:36 -0500]: > > On Tue, Apr 28, 2020 at 06:25:05PM +0200, Jessica Yu wrote: > > > +++ Josh Poimboeuf [25/04/20 06:07 -0500]: > > > > module_disable_ro() has no more users. Remove it. > > > > > > > > Signed

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