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 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 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] 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] 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 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] 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 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] 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 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 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

[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: [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 > --- >

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: [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] 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 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 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/4] dt-bindings: renesas,rcar-dmac: Add r8a779a0 support

2021-01-12 Thread Rob Herring
On Thu, 07 Jan 2021 19:15:21 +0100, Geert Uytterhoeven wrote: > Document the compatible value for the Direct Memory Access Controller > blocks in the Renesas R-Car V3U (R8A779A0) SoC. > > The most visible difference with DMAC blocks on other R-Car SoCs is the > move of the per-channel registers

Re: [PATCH 3/7] soc: qcom: geni: Add support for gpi dma

2021-01-12 Thread Vinod Koul
On 12-01-21, 16:01, Doug Anderson wrote: > Hi, > > On Mon, Jan 11, 2021 at 7:17 AM Vinod Koul wrote: > > > > +static int geni_se_select_gpi_mode(struct geni_se *se) > > +{ > > + unsigned int geni_dma_mode = 0; > > + unsigned int gpi_event_en = 0; > > + unsigned int

Re: [PATCH 4/7] spi: spi-geni-qcom: Add support for GPI dma

2021-01-12 Thread Vinod Koul
On 12-01-21, 16:01, Doug Anderson wrote: > Hi, > > On Mon, Jan 11, 2021 at 7:17 AM Vinod Koul wrote: > > > > We can use GPI DMA for devices where it is enabled by firmware. Add > > support for this mode > > > > Signed-off-by: Vinod Koul > > --- > > drivers/spi/spi-geni-qcom.c | 395

Re: [PATCH v2 1/5] dt-bindings: mailbox: Add binding for SDX55 APCS

2021-01-12 Thread Rob Herring
On Fri, Jan 08, 2021 at 05:02:29PM +0530, Manivannan Sadhasivam wrote: > Add devicetree YAML binding for SDX55 APCS GCC block. The APCS block > acts as the mailbox controller and also provides a clock output and > takes 3 clock sources (pll, aux, ref) as input. > > Signed-off-by: Manivannan

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. Oh, and thinking about this

Re: mmotm 2021-01-12-01-57 uploaded (NR_SWAPCACHE in mm/)

2021-01-12 Thread Stephen Rothwell
Hi all, On Tue, 12 Jan 2021 13:50:10 -0800 Andrew Morton wrote: > > On Tue, 12 Jan 2021 12:38:18 -0800 Randy Dunlap wrote: > > > On 1/12/21 1:58 AM, a...@linux-foundation.org wrote: > > > The mm-of-the-moment snapshot 2021-01-12-01-57 has been uploaded to > > > > > >

Re: [PATCH v2 3/5] dt-bindings: clock: Add Qualcomm A7 PLL binding

2021-01-12 Thread Rob Herring
On Fri, 08 Jan 2021 17:02:31 +0530, Manivannan Sadhasivam wrote: > Add devicetree YAML binding for Cortex A7 PLL clock in Qualcomm > platforms like SDX55. > > Signed-off-by: Manivannan Sadhasivam > --- > .../devicetree/bindings/clock/qcom,a7pll.yaml | 51 +++ > 1 file changed,

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

2021-01-12 Thread Randy Dunlap
On 1/12/21 5:21 PM, Minchan Kim wrote: > +config DMABUF_HEAPS_CHUNK > + bool "DMA-BUF CHUNK Heap" > + depends on DMABUF_HEAPS && DMA_CMA > + help > + Choose this option to enable dma-buf CHUNK heap. This heap is backed > + by the Contiguous Memory Allocator (CMA) and

Re: [PATCH v3] vhost_vdpa: fix the problem in vhost_vdpa_set_config_call

2021-01-12 Thread Jason Wang
On 2021/1/12 下午1:36, Cindy Lu wrote: In vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa. this cb.private will finally use in vhost_vdpa_config_cb as vhost_vdpa. Fix this issue. Fixes: 776f395004d82 ("vhost_vdpa: Support config interrupt in vdpa") Acked-by: Jason Wang

RE: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-12 Thread Bharat Gooty
Hello Ray, I had cross checked with Design and integration team. Yes we can set the "dma-rages" to 40 bit DMA ranges. Tested, it is working. Thanks, -Bharat -Original Message- From: Ray Jui Sent: Wednesday, January 13, 2021 2:28 AM To: Arnd Bergmann Cc: Florian Fainelli ; Bharat Gooty

[PATCH v2] pinctrl: sprd: Simplify bool comparison

2021-01-12 Thread Yang Li
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 --- Changes in v2: - make "pinctrl: sprd:" as subject prefix drivers/pinctrl/sprd/pinctrl-sprd.c | 2 +- 1 file changed, 1

[PATCH] net: stmmac: Fixed mtu channged by cache aligned

2021-01-12 Thread David Wu
Since the original mtu is not used when the mtu is updated, the mtu is aligned with cache, this will get an incorrect. For example, if you want to configure the mtu to be 1500, but mtu 1536 is configured in fact. Fixed: eaf4fac478077 ("net: stmmac: Do not accept invalid MTU values")

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

2021-01-12 Thread Florian Fainelli
On 1/12/2021 6:29 PM, Tomasz Figa wrote: > 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

[tip:auto-latest] BUILD SUCCESS 83e7ef80f52d4621c4063454f4e359d4d0a2136c

2021-01-12 Thread kernel test robot
i386 randconfig-a002-20210112 i386 randconfig-a005-20210112 i386 randconfig-a006-20210112 i386 randconfig-a003-20210112 i386 randconfig-a001-20210112 i386 randconfig-a004-20210112 x86_64

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

2021-01-12 Thread Dongseok Yi
On 2021-01-13 12:10, Alexander Duyck wrote: > 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

Re: Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Changheun Lee
>On 2021/01/12 21:14, Changheun Lee wrote: >>> On 2021/01/12 17:52, Changheun Lee wrote: From: "Changheun Lee" bio size can grow up to 4GB when muli-page bvec is enabled. but sometimes it would lead to inefficient behaviors. in case of large chunk direct I/O, - 64MB chunk

[PATCH v2 0/3] PinePhone volume key (LRADC) wakeup support

2021-01-12 Thread Samuel Holland
This series allows the volume keys on the PinePhone to wake up the device. As pointed out for v1, wakeup should only be enabled when a "wakeup-source" property is present, so v2 requires DT and binding changes in addition to the driver change. Changes since v1: - Add requisite DT binding change

[PATCH v2 3/3] arm64: dts: allwinner: pinephone: Support volume key wakeup

2021-01-12 Thread Samuel Holland
PinePhone volume keys are connected to the LRADC in the A64. Users may want to use them to wake the device from sleep. Support this by declaring the LRADC as a wakeup source. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 1 + 1 file changed, 1

Re: [RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-12 Thread Jason Wang
On 2021/1/13 上午7:47, Willem de Bruijn wrote: On Tue, Jan 12, 2021 at 3:29 PM Yuri Benditovich wrote: On Tue, Jan 12, 2021 at 9:49 PM Yuri Benditovich wrote: On Tue, Jan 12, 2021 at 9:41 PM Yuri Benditovich wrote: Existing TUN module is able to use provided "steering eBPF" to calculate

[PATCH v2 2/3] input: sun4i-lradc-keys - Add wakup support

2021-01-12 Thread Samuel Holland
From: Ondrej Jirman Allow the driver to wake the system on key press if the "wakeup-source" property is provided in the device tree. Using the LRADC as a wakeup source requires keeping the AVCC domain active during sleep. Since this has a nontrivial impact on power consumption (sometimes

[PATCH v2 1/3] dt-bindings: sun4i-a10-lradc-keys: Accept wakeup-source property

2021-01-12 Thread Samuel Holland
The LRADC provides an interrupt that can be used to wake the system. Signify this by accepting a "wakeup-source" property in the binding. Signed-off-by: Samuel Holland --- .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

linux-next: build warning after merge of the jc_docs tree

2021-01-12 Thread Stephen Rothwell
Hi all, After merging the jc_docs tree, today's linux-next build (htmldocs) produced this warning: Documentation/translations/zh_CN/mips/ingenic-tcu.rst:61: WARNING: Malformed table. Text in column margin in table line 6. === = 时钟drivers/clk/ingenic/tcu.c 中断

linux-next: build warning after merge of the v4l-dvb tree

2021-01-12 Thread Stephen Rothwell
Hi all, After merging the v4l-dvb tree, today's linux-next build (htmldocs) produced this warning: Documentation/driver-api/media/v4l2-subdev.rst:125: WARNING: Inline interpreted text or phrase reference start-string without end-string. Introduced by commit 25c8d9a7689e ("media:

Re: [PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF add/remove

2021-01-12 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Fri, 8 Jan 2021 16:53:40 -0800 you wrote: > From: Long Li > > This patch set fixes issues with packet loss on VF add/remove. > > Long Li (3): > hv_netvsc: Check VF datapath when sending traffic to VF >

Re: [PATCH 1/2] KVM: x86: introduce definitions to support static calls for kvm_x86_ops

2021-01-12 Thread Jason Baron
On 1/12/21 6:04 PM, Sean Christopherson wrote: On Mon, Jan 11, 2021, Jason Baron wrote: Use static calls to improve kvm_x86_ops performance. Introduce the definitions that will be used by a subsequent patch to actualize the savings. Note that all kvm_x86_ops are covered here except for

linux-next: build warning after merge of the jc_docs tree

2021-01-12 Thread Stephen Rothwell
Hi all, After merging the jc_docs tree, today's linux-next build (htmldocs) produced this warning: Documentation/translations/zh_CN/mips/booting.rst:5: WARNING: undefined label: booting (if the link has no caption the label must precede a section header) Introduced by commit 7fd3954b0c52

Re: [PATCH v3] vhost_vdpa: fix the problem in vhost_vdpa_set_config_call

2021-01-12 Thread Cindy Lu
On Wed, Jan 13, 2021 at 11:38 AM Jason Wang wrote: > > > On 2021/1/12 下午1:36, Cindy Lu wrote: > > In vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa. > > this cb.private will finally use in vhost_vdpa_config_cb as > > vhost_vdpa. Fix this issue. > > > > Fixes: 776f395004d82

linux-next: build warning after merge of the jc_docs tree

2021-01-12 Thread Stephen Rothwell
Hi all, After merging the jc_docs tree, today's linux-next build (htmldocs) produced this warning: Documentation/translations/zh_CN/mips/index.rst:5: WARNING: undefined label: index (if the link has no caption the label must precede a section header) Introduced by commit b8e724fd7117

Re: [PATCH v3] vhost_vdpa: fix the problem in vhost_vdpa_set_config_call

2021-01-12 Thread Cindy Lu
On Tue, Jan 12, 2021 at 3:53 PM Greg KH wrote: > > On Tue, Jan 12, 2021 at 01:36:29PM +0800, Cindy Lu wrote: > > In vhost_vdpa_set_config_call, the cb.private should be vhost_vdpa. > > this cb.private will finally use in vhost_vdpa_config_cb as > > vhost_vdpa. Fix this issue. > > > > Fixes:

Re: [PATCH 1/9] arm64: defconfig: Enable vibra-pwm

2021-01-12 Thread Krzysztof Kozlowski
On Tue, Jan 12, 2021 at 10:51:43AM +0100, Martin Kepplinger wrote: > From: Guido Günther > > The haptic motor for the Librem 5 uses this. > > Signed-off-by: Guido Günther > Signed-off-by: Martin Kepplinger > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) >

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

2021-01-12 Thread Andy Lutomirski
> On Jan 12, 2021, at 5:50 PM, Luck, Tony wrote: > > 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

Re: [PATCH 2/9] arm64: dts: imx8mq-librem5: Mark charger IRQ as High-Z

2021-01-12 Thread Krzysztof Kozlowski
On Tue, Jan 12, 2021 at 10:51:44AM +0100, Martin Kepplinger wrote: > From: Guido Günther > > This is consistent with other IRQs and makes keeps currents low. > > Signed-off-by: Guido Günther > Signed-off-by: Martin Kepplinger > --- > arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +- >

[PATCH V2 00/11] arm64: coresight: Enable ETE and TRBE

2021-01-12 Thread Anshuman Khandual
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 support series [0] which is available here [1]. This series which applies on [1] is avaialble here [2] for quick access. ETE is

[PATCH V2 01/11] coresight: etm-perf: Allow an event to use different sinks

2021-01-12 Thread Anshuman Khandual
From: Suzuki K Poulose When there are multiple sinks on the system, in the absence of a specified sink, it is quite possible that a default sink for an ETM could be different from that of another ETM. However we do not support having multiple sinks for an event yet. This patch allows the event

[PATCH V2 02/11] coresight: Do not scan for graph if none is present

2021-01-12 Thread Anshuman Khandual
From: Suzuki K Poulose If a graph node is not found for a given node, of_get_next_endpoint() will emit the following error message : OF: graph: no port node found in / If the given component doesn't have any explicit connections (e.g, ETE) we could simply ignore the graph parsing. Cc:

Re: linux-next: build warning after merge of the jc_docs tree

2021-01-12 Thread Stephen Rothwell
Hi all, On Wed, 13 Jan 2021 15:12:54 +1100 Stephen Rothwell wrote: > > After merging the jc_docs tree, today's linux-next build (htmldocs) > produced this warning: > > Documentation/translations/zh_CN/mips/booting.rst:5: WARNING: undefined > label: booting (if the link has no caption the

[PATCH V2 04/11] coresight: ete: Add support for ETE sysreg access

2021-01-12 Thread Anshuman Khandual
From: Suzuki K Poulose Add support for handling the system registers for Embedded Trace Extensions (ETE). ETE shares most of the registers with ETMv4 except for some and also adds some new registers. Re-arrange the ETMv4x list to share the common definitions and add the ETE sysreg support. Cc:

[PATCH V2 06/11] dts: bindings: Document device tree bindings for ETE

2021-01-12 Thread Anshuman Khandual
From: Suzuki K Poulose Document the device tree bindings for Embedded Trace Extensions. ETE can be connected to legacy coresight components and thus could optionally contain a connection graph as described by the CoreSight bindings. Cc: devicet...@vger.kernel.org Cc: Mathieu Poirier Cc: Mike

[PATCH V2 05/11] coresight: ete: Add support for ETE tracing

2021-01-12 Thread Anshuman Khandual
From: Suzuki K Poulose Add ETE as one of the supported device types we support with ETM4x driver. The devices are named following the existing convention as ete. ETE mandates that the trace resource status register is programmed before the tracing is turned on. For the moment simply write to it

[PATCH V2 03/11] coresight: etm4x: Add support for PE OS lock

2021-01-12 Thread Anshuman Khandual
From: Suzuki K Poulose ETE may not implement the OS lock and instead could rely on the PE OS Lock for the trace unit access. This is indicated by the TRCOLSR.OSM == 0b100. Add support for handling the PE OS lock Cc: Mathieu Poirier Cc: Mike Leach Signed-off-by: Suzuki K Poulose

[PATCH V2 09/11] coresight: etm-perf: Truncate the perf record if handle has no space

2021-01-12 Thread Anshuman Khandual
While starting off the etm event, just abort and truncate the perf record if the perf handle as no space left. This avoids configuring both source and sink devices in case the data cannot be consumed in perf. Cc: Mathieu Poirier Cc: Mike Leach Cc: Suzuki K Poulose Signed-off-by: Anshuman

[PATCH V2 10/11] coresight: sink: Add TRBE driver

2021-01-12 Thread Anshuman Khandual
Trace Buffer Extension (TRBE) implements a trace buffer per CPU which is accessible via the system registers. The TRBE supports different addressing modes including CPU virtual address and buffer modes including the circular buffer mode. The TRBE buffer is addressed by a base pointer

[PATCH V2 08/11] coresight: core: Add support for dedicated percpu sinks

2021-01-12 Thread Anshuman Khandual
Add support for dedicated sinks that are bound to individual CPUs. (e.g, TRBE). To allow quicker access to the sink for a given CPU bound source, keep a percpu array of the sink devices. Also, add support for building a path to the CPU local sink from the ETM. This adds a new percpu sink type

[PATCH V2 07/11] arm64: Add TRBE definitions

2021-01-12 Thread Anshuman Khandual
This adds TRBE related registers and corresponding feature macros. Cc: Mathieu Poirier Cc: Mike Leach Cc: Suzuki K Poulose Signed-off-by: Anshuman Khandual --- arch/arm64/include/asm/sysreg.h | 49 + 1 file changed, 49 insertions(+) diff --git

[PATCH V2 11/11] dts: bindings: Document device tree bindings for Arm TRBE

2021-01-12 Thread Anshuman Khandual
From: Suzuki K Poulose Document the device tree bindings for Trace Buffer Extension (TRBE). Cc: Anshuman Khandual Cc: Mathieu Poirier Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Suzuki K Poulose Signed-off-by: Anshuman Khandual ---

Re: [PATCH 9/9] dt-bindings: arm: fsl: Add the librem 5 Evergreen revision

2021-01-12 Thread Krzysztof Kozlowski
On Tue, Jan 12, 2021 at 10:51:51AM +0100, Martin Kepplinger wrote: > Add an entry for the Librem 5 phone, Evergreen revision which is supported > by "r4". Schematics and more information can be found at > https://developer.puri.sm/Librem5/Hardware_Reference/Evergreen.html > > Signed-off-by:

Re: [PATCH 8/9] arm64: dts: Add Librem5 Evergreen

2021-01-12 Thread Krzysztof Kozlowski
On Tue, Jan 12, 2021 at 10:51:50AM +0100, Martin Kepplinger wrote: > Add librem5-r4 with specifics to that revision like the near-level, > battery and charger properties. For schematics and more information, > see https://developer.puri.sm/Librem5/Hardware_Reference/Evergreen.html > >

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

2021-01-12 Thread Tomasz Figa
On Wed, Jan 13, 2021 at 12:56 PM Florian Fainelli wrote: > > > > On 1/12/2021 6:29 PM, Tomasz Figa wrote: > > 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

Re: [PATCH v5 2/2] venus: venc: Add support for Long Term Reference (LTR) controls

2021-01-12 Thread dikshita
Hi Hans, On 2021-01-12 14:34, Hans Verkuil wrote: On 04/01/2021 06:09, Dikshita Agarwal wrote: Add support for below LTR controls in encoder: - V4L2_CID_MPEG_VIDEO_LTR_COUNT - V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX - V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES This patch does not add any Request API

Re: [PATCH net-next v8 0/2] net: dsa: add stats64 support

2021-01-12 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Mon, 11 Jan 2021 11:46:56 +0100 you wrote: > changes v8: > - stats.no_handler should not be assigned from HW stats > > changes v7: > - move raw.filtered from rx_errors to rx_dropped counter > > changes v6: > - move

Re: [PATCH] hci: llc_shdlc: style: Simplify bool comparison

2021-01-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 11 Jan 2021 17:24:23 +0800 you wrote: > Fix the following coccicheck warning: > ./net/nfc/hci/llc_shdlc.c:239:5-21: WARNING: Comparison to bool > > Signed-off-by: YANG LI > Reported-by: Abaci Robot > --- >

Re: [PATCH net-next] net: ipa: add config dependency on QCOM_SMEM

2021-01-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 12 Jan 2021 13:21:34 -0600 you wrote: > The IPA driver depends on some SMEM functionality (qcom_smem_init(), > qcom_smem_alloc(), and qcom_smem_virt_to_phys()), but this is not > reflected in the configuration

[PATCH] cpuset: fix typos in comments

2021-01-12 Thread Aubrey Li
Change hierachy to hierarchy and congifured to configured, no functionality changed. Signed-off-by: Aubrey Li --- kernel/cgroup/cpuset.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 57b5b5d..15f4300 100644 ---

Re: [PATCH] cpuset: fix typos in comments

2021-01-12 Thread Randy Dunlap
On 1/12/21 8:37 PM, Aubrey Li wrote: > Change hierachy to hierarchy and congifured to configured, no functionality > changed. > > Signed-off-by: Aubrey Li Reviewed-by: Randy Dunlap Thanks. > --- > kernel/cgroup/cpuset.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff

Re: [PATCH] riscv: Trace irq on only interrupt is enabled

2021-01-12 Thread Palmer Dabbelt
On Fri, 18 Dec 2020 16:20:51 PST (-0800), Atish Patra wrote: We should call irq trace only if interrupt is going to be enabled during excecption handling. Otherwise, it results in following warning during boot with lock debugging enabled. [0.00] [ cut here ] [

Re: [PATCH] riscv: Fixup CONFIG_GENERIC_TIME_VSYSCALL

2021-01-12 Thread Palmer Dabbelt
On Sun, 03 Jan 2021 02:11:35 PST (-0800), penb...@gmail.com wrote: On Sat, Jan 2, 2021 at 3:26 PM wrote: From: Guo Ren The patch fix commit: ad5d112 ("riscv: use vDSO common flow to reduce the latency of the time-related functions"). The GENERIC_TIME_VSYSCALL should be

Re: [PATCH] arm64: dts: qcom: sdm660: Fix CPU capacities

2021-01-12 Thread Danny Lin
On Tue, Jan 12, 2021 at 8:04 pm, AngeloGioacchino Del Regno wrote: Il 12/01/21 15:59, Alexey Minnekhanov ha scritto: Hi! I always had a feeling something is not right in those cpu definitions, so cpus with reg 100-103 are little cores, and 0-3 big ones? But downstream sdm660.dtsi has a

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

2021-01-12 Thread Florian Fainelli
On 1/12/2021 8:25 PM, Tomasz Figa wrote: > On Wed, Jan 13, 2021 at 12:56 PM Florian Fainelli > wrote: >> >> >> >> On 1/12/2021 6:29 PM, Tomasz Figa wrote: >>> Hi Florian, >>> >>> On Wed, Jan 13, 2021 at 3:01 AM Florian Fainelli >>> wrote: On 1/11/21 11:48 PM, Claire Chang wrote:

Re: [PATCH net-next 0/5] skbuff: introduce skbuff_heads bulking and reusing

2021-01-12 Thread Eric Dumazet
On Wed, Jan 13, 2021 at 2:02 AM Jakub Kicinski wrote: > > On Tue, 12 Jan 2021 13:23:16 +0100 Eric Dumazet wrote: > > On Tue, Jan 12, 2021 at 12:08 PM Alexander Lobakin wrote: > > > > > > From: Edward Cree > > > Date: Tue, 12 Jan 2021 09:54:04 + > > > > > > > Without wishing to weigh in on

Re: [PATCH V2 0/2] Broadcom's PMB (Power Management Bus) support

2021-01-12 Thread Florian Fainelli
On 12/14/2020 10:07 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > PMB is a hardware block used for powering SoC devices like PCIe, USB, > SATA. Initially I planned to treat it as a reset controller and Philipp > pointed out in review that PMB driver should use a power subsystem. > >

Re: [RFT PATCH 0/4] usb: dwc2: Fixes and improvements

2021-01-12 Thread Guenter Roeck
H Nicolas, On 1/12/21 11:44 AM, Nicolas Saenz Julienne wrote: > Hi Guenter, > I found patches #2 and #3 fixed an issue for us at suse. Are you planning on > sending a v2? Do you mind if I give it a try? > I don't plan a v2. The pandemic put a big hole into both my plans and my ability to test

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-12 Thread chin
At 2021-01-12 16:18:51, "Vincent Guittot" wrote: >On Tue, 12 Jan 2021 at 07:59, chin wrote: >> >> >> >> >> At 2021-01-11 19:04:19, "Vincent Guittot" wrote: >> >On Mon, 11 Jan 2021 at 09:27, chin wrote: >> >> >> >> >> >> At 2020-12-23 19:30:26, "Vincent Guittot" >> >> wrote: >> >> >On Wed,

[PATCH 1/4] media: sunxi-cir: Clean up dead register writes

2021-01-12 Thread Samuel Holland
The register writes during driver removal occur after the device is already put back in reset, so they never had any effect. Signed-off-by: Samuel Holland --- drivers/media/rc/sunxi-cir.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/media/rc/sunxi-cir.c

[PATCH 0/4] media: sunxi-cir: Cleanup and power management

2021-01-12 Thread Samuel Holland
This series cleans up some dead code in the sunxi-cir driver and adds system power management hooks. Samuel Holland (4): media: sunxi-cir: Clean up dead register writes media: sunxi-cir: Remove unnecessary spinlock media: sunxi-cir: Factor out hardware initialization media: sunxi-cir:

[PATCH 2/4] media: sunxi-cir: Remove unnecessary spinlock

2021-01-12 Thread Samuel Holland
Only one register, SUNXI_IR_CIR_REG, is accessed from outside the interrupt handler, and that register is not accessed from inside it. As there is no overlap between different contexts, no lock is needed. Signed-off-by: Samuel Holland --- drivers/media/rc/sunxi-cir.c | 10 -- 1 file

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

2021-01-12 Thread Florian Fainelli
On 1/6/2021 12:58 PM, 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 were

[PATCH 4/4] media: sunxi-cir: Implement suspend/resume/shutdown callbacks

2021-01-12 Thread Samuel Holland
To save power, gate/reset the hardware block while the system is asleep or powered off. Signed-off-by: Samuel Holland --- drivers/media/rc/sunxi-cir.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index

[PATCH 3/4] media: sunxi-cir: Factor out hardware initialization

2021-01-12 Thread Samuel Holland
In preparation for adding suspend/resume hooks, factor out the hardware initialization from the driver probe/remove functions. The timeout programmed during init is taken from the `struct rc_dev` so it is maintained across an exit/init cycle. This resolves some trivial issues with the probe

Re: [PATCH V3 2/2] scripts: dtc: Build fdtoverlay and fdtdump tools

2021-01-12 Thread Viresh Kumar
On 12-01-21, 12:34, Frank Rowand wrote: > On 1/11/21 11:08 PM, Viresh Kumar wrote: > > On 11-01-21, 18:44, Frank Rowand wrote: > >> On 1/7/21 12:25 AM, Viresh Kumar wrote: > >>> We will start building overlays for platforms soon in the kernel and > >>> would need these tools going forward. Lets

Re: [PATCH 1/2] KVM: x86: Add emulation support for #GP triggered by VM instructions

2021-01-12 Thread Wei Huang
On 1/12/21 11:56 AM, Sean Christopherson wrote: On Tue, Jan 12, 2021, Andy Lutomirski wrote: On Jan 12, 2021, at 7:46 AM, Bandan Das wrote: Andy Lutomirski writes: ... #endif diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c index 6d16481aa29d..c5c4aaf01a1a 100644 ---

Re: [PATCH V2 1/3] mm/hotplug: Prevalidate the address range being added with platform

2021-01-12 Thread Anshuman Khandual
On 1/12/21 3:39 PM, David Hildenbrand wrote: > On 12.01.21 04:51, Anshuman Khandual wrote: >> >> >> On 1/11/21 7:13 PM, Oscar Salvador wrote: >>> On Mon, Jan 11, 2021 at 11:51:47AM +0100, David Hildenbrand wrote: AFAIKs, all memhp_get_pluggable_range() users pass "1". What about

Re: [PATCH 1/2] KVM: x86: Add emulation support for #GP triggered by VM instructions

2021-01-12 Thread Wei Huang
On 1/12/21 11:59 AM, Sean Christopherson wrote: On Tue, Jan 12, 2021, Sean Christopherson wrote: On Tue, Jan 12, 2021, Wei Huang wrote: From: Bandan Das While running VM related instructions (VMRUN/VMSAVE/VMLOAD), some AMD CPUs check EAX against reserved memory regions (e.g. SMM memory on

Re: [PATCH v4] PCI: endpoint: Fix NULL pointer dereference for ->get_features()

2021-01-12 Thread Kishon Vijay Abraham I
On 12/01/21 7:32 pm, Shradha Todi wrote: > get_features ops of pci_epc_ops may return NULL, causing NULL pointer > dereference in pci_epf_test_bind function. Let us add a check for > pci_epc_feature pointer in pci_epf_test_bind before we access it to avoid > any such NULL pointer dereference

Re: Malicious fs images was Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2021-01-12 Thread Theodore Ts'o
On Tue, Jan 12, 2021 at 11:28:40PM +0100, Pavel Machek wrote: > > This thread suggested that kernel is _not_ supposed to be robust > against corrupt filesystems (because fsck is not integrated in > kernel). Which was news to me (and I'm not the person that needs > warning in execve

Re: [PATCH] rcu: Correct cpu offline trace in rcutree_dying_cpu

2021-01-12 Thread Neeraj Upadhyay
On 1/12/2021 11:01 PM, Paul E. McKenney wrote: On Mon, Jan 11, 2021 at 05:15:58PM +0530, Neeraj Upadhyay wrote: Correctly trace whether the outgoing cpu blocks current gp in rcutree_dying_cpu(). Signed-off-by: Neeraj Upadhyay Good catch, queued, thank you! Please see below for my usual

Re: [PATCH 1/2] misc: eeprom_93xx46: Fix module alias to enable module autoprobe

2021-01-12 Thread Aswath Govindraju
On 12/01/21 12:49 pm, Vignesh Raghavendra wrote: > > > On 1/7/21 10:09 PM, Aswath Govindraju wrote: >> Fix module autoprobe by correcting module alias to match the string from >> /sys/class/.../spi1.0/modalias content. >> >> Fixes: 06b4501e88ad ("misc/eeprom: add driver for microwire 93xx46

[PATCH v4 2/6] mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page

2021-01-12 Thread Muchun Song
If a new hugetlb page is allocated during fallocate it will not be marked as active (set_page_huge_active) which will result in a later isolate_huge_page failure when the page migration code would like to move that page. Such a failure would be unexpected and wrong. Only export

[PATCH v4 1/6] mm: migrate: do not migrate HugeTLB page whose refcount is one

2021-01-12 Thread Muchun Song
All pages isolated for the migration have an elevated reference count and therefore seeing a reference count equal to 1 means that the last user of the page has dropped the reference and the page has became unused and there doesn't make much sense to migrate it anymore. This has been done for

[PATCH] mmc: sunxi-mmc: Ensure host is suspended during system sleep

2021-01-12 Thread Samuel Holland
If the device suspend process begins before the mmc host's autosuspend timeout, the host will continue running during system sleep. Avoid this by forcing runtime suspend during a global suspend transition. Signed-off-by: Samuel Holland --- drivers/mmc/host/sunxi-mmc.c | 2 ++ 1 file changed, 2

[PATCH v4 0/6] Fix some bugs about HugeTLB code

2021-01-12 Thread Muchun Song
This patch series aims to fix some bugs and add some improvements. Changelog since v3 -> v4: - Update commit log of patch #1. - Drop "mm: hugetlb: add return -EAGAIN for dissolve_free_huge_page" - Add "mm: hugetlb: retry dissolve page when hitting race" Changelog since v2 -> v3: - Update

  1   2   3   4   5   6   7   8   9   10   >