Re: I915 CI-run with kfence enabled, issues found

2021-03-29 Thread Marco Elver
On Mon, 29 Mar 2021 at 23:47, Andy Lutomirski wrote: > > > > On Mar 29, 2021, at 2:34 PM, Marco Elver wrote: > > > > On Mon, 29 Mar 2021 at 23:03, Dave Hansen wrote: > >>> On 3/29/21 10:45 AM, Marco Elver wrote: > On Mon, 29 Mar 2021 at 19:32, Dave Hansen wrote: > >>> Doing it to all

Re: [PATCH V2 2/5] watchdog: of_xilinx_wdt: Used BIT macro

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 09:49:36PM +0530, Srinivas Neeli wrote: > From: Srinivas Goud > > Used BIT macro instead of mask value. > > Signed-off-by: Srinivas Goud > Signed-off-by: Michal Simek > Signed-off-by: Srinivas Neeli Reviewed-by: Guenter Roeck > --- > Changes in V2: > -Included

Re: [PATCH] hwmon: (nzxt-kraken2) mark and order concurrent accesses

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 05:22:01AM -0300, Jonas Malaco wrote: > To avoid a spinlock, the driver explores concurrent memory accesses > between _raw_event and _read, having the former updating fields on a > data structure while the latter could be reading from them. Because > these are "plain"

Re: [RFC] clk: add boot clock support

2021-03-29 Thread Sebastian Reichel
Hi, On Mon, Mar 29, 2021 at 01:03:20PM -0700, Saravana Kannan wrote: > On Fri, Mar 26, 2021 at 2:52 AM Sebastian Reichel > wrote: > > On Thu, Mar 25, 2021 at 06:55:52PM -0700, Saravana Kannan wrote: > > > On Thu, Mar 25, 2021 at 6:27 PM Rob Herring wrote: > > > > On Thu, Mar 18, 2021 at

Re: [PATCH v4 4/4] ioctl_userfaultfd.2: Add write-protect mode docs

2021-03-29 Thread Peter Xu
On Thu, Mar 25, 2021 at 10:32:20PM +0100, Alejandro Colomar (man-pages) wrote: > Hi Peter, > > On 3/23/21 8:16 PM, Peter Xu wrote: > > On Tue, Mar 23, 2021 at 07:11:04PM +0100, Alejandro Colomar (man-pages) > > wrote: > > > > +.TP > > > > +.B UFFDIO_COPY_MODE_WP > > > > +Copy the page with

Re: [PATCH] sched/psi.c: Rudimentary typo fixes

2021-03-29 Thread Shuah Khan
On 3/26/21 1:42 PM, Bhaskar Chowdhury wrote: On 19:41 Fri 26 Mar 2021, Peter Zijlstra wrote: On Fri, Mar 26, 2021 at 02:00:18PM -0400, Johannes Weiner wrote: On Fri, Mar 26, 2021 at 06:12:33PM +0530, Bhaskar Chowdhury wrote: > > s/possible/possible/ > s/ exceution/execution/ >

Re: I915 CI-run with kfence enabled, issues found

2021-03-29 Thread Andy Lutomirski
> On Mar 29, 2021, at 2:34 PM, Marco Elver wrote: > > On Mon, 29 Mar 2021 at 23:03, Dave Hansen wrote: >>> On 3/29/21 10:45 AM, Marco Elver wrote: On Mon, 29 Mar 2021 at 19:32, Dave Hansen wrote: >>> Doing it to all CPUs is too expensive, and we can tolerate this being >>> approximate

Re: [PATCH mvebu v2 09/10] cpufreq: armada-37xx: Remove cur_frequency variable

2021-03-29 Thread Marek Behún
On Mon, 29 Mar 2021 17:00:12 +0200 Gregory CLEMENT wrote: > Pali Rohár writes: > > > Variable cur_frequency in armada37xx_cpufreq_driver_init() is unused. > > > > Signed-off-by: Pali Rohár > > Acked-by: Gregory CLEMENT Gregory, THX for the acks. Will you be merging these patches or

Re: [PATCH v5 02/10] coresight: syscfg: Add registration and feature loading for cs devices

2021-03-29 Thread Mathieu Poirier
On Tue, Mar 16, 2021 at 06:03:52PM +, Mike Leach wrote: > API for individual devices to register with the syscfg management > system is added. > > Devices register with matching information, and any features or > configurations that match will be loaded into the device. > > The feature and

Re: [PATCH 5.11 000/252] 5.11.11-rc2 review

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 12:14:20PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.11.11 release. > There are 252 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: I915 CI-run with kfence enabled, issues found

2021-03-29 Thread Marco Elver
On Mon, 29 Mar 2021 at 23:03, Dave Hansen wrote: > On 3/29/21 10:45 AM, Marco Elver wrote: > > On Mon, 29 Mar 2021 at 19:32, Dave Hansen wrote: > > Doing it to all CPUs is too expensive, and we can tolerate this being > > approximate (nothing bad will happen, KFENCE might just miss a bug and > >

[RFC PATCH 2/2] usb: typec: sama7g5_tcpc: add driver for Microchip sama7g5 tcpc

2021-03-29 Thread cristian.birsan
From: Cristian Birsan This patch adds initial driver support for the new Microchip USB Type-C Port Controller (TCPC) embedded in sama7g5 SoC. Signed-off-by: Cristian Birsan --- drivers/usb/typec/tcpm/Kconfig| 8 + drivers/usb/typec/tcpm/Makefile | 1 +

[RFC PATCH 1/2] dt-bindings: usb: Add DT bindings for Microchip sama7g5 tcpc

2021-03-29 Thread cristian.birsan
From: Cristian Birsan This patch adds DT bindings for the new Microchip USB Type-C Port Controller (TCPC) embedded in sama7g5 SoC. Signed-off-by: Cristian Birsan --- .../bindings/usb/microchip,sama7g5-tcpc.yaml | 80 +++ 1 file changed, 80 insertions(+) create mode 100644

Re: [PATCH 5.10 000/219] 5.10.27-rc2 review

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 12:14:07PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.10.27 release. > There are 219 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[RFC PATCH 0/2] usb: typec: Add driver for Microchip sama7g5 tcpc

2021-03-29 Thread cristian.birsan
From: Cristian Birsan This patch set adds initial driver support for Microchip USB Type-C Port Controller (TCPC) embedded in sama7g5 SoC. The controller does not implement power delivery and the driver uses dummy functions to register the port with TCPM. The current silicon version is not able

Re: [PATCH 5.4 000/111] 5.4.109-rc1 review

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 09:57:08AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.109 release. > There are 111 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.14 00/59] 4.14.228-rc1 review

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 09:57:40AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.228 release. > There are 59 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.19 00/72] 4.19.184-rc1 review

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 09:57:36AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.184 release. > There are 72 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.9 00/53] 4.9.264-rc1 review

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 09:57:35AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.264 release. > There are 53 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.4 00/33] 4.4.264-rc1 review

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 09:57:45AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.264 release. > There are 33 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH v3 2/6] PCI: brcmstb: Add control of EP voltage regulators

2021-03-29 Thread Mark Brown
On Mon, Mar 29, 2021 at 02:09:58PM -0700, Florian Fainelli wrote: > On 3/29/21 1:45 PM, Mark Brown wrote: > > management in the driver anyway? Just mark the regualtors as always on > > and set up an appropriate suspend mode configuration and everything > > should work without the drivers doing

arch/mips/loongson64/cop2-ex.c:97:29: error: 'struct thread_struct' has no member named 'fpu'

2021-03-29 Thread kernel test robot
Hi Huacai, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e43c377a79f9189fea8f2711b399d4e8b4e609b commit: f83e4f9896eff614d0f2547a561fa5f39f9cddde MIPS: Loongson-3: Add some unaligned instructions emulation date:

Re: [PATCH v5 4/4] fs: unicode: Add utf8 module and a unicode layer

2021-03-29 Thread Gabriel Krisman Bertazi
Shreeya Patel writes: > utf8data.h_shipped has a large database table which is an auto-generated > decodification trie for the unicode normalization functions. > It is not necessary to load this large table in the kernel if no > filesystem is using it, hence make UTF-8 encoding loadable by

Re: [PATCH] tick/broadcast: Allow later probed device enter oneshot mode

2021-03-29 Thread Thomas Gleixner
On Mon, Mar 29 2021 at 13:25, Jindong Yue wrote: > /* > * Debugging: see timer_list.c > @@ -115,8 +116,20 @@ void tick_install_broadcast_device(struct > clock_event_device *dev) >* notification the systems stays stuck in periodic mode >* forever. >*/ > - if

Re: [PATCH v3 2/6] PCI: brcmstb: Add control of EP voltage regulators

2021-03-29 Thread Florian Fainelli
On 3/29/21 1:45 PM, Mark Brown wrote: > On Mon, Mar 29, 2021 at 03:48:46PM -0400, Jim Quinlan wrote: > >> I'm not concerned about a namespace collision and I don't think you >> should be concerned either. First, this driver is for Broadcom STB >> PCIe chips and boards, and we also deliver the DT

RE: [PATCH v2 0/6] perf arm64 metricgroup support

2021-03-29 Thread Paul A. Clarke
On Fri, Mar 26, 2021 at 10:57:40AM +, John Garry wrote: > On 25/03/2021 20:39, Paul A. Clarke wrote: > > On Thu, Mar 25, 2021 at 06:33:12PM +0800, John Garry wrote: > > > Metric reuse support is added for pmu-events parse metric testcase. > > > This had been broken on power9 recentlty: > > >

Re: [PATCH v2] clk: qcom: camcc: Update the clock ops for the SC7180

2021-03-29 Thread Stephen Boyd
Quoting Taniya Das (2021-03-26 18:41:05) > Some of the RCGs could be always ON from the XO source and could be used > as the clock on signal for the GDSC to be operational. In the cases where > the GDSCs are parked at different source with the source clock disabled, > it could lead to the GDSC to

Re: [PATCH v2 3/6] software node: Deduplicate code in fwnode_create_software_node()

2021-03-29 Thread Daniel Scally
Hi Andy On 29/03/2021 16:12, Andy Shevchenko wrote: > Deduplicate conditional and assignment in fwnode_create_software_node(), > i.e. parent is checked in two out of three cases and parent software node > is assigned by to_swnode() call. > > Signed-off-by: Andy Shevchenko Reviewed-by: Daniel

Re: [PATCH 2/4] cxl/mem: Fix cdev_device_add() error handling

2021-03-29 Thread Dan Williams
On Thu, Mar 25, 2021 at 10:12 AM Jason Gunthorpe wrote: > > On Wed, Mar 24, 2021 at 02:01:56PM -0700, Dan Williams wrote: > > If cdev_device_add() fails then the allocation performed by > > dev_set_name() is leaked. Use put_device(), not open coded release, for > > device_add() failures. > > > >

Re: I915 CI-run with kfence enabled, issues found

2021-03-29 Thread Dave Hansen
On 3/29/21 10:45 AM, Marco Elver wrote: > On Mon, 29 Mar 2021 at 19:32, Dave Hansen wrote: > Doing it to all CPUs is too expensive, and we can tolerate this being > approximate (nothing bad will happen, KFENCE might just miss a bug and > that's ok). ... >> BTW, the preempt checks in

Re: [External] [PATCH 2/3] mm: Charge active memcg when no mm is set

2021-03-29 Thread Shakeel Butt
On Mon, Mar 29, 2021 at 9:13 AM Muchun Song wrote: > > On Mon, Mar 29, 2021 at 10:49 PM Dan Schatzberg > wrote: [...] > > Since remote memcg must hold a reference, we do not > need to do something like get_active_memcg() does. > Just use css_get to obtain a ref, it is simpler. Just > Like below.

Re: [PATCH v4 1/9] media: uapi: mpeg2: Rework quantization matrices semantics

2021-03-29 Thread Nicolas Dufresne
Le lundi 29 mars 2021 à 15:13 -0300, Ezequiel Garcia a écrit : > As stated in the MPEG-2 specification, section 6.3.7 "Quant matrix > extension": > >   Each quantisation matrix has a default set of values. When a >   sequence_header_code is decoded all matrices shall be reset to >   their default

Re: [PATCH] ethernet: myri10ge: Fix a use after free in myri10ge_sw_tso

2021-03-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 29 Mar 2021 05:36:48 -0700 you wrote: > In myri10ge_sw_tso, the skb_list_walk_safe macro will set > (curr) = (segs) and (next) = (curr)->next. If status!=0 is true, > the memory pointed by curr and segs will be free by

Re: [PATCH v3 2/6] PCI: brcmstb: Add control of EP voltage regulators

2021-03-29 Thread Mark Brown
On Mon, Mar 29, 2021 at 03:48:46PM -0400, Jim Quinlan wrote: > I'm not concerned about a namespace collision and I don't think you > should be concerned either. First, this driver is for Broadcom STB > PCIe chips and boards, and we also deliver the DT to the customers. > We typically do not have

Re: [PATCH v2] x86/apic/vector: Move pr_warn() out of vector_lock

2021-03-29 Thread Thomas Gleixner
Waiman, On Mon, Mar 29 2021 at 15:57, Waiman Long wrote: > On 3/29/21 8:42 AM, Thomas Gleixner wrote: >> On Sun, Mar 28 2021 at 20:52, Waiman Long wrote: >>> It was found that the following circular locking dependency warning >>> could happen in some systems: >>> >>> [ 218.097878]

[PATCH v5 4/4] fs: unicode: Add utf8 module and a unicode layer

2021-03-29 Thread Shreeya Patel
utf8data.h_shipped has a large database table which is an auto-generated decodification trie for the unicode normalization functions. It is not necessary to load this large table in the kernel if no filesystem is using it, hence make UTF-8 encoding loadable by converting it into a module. Modify

Re: [PATCH] hwmon: Add driver for fsp-3y PSUs and PDUs

2021-03-29 Thread kernel test robot
Hi "Václav, Thank you for the patch! Yet something to improve: [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v5.12-rc5 next-20210329] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '-

[PATCH v5 2/4] fs: unicode: Rename function names from utf8 to unicode

2021-03-29 Thread Shreeya Patel
utf8data.h_shipped has a large database table which is an auto-generated decodification trie for the unicode normalization functions and it is not necessary to carry this large table in the kernel. Goal is to make UTF-8 encoding loadable by converting it into a module and adding a unicode

[PATCH v5 3/4] fs: unicode: Rename utf8-core file to unicode-core

2021-03-29 Thread Shreeya Patel
utf8data.h_shipped has a large database table which is an auto-generated decodification trie for the unicode normalization functions and it is not necessary to carry this large table in the kernel. Goal is to make UTF-8 encoding loadable by converting it into a module and adding a unicode

[PATCH v5 1/4] fs: unicode: Use strscpy() instead of strncpy()

2021-03-29 Thread Shreeya Patel
Following warning was reported by Kernel Test Robot. In function 'utf8_parse_version', inlined from 'utf8_load' at fs/unicode/utf8mod.c:195:7: >> fs/unicode/utf8mod.c:175:2: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 175 | strncpy(version_string,

[PATCH v5 0/4] Make UTF-8 encoding loadable

2021-03-29 Thread Shreeya Patel
utf8data.h_shipped has a large database table which is an auto-generated decodification trie for the unicode normalization functions and it is not necessary to carry this large table in the kernel. Goal is to make UTF-8 encoding loadable by converting it into a module and adding a layer between

Re: [syzbot] WARNING in xfrm_alloc_compat (2)

2021-03-29 Thread Dmitry Safonov
On 3/29/21 9:31 PM, Eric Dumazet wrote: > > > On 3/29/21 9:57 PM, Dmitry Safonov wrote: [..] >>> [ cut here ] >>> unsupported nla_type 356 >> >> This doesn't seem to be an issue. >> Userspace sent message with nla_type 356, which is > __XFRM_MSG_MAX, so >> this warning is

Re: [PATCH 6/9] riscv: bpf: Move bpf_jit_alloc_exec() and bpf_jit_free_exec() to core

2021-03-29 Thread Luke Nelson
> We will drop the executable permissions of the code pages from the > mapping at allocation time soon. Move bpf_jit_alloc_exec() and > bpf_jit_free_exec() to bpf_jit_core.c so that they can be shared by > both RV64I and RV32I. Looks good to me. Acked-by: Luke Nelson

Re: [PATCH] kernel-doc: better handle '::' sequences

2021-03-29 Thread Miguel Ojeda
On Thu, Mar 25, 2021 at 11:18 PM Matthew Wilcox wrote: > > The rust code is alredy coming though ... > > rust/kernel/buffer.rs:/// A pre-allocated buffer that implements > [`core::fmt::Write`]. > > so now we have three formats. Markdown and RST are _very_ similar, but > not identical [1]. Oh,

Re: [PATCH v3 0/6] Introduce intel_skl_int3472 module

2021-03-29 Thread Daniel Scally
Hi Andy On 29/03/2021 16:03, Andy Shevchenko wrote: > On Thu, Mar 04, 2021 at 01:49:14PM +, Daniel Scally wrote: >> On 04/03/2021 13:37, Hans de Goede wrote: >>> On 2/22/21 2:07 PM, Daniel Scally wrote: > ... > The existing mfd/tps68470.c driver being thus superseded, it is removed. >>>

Re: [PATCH v4 07/10] Input: wacom_i2c - Add support for reset control

2021-03-29 Thread Dmitry Torokhov
Hi Alistair, On Thu, Mar 25, 2021 at 09:52:27PM -0400, Alistair Francis wrote: > From: Alistair Francis > > Signed-off-by: Alistair Francis > --- > v4: > - Initial commit > > drivers/input/touchscreen/wacom_i2c.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git

Re: [syzbot] WARNING in xfrm_alloc_compat (2)

2021-03-29 Thread Eric Dumazet
On 3/29/21 9:57 PM, Dmitry Safonov wrote: > Hi, > > On 3/29/21 8:04 PM, syzbot wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit:6c996e19 net: change netdev_unregister_timeout_secs min va.. >> git tree: net-next >> console output:

Re: [PATCH v2 1/2] fuse: Add support for FUSE_SETXATTR_V2

2021-03-29 Thread Luis Henriques
Vivek Goyal writes: > On Mon, Mar 29, 2021 at 03:54:03PM +0100, Luis Henriques wrote: >> On Thu, Mar 25, 2021 at 11:18:22AM -0400, Vivek Goyal wrote: >> > Fuse client needs to send additional information to file server when >> > it calls SETXATTR(system.posix_acl_access). Right now there is no

Re: [PATCH net-next v2] net: mscc: ocelot: remove redundant dev_err call in vsc9959_mdio_bus_alloc()

2021-03-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 29 Mar 2021 09:54:05 +0800 you wrote: > From: Guobin Huang > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Reported-by:

Re: [PATCH net-next v2] net: axienet: Remove redundant dev_err call in axienet_probe()

2021-03-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 29 Mar 2021 09:45:13 +0800 you wrote: > From: Guobin Huang > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Reported-by:

Re: [PATCH net-next v2] net: mdio: Remove redundant dev_err call in mdio_mux_iproc_probe()

2021-03-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 29 Mar 2021 09:38:32 +0800 you wrote: > From: Guobin Huang > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Reported-by:

Re: [PATCH net-next v2] net: stmmac: remove redundant dev_err call in qcom_ethqos_probe()

2021-03-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 29 Mar 2021 09:49:32 +0800 you wrote: > From: Guobin Huang > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Reported-by:

Re: [PATCH] mm: change size_t to unsigned int for cma_alloc

2021-03-29 Thread Minchan Kim
On Mon, Mar 29, 2021 at 07:44:31PM +0100, Matthew Wilcox wrote: > On Mon, Mar 29, 2021 at 11:25:53AM -0700, Minchan Kim wrote: > > size_t in cma_alloc is confusing since it makes people think > > it's byte count, not pages. Fix it. > > i think it has to be unsigned long. > >

[PATCH] crypto: allwinner: add missing CRYPTO_ prefix

2021-03-29 Thread Corentin Labbe
Some CONFIG select miss CRYPTO_. Reported-by: Chen-Yu Tsai Fixes: 56f6d5aee88d1 ("crypto: sun8i-ce - support hash algorithms") Fixes: d9b45418a9177 ("crypto: sun8i-ss - support hash algorithms") Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 14 +++--- 1 file

Re: [PATCH rfc 3/4] percpu: on demand chunk depopulation

2021-03-29 Thread Roman Gushchin
On Mon, Mar 29, 2021 at 07:21:24PM +, Dennis Zhou wrote: > On Wed, Mar 24, 2021 at 12:06:25PM -0700, Roman Gushchin wrote: > > To return unused memory to the system schedule an async > > depopulation of percpu chunks. > > > > To balance between scanning too much and creating an overhead

Re: [PATCH V2 3/5] DCC: Added the sysfs entries for DCC(Data Capture and Compare) driver

2021-03-29 Thread Stephen Boyd
Quoting Souradeep Chowdhury (2021-03-25 01:02:34) > The DCC is a DMA engine designed to store register values either in > case of a system crash or in case of software triggers manually done > by the user.Using DCC hardware and the sysfs interface of the driver > the user can exploit various

[PATCH v2] userfaultfd/shmem: fix MCOPY_ATOMIC_CONTNUE behavior

2021-03-29 Thread Axel Rasmussen
Previously, we shared too much of the code with COPY and ZEROPAGE, so we manipulated things in various invalid ways: - Previously, we unconditionally called shmem_inode_acct_block. In the continue case, we're looking up an existing page which would have been accounted for properly when it was

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-29 Thread Arnd Bergmann
On Mon, Mar 29, 2021 at 9:23 PM Fawad Lateef wrote: > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > > Hi > > > > > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > > > NAND driver, I am stuck

Re: [PATCH V2 2/5] soc: qcom: dcc: Add driver support for Data Capture and Compare unit(DCC)

2021-03-29 Thread Stephen Boyd
Quoting Souradeep Chowdhury (2021-03-25 01:02:33) > The DCC is a DMA Engine designed to capture and store data > during system crash or software triggers.The DCC operates > based on user inputs via the sysfs interface.The user gives > addresses as inputs and these addresses are stored in the >

Re: [PATCH] selftests/bpf: add LDFLAGS when building test_verifier

2021-03-29 Thread Song Liu
On Mon, Mar 29, 2021 at 11:13 AM Jisheng Zhang wrote: > > From: Jisheng Zhang > > This is useful for cross compile process to point linker to the > correct libelf, libcap, libz path. LGTM: Acked-by: Song Liu btw: Do we also need LDFLAGS for some other binaries, like test_cpp, TRUNNER_BINARY,

Re: [RFC] clk: add boot clock support

2021-03-29 Thread Saravana Kannan
On Fri, Mar 26, 2021 at 2:52 AM Sebastian Reichel wrote: > > Hi Saravana, > > On Thu, Mar 25, 2021 at 06:55:52PM -0700, Saravana Kannan wrote: > > On Thu, Mar 25, 2021 at 6:27 PM Rob Herring wrote: > > > > > > +Saravana > > > > > > On Thu, Mar 18, 2021 at 10:03:18PM +0100, Sebastian Reichel

Re: [PATCH] powerpc/vdso: Separate vvar vma from vdso

2021-03-29 Thread Dmitry Safonov
On 3/29/21 4:14 PM, Laurent Dufour wrote: > Le 26/03/2021 à 20:17, Dmitry Safonov a écrit : >> Since commit 511157ab641e ("powerpc/vdso: Move vdso datapage up front") >> VVAR page is in front of the VDSO area. In result it breaks CRIU >> (Checkpoint Restore In Userspace) [1], where CRIU expects

Re: [PATCH] ASoC: fsl_rpmsg: initialise pointers to NULL

2021-03-29 Thread Mark Brown
On Mon, 29 Mar 2021 11:34:28 +0800, Shengjiu Wang wrote: > This fixes the following sparse warnings: > > sound/soc/fsl/fsl_rpmsg.c:45:45: sparse: sparse: Using plain integer as NULL > pointer > sound/soc/fsl/fsl_rpmsg.c:45:56: sparse: sparse: Using plain integer as NULL > pointer Applied to

Re: [PATCH RESEND 1/2] ASoC: amd: update spdx license for acp machine driver

2021-03-29 Thread Mark Brown
On Fri, 26 Mar 2021 22:14:30 +0530, Vijendar Mukunda wrote: > update SPDX license for acp machine driver. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: amd: update spdx license for acp machine driver commit:

[PATCH v1] i2c: Make i2c_recover_bus() to return -EBUSY if bus recovery unimplemented

2021-03-29 Thread Dmitry Osipenko
The i2c_recover_bus() returns -EOPNOTSUPP if bus recovery isn't wired up by the bus driver, which the case for Tegra I2C driver for example. This error code is then propagated to I2C client and might be confusing, thus make i2c_recover_bus() to return -EBUSY instead. Suggested-by: Wolfram Sang

Re: [PATCH V2 0/2] Add mediatek MT6359 ASoC accdet jack driver

2021-03-29 Thread Mark Brown
On Wed, 10 Mar 2021 21:33:04 +0800, Argus Lin wrote: > All of 3-pole and 4-pole jack are supported. > > change since v2: > - fixs missing blank at Kconfig. > - fixs comment format and spelling mistake. > - changes private structure mt6359_accdet to mt6359-accdet.h and uses this > data

Re: [PATCH] ASoC: cygnus: fix for_each_child.cocci warnings

2021-03-29 Thread Mark Brown
On Sun, 28 Mar 2021 16:54:45 +0200 (CEST), Julia Lawall wrote: > Function "for_each_available_child_of_node" should have of_node_put() > before return around line 1352. > > Generated by: scripts/coccinelle/iterators/for_each_child.cocci Applied to

Re: [PATCH -next] ASoC: dwc: Fix -Wmissing-prototypes warnings

2021-03-29 Thread Mark Brown
On Mon, 29 Mar 2021 23:05:24 +0800, YueHaibing wrote: > while CONFIG_SND_DESIGNWARE_PCM is not set, building with W=1 shows this: > > sound/soc/dwc/local.h:127:6: warning: no previous prototype for > ‘dw_pcm_push_tx’ [-Wmissing-prototypes] > void dw_pcm_push_tx(struct dw_i2s_dev *dev) { } >

Re: [PATCH v2] x86/apic/vector: Move pr_warn() out of vector_lock

2021-03-29 Thread Waiman Long
On 3/29/21 8:42 AM, Thomas Gleixner wrote: Waiman, On Sun, Mar 28 2021 at 20:52, Waiman Long wrote: It was found that the following circular locking dependency warning could happen in some systems: [ 218.097878] == [ 218.097879] WARNING:

Re: [syzbot] WARNING in xfrm_alloc_compat (2)

2021-03-29 Thread Dmitry Safonov
Hi, On 3/29/21 8:04 PM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:6c996e19 net: change netdev_unregister_timeout_secs min va.. > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=102e5926d0 > kernel config:

Re: [syzbot] KASAN: use-after-free Read in create_worker_cb

2021-03-29 Thread Jens Axboe
On 3/29/21 1:54 PM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:93129492 Add linux-next specific files for 20210326 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=144509bad0 > kernel config:

[syzbot] KASAN: use-after-free Read in create_worker_cb

2021-03-29 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:93129492 Add linux-next specific files for 20210326 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=144509bad0 kernel config: https://syzkaller.appspot.com/x/.config?x=4c9322cd4e3b7a16 dashboard

[syzbot] possible deadlock in do_ipv6_setsockopt (3)

2021-03-29 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:75887e88 Merge branch '40GbE' of git://git.kernel.org/pub/.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1133dd06d0 kernel config: https://syzkaller.appspot.com/x/.config?x=daeff30c2474a60f

Re: [PATCH v5 01/10] coresight: syscfg: Initial coresight system configuration

2021-03-29 Thread Mathieu Poirier
Good day, On Tue, Mar 16, 2021 at 06:03:51PM +, Mike Leach wrote: > Creates an system management API to allow complex configurations and > features to be programmed into a CoreSight infrastructure. > > A feature is defined as a programming set for a device or class of > devices. > > A

[PATCH v5 0/2] Polling for MHI ready

2021-03-29 Thread Bhaumik Bhatt
v5: -Use fsleep in place of udelay or usleep_range to accommodate better delay use -Drop patch for polling during RDDM panic path as new API cannot be used there v4: -Added reviewed-by tag -Return appropriate error code from mhi_poll_reg_field() -Fixed bug where mhi_poll_reg_field() returns

[PATCH v5 2/2] bus: mhi: core: Move to polling method to wait for MHI ready

2021-03-29 Thread Bhaumik Bhatt
In certain devices, it is likely that there is no incoming MHI interrupt for a transition to MHI READY state. One such example is the move from Pass Through to an SBL or AMSS execution environment. In order to facilitate faster bootup times as there is no need to wait until timeout_ms completes,

[PATCH v5 1/2] bus: mhi: core: Introduce internal register poll helper function

2021-03-29 Thread Bhaumik Bhatt
Introduce helper function to allow MHI core driver to poll for a value in a register field. This helps reach a common path to read and poll register values along with a retry time interval. Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/core/internal.h | 3 +++ drivers/bus/mhi/core/main.c

[PATCH] resource: Prevent irqresource_disabled() from erasing flags

2021-03-29 Thread Angela Czubak
Do not overwrite flags as it leads to erasing triggering and polarity information which might be useful in case of hard-coded interrupts. This way the information can be read later on even though mapping to APIC domain failed. Signed-off-by: Angela Czubak --- Some Chromebooks use hard-coded

Re: [PATCH v3 2/6] PCI: brcmstb: Add control of EP voltage regulators

2021-03-29 Thread Jim Quinlan
/* Pmap_idx to avs pmap number */ const uint8_t pmap_idx_to_avs_id[20]; On Mon, Mar 29, 2021 at 1:16 PM Mark Brown wrote: > > On Mon, Mar 29, 2021 at 12:39:50PM -0400, Jim Quinlan wrote: > > On Mon, Mar 29, 2021 at 12:25 PM Mark Brown > > > > Here you are figuring out a device local

[PATCH v1 5/6] dt-bindings: memory: tegra20: emc: Convert to schema

2021-03-29 Thread Dmitry Osipenko
Convert Tegra20 External Memory Controller binding to schema. Signed-off-by: Dmitry Osipenko --- .../memory-controllers/nvidia,tegra20-emc.txt | 130 .../nvidia,tegra20-emc.yaml | 294 ++ 2 files changed, 294 insertions(+), 130 deletions(-) delete

[PATCH v1 3/6] dt-bindings: memory: tegra124: emc: Replace core regulator with power domain

2021-03-29 Thread Dmitry Osipenko
Power domain fits much better than a voltage regulator in regards to a proper hardware description and from a software perspective as well. Hence replace the core regulator with the power domain. Note that this doesn't affect any existing DTBs because we haven't started to use the regulator yet,

[PATCH v1 4/6] dt-bindings: memory: tegra20: mc: Convert to schema

2021-03-29 Thread Dmitry Osipenko
Convert Tegra20 Memory Controller binding to schema. Signed-off-by: Dmitry Osipenko --- .../memory-controllers/nvidia,tegra20-mc.txt | 40 -- .../memory-controllers/nvidia,tegra20-mc.yaml | 78 +++ 2 files changed, 78 insertions(+), 40 deletions(-) delete mode 100644

[PATCH v1 6/6] memory: tegra: Print out info-level once per driver probe

2021-03-29 Thread Dmitry Osipenko
Probing of EMC drivers may be deferred and in this case we get duplicated info messages during kernel boot. Use dev_info_once() helper to silence the duplicated messages. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra124-emc.c | 12 ++-- drivers/memory/tegra/tegra20-emc.c

[PATCH v1 2/6] dt-bindings: memory: tegra30: emc: Replace core regulator with power domain

2021-03-29 Thread Dmitry Osipenko
Power domain fits much better than a voltage regulator in regards to a proper hardware description and from a software perspective as well. Hence replace the core regulator with the power domain. Note that this doesn't affect any existing DTBs because we haven't started to use the regulator yet,

[PATCH v1 1/6] dt-bindings: memory: tegra20: emc: Replace core regulator with power domain

2021-03-29 Thread Dmitry Osipenko
Power domain fits much better than a voltage regulator in regards to a proper hardware description and from a software perspective as well. Hence replace the core regulator with the power domain. Note that this doesn't affect any existing DTBs because we haven't started to use the regulator yet,

[PATCH v1 0/6] NVIDIA Tegra memory improvements

2021-03-29 Thread Dmitry Osipenko
Hi, This series replaces the raw voltage regulator with a power domain that will be managing SoC core voltage. The core power domain patches are still under review, but it's clear at this point that this is the way we will implement the DVFS support. The remaining Tegra20 memory bindings are

Re: [PATCH V4 XRT Alveo 04/20] fpga: xrt: xrt-lib platform driver manager

2021-03-29 Thread Tom Rix
bisectablity may be/is  an issue. Moritz, building happens on the last patch, so in theory there will never be a build break needing bisection.  Do we care about the misordering of serveral of these patches? On 3/23/21 10:29 PM, Lizhi Hou wrote: > xrt-lib kernel module infrastructure code to

[syzbot] KMSAN: uninit-value in efuse_one_byte_read

2021-03-29 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:29ad81a1 arch/x86: add missing include to sparsemem.h git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=12d4e126d0 kernel config:

Re: Linux 5.12-rc5

2021-03-29 Thread Guenter Roeck
On 3/29/21 11:05 AM, Linus Torvalds wrote: > On Sun, Mar 28, 2021 at 7:07 PM Guenter Roeck wrote: >> >> This is not really a new problem. I enabled devicetree unit tests >> in the openrisc kernel and was rewarded with a crash. >>

Re: kerneldoc and rust (was [PATCH] kernel-doc: better handle '::' sequences)

2021-03-29 Thread Miguel Ojeda
On Mon, Mar 29, 2021 at 9:34 PM Jonathan Corbet wrote: > > If we're going to talk about incorporating Rust into the doc system, we > should probably include some Rust folks - thus, I'm adding Miguel. Thanks a lot Jonathan for the Cc! I will read and answer the other emails. Cheers, Miguel

Re: [PATCH rfc 1/4] percpu: implement partial chunk depopulation

2021-03-29 Thread Roman Gushchin
On Mon, Mar 29, 2021 at 07:28:49PM +, Dennis Zhou wrote: > On Mon, Mar 29, 2021 at 11:29:22AM -0700, Roman Gushchin wrote: > > On Mon, Mar 29, 2021 at 05:20:55PM +, Dennis Zhou wrote: > > > On Wed, Mar 24, 2021 at 12:06:23PM -0700, Roman Gushchin wrote: > > > > This patch implements

Re: [PATCH] drm/amdgpu: fix an underflow on non-4KB-page systems

2021-03-29 Thread Xi Ruoyao
On 2021-03-29 21:36 +0200, Christian König wrote: > Am 29.03.21 um 21:27 schrieb Xi Ruoyao: > > Hi Christian, > > > > I don't think there is any constraint implemented to ensure `num_entries % > > AMDGPU_GPU_PAGES_IN_CPU_PAGE == 0`.  For example, in `amdgpu_vm_bo_map()`: > > > > /*

[PATCH] mm: gup: remove FOLL_SPLIT

2021-03-29 Thread Yang Shi
Since commit 5a52c9df62b4 ("uprobe: use FOLL_SPLIT_PMD instead of FOLL_SPLIT") and commit ba925fa35057 ("s390/gmap: improve THP splitting") FOLL_SPLIT has not been used anymore. Remove the dead code. Signed-off-by: Yang Shi --- include/linux/mm.h | 1 - mm/gup.c | 28

Re: [PATCH] drm/amdgpu: fix an underflow on non-4KB-page systems

2021-03-29 Thread Christian König
Am 29.03.21 um 21:27 schrieb Xi Ruoyao: Hi Christian, I don't think there is any constraint implemented to ensure `num_entries % AMDGPU_GPU_PAGES_IN_CPU_PAGE == 0`. For example, in `amdgpu_vm_bo_map()`: /* validate the parameters */ if (saddr & AMDGPU_GPU_PAGE_MASK || offset

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-29 Thread Greg KH
On Mon, Mar 29, 2021 at 09:20:32PM +0200, Fawad Lateef wrote: > Hi Greg, > > > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > > Hi > > > > > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > > >

[syzbot] possible deadlock in ip_setsockopt

2021-03-29 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:1b479fb8 drivers/net/wan/hdlc_fr: Fix a double free in pvc.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1072d3d6d0 kernel config: https://syzkaller.appspot.com/x/.config?x=daeff30c2474a60f

Re: [PATCH V2 1/5] dt-bindings: Added the yaml bindings for DCC

2021-03-29 Thread Stephen Boyd
Quoting Souradeep Chowdhury (2021-03-25 01:02:32) > diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,dcc.yaml > b/Documentation/devicetree/bindings/arm/msm/qcom,dcc.yaml > new file mode 100644 > index 000..c6e0a9c > --- /dev/null > +++

Re: kerneldoc and rust (was [PATCH] kernel-doc: better handle '::' sequences)

2021-03-29 Thread Jonathan Corbet
Matthew Wilcox writes: If we're going to talk about incorporating Rust into the doc system, we should probably include some Rust folks - thus, I'm adding Miguel. > On Thu, Mar 25, 2021 at 04:30:32PM -0600, Jonathan Corbet wrote: >> Matthew Wilcox writes: >> >> We did come to the mutual

Re: [PATCH] of/fdt: Improve error checking

2021-03-29 Thread Guenter Roeck
On 3/29/21 11:21 AM, Rob Herring wrote: > On Sat, Mar 27, 2021 at 5:41 PM Guenter Roeck wrote: >> >> If an unaligned pointer is passed to of_fdt_unflatten_tree(), >> populate_node() as called from unflatten_dt_nodes() will fail. >> unflatten_dt_nodes() will return 0 and set *nodepp to NULL. >>

[PATCH v2] sched/debug: Use sched_debug_lock to serialize use of cgroup_path[] only

2021-03-29 Thread Waiman Long
The handling of sysrq keys should normally be done in an user context except when MAGIC_SYSRQ_SERIAL is set and the magic sequence is typed in a serial console. Currently in print_cpu() of kernel/sched/debug.c, sched_debug_lock is taken with interrupt disabled for the whole duration of the calls

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