Re: [PATCH v4 0/4] add some power supply properties about wireless/wired charging

2020-07-20 Thread ivan
Greg KH 于2020年7月20日周一 下午4:20写道: > > On Mon, Jul 20, 2020 at 01:47:13PM +0800, Qiwu Huang wrote: > > From: Qiwu Huang > > > > quick_charge_type reports quick charge type based on charging power. > > tx_adapter shows wireless charging adapter type. > > signal_strength shows degree of coupling

RE: [EXT] Re: [PATCH 1/2] net: dsa: Add flag for 802.1AD when adding VLAN for dsa switch and port

2020-07-20 Thread Hongbo Wang
Hi Nikolay, Thanks for your comments. The original intention is that I want to run a command to set single port into QinQ mode, the related commands are: ip link set br0 type bridge vlan_protocol 802.1ad // this command will set all ports under the bridge br0 ip link add link swp1 name

Re: [PATCH] ARM: dts: keystone-k2g-evm: fix rgmii phy-mode for ksz9031 phy

2020-07-20 Thread Sekhar Nori
Hi Santosh, On 7/15/20 2:24 PM, Grygorii Strashko wrote: > Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the > KSZ9031 PHY") the networking is broken on keystone-k2g-evm board. > > The above board have phy-mode = "rgmii-id" and it is worked before because > KSZ9031 PHY

Re: [PATCH] mm/vmstat: don't do count if no needs

2020-07-20 Thread Alex Shi
在 2020/7/21 上午7:14, Andrew Morton 写道: >> --- a/mm/vmstat.c >> +++ b/mm/vmstat.c >> @@ -321,6 +321,9 @@ void __mod_zone_page_state(struct zone *zone, enum >> zone_stat_item item, >> long x; >> long t; >> >> +if (unlikely(!delta)) >> +return; >> + > Do we know that

Re: [PATCH] KVM: x86/mmu: Add capability to zap only sptes for the affected memslot

2020-07-20 Thread Sean Christopherson
+Weijiang On Mon, Jul 13, 2020 at 12:06:50PM -0700, Sean Christopherson wrote: > The only ideas I have going forward are to: > > a) Reproduce the bug outside of your environment and find a resource that > can go through the painful bisection. We're trying to reproduce the original issue

Re: [PATCH v2 3/3] skd: use generic power management

2020-07-20 Thread Damien Le Moal
On 2020/07/20 22:32, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above mentioned,

Re: [PATCH] drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets

2020-07-20 Thread Rob Clark
On Mon, Jul 20, 2020 at 4:32 PM Stephen Boyd wrote: > > Quoting khs...@codeaurora.org (2020-07-20 15:48:13) > > On 2020-07-20 13:18, Stephen Boyd wrote: > > > Quoting Kuogee Hsieh (2020-07-07 11:41:25) > > >> drivers/gpu/drm/msm/dp/dp_power.c | 32 +- > > >>

Re: [PATCH RFC v8 02/11] vhost: use batched get_vq_desc version

2020-07-20 Thread Jason Wang
On 2020/7/20 下午7:16, Eugenio Pérez wrote: On Mon, Jul 20, 2020 at 11:27 AM Michael S. Tsirkin wrote: On Thu, Jul 16, 2020 at 07:16:27PM +0200, Eugenio Perez Martin wrote: On Fri, Jul 10, 2020 at 7:58 AM Michael S. Tsirkin wrote: On Fri, Jul 10, 2020 at 07:39:26AM +0200, Eugenio Perez

Re: [PATCH][next] printk: ringbuffer: support dataless records

2020-07-20 Thread Sergey Senozhatsky
On (20/07/20 16:07), John Ogness wrote: > > +/* Determine if a logical position refers to a data-less block. */ > +#define LPOS_DATALESS(lpos) ((lpos) & 1UL) > + [..] > @@ -1402,7 +1396,9 @@ static int prb_read(struct printk_ringbuffer *rb, u64 > seq, > /* Copy text data. If it

Re: [PATCH v4 1/2] dt-bindings: dma: Add bindings for intel LGM SOC

2020-07-20 Thread Reddy, MallikarjunaX
Thanks Rob for the review. Please see my comments inline. On 7/14/2020 1:22 AM, Rob Herring wrote: On Mon, Jul 13, 2020 at 11:39:49AM +0800, Reddy, MallikarjunaX wrote: Hi Thomas, Thanks for the review. My comments inline. On 7/9/2020 3:54 PM, Langer, Thomas wrote: -Original

[PATCH bpf-next v1 3/3] bpf, riscv: Use compressed instructions in the rv64 JIT

2020-07-20 Thread Luke Nelson
This patch uses the RVC support and encodings from bpf_jit.h to optimize the rv64 jit. The optimizations work by replacing emit(rv_X(...)) with a call to a helper function emit_X, which will emit a compressed version of the instruction when possible, and when RVC is enabled. The JIT continues to

Re: [PATCH 19/20] dt-bindings: can: rcar_canfd: Document r8a774e1 support

2020-07-20 Thread Rob Herring
On Wed, 15 Jul 2020 12:09:09 +0100, Lad Prabhakar wrote: > Document the support for rcar_canfd on R8A774E1 SoC devices. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > --- > Documentation/devicetree/bindings/net/can/rcar_canfd.txt | 1 + > 1 file changed, 1

Re: [PATCH 18/20] dt-bindings: can: rcar_can: Document r8a774e1 support

2020-07-20 Thread Rob Herring
On Wed, 15 Jul 2020 12:09:08 +0100, Lad Prabhakar wrote: > Document SoC specific bindings for RZ/G2H (R8A774E1) SoC. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > --- > Documentation/devicetree/bindings/net/can/rcar_can.txt | 1 + > 1 file changed, 1 insertion(+)

[PATCH bpf-next v1 1/3] bpf, riscv: Modify JIT ctx to support compressed instructions

2020-07-20 Thread Luke Nelson
This patch makes the necessary changes to struct rv_jit_context and to bpf_int_jit_compile to support compressed riscv (RVC) instructions in the BPF JIT. It changes the JIT image to be u16 instead of u32, since RVC instructions are 2 bytes as opposed to 4. It also changes ctx->offset and

[PATCH bpf-next v1 2/3] bpf, riscv: Add encodings for compressed instructions

2020-07-20 Thread Luke Nelson
This patch adds functions for encoding and emitting compressed riscv (RVC) instructions to the BPF JIT. Some regular riscv instructions can be compressed into an RVC instruction if the instruction fields meet some requirements. For example, "add rd, rs1, rs2" can be compressed into "c.add rd,

[PATCH bpf-next v1 0/3] bpf, riscv: Add compressed instructions to rv64 JIT

2020-07-20 Thread Luke Nelson
This patch series enables using compressed riscv (RVC) instructions in the rv64 BPF JIT. RVC is a standard riscv extension that adds a set of compressed, 2-byte instructions that can replace some regular 4-byte instructions for improved code density. This series first modifies the JIT to support

Re: [PATCH 16/20] dt-bindings: watchdog: renesas,wdt: Document r8a774e1 support

2020-07-20 Thread Rob Herring
On Wed, 15 Jul 2020 12:09:06 +0100, Lad Prabhakar wrote: > RZ/G2H (a.k.a. R8A774E1) watchdog implementation is compatible > with R-Car Gen3, therefore add the relevant documentation. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 1 + > 1

Re: [PATCH 14/20] dt-bindings: spi: renesas,sh-msiof: Add r8a774e1 support

2020-07-20 Thread Rob Herring
On Wed, 15 Jul 2020 12:09:04 +0100, Lad Prabhakar wrote: > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > --- > Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml | 1 + > 1 file changed, 1 insertion(+) >

Re: [PATCH 14/20] dt-bindings: spi: renesas,sh-msiof: Add r8a774e1 support

2020-07-20 Thread Rob Herring
On Fri, Jul 17, 2020 at 01:22:09PM +0100, Mark Brown wrote: > On Fri, Jul 17, 2020 at 01:15:13PM +0100, Lad, Prabhakar wrote: > > On Fri, Jul 17, 2020 at 12:59 PM Mark Brown wrote: > > > > On Wed, Jul 15, 2020 at 12:09:04PM +0100, Lad Prabhakar wrote: > > > > Document RZ/G2H (R8A774E1) SoC

Re: [PATCH v1 3/3] skd: use generic power management

2020-07-20 Thread Damien Le Moal
On 2020/07/20 22:18, Vaibhav Gupta wrote: > On Mon, Jul 20, 2020 at 12:52:14PM +, Damien Le Moal wrote: >> On 2020/07/17 17:10, Vaibhav Gupta wrote: >>> Drivers using legacy PM have to manage PCI states and device's PM states >>> themselves. They also need to take care of configuration

[PATCH] xtensa: fix closing endif comment

2020-07-20 Thread Max Filippov
Commit 8f74afa22d9b ("xtensa: switch to generic version of pte allocation") introduced the following build warning for xtensa arch/xtensa/include/asm/pgalloc.h:67:8: warning: extra tokens at end of #endif directive [-Wendif-labels] Fix #endif comment. Cc: Mike Rapoport Fixes: 8f74afa22d9b

Re: [PATCH 2/5] drm: rockchip: add missing registers for RK3188【请注意,邮件由linux-rockchip-bounces+andy.yan=rock-chips....@lists.infradead.org代发】

2020-07-20 Thread Alex Bee
Hi Andy, Am 21.07.20 um 03:17 schrieb Andy Yan: Hi Alex: On 7/20/20 10:46 PM, Alex Bee wrote: Hi Andy, Am 20.07.20 um 10:22 schrieb Andy Yan: Hi Alex: On 7/19/20 4:03 AM, Alex Bee wrote: This patch adds dither_up, dsp_lut_en, data_blank and dsp_data_swap registers to enable their

Re: [PATCH 11/20] dt-bindings: i2c: renesas,i2c: Document r8a774e1 support

2020-07-20 Thread Rob Herring
On Wed, 15 Jul 2020 12:09:01 +0100, Lad Prabhakar wrote: > Document i2c controller for RZ/G2H (R8A774E1) SoC, which is compatible > with R-Car Gen3 SoC family. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > --- >

Re: [PATCH] ARM: dts: hisilicon: Align L2 cache-controller nodename with dtschema

2020-07-20 Thread Wei Xu
Hi Krzysztof, On 2020/6/26 16:06, Krzysztof Kozlowski wrote: > Fix dtschema validator warnings like: > l2-cache: $nodename:0: 'l2-cache' does not match > '^(cache-controller|cpu)(@[0-9a-f,]+)*$' > > Signed-off-by: Krzysztof Kozlowski Thanks! Applied to the hisilicon arm32 dt tree. Best

Re: [PATCH 12/20] dt-bindings: i2c: renesas,iic: Document r8a774e1 support

2020-07-20 Thread Rob Herring
On Wed, 15 Jul 2020 12:09:02 +0100, Lad Prabhakar wrote: > Document IIC controller for RZ/G2H (R8A774E1) SoC, which is compatible > with R-Car Gen3 SoC family. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > --- >

Re: [PATCH 1/2] arm64: dts: hisilicon: Use phandles for overriding nodes in hi6220

2020-07-20 Thread Wei Xu
Hi Krzysztof On 2020/6/29 16:16, Krzysztof Kozlowski wrote: > When overriding nodes, usage of phandles instead of full paths reduces > possible mistakes (e.g. in duplicated unit address) and removes > duplicate data. The UART nodes were extended via full path and phandle > which makes it

Re: [PATCH 02/20] dt-bindings: thermal: rcar-gen3-thermal: Add r8a774e1 support

2020-07-20 Thread Rob Herring
On Wed, 15 Jul 2020 12:08:52 +0100, Lad Prabhakar wrote: > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH 05/20] dt-bindings: timer: renesas,cmt: Document r8a774e1 CMT support

2020-07-20 Thread Rob Herring
On Wed, 15 Jul 2020 12:08:55 +0100, Lad Prabhakar wrote: > Document SoC specific bindings for RZ/G2H (r8a774e1) SoC. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/timer/renesas,cmt.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH 2/2] dt-bindings: iio: gyro: Add DT binding doc for ADXRS290

2020-07-20 Thread Rob Herring
On Mon, Jul 20, 2020 at 12:16:33PM +0100, Jonathan Cameron wrote: > On Wed, 15 Jul 2020 14:58:21 +0530 > Nishant Malpani wrote: > > > Add devicetree binding document for ADXRS290, a dual-axis MEMS gyroscope. > > > > Signed-off-by: Nishant Malpani > > --- > >

Re: [PATCH 02/24] bpfilter: fix up a sparse annotation

2020-07-20 Thread Luc Van Oostenryck
On Mon, Jul 20, 2020 at 02:47:15PM +0200, Christoph Hellwig wrote: > The __user doesn't make sense when casting to an integer type. > > Signed-off-by: Christoph Hellwig > --- > net/bpfilter/bpfilter_kern.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [RESEND][PATCH] dts: hi3660: Add support for basic usb gadget on Hikey960

2020-07-20 Thread Wei Xu
Hi John, On 2020/7/21 9:25, John Stultz wrote: > This patch adds basic core dwc3, usb phy and rt1711h nodes for > usb support on Hikey960. > > This does not enable the mux/hub functionality on the board, so > the USB-A host ports will not function, but does allow the USB-C > port to function in

Re: [PATCH 1/2] rtc: ds1374: fix RTC_DRV_DS1374_WDT dependencies

2020-07-20 Thread Randy Dunlap
On 7/20/20 12:52 AM, Alexandre Belloni wrote: > It is not enough to select WATCHDOG_CORE, the watchdog part of the driver > now also depends on WATCHDOG. This is currently the best we can do because > alarm support and watchdog support are mutually exclusive. > > Reported-by: Randy Dunlap >

Re: [PATCH 1/1] riscv: Enable ARCH_HAS_FAST_MULTIPLIER for RV64I

2020-07-20 Thread Chenxi Mao
Hi Palmer: Move to RISCV platform is ok for me, but I cannot evaluate RV32 condition. Chenxi On 2020/7/21 上午9:47, Chenxi Mao wrote: > Hi Palmer: > > Thanks for your reply. > > Frankly, I didn't test ARCH_HAS_FAST_MULTIPLIER on RV32, > > so I cannot put it in RISCV platform. > > I am trying to

Re: [RFC PATCH bpf-next 2/2] selftests/bpf: Test __ksym externs with BTF

2020-07-20 Thread Andrii Nakryiko
On Mon, Jul 20, 2020 at 1:28 PM Hao Luo wrote: > > > > > This should ideally look like a real global variable extern: > > > > extern const struct rq runqueues __ksym; > > > > > > But that's the case for non-per-cpu variables. You didn't seem to > > address per-CPU variables in this patch set. How

[PATCH 2/2] Bluetooth: hci_serdev: Only unregister device if it was registered

2020-07-20 Thread Nicolas Boichat
We should not call hci_unregister_dev if the device was not successfully registered. Fixes: c34dc3bfa7642fd ("Bluetooth: hci_serdev: Introduce hci_uart_unregister_device()") Signed-off-by: Nicolas Boichat --- drivers/bluetooth/hci_serdev.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v4 net-next] net: hyperv: Add attributes to show TX indirection table

2020-07-20 Thread Chi Song
An imbalanced TX indirection table causes netvsc to have low performance. This table is created and managed during runtime. To help better diagnose performance issues caused by imbalanced tables, add device attributes to show the content of TX indirection tables. Signed-off-by: Chi Song --- v4:

[PATCH 1/2] Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags

2020-07-20 Thread Nicolas Boichat
HCI_UART_RESET_ON_INIT belongs in hdev_flags, not flags. Fixes: ce945552fde4a09 ("Bluetooth: hci_h5: Add support for serdev enumerated devices") Signed-off-by: Nicolas Boichat --- drivers/bluetooth/hci_h5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4 3/6] dt-bindings: remoteproc: Add common TI SCI rproc bindings

2020-07-20 Thread Rob Herring
On Fri, 17 Jul 2020 18:47:57 -0500, Suman Anna wrote: > Add a bindings document that lists the common TI SCI properties > used by the K3 R5F and DSP remoteproc devices. > > Signed-off-by: Suman Anna > --- > v4: Addressed both of Rob's review comments on ti,sci-proc-ids property > v3:

Re: [PATCH] clk: Add support for enabling/disabling clocks from debugfs

2020-07-20 Thread Mike Tipton
On 6/29/2020 5:30 PM, Mike Tipton wrote: For test and debug purposes, it's often necessary to enable or disable clocks from shell. Add a new debugfs file (clk_prepare_enable) that calls clk_prepare_enable() when writing "1" and clk_disable_unprepare() when writing "0". This can have security

INVESTMENT

2020-07-20 Thread CHRISTOPHER WANG
Good day, You were recommended by a mutual associate. I write you regarding an investment of bearer bonds I made on behalf of a client. The investment was made in 2009 and has been under my management. The said investor is deceased. The window is now available to assign these bonds

Re: [Ocfs2-devel] [PATCH] dlmfs: add a newline when printing 'capabilities' by sysfs

2020-07-20 Thread Changwei Ge
Hi, I am afraid that doing so might introduce a compatible risk into exited systems which reply ocfs2/dlmfs. We can't guarantee that no system management tools is using the information reported from this file. Basically, ocfs2-tools works of top of it. But after a quick glance at the

[PATCH v15] Add matrix keypad driver support Mediatek SoCs

2020-07-20 Thread Fengping yu
Change since v14: - add PTR_ERR to resolve compiler warning - add IRQF_ONESHOT flag to request_irq fengping.yu (3): dt-bindings: Add keypad devicetree documentation drivers: input:keyboard: Add mtk keypad driver configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=m

Re: [PATCH v3 4/4] io_uring: add support for zone-append

2020-07-20 Thread Damien Le Moal
On 2020/07/21 10:15, Matthew Wilcox wrote: > On Tue, Jul 21, 2020 at 12:59:59AM +, Damien Le Moal wrote: >> On 2020/07/21 5:17, Kanchan Joshi wrote: >>> On Mon, Jul 20, 2020 at 10:44 PM Matthew Wilcox wrote: struct io_uring_cqe { __u64 user_data; /* sqe->data

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

2020-07-20 Thread Stephen Rothwell
Hi all, Commit 74ea3273d24b ("dt-bindings: media: imx274: Add optional input clock and supplies") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgp9XwWn8xSFq.pgp Description: OpenPGP digital signature

linux-next: manual merge of the bpf-next tree with the net-next tree

2020-07-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the bpf-next tree got a conflict in: include/net/xdp.h between commit: 2f0bc54ba9a8 ("xdp: introduce xdp_get_shared_info_from_{buff, frame} utility routines") from the net-next tree and commits: 9216477449f3 ("bpf: cpumap: Add the possibility to

Re: [PATCH] unicore32: use get_kernel_nofault in dump mem and dump_instr

2020-07-20 Thread Guan Xuetao
Very good to remove ds/fs in unicore arch. Could u send me full patch for test? Guan Xuetao > -原始邮件- > 发件人: "Christoph Hellwig" > 发送时间: 2020-07-20 19:43:58 (星期一) > 收件人: g...@pku.edu.cn > 抄送: linux-kernel@vger.kernel.org > 主题: [PATCH] unicore32: use get_kernel_nofault in dump mem and

[PATCH v2] iommu/mediatek: check 4GB mode by reading infracfg

2020-07-20 Thread Miles Chen
In previous discussion [1] and [2], we found that it is risky to use max_pfn or totalram_pages to tell if 4GB mode is enabled. Check 4GB mode by reading infracfg register, remove the usage of the un-exported symbol max_pfn. This is a step towards building mtk_iommu as a kernel module. Change

Re: kernel BUG at include/linux/swapops.h:LINE!

2020-07-20 Thread Matthew Wilcox
On Tue, Jul 21, 2020 at 01:21:47AM +0100, Matthew Wilcox wrote: > On Mon, Jul 20, 2020 at 04:51:44PM -0700, Andrew Morton wrote: > > On Sun, 19 Jul 2020 14:10:19 -0700 syzbot > > wrote: > > > > > syzbot has found a reproducer for the following issue on: > > > > > > HEAD commit:4c43049f Add

Re: [PATCH 2/3] dt-bindings: mediatek: add compatible for MT6873/8192 pwrap

2020-07-20 Thread Rob Herring
On Tue, 14 Jul 2020 17:53:51 +0800, Hsin-Hsiung Wang wrote: > This adds dt-binding documentation of pwrap for Mediatek MT6873/8192 > SoCs Platform. > > Signed-off-by: Hsin-Hsiung Wang > --- > Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 + > 1 file changed, 1 insertion(+) >

Re: [PATCH] dt-bindings: sound: convert ROHM BD28623 amplifier binding to yaml

2020-07-20 Thread Rob Herring
On Tue, Jul 14, 2020 at 05:09:59PM +0900, Katsuhiro Suzuki wrote: > This patch converts ROHM BD28623UMV class D speaker amplifier binding > to DT schema. > > Signed-off-by: Katsuhiro Suzuki > --- > .../bindings/sound/rohm,bd28623.txt | 29 - >

linux-next: manual merge of the bpf-next tree with the net-next tree

2020-07-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the bpf-next tree got a conflict in: include/linux/filter.h between commit: 4d295e546115 ("net: simplify cBPF setsockopt compat handling") from the net-next tree and commits: e9ddbb7707ff ("bpf: Introduce SK_LOOKUP program type with a dedicated

Re: [PATCH 1/2] dt-bindings: reset: Updated binding for Versal reset driver

2020-07-20 Thread Rob Herring
On Tue, Jul 14, 2020 at 11:59:08AM +0530, Sai Krishna Potthuri wrote: > Added documentation and Versal reset indices to describe > about Versal reset driver bindings. > > Signed-off-by: Sai Krishna Potthuri > --- > .../bindings/reset/xlnx,zynqmp-reset.txt | 11 +- >

mmotm 2020-07-20-19-06 uploaded

2020-07-20 Thread Andrew Morton
The mm-of-the-moment snapshot 2020-07-20-19-06 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 8/9] dt-bindings: net: renesas,ravb: Add support for r8a774e1 SoC

2020-07-20 Thread Rob Herring
On Mon, 13 Jul 2020 22:35:19 +0100, Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + > 1 file

Re: [PATCH 6/9] dt-bindings: gpio: renesas,rcar-gpio: Add r8a774e1 support

2020-07-20 Thread Rob Herring
On Mon, 13 Jul 2020 22:35:17 +0100, Lad Prabhakar wrote: > Document Renesas RZ/G2H (R8A774E1) GPIO blocks compatibility within the > relevant dt-bindings. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/gpio/renesas,rcar-gpio.yaml | 1 + > 1 file changed, 1

Re: [PATCH 4.19 130/133] printk: queue wake_up_klogd irq_work only if per-CPU areas are ready

2020-07-20 Thread Sergey Senozhatsky
On (20/07/21 00:05), Pavel Machek wrote: > > From: Sergey Senozhatsky > > > > commit ab6f762f0f53162d41497708b33c9a3236d3609e upstream. > > [..] > > Is this still needed in 4.19? 1b710b1b10ef was reverted in 4.19, so > there should not be any user-visible problems... printk_deferred() is

Re: [PATCH 1/9] dt-bindings: iommu: renesas,ipmmu-vmsa: Add r8a774e1 support

2020-07-20 Thread Rob Herring
On Mon, Jul 13, 2020 at 10:35:12PM +0100, Lad Prabhakar wrote: > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [PATCH 3/9] arm64: dts: renesas: r8a774e1: Add IPMMU device nodes

2020-07-20 Thread Rob Herring
On Mon, Jul 13, 2020 at 10:35:14PM +0100, Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Add RZ/G2H (R8A774E1) IPMMU nodes. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar > --- > arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 121 ++ >

[RFC PATCH] tools/x86: add kcpuid tool to show raw CPU features

2020-07-20 Thread Feng Tang
End users frequently want to know what features their processor supports, independent of what the kernel supports. /proc/cpuinfo is great. It is omnipresent and since it is provided by the kernel it is always as up to date as the kernel. But, it can be ambiguous about processor features which can

Re: [PATCH] watchdog: Replace HTTP links with HTTPS ones

2020-07-20 Thread Rob Herring
On Mon, 13 Jul 2020 22:58:21 +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't

FROM MR. MOORE

2020-07-20 Thread MOORE GATES LTD
Dear Beloved, Peace of the Lord be with you and family, I am Fitzpatrick Moore a United Kingdom Citizen, I have ($ 25M) Twenty five Million united states dollars with a finance House in United State. I will want you to help me collect this deposit and dispatch it to charity organizations. You will

Re: [PATCH] ipmi/watchdog: add missing newlines when printing parameters by sysfs

2020-07-20 Thread Joe Perches
On Tue, 2020-07-21 at 09:20 +0800, Xiongfeng Wang wrote: > On 2020/7/21 3:52, Corey Minyard wrote: > > On Mon, Jul 20, 2020 at 10:03:25AM +0800, Xiongfeng Wang wrote: > > > When I cat some ipmi_watchdog parameters by sysfs, it displays as > > > follows. It's better to add a newline for easy

[PATCH v2] arm64: dts: meson: fix mmc0 tuning error on Khadas VIM3

2020-07-20 Thread Christian Hewitt
Similar to other G12B devices using the W400 dtsi, I see reports of mmc0 tuning errors on VIM3 after a few hours uptime: [12483.917391] mmc0: tuning execution failed: -5 [30535.551221] mmc0: tuning execution failed: -5 [35359.953671] mmc0: tuning execution failed: -5 [35561.875332] mmc0: tuning

Re: [PATCH] arm64: dts: meson: fix mmc0 tuning error on Khadas VIM3

2020-07-20 Thread Christian Hewitt
> On 21 Jul 2020, at 2:24 am, Kevin Hilman wrote: > > Christian Hewitt writes: > >> Similar to other G12B devices using the W400 dtsi, I see reports of mmc0 >> tuning errors on VIM3 after a few hours uptime: >> >> [12483.917391] mmc0: tuning execution failed: -5 >> [30535.551221] mmc0:

Re: [PATCH 2/2] dt-bindings: net: dsa: qca8k: Add PORT0_PAD_CTRL properties

2020-07-20 Thread Rob Herring
On Fri, Jul 17, 2020 at 08:26:02PM +0100, Matthew Hagan wrote: > > > On 16/07/2020 23:32, Andrew Lunn wrote: > > On Thu, Jul 16, 2020 at 03:09:25PM -0700, Jakub Kicinski wrote: > >> On Mon, 13 Jul 2020 21:50:26 +0100 Matthew Hagan wrote: > >>> Add names and decriptions of additional

答复: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP

2020-07-20 Thread liwei (CM)
Hi, all I'm sorry to bother you, but still very hope you can give comments or suggestions to this patch, thank you very much. -邮件原件- 发件人: Song Bao Hua (Barry Song) 发送时间: 2020年7月9日 20:27 收件人: liwei (CM) ; catalin.mari...@arm.com; w...@kernel.org 抄送: fengbaopeng ;

linux-next: manual merge of the net-next tree with the net tree

2020-07-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/aquantia/atlantic/aq_hw.h between commit: 23e500e88723 ("net: atlantic: disable PTP on AQC111, AQC112") from the net tree and commit: 1e41b3fee795 ("net: atlantic: add support for 64-bit

Re: [PATCH] mtd: Replace HTTP links with HTTPS ones

2020-07-20 Thread Rob Herring
On Mon, 13 Jul 2020 18:54:08 +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't

Re: [PATCH] leds: Replace HTTP links with HTTPS ones

2020-07-20 Thread Rob Herring
On Mon, 13 Jul 2020 16:51:15 +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't

Re: [PATCH v4 01/24] Documentation: locking: Describe seqlock design and usage

2020-07-20 Thread Steven Rostedt
On Mon, 20 Jul 2020 21:44:00 -0400 Steven Rostedt wrote: > > - * This is not as cache friendly as brlock. Also, this may not work well > > - * for data that contains pointers, because any writer could > > - * invalidate a pointer that a reader was following. > > + * See

Re: [PATCH] fpga: region: Replace HTTP links with HTTPS ones

2020-07-20 Thread Rob Herring
On Mon, 13 Jul 2020 15:40:08 +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't

Re: [PATCH 1/1] riscv: Enable ARCH_HAS_FAST_MULTIPLIER for RV64I

2020-07-20 Thread Chenxi Mao
Hi Palmer: Thanks for your reply. Frankly, I didn't test ARCH_HAS_FAST_MULTIPLIER on RV32, so I cannot put it in RISCV platform. I am trying to comparing ARM64 with Riscv to find out more optimization configurations. I suggest to enable ARCH_HAS_FAST_MULTIPLIER on RV64 first. If someone

Re: [PATCH v5 2/5] iommu/uapi: Add argsz for user filled data

2020-07-20 Thread Jacob Pan
On Fri, 17 Jul 2020 15:44:23 +0200 Auger Eric wrote: > Hi Jacob, > > On 7/16/20 8:45 PM, Jacob Pan wrote: > > As IOMMU UAPI gets extended, user data size may increase. To support > > backward compatibiliy, this patch introduces a size field to each > > UAPI data structures. It is *always* the

Re: [PATCH v4 01/24] Documentation: locking: Describe seqlock design and usage

2020-07-20 Thread Steven Rostedt
On Mon, 20 Jul 2020 17:55:07 +0200 "Ahmed S. Darwish" wrote: > +++ b/include/linux/seqlock.h > @@ -1,36 +1,15 @@ > /* SPDX-License-Identifier: GPL-2.0 */ > #ifndef __LINUX_SEQLOCK_H > #define __LINUX_SEQLOCK_H > + > /* > - * Reader/writer consistent mechanism without starving writers. This

[Resend][PATCH] drm/msm: use kthread_create_worker instead of kthread_run

2020-07-20 Thread Bernard
Use kthread_create_worker to simplify the code and optimise the manager struct: msm_drm_thread. With this change, we could remove struct element (struct task_struct *thread & struct kthread_worker worker), instead, use one point (struct kthread_worker *worker). Signed-off-by: Bernard Zhao ---

[RFC 03/11] Drivers: hv: vmbus: Introduce types of GPADL

2020-07-20 Thread Boqun Feng
This patch introduces two types of GPADL: HV_GPADL_{BUFFER, RING}. The types of GPADL are purely the concept in the guest, IOW the hypervisor treat them as the same. The reason of introducing the types of GPADL is to support guests whose page size is not 4k (the page size of Hyper-V hypervisor).

[RFC 08/11] Input: hyperv-keyboard: Make ringbuffer at least take two pages

2020-07-20 Thread Boqun Feng
When PAGE_SIZE > HV_HYP_PAGE_SIZE, we need the ringbuffer size to be at least 2 * PAGE_SIZE: one page for the header and at least one page of the data part (because of the alignment requirement for double mapping). So make sure the ringbuffer sizes to be at least 2 * PAGE_SIZE when using

[RFC 04/11] Drivers: hv: Use HV_HYP_PAGE in hv_synic_enable_regs()

2020-07-20 Thread Boqun Feng
Both the base_*_gpa should use the guest page number in Hyper-V page, so use HV_HYP_PAGE instead of PAGE. Signed-off-by: Boqun Feng --- drivers/hv/hv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index 41b2ee06cc2f..e4f50dcdc46c

[RFC 06/11] hv: hyperv.h: Introduce some hvpfn helper functions

2020-07-20 Thread Boqun Feng
When a guest communicate with the hypervisor, it must use HV_HYP_PAGE to calculate PFN, so introduce a few hvpfn helper functions as the counterpart of the page helper functions. This is the preparation for supporting guest whose PAGE_SIZE is not 4k. Signed-off-by: Boqun Feng ---

[RFC 01/11] Drivers: hv: vmbus: Always use HV_HYP_PAGE_SIZE for gpadl

2020-07-20 Thread Boqun Feng
Since the hypervisor always uses 4K as its page size, the size of PFNs used for gpadl should be HV_HYP_PAGE_SIZE rather than PAGE_SIZE, so adjust this accordingly as the preparation for supporting 16K/64K page size guests. Signed-off-by: Boqun Feng --- drivers/hv/channel.c | 13 + 1

[RFC 05/11] Drivers: hv: vmbus: Move virt_to_hvpfn() to hyperv header

2020-07-20 Thread Boqun Feng
There will be more places other than vmbus where we need to calculate the Hyper-V page PFN from a virtual address, so move virt_to_hvpfn() to hyperv generic header. Signed-off-by: Boqun Feng --- drivers/hv/channel.c | 13 - include/linux/hyperv.h | 15 +++ 2 files

[RFC 02/11] Drivers: hv: vmbus: Move __vmbus_open()

2020-07-20 Thread Boqun Feng
Pure function movement, no functional changes. The move is made, because in a later change, __vmbus_open() will rely on some static functions afterwards, so we sperate the move and the modification of __vmbus_open() in two patches to make it easy to review. Signed-off-by: Boqun Feng ---

[RFC 09/11] HID: hyperv: Make ringbuffer at least take two pages

2020-07-20 Thread Boqun Feng
When PAGE_SIZE > HV_HYP_PAGE_SIZE, we need the ringbuffer size to be at least 2 * PAGE_SIZE: one page for the header and at least one page of the data part (because of the alignment requirement for double mapping). So make sure the ringbuffer sizes to be at least 2 * PAGE_SIZE when using

[RFC 07/11] hv_netvsc: Use HV_HYP_PAGE_SIZE for Hyper-V communication

2020-07-20 Thread Boqun Feng
When communicating with Hyper-V, HV_HYP_PAGE_SIZE should be used since that's the page size used by Hyper-V and Hyper-V expects all page-related data using the unit of HY_HYP_PAGE_SIZE, for example, the "pfn" in hv_page_buffer is actually the HV_HYP_PAGE (i.e. the Hyper-V page) number. In order

[RFC 10/11] Driver: hv: util: Make ringbuffer at least take two pages

2020-07-20 Thread Boqun Feng
When PAGE_SIZE > HV_HYP_PAGE_SIZE, we need the ringbuffer size to be at least 2 * PAGE_SIZE: one page for the header and at least one page of the data part (because of the alignment requirement for double mapping). So make sure the ringbuffer sizes to be at least 2 * PAGE_SIZE when using

[RFC 11/11] scsi: storvsc: Support PAGE_SIZE larger than 4K

2020-07-20 Thread Boqun Feng
Hyper-V always use 4k page size (HV_HYP_PAGE_SIZE), so when communicating with Hyper-V, a guest should always use HV_HYP_PAGE_SIZE as the unit for page related data. For storvsc, the data is vmbus_packet_mpb_array. And since in scsi_cmnd, sglist of pages (in unit of PAGE_SIZE) is used, we need

[RFC 00/11] Hyper-V: Support PAGE_SIZE larger than 4K

2020-07-20 Thread Boqun Feng
This patchset add the necessary changes to support guests whose page size is larger than 4K. Hyper-V always uses 4K as the page size and expects the same page size when communicating with guests. That is, all the "pfn"s in the hypervisor-guest communication protocol are the page numbers in the

[PATCH v2] arm64: dts: meson: misc fixups for w400 dtsi

2020-07-20 Thread Christian Hewitt
Current devices using the W400 dtsi show mmc tuning errors: [12483.917391] mmc0: tuning execution failed: -5 [30535.551221] mmc0: tuning execution failed: -5 [35359.953671] mmc0: tuning execution failed: -5 [35561.875332] mmc0: tuning execution failed: -5 [61733.348709] mmc0: tuning execution

Re: [PATCH v5 1/5] docs: IOMMU user API

2020-07-20 Thread Jacob Pan
On Fri, 17 Jul 2020 13:37:25 -0600 Alex Williamson wrote: > On Thu, 16 Jul 2020 11:45:13 -0700 > Jacob Pan wrote: > > > IOMMU UAPI is newly introduced to support communications between > > guest virtual IOMMU and host IOMMU. There has been lots of > > discussions on how it should work with

Re: [PATCH] arm64: dts: meson: misc fixups for w400 dtsi

2020-07-20 Thread Christian Hewitt
> On 21 Jul 2020, at 2:24 am, Kevin Hilman wrote: > > Christian Hewitt writes: > >> Current devices using the W400 dtsi show mmc tuning errors: >> >> [12483.917391] mmc0: tuning execution failed: -5 >> [30535.551221] mmc0: tuning execution failed: -5 >> [35359.953671] mmc0: tuning execution

Re: [PATCH v2] net: neterion: vxge: reduce stack usage in VXGE_COMPLETE_VPATH_TX

2020-07-20 Thread David Miller
From: Bixuan Cui Date: Mon, 20 Jul 2020 09:58:39 +0800 > Fix the warning: [-Werror=-Wframe-larger-than=] > > drivers/net/ethernet/neterion/vxge/vxge-main.c: > In function'VXGE_COMPLETE_VPATH_TX.isra.37': > drivers/net/ethernet/neterion/vxge/vxge-main.c:119:1: > warning: the frame size of 1056

Re: [PATCH v4 01/24] Documentation: locking: Describe seqlock design and usage

2020-07-20 Thread Steven Rostedt
On Mon, 20 Jul 2020 21:35:51 -0400 Steven Rostedt wrote: > On Mon, 20 Jul 2020 17:55:07 +0200 > "Ahmed S. Darwish" wrote: > > +Read path, three categories: > > + > > +1. Normal Sequence readers which never block a writer but they must > > + retry if a writer is in progress by detecting change

Re: [PATCH v2 07/15] scsi: hisi_sas_v3_hw: use generic power management

2020-07-20 Thread chenxiang (M)
在 2020/7/20 21:34, Vaibhav Gupta 写道: With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific

Re: [PATCH v4 01/24] Documentation: locking: Describe seqlock design and usage

2020-07-20 Thread Steven Rostedt
On Mon, 20 Jul 2020 17:55:07 +0200 "Ahmed S. Darwish" wrote: > +Read path, three categories: > + > +1. Normal Sequence readers which never block a writer but they must > + retry if a writer is in progress by detecting change in the sequence > + number. Writers do not wait for a sequence

Re: [PATCH v2] net: dsa: qca8k: implement the port MTU callbacks

2020-07-20 Thread David Miller
From: Jonathan McDowell Date: Sat, 18 Jul 2020 17:32:14 +0100 > This switch has a single max frame size configuration register, so we > track the requested MTU for each port and apply the largest. > > v2: > - Address review feedback from Vladimir Oltean > > Signed-off-by: Jonathan McDowell

Re: [PATCH -next] net: hsr: remove redundant null check

2020-07-20 Thread David Miller
From: Wang Hai Date: Sat, 18 Jul 2020 20:53:38 +0800 > Because kfree_skb already checked NULL skb parameter, > so the additional checks are unnecessary, just remove them. > > Reported-by: Hulk Robot > Signed-off-by: Wang Hai Applied.

Re: [PATCH] net/fealnx: switch from 'pci_' to 'dma_' API

2020-07-20 Thread David Miller
From: Christophe JAILLET Date: Sat, 18 Jul 2020 13:03:38 +0200 > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > >

Re: [PATCH] mISDN: switch from 'pci_' to 'dma_' API

2020-07-20 Thread David Miller
From: Christophe JAILLET Date: Sat, 18 Jul 2020 12:30:33 +0200 > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > >

Re: [PATCH] ath10k: Add interrupt summary based CE processing

2020-07-20 Thread Peter Oh
I'll take my word back. It's not this patch problem, but by others. I have 2 extra patches before the 3 patches so my system looks like backports from ath.git 5.6-rc1 + linux kernel 4.4 (similar to OpenWrt) On top of the working system, I cherry-picked these 5. #1. ath10k: Avoid override CE5

Re: [PATCH] cxgb4: add missing release on skb in uld_send()

2020-07-20 Thread David Miller
From: Navid Emamdoost Date: Sat, 18 Jul 2020 00:18:43 -0500 > diff --git a/drivers/net/ethernet/chelsio/cxgb4/sge.c > b/drivers/net/ethernet/chelsio/cxgb4/sge.c > index 32a45dc51ed7..d8c37fd4b808 100644 > --- a/drivers/net/ethernet/chelsio/cxgb4/sge.c > +++

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