RE: [PATCH V3] dt-bindings: thermal: Convert i.MX to json-schema

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 4:17 PM > > Convert the i.MX thermal binding to DT schema format using json-schema > > Signed-off-by: Anson Huang > --- > Changes since V2: > - remove unnecessary property in compatible; > - add detail description for interrupts; >

Re: [PATCH] iomm/arm-smmu: Add stall implementation hook

2020-05-20 Thread Sai Prakash Ranjan
On 2020-05-19 20:41, Rob Clark wrote: On Tue, May 19, 2020 at 2:26 AM Sai Prakash Ranjan wrote: Hi Will, On 2020-05-18 21:15, Will Deacon wrote: > On Mon, May 11, 2020 at 11:30:08AM -0600, Jordan Crouse wrote: >> On Fri, May 08, 2020 at 08:40:40AM -0700, Rob Clark wrote: >> > On Fri, May 8, 2

Re: [PATCH V5 5/5] rpmsg: glink: unregister rpmsg device during endpoint destroy

2020-05-20 Thread Arun Kumar Neelakantam
On 5/14/2020 3:43 AM, Mathieu Poirier wrote: On Wed, May 13, 2020 at 10:40:06AM +0530, Arun Kumar Neelakantam wrote: Rpmsg device unregister is not happening if channel close is triggered from local side and causing re-registration of device failures. Unregister rpmsg device for local close i

Re: [PATCH] printk/kdb: Redirect printk messages into kdb in any context

2020-05-20 Thread Daniel Thompson
On Wed, May 20, 2020 at 01:21:02PM +0900, Sergey Senozhatsky wrote: > On (20/05/18 11:21), Petr Mladek wrote: > [..] > > > > Is this guaranteed that we never execute this path from NMI? > > > > Good question! > > > > > Absolutely not. > > > > > > The execution context for kdb is pretty much uniq

Re: [PATCH] tty: hvc: Fix data abort due to race in hvc_open

2020-05-20 Thread Jiri Slaby
On 15. 05. 20, 1:22, rana...@codeaurora.org wrote: > On 2020-05-13 00:04, Greg KH wrote: >> On Tue, May 12, 2020 at 02:39:50PM -0700, rana...@codeaurora.org wrote: >>> On 2020-05-12 01:25, Greg KH wrote: >>> > On Tue, May 12, 2020 at 09:22:15AM +0200, Jiri Slaby wrote: >>> > > commit bdb498c2004061

[PATCH V5 0/5] Add chrdev and name query support for GLINK

2020-05-20 Thread Arun Kumar Neelakantam
Add support for the GLINK rpmsg transport to register a rpmsg chrdev. This will create the rpmsg_ctrl nodes for userspace clients to open rpmsg epts. The rpmsg chrdev allocation is done by allocating a local channel which also allocates an ept. We need to add some guards against edge cases for thi

[PATCH V6 4/5] rpmsg: glink: Expose rpmsg name attr for glink

2020-05-20 Thread Arun Kumar Neelakantam
From: Chris Lew Expose the name field as an attr so clients listening to uevents for rpmsg can identify the edge the events correspond to. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/qcom_glink_native.c | 26 ++ 1 file changed, 26 i

[PATCH V6 5/5] rpmsg: glink: unregister rpmsg device during endpoint destroy

2020-05-20 Thread Arun Kumar Neelakantam
Rpmsg device unregister is not happening if channel close is triggered from local side and causing re-registration of device failures. Unregister rpmsg device for local close in endpoint destroy path. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/qcom_glink_native.c | 9 + 1 f

Re: [PATCH v5 09/19] mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table

2020-05-20 Thread masonccyang
Hi Pratyush, > > > +/** > > > + * spi_nor_parse_profile1() - parse the xSPI Profile 1.0 table > > > + * @nor: pointer to a 'struct spi_nor' > > > + * @param_header: pointer to the 'struct sfdp_parameter_header' > > describing > > > + * the 4-Byte Address Instruction Table lengt

[PATCH V6 1/5] rpmsg: glink: Use complete_all for open states

2020-05-20 Thread Arun Kumar Neelakantam
From: Chris Lew The open_req and open_ack completion variables are the state variables to represent a remote channel as open. Use complete_all so there are no races with waiters and using completion_done. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/qcom_gl

[PATCH V6 3/5] rpmsg: glink: Add support for rpmsg glink chrdev

2020-05-20 Thread Arun Kumar Neelakantam
From: Chris Lew RPMSG provides a char device interface to userspace. Probe the rpmsg chrdev channel to enable the rpmsg_ctrl device creation on glink transports. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/qcom_glink_native.c | 38 +

[rcu:dev.2020.05.17a] BUILD SUCCESS 15f5e34cc82fdac679c19e5d9203d7f921618007

2020-05-20 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.17a branch HEAD: 15f5e34cc82fdac679c19e5d9203d7f921618007 squash! rcutorture: Add races with task-exit processing i386-tinyconfig vmlinux size: =

[PATCH V6 2/5] rpmsg: Guard against null endpoint ops in destroy

2020-05-20 Thread Arun Kumar Neelakantam
From: Chris Lew In RPMSG GLINK the chrdev device will allocate an ept as part of the rpdev creation. This device will not register endpoint ops even though it has an allocated ept. Protect against the case where the device is being destroyed. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar N

Re: [PATCH] PCI: tegra: fix runtime pm imbalance on error

2020-05-20 Thread Thierry Reding
On Wed, May 20, 2020 at 04:40:12PM +0800, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > it returns an error code. Thus a pairing decrement is needed on s/even it/even when it/ > the error handling path to keep the counter balanced. > > Also This driver

Re: [PATCH] ACPI / DPTF: Add additional attributes to power participant driver

2020-05-20 Thread Rafael J. Wysocki
powerOn Wed, May 20, 2020 at 12:24 AM Srinivas Pandruvada wrote: > > Add two additional attributes to the existing power participant driver: > rest_of_platform_power_mw: (RO) Shows the rest of worst case platform > power in mW. It would be good to explain or at least give an example of what the

Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe

2020-05-20 Thread Lucas Stach
Am Mittwoch, den 20.05.2020, 16:20 +0800 schrieb Shengjiu Wang: > Hi > > On Tue, May 19, 2020 at 6:04 PM Lucas Stach wrote: > > Am Dienstag, den 19.05.2020, 17:41 +0800 schrieb Shengjiu Wang: > > > There are two requirements that we need to move the request > > > of dma channel from probe to open

Re: [PATCH] MAINTAINERS: add files related to kdump

2020-05-20 Thread Baoquan He
On 05/20/20 at 05:14pm, Dave Young wrote: > Hi Baoquan, > On 05/20/20 at 04:05pm, Baoquan He wrote: > > Kdump is implemented based on kexec, however some files are only > > related to crash dumping and missing, add them to KDUMP entry. > > > > Signed-off-by: Baoquan He > > --- > > MAINTAINERS |

Re: [PATCH v4 2/4] kasan: record and print the free track

2020-05-20 Thread Dmitry Vyukov
On Wed, May 20, 2020 at 11:17 AM Walter Wu wrote: > > > On Wed, 2020-05-20 at 13:14 +0800, Walter Wu wrote: > > > > > On Wed, May 20, 2020 at 6:03 AM Walter Wu > > > > > wrote: > > > > > > > > > > > > > On Tue, May 19, 2020 at 4:25 AM Walter Wu > > > > > > > wrote: > > > > > > > > > > > > > >

[PATCH V3 2/2] tools/perf: Add perf tools support for extended register capability in powerpc

2020-05-20 Thread Athira Rajeev
From: Anju T Sudhakar Add extended regs to sample_reg_mask in the tool side to use with `-I?` option. Perf tools side uses extended mask to display the platform supported register names (with -I? option) to the user and also send this mask to the kernel to capture the extended registers in each s

[PATCH V3 1/2] powerpc/perf: Add support for outputting extended regs in perf intr_regs

2020-05-20 Thread Athira Rajeev
From: Anju T Sudhakar Add support for perf extended register capability in powerpc. The capability flag PERF_PMU_CAP_EXTENDED_REGS, is used to indicate the PMU which support extended registers. The generic code define the mask of extended registers as 0 for non supported architectures. Patch add

[PATCH V3 0/2] powerpc/perf: Add support for perf extended regs in powerpc

2020-05-20 Thread Athira Rajeev
Patch set to add support for perf extended register capability in powerpc. The capability flag PERF_PMU_CAP_EXTENDED_REGS, is used to indicate the PMU which support extended registers. The generic code define the mask of extended registers as 0 for non supported architectures. patch 1/2 defines th

Re: [PATCH] MAINTAINERS: add files related to kdump

2020-05-20 Thread Dave Young
On 05/20/20 at 05:43pm, Baoquan He wrote: > On 05/20/20 at 05:14pm, Dave Young wrote: > > Hi Baoquan, > > On 05/20/20 at 04:05pm, Baoquan He wrote: > > > Kdump is implemented based on kexec, however some files are only > > > related to crash dumping and missing, add them to KDUMP entry. > > > > >

Re: BUG: sleeping function called from atomic due to "Balance initial LPI affinity across CPUs"

2020-05-20 Thread Marc Zyngier
Hi John, On 2020-05-20 09:43, John Garry wrote: On 19/05/2020 23:09, Qian Cai wrote: Reverted the linux-next commit f068a62c548c ("irqchip/gic-v3-its: Balance initial LPI affinity across CPUs") fixed these warnings during boot, Thanks for the notice. So we need the following set to see this:

[PATCH] media: staging: tegra-vde: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/staging/media/tegra-vde/vde.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH V4] dt-bindings: thermal: Convert i.MX to json-schema

2020-05-20 Thread Anson Huang
Convert the i.MX thermal binding to DT schema format using json-schema Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng --- Changes since V3: - improve "fsl,tempmon" description. --- .../devicetree/bindings/thermal/imx-thermal.txt| 61 .../devicetree/bindings/therm

Re: [PATCH v3 04/19] mm: slub: implement SLUB version of obj_to_index()

2020-05-20 Thread Vlastimil Babka
On 5/13/20 2:57 AM, Roman Gushchin wrote: > > Btw, I'm trying to build up a prototype with an embedded memcg pointer, > but it seems to be way more tricky than I thought. It requires changes to > shrinkers (as they rely on getting the memcg pointer by an arbitrary > kernel address, not necessarily

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

2020-05-20 Thread Sumit Garg
Hi Marc, On Tue, 19 May 2020 at 21:48, Marc Zyngier wrote: > > Change the way we deal with GICv3 SGIs by turning them into proper > IRQs, and calling into the arch code to register the interrupt range > instead of a callback. > > Signed-off-by: Marc Zyngier > --- > drivers/irqchip/irq-gic-v3.c

[PATCH v11 0/3] i2c: npcm7xx: add NPCM i2c controller driver

2020-05-20 Thread Tali Perry
This patch set adds i2c controller support for the Nuvoton NPCM Baseboard Management Controller (BMC). NPCM7xx includes 16 I2C controllers. This driver operates the controller. This module also includes a slave mode. --- v11 -> v10: - Fix according to maintainer comments. - Init

[PATCH v11 3/3] i2c: npcm7xx: Add support for slave mode for Nuvoton

2020-05-20 Thread Tali Perry
Add support for slave mode for Nuvoton NPCM BMC I2C controller driver. Signed-off-by: Tali Perry --- drivers/i2c/busses/i2c-npcm7xx.c | 622 +++ 1 file changed, 622 insertions(+) diff --git a/drivers/i2c/busses/i2c-npcm7xx.c b/drivers/i2c/busses/i2c-npcm7xx.c index 6

[PATCH v11 1/3] dt-bindings: i2c: npcm7xx: add NPCM I2C controller

2020-05-20 Thread Tali Perry
Added device tree binding documentation for Nuvoton BMC NPCM I2C controller. Signed-off-by: Tali Perry --- .../bindings/i2c/nuvoton,npcm7xx-i2c.yaml | 62 +++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/nuvoton,npcm7xx-i2c.yaml

Re: [PATCH v3 1/2] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()

2020-05-20 Thread Michael Ellerman
Hi Dan, Just a couple of minor things ... Dan Williams writes: > In reaction to a proposal to introduce a memcpy_mcsafe_fast() > implementation Linus points out that memcpy_mcsafe() is poorly named > relative to communicating the scope of the interface. Specifically what > addresses are valid to

Re: next/master bisection: baseline.login on panda

2020-05-20 Thread Guillaume Tucker
Please see the bisection report below about a boot failure. Reports aren't automatically sent to the public while we're trialing new bisection features on kernelci.org but this one looks valid. Unfortunately there isn't anything in the kernel log, it's probably crashing very early on. The bisect

[PATCH v11 2/3] i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver

2020-05-20 Thread Tali Perry
Add Nuvoton NPCM BMC I2C controller driver. Signed-off-by: Tali Perry --- drivers/i2c/busses/Kconfig |9 + drivers/i2c/busses/Makefile |1 + drivers/i2c/busses/i2c-npcm7xx.c | 1858 ++ 3 files changed, 1868 insertions(+) create mode 100644 drivers/

[PATCH] net: sgi: ioc3-eth: Fix return value check in ioc3eth_probe()

2020-05-20 Thread Tang Bin
In the function devm_platform_ioremap_resource(), if get resource failed, the return value is ERR_PTR() not NULL. Thus it must be replaced by IS_ERR(), or else it may result in crashes if a critical error path is encountered. Fixes: 0ce5ebd24d25 ("mfd: ioc3: Add driver for SGI IOC3 chip") Signed-o

[tip:x86/entry] BUILD SUCCESS 095b7a3e7745e6fb7cf0a1c09967c4f43e76f8f4

2020-05-20 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry branch HEAD: 095b7a3e7745e6fb7cf0a1c09967c4f43e76f8f4 x86/entry: Convert double fault exception to IDTENTRY_DF elapsed time: 705m configs tested: 87 configs skipped: 1 The following configs have been built suc

Re: [PATCH] PCI: tegra: fix runtime pm imbalance on error

2020-05-20 Thread Thierry Reding
On Wed, May 20, 2020 at 04:52:23PM +0800, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > it returns an error code. Thus a pairing decrement is needed on s/even it/even when it/ Might also be a good idea to use a different subject prefix because I was alm

Re: [PATCH v2 2/3] bindings: sound: Add documentation for TI j721e EVM (CPB and IVI)

2020-05-20 Thread Peter Ujfalusi
Hi Rob, On 20/05/2020 1.42, Rob Herring wrote: > On Tue, May 12, 2020 at 04:16:32PM +0300, Peter Ujfalusi wrote: >> The audio support on the Common Processor Board board is using >> pcm3168a codec connected to McASP10 serializers in parallel setup. >> >> The Infotainment board plugs into the Commo

Re: R: R: [PATCH v3 08/11] devicetree: bindings: pci: document PARF params bindings

2020-05-20 Thread Stanimir Varbanov
Hi, On 5/13/20 3:56 PM, ansuels...@gmail.com wrote: >> On 5/12/20 6:45 PM, Rob Herring wrote: >>> On Thu, May 07, 2020 at 09:34:35PM +0200, ansuels...@gmail.com >> wrote: > On Fri, May 01, 2020 at 12:06:15AM +0200, Ansuel Smith wrote: >> It is now supported the editing of Tx De-Emphasis, T

Re: [PATCH] MIPS: ingenic: Add missing include

2020-05-20 Thread Philippe Mathieu-Daudé
On Wed, May 20, 2020 at 11:28 AM Thomas Bogendoerfer wrote: > > On Wed, May 20, 2020 at 11:19:49AM +0200, Philippe Mathieu-Daudé wrote: > > Hi Thomas, > > > > On Wed, May 20, 2020 at 8:50 AM Thomas Bogendoerfer > > wrote: > > > > > > On Tue, May 19, 2020 at 11:22:30PM +0200, Paul Cercueil wrote:

Re: [PATCH] arm64: Fix PTRACE_SYSEMU semantics

2020-05-20 Thread Sudeep Holla
Hi Catalin, On Tue, May 19, 2020 at 01:07:27PM +0100, Catalin Marinas wrote: > On Mon, May 18, 2020 at 12:41:20PM +0100, Will Deacon wrote: > > On Fri, May 15, 2020 at 06:22:53PM -0400, Keno Fischer wrote: > > > Quoth the man page: > > > ``` > > >If the tracee was restarted by PTRACE_SYSCA

[PATCH net-next] net: phy: mscc: fix initialization of the MACsec protocol mode

2020-05-20 Thread Antoine Tenart
At the very end of the MACsec block initialization in the MSCC PHY driver, the MACsec "protocol mode" is set. This setting should be set based on the PHY id within the package, as the bank used to access the register used depends on this. This was not done correctly, and only the first bank was use

Re: [PATCH v1] dt-bindings: spi: Add schema for Cadence QSPI Controller driver

2020-05-20 Thread Ramuthevar, Vadivel MuruganX
Hi Rob, Thank you very much for the review comments... On 20/5/2020 2:44 am, Rob Herring wrote: On Tue, May 12, 2020 at 08:49:19AM +0800, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Add dt-bindings documentation for Cadence-QSPI controller to support spi based flash

Re: [PATCH] arm64: Fix PTRACE_SYSEMU semantics

2020-05-20 Thread Catalin Marinas
On Wed, May 20, 2020 at 11:03:30AM +0100, Sudeep Holla wrote: > On Tue, May 19, 2020 at 01:07:27PM +0100, Catalin Marinas wrote: > > On Mon, May 18, 2020 at 12:41:20PM +0100, Will Deacon wrote: > > > On Fri, May 15, 2020 at 06:22:53PM -0400, Keno Fischer wrote: > > > > Quoth the man page: > > > > `

[PATCH] drm/etnaviv: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 3 +++ 1 file changed, 3 insertion

Re: [PATCH] of: drop a reference on error in __of_attach_node_sysfs()

2020-05-20 Thread Michael Ellerman
Dan Carpenter writes: > We add a new of_node_get() to this function, but we should drop the > reference if kobject_add(). ^ fails? > > Fixes: 5b2c2f5a0ea3 ("of: overlay: add missing of_node_get() in > __of_attach_node_sysfs") > Signed-off-by

回复: [PATCH] arm64: Fix PTRACE_SYSEMU semantics

2020-05-20 Thread Bin Lu
Tested-by: Bin Lu I have just tested all gVisor syscall test cases with ptrace(Regs, FPRegs, TLS) on Arm64 platform. The test results are the same as before there was no patch. My idea is that this kernel patch has no bad effects on gVisor. Linux Kernel version: 5.7.0-rc6+ gVisor version: relea

[PATCH] drm/etnaviv: fix memory leak when mapping prime imported buffers

2020-05-20 Thread Martin Fuzzey
When using mmap() on a prime imported buffer allocated by a different driver (such as imx-drm) the later munmap() does not correctly decrement the refcount of the original enaviv_gem_object, leading to a leak. Signed-off-by: Martin Fuzzey Cc: sta...@vger.kernel.org --- drivers/gpu/drm/etnaviv/et

Re: linux-next: Tree for May 19 (block/rnbd/)

2020-05-20 Thread Danil Kipnis
Hi Randy, On Tue, May 19, 2020 at 8:59 PM Randy Dunlap wrote: > > On 5/19/20 11:03 AM, Stephen Rothwell wrote: > > Hi all, > > > > News: there will be no linux-next release tomorrow. > > > > Changes since 20200518: > > > > seen on i386: > > when CONFIG_MODULES is not set/enabled: > > ../drivers/b

Re: [PATCH v2 3/4] clk / soc: mediatek: Bind clock and gpu driver for mt2701

2020-05-20 Thread Stephen Boyd
Quoting Enric Balletbo i Serra (2020-04-01 13:17:35) > Now that the mmsys driver is the top-level entry point for the > multimedia subsystem, we could bind the clock and the gpu driver on > those devices that is expected to work, so the drm driver is > intantiated by the mmsys driver and display, h

Re: [PATCH v2 2/4] clk / soc: mediatek: Bind clock and gpu driver for mt2712

2020-05-20 Thread Stephen Boyd
Quoting Enric Balletbo i Serra (2020-04-01 13:17:34) > Now that the mmsys driver is the top-level entry point for the > multimedia subsystem, we could bind the clock and the gpu driver on > those devices that is expected to work, so the drm driver is > intantiated by the mmsys driver and display, h

Re: [PATCH 2/8] radix-tree: Use local_lock for protection

2020-05-20 Thread Sebastian Andrzej Siewior
On 2020-05-19 19:05:16 [-0700], Matthew Wilcox wrote: > > https://lore.kernel.org/r/20200519201912.1564477-1-bige...@linutronix.de > > > > With lore and b4, it should now be easy to get full patch series. > > Thats asking too much of the random people cc'd on random patches. Well, other complai

Re: [PATCH glibc 2/3] glibc: sched_getcpu(): use rseq cpu_id TLS on Linux (v7)

2020-05-20 Thread Florian Weimer
* Mathieu Desnoyers via Libc-alpha: > diff --git a/sysdeps/unix/sysv/linux/sched_getcpu.c > b/sysdeps/unix/sysv/linux/sched_getcpu.c > index c019cfb3cf..2269c4f2bd 100644 > --- a/sysdeps/unix/sysv/linux/sched_getcpu.c > +++ b/sysdeps/unix/sysv/linux/sched_getcpu.c > @@ -18,10 +18,15 @@ > #includ

Re: [PATCH 1/4] clk/soc: mediatek: mt8183: Bind clock driver from platform device

2020-05-20 Thread Stephen Boyd
Quoting matthias@kernel.org (2020-05-18 04:31:53) > From: Matthias Brugger > > The mmsys driver is now the top level entry point for the multimedia > system (mmsys), we bind the clock driver by creating a platform device. > We also bind the MediaTek DRM driver which is not yet implement and >

Re: [PATCH 2/4] clk/soc: mediatek: mt6797: Bind clock driver from platform device

2020-05-20 Thread Stephen Boyd
Quoting matthias@kernel.org (2020-05-18 04:31:54) > From: Matthias Brugger > > The mmsys driver is now the top level entry point for the multimedia > system (mmsys), we bind the clock driver by creating a platform device. > We also bind the MediaTek DRM driver which is not yet implement and >

Re: [PATCH] media: staging: tegra-vde: fix runtime pm imbalance on error

2020-05-20 Thread Dmitry Osipenko
20.05.2020 12:51, Dinghao Liu пишет: > pm_runtime_get_sync() increments the runtime PM usage counter even > it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. > > Signed-off-by: Dinghao Liu > --- > drivers/staging/media/tegra-v

Re: [PATCH v4 2/4] kasan: record and print the free track

2020-05-20 Thread Walter Wu
On Wed, 2020-05-20 at 11:44 +0200, 'Dmitry Vyukov' via kasan-dev wrote: > On Wed, May 20, 2020 at 11:17 AM Walter Wu wrote: > > > > On Wed, 2020-05-20 at 13:14 +0800, Walter Wu wrote: > > > > > > On Wed, May 20, 2020 at 6:03 AM Walter Wu > > > > > > wrote: > > > > > > > > > > > > > > > On Tue, M

[PATCH] drm/nouveau/debugfs: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/gpu/drm/nouveau/nouveau_debugfs.c | 5 - 1 file changed, 4 ins

Re: [PATCH 3/4] clk/soc: mediatek: mt6779: Bind clock driver from platform device

2020-05-20 Thread Stephen Boyd
Quoting matthias@kernel.org (2020-05-18 04:31:55) > From: Matthias Brugger > > The mmsys driver is now the top level entry point for the multimedia > system (mmsys), we bind the clock driver by creating a platform device. > We also bind the MediaTek DRM driver which is not yet implement and >

This all seems to be happening, maybe I don´t need to do a distro?

2020-05-20 Thread Ywe Cærlyn
I read this today, https://www.phoronix.com/scan.php?page=news_item&px=Microsoft-DX12-WSL2 Microsoft Announces Direct3D 12 for Linux / WSL2. Games can pull a lot of people, and maybe that is what one needs as the final push, to make an Ubuntu Karmic Koala distro work. + Seam + 0.33ms latency

[PATCH 2/2] xhci: Poll for U0 after disabling USB2 LPM

2020-05-20 Thread Kai-Heng Feng
USB2 devices with LPM enabled may interrupt the system suspend: [ 932.510475] usb 1-7: usb suspend, wakeup 0 [ 932.510549] hub 1-0:1.0: hub_suspend [ 932.510581] usb usb1: bus suspend, wakeup 0 [ 932.510590] xhci_hcd :00:14.0: port 9 not suspended [ 932.510593] xhci_hcd :00:14.0: port

[PATCH 1/2] xhci: Return if xHCI doesn't support LPM

2020-05-20 Thread Kai-Heng Feng
Just return if xHCI is quirked to disable LPM. We can save some time from reading registers and doing spinlocks. Signed-off-by: Kai-Heng Feng --- drivers/usb/host/xhci.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c inde

Re: [RESEND PATCH v7 4/5] ndctl/papr_scm,uapi: Add support for PAPR nvdimm specific methods

2020-05-20 Thread Vaibhav Jain
Thanks for reviewing this patch Aneesh. "Aneesh Kumar K.V" writes: > Vaibhav Jain writes: > > > > + >> +/* Papr-scm-header + payload expected with ND_CMD_CALL ioctl from libnvdimm >> */ >> +struct nd_pdsm_cmd_pkg { >> +struct nd_cmd_pkg hdr; /* Package header containing sub-cmd */ >

Re: [PATCH 3/4] clk/soc: mediatek: mt6779: Bind clock driver from platform device

2020-05-20 Thread Stephen Boyd
Quoting matthias@kernel.org (2020-05-18 04:31:55) > From: Matthias Brugger > > The mmsys driver is now the top level entry point for the multimedia > system (mmsys), we bind the clock driver by creating a platform device. > We also bind the MediaTek DRM driver which is not yet implement and >

Re: [PATCH 2/8] radix-tree: Use local_lock for protection

2020-05-20 Thread Peter Zijlstra
On Tue, May 19, 2020 at 10:19:06PM +0200, Sebastian Andrzej Siewior wrote: > @@ -64,6 +64,7 @@ struct radix_tree_preload { > struct radix_tree_node *nodes; > }; > static DEFINE_PER_CPU(struct radix_tree_preload, radix_tree_preloads) = { 0, > }; > +static DEFINE_LOCAL_LOCK(radix_tree_preloa

linux-next: Signed-off-by missing for commit in the imx-mxs tree

2020-05-20 Thread Stephen Rothwell
Hi all, Commit 089795766399 ("arm64: dts: ls1028a: sl28: keep switch port names consistent") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpA0Prctzvs3.pgp Description: OpenPGP digital signature

[PATCH v2] printk/kdb: Redirect printk messages into kdb in any context

2020-05-20 Thread Petr Mladek
kdb has to get messages on consoles even when the system is stopped. It uses kdb_printf() internally and calls console drivers on its own. It uses a hack to reuse an existing code. It sets "kdb_trap_printk" global variable to redirect even the normal printk() into the kdb_printf() variant. The va

Re: [PATCH] perf bpf-loader: Add missing '*' for key_scan_pos

2020-05-20 Thread Wangshaobo (bobo)
在 2020/5/20 15:05, Jiri Olsa 写道: On Wed, May 20, 2020 at 11:32:16AM +0800, Wang ShaoBo wrote: key_scan_pos is a pointer for getting scan position in bpf__obj_config_map() for each BPF map configuration term, but it's misused when error not happened. Fixes: 066dacbf2a32 ("perf bpf: Add API to

[PATCH] asm-generic/sembuf: Update architecture related information in comment

2020-05-20 Thread Viresh Kumar
The structure came originally from x86_32 but is used by most of the architectures now. Update the comment which says it is for x86 only. Signed-off-by: Viresh Kumar --- include/uapi/asm-generic/sembuf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/asm-g

[PATCH] Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits."

2020-05-20 Thread Christophe Leroy
This reverts commit 697ece78f8f749aeea40f2711389901f0974017a. The implementation of SWAP on powerpc requires page protection bits to not be one of the least significant PTE bits. Until the SWAP implementation is changed and this requirement voids, we have to keep at least _PAGE_RW outside of the

Re: [PATCH v4 07/13] firmware: arm_scmi: Add notification dispatch and delivery

2020-05-20 Thread Lukasz Luba
Hi Cristian, On 5/20/20 8:09 AM, Cristian Marussi wrote: On Mon, Mar 16, 2020 at 02:46:05PM +, Cristian Marussi wrote: On Thu, Mar 12, 2020 at 09:43:31PM +, Lukasz Luba wrote: Hi Lukasz, I went back looking deeper into the possible race issue you pointed out a while ago understand

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

2020-05-20 Thread Marc Zyngier
Hi Sumit, On 2020-05-20 10:52, Sumit Garg wrote: Hi Marc, On Tue, 19 May 2020 at 21:48, Marc Zyngier wrote: Change the way we deal with GICv3 SGIs by turning them into proper IRQs, and calling into the arch code to register the interrupt range instead of a callback. Signed-off-by: Marc Zyng

Re: [PATCH v11 2/3] i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver

2020-05-20 Thread Andy Shevchenko
On Wed, May 20, 2020 at 12:51:12PM +0300, Tali Perry wrote: > Add Nuvoton NPCM BMC I2C controller driver. ... > +#ifdef CONFIG_DEBUG_FS Why?! > +#include > +#endif ... > +/* Status of one I2C module */ > +struct npcm_i2c { > + struct i2c_adapter adap; > + struct device *dev; Isn't

[PATCH] drm/nouveau: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/gpu/drm/nouveau/nouveau_gem.c | 4 +++- 1 file changed, 3 insertio

Re: [PATCH 8/8] mm/zswap: Use local lock to protect per-CPU data

2020-05-20 Thread Sebastian Andrzej Siewior
On 2020-05-19 21:46:06 [+], Song Bao Hua wrote: > Hi Luis, > In the below patch, in order to use the acomp APIs to leverage the power of > hardware compressors. I have moved to mutex: > https://marc.info/?l=linux-crypto-vger&m=158941285830302&w=2 > https://marc.info/?l=linux-crypto-vger&m=1589

Re: [PATCH 3/8] srcu: Use local_lock() for per-CPU struct srcu_data access

2020-05-20 Thread Peter Zijlstra
On Tue, May 19, 2020 at 10:19:07PM +0200, Sebastian Andrzej Siewior wrote: > diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c > index 0c71505f0e19c..8d2b5f75145d7 100644 > --- a/kernel/rcu/srcutree.c > +++ b/kernel/rcu/srcutree.c > @@ -25,6 +25,7 @@ > #include > #include > #include

Re: [PATCH] drm/etnaviv: fix memory leak when mapping prime imported buffers

2020-05-20 Thread Lucas Stach
Hi Martin, Am Mittwoch, den 20.05.2020, 12:10 +0200 schrieb Martin Fuzzey: > When using mmap() on a prime imported buffer allocated by a > different driver (such as imx-drm) the later munmap() does > not correctly decrement the refcount of the original enaviv_gem_object, > leading to a leak. > >

[PATCH v1] drivers property: When no children in primary, try secondary

2020-05-20 Thread Andy Shevchenko
Software firmware nodes can provide a child node to its parent. Since software node can be secondary, we need a mechanism to access the children. The idea is to list children of the primary node first and when they are finished, continue with secondary node if available. Signed-off-by: Andy Shevch

Re: [PATCH v2] sched/pelt: sync util/runnable_sum with PELT window when propagating

2020-05-20 Thread Dietmar Eggemann
On 19/05/2020 17:41, Vincent Guittot wrote: > On Tue, 19 May 2020 at 12:28, Dietmar Eggemann > wrote: >> >> On 06/05/2020 17:53, Vincent Guittot wrote: [...] >>> diff --git a/kernel/sched/pelt.c b/kernel/sched/pelt.c >>> index b647d04d9c8b..1feff80e7e45 100644 >>> --- a/kernel/sched/pelt.c >>>

Re: [PATCH 0/3] arm64: perf: Add support for Perf NMI interrupts

2020-05-20 Thread Alexandru Elisei
Hi, On 5/18/20 12:17 PM, Alexandru Elisei wrote: > Hi, > > On 5/18/20 11:45 AM, Mark Rutland wrote: >> Hi all, >> >> On Mon, May 18, 2020 at 02:26:00PM +0800, Lecopzer Chen wrote: >>> HI Sumit, >>> >>> Thanks for your information. >>> >>> I've already implemented IPI (same as you did [1], little d

Re: [PATCH] perf bpf-loader: Add missing '*' for key_scan_pos

2020-05-20 Thread Jiri Olsa
On Wed, May 20, 2020 at 06:22:12PM +0800, Wangshaobo (bobo) wrote: > > 在 2020/5/20 15:05, Jiri Olsa 写道: > > On Wed, May 20, 2020 at 11:32:16AM +0800, Wang ShaoBo wrote: > > > key_scan_pos is a pointer for getting scan position in > > > bpf__obj_config_map() for each BPF map configuration term, > >

[next] i2c: mediatek: Use div_u64 for 64-bit division to fix 32-bit kernels

2020-05-20 Thread qii.wang
From: Qii Wang Use div_u64 for 64-bit division, and change sample_ns type to unsigned int. Otherwise, the module will reference __udivdi3 under 32-bit kernels, which is not allowed in kernel space. Signed-off-by: Qii Wang --- drivers/i2c/busses/i2c-mt65xx.c | 3 ++- 1 file changed, 2 insertion

Re: [PATCH v1] drivers property: When no children in primary, try secondary

2020-05-20 Thread Rafael J. Wysocki
On Wed, May 20, 2020 at 12:30 PM Andy Shevchenko wrote: > > Software firmware nodes can provide a child node to its parent. > Since software node can be secondary, we need a mechanism to access > the children. The idea is to list children of the primary node first > and when they are finished, con

Re: [PATCH] kgdboc: Disable all the early code when kgdboc is a module

2020-05-20 Thread Daniel Thompson
On Tue, May 19, 2020 at 08:44:02AM -0700, Douglas Anderson wrote: > When kgdboc is compiled as a module all of the "ekgdboc" and > "kgdb_earlycon" code isn't useful and, in fact, breaks compilation. > This is because early_param() isn't defined for modules and that's how > this code gets configured

Re: [PATCH] arm64: Fix PTRACE_SYSEMU semantics

2020-05-20 Thread Bin Lu
From: Bin Lu On Tue, May 19, 2020 at 01:07:27PM +0100, Catalin Marinas wrote: > On Mon, May 18, 2020 at 12:41:20PM +0100, Will Deacon wrote: > > On Fri, May 15, 2020 at 06:22:53PM -0400, Keno Fischer wrote: > > > Quoth the man page: > > > ``` > > >If the tracee was restarted by PTRACE_SYS

[PATCH] drm/nouveau: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/gpu/drm/nouveau/nouveau_gem.c | 2 +- 1 file changed, 1 insertion(

[PATCH v2] MAINTAINERS: add files related to kdump

2020-05-20 Thread Baoquan He
Kdump is implemented based on kexec, however some files are only related to crash dumping and missing, add them to KDUMP entry. Signed-off-by: Baoquan He Acked-by: Dave Young --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 83cf5c43242a..2

Re: [PATCH v1] drivers property: When no children in primary, try secondary

2020-05-20 Thread Sakari Ailus
Thanks, Andy! On Wed, May 20, 2020 at 01:29:59PM +0300, Andy Shevchenko wrote: > Software firmware nodes can provide a child node to its parent. > Since software node can be secondary, we need a mechanism to access > the children. The idea is to list children of the primary node first > and when t

Re: [RFC PATCH 0/4] DirectX on Linux

2020-05-20 Thread Jan Engelhardt
On Tuesday 2020-05-19 22:36, Sasha Levin wrote: > >> - Why DX12 on linux? Looking at this feels like classic divide and > > There is a single usecase for this: WSL2 developer who wants to run > machine learning on his GPU. The developer is working on his laptop, > which is running Windows and tha

Re: [RFC PATCH v3 1/2] cpufreq: change '.set_boost' to act on only one policy

2020-05-20 Thread Rafael J. Wysocki
On Wed, May 20, 2020 at 6:59 AM Viresh Kumar wrote: > > On 19-05-20, 19:41, Xiongfeng Wang wrote: > > Macro 'for_each_active_policy()' is defined internally. To avoid some > > cpufreq driver needing this macro to iterate over all the policies in > > '.set_boost' callback, we redefine '.set_boost'

Re: [PATCH v5 09/19] mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table

2020-05-20 Thread Pratyush Yadav
On 20/05/20 05:40PM, masonccy...@mxic.com.tw wrote: > > Hi Pratyush, > > > > > +/** > > > > + * spi_nor_parse_profile1() - parse the xSPI Profile 1.0 table > > > > + * @nor: pointer to a 'struct spi_nor' > > > > + * @param_header: pointer to the 'struct sfdp_parameter_header' > > > desc

Re: [PATCH v1] drivers property: When no children in primary, try secondary

2020-05-20 Thread Heikki Krogerus
On Wed, May 20, 2020 at 01:29:59PM +0300, Andy Shevchenko wrote: > Software firmware nodes can provide a child node to its parent. > Since software node can be secondary, we need a mechanism to access > the children. The idea is to list children of the primary node first > and when they are finishe

Re: [RFC PATCH v3 1/2] cpufreq: change '.set_boost' to act on only one policy

2020-05-20 Thread Viresh Kumar
On 20-05-20, 12:36, Rafael J. Wysocki wrote: > On Wed, May 20, 2020 at 6:59 AM Viresh Kumar wrote: > > > > On 19-05-20, 19:41, Xiongfeng Wang wrote: > > > Macro 'for_each_active_policy()' is defined internally. To avoid some > > > cpufreq driver needing this macro to iterate over all the policies

[tip:x86/entry 4/80] drivers/xen/events/events_base.c:1664:6: warning: no previous prototype for 'xen_setup_callback_vector'

2020-05-20 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry head: 095b7a3e7745e6fb7cf0a1c09967c4f43e76f8f4 commit: fad1940a6a856f59b073e8650e02052ce531154c [4/80] x86/xen: Split HVM vector callback setup and interrupt gate allocation config: arm-randconfig-r013-20200519 (attach

Re: [PATCH v2 1/2] hwrng: iproc-rng200 - Set the quality value

2020-05-20 Thread Lukasz Stelmach
It was <2020-05-20 śro 11:18>, when Stephan Mueller wrote: > Am Mittwoch, 20. Mai 2020, 11:10:32 CEST schrieb Lukasz Stelmach: >> It was <2020-05-20 śro 08:23>, when Stephan Mueller wrote: >>> Am Dienstag, 19. Mai 2020, 23:25:51 CEST schrieb Łukasz Stelmach: The value was estimaded with ea_iid

hello

2020-05-20 Thread robert
helloone.pdf Description: Adobe PDF document

Re: [PATCH v1] drivers property: When no children in primary, try secondary

2020-05-20 Thread Greg Kroah-Hartman
On Wed, May 20, 2020 at 12:34:06PM +0200, Rafael J. Wysocki wrote: > On Wed, May 20, 2020 at 12:30 PM Andy Shevchenko > wrote: > > > > Software firmware nodes can provide a child node to its parent. > > Since software node can be secondary, we need a mechanism to access > > the children. The idea

Re: [PATCH v1 13/25] dma-buf: Use sequence counter with associated wound/wait mutex

2020-05-20 Thread Christian König
Am 19.05.20 um 23:45 schrieb Ahmed S. Darwish: A sequence counter write side critical section must be protected by some form of locking to serialize writers. If the serialization primitive is not disabling preemption implicitly, preemption has to be explicitly disabled before entering the sequenc

[PATCH] drm/nouveau/dispnv50: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 +++- 1 file changed, 3 insert

Re: [PATCH v3 01/19] mm: memcg: factor out memcg- and lruvec-level changes out of __mod_lruvec_state()

2020-05-20 Thread Vlastimil Babka
On 4/22/20 10:46 PM, Roman Gushchin wrote: > To convert memcg and lruvec slab counters to bytes there must be > a way to change these counters without touching node counters. > Factor out __mod_memcg_lruvec_state() out of __mod_lruvec_state(). > > Signed-off-by: Roman Gushchin Reviewed-by: Vlast

Re: [PATCH 1/2] mfd: constify properties in mfd_cell

2020-05-20 Thread Lee Jones
On Sat, 16 May 2020, Tomas Winkler wrote: > Constify 'struct property_entry *properties' in > mfd_cell It is always passed > around as a pointer const struct. Apart from the odd commit log formatting ... > Signed-off-by: Tomas Winkler > --- > include/linux/mfd/core.h | 2 +- > 1 file changed,

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