Re: For review: seccomp_user_notif(2) manual page

2020-10-28 Thread Jann Horn
On Wed, Oct 28, 2020 at 7:32 AM Sargun Dhillon wrote: > On Tue, Oct 27, 2020 at 3:28 AM Jann Horn wrote: > > On Tue, Oct 27, 2020 at 7:14 AM Michael Kerrisk (man-pages) > > wrote: > > > On 10/26/20 4:54 PM, Jann Horn wrote: > > > > I'm a bit on the fence now on whether non-blocking mode should

Re: [PATCH v3 01/16] dt-bindings: power: Add bindings for the Mediatek SCPSYS power domains controller

2020-10-28 Thread Rob Herring
On Mon, 26 Oct 2020 18:55:10 +0100, Enric Balletbo i Serra wrote: > The System Control Processor System (SCPSYS) has several power management > related tasks in the system. Add the bindings to define the power > domains for the SCPSYS power controller. > > Co-developed-by: Matthias Brugger >

[PATCH] net: cls_api: remove unneeded local variable in tc_dump_chain()

2020-10-28 Thread Lukas Bulwahn
urrent master and next-20201028 Jamal, Cong, Jiri, please ack. David, Jakub, please pick this minor non-urgent clean-up patch. net/sched/cls_api.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index faeabff283a2.

Re: [PATCH] soc: ti: ti_sci_pm_domains: check for proper args count in xlate

2020-10-28 Thread santosh . shilimkar
On 10/28/20 2:43 PM, Nishanth Menon wrote: On 16:17-20201028, Tero Kristo wrote: K2G devices still only use single parameter for power-domains property, so check for this properly in the driver. Without this, every peripheral fails to probe resulting in boot failure. Fixes: efa5c01cd7ee (&quo

Re: [PATCH 1/1] clk: aspeed: modify some default clks are critical

2020-10-28 Thread Joel Stanley
Thanks for the response Stephen. Sorry it's taken me a while to get back to you. On Wed, 14 Oct 2020 at 17:16, Stephen Boyd wrote: > > Quoting Joel Stanley (2020-10-13 22:28:00) > > On Wed, 14 Oct 2020 at 02:50, Stephen Boyd wrote: > > > > > > Quoting Ryan Chen (2020-09-28 00:01:08) > > > > In

[PATCH] iommu/amd: Enforce 4k mapping for certain IOMMU data structures

2020-10-28 Thread Suravee Suthikulpanit
AMD IOMMU requires 4k-aligned pages for the event log, the PPR log, and the completion wait write-back regions. However, when allocating the pages, they could be part of large mapping (e.g. 2M) page. This causes #PF due to the SNP RMP hardware enforces the check based on the page level for these

Re: [PATCH 2/5] Fonts: Make font size unsigned in font_desc

2020-10-28 Thread Daniel Vetter
On Wed, Oct 28, 2020 at 01:43:07AM -0400, Peilin Ye wrote: > On Tue, Oct 27, 2020 at 07:50:58PM +0100, Daniel Vetter wrote: > > On Tue, Oct 27, 2020 at 12:33:05PM -0400, Peilin Ye wrote: > > > It is improper to define `width` and `height` as signed in `struct > > > font_desc`. Make them unsigned.

Re: [PATCH v5 1/4] dt-bindings: media: imx258: add bindings for IMX258 sensor

2020-10-28 Thread Krzysztof Kozlowski
On Tue, Oct 20, 2020 at 02:58:52PM +0200, Krzysztof Kozlowski wrote: > On Tue, Oct 20, 2020 at 03:46:54PM +0300, Sakari Ailus wrote: > > On Tue, Oct 20, 2020 at 02:26:21PM +0200, Krzysztof Kozlowski wrote: > > > On Tue, Oct 20, 2020 at 03:00:58PM +0300, Sakari Ailus wrote: > > > > Hi Krzysztof, >

Re: [RFC][PATCH 0/2] ftrace: Add access to function arguments for all callbacks

2020-10-28 Thread Steven Rostedt
On Wed, 28 Oct 2020 16:03:05 -0700 Alexei Starovoitov wrote: > I don't understand what you're trying to say. > Are we still discussing your patch or something else? > If your patch then, I said, I'm not against it. I just don't see > a value in it. Since you're agree that

Re: [PATCH v3 01/16] dt-bindings: power: Add bindings for the Mediatek SCPSYS power domains controller

2020-10-28 Thread Rob Herring
On Mon, 26 Oct 2020 18:55:10 +0100, Enric Balletbo i Serra wrote: > The System Control Processor System (SCPSYS) has several power management > related tasks in the system. Add the bindings to define the power > domains for the SCPSYS power controller. > > Co-developed-by: Matthias Brugger >

[PATCH] PCI: Always call pci_enable_acs() regardless of pdev->acs_cap

2020-10-28 Thread Rajat Jain
Some devices may have have anomalies with the ACS cpability structure, and they may be using quirks to support ACS functionality via other registers. For such devices, it is important we always call pci_enable_acs() to give the quirks a chance to enable ACS in other ways. For Eg: There seems a

Re: [PATCH RFC v2 14/21] kasan: add and integrate kasan boot parameters

2020-10-28 Thread Dmitry Vyukov
On Thu, Oct 22, 2020 at 3:19 PM Andrey Konovalov wrote: > > TODO: no meaningful description here yet, please see the cover letter > for this RFC series. > > Signed-off-by: Andrey Konovalov > Link: > https://linux-review.googlesource.com/id/If7d37003875b2ed3e0935702c8015c223d6416a4 > --- >

Re: [PATCH V2] cpufreq: tegra186: Fix initial frequency

2020-10-28 Thread Viresh Kumar
On 26-10-20, 12:57, Jon Hunter wrote: > Thinking about this some more, what are your thoughts on making the > following change? > > Basically, if the driver sets the CPUFREQ_NEED_INITIAL_FREQ_CHECK, This flag only means that the platform would like the core to check the currently programmed

Re: [PATCH 4.14 000/191] 4.14.203-rc1 review

2020-10-28 Thread Sasha Levin
On Wed, Oct 28, 2020 at 12:56:10PM -0700, Guenter Roeck wrote: Retry. On Wed, Oct 28, 2020 at 10:08:53AM -0700, Guenter Roeck wrote: On Tue, Oct 27, 2020 at 02:47:35PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.203 release. > There are 191

Re: [PATCH v5 3/3] net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell

2020-10-28 Thread Jakub Kicinski
On Wed, 28 Oct 2020 10:09:50 +1000 Pavana Sharma wrote: > The Marvell 88E6393X device is a single-chip integration of a 11-port > Ethernet switch with eight integrated Gigabit Ethernet (GbE) transceivers > and three 10-Gigabit interfaces. > > This patch adds functionalities specific to mv88e6393x

Re: [PATCH kernel v3 1/2] dma: Allow mixing bypass and mapped DMA operation

2020-10-28 Thread Alexey Kardashevskiy
On 29/10/2020 04:22, Christoph Hellwig wrote: On Wed, Oct 28, 2020 at 06:00:29PM +1100, Alexey Kardashevskiy wrote: At the moment we allow bypassing DMA ops only when we can do this for the entire RAM. However there are configs with mixed type memory where we could still allow bypassing

Re: [PATCH v3 1/2] bindings: pm8941-misc: Convert to YAML and add support for VBUS detection

2020-10-28 Thread Guru Das Srinagesh
On Fri, Oct 23, 2020 at 11:14:09AM -0500, Rob Herring wrote: > On Thu, Oct 22, 2020 at 02:47:43PM -0700, Guru Das Srinagesh wrote: > > From: Anirudh Ghayal > > > > Convert bindings to YAML. Also add compatible string that adds support > > for reporting the VBUS status that can be detected via a

Re: [PATCH v5 1/3] net: phy: Add 5GBASER interface mode

2020-10-28 Thread Andrew Lunn
On Wed, Oct 28, 2020 at 10:08:27AM +1000, Pavana Sharma wrote: > Add new mode supported by MV88E6393 family. > > Signed-off-by: Pavana Sharma > --- > include/linux/phy.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/linux/phy.h b/include/linux/phy.h > index

Re: [PATCH v5 2/3] dt-bindings: net: Add 5GBASER phy interface mode

2020-10-28 Thread Andrew Lunn
On Wed, Oct 28, 2020 at 10:09:12AM +1000, Pavana Sharma wrote: > Add 5GBASE-R phy interface mode supported by mv88e6393 > family. > > Signed-off-by: Pavana Sharma Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v5 3/3] net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell

2020-10-28 Thread Andrew Lunn
On Wed, Oct 28, 2020 at 10:09:50AM +1000, Pavana Sharma wrote: > The Marvell 88E6393X device is a single-chip integration of a 11-port > Ethernet switch with eight integrated Gigabit Ethernet (GbE) transceivers > and three 10-Gigabit interfaces. > > This patch adds functionalities specific to

Re: [PATCH 2/2] tools, bpftool: Remove two unused variables.

2020-10-28 Thread Tobias Klauser
On 2020-10-28 at 00:36:46 +0100, Ian Rogers wrote: > Avoid an unused variable warning. > > Signed-off-by: Ian Rogers Reviewed-by: Tobias Klauser

Re: [PATCH 1/2] tools, bpftool: Avoid array index warnings.

2020-10-28 Thread Tobias Klauser
On 2020-10-28 at 00:36:45 +0100, Ian Rogers wrote: > The bpf_caps array is shorter without CAP_BPF, avoid out of bounds reads > if this isn't defined. Working around this avoids -Wno-array-bounds with > clang. > > Signed-off-by: Ian Rogers Reviewed-by: Tobias Klauser

[PATCH] ARM: dts: keystone-k2g: Add stdout-path property

2020-10-28 Thread Tero Kristo
Add stdout-path property in /chosen node so that earlycon can be used by just adding earlycon in bootargs. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/keystone-k2g.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi

Re: [PATCH 2/2] Arm: dts: aspeed-g6: Add sgpio node and pinctrl setting

2020-10-28 Thread Joel Stanley
On Mon, 12 Oct 2020 at 05:25, Billy Tsai wrote: > > Hi Joel, > > On 2020/10/8, 11:49 AM, Joel Stanley wrote: > > On Thu, 8 Oct 2020 at 01:51, Billy Tsai wrote: > > > > > > This patch is used to add sgpiom and sgpios nodes and add pinctrl > setting > > > for sgpiom1 > > >

drivers/dma/mediatek/mtk-hsdma.c:451:17: sparse: sparse: incorrect type in assignment (different base types)

2020-10-28 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 23859ae44402f4d935b9ee548135dd1e65e2cbf4 commit: a5460b5e5fb82656807840d40d3deaecad094044 READ_ONCE: Simplify implementations of {READ,WRITE}_ONCE() date: 7 months ago config:

Re: [PATCH v2 1/2] pinctrl: qcom: add pinctrl driver for msm8953

2020-10-28 Thread Linus Walleij
On Wed, Oct 7, 2020 at 6:26 PM Vladimir Lypak wrote: > Add inititial pinctrl driver for MSM8953 platform. Compatible SoCs are: > MSM8953, APQ8053, SDM(SDA)450, SDM(SDA)632. > Based off CAF implementation. > > Signed-off-by: Prasad Sodagudi > Signed-off-by: Vladimir Lypak > --- > Changes in V2:

Re: [PATCH v10 5/5] PCI/DPC: Move AER/DPC dependency checks out of DPC driver

2020-10-28 Thread Ethan Zhao
On Tue, Oct 27, 2020 at 11:12 AM Kuppuswamy Sathyanarayanan wrote: > > Currently, AER and DPC Capabilities dependency checks is > distributed between DPC and portdrv service drivers. So move > them out of DPC driver. > > Also, since services & PCIE_PORT_SERVICE_AER check already > ensures AER

Re: For review: seccomp_user_notif(2) manual page

2020-10-28 Thread Kees Cook
On Mon, Oct 26, 2020 at 10:51:02AM +0100, Jann Horn wrote: > The problem is the scenario where a process is interrupted while it's > waiting for the supervisor to reply. > > Consider the following scenario (with supervisor "S" and target "T"; S > wants to wait for events on two file descriptors

[PATCH v4] zram: break the strict dependency from lzo

2020-10-28 Thread Rui Salvaterra
There's nothing special about zram and lzo. It works just fine without it, so as long as at least one of the other supported compression algorithms is selected. Suggested-by: Sergey Senozhatsky Signed-off-by: Rui Salvaterra --- v4: incorporate Sergey's feedback and fix a small typo. v3: fix the

Re: [PATCH v5 08/40] arm64: mte: Switch GCR_EL1 in kernel entry and exit

2020-10-28 Thread Dmitry Vyukov
On Mon, Oct 12, 2020 at 10:45 PM Andrey Konovalov wrote: > > From: Vincenzo Frascino > > When MTE is present, the GCR_EL1 register contains the tags mask that > allows to exclude tags from the random generation via the IRG instruction. > > With the introduction of the new Tag-Based KASAN API

Re: ASoC: qcom: sm8250: add sound card qrb5165-rb5 support

2020-10-28 Thread Srinivas Kandagatla
Thanks for reporting this, On 28/10/2020 12:15, Colin Ian King wrote: Hi, Static analysis on linux-next with Coverity had detected a potential array out-of-bounds write issue in the following commit: Sent out a fix to address this! --srini commit aa2e2785545aab21b6cb2e23f111ae0751cbcca7

[PATCH v2] mm: memcontrol: Simplify the mem_cgroup_page_lruvec

2020-10-28 Thread Muchun Song
We can reuse the code of mem_cgroup_lruvec() to simplify the code of the mem_cgroup_page_lruvec(). Signed-off-by: Muchun Song --- changelog in v2: 1. Move mem_cgroup_node_lruvec to memcontrol.c to avoid abuse. include/linux/memcontrol.h | 41 - mm/memcontrol.c

Re: [PATCH RFC v2 19/21] kasan: don't round_up too much

2020-10-28 Thread Dmitry Vyukov
On Thu, Oct 22, 2020 at 3:20 PM Andrey Konovalov wrote: > > For tag-based mode kasan_poison_memory() already rounds up the size. Do > the same for software modes and remove round_up() from common code. > > Signed-off-by: Andrey Konovalov > Link: >

WARNING in ovs_dp_cmd_new

2020-10-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3cb12d27 Merge tag 'net-5.10-rc1' of git://git.kernel.org/.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=155125b050 kernel config: https://syzkaller.appspot.com/x/.config?x=46c6fea3eb827ae1

Re: [PATCH v4 10/21] perf arm_spe: Fixup top byte for data virtual address

2020-10-28 Thread Leo Yan
Hi Andre, On Tue, Oct 27, 2020 at 03:01:26PM +, André Przywara wrote: > On 27/10/2020 03:09, Leo Yan wrote: > > To establish a valid address from the address packet payload and finally > > the address value can be used for parsing data symbol in DSO, current > > code uses 0xff to replace the

Re: [PATCH 1/2] nvmet: introduce transport layer keep-alive

2020-10-28 Thread Sagi Grimberg
On 10/27/20 5:15 AM, zhenwei pi wrote: In the zero KATO scenario, if initiator crashes without transport layer disconnection, target side would never reclaim resources. A target could start transport layer keep-alive to detect dead connection for the admin queue. Not sure why we should

[PATCH] ASoC: qcom: sm8250: Fix array out of bounds access

2020-10-28 Thread Srinivas Kandagatla
Static analysis Coverity had detected a potential array out-of-bounds write issue due to the fact that MAX AFE port Id was set to 16 instead of using AFE_PORT_MAX macro. Fix this by properly using AFE_PORT_MAX macro. Fixes: aa2e2785545a ("ASoC: qcom: sm8250: add sound card qrb5165-rb5 support")

Re: [PATCH v6 14/52] dt-bindings: memory: tegra124: emc: Document OPP table and voltage regulator

2020-10-28 Thread Rob Herring
On Mon, 26 Oct 2020 01:16:57 +0300, Dmitry Osipenko wrote: > Document new OPP table and voltage regulator properties which are needed > for supporting dynamic voltage-frequency scaling of the memory controller. > Some boards may have a fixed core voltage regulator, hence it's optional > because

Re: [RFC][PATCH 0/2] ftrace: Add access to function arguments for all callbacks

2020-10-28 Thread Alexei Starovoitov
On Wed, Oct 28, 2020 at 06:07:53PM -0400, Steven Rostedt wrote: > On Wed, 28 Oct 2020 14:33:03 -0700 > Alexei Starovoitov wrote: > > > I don't have strong opinion on this feature, but if you want to have it > > please add a giant disclaimer that this is going to be x86-64 and, may be > > arm64,

Re: [PATCH/RFC net-next v3] net: dec: tulip: de2104x: Add shutdown handler to stop NIC

2020-10-28 Thread Moritz Fischer
Hi Jakub, On Tue, Oct 27, 2020 at 04:16:06PM -0700, Jakub Kicinski wrote: > On Fri, 23 Oct 2020 13:28:34 -0700 Moritz Fischer wrote: > > diff --git a/drivers/net/ethernet/dec/tulip/de2104x.c > > b/drivers/net/ethernet/dec/tulip/de2104x.c > > index d9f6c19940ef..ea7442cc8e75 100644 > > ---

Re: [PATCH v3 20/32] IB/srpt: docs: add a description for cq_size member

2020-10-28 Thread Bart Van Assche
On 10/27/20 2:51 AM, Mauro Carvalho Chehab wrote: > Add a description for it. It seems like my Reviewed-by tag is missing? See also https://lore.kernel.org/linux-rdma/cb5944e2-bdea-e320-d4d1-2f9bc9539...@acm.org/ Bart.

Re: [PATCH v4 09/14] Documentation: bindings: clk: Add bindings for i.MX BLK_CTL

2020-10-28 Thread Rob Herring
On Mon, 26 Oct 2020 21:32:25 +0200, Abel Vesa wrote: > Document the i.MX BLK_CTL with its devicetree properties. > > Signed-off-by: Abel Vesa > Reviewed-by: Dong Aisheng > --- > .../devicetree/bindings/clock/fsl,imx-blk-ctl.yaml | 60 > ++ > 1 file changed, 60

WARNING: suspicious RCU usage in ovs_flow_tbl_masks_cache_resize

2020-10-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:6daa1da4 chelsio/chtls: fix memory leaks in CPL handlers git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=10defae450 kernel config: https://syzkaller.appspot.com/x/.config?x=46c6fea3eb827ae1 dashboard

[RFC PATCH] mwifiex: pcie: use shutdown_sw()/reinit_sw() on suspend/resume

2020-10-28 Thread Tsuchiya Yuto
On Microsoft Surface devices (PCIe-88W8897), there are issues with S0ix achievement and AP scanning after suspend with the current Host Sleep method. When using the Host Sleep method, it prevents the platform to reach S0ix during suspend. Also, sometimes AP scanning won't work, resulting in

Re: For review: seccomp_user_notif(2) manual page

2020-10-28 Thread Kees Cook
On Mon, Oct 26, 2020 at 11:31:01AM +0100, Jann Horn wrote: > Or I guess we could also just set O_NONBLOCK on the fd by default? > Since the one existing user is eventloop-based... I thought about that initially, but it rubs me the wrong way: it violates least-surprise for me. File descriptors are

Re: [PATCH v11 4/5] PCI/portdrv: Remove redundant pci_aer_available() check in DPC enable logic

2020-10-28 Thread Ethan Zhao
On Tue, Oct 27, 2020 at 10:00 PM Kuppuswamy Sathyanarayanan wrote: > > In DPC service enable logic, check for > services & PCIE_PORT_SERVICE_AER implies pci_aer_available() How about PCIE_PORT_SERVICE_AER is not configured, but pcie_aer_disable == 0 ? > is true. So there is no need to explicitly

net/can/isotp.c:1240:13: sparse: sparse: incorrect type in initializer (different address spaces)

2020-10-28 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 23859ae44402f4d935b9ee548135dd1e65e2cbf4 commit: e057dd3fc20ffb3d7f150af46542a51b59b90127 can: add ISO 15765-2:2016 transport protocol date: 3 weeks ago config: sh-randconfig-s031-20201028 (attached

[PATCH v2 3/3] dt-bindings: dt-bindings: display: simple: Add BOE NV110WTM-N61

2020-10-28 Thread Douglas Anderson
Add yet another eDP panel. Signed-off-by: Douglas Anderson --- (no changes since v1) .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml

Re: [PATCH v2 1/2] bpf: don't rely on GCC __attribute__((optimize)) to disable GCSE

2020-10-28 Thread Alexei Starovoitov
On Wed, Oct 28, 2020 at 11:15:04PM +0100, Ard Biesheuvel wrote: > On Wed, 28 Oct 2020 at 22:39, Alexei Starovoitov > wrote: > > > > On Wed, Oct 28, 2020 at 06:15:05PM +0100, Ard Biesheuvel wrote: > > > Commit 3193c0836 ("bpf: Disable GCC -fgcse optimization for > > > ___bpf_prog_run()")

Re: [PATCH 1/3] ARM: dts: aspeed: amd-ethanolx: Update KCS nodes to use v2 binding

2020-10-28 Thread Joel Stanley
On Wed, 28 Oct 2020 at 09:00, Supreeth Venkatesh wrote: > > These changes are already merged in > https://github.com/openbmc/linux/blob/dev-5.8/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts > by Joel. > Please abandon these changes. That is the openbmc kernel tree, where we stage patches on

[PATCH v2 2/3] drm: panel: simple: Add BOE NV110WTM-N61

2020-10-28 Thread Douglas Anderson
Add support for the BOE NV110WTM-N61 panel. The EDID lists two modes (one for 60 Hz refresh rate and one for 40 Hz), so we'll list both of them here. Note that the panel datasheet requires 80 ms between HPD asserting and the backlight power being turned on. We'll use the new timing constraints

[PATCH v2 1/3] drm: panel: simple: Allow timing constraints, not fixed delays

2020-10-28 Thread Douglas Anderson
The simple panel code currently allows panels to define fixed delays at certain stages of initialization. These work OK, but they don't really map all that clearly to the requirements presented in many panel datasheets. Instead of defining a fixed delay, those datasheets provide a timing diagram

Re: [PATCH v3 0/3] rockchip-pinctrl fixes

2020-10-28 Thread Linus Walleij
On Tue, Oct 13, 2020 at 10:22 AM Heiko Stübner wrote: > > Jianqun Xu (3): > > pinctrl: rockchip: make driver be tristate module > > pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq > > pinctrl: rockchip: create irq mapping in gpio_to_irq > > looks good to go as fixes. I record

[PATCH] mwifiex: pcie: add enable_device_dump module parameter

2020-10-28 Thread Tsuchiya Yuto
The devicve_dump may take a little bit long time and users may want to disable the dump for daily usage. This commit adds a new module parameter enable_device_dump and disables the device_dump by default. Signed-off-by: Tsuchiya Yuto --- drivers/net/wireless/marvell/mwifiex/pcie.c | 11

linux-next: manual merge of the samsung-krzk-fixes tree with the arm-soc-fixes tree

2020-10-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the samsung-krzk-fixes tree got a conflict in: MAINTAINERS between commit: 421f2597bf42 ("MAINTAINERS: Move Kukjin Kim to credits") from the arm-soc-fixes tree and commit: 215f06d7efc2 ("MAINTAINERS: move Kyungmin Park to credits") from the

Re: [PATCH] soc: qcom: QCOM_RPMH fix build with modular QCOM_RPMH

2020-10-28 Thread Anders Roxell
On Tue, 27 Oct 2020 at 22:15, Lina Iyer wrote: > > Hi Anders, > > On Tue, Oct 27 2020 at 05:14 -0600, Anders Roxell wrote: > >When building allmodconfig leading to the following link error with > >CONFIG_QCOM_RPMH=y and CONFIG_QCOM_COMMAND_DB=m: > > > >aarch64-linux-gnu-ld:

Re: [PATCH 4.4 000/112] 4.4.241-rc1 review

2020-10-28 Thread Naresh Kamboju
On Tue, 27 Oct 2020 at 19:27, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.241 release. > There are 112 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH 3/3] mwifiex: print message when changing ps_mode

2020-10-28 Thread Tsuchiya Yuto
Users may want to know the ps_mode state change (e.g., diagnosing connection issues). This commit adds the print when changing ps_mode. Signed-off-by: Tsuchiya Yuto --- drivers/net/wireless/marvell/mwifiex/cfg80211.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH 1/3] sched: better handling for busy polling loops

2020-10-28 Thread Josh Don
On Fri, Oct 23, 2020 at 10:49 AM Jakub Kicinski wrote: > > On Thu, 22 Oct 2020 20:29:42 -0700 Josh Don wrote: > > Busy polling loops in the kernel such as network socket poll and kvm > > halt polling have performance problems related to process scheduler load > > accounting. > > > > Both of the

Re: [PATCH v6 19/52] dt-bindings: memory: tegra124: Add memory client IDs

2020-10-28 Thread Rob Herring
On Mon, 26 Oct 2020 01:17:02 +0300, Dmitry Osipenko wrote: > Each memory client have a unique hardware ID, this patch adds these IDs. > > Signed-off-by: Dmitry Osipenko > --- > include/dt-bindings/memory/tegra124-mc.h | 68 > 1 file changed, 68 insertions(+) >

Re: [PATCH v1 1/2] leds: rt4505: Add support for Richtek RT4505 flash led controller

2020-10-28 Thread ChiYuan Huang
Hi, Jacek Anaszewski 於 2020年10月28日 週三 上午12:40寫道: > > Hi Pavel, ChiYuan, > > On 10/27/20 9:29 AM, Pavel Machek wrote: > > Hi! > > > >> From: ChiYuan Huang > >> > >> Add support for RT4505 flash led controller. It can support up to 1.5A > >> flash current with hardware timeout and low input

Re: [PATCH] IB/verbs: avoid nested container_of()

2020-10-28 Thread Jason Gunthorpe
On Mon, Oct 26, 2020 at 05:15:39PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Nested container_of() calls work correctly but cause a warning when > building with W=2. Invoking it from an inline function like in > drivers/infiniband/hw/mlx5/mlx5_ib.h means we get hundreds of > warnings

[PATCH 2/2] ASoc: codecs: wcd9335: Set digital gain range correctly

2020-10-28 Thread Srinivas Kandagatla
digital gain range is -84dB min to 40dB max, however this was not correctly specified in the range. Fix this by with correct range! Fixes: 8c4f021d806a ("ASoC: wcd9335: add basic controls") Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd9335.c | 2 +- 1 file changed, 1

Re: [PATCH 1/2] mm: reorganize internal_get_user_pages_fast()

2020-10-28 Thread John Hubbard
On 10/27/20 6:15 AM, Jason Gunthorpe wrote: On Tue, Oct 27, 2020 at 10:33:01AM +0100, Jan Kara wrote: On Fri 23-10-20 21:44:17, John Hubbard wrote: On 10/23/20 5:19 PM, Jason Gunthorpe wrote: + start += (unsigned long)nr_pinned << PAGE_SHIFT; + pages += nr_pinned; + ret =

Re: [PATCH v3 5/6] irq_work: Provide irq_work_queue_remote()

2020-10-28 Thread Peter Zijlstra
On Wed, Oct 28, 2020 at 02:40:46PM +0100, Frederic Weisbecker wrote: > On Wed, Oct 28, 2020 at 12:07:12PM +0100, Peter Zijlstra wrote: > > While the traditional irq_work relies on the ability to self-IPI, it > > makes sense to provide an unconditional irq_work_queue_remote() > > interface. > > We

Re: [PATCH v2 1/2] pinctrl: qcom: add pinctrl driver for msm8953

2020-10-28 Thread Bjorn Andersson
On Wed 07 Oct 11:06 CDT 2020, Vladimir Lypak wrote: > Add inititial pinctrl driver for MSM8953 platform. Compatible SoCs are: > MSM8953, APQ8053, SDM(SDA)450, SDM(SDA)632. > Based off CAF implementation. > > Signed-off-by: Prasad Sodagudi > Signed-off-by: Vladimir Lypak Acked-by: Bjorn

Re: [PATCH-next 0/4] RDMA: sprintf to sysfs_emit conversions

2020-10-28 Thread Jason Gunthorpe
On Wed, Oct 07, 2020 at 07:36:23PM -0700, Joe Perches wrote: > Joe Perches (4): > RDMA: manual changes for sysfs_emit and neatening > RDMA: Convert various random sprintf sysfs _show uses to sysfs_emit Applied to rdma for-next, thanks Jason

[PATCH net-next 2/4] net: hdlc_fr: Change the use of "dev" in fr_fx to make the code cleaner

2020-10-28 Thread Xie He
The eth_type_trans function is called when we receive frames carrying Ethernet frames. This function expects a non-NULL pointer as a argument, and assigns it directly to skb->dev. However, the code handling other types of frames first assigns a pointer to "dev", and then at the end checks whether

Re: [PATCH 5.4 000/408] 5.4.73-rc1 review

2020-10-28 Thread Naresh Kamboju
On Tue, 27 Oct 2020 at 20:01, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.73 release. > There are 408 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH] mwifiex: pcie: skip cancel_work_sync() on reset failure path

2020-10-28 Thread Tsuchiya Yuto
If a reset is performed, but even the reset fails for some reasons (e.g., on Surface devices, the fw reset requires another quirks), cancel_work_sync() hangs in mwifiex_cleanup_pcie(). # firmware went into a bad state [...] [ 1608.281690] mwifiex_pcie :03:00.0: info: shutdown

[PATCH 2/2] mwifiex: update comment for shutdown_sw()/reinit_sw() to reflect current state

2020-10-28 Thread Tsuchiya Yuto
The functions mwifiex_shutdown_sw() and mwifiex_reinit_sw() can be used for more general purposes than the PCIe function level reset. Also, these are even not PCIe-specific. So, let's update the comments at the top of each function accordingly. Signed-off-by: Tsuchiya Yuto ---

Re: [PATCH V2] cpufreq: tegra186: Fix initial frequency

2020-10-28 Thread Jon Hunter
On 28/10/2020 04:11, Viresh Kumar wrote: > On 26-10-20, 12:57, Jon Hunter wrote: >> Thinking about this some more, what are your thoughts on making the >> following change? >> >> Basically, if the driver sets the CPUFREQ_NEED_INITIAL_FREQ_CHECK, > > This flag only means that the platform

Re: [PATCH RFC v2 17/21] kasan: simplify kasan_poison_kfree

2020-10-28 Thread Dmitry Vyukov
On Thu, Oct 22, 2020 at 3:20 PM Andrey Konovalov wrote: > > kasan_poison_kfree() is currently only called for mempool allocations > that are backed by either kmem_cache_alloc() or kmalloc(). Therefore, the > page passed to kasan_poison_kfree() is always PageSlab() and there's no > need to do the

Re: [PATCH v3 4/6] irq_work: Unconditionally build on SMP

2020-10-28 Thread Peter Zijlstra
On Wed, Oct 28, 2020 at 02:34:20PM +0100, Frederic Weisbecker wrote: > On Wed, Oct 28, 2020 at 12:07:11PM +0100, Peter Zijlstra wrote: > > This may need a changelog :-) Like so then? --- Only (the local) irq_work_queue() relies on arch self-IPI bits, prepare to have the remote queueing

[RFC PATCH 0/3] mwifiex: add fw reset quirks for Microsoft Surface

2020-10-28 Thread Tsuchiya Yuto
Hello all, This series adds firmware reset quirks for Microsoft Surface devices (PCIe-88W8897). Surface devices somehow requires quirks to reset the firmware. Otherwise, current mwifiex driver can reset only software level. This is not enough to recover from a bad state. To do so, in the first

Re: [PATCH 1/1] nvme: Add quirk for LiteON CL1 devices running FW 220TQ,22001

2020-10-28 Thread Jongpil Jung
On Tue, Oct 27, 2020 at 01:23:34PM -0700, Keith Busch wrote: > On Wed, Oct 28, 2020 at 12:54:38AM +0900, Jongpil Jung wrote: > > suspend. > > > > When NVMe device receive D3hot from host, NVMe firmware will do > > garbage collection. While NVMe device do Garbage collection, > > firmware has

Re: [seccomp] Request for a "enable on execve" mode for Seccomp filters

2020-10-28 Thread Jann Horn
On Wed, Oct 28, 2020 at 5:49 PM Rich Felker wrote: > On Wed, Oct 28, 2020 at 01:42:13PM +0100, Jann Horn wrote: > > On Wed, Oct 28, 2020 at 12:18 PM Camille Mougey wrote: > > You're just focusing on execve() - I think it's important to keep in > > mind what happens after execve() for normal,

[PATCH v3 4/6] irq_work: Unconditionally build on SMP

2020-10-28 Thread Peter Zijlstra
Signed-off-by: Peter Zijlstra (Intel) --- kernel/Makefile |1 + kernel/irq_work.c |3 +++ 2 files changed, 4 insertions(+) --- a/kernel/Makefile +++ b/kernel/Makefile @@ -105,6 +105,7 @@ obj-$(CONFIG_TRACE_CLOCK) += trace/ obj-$(CONFIG_RING_BUFFER) += trace/

[PATCH v3 5/9] perf mem: Support AUX trace

2020-10-28 Thread Leo Yan
Perf memory tool doesn't support AUX trace data so it cannot receive the hardware tracing data. On Arm64, although it doesn't support PMU events for memory load and store, but Arm SPE is a good candidate for memory profiling, the hardware tracer can record memory accessing operations with

Re: [PATCH RFC v2 07/21] kasan, arm64: move initialization message

2020-10-28 Thread Dmitry Vyukov
On Thu, Oct 22, 2020 at 3:19 PM Andrey Konovalov wrote: > > Tag-based KASAN modes are fully initialized with kasan_init_tags(), > while the generic mode only requireds kasan_init(). Move the > initialization message for tag-based modes into kasan_init_tags(). > > Also fix pr_fmt() usage for KASAN

[PATCH V1 resend] qcom-geni-se: remove has_opp_table

2020-10-28 Thread Viresh Kumar
has_opp_table isn't used anymore, remove it. Signed-off-by: Viresh Kumar --- include/linux/qcom-geni-se.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/qcom-geni-se.h b/include/linux/qcom-geni-se.h index f7bbea3f09ca..ec2ad4b0fe14 100644 --- a/include/linux/qcom-geni-se.h

Re: [PATCH 1/2] ASoC: dt-bindings: fsl_aud2htx: Add binding doc for aud2htx module

2020-10-28 Thread Shengjiu Wang
On Tue, Oct 27, 2020 at 7:09 PM Krzysztof Kozlowski wrote: > > On Mon, Oct 26, 2020 at 06:40:54PM +0800, Shengjiu Wang wrote: > > AUD2HTX (Audio Subsystem TO HDMI TX Subsystem) is a new > > IP module found on i.MX8MP. > > > > Signed-off-by: Shengjiu Wang > > --- > >

Re: [PATCH v2] gpio: mockup: Allow probing from device tree

2020-10-28 Thread Andy Shevchenko
On Wed, Oct 28, 2020 at 10:00 AM Vincent Whitchurch wrote: > > Allow the mockup driver to be probed via the device tree without any > module parameters, allowing it to be used to configure and test higher > level drivers like the leds-gpio driver and corresponding userspace > before actual

[PATCH v2] netem: fix zero division in tabledist

2020-10-28 Thread Aleksandr Nogikh
From: Aleksandr Nogikh Currently it is possible to craft a special netlink RTM_NEWQDISC command that can result in jitter being equal to 0x8000. It is enough to set the 32 bit jitter to 0x0200 (it will later be multiplied by 2^6) or just set the 64 bit jitter via TCA_NETEM_JITTER64. This

[PATCH v4 0/3] net, mac80211, kernel: enable KCOV remote coverage collection for 802.11 frame handling

2020-10-28 Thread Aleksandr Nogikh
From: Aleksandr Nogikh This patch series enables remote KCOV coverage collection during 802.11 frames processing. These changes make it possible to perform coverage-guided fuzzing in search of remotely triggerable bugs. Normally, KCOV collects coverage information for the code that is executed

Re: [PATCH v6 08/52] dt-bindings: memory: tegra20: emc: Document mfd-simple compatible and statistics sub-device

2020-10-28 Thread Rob Herring
On Tue, Oct 27, 2020 at 11:18:34PM +0300, Dmitry Osipenko wrote: > 27.10.2020 22:44, Krzysztof Kozlowski пишет: > > On Tue, Oct 27, 2020 at 10:22:19PM +0300, Dmitry Osipenko wrote: > >> 27.10.2020 12:02, Krzysztof Kozlowski пишет: > @@ -31,17 +32,34 @@ Example: > ... >

Re: [PATCH v3 0/3] rockchip-pinctrl fixes

2020-10-28 Thread Linus Walleij
On Tue, Oct 13, 2020 at 8:37 AM Jianqun Xu wrote: > These patches are required by GKI. > > Jianqun Xu (3): > pinctrl: rockchip: make driver be tristate module > pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq > pinctrl: rockchip: create irq mapping in gpio_to_irq Patches

[PATCH v2] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-10-28 Thread Robert Marko
If the watchdog hardware is enabled/running during boot, e.g. due to a boot loader configuring it, we must tell the watchdog framework about this fact so that it can ping the watchdog until userspace opens the device and takes over control. Do so using the WDOG_HW_RUNNING flag that exists for

[PATCH net-next 1/4] net: hdlc_fr: Simpify fr_rx by using "goto rx_drop" to drop frames

2020-10-28 Thread Xie He
When the fr_rx function drops a received frame (because the protocol type is not supported, or because the PVC virtual device that corresponds to the DLCI number and the protocol type doesn't exist), the function frees the skb and returns. The code for freeing the skb and returning is repeated

[PATCH v3 2/2] arm: defconfig: enable tegra20-spdif

2020-10-28 Thread Michał Mirosław
Enable tegra20-spdif in tegra and multiplatform defconfigs. The driver will be switched to "default n" in another patch. Signed-off-by: Michał Mirosław --- v3: split from main patch v2: add the symbol to defconfig as suggested by Thierry Reding --- arch/arm/configs/multi_v7_defconfig | 1 +

Re: [PATCH 2/2] tools, bpftool: Remove two unused variables.

2020-10-28 Thread Andrii Nakryiko
On Tue, Oct 27, 2020 at 4:37 PM Ian Rogers wrote: > > Avoid an unused variable warning. > > Signed-off-by: Ian Rogers > --- Acked-by: Andrii Nakryiko > tools/bpf/bpftool/skeleton/profiler.bpf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[PATCH v3 1/2] ASoC: tegra20-spdif: remove "default m"

2020-10-28 Thread Michał Mirosław
Make tegra20-spdif default to N as all other drivers do. Signed-off-by: Michał Mirosław Fixes: 774fec338bfc ("ASoC: Tegra: Implement SPDIF CPU DAI") --- v3: split-off the defconfig changes v2: add the symbol to defconfig as suggested by Thierry Reding --- sound/soc/tegra/Kconfig | 1 - 1 file

Re: [PATCH 4.19 018/264] chelsio/chtls: correct function return and return type

2020-10-28 Thread Jakub Kicinski
On Wed, 28 Oct 2020 07:58:04 +0100 Pavel Machek wrote: > > From: Vinay Kumar Yadav > > > > [ Upstream commit 8580a61aede28d441e1c80588803411ee86aa299 ] > > > > csk_mem_free() should return true if send buffer is available, > > false otherwise. > > > Fixes: 3b8305f5c844 ("crypto: chtls - wait

Re: [RFC][PATCH v3 6/6] rcu/tree: Use irq_work_queue_remote()

2020-10-28 Thread Paul E. McKenney
On Wed, Oct 28, 2020 at 09:02:43PM +0100, Peter Zijlstra wrote: > On Wed, Oct 28, 2020 at 03:54:28PM +0100, Peter Zijlstra wrote: > > On Wed, Oct 28, 2020 at 12:07:13PM +0100, Peter Zijlstra wrote: > > > AFAICT we only need/use irq_work_queue_on() on remote CPUs, since we > > > can directly access

Re: Does LOCKDEP work on ARM64?

2020-10-28 Thread Will Deacon
On Sat, Oct 24, 2020 at 11:51:49AM +0200, Dmitry Vyukov wrote: > Hello ARM64/LOCKDEP maintainers, > > I've started experimenting with running syzkaller on ARM64 using > QEMU/TCG. Total execution speed is very low and it ran just a handful > of tests, but I am seeing massive amounts of locking

Re: [Nouveau] nouveau broken on Riva TNT2 in 5.9.0-rc8: GPU not supported on big-endian

2020-10-28 Thread Ondrej Zary
On Saturday 10 October 2020 02:02:42 Karol Herbst wrote: > On Sat, Oct 10, 2020 at 12:23 AM Ilia Mirkin wrote: > > > > On Fri, Oct 9, 2020 at 5:54 PM Karol Herbst wrote: > > > > > > On Fri, Oct 9, 2020 at 11:35 PM Ondrej Zary wrote: > > > > > > > > Hello, > > > > I'm testing 5.9.0-rc8 and found

Re: [PATCH v2 00/15] Introduce threaded trace streaming for basic perf record operation

2020-10-28 Thread Namhyung Kim
Hi, On Wed, Oct 28, 2020 at 1:02 AM Alexey Budankov wrote: > > > On 27.10.2020 15:10, Jiri Olsa wrote: > > On Mon, Oct 26, 2020 at 08:59:01PM +0300, Alexey Budankov wrote: > >> > >> On 24.10.2020 18:43, Jiri Olsa wrote: > >>> On Wed, Oct 21, 2020 at 06:52:43PM +0300, Alexey Budankov wrote: >

[PATCH] gpiolib: acpi: Support GpioInt with active_low polarity

2020-10-28 Thread Ricardo Ribalda
On the current implementation we only support active_high polarity for GpioInt. There can be cases where a GPIO has active_low polarity and it is also a IRQ source. De-couple the irq_polarity and active_low fields instead of re-use it. With this patch we support ACPI devices such as: Name

Re: [PATCH v1 1/2] ASoC: qcom: dt-bindings: Add SM8250 sound card bindings

2020-10-28 Thread Srinivas Kandagatla
On 28/10/2020 15:01, Rob Herring wrote: On Mon, Oct 26, 2020 at 05:09:46PM +, Srinivas Kandagatla wrote: This patch adds bindings required for SM8250 based soundcards for example Qualcomm Robotics RB5 Development Kit which makes use of ADSP and Internal LPASS codec. You didn't send to

Re: [PATCH v4 1/2] kunit: Support for Parameterized Testing

2020-10-28 Thread Arpitha Raghunandan
On 28/10/20 12:51 am, Marco Elver wrote: > On Tue, 27 Oct 2020 at 18:47, Arpitha Raghunandan <98.a...@gmail.com> wrote: >> >> Implementation of support for parameterized testing in KUnit. >> This approach requires the creation of a test case using the >> KUNIT_CASE_PARAM macro that accepts a

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