Re: [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU

2021-01-12 Thread Rob Herring
On Thu, 07 Jan 2021 20:01:18 +0530, Manivannan Sadhasivam wrote: > Add devicetree binding for Qualcomm SDX55 SMMU. > > Cc: Will Deacon > Cc: Robin Murphy > Cc: Joerg Roedel > Cc: io...@lists.linux-foundation.org > Signed-off-by: Manivannan Sadhasivam > Reviewed-by: Vinod Koul > --- >

Re: [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible

2021-01-12 Thread Rob Herring
On Thu, 07 Jan 2021 20:01:17 +0530, Manivannan Sadhasivam wrote: > The SDHCI controller on SDX55 is based on MSM SDHCI v5 IP. Hence, > document the compatible with "qcom,sdhci-msm-v5" as the fallback. > While at it, let's also sort the compatibles in ascending order. > > Cc: Ulf Hansson > Cc:

Re: [PATCH] dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC

2021-01-12 Thread Rob Herring
On Thu, 07 Jan 2021 11:24:57 +0530, Aswath Govindraju wrote: > Add compatible string for AM64 SoC in device tree binding of AM654 SDHCI > module as the same IP is used. > > Signed-off-by: Aswath Govindraju > --- > Documentation/devicetree/bindings/mmc/sdhci-am654.yaml | 2 ++ > 1 file changed,

Re: [PATCH v2 2/2] arm64: dts: mt8183: Add krane-sku0 board.

2021-01-12 Thread Rob Herring
On Thu, Jan 07, 2021 at 01:22:06PM +0800, Hsin-Yi Wang wrote: > Similar to krane-sku176 but using a different panel source. > > Signed-off-by: Hsin-Yi Wang > --- > Change: > v2: move compatible to board dts > --- > .../devicetree/bindings/arm/mediatek.yaml | 1 + >

Re: [PATCH 1/3] dt-bindings: power: Add domain regulator supply

2021-01-12 Thread Rob Herring
On Thu, 07 Jan 2021 18:49:14 +0800, Hsin-Yi Wang wrote: > Some power domains (eg. mfg) needs to turn on power supply before power > on. > > Signed-off-by: Hsin-Yi Wang > --- > .../bindings/power/mediatek,power-controller.yaml| 9 + > 1 file changed, 9 insertions(+) >

Re: [PATCH V4 1/3] dt-bindings: phy: brcm, brcmstb-usb-phy: convert to the json-schema

2021-01-12 Thread Rob Herring
On Wed, 06 Jan 2021 21:58:36 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > Changes that require mentioning: > 1. interrupt-names >Name "wakeup" was changed to the "wake". It matches example and what >Linux driver looks for in the first place > 2. brcm,ipp and brcm,ioc >Both

Re: [RFC 1/2] dt-bindings: clk: versaclock5: Add load capacitance properties

2021-01-12 Thread Rob Herring
On Wed, Jan 06, 2021 at 11:38:59AM -0600, Adam Ford wrote: > There are two registers which can set the load capacitance for > XTAL1 and XTAL2. These are optional registers when using an > external crystal. Update the bindings to support them. > > Signed-off-by: Adam Ford > --- >

[PATCH v2] usb/c67x00: Replace tasklet with work

2021-01-12 Thread Davidlohr Bueso
Tasklets have long been deprecated as being too heavy on the system by running in irq context - and this is not a performance critical path. If a higher priority process wants to run, it must wait for the tasklet to finish before doing so. c67x00_do_work() will now run in process context and have

Re: [PATCH v3 4/4] dma-buf: heaps: add chunk heap to dmabuf heaps

2021-01-12 Thread kernel test robot
Hi Minchan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20210112] [cannot apply to s390/features robh/for-next linux/master linus/master hnaz-linux-mm/master v5.11-rc3 v5.11-rc2 v5.11-rc1 v5.11-rc3] [If your patch is applied to the wrong git tree

Re: [PATCH net-next] udp: allow forwarding of plain (non-fraglisted) UDP GRO packets

2021-01-12 Thread Alexander Duyck
On 1/12/21 1:16 PM, Alexander Lobakin wrote: Commit 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/GSO.") actually not only added a support for fraglisted UDP GRO, but also tweaked some logics the way that non-fraglisted UDP GRO started to work for forwarding too. Tests showed that currently

Re: [PATCH] mm: Free unused swap cache page in write protection fault handler

2021-01-12 Thread Matthew Wilcox
On Wed, Jan 13, 2021 at 11:08:56AM +0800, huang ying wrote: > On Wed, Jan 13, 2021 at 10:47 AM Linus Torvalds > wrote: > > > > On Tue, Jan 12, 2021 at 6:43 PM Huang Ying wrote: > > > > > > So in this patch, at the end of wp_page_copy(), the old unused swap > > > cache page will be tried to be

Re: [PATCH] mm: Free unused swap cache page in write protection fault handler

2021-01-12 Thread huang ying
On Wed, Jan 13, 2021 at 10:47 AM Linus Torvalds wrote: > > On Tue, Jan 12, 2021 at 6:43 PM Huang Ying wrote: > > > > So in this patch, at the end of wp_page_copy(), the old unused swap > > cache page will be tried to be freed. > > I'd much rather free it later when needed, rather than when

Re: [PATCH 0/7] Add and enable GPI DMA users

2021-01-12 Thread Vinod Koul
Hello Doug, On 12-01-21, 16:01, Doug Anderson wrote: > Hi, > > On Mon, Jan 11, 2021 at 7:17 AM Vinod Koul wrote: > > > > Hello, > > > > This series add the GPI DMA in qcom geni spi and i2c drivers. For this we > > first need to move GENI_IF_DISABLE_RO and struct geni_wrapper to common > >

Re: [PATCH] X.509: Fix crash caused by NULL pointer

2021-01-12 Thread Tianjia Zhang
On 1/7/21 6:58 PM, David Howells wrote: Tianjia Zhang wrote: On the following call path, `sig->pkey_algo` is not assigned in asymmetric_key_verify_signature(), which causes runtime crash in public_key_verify_signature(). keyctl_pkey_verify asymmetric_key_verify_signature

Re: [PATCH V4] arch: kernel: cpu: x86/resctrl: Takes a letter away and append a colon to match below struct member

2021-01-12 Thread Bhaskar Chowdhury
On 18:51 Tue 12 Jan 2021, Randy Dunlap wrote: On 1/12/21 6:48 PM, Bhaskar Chowdhury wrote: On 20:24 Tue 12 Jan 2021, Gustavo A. R. Silva wrote: On 1/12/21 20:03, Bhaskar Chowdhury wrote: s/kernlfs/kernfs/ s/@mon_data_kn/@mon_data_kn:/ Signed-off-by: Bhaskar Chowdhury --- Changes from V3:

Re: [PATCH] drm: Improve the output_poll_changed description

2021-01-12 Thread zhangzhi...@loongson.cn
On 1/12/21 10:20 PM, Daniel Vetter wrote: On Tue, Jan 12, 2021 at 06:46:44PM +0800, ZhiJie.Zhang wrote: From: zhangzhijie codeview the implementation of few Drivers. I'm not really understanding what you're trying to say here. I exc "make htmls" and read the gpu's html via browser.

Re: [PATCH] riscv: Remove duplicate definition in pagtable.h

2021-01-12 Thread Guo Ren
On Tue, Jan 12, 2021 at 4:18 PM Atish Patra wrote: > > On Mon, Jan 11, 2021 at 6:38 PM wrote: > > > > From: Guo Ren > > > > PAGE_KERNEL_EXEC has been defined above. > > > > Signed-off-by: Guo Ren > > Cc: Palmer Dabbelt > > Cc: Pekka Enberg > > --- > > arch/riscv/include/asm/pgtable.h | 1 -

Re: [PATCH v4 1/2] dt-bindings: pinctrl: qcom: Add SM8350 pinctrl bindings

2021-01-12 Thread Rob Herring
On Thu, Jan 07, 2021 at 11:17:22AM -0600, Bjorn Andersson wrote: > On Tue 05 Jan 23:49 CST 2021, Vinod Koul wrote: > > > Add device tree binding Documentation details for Qualcomm SM8350 > > pinctrl driver. > > > > Signed-off-by: Vinod Koul > > --- > >

Re: [PATCH v2 0/5] Optimize iommu_map_sg() performance

2021-01-12 Thread Robin Murphy
On 2021-01-12 16:33, Christoph Hellwig wrote: On Tue, Jan 12, 2021 at 04:00:59PM +, Robin Murphy wrote: Out of curiosity, how much of the difference is attributable to actual indirect call overhead vs. the additional massive reduction in visits to arm_smmu_rpm_{get,put} that you fail to

Re: [PATCH V4] arch: kernel: cpu: x86/resctrl: Takes a letter away and append a colon to match below struct member

2021-01-12 Thread Randy Dunlap
On 1/12/21 6:48 PM, Bhaskar Chowdhury wrote: > On 20:24 Tue 12 Jan 2021, Gustavo A. R. Silva wrote: >> >> >> On 1/12/21 20:03, Bhaskar Chowdhury wrote: >>> s/kernlfs/kernfs/ >>> s/@mon_data_kn/@mon_data_kn:/ >>> >>> Signed-off-by: Bhaskar Chowdhury >>> --- >>> Changes from V3: Fix the subject

Re: [PATCH V4] arch: kernel: cpu: x86/resctrl: Takes a letter away and append a colon to match below struct member

2021-01-12 Thread Bhaskar Chowdhury
On 20:24 Tue 12 Jan 2021, Gustavo A. R. Silva wrote: On 1/12/21 20:03, Bhaskar Chowdhury wrote: s/kernlfs/kernfs/ s/@mon_data_kn/@mon_data_kn:/ Signed-off-by: Bhaskar Chowdhury --- Changes from V3: Fix the subject line typo stuc to struct and mention cpu architecture ...and what changed

[PATCH RESEND v4 05/11] usb: gadget: bdc: fix check warning of block comments alignment

2021-01-12 Thread Chunfeng Yun
fix the warning: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3: add acked-by Florian v2: add Cc

[PATCH RESEND v4 03/11] usb: gadget: bdc: prefer pointer dereference to pointer type

2021-01-12 Thread Chunfeng Yun
Prefer kzalloc(sizeof(*bd_table)...) over kzalloc(sizeof(struct bd_table) Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3: add acked-by Florian v2: add Cc Florian ---

[PATCH RESEND v4 04/11] usb: gadget: bdc: fix warning of embedded function name

2021-01-12 Thread Chunfeng Yun
Use '"%s...", __func__' to replace embedded function name Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3: add acked-by Florian v2: add Cc Florian ---

[PATCH RESEND v4 10/11] usb: gadget: bdc: fix checkpatch.pl spacing error

2021-01-12 Thread Chunfeng Yun
fix checkpatch.pl error: ERROR:SPACING: space prohibited before that ',' Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3: add acked-by Florian v2: add Cc Florian ---

[PATCH RESEND v4 09/11] usb: gadget: bdc: fix checkpatch.pl tab warning

2021-01-12 Thread Chunfeng Yun
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements WARNING:TABSTOP: Statements should start on a tabstop Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3:

[PATCH RESEND v4 02/11] usb: gadget: bdc: remove bdc_ep_set_halt() declaration

2021-01-12 Thread Chunfeng Yun
No definition for bdc_ep_set_halt(), so remove it. Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3: add acked-by Florian v2: add Cc Florian ---

[PATCH RESEND v4 11/11] usb: gadget: bdc: fix checkpatch.pl repeated word warning

2021-01-12 Thread Chunfeng Yun
fix the warning: WARNING:REPEATED_WORD: Possible repeated word: 'and' Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3: add acked-by Florian v2: add Cc Florian ---

Re: [PATCH] mm: Free unused swap cache page in write protection fault handler

2021-01-12 Thread Linus Torvalds
On Tue, Jan 12, 2021 at 6:43 PM Huang Ying wrote: > > So in this patch, at the end of wp_page_copy(), the old unused swap > cache page will be tried to be freed. I'd much rather free it later when needed, rather than when you're in a COW section. Linus

Re: [PATCH 0/1] mm: restore full accuracy in COW page reuse

2021-01-12 Thread Linus Torvalds
On Tue, Jan 12, 2021 at 6:16 PM Matthew Wilcox wrote: > > The thing about the speculative page cache references is that they can > temporarily bump a refcount on a page which _used_ to be in the page > cache and has now been reallocated as some other kind of page. Right you are. Yeah, scratch

[PATCH] mm: Free unused swap cache page in write protection fault handler

2021-01-12 Thread Huang Ying
Commit 09854ba94c6a ("mm: do_wp_page() simplification") introduces an issue as follows. On a system with free memory as follow before test, totalusedfree shared buff/cache available Mem:1697300 160156 14592208648 77924

[PATCH RESEND v4 08/11] usb: gadget: bdc: use the BIT macro to define bit filed

2021-01-12 Thread Chunfeng Yun
Prefer using the BIT macro to define bit fileds Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3: add acked-by Florian v2: add Cc Florian --- drivers/usb/gadget/udc/bdc/bdc.h |

Re: [PATCH v2] blk: avoid divide-by-zero with zero granularity

2021-01-12 Thread Li Feng
Yes, Reject the device is the right fix. I will try to send another fix. By the way, I think this fix is good protection, maybe some other devices violate this block size constraint. Divide zero is unacceptable. Thanks, Feng Li Martin K. Petersen 于2021年1月13日周三 上午1:48写道: > > > Johannes, > > >>

[PATCH RESEND v4 07/11] usb: gadget: bdc: avoid precedence issues

2021-01-12 Thread Chunfeng Yun
Add () around macro argument to avoid precedence issues Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on kernel 5.10-rc1 v3: add acked-by Florian v2: add Cc Florian ---

[PATCH RESEND v4 06/11] usb: gadget: bdc: add identifier name for function declaraion

2021-01-12 Thread Chunfeng Yun
This is used to avoid the warning of function arguments, e.g. WARNING:FUNCTION_ARGUMENTS: function definition argument 'u32' should also have an identifier name Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no

[PATCH RESEND v4 01/11] usb: gadget: bdc: fix improper SPDX comment style for header file

2021-01-12 Thread Chunfeng Yun
For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- v4 resend: base on kernel 5.11-rc1 v4: no changes, but rebase on

Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-12 Thread Pierre-Louis Bossart
+#if IS_ENABLED(CONFIG_DELL_PRIVACY) + /* Privacy LED Trigger State Changed by muted/unmute switch */ + if (mc->invert) { + val0 = ucontrol->value.integer.value[0]; + val1 = ucontrol->value.integer.value[1]; + if (val0 == 1 && val1 == 1) {

Re: [PATCH net-next 2/4] dt-bindings: net: remove modem-remoteproc property

2021-01-12 Thread Rob Herring
On Tue, Jan 12, 2021 at 01:28:29PM -0600, Alex Elder wrote: > The IPA driver uses the remoteproc SSR notifier now, rather than the > temporary IPA notification system used initially. As a result it no > longer needs a property identifying the modem subsystem DT node. > > Use GIC_SPI rather than

Re: [PATCH v2 2/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B

2021-01-12 Thread Rob Herring
On Mon, Jan 11, 2021 at 07:29:28PM +0100, AngeloGioacchino Del Regno wrote: > Add bindings for the Awinic AW9523/AW9523B I2C GPIO Expander driver. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../pinctrl/awinic,aw9523-pinctrl.yaml| 112 ++ > 1 file changed,

Re: [PATCH] net: phy: smsc: fix clk error handling

2021-01-12 Thread Jakub Kicinski
On Mon, 11 Jan 2021 15:17:05 +0100 Andrew Lunn wrote: > On Mon, Jan 11, 2021 at 09:59:32AM +0100, Marco Felsch wrote: > > Commit bedd8d78aba3 ("net: phy: smsc: LAN8710/20: add phy refclk in > > support") added the phy clk support. The commit already checks if > > clk_get_optional() throw an error

Re: [PATCH] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-12 Thread Linus Torvalds
On Tue, Jan 12, 2021 at 6:14 PM Linus Torvalds wrote: > > Ack. I'll assume I get this the usual ways from the arm64 tree.. Oh.. Actually, while you can use my ack if you decide to go this way, I do wonder if it might not be better to introduce a notion of an error at Kconfig time, and then we

Re: [PATCH net-next 2/4] dt-bindings: net: remove modem-remoteproc property

2021-01-12 Thread Rob Herring
On Tue, 12 Jan 2021 13:28:29 -0600, Alex Elder wrote: > The IPA driver uses the remoteproc SSR notifier now, rather than the > temporary IPA notification system used initially. As a result it no > longer needs a property identifying the modem subsystem DT node. > > Use GIC_SPI rather than 0 in

Re: [PATCH 14/24] kvm: mmu: Wrap mmu_lock lock / unlock in a function

2021-01-12 Thread kernel test robot
Hi Ben, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.11-rc3 next-20210112] [cannot apply to kvm/linux-next kvmarm/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

[PATCH 0/1] kasan: support backing vmalloc space for riscv

2021-01-12 Thread Nylon Chen
This patchset is support KASAN_VMALLOC in riscv. We reference x86/s390 mailing list discussion for our implement. https://lwn.net/Articles/797950/ It's also pass `vmalloc-out-of-bounds` of test_kasan.ko log: [ 235.834318] # Subtest: kasan [ 235.835190] 1..37 [ 235.845238]

[PATCH 1/1] riscv/kasan: add KASAN_VMALLOC support

2021-01-12 Thread Nylon Chen
It's reference x86/s390 architecture. So, it's don't map the early shadow page to cover VMALLOC space. Prepopulate top level page table for the range that would otherwise be empty. lower levels are filled dynamically upon memory allocation while booting. Signed-off-by: Nylon Chen

[PATCH 1/1] riscv: Fix KASAN memory mapping.

2021-01-12 Thread Nylon Chen
From: Nick Hu Use virtual address instead of physical address when translating the address to shadow memory by kasan_mem_to_shadow(). Signed-off-by: Nick Hu Signed-off-by: Nylon Chen --- arch/riscv/mm/kasan_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [RFC PATCH v3 0/6] Restricted DMA

2021-01-12 Thread Tomasz Figa
Hi Florian, On Wed, Jan 13, 2021 at 3:01 AM Florian Fainelli wrote: > > On 1/11/21 11:48 PM, Claire Chang wrote: > > On Fri, Jan 8, 2021 at 1:59 AM Florian Fainelli > > wrote: > >> > >> On 1/7/21 9:42 AM, Claire Chang wrote: > >> > Can you explain how ATF gets involved and to what extent

Re: [PATCH] drm: amdgpu: pm: Mark vangogh_clk_dpm_is_enabled() as static

2021-01-12 Thread Huang Rui
On Wed, Jan 13, 2021 at 10:21:26AM +0800, Huang Rui wrote: > On Wed, Jan 13, 2021 at 10:13:02AM +0800, Alex Deucher wrote: > > On Tue, Jan 12, 2021 at 8:19 PM Huang Rui wrote: > > > > > > On Wed, Jan 13, 2021 at 03:57:22AM +0800, Souptick Joarder wrote: > > > > kernel test robot throws below

Re: [PATCH v1 3/7] perf cs-etm: Calculate per CPU metadata array size

2021-01-12 Thread Leo Yan
Hi Mike, On Wed, Jan 13, 2021 at 12:00:10AM +, Mike Leach wrote: [...] > > diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c > > index a2a369e2fbb6..edaec57362f0 100644 > > --- a/tools/perf/util/cs-etm.c > > +++ b/tools/perf/util/cs-etm.c > > @@ -2558,12 +2558,19 @@ int

Re: [PATCH net] rxrpc: Call state should be read with READ_ONCE() under some circumstances

2021-01-12 Thread Jakub Kicinski
On Tue, 12 Jan 2021 15:59:15 + David Howells wrote: > From: Baptiste Lepers > > The call state may be changed at any time by the data-ready routine in > response to received packets, so if the call state is to be read and acted > upon several times in a function, READ_ONCE() must be used

[tip:x86/cleanups] BUILD SUCCESS 11aa1415d8bd2920ce884356479eabbd64b1df2a

2021-01-12 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a002-20210112 i386 randconfig-a005-20210112

Re: [PATCH] drm: amdgpu: pm: Mark vangogh_clk_dpm_is_enabled() as static

2021-01-12 Thread Huang Rui
On Wed, Jan 13, 2021 at 10:13:02AM +0800, Alex Deucher wrote: > On Tue, Jan 12, 2021 at 8:19 PM Huang Rui wrote: > > > > On Wed, Jan 13, 2021 at 03:57:22AM +0800, Souptick Joarder wrote: > > > kernel test robot throws below warnings -> > > > > > >

Re: [PATCH bpf-next v6 04/11] bpf: Rename BPF_XADD and prepare to encode other atomics in .imm

2021-01-12 Thread kernel test robot
-next.git master config: riscv-randconfig-p001-20210112 (attached as .config) compiler: riscv32-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-12 Thread Frank Rowand
On 1/12/21 2:46 PM, Rob Herring wrote: > On Tue, Jan 12, 2021 at 2:05 PM Frank Rowand wrote: >> >> On 1/12/21 1:41 PM, Rob Herring wrote: >>> On Tue, Jan 12, 2021 at 1:06 PM Frank Rowand wrote: On 1/12/21 8:04 AM, Rob Herring wrote: > On Mon, Jan 11, 2021 at 4:06 PM Frank Rowand

RE: [PATCH V5 7/8] remoteproc: imx_rproc: ignore mapping vdev regions

2021-01-12 Thread Peng Fan
> Subject: Re: [PATCH V5 7/8] remoteproc: imx_rproc: ignore mapping vdev > regions > > On Tue, Jan 12, 2021 at 09:41:12AM +, Peng Fan wrote: > > > Subject: Re: [PATCH V5 7/8] remoteproc: imx_rproc: ignore mapping > > > vdev regions > > > > > > On Tue, Dec 29, 2020 at 11:30:18AM +0800,

Re: [PATCH v1] net/ipv4: add IPv4_is_multicast() check in ip_mc_leave_group().

2021-01-12 Thread Jakub Kicinski
On Tue, 12 Jan 2021 00:47:09 -0800 wangyingji...@126.com wrote: > From: Yingjie Wang > > There is no IPv4_is_multicast() check added to ip_mc_leave_group() > to determine whether imr->imr_multiaddr.s_addr is a multicast address. > If not a multicast address, it may result in an error. > In some

Re: [PATCH 0/1] mm: restore full accuracy in COW page reuse

2021-01-12 Thread Matthew Wilcox
On Mon, Jan 11, 2021 at 02:18:13PM -0800, Linus Torvalds wrote: > The whole "optimistic page references throigh page cache" etc are > complete non-issues, because the whole point is that we already know > it's not a page cache page. There is simply no other way to reach that > page than through

Re: [PATCH 2/2] mmc: sdhci-pci-gli: Disable ASPM during a suspension

2021-01-12 Thread Victor Ding
On Wed, Jan 13, 2021 at 9:38 AM Bjorn Helgaas wrote: > > On Tue, Jan 12, 2021 at 04:02:05AM +, Victor Ding wrote: > > GL9750 has a 3100us PortTPowerOnTime; however, it enters L1.2 after > > only ~4us inactivity per PCIe trace. During a suspend/resume process, > > PCI access operations are

Re: [PATCH v14 6/6] arm64: Add IMA log information in kimage used for kexec

2021-01-12 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > Address and size of the buffer containing the IMA measurement log need > to be passed from the current kernel to the next kernel on kexec. > > Any existing "linux,ima-kexec-buffer" property in the device tree > needs to be removed and its corresponding memory

Re: [PATCH 1/2] PCI/ASPM: Disable ASPM until its LTR and L1ss state is restored

2021-01-12 Thread Victor Ding
Hi Bjorn, On Wed, Jan 13, 2021 at 9:32 AM Bjorn Helgaas wrote: > > Hi Victor, > > Thanks for the patch. Improving suspend/resume performance is always > a good thing! > > On Tue, Jan 12, 2021 at 04:02:04AM +, Victor Ding wrote: > > Right after powering up, the device may have ASPM enabled;

Re: [PATCH v14 4/6] powerpc: Delete unused functions

2021-01-12 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > delete_fdt_mem_rsv() defined in "arch/powerpc/kexec/file_load.c" > has been renamed to fdt_find_and_del_mem_rsv(), and moved to > "drivers/of/kexec.c". > > Remove delete_fdt_mem_rsv() in "arch/powerpc/kexec/file_load.c". > > Call of_kexec_setup_new_fdt() from

Re: [PATCH v14 2/6] powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c

2021-01-12 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > The functions defined in "arch/powerpc/kexec/ima.c" handle setting up > and freeing the resources required to carry over the IMA measurement > list from the current kernel to the next kernel across kexec system call. > These functions do not have architecture

Re: [PATCH] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-12 Thread Linus Torvalds
On Tue, Jan 12, 2021 at 2:48 PM Will Deacon wrote: > > Life is too short for buggy compilers, so raise the minimum GCC version > required by arm64 to 5.1. Ack. I'll assume I get this the usual ways from the arm64 tree.. Linus

RE: [PATCH v0 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-12 Thread Praveen Chaudhary
Thanks for the hint, Yeah I missed the call to rt6_add_dflt_router while applying patch to master branch. I am developer of SONiC OS (https://azure.github.io/SONiC/) in LinkedIn. We are planning to move to IPv6 only network and I realise that IPv6 needs capability to let administrator configure

Re: [PATCH v2] af/rvu_cgx: Fix missing check bugs in rvu_cgx.c

2021-01-12 Thread Jakub Kicinski
On Mon, 11 Jan 2021 18:09:49 -0800 wangyingji...@126.com wrote: > From: Yingjie Wang > > In rvu_mbox_handler_cgx_mac_addr_get() > and rvu_mbox_handler_cgx_mac_addr_set(), > the msg is expected only from PFs that are mapped to CGX LMACs. > It should be checked before mapping, > so we add the

Re: [PATCH] drm: amdgpu: pm: Mark vangogh_clk_dpm_is_enabled() as static

2021-01-12 Thread Alex Deucher
On Tue, Jan 12, 2021 at 8:19 PM Huang Rui wrote: > > On Wed, Jan 13, 2021 at 03:57:22AM +0800, Souptick Joarder wrote: > > kernel test robot throws below warnings -> > > > > drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:594:6: > > warning: no previous prototype for

Re: [PATCH 1/2] init/main.c: fix strings split across lines

2021-01-12 Thread Liu Peibao
On 1/13/21 5:11 AM, Steven Rostedt wrote: On Tue, 12 Jan 2021 22:26:21 +0800 Liu Peibao wrote: Thanks for your replay! I get it. But I still feel a little confused that we use different standard to measure the existing code and the new code. I also checked some commits, there are similar

[PATCH V4] arch: kernel: cpu: x86/resctrl: Takes a letter away and append a colon to match below struct member

2021-01-12 Thread Bhaskar Chowdhury
s/kernlfs/kernfs/ s/@mon_data_kn/@mon_data_kn:/ Signed-off-by: Bhaskar Chowdhury --- Changes from V3: Fix the subject line typo stuc to struct and mention cpu architecture arch/x86/kernel/cpu/resctrl/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v6 2/2] Documentation: fpga: dfl: Add description for DFL UIO support

2021-01-12 Thread Xu Yilun
This patch adds description for UIO support for dfl devices on DFL bus. Signed-off-by: Xu Yilun --- v2: no doc in v1, add it for v2. v3: some documentation fixes. v4: documentation change since the driver matching is changed. v5: no change. v6: improve the title of the userspace driver support

[PATCH v6 1/2] fpga: dfl: add the userspace I/O device support for DFL devices

2021-01-12 Thread Xu Yilun
This patch supports the DFL drivers be written in userspace. This is realized by exposing the userspace I/O device interfaces. The driver leverages the uio_pdrv_genirq, it adds the uio_pdrv_genirq platform device with the DFL device's resources, and let the generic UIO platform device driver

[PATCH v6 0/2] UIO support for dfl devices

2021-01-12 Thread Xu Yilun
This patchset supports some dfl device drivers written in userspace. In the patchset v1, the "driver_override" interface should be used to bind the DFL UIO driver to DFL devices. But there is concern that the "driver_override" interface is not OK itself. In v2, we use a new matching algorithem.

[PATCH v5] perf stat: Fix wrong skipping for per-die aggregation

2021-01-12 Thread Jin Yao
Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on AP system. On cascade Lake-AP, we have: S0-D0 S0-D1 S1-D0 S1-D1 But in check_per_pkg(), S0-D1 and S1-D1 are skipped because the

Re: [PATCH] pinctrl: sprd: style: Simplify bool comparison

2021-01-12 Thread Baolin Wang
On Tue, Jan 12, 2021 at 4:28 PM YANG LI wrote: > > Fix the following coccicheck warning: > ./drivers/pinctrl/sprd/pinctrl-sprd.c:690:8-23: WARNING: Comparison to > bool > > Reported-by: Abaci Robot > Signed-off-by: YANG LI The subject line should be "pinctrl: sprd: Simplify xxx", otherwise

Re: [RFC PATCH v3 2/6] swiotlb: Add restricted DMA pool

2021-01-12 Thread Robin Murphy
On 2021-01-07 17:57, Konrad Rzeszutek Wilk wrote: On Fri, Jan 08, 2021 at 01:39:18AM +0800, Claire Chang wrote: Hi Greg and Konrad, This change is intended to be non-arch specific. Any arch that lacks DMA access control and has devices not behind an IOMMU can make use of it. Could you share

[PATCH v1 net-next 0/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-12 Thread Praveen Chaudhary
Allow user to set metric on default route learned via Router Advertisement. Note: RFC 4191 does not say anything for metric for IPv6 default route. Fix: For IPv4, default route is learned via DHCPv4 and user is allowed to change metric using config in etc/network/interfaces. But for IPv6,

Re: [PATCH v2 1/3] x86/mce: Avoid infinite loop for copy from user recovery

2021-01-12 Thread Luck, Tony
On Tue, Jan 12, 2021 at 02:04:55PM -0800, Andy Lutomirski wrote: > > But we know that the fault happend in a get_user() or copy_from_user() call > > (i.e. an RIP with an extable recovery address). Does context switch > > access user memory? > > No, but NMI can. > > The case that would be very

[PATCH v1 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-12 Thread Praveen Chaudhary
For IPv4, default route is learned via DHCPv4 and user is allowed to change metric using config etc/network/interfaces. But for IPv6, default route can be learned via RA, for which, currently a fixed metric value 1024 is used. Ideally, user should be able to configure metric on default route for

RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-12 Thread Yuan, Perry
> -Original Message- > From: Limonciello, Mario > Sent: 2021年1月12日 22:48 > To: Yuan, Perry; Pierre-Louis Bossart; oder_ch...@realtek.com; > pe...@perex.cz; ti...@suse.com > Cc: alsa-de...@alsa-project.org; lgirdw...@gmail.com; linux- > ker...@vger.kernel.org; broo...@kernel.org >

[RFC PATCH 1/2] arm64/cpuinfo: Move init_cpu_features() ahead of setup.c::early_fixmap_init()

2021-01-12 Thread Jia He
Move init_cpu_features() ahead of setup_arch()->early_fixmap_init(), which is the preparation work for checking the condition to assign arm64_use_ng_mappings as cpus_have_const_cap(ARM64_UNMAP_KERNEL_AT_EL0). Besides, jump_label_init() is also moved ahead because cpus_have_const_cap() depends on

[RFC PATCH 0/2] Avoid booting stall caused by

2021-01-12 Thread Jia He
There is a 10s stall in idmap_kpti_install_ng_mappings when kernel boots on a Ampere EMAG server. Commit f992b4dfd58b ("arm64: kpti: Add ->enable callback to remap swapper using nG mappings") updates the nG bit runtime if kpti is required. But things get worse if rodata=full in map_mem().

[RFC PATCH 2/2] arm64: kpti: Update arm64_use_ng_mappings before pagetable mapping

2021-01-12 Thread Jia He
There is a 10s stall in idmap_kpti_install_ng_mappings when kernel boots on a Ampere EMAG server. Commit f992b4dfd58b ("arm64: kpti: Add ->enable callback to remap swapper using nG mappings") updates the nG bit runtime if kpti is required. But things get worse if rodata=full in map_mem().

[PATCH 2/2] drm/dp_mst: Align mst link rate with soure rate

2021-01-12 Thread Koba Ko
After read the link rate from MST hub, align with maximum source rate. Signed-off-by: Koba Ko --- drivers/gpu/drm/drm_dp_mst_topology.c | 8 drivers/gpu/drm/i915/display/intel_dp.c | 7 +++ include/drm/drm_dp_helper.h | 8 include/drm/drm_dp_mst_helper.h

Re: [PATCH] ubsan: Implement __ubsan_handle_alignment_assumption

2021-01-12 Thread Nick Desaulniers
ff15e1b05148b10d58c2837] > > > > url: > > https://github.com/0day-ci/linux/commits/Nathan-Chancellor/ubsan-Implement-__ubsan_handle_alignment_assumption/20210113-055714 > > base:7c53f6b671f4aba70ff15e1b05148b10d58c2837 > > config: arm64-randconfig-r031-202101

[PATCH 1/2] drm/dp_mst: Retrieve extended DPCD caps for topology manager

2021-01-12 Thread Koba Ko
As per DP-1.3, First check DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 1,read the DP_DP13_DPCD_REV to get the faster capability. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 0,read DP_DPCD_REV. Signed-off-by: Koba Ko Reviewed-by: Lyude Paul [added aux

RE: Re: [PATCH v18 3/3] scsi: ufs: Prepare HPB read for cached sub-region

2021-01-12 Thread Daejun Park
Hi Can Guo, > > +static void > > +ufshpb_set_hpb_read_to_upiu(struct ufshpb_lu *hpb, struct ufshcd_lrb > > *lrbp, > > + u32 lpn, u64 ppn, unsigned int transfer_len) > > +{ > > + unsigned char *cdb = lrbp->ucd_req_ptr->sc.cdb; > > + > > + cdb[0] = UFSHPB_READ; >

Re: [PATCH] ubsan: Implement __ubsan_handle_alignment_assumption

2021-01-12 Thread Nathan Chancellor
/Nathan-Chancellor/ubsan-Implement-__ubsan_handle_alignment_assumption/20210113-055714 > base:7c53f6b671f4aba70ff15e1b05148b10d58c2837 > config: arm64-randconfig-r031-20210112 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project > 32bcfcda4e28375e5

Re: [f2fs-dev] [PATCH v2] f2fs: fix to keep isolation of atomic write

2021-01-12 Thread Chao Yu
On 2021/1/13 6:32, Jaegeuk Kim wrote: On 01/12, Chao Yu wrote: On 2021/1/12 0:32, Jaegeuk Kim wrote: On 01/06, Jaegeuk Kim wrote: On 01/06, Jaegeuk Kim wrote: Hi Chao, With a quick test, this patch causes down_write failure resulting in blocking process. I didn't dig in the bug so, please

RE: [PATCH 4.14 147/242] scsi: fnic: Fix error return code in fnic_probe()

2021-01-12 Thread Karan Tilak Kumar (kartilak)
Acked-by: Karan Tilak Kumar Regards, Karan -Original Message- From: Greg Kroah-Hartman Sent: Monday, December 28, 2020 4:49 AM To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman ; sta...@vger.kernel.org; Hulk Robot ; Karan Tilak Kumar (kartilak) ; Zhang Changzhong ; Martin K.

RE: [PATCH] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2

2021-01-12 Thread Karan Tilak Kumar (kartilak)
Acked-by: Karan Tilak Kumar Regards, Karan -Original Message- From: Dinghao Liu Sent: Friday, December 25, 2020 12:35 AM To: dinghao@zju.edu.cn; k...@umn.edu Cc: Satish Kharat (satishkh) ; Sesidhar Baddela (sebaddel) ; Karan Tilak Kumar (kartilak) ; James E.J. Bottomley ; Martin

Re: [PATCH] drivers: core: Detach device from power domain on shutdown

2021-01-12 Thread Furquan Shaikh
On Tue, Jan 12, 2021 at 5:09 AM Greg Kroah-Hartman wrote: > > On Tue, Jan 12, 2021 at 01:45:25PM +0100, Rafael J. Wysocki wrote: > > On Tue, Jan 12, 2021 at 10:55 AM Dmitry Osipenko wrote: > > > > > > 02.12.2020 00:30, Furquan Shaikh пишет: > > > > When the system is powered off or rebooted,

[PATCH v3 3/4] dt-bindings: reserved-memory: Make DMA-BUF CMA heap DT-configurable

2021-01-12 Thread Minchan Kim
From: Hyesoo Yu Document devicetree binding for chunk cma heap on dma heap framework. The DMA chunk heap supports the bulk allocation of higher order pages. Signed-off-by: Hyesoo Yu Signed-off-by: Minchan Kim Signed-off-by: Hridya Valsaraju Change-Id:

[PATCH v3 4/4] dma-buf: heaps: add chunk heap to dmabuf heaps

2021-01-12 Thread Minchan Kim
From: Hyesoo Yu This patch supports chunk heap that allocates the buffers that arranged into a list a fixed size chunks taken from CMA. The chunk heap driver is bound directly to a reserved_memory node by following Rob Herring's suggestion in [1]. [1]

[PATCH v3 2/4] mm: failfast mode with __GFP_NORETRY in alloc_contig_range

2021-01-12 Thread Minchan Kim
Contiguous memory allocation can be stalled due to waiting on page writeback and/or page lock which causes unpredictable delay. It's a unavoidable cost for the requestor to get *big* contiguous memory but it's expensive for *small* contiguous memory(e.g., order-4) because caller could retry the

[PATCH v3 0/4] Chunk Heap Support on DMA-HEAP

2021-01-12 Thread Minchan Kim
This patchset introduces a new dma heap, "chunk-heap" that makes it easy to perform the bulk allocation of high order pages. It has been created to help optimize the 4K/8K HDR video playback with secure DRM HW to protect contents on memory. The HW needs physically contiguous memory chunks(e.g,

[PATCH v3 1/4] mm: cma: introduce gfp flag in cma_alloc instead of no_warn

2021-01-12 Thread Minchan Kim
The upcoming patch will introduce __GFP_NORETRY semantic in alloc_contig_range which is a failfast mode of the API. Instead of adding a additional parameter for gfp, replace no_warn with gfp flag. To keep old behaviors, it follows the rule below. no_warn gfp_flags

Re: [PATCH v3 0/9] Support Runtime PM and host mode by Tegra ChipIdea USB driver

2021-01-12 Thread Peter Chen
On 21-01-12 09:56:37, Dmitry Osipenko wrote: > 29.12.2020 17:26, Dmitry Osipenko пишет: > > 29.12.2020 08:16, Peter Chen пишет: > >> On 20-12-18 15:02:37, Dmitry Osipenko wrote: > >>> This series implements Runtime PM support for the Tegra ChipIdea USB > >>> driver. > >>> It also squashes the

[PATCH 2/2] kbuild: handle excessively long argument lists

2021-01-12 Thread Jeff Johnson
From: Mahesh Kumar Kalikot Veetil Modules with a large number of compilation units may be exceeding AR and LD command argument list. Handle this gracefully by writing the long argument list in a file. The command line options read from file are inserted in place of the original @file option.

[PATCH v2] gcc-plugins: fix gcc 11 indigestion with plugins...

2021-01-12 Thread Valdis Klētnieks
Fedora Rawhide has started including gcc 11,and the g++ compiler throws a wobbly when it hits scripts/gcc-plugins: HOSTCXX scripts/gcc-plugins/latent_entropy_plugin.so In file included from /usr/include/c++/11/type_traits:35, from

Re: [PATCH] drm: amdgpu: pm: Mark vangogh_clk_dpm_is_enabled() as static

2021-01-12 Thread Huang Rui
On Wed, Jan 13, 2021 at 03:57:22AM +0800, Souptick Joarder wrote: > kernel test robot throws below warnings -> > > drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:594:6: > warning: no previous prototype for 'vangogh_clk_dpm_is_enabled' > [-Wmissing-prototypes] >

[PATCH 1/2] kbuild: simplify cmd_mod

2021-01-12 Thread Jeff Johnson
From: Mahesh Kumar Kalikot Veetil Modules with a large number of compilation units can exceed execv argument list resulting in E2BIG (Argument list too long) error. Fix this by replacing shell 'echo > file' into a more native $(file op filename[,text]) option. Signed-off-by: Mahesh Kumar

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