h8300-linux-ld: section .softirqentry.text LMA overlaps section .init.data LMA

2021-02-17 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f40ddce88593482919761f74910f42f4b84c004b commit: a8ea8bdd9df92a0e5db5b43900abb7a288b8a53e lib/mpi: Extend the MPI library date: 5 months ago config: h8300-randconfig-r031-20210217 (attached as .config

arch/mips/include/asm/mach-rc32434/rb.h:15:14: error: expected identifier before '(' token

2021-02-17 Thread kernel test robot
Hi Mauro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f40ddce88593482919761f74910f42f4b84c004b commit: 5c57ae64e8bccc693a96b4bbd9b20cc5890aeb69 media: i2c/Kconfig: use sub-menus for I2C support date: 10

Re: [PATCH V3 00/14] arm64: coresight: Enable ETE and TRBE

2021-02-17 Thread Anshuman Khandual
On 2/2/21 12:14 AM, Mathieu Poirier wrote: > On Wed, Jan 27, 2021 at 02:25:24PM +0530, Anshuman Khandual wrote: >> This series enables future IP trace features Embedded Trace Extension (ETE) >> and Trace Buffer Extension (TRBE). This series depends on the ETM system >> register instruction

Re: [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss

2021-02-17 Thread Vinod Koul
On 17-02-21, 16:34, Aníbal Limón wrote: > From: Bjorn Andersson > > Enable the mpss remoteproc node and specify the firmware-name for this > and the wcnss remoteproc on the Dragonboard 410c. > > Link: > https://lore.kernel.org/r/20200108055735.660475-1-bjorn.anders...@linaro.org >

Re: [RESEND PATCH] MAINTAINERS: update thermal CPU cooling section

2021-02-17 Thread Viresh Kumar
On 17-02-21, 11:59, Lukasz Luba wrote: > Update maintainers responsible for CPU cooling on Arm side. > > Signed-off-by: Lukasz Luba > --- > Hi Daniel, > > Please ignore the previous email and that this change with 'R'. > Javi will ack it later. > > Regards, > Lukasz > > MAINTAINERS | 2 +- >

Re: [PATCH v14 04/11] x86: kdump: move xen_pv_domain() check and insert_resource() to setup_arch()

2021-02-17 Thread Baoquan He
On 01/30/21 at 03:10pm, Chen Zhou wrote: > We will make the functions reserve_crashkernel() as generic, the > xen_pv_domain() check in reserve_crashkernel() is relevant only to > x86, the same as insert_resource() in reserve_crashkernel[_low](). > So move xen_pv_domain() check and

Re: [PATCH] drm/msm/dp: add support of HBR3 link rate

2021-02-17 Thread Vinod Koul
On 17-02-21, 09:36, Stephen Boyd wrote: > Quoting Kuogee Hsieh (2021-02-17 08:58:42) > > Add hbr3_hbr2 voltage and pre-emphasis swing table to support > > HBR3 link rate > > > > Signed-off-by: Kuogee Hsieh > > --- > > drivers/gpu/drm/msm/dp/dp_panel.c | 4 > >

[PATCH 12/14] lib: add fast path for find_first_*_bit() and find_last_bit()

2021-02-17 Thread Yury Norov
Similarly to bitmap functions, users would benefit if we'll handle a case of small-size bitmaps that fit into a single word. While here, move the find_last_bit() declaration to bitops/find.h where other find_*_bit() functions sit. Signed-off-by: Yury Norov --- include/asm-generic/bitops/find.h

[PATCH 13/14] tools: sync lib/find_bit implementation

2021-02-17 Thread Yury Norov
Add fast paths to find_*_bit() functions as per kernel implementation. Signed-off-by: Yury Norov --- tools/include/asm-generic/bitops/find.h | 58 +++-- tools/lib/find_bit.c| 4 +- 2 files changed, 57 insertions(+), 5 deletions(-) diff --git

[PATCH 14/14] MAINTAINERS: Add entry for the bitmap API

2021-02-17 Thread Yury Norov
Add myself as maintainer for bitmap API. I'm an author of current implementation of lib/find_bit and an active contributor to lib/bitmap. It was spotted that there's no maintainer for bitmap API. I'm willing to maintain it. Signed-off-by: Yury Norov --- MAINTAINERS | 14 ++ 1 file

[PATCH 11/14] lib: add fast path for find_next_*_bit()

2021-02-17 Thread Yury Norov
Similarly to bitmap functions, find_next_*_bit() users will benefit if we'll handle a case of bitmaps that fit into a single word. In the very best case, the compiler may replace a function call with a few instructions. This is the quite typical find_next_bit() user: unsigned int

[PATCH 10/14] tools: sync find_next_bit implementation

2021-02-17 Thread Yury Norov
Sync the implementation with recent kernel changes. Signed-off-by: Yury Norov --- tools/include/asm-generic/bitops/find.h | 27 ++--- tools/lib/find_bit.c| 52 ++--- 2 files changed, 42 insertions(+), 37 deletions(-) diff --git

[PATCH 09/14] lib: inline _find_next_bit() wrappers

2021-02-17 Thread Yury Norov
lib/find_bit.c declares five single-line wrappers for _find_next_bit(). We may turn those wrappers to inline functions. It eliminates unneeded function calls and opens room for compile-time optimizations. Signed-off-by: Yury Norov --- include/asm-generic/bitops/find.h | 28

[PATCH 08/14] lib/Kconfig: introduce FAST_PATH option

2021-02-17 Thread Yury Norov
. The effect of this option on my arm64 next-20210217 build is: Before: Sections: Idx Name Size VMA LMA File off Algn 0 .head.text0001 80001000 80001000 0001 2**16 CONTENTS, ALLOC

[PATCH 07/14] tools: introduce SMALL_CONST() macro

2021-02-17 Thread Yury Norov
Many algorithms become simpler if they are passed with relatively small input values. One example is bitmap operations when the whole bitmap fits into one word. To implement such simplifications, linux/bitmap.h declares small_const_nbits() macro. Other subsystems may also benefit from

[PATCH 06/14] bitsperlong.h: introduce SMALL_CONST() macro

2021-02-17 Thread Yury Norov
Many algorithms become simpler if they are passed with relatively small input values. One example is bitmap operations when the whole bitmap fits into one word. To implement such simplifications, linux/bitmap.h declares small_const_nbits() macro. Other subsystems may also benefit from

[PATCH 02/14] tools: bitmap: sync function declarations with the kernel

2021-02-17 Thread Yury Norov
Some functions in tools/include/linux/bitmap.h declare nbits as int. In the kernel nbits is declared as unsigned int. Signed-off-by: Yury Norov --- tools/include/linux/bitmap.h | 8 tools/lib/bitmap.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 01/14] tools: disable -Wno-type-limits

2021-02-17 Thread Yury Norov
GENMASK(h, l) may be passed with unsigned types. In such case, type-limits warning is generated for example in case of GENMASK(h, 0). Signed-off-by: Yury Norov --- tools/scripts/Makefile.include | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/scripts/Makefile.include

[PATCH 04/14] lib: introduce BITS_{FIRST,LAST} macro

2021-02-17 Thread Yury Norov
BITMAP_{LAST,FIRST}_WORD_MASK() in linux/bitmap.h duplicates the functionality of GENMASK(). The scope of there macros is wider than just bitmap. This patch defines 4 new macros: BITS_FIRST(), BITS_LAST(), BITS_FIRST_MASK() and BITS_LAST_MASK() in linux/bits.h on top of GENMASK() and replaces

[PATCH 05/14] tools: sync BITS_MASK macros with the kernel

2021-02-17 Thread Yury Norov
Remove BITMAP_{FIRST,LAST}_WORD_MASK and introduce BITS_{FIRST,LAST}{,_MASK} as per kernel implementation. Signed-off-by: Yury Norov --- tools/include/linux/bitmap.h | 20 ++-- tools/include/linux/bits.h| 6 ++ tools/lib/bitmap.c| 6 +++---

[PATCH 03/14] arch: rearrange headers inclusion order in asm/bitops for m68k and sh

2021-02-17 Thread Yury Norov
m68k and sh include bitmap/find.h prior to ffs/fls headers. New fast-path implementation in find.h requires ffs/fls. Reordering the headers inclusion sequence helps to prevent compile-time implicit-function-declaration error. Signed-off-by: Yury Norov Acked-by: Geert Uytterhoeven ---

[PATCH v3 00/14] lib/find_bit: fast path for small bitmaps

2021-02-17 Thread Yury Norov
Bitmap operations are much simpler and faster in case of small bitmaps which fit into a single word. In linux/bitmap.c we have a machinery that allows compiler to replace actual function call with a few instructions if bitmaps passed into the function are small and their size is known at compile

Re: [PATCH] net: ftgmac100: Support phyless operation

2021-02-17 Thread Florian Fainelli
On 2/17/2021 7:40 PM, William A. Kennington III wrote: > We have BMC to BMC connections that lack a PHY in between but don't > want to use the NC-SI state machinery of the kernel. Instead, > allow for an option to disable the phy detection and mdio logic. > > Signed-off-by: William A.

[PATCH v4 11/14] dt-bindings: display: bridge: Add i.MX8qm/qxp LVDS display bridge binding

2021-02-17 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp LVDS display bridge(LDB). Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v3->v4: * Add Rob's R-b tag. v2->v3: * Drop 'fsl,syscon' property. (Rob) * Mention the CSR module controls LDB. v1->v2: * Use graph schema. (Laurent) * Side note i.MX8qxp

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

2021-02-17 Thread Liu Ying
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. Each of them supports up to 24bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels cannot be used

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

2021-02-17 Thread Liu Ying
This patch adds a helper to support LDB drm bridge drivers for i.MX SoCs. Helper functions exported from this driver should implement common logics for all LDB modules embedded in i.MX SoCs. Signed-off-by: Liu Ying --- v3->v4: * No change. v2->v3: * Call syscon_node_to_regmap() to get regmap

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

2021-02-17 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qxp pixel link to display pixel interface(PXL2DPI). The PXL2DPI interfaces the pixel link 36-bit data output and the DSI controller’s MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module used in LVDS mode, to remap the pixel color

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

2021-02-17 Thread Liu Ying
Add myself as the maintainer of DRM bridge drivers for i.MX SoCs. Signed-off-by: Liu Ying --- v3->v4: * No change. v2->v3: * No change. v1->v2: * No change. MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d241b8..d96c917 100644 ---

[PATCH v4 08/14] dt-bindings: display: bridge: Add i.MX8qxp pixel link to DPI binding

2021-02-17 Thread Liu Ying
This patch adds bindings for i.MX8qxp pixel link to DPI(PXL2DPI). Signed-off-by: Liu Ying --- v3->v4: * Add 'fsl,sc-resource' property. (Rob) v2->v3: * Drop 'fsl,syscon' property. (Rob) * Mention the CSR module controls PXL2DPI. v1->v2: * Use graph schema. (Laurent)

[PATCH v4 07/14] drm/bridge: imx: Add i.MX8qm/qxp display pixel link support

2021-02-17 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm/qxp display pixel link. The pixel link forms a standard asynchronous linkage between pixel sources(display controller or camera module) and pixel consumers(imaging or displays). It consists of two distinct functions, a pixel transfer function and a

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

2021-02-17 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm LVDS display bridge(LDB) which is officially named as pixel mapper. The LDB has two channels. Each of them supports up to 30bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels can be used

[PATCH v4 06/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding

2021-02-17 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp display pixel link. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v3->v4: * No change. v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Require all four pixel link output ports. (Laurent) * Mention pixel link is accessed via

[PATCH v4 04/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding

2021-02-17 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp pixel combiner. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v3->v4: * No change. v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Use enum instead of oneOf + const for the reg property of pixel combiner channels. (Rob)

[PATCH v4 03/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-02-17 Thread Liu Ying
This patch adds documentations for RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller

[PATCH v4 01/14] phy: Add LVDS configuration options

2021-02-17 Thread Liu Ying
This patch allows LVDS PHYs to be configured through the generic functions and through a custom structure added to the generic union. The parameters added here are based on common LVDS PHY implementation practices. The set of parameters should cover all potential users. Cc: Kishon Vijay Abraham

[PATCH v4 05/14] drm/bridge: imx: Add i.MX8qm/qxp pixel combiner support

2021-02-17 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm/qxp pixel combiner. The pixel combiner takes two output streams from a single display controller and manipulates the two streams to support a number of modes(bypass, pixel combine, YUV444 to YUV422, split_RGB) configured as either one screen, two

[PATCH v4 02/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-02-17 Thread Liu Ying
This patch adds RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller or a 36-bit output

[PATCH v4 00/14] Add some DRM bridge drivers support for i.MX8qm/qxp SoCs

2021-02-17 Thread Liu Ying
Hi, This is the v4 series to add some DRM bridge drivers support for i.MX8qm/qxp SoCs. The bridges may chain one by one to form display pipes to support LVDS displays. The relevant display controller is DPU embedded in i.MX8qm/qxp SoCs. The DPU KMS driver can be found at:

linux-next: manual merge of the devicetree tree with the powerpc tree

2021-02-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the devicetree tree got a conflict in: arch/powerpc/kexec/elf_64.c between commit: 2377c92e37fe ("powerpc/kexec_file: fix FDT size estimation for kdump kernel") from the powerpc tree and commit: 130b2d59cec0 ("powerpc: Use common

[PATCH net] net: ag71xx: remove unnecessary MTU reservation

2021-02-17 Thread DENG Qingfang
2 bytes of the MTU are reserved for Atheros DSA tag, but DSA core has already handled that since commit dc0fe7d47f9f. Remove the unnecessary reservation. Fixes: d51b6ce441d3 ("net: ethernet: add ag71xx driver") Signed-off-by: DENG Qingfang --- drivers/net/ethernet/atheros/ag71xx.c | 4 +--- 1

[PATCH] net: ftgmac100: Support phyless operation

2021-02-17 Thread William A. Kennington III
We have BMC to BMC connections that lack a PHY in between but don't want to use the NC-SI state machinery of the kernel. Instead, allow for an option to disable the phy detection and mdio logic. Signed-off-by: William A. Kennington III --- .../devicetree/bindings/net/ftgmac100.txt | 2 ++

Re: [PATCH v14 02/11] x86: kdump: make the lower bound of crash kernel reservation consistent

2021-02-17 Thread Baoquan He
On 01/30/21 at 03:10pm, Chen Zhou wrote: > The lower bounds of crash kernel reservation and crash kernel low > reservation are different, use the consistent value CRASH_ALIGN. > > Suggested-by: Dave Young > Signed-off-by: Chen Zhou > Tested-by: John Donnelly > --- > arch/x86/kernel/setup.c |

Re: [PATCH v4 1/3] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-02-17 Thread Xin Ji
Hi Rob Herring, thanks for the comments. On Tue, Feb 09, 2021 at 01:30:10PM -0600, Rob Herring wrote: > On Thu, Jan 28, 2021 at 11:08:26AM +0800, Xin Ji wrote: > > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > > flag and DP tx lane0 and lane1 swing register array define. >

[GIT PULL] TPM DEVICE DRIVER changes for v5.12

2021-02-17 Thread Jarkko Sakkinen
Hi Linus, This now my "official" first PR for v5.12. There's still some known issues in the tpm_tis driver *not& fixed in this first pull request, which trigger a warning but do not overally collapse the kernel by any means. The fixes are in good progress, but unfortunately there's still some

Re: [PATCH v14 01/11] x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN

2021-02-17 Thread Baoquan He
On 01/30/21 at 03:10pm, Chen Zhou wrote: > Move CRASH_ALIGN to header asm/kexec.h for later use. Besides, the > alignment of crash kernel regions in x86 is 16M(CRASH_ALIGN), but > function reserve_crashkernel() also used 1M alignment. So just > replace hard-coded alignment 1M with macro

RE: [PATCH net-next] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-17 Thread Min Li
> -Original Message- > From: Arnd Bergmann > Sent: February 17, 2021 4:30 PM > To: Min Li > Cc: Derek Kiernan ; Dragan Cvetic > ; Arnd Bergmann ; gregkh > ; linux-kernel@vger.kernel.org; Networking > ; Richard Cochran > Subject: Re: [PATCH net-next] misc: Add Renesas Synchronization >

[PATCH 3/3] fastrpc: remove redundant fastrpc_map_create() call

2021-02-17 Thread Jonathan Marek
fastrpc_internal_invoke() will call fastrpc_map_create, so there is no point in having it called here. This does change the behavior somewhat as fastrpc_internal_invoke() will release the map afterwards, but that's what we want to happen in this case. Signed-off-by: Jonathan Marek ---

[PATCH 2/3] fastrpc: move fl->maps list removal into fastrpc_free_map

2021-02-17 Thread Jonathan Marek
This fixes the incredibly broken behavior of fastrpc_context_free(), which calls fastrpc_map_put() but does not remove the map from the list when it is free'd, causing use-after-free errors. fl->lock needs to be held not just for list_del(), but also kref_put, to avoid a race condition with

[PATCH 0/3] fastrpc: fix dmabuf arguments

2021-02-17 Thread Jonathan Marek
dmabuf arguments are completely broken, these patches make it possible to actually use dmabuf arguments (in particular, the second patch). Jonathan Marek (3): fastrpc: always use fl->lock and remove fl->mutex fastrpc: move fl->maps list removal into fastrpc_free_map fastrpc: remove

[PATCH 1/3] fastrpc: always use fl->lock and remove fl->mutex

2021-02-17 Thread Jonathan Marek
Fix the broken behavior of having a separate mutex for locking at this place, and use the same spinlock that is used to add/remove from the list. Signed-off-by: Jonathan Marek --- drivers/misc/fastrpc.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git

Re: [External] Re: [PATCH v15 4/8] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-02-17 Thread Muchun Song
On Thu, Feb 18, 2021 at 9:00 AM Mike Kravetz wrote: > > On 2/17/21 12:13 AM, Michal Hocko wrote: > > On Tue 16-02-21 11:44:34, Mike Kravetz wrote: > > [...] > >> If we are not going to do the allocations under the lock, then we will need > >> to either preallocate or take the workqueue approach.

[PATCH v2] workqueue: Move the position of debug_work_activate() in __queue_work()

2021-02-17 Thread qiang . zhang
From: Zqiang The debug_work_activate() is called on the premise that the work can be inserted, because if wq be in WQ_DRAINING status, insert work may be failed. Fixes: e41e704bc4f4 ("workqueue: improve destroy_workqueue() debuggability") Signed-off-by: Zqiang Reviewed-by: Lai Jiangshan ---

[PATCH v5] perf tools: Fix arm64 build error with gcc-11

2021-02-17 Thread Jianlin Lv
gcc version: 11.0.0 20210208 (experimental) (GCC) Following build error on arm64: ... In function ‘printf’, inlined from ‘regs_dump__printf’ at util/session.c:1141:3, inlined from ‘regs__printf’ at util/session.c:1169:2: /usr/include/aarch64-linux-gnu/bits/stdio2.h:107:10: \ error:

Re: [PATCH V3 14/14] coresight: etm-perf: Add support for trace buffer format

2021-02-17 Thread Anshuman Khandual
On 1/27/21 6:30 PM, Al Grant wrote: >>> +/* CoreSight PMU AUX buffer formats */ >>> +#define PERF_AUX_FLAG_CORESIGHT_FORMAT_CORESIGHT0x /* >> Default for backward compatibility */ >>> +#define PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW0x0100 /* >> Raw format of the source */ >> >> Would

Re: [PATCH] workqueue: Remove rcu_read_lock/unlock() in workqueue_congested()

2021-02-17 Thread Lai Jiangshan
+CC Paul On Wed, Feb 17, 2021 at 7:58 PM wrote: > > From: Zqiang > > The RCU read critical area already by preempt_disable/enable() > (equivalent to rcu_read_lock_sched/unlock_sched()) mark, so remove > rcu_read_lock/unlock(). I think we can leave it which acks like document, especially

RE: [PATCH 1/1] PCI/RCEC: Fix failure to inject errors to some RCiEP devices

2021-02-17 Thread Zhuo, Qiuxu
Hi Krzysztof, Sorry, just back from Chinese New Year holiday. > From: Krzysztof Wilczyński > ... > ... > Would this only affect error injection or would this be also a generic problem > with the driver itself causing issues regardless of whether it was an error > injection or not for this

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

2021-02-17 Thread Liu Ying
On Tue, 2021-02-09 at 12:15 -0600, Rob Herring wrote: > On Wed, Jan 27, 2021 at 04:51:23PM +0800, Liu Ying wrote: > > This patch adds a drm bridge driver for i.MX8qxp pixel link to display > > pixel interface(PXL2DPI). The PXL2DPI interfaces the pixel link 36-bit > > data output and the DSI

Re: [PATCH] workqueue: Move the position of debug_work_activate() in __queue_work()

2021-02-17 Thread Lai Jiangshan
On Thu, Feb 11, 2021 at 4:24 PM wrote: > > From: Zqiang > > The debug_work_activate() is called on the premise that > the work can be inserted, because if wq be in WQ_DRAINING > status, insert work may be failed. > Please add: Fixes: e41e704bc4f49 ("workqueue: improve destroy_workqueue()

Re: [PATCH 5/6] MIPS: remove CONFIG_DMA_MAYBE_COHERENT

2021-02-17 Thread Huacai Chen
Reviewed-by: Huacai Chen On Wed, Feb 10, 2021 at 6:04 PM Christoph Hellwig wrote: > > CONFIG_DMA_MAYBE_COHERENT just guards two early init options now. Just > enable them unconditionally for CONFIG_DMA_NONCOHERENT. > > Signed-off-by: Christoph Hellwig > --- > arch/mips/Kconfig| 8

Re: [PATCH] perf/x86/lbr: Simplify the exposure check for the LBR_INFO registers

2021-02-17 Thread Like Xu
Hi Peter, Would you help pick up this patch so that we can enable guest Arch LBR? --- thx,likexu On 2021/2/3 15:03, Like Xu wrote: If the platform supports LBR_INFO register, the x86_pmu.lbr_info will be assigned in intel_pmu_?_lbr_init_?() and it's safe to expose LBR_INFO in the

Re: [PATCH] mm/hugetlb: remove redundant reservation check condition in alloc_huge_page()

2021-02-17 Thread Miaohe Lin
Hi: On 2021/2/13 9:15, Mike Kravetz wrote: > On 2/9/21 11:54 PM, Miaohe Lin wrote: >> If there is no reservation corresponding to a vma, map_chg is always != 0, >> i.e. we can not meet the condition where a vma does not have reservation >> while map_chg = 0. > > This commit message might be

Re: [PATCH v8 7/9] crypto: hisilicon/hpre - add 'ECDH' algorithm

2021-02-17 Thread yumeng
在 2021/2/10 12:57, Herbert Xu 写道: On Mon, Feb 08, 2021 at 05:38:55PM +0800, Meng Yu wrote: 1. Enable 'ECDH' algorithm in Kunpeng 930; 2. HPRE ECDH Support: ecdh-nist-p192, ecdh-nist-p224, ecdh-nist-p256, ecdh-nist-p384, ecdh-nist-p521. Where is the patch that adds the generic

Re: [PATCH] kbuild: Add support for Clang's polyhedral loop optimizer.

2021-02-17 Thread Masahiro Yamada
On Thu, Jan 21, 2021 at 2:42 AM 'Diab Neiroukh' via Clang Built Linux wrote: > > Polly is able to optimize various loops throughout the kernel for cache > locality. A mathematical representation of the program, based on > polyhedra, is analysed to find opportunistic optimisations in memory >

Re: [PATCH v8 3/9] crypto: atmel-ecc - move curve_id of ECDH from the key to algorithm name

2021-02-17 Thread yumeng
在 2021/2/10 12:56, Herbert Xu 写道: On Mon, Feb 08, 2021 at 05:38:51PM +0800, Meng Yu wrote: As curve id of ECDH will be moved from its key into algorithm name, we cannot use 'curve_id' in 'struct ecdh', so we should modify ECDH driver in atmel, and make ECDH algorithm name be the same as

Re: [PATCH][next] net: hns3: Fix uninitialized return from function

2021-02-17 Thread lipeng (Y)
在 2021/2/10 23:26, Colin King 写道: From: Colin Ian King Currently function hns3_reset_notify_uninit_enet is returning the contents of the uninitialized variable ret. Fix this by removing ret (since it is no longer used) and replace it with a return of the literal value 0. you can not

Re: [PATCH v2 3/3] crypto: hisilicon/sec - fixes shash test error

2021-02-17 Thread Herbert Xu
On Thu, Feb 18, 2021 at 10:01:58AM +0800, liulongfang wrote: > > >> diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c > >> b/drivers/crypto/hisilicon/sec2/sec_crypto.c > >> index d2c4a2c..988faf7 100644 > >> --- a/drivers/crypto/hisilicon/sec2/sec_crypto.c > >> +++

Re: linux-next: Signed-off-by missing for commit in the devicetree tree

2021-02-17 Thread Rob Herring
On Wed, Feb 17, 2021 at 7:57 PM Stephen Rothwell wrote: > > Hi all, > > Commit > > bc5d1d0f8b38 ("Revert "powerpc: Move ima buffer fields to struct kimage"") > > is missing a Signed-off-by from its author and committer. > > Reverts are commits as well. Oops, now dropped. Thanks, Rob

Re: [PATCH v2 3/3] crypto: hisilicon/sec - fixes shash test error

2021-02-17 Thread liulongfang
On 2021/2/10 14:43, Herbert Xu Wrote: > On Sun, Feb 07, 2021 at 06:04:40PM +0800, Longfang Liu wrote: >> If the header file "crypto/internal/hash.h" not >> added, the allocation of crypto_tfm will fail when >> the shash algorithm calculates the hash >> through the software. >> >> Signed-off-by:

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-17 Thread Baoquan He
On 02/11/21 at 10:08am, Saeed Mirzamohammadi wrote: > This adds crashkernel=auto feature to configure reserved memory for > vmcore creation. CONFIG_CRASH_AUTO_STR is defined to be set for > different kernel distributions and different archs based on their > needs. > > Signed-off-by: Saeed

Re: [PATCH v6 10/22] clk: mediatek: Add MT8192 basic clocks support

2021-02-17 Thread Weiyi Lu
On Wed, 2021-02-10 at 13:46 +0100, Matthias Brugger wrote: > > On 22/12/2020 14:09, Weiyi Lu wrote: > > Add MT8192 basic clock providers, include topckgen, apmixedsys, > > infracfg and pericfg. > > > > Signed-off-by: Weiyi Lu > > --- > > drivers/clk/mediatek/Kconfig |8 + > >

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

2021-02-17 Thread Stephen Rothwell
Hi all, Commit bc5d1d0f8b38 ("Revert "powerpc: Move ima buffer fields to struct kimage"") is missing a Signed-off-by from its author and committer. Reverts are commits as well. -- Cheers, Stephen Rothwell pgpmBJNVYyA2w.pgp Description: OpenPGP digital signature

Re: [PATCH v2 4/4] hugetlb/userfaultfd: Unshare all pmds for hugetlbfs when register wp

2021-02-17 Thread Mike Kravetz
On 2/17/21 12:46 PM, Peter Xu wrote: > Huge pmd sharing for hugetlbfs is racy with userfaultfd-wp because > userfaultfd-wp is always based on pgtable entries, so they cannot be shared. > > Walk the hugetlb range and unshare all such mappings if there is, right before > UFFDIO_REGISTER will

[PATCH] sparc: make copy_thread honor pid namespaces

2021-02-17 Thread Dmitry V. Levin
On sparc, fork and clone syscalls have an unusual semantics of returning the pid of the parent process to the child process. Apparently, the implementation did not honor pid namespaces at all, so the child used to get the pid of its parent in the init namespace. This bug was found by strace test

Re: [PATCH v6 01/22] dt-bindings: ARM: Mediatek: Add new document bindings of imp i2c wrapper controller

2021-02-17 Thread Weiyi Lu
On Wed, 2021-02-10 at 13:19 +0100, Matthias Brugger wrote: > > On 22/12/2020 14:09, Weiyi Lu wrote: > > This patch adds the new binding documentation of imp i2c wrapper controller > > for Mediatek MT8192. > > The wrapper controller has only clock parts, or are the clock register mapped > into

[PATCH V12 10/10] remoteproc: imx_proc: enable virtio/mailbox

2021-02-17 Thread peng . fan
From: Peng Fan Use virtio/mailbox to build connection between Remote Proccessors and Linux. Add work queue to handle incoming messages. Reviewed-by: Richard Zhu Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 116 - 1

[PATCH V12 07/10] remoteproc: imx_rproc: add i.MX specific parse fw hook

2021-02-17 Thread peng . fan
From: Peng Fan The hook is used to parse memory-regions and load resource table from the address the remote processor published. Reviewed-by: Richard Zhu Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 93 ++ 1 file

[PATCH V12 05/10] remoteproc: imx_rproc: correct err message

2021-02-17 Thread peng . fan
From: Peng Fan It is using devm_ioremap, so not devm_ioremap_resource. Correct the error message and print out sa/size. Reviewed-by: Bjorn Andersson Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH V12 06/10] remoteproc: imx_rproc: use devm_ioremap

2021-02-17 Thread peng . fan
From: Peng Fan We might need to map an region multiple times, becaue the region might be shared between remote processors, such i.MX8QM with dual M4 cores. So use devm_ioremap, not devm_ioremap_resource. Reviewed-by: Oleksij Rempel Reviewed-by: Richard Zhu Signed-off-by: Peng Fan

[PATCH V12 03/10] remoteproc: introduce is_iomem to rproc_mem_entry

2021-02-17 Thread peng . fan
From: Peng Fan Introduce is_iomem to indicate this piece memory is iomem or not. Reviewed-by: Bjorn Andersson Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- include/linux/remoteproc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/remoteproc.h

[PATCH V12 04/10] remoteproc: add is_iomem to da_to_va

2021-02-17 Thread peng . fan
From: Peng Fan Introduce an extra parameter is_iomem to da_to_va, then the caller could take the memory as normal memory or io mapped memory. Reviewed-by: Bjorn Andersson Reviewed-by: Mathieu Poirier Reported-by: kernel test robot Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c

[PATCH V12 09/10] remoteproc: imx_rproc: ignore mapping vdev regions

2021-02-17 Thread peng . fan
From: Peng Fan vdev regions are vdev0vring0, vdev0vring1, vdevbuffer and similar. They are handled by remoteproc common code, no need to map in imx rproc driver. Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- drivers/remoteproc/imx_rproc.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH V12 08/10] remoteproc: imx_rproc: support i.MX8MQ/M

2021-02-17 Thread peng . fan
From: Peng Fan Add i.MX8MQ dev/sys addr map and configuration data structure i.MX8MM share i.MX8MQ settings. Reviewed-by: Richard Zhu Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/Kconfig | 6 ++--- drivers/remoteproc/imx_rproc.c | 41

[PATCH V12 01/10] dt-bindings: remoteproc: convert imx rproc bindings to json-schema

2021-02-17 Thread peng . fan
From: Peng Fan Convert the imx rproc binding to DT schema format using json-schema. Signed-off-by: Peng Fan --- .../bindings/remoteproc/fsl,imx-rproc.yaml| 61 +++ .../bindings/remoteproc/imx-rproc.txt | 33 -- 2 files changed, 61 insertions(+), 33

[PATCH V12 02/10] dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M support

2021-02-17 Thread peng . fan
From: Peng Fan Add i.MX8MQ/M support, also include mailbox for rpmsg/virtio usage. Signed-off-by: Peng Fan --- .../bindings/remoteproc/fsl,imx-rproc.yaml| 51 ++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git

[PATCH V12 00/10] remoteproc: imx_rproc: support iMX8MQ/M

2021-02-17 Thread peng . fan
From: Peng Fan V12: Add maxItems to avoid dt_bindings_check fail Rebased on top of linux-next V11: Per Rob's comments, fix memory-region in patch 1/10 Rebased on top of Linux-next V10: Per Rob's comments, fix patch 1/10 V9: Per Mathieu's comments, update the tile of yaml in patch

Re: [PATCH] virtio-mmio: Use to_virtio_mmio_device() to simply code

2021-02-17 Thread Tang Bin
Dear Jason:   Sorry for the late reply this email. 在 2021/2/10 16:09, Jason Wang 写道: On 2021/2/10 上午11:04, Tang Bin wrote: The file virtio_mmio.c has defined the function to_virtio_mmio_device, so use it instead of container_of() to simply code. And remove superfluous blank lines in this

Re: [PATCH v2 2/4] hugetlb/userfaultfd: Forbid huge pmd sharing when uffd enabled

2021-02-17 Thread Mike Kravetz
On 2/17/21 12:46 PM, Peter Xu wrote: > Huge pmd sharing could bring problem to userfaultfd. The thing is that > userfaultfd is running its logic based on the special bits on page table > entries, however the huge pmd sharing could potentially share page table > entries for different address

Re: [PATCH v5 1/4] dt-bindings: usb: Add binding for discrete onboard USB hubs

2021-02-17 Thread Matthias Kaehlcke
Hi Rob, thanks for your review! On Wed, Feb 17, 2021 at 03:04:41PM -0600, Rob Herring wrote: > On Wed, Feb 10, 2021 at 09:10:36AM -0800, Matthias Kaehlcke wrote: > > Discrete onboard USB hubs (an example for such a hub is the Realtek > > RTS5411) need to be powered and may require initialization

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-17 Thread Dave Young
On 02/17/21 at 02:42pm, Vivek Goyal wrote: > On Wed, Feb 17, 2021 at 02:26:53PM -0500, Steven Rostedt wrote: > > On Wed, 17 Feb 2021 12:40:43 -0600 > > john.p.donne...@oracle.com wrote: > > > > > Hello. > > > > > > Ping. > > > > > > Can we get this reviewed and staged ? > > > > > > Thank you.

Re: [RFC PATCH 29/34] power/swap: use bio_new in hib_submit_io

2021-02-17 Thread Chaitanya Kulkarni
On 2/17/21 14:03, Pavel Machek wrote: > Hi! >> diff --git a/kernel/power/swap.c b/kernel/power/swap.c >> index c73f2e295167..e92e36c053a6 100644 >> --- a/kernel/power/swap.c >> +++ b/kernel/power/swap.c >> @@ -271,13 +271,12 @@ static int hib_submit_io(int op, int op_flags, pgoff_t >> page_off,

Re: [PATCH v4] tpm: fix reference counting for struct tpm_chip

2021-02-17 Thread Jason Gunthorpe
On Thu, Feb 18, 2021 at 12:14:11AM +0200, Jarkko Sakkinen wrote: > On Tue, Feb 16, 2021 at 04:31:26PM +, David Laight wrote: > > ... > > > > > + get_device(>dev); > > > > > + chip->devs.release = tpm_devs_release; > > > > > + chip->devs.devt = > > > > > +

Re: [PATCH v6 00/22] Mediatek MT8192 clock support

2021-02-17 Thread Weiyi Lu
On Mon, 2021-02-08 at 17:00 -0800, Stephen Boyd wrote: > Quoting Weiyi Lu (2020-12-22 05:09:25) > > This series is based on v5.10-rc1. > > > > The DT bindings fail, can you fix and resend? > OK, I'll fix and resend. Thank you for reviewing. >

Re: [PATCH v18 00/10] Carry forward IMA measurement log on kexec on ARM64

2021-02-17 Thread Rob Herring
On Sat, Feb 13, 2021 at 08:10:38AM -0800, Lakshmi Ramasubramanian wrote: > On kexec file load Integrity Measurement Architecture (IMA) subsystem > may verify the IMA signature of the kernel and initramfs, and measure > it. The command line parameters passed to the kernel in the kexec call > may

Re: [PATCH v3 1/1] exfat: add support ioctl and FITRIM function

2021-02-17 Thread Chaitanya Kulkarni
On 2/16/21 22:07, Hyeongseok Kim wrote: > Add FITRIM ioctl to enable discarding unused blocks while mounted. > As current exFAT doesn't have generic ioctl handler, add empty ioctl > function first, and add FITRIM handler. > > Signed-off-by: Hyeongseok Kim Looks good. Reviewed-by: Chaitanya

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-17 Thread Dave Young
On 02/11/21 at 10:08am, Saeed Mirzamohammadi wrote: > This adds crashkernel=auto feature to configure reserved memory for > vmcore creation. CONFIG_CRASH_AUTO_STR is defined to be set for > different kernel distributions and different archs based on their > needs. > > Signed-off-by: Saeed

Re: [RFC PATCH 10/11] vfio/iommu_type1: Optimize dirty bitmap population based on iommu HWDBM

2021-02-17 Thread Keqian Zhu
Hi Yi, On 2021/2/9 19:57, Yi Sun wrote: > On 21-02-07 18:40:36, Keqian Zhu wrote: >> Hi Yi, >> >> On 2021/2/7 17:56, Yi Sun wrote: >>> Hi, >>> >>> On 21-01-28 23:17:41, Keqian Zhu wrote: >>> >>> [...] >>> +static void vfio_dma_dirty_log_start(struct vfio_iommu *iommu, +

Re: [PATCH] sched/fair: Ignore percpu threads for imbalance pulls

2021-02-17 Thread Pavan Kondeti
On Wed, Feb 17, 2021 at 02:50:23PM +, Valentin Schneider wrote: > On 17/02/21 17:38, Lingutla Chandrasekhar wrote: > > In load balancing, when balancing group is unable to pull task > > due to ->cpus_ptr constraints from busy group, then it sets > > LBF_SOME_PINNED to lb env flags, as a

Re: [PATCH 1/3] vfio: Introduce vma ops registration and notifier

2021-02-17 Thread Jason Gunthorpe
On Fri, Feb 12, 2021 at 05:20:57PM -0400, Jason Gunthorpe wrote: > On Fri, Feb 12, 2021 at 12:27:39PM -0700, Alex Williamson wrote: > > Create an interface through vfio-core where a vfio bus driver (ex. > > vfio-pci) can register the vm_operations_struct it uses to map device > > memory, along

Re: [External] Re: [PATCH v15 4/8] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-02-17 Thread Mike Kravetz
On 2/17/21 12:13 AM, Michal Hocko wrote: > On Tue 16-02-21 11:44:34, Mike Kravetz wrote: > [...] >> If we are not going to do the allocations under the lock, then we will need >> to either preallocate or take the workqueue approach. > > We can still drop the lock temporarily right? As we already

Re: [PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-17 Thread Nicolas Boichat
On Thu, Feb 18, 2021 at 1:25 AM Luis Henriques wrote: > > A regression has been reported by Nicolas Boichat, found while using the > copy_file_range syscall to copy a tracefs file. Before commit > 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the > kernel would return -EXDEV

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