[PATCH v8 5/6] ARM: stm32: Add a new SOC - STM32H750

2021-03-30 Thread dillon . minfei
From: dillon min The STM32H750 is a Cortex-M7 MCU running at 480MHz and containing 128KBytes internal flash, 1MiB SRAM. Signed-off-by: dillon min --- v8: no changes arch/arm/mach-stm32/board-dt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-stm32/board-dt.c b/arch/arm/mac

Re: [PATCH v1 0/5] mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault/prealloc memory

2021-03-30 Thread David Hildenbrand
On 17.03.21 12:06, David Hildenbrand wrote: Excessive details on MADV_POPULATE_(READ|WRITE) can be found in patch #2. Now accompanied by minor adjustments and selftests/vm tests. RFCv2 -> v1 - "mm: fix variable name in declaration of populate_vma_page_range()" -- Added - "mm/madvise: introduce

Re: [PATCH] power: reset: hisi-reboot: use the correct HiSilicon copyright

2021-03-30 Thread Haojian Zhuang
On 3/30/21 2:38 PM, Hao Fang wrote: > s/Hisilicon/HiSilicon/g. > It should use capital S, according to > https://www.hisilicon.com/en/terms-of-use. > > Signed-off-by: Hao Fang > --- > drivers/power/reset/hisi-reboot.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[PATCH v8 6/6] dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'

2021-03-30 Thread dillon . minfei
From: dillon min To use additional properties 'bluetooth' on serial, need replace false with 'type: object' for 'additionalProperties' to make it as a node, else will run into dtbs_check warnings. 'arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800: 'bluetooth' does not match any of th

Re: [PATCH] ARM: hisi: use the correct HiSilicon copyright

2021-03-30 Thread Haojian Zhuang
On 3/30/21 2:51 PM, Hao Fang wrote: > s/Hisilicon/HiSilicon/ > It should use capital S, according to > https://www.hisilicon.com/en/terms-of-use. > > Signed-off-by: Hao Fang > --- > arch/arm/mach-hisi/hisilicon.c | 4 ++-- > arch/arm/mach-hisi/hotplug.c | 2 +- > arch/arm/mach-hisi/platmcpm

Re: [PATCH 06/11] cgroup: fix -Wzero-length-bounds warnings

2021-03-30 Thread Arnd Bergmann
On Tue, Mar 30, 2021 at 10:41 AM Michal Koutný wrote: > > On Mon, Mar 22, 2021 at 05:02:44PM +0100, Arnd Bergmann > wrote: > > I'm not sure what is expected to happen for such a configuration, > > presumably these functions are never calls in that case. > Yes, the functions you patched would onl

Re: [PATCH v4 4/5] ASoC: dt-bindings: wsa881x: add bindings for port mapping

2021-03-30 Thread Vinod Koul
On 15-03-21, 16:56, Srinivas Kandagatla wrote: > WSA881x SoundWire device ports are statically assigned to master ports > at design time. So add bindings required to specify these mappings! Mark, are you okay for 4, 5 to go thru sdw tree with your ack? The patches lgtm -- ~Vinod

[PATCH] dma: Fix a double free in dma_async_device_register

2021-03-30 Thread Lv Yunlong
In the first list_for_each_entry() macro of dma_async_device_register, it gets the chan from list and calls __dma_async_device_channel_register (..,chan). We can see that chan->local is allocated by alloc_percpu() and it is freed chan->local by free_percpu(chan->local) when __dma_async_device_chann

Re: [PATCH] pinctrl: microchip: fix array overflow

2021-03-30 Thread Linus Walleij
On Sun, Mar 28, 2021 at 7:18 PM Lars Povlsen wrote: > Linus Walleij writes: > > > On Tue, Mar 23, 2021 at 2:10 PM Arnd Bergmann wrote: > > > >> From: Arnd Bergmann > >> > >> Building with 'make W=1' shows an array overflow: > >> > >> drivers/pinctrl/pinctrl-microchip-sgpio.c: In function > >> '

[PATCH v26 00/13] Introduce Data Access MONitor (DAMON)

2021-03-30 Thread sj38 . park
From: SeongJae Park Changes from Previous Version (v25) === - Rebase on latest -mm tree (v5.12-rc4-mmots-2021-03-28-16-40) - Remove unnecessary test code that dependent on record feature - Handle special mappings having no corresponding 'struct page' (Guoju Fang)

[PATCH v26 01/13] mm: Introduce Data Access MONitor (DAMON)

2021-03-30 Thread sj38 . park
From: SeongJae Park DAMON is a data access monitoring framework for the Linux kernel. The core mechanisms of DAMON make it - accurate (the monitoring output is useful enough for DRAM level performance-centric memory management; It might be inappropriate for CPU cache levels, though), -

Re: [PATCH Resend v0 2/6] dt-bindings: pinctrl: mt8195: add binding document

2021-03-30 Thread zhiyong tao
On Mon, 2021-03-29 at 14:21 -0500, Rob Herring wrote: > On Mon, 29 Mar 2021 19:30:59 +0800, Zhiyong Tao wrote: > > The commit adds mt8195 compatible node in binding document. > > > > Signed-off-by: Zhiyong Tao > > --- > > .../bindings/pinctrl/pinctrl-mt8195.yaml | 152 ++ > >

[PATCH v26 02/13] mm/damon/core: Implement region-based sampling

2021-03-30 Thread sj38 . park
From: SeongJae Park To avoid the unbounded increase of the overhead, DAMON groups adjacent pages that are assumed to have the same access frequencies into a region. As long as the assumption (pages in a region have the same access frequencies) is kept, only one page in the region is required to

[PATCH v26 04/13] mm/idle_page_tracking: Make PG_idle reusable

2021-03-30 Thread sj38 . park
From: SeongJae Park PG_idle and PG_young allow the two PTE Accessed bit users, Idle Page Tracking and the reclaim logic concurrently work while don't interfere each other. That is, when they need to clear the Accessed bit, they set PG_young to represent the previous state of the bit, respectivel

[PATCH v26 03/13] mm/damon: Adaptively adjust regions

2021-03-30 Thread sj38 . park
From: SeongJae Park Even somehow the initial monitoring target regions are well constructed to fulfill the assumption (pages in same region have similar access frequencies), the data access pattern can be dynamically changed. This will result in low monitoring quality. To keep the assumption as

[PATCH v26 05/13] mm/damon: Implement primitives for the virtual memory address spaces

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit introduces a reference implementation of the address space specific low level primitives for the virtual address space, so that users of DAMON can easily monitor the data accesses on virtual address spaces of specific processes by simply configuring the implementat

[PATCH v26 06/13] mm/damon: Add a tracepoint

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit adds a tracepoint for DAMON. It traces the monitoring results of each region for each aggregation interval. Using this, DAMON can easily integrated with tracepoints supporting tools such as perf. Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster Revie

[PATCH v26 07/13] mm/damon: Implement a debugfs-based user space interface

2021-03-30 Thread sj38 . park
From: SeongJae Park DAMON is designed to be used by kernel space code such as the memory management subsystems, and therefore it provides only kernel space API. That said, letting the user space control DAMON could provide some benefits to them. For example, it will allow user space to analyze t

[PATCH v26 08/13] mm/damon/dbgfs: Export kdamond pid to the user space

2021-03-30 Thread sj38 . park
From: SeongJae Park For CPU usage accounting, knowing pid of the monitoring thread could be helpful. For example, users could use cpuaccount cgroups with the pid. This commit therefore exports the pid of currently running monitoring thread to the user space via 'kdamond_pid' file in the debugfs

[PATCH v26 09/13] mm/damon/dbgfs: Support multiple contexts

2021-03-30 Thread sj38 . park
From: SeongJae Park In some use cases, users would want to run multiple monitoring context. For example, if a user wants a high precision monitoring and dedicating multiple CPUs for the job is ok, because DAMON creates one monitoring thread per one context, the user can split the monitoring targe

[PATCH v26 10/13] Documentation: Add documents for DAMON

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit adds documents for DAMON under `Documentation/admin-guide/mm/damon/` and `Documentation/vm/damon/`. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/guide.rst | 159 + Documentation/admin-guide/mm/damon/index.rst | 15 ++ Document

[PATCH v26 11/13] mm/damon: Add kunit tests

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit adds kunit based unit tests for the core and the virtual address spaces monitoring primitives of DAMON. Signed-off-by: SeongJae Park Reviewed-by: Brendan Higgins --- mm/damon/Kconfig | 36 + mm/damon/core-test.h | 253

[PATCH v26 12/13] mm/damon: Add user space selftests

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit adds a simple user space tests for DAMON. The tests are using kselftest framework. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/Makefile| 7 ++ .../selftests/damon/_chk_dependency.sh| 28 ++ .../testing/selftests/damon/deb

Re: [PATCH] soundwire: cadence: only prepare attached devices on clock stop

2021-03-30 Thread Vinod Koul
On 23-03-21, 09:37, Bard Liao wrote: > From: Pierre-Louis Bossart > > We sometimes see COMMAND_IGNORED responses during the clock stop > sequence. It turns out we already have information if devices are > present on a link, so we should only prepare those when they > are attached. > > In additio

[PATCH v26 13/13] MAINTAINERS: Update for DAMON

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit updates MAINTAINERS file for DAMON related files. Signed-off-by: SeongJae Park --- MAINTAINERS | 12 1 file changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 59c515f0ab10..978cd8088bdc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH v2 5/6] usb: Iterator for ports

2021-03-30 Thread Heikki Krogerus
On Mon, Mar 29, 2021 at 02:49:46PM -0400, Alan Stern wrote: > On Mon, Mar 29, 2021 at 11:44:25AM +0300, Heikki Krogerus wrote: > > Introducing usb_for_each_port(). It works the same way as > > usb_for_each_dev(), but instead of going through every USB > > device in the system, it walks through the

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-03-30 Thread Greg Kroah-Hartman
On Tue, Mar 30, 2021 at 02:12:04PM +0530, Sandeep Maheswaram wrote: > > On 3/26/2021 7:07 PM, Greg Kroah-Hartman wrote: > > On Wed, Mar 24, 2021 at 12:57:32AM +0530, Sandeep Maheswaram wrote: > > > This patch adds a shutdown callback to USB DWC core driver to ensure that > > > it is properly shutd

Re: [PATCH 3/3] scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()

2021-03-30 Thread Andrea Parri
Hi Olaf, On Mon, Mar 29, 2021 at 06:37:21PM +0200, Olaf Hering wrote: > On Thu, Dec 17, Andrea Parri (Microsoft) wrote: > > > Check that the packet is of the expected size at least, don't copy data > > past the packet. > > > + if (hv_pkt_datalen(desc) < sizeof(struct vstor_packet) - >

was fair pay: Connecting AvSource to XM.

2021-03-30 Thread Ywe Cærlyn
It seems a logical progression is to connect this project to XM culture. Suggesting also LXM file format. Potentially OS and Tracker. Serenity, Ywe https://www.youtube.com/channel/UCBzmdh-pG3_OEqNRz5Owtmw

Re: [PATCH 2/6] dt-bindings: pinctrl: mt8195: add binding document

2021-03-30 Thread zhiyong tao
On Mon, 2021-03-29 at 08:58 -0500, Rob Herring wrote: > On Mon, Mar 29, 2021 at 02:50:43PM +0800, Zhiyong Tao wrote: > > The commit adds mt8195 compatible node in binding document. > > > > Signed-off-by: Zhiyong Tao > > --- > > .../bindings/pinctrl/pinctrl-mt8195.yaml | 152

Re: [RFC] clk: add boot clock support

2021-03-30 Thread Sebastian Reichel
Hi, On Mon, Mar 29, 2021 at 05:36:11PM -0700, Saravana Kannan wrote: > On Mon, Mar 29, 2021 at 2:53 PM Sebastian Reichel > wrote: > > 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

Re: [PATCH v2 0/2] soc: mediatek: Prepare MMSYS for DDP routing using tables

2021-03-30 Thread Matthias Brugger
On 17/03/2021 19:17, Enric Balletbo i Serra wrote: > Dear all, > > This is the second version of this series intended to prepare the > mtk-mmsys driver to allow different DDP (Data Display Path) routing > tables per SoC. Note that the series has been tested only on MT8173 platform, > for MT2701

Re: [PATCH v2] kernel/resource: Fix locking in request_free_mem_region

2021-03-30 Thread David Hildenbrand
On 29.03.21 03:37, Alistair Popple wrote: On Friday, 26 March 2021 7:57:51 PM AEDT David Hildenbrand wrote: On 26.03.21 02:20, Alistair Popple wrote: request_free_mem_region() is used to find an empty range of physical addresses for hotplugging ZONE_DEVICE memory. It does this by iterating over

[PATCH v2 0/4] Add peripheral support to imx8mq-nitrogen board

2021-03-30 Thread Adrien Grassein
Hi, this patch set aims is to add support of multiple peripheral of the Boundary8M board: - USB Host; - USB device; - DB_DSIHD sub board for MIPI-DSI to HDMI output (via lt8912b chip). Updates in v2: - Use a GPIO hog to handle the USB HOST reset line; - Remove useless GPIO hog for lt89

[PATCH v2 3/4] arm64: dts: imx8mq-nitrogen: add lt8912 MIPI-DSI to HDMI

2021-03-30 Thread Adrien Grassein
Add support of the lt8912b in the DTB. This adds the support of the DB_DSIHD daugther board from Boundary Devices. Signed-off-by: Adrien Grassein --- .../boot/dts/freescale/imx8mq-nitrogen.dts| 128 ++ 1 file changed, 128 insertions(+) diff --git a/arch/arm64/boot/dts/frees

[PATCH v2 2/4] arm64: dts: imx8mq-nitrogen: add USB HOST support

2021-03-30 Thread Adrien Grassein
Add the description for the USB host port. This port is linked to a resettable USB HUB so handle this reset signal with a GPIO hog. Signed-off-by: Adrien Grassein --- .../boot/dts/freescale/imx8mq-nitrogen.dts| 30 +++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64

[PATCH v2 1/4] arm64: dts: imx8mq-nitrogen: add USB OTG support

2021-03-30 Thread Adrien Grassein
Add the description for the USB OTG port. The OTG port uses a dedicated regulator for vbus. Signed-off-by: Adrien Grassein --- .../boot/dts/freescale/imx8mq-nitrogen.dts| 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts

[PATCH v2 4/4] arm64: defconfig: Enable LT8912B DRM bridge driver

2021-03-30 Thread Adrien Grassein
This driver is used by the Nitrogen8 SBC. Signed-off-by: Adrien Grassein --- arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts | 8 arch/arm64/configs/defconfig | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq

Re: [PATCH 2/2] soc: mediatek: mmsys: Add support for MT8167 SoC

2021-03-30 Thread Matthias Brugger
Hi Fabien, Sorry for taking so long on that patch. Generally the patch looks good, but I just merged a small change how we add new SoC to the driver. Please see comments below. On 27/10/2020 17:06, Fabien Parent wrote: > Add routing table for DSI on MT8167 SoC. The registers are mostly > incompat

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

2021-03-30 Thread Petr Mladek
On Sun 2021-03-28 20:52:36, Waiman Long wrote: > It was found that the following circular locking dependency warning > could happen in some systems: > > [ 218.097878] == > [ 218.097879] WARNING: possible circular locking dependency detected > [

Re: [PATCH] clk: imx: reference preceded by free

2021-03-30 Thread Abel Vesa
On 21-03-23 11:10:34, Jian Dong wrote: > From: Jian Dong > > when register failed, clk will be freed, it will generate dangling pointer > problem in later reference. it should return directly. > > Signed-off-by: Jian Dong Applied, thanks. > --- > drivers/clk/imx/clk-lpcg-scu.c | 1 + > dri

Re: [PATCH v14 06/13] iommu/smmuv3: Allow stage 1 invalidation with unmanaged ASIDs

2021-03-30 Thread Zenghui Yu
On 2021/2/24 4:56, Eric Auger wrote: @@ -1936,7 +1950,12 @@ static void arm_smmu_tlb_inv_range_domain(unsigned long iova, size_t size, }, }; - if (smmu_domain->stage == ARM_SMMU_DOMAIN_S1) { + if (ext_asid >= 0) { /* guest stage 1 invalidation */ +

Re: RFC: dt-binding: media: document ON Semi AR0521 sensor bindings

2021-03-30 Thread Krzysztof Hałasa
Laurent Pinchart writes: >> + reg: >> +description: I2C bus address of the sensor device > > You can drop this, it's implicit for I2C devices. Do you mean just dropping these two lines (and MaxItems: 1), and leaving "reg" in "required" and in the example? E.g.: ... required: - compatible

Re: [PATCH] soc: mediatek: mmsys: Add mt8183 mmsys routing table

2021-03-30 Thread Matthias Brugger
Hi Hsin-Yi, Patch looks good but please use the new, just merged format, see [1] Please put the defines and the routing table in a new header file mt8183-mmsys.h Thanks Matthias [1] https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.12-next/soc On 23/03/2021 06:51,

Re: [PATCH] riscv: add do_page_fault and do_trap_break into the kprobes blacklist

2021-03-30 Thread Masami Hiramatsu
On Tue, 30 Mar 2021 02:12:26 +0800 Jisheng Zhang wrote: > From: Jisheng Zhang > > These two functions are used to implement the kprobes feature so they > can't be kprobed. > Looks good to me. Reviewed-by: Masami Hiramatsu Thanks, > Fixes: c22b0bcb1dd0 ("riscv: Add kprobes supported") > Si

Re: [PATCH 00/10] platform/x86: toshiba_acpi: move acpi add/remove to device-managed routines

2021-03-30 Thread Alexandru Ardelean
On Tue, Mar 30, 2021 at 11:21 AM Hans de Goede wrote: > > Hi Alexadru, Jonathan, > > On 3/24/21 1:55 PM, Alexandru Ardelean wrote: > > This changeset tries to do a conversion of the toshiba_acpi driver to use > > only device-managed routines. The driver registers as a singleton, so no > > more tha

Re: [PATCH] samples/kprobes: Add riscv support

2021-03-30 Thread Masami Hiramatsu
On Tue, 30 Mar 2021 02:04:16 +0800 Jisheng Zhang wrote: > From: Jisheng Zhang > > Add riscv specific info dump in both handler_pre() and handler_post(). > Looks good to me. Acked-by: Masami Hiramatsu Thanks! > Signed-off-by: Jisheng Zhang > --- > samples/kprobes/kprobe_example.c | 8 +++

Re: [PATCH v26 07/13] mm/damon: Implement a debugfs-based user space interface

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 09:05:31AM +, sj38.p...@gmail.com wrote: > +static int __init __damon_dbgfs_init(void) > +{ > + struct dentry *dbgfs_root; > + const char * const file_names[] = {"monitor_on"}; > + const struct file_operations *fops[] = {&monitor_on_fops}; > + int i; > +

Re: [PATCH v14 13/13] iommu/smmuv3: Accept configs with more than one context descriptor

2021-03-30 Thread Zenghui Yu
Hi Eric, On 2021/2/24 4:56, Eric Auger wrote: In preparation for vSVA, let's accept userspace provided configs with more than one CD. We check the max CD against the host iommu capability and also the format (linear versus 2 level). Signed-off-by: Eric Auger Signed-off-by: Shameer Kolothum --

Re: [PATCH v2 3/5] crypto: hisilicon/sgl - add some dfx logs

2021-03-30 Thread yekai(A)
However, I think this log can be used to quickly locate the function or module if dma alloc failed. On 2021/3/30 15:56, Joe Perches wrote: On Tue, 2021-03-30 at 15:39 +0800, Kai Ye wrote: Add some dfx logs in some abnormal exit situations. [] diff --git a/drivers/crypto/hisilicon/sgl.c b/dr

[PATCH V2 0/8] remoteproc: imx_rproc: support i.MX7ULP/8MN/8MP

2021-03-30 Thread peng . fan
From: Peng Fan V2: Patch 1/8, use fsl as vendor, typo fix Because patchset [1] has v2 version, patch 5,6,7,8 are adapted that change. This patchset is to support i.MX7ULP/8MN/8MP, also includes a patch to parse imx,auto-boot This patchset depends on [1] [1] https://patchwork.kernel.org/proje

Re: [PATCH v2 5/6] software node: Introduce SOFTWARE_NODE_REFERENCE() helper macro

2021-03-30 Thread Andy Shevchenko
On Mon, Mar 29, 2021 at 11:45:29PM +0100, Daniel Scally wrote: > On 29/03/2021 16:12, Andy Shevchenko wrote: > > This is useful to assign software node reference with arguments > > in a common way. Moreover, we have already couple of users that > > may be converted. And by the fact, one of them is

[PATCH V2 1/8] dt-bindings: remoteproc: imx_rproc: add fsl,auto-boot property

2021-03-30 Thread peng . fan
From: Peng Fan Add an optional property "fsl,auto-boot" to indicate remote processor auto boot. Signed-off-by: Peng Fan --- .../devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx

[PATCH V2 2/8] dt-bindings: remoteproc: imx_rproc: add i.MX7ULP support

2021-03-30 Thread peng . fan
From: Peng Fan Add i.MX7ULP compatible. We use i.MX7ULP dual mode and in which case i.MX7ULP A7 core runs under control of M4 core, M4 core starts by ROM and powers most serivces used by A7 core, so A7 core has no power to start and stop M4 core. So clocks and syscon are not required. Signed-of

Re: [PATCH 00/10] platform/x86: toshiba_acpi: move acpi add/remove to device-managed routines

2021-03-30 Thread Hans de Goede
Hi, On 3/30/21 11:22 AM, Alexandru Ardelean wrote: > On Tue, Mar 30, 2021 at 11:21 AM Hans de Goede wrote: >> >> Hi Alexadru, Jonathan, >> >> On 3/24/21 1:55 PM, Alexandru Ardelean wrote: >>> This changeset tries to do a conversion of the toshiba_acpi driver to use >>> only device-managed routine

[PATCH V2 5/8] remoteproc: imx_rproc: parse fsl,auto-boot

2021-03-30 Thread peng . fan
From: Peng Fan Parse fsl,auto-boot to indicate whether need remoteproc framework auto boot or not. When remote processor is booted before Linux Kernel up, do not parse fsl,auto-boot. So add an entry to store the working mode of remote processor. Currently only IMX_RPROC_NORMAL, IMX_RPROC_EARLY_B

[PATCH V2 4/8] remoteproc: imx_rproc: make clk optional

2021-03-30 Thread peng . fan
From: Peng Fan To i.MX7ULP, M4 is the master to control everything, so it not need clk from A7. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remo

[PATCH V2 3/8] dt-bindings: remoteproc: imx_rproc: support i.MX8MN/P

2021-03-30 Thread peng . fan
From: Peng Fan Add i.MX8MN/P remote processor(Cortex-M7) compatible string Signed-off-by: Peng Fan Acked-by: Rob Herring --- Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,i

[PATCH V2 7/8] remoteproc: imx_rproc: support i.MX7ULP

2021-03-30 Thread peng . fan
From: Peng Fan i.MX7ULP A7 core runs under control of M4 core, M4 core starts by ROM and powers most serivces used by A7 core, so A7 core has no power to start and stop M4 core. Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 25 ++--- 1 file changed, 22 insert

[PATCH V2 6/8] remoteproc: imx_rproc: initial support for mutilple start/stop method

2021-03-30 Thread peng . fan
From: Peng Fan Add three methods IMX_RPROC_NONE(no need start/stop), IMX_RPROC_MMIO(start/stop through mmio) and IMX_RPROC_SMC(start/stop through ARM SMCCC). The current SoCs supported are all using IMX_RPROC_MMIO, add a restrict in probe that only SoCs using IMX_RPROC_MMIO needs syscon regmap t

Re: [PATCH resend 5/8] sched: cgroup cookie API for core scheduling

2021-03-30 Thread Peter Zijlstra
On Wed, Mar 24, 2021 at 05:40:17PM -0400, Joel Fernandes (Google) wrote: > From: Josh Don > > This adds the API to set/get the cookie for a given cgroup. This > interface lives at cgroup/cpu.core_tag. > > The cgroup interface can be used to toggle a unique cookie value for all > descendent tasks

[PATCH V2 8/8] remoteproc: imx_rproc: support i.MX8MN/P

2021-03-30 Thread peng . fan
From: Peng Fan Add i.MX8MN/P remote processor(Cortex-M7) support, we are using ARM SMCCC to start/stop M core, not using regmap interface. Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 89 +++--- 1 file changed, 82 insertions(+), 7 deletions(-) diff

Re: [PATCH -next] misc/pvpanic: fix return value check in pvpanic_pci_probe()

2021-03-30 Thread Andy Shevchenko
On Tue, Mar 30, 2021 at 09:36:59AM +0800, Qiheng Lin wrote: > In case of error, the function pci_iomap() returns NULL pointer > not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. Error path there is broken completely, this is only one place you fix, but

Re: [PATCH] mm/ksm: remove unused parameter from remove_trailing_rmap_items()

2021-03-30 Thread David Hildenbrand
On 30.03.21 09:08, Chengyang Fan wrote: Since commit 6514d511dbe5 ("ksm: singly-linked rmap_list") was merged, remove_trailing_rmap_items() doesn't use the 'mm_slot' parameter. So remove it, and update caller accordingly. Signed-off-by: Chengyang Fan --- mm/ksm.c | 7 +++ 1 file changed,

Re: [PATCH 1/6] dt-bindings: PCI: ti,am65: Add PCIe host mode dt-bindings for TI's AM65 SoC

2021-03-30 Thread Kishon Vijay Abraham I
Hi Rob, On 26/03/21 5:08 am, Rob Herring wrote: > On Thu, Mar 25, 2021 at 02:30:21PM +0530, Kishon Vijay Abraham I wrote: >> Add PCIe host mode dt-bindings for TI's AM65 SoC. >> >> Signed-off-by: Kishon Vijay Abraham I >> --- >> .../bindings/pci/ti,am65-pci-host.yaml| 111 +++

Re: [PATCH resend 5/8] sched: cgroup cookie API for core scheduling

2021-03-30 Thread Peter Zijlstra
*sigh*, +tj On Tue, Mar 30, 2021 at 11:23:10AM +0200, Peter Zijlstra wrote: > On Wed, Mar 24, 2021 at 05:40:17PM -0400, Joel Fernandes (Google) wrote: > > From: Josh Don > > > > This adds the API to set/get the cookie for a given cgroup. This > > interface lives at cgroup/cpu.core_tag. > > >

Re: [PATCH bpf-next] bpf: arm64: Redefine MOV consistent with arch insn

2021-03-30 Thread Will Deacon
On Tue, Mar 30, 2021 at 03:42:35PM +0800, Jianlin Lv wrote: > A64_MOV is currently mapped to Add Instruction. Architecturally MOV > (register) is an alias of ORR (shifted register) and MOV (to or from SP) > is an alias of ADD (immediate). > This patch redefines A64_MOV and uses existing functionali

[PATCH] writeback: fix obtain a reference to a freeing memcg css

2021-03-30 Thread Muchun Song
The caller of wb_get_create() should pin the memcg, because wb_get_create() relies on this guarantee. The rcu read lock only can guarantee that the memcg css returned by css_from_id() cannot be released, but the reference of the memcg can be zero. Fix it by holding a reference to the css before cal

Re: [PATCH] riscv: keep interrupts disabled for BREAKPOINT exception

2021-03-30 Thread Masami Hiramatsu
Hi Jisheng, On Tue, 30 Mar 2021 02:16:24 +0800 Jisheng Zhang wrote: > From: Jisheng Zhang > > Current riscv's kprobe handlers are run with both preemption and > interrupt enabled, this violates kprobe requirements. Fix this issue > by keeping interrupts disabled for BREAKPOINT exception. Not

Re: [PATCH 1/2] iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c.

2021-03-30 Thread Will Deacon
On Mon, Mar 29, 2021 at 09:02:50PM -0700, Rob Clark wrote: > On Mon, Mar 29, 2021 at 7:47 AM Will Deacon wrote: > > > > On Fri, Mar 26, 2021 at 04:13:02PM -0700, Eric Anholt wrote: > > > db820c wants to use the qcom smmu path to get HUPCF set (which keeps > > > the GPU from wedging and then someti

Re: [PATCH v1 1/7] Add Driver for SUNIX PCI(e) I/O expansion board

2021-03-30 Thread Lee Jones
On Tue, 30 Mar 2021, Moriis Ku wrote: > From: Morris A well worded, forthcoming commit message is required. > Signed-off-by: Morris > --- > spi_pack.c | 1506 > 1 file changed, 1506 insertions(+) > create mode 100644 spi_pack.c Please re-

[tip:irq/core] BUILD SUCCESS WITH WARNING e6d46eded43dacf6370a7ae70f927ef4692cfcab

2021-03-30 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core branch HEAD: e6d46eded43dacf6370a7ae70f927ef4692cfcab genirq/irq_sim: Shrink devm_irq_domain_create_sim() possible Warning in current branch: kernel/irq/irq_sim.c:246 devm_irq_domain_create_sim() warn: passing ze

Re: [RFC PATCH 0/4] mtd: core: OTP nvmem provider support

2021-03-30 Thread Srinivas Kandagatla
Hi Michael, On 22/03/2021 18:19, Michael Walle wrote: The goal is to fetch a (base) MAC address from the OTP region of a SPI NOR flash. This is the first part, where I try to add the nvmem provider support to the MTD core. I'm not sure about the device tree bindings. Consider the following two

Re: [PATCH v6 09/14] drm/bridge: imx: Add i.MX8qxp pixel link to DPI support

2021-03-30 Thread Robert Foss
Hey Liu, checkpatch --strict had some complaints, with those fixed feel free to add my r-b. Reviewed-by: Robert Foss On Wed, 17 Mar 2021 at 04:57, Liu Ying wrote: > > This patch adds a drm bridge driver for i.MX8qxp pixel link to display > pixel interface(PXL2DPI). The PXL2DPI interfaces the

Re: [PATCH] drm/mediatek: Add missing MODULE_DEVICE_TABLE()

2021-03-30 Thread Enric Balletbo i Serra
Hi, On 3/2/21 12:07, Enric Balletbo i Serra wrote: > From: Boris Brezillon > > This patch adds the missing MODULE_DEVICE_TABLE definitions on different > Mediatek drivers which generates correct modalias for automatic loading > when these drivers are compiled as an external module. > > Signed-o

Re: [PATCH v1] ovl: Fix leaked dentry

2021-03-30 Thread Mickaël Salaün
On 29/03/2021 18:49, Mickaël Salaün wrote: > From: Mickaël Salaün > > Since commit 6815f479ca90 ("ovl: use only uppermetacopy state in > ovl_lookup()"), overlayfs doesn't put temporary dentry when there is a > metacopy error, which leads to dentry leaks when shutting down the > related superblo

Re: [PATCH v2 2/3] drm/mediatek: Don't support hdmi connector creation

2021-03-30 Thread Dafna Hirschfeld
Hi, On 30.03.21 02:08, Laurent Pinchart wrote: Hi Dafna, Thank you for the patch. On Mon, Mar 29, 2021 at 05:36:31PM +0200, Dafna Hirschfeld wrote: commit f01195148967 ("drm/mediatek: mtk_dpi: Create connector for bridges") broke the display support for elm device since mtk_dpi calls drm_brid

Re: [PATCH] sched/fair: use signed long when compute energy delta in eas

2021-03-30 Thread Quentin Perret
Hi, On Tuesday 30 Mar 2021 at 13:21:54 (+0800), Xuewen Yan wrote: > From: Xuewen Yan > > now the energy delta compute as follow: > > base_energy_pd = compute_energy(p, -1, pd); > --->Traverse all CPUs in pd > --->em_pd_energy() > -

Re: [PATCH v6 10/14] drm/bridge: imx: Add LDB driver helper support

2021-03-30 Thread Robert Foss
Hey Liu, checkpatch --strict is listing some nits for this patch, with those fixed feel free to add my r-b. Reviewed-by: Robert Foss On Wed, 17 Mar 2021 at 04:57, Liu Ying wrote: > > This patch adds a helper to support LDB drm bridge drivers for > i.MX SoCs. Helper functions supported by this

Re: [PATCH v6 14/14] MAINTAINERS: add maintainer for DRM bridge drivers for i.MX SoCs

2021-03-30 Thread Robert Foss
Hey Liu, Reviewed-by: Robert Foss On Wed, 17 Mar 2021 at 04:57, Liu Ying wrote: > > Add myself as the maintainer of DRM bridge drivers for i.MX SoCs. > > Signed-off-by: Liu Ying > --- > v5->v6: > * No change. > > v4->v5: > * No change. > > v3->v4: > * No change. > > v2->v3: > * No change. > >

Re: [PATCH v3 2/2] riscv: Cleanup KASAN_VMALLOC support

2021-03-30 Thread Geert Uytterhoeven
Hi Palmer, On Tue, Mar 30, 2021 at 7:08 AM Palmer Dabbelt wrote: > On Sat, 13 Mar 2021 00:45:05 PST (-0800), a...@ghiti.fr wrote: > > When KASAN vmalloc region is populated, there is no userspace process and > > the page table in use is swapper_pg_dir, so there is no need to read > > SATP. Then w

Re: [RFC PATCH 0/4] mtd: core: OTP nvmem provider support

2021-03-30 Thread Michael Walle
Hi Srinivas, Am 2021-03-30 11:42, schrieb Srinivas Kandagatla: On 22/03/2021 18:19, Michael Walle wrote: The goal is to fetch a (base) MAC address from the OTP region of a SPI NOR flash. This is the first part, where I try to add the nvmem provider support to the MTD core. I'm not sure abo

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

2021-03-30 Thread Shreeya Patel
On 30/03/21 7:23 am, Eric Biggers wrote: On Tue, Mar 30, 2021 at 02:12:38AM +0530, Shreeya Patel wrote: 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

Re: [PATCH v3] i2c: designware: Add driver support for AMD NAVI GPU

2021-03-30 Thread Andy Shevchenko
On Tue, Mar 30, 2021 at 12:17:15PM +0530, Sanket Goswami wrote: Thanks for an update, my comments below. > The Latest AMD NAVI GPU card has an integrated Type-C controller and > Designware I2C with PCI Interface. The Type-C controller can be > accessed over I2C. Entire controller? You probably h

[PATCH] ppp: deflate: Remove useless call "zlib_inflateEnd"

2021-03-30 Thread Jiapeng Chong
Fix the following whitescan warning: Calling "zlib_inflateEnd(&state->strm)" is only useful for its return value, which is ignored. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/net/ppp/ppp_deflate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ppp/ppp_def

Re: [PATCH] soc: mediatek: pm-domains: Fix missing error code in scpsys_add_subdomain()

2021-03-30 Thread Matthias Brugger
On 03/03/2021 10:10, Enric Balletbo i Serra wrote: > Adding one power domain in scpsys_add_subdomain is missing to assign an > error code when it fails. Fix that assigning an error code to 'ret', > this also fixes the follwowing smatch warning. > > drivers/soc/mediatek/mtk-pm-domains.c:492 sc

Re: [PATCH][next] mm/vmalloc: Fix read of pointer area after it has been free'd

2021-03-30 Thread Dan Carpenter
On Mon, Mar 29, 2021 at 06:14:34PM +0100, Matthew Wilcox wrote: > On Mon, Mar 29, 2021 at 06:07:30PM +0100, Colin King wrote: > > From: Colin Ian King > > > > Currently the memory pointed to by area is being freed by the > > free_vm_area call and then area->nr_pages is referencing the > > free'd

Re: [PATCH v6 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-30 Thread Robert Foss
Hey Liu, checkpatch --strict lists some nit and a warning. With those fixed feel free to add my r-b. On Wed, 17 Mar 2021 at 04:57, Liu Ying wrote: > > This patch adds a drm bridge driver for i.MX8qxp LVDS display bridge(LDB) > which is officially named as pixel mapper. The LDB has two channels.

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-03-30 Thread Sai Prakash Ranjan
On 2021-03-30 14:37, Greg Kroah-Hartman wrote: On Tue, Mar 30, 2021 at 02:12:04PM +0530, Sandeep Maheswaram wrote: On 3/26/2021 7:07 PM, Greg Kroah-Hartman wrote: > On Wed, Mar 24, 2021 at 12:57:32AM +0530, Sandeep Maheswaram wrote: > > This patch adds a shutdown callback to USB DWC core driver

Re: [PATCH 3/4] phy: cadence-torrent: Do not configure SERDES if it's already configured

2021-03-30 Thread Kishon Vijay Abraham I
Hi Swapnil, On 18/03/21 3:25 pm, Swapnil Kashinath Jakhade wrote: > > >> -Original Message- >> From: Kishon Vijay Abraham I >> Sent: Wednesday, March 10, 2021 9:25 PM >> To: Kishon Vijay Abraham I ; Vinod Koul >> ; Rob Herring ; Philipp Zabel >> ; Swapnil Kashinath Jakhade >> >> Cc: li

Re: RFC: dt-binding: media: document ON Semi AR0521 sensor bindings

2021-03-30 Thread Laurent Pinchart
Hi Krzysztof, On Tue, Mar 30, 2021 at 11:17:54AM +0200, Krzysztof Hałasa wrote: > Laurent Pinchart writes: > > >> + reg: > >> +description: I2C bus address of the sensor device > > > > You can drop this, it's implicit for I2C devices. > > Do you mean just dropping these two lines (and MaxI

RE: [PATCH v18 6/7] KVM: arm64: Add support for the KVM PTP service

2021-03-30 Thread Jianyong Wu
Ping ... Any comments? -Original Message- From: Marc Zyngier Sent: Monday, February 8, 2021 9:40 PM To: net...@vger.kernel.org; yangbo...@nxp.com; john.stu...@linaro.org; t...@linutronix.de; pbonz...@redhat.com; sea...@google.com; richardcoch...@gmail.com; Mark Rutland ; w...@kernel.or

Re: [PATCH v6 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-30 Thread Robert Foss
Hey Liu, checkpatch --strict lists some nits and a warning. I think the kconfig warning can be ignored. With the rest fixed, feel free to add my r-b. Reviewed-by: Robert Foss On Wed, 17 Mar 2021 at 04:57, Liu Ying wrote: > > This patch adds a drm bridge driver for i.MX8qxp LVDS display bridge(

[tip:irq/core 2/2] kernel/irq/irq_sim.c:246 devm_irq_domain_create_sim() warn: passing zero to 'ERR_PTR'

2021-03-30 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core head: e6d46eded43dacf6370a7ae70f927ef4692cfcab commit: e6d46eded43dacf6370a7ae70f927ef4692cfcab [2/2] genirq/irq_sim: Shrink devm_irq_domain_create_sim() config: x86_64-randconfig-m001-20210328 (attached as .config) com

Re: [PATCH v26 07/13] mm/damon: Implement a debugfs-based user space interface

2021-03-30 Thread SeongJae Park
From: SeongJae Park On Tue, 30 Mar 2021 11:22:45 +0200 Greg KH wrote: > On Tue, Mar 30, 2021 at 09:05:31AM +, sj38.p...@gmail.com wrote: > > +static int __init __damon_dbgfs_init(void) > > +{ > > + struct dentry *dbgfs_root; > > + const char * const file_names[] = {"monitor_on"}; > > +

Re: [PATCH] dt-bindings: arm64: dts: mediatek: Add mt8516-pumpkin board

2021-03-30 Thread Matthias Brugger
On 23/02/2021 23:36, Fabien Parent wrote: > Add binding documentation for the MT8516 Pumpkin board. > > Signed-off-by: Fabien Parent > --- Applied to v5.12-next/dts64 Thanks! > Documentation/devicetree/bindings/arm/mediatek.yaml | 4 > 1 file changed, 4 insertions(+) > > diff --git a

[PATCH] ftrace: Modify parameter transfer type

2021-03-30 Thread Jiapeng Chong
Fix the following whitescan warning: "order" is passed to a parameter that cannot be negative. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- kernel/trace/ftrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index

Re: [PATCH v13 1/2] scsi: ufs: Enable power management for wlun

2021-03-30 Thread Adrian Hunter
On 25/03/21 3:39 am, Asutosh Das wrote: > During runtime-suspend of ufs host, the scsi devices are > already suspended and so are the queues associated with them. > But the ufs host sends SSU (START_STOP_UNIT) to wlun > during its runtime-suspend. > During the process blk_queue_enter checks if the

Re: [PATCH v6 13/14] drm/bridge: imx: Add LDB support for i.MX8qm

2021-03-30 Thread Robert Foss
Hey Liu, checkpatch --strict lists some nits for this patch with those and the below warning fixed, feel free to add my r-b. On Wed, 17 Mar 2021 at 04:57, Liu Ying wrote: > > This patch adds a drm bridge driver for i.MX8qm LVDS display bridge(LDB) > which is officially named as pixel mapper. Th

RE: [PATCH v18 7/7] ptp: arm/arm64: Enable ptp_kvm for arm/arm64

2021-03-30 Thread Jianyong Wu
Ping ... -Original Message- From: Marc Zyngier Sent: Monday, February 8, 2021 9:40 PM To: net...@vger.kernel.org; yangbo...@nxp.com; john.stu...@linaro.org; t...@linutronix.de; pbonz...@redhat.com; sea...@google.com; richardcoch...@gmail.com; Mark Rutland ; w...@kernel.org; Suzuki Pou

  1   2   3   4   5   6   7   8   9   10   >