Re: [PATCH v2 08/11] swiotlb-xen: introduce phys_to_dma/dma_to_phys translations

2020-06-09 Thread Stefano Stabellini
On Mon, 8 Jun 2020, Christoph Hellwig wrote: > On Mon, Jun 08, 2020 at 04:06:57PM -0700, Stefano Stabellini wrote: > > I understand what you are suggesting about having something like: > > > > xen_phys_to_dma(...) > > { > > phys_addr_t phys = xen_phys_to_bus(dev, paddr) > >

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-06-09 Thread Dan Williams
On Tue, Jun 9, 2020 at 12:57 PM David Miller wrote: > > From: "Williams, Dan J" > Date: Tue, 9 Jun 2020 19:30:50 + > > > On Tue, 2020-06-09 at 11:36 -0700, David Miller wrote: > >> From: Stephen Hemminger > >> Date: Tue, 9 Jun 2020 10:19:35 -0700 > >> > >> > Yes, words do matter and convey a

Re: [RFC][PATCH 7/7] sched: Replace rq::wake_list

2020-06-09 Thread Eric Biggers
On Tue, Jun 09, 2020 at 02:25:09PM -0700, Guenter Roeck wrote: > > > > Still occurring on Linus' tree. This needs to be fixed. (And not by > > removing > > support for randstruct; that's not a "fix"...) > > > > How about the hack below ? > > Guenter > > --- > diff --git a/include/linux/sche

[PATCH V2] ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect

2020-06-09 Thread Drew Fustini
AM3358 pin mcasp0_aclkr (ZCZ ball B13) [0] is routed to P1.31 header [1] Mode 4 of this pin is mmc0_sdwp (SD Write Protect). A signal connected to P1.31 may accidentally trigger mmc0 write protection. To avoid this situation, do not put mcasp0_aclkr in mode 4 (mmc0_sdwp) by default. [0] http://w

Re: [PATCH V3 1/9] pinctrl: imx: Support building SCU pinctrl driver as module

2020-06-09 Thread kernel test robot
se tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Anson-Huang/Support-i-MX8-SoCs-pinctrl-drivers-built-as-module/20200609-223423 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel con

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 10:53:03PM +0200, Michal Kubecek wrote: > The same IMHO holds for your example with register states or names: > I believe it is highly beneficial to make them consistent with technical > documentation. There are even cases where we violate kernel coding style > (e.g. by usin

[PATCH] ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect

2020-06-09 Thread Drew Fustini
AM3358 pin mcasp0_aclkr (ZCZ ball B13) [0] is routed to P1.13 header [1] Mode 4 of this pin is mmc0_sdwp (SD Write Protect). A signal connected to P1.13 may accidentally trigger mmc0 write protection. To avoid this situation, do not put mcasp0_aclkr in mode 4 (mmc0_sdwp) by default. [0] http://w

Re: [PATCH v2 1/3] capabilities: Introduce CAP_CHECKPOINT_RESTORE

2020-06-09 Thread Cyrill Gorcunov
On Tue, Jun 09, 2020 at 08:09:49PM +, Nicolas Viennot wrote: > >> proc_map_files_get_link(struct dentry *dentry, > >>struct inode *inode, > >>struct delayed_call *done) > >> { > >> - if (!capable(CAP_SYS_ADMIN)) > >> + if (!(capable(CAP_SYS_ADMIN) ||

Re: power-off delay/hang due to commit 6d25be57 (mainline)

2020-06-09 Thread Stephen Berman
On Tue, 09 Jun 2020 12:06:23 +0200 Stephen Berman wrote: > Do you still want me to check whether removing the iwlwifi driver makes > a differece? And with the CDROM still detached, or does that not > matter? I'm not actually sure just what you mean by removing the wifi driver, but I just now t

Re: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-09 Thread Christian Brauner
On June 9, 2020 10:55:42 PM GMT+02:00, Kees Cook wrote: >On Tue, Jun 09, 2020 at 10:03:46PM +0200, Christian Brauner wrote: >> I'm looking at __scm_install_fd() and I wonder what specifically you >> mean by that? The put_user() seems to be placed such that the install >> occurrs only if it succeed

Re: [RFC][PATCH 7/7] sched: Replace rq::wake_list

2020-06-09 Thread Guenter Roeck
On Tue, Jun 09, 2020 at 01:21:34PM -0700, Eric Biggers wrote: > On Sat, Jun 06, 2020 at 04:13:33PM -0700, Guenter Roeck wrote: > > On 6/5/20 9:15 AM, Eric Biggers wrote: > > > On Fri, Jun 05, 2020 at 09:41:54AM +0200, Peter Zijlstra wrote: > > >> On Thu, Jun 04, 2020 at 05:24:33PM -0700, Eric Bigge

[PATCH] staging: wfx: make methods 'wfx_get_ps_timeout' and 'wfx_update_pm' static

2020-06-09 Thread Julius Hemanth Pitti
Add "static" for local methods wfx_get_ps_timeout() and wfx_update_pm() to address following sparse warnings. wfx/sta.c:203:5: warning: symbol 'wfx_get_ps_timeout' was not declared. Should it be static? wfx/sta.c:233:5: warning: symbol 'wfx_update_pm' was not declared. Should it be static? Sign

Re: [PATCH v3 0/7] Venus dynamic debug

2020-06-09 Thread jim . cromie
On Tue, Jun 9, 2020 at 10:49 AM Joe Perches wrote: > > (adding Jim Cromie and comments) > thanks for bringing me in... > On Tue, 2020-06-09 at 09:03 -0700, Randy Dunlap wrote: > > On 6/9/20 4:13 AM, Matthew Wilcox wrote: > > > On Tue, Jun 09, 2020 at 01:45:57PM +0300, Stanimir Varbanov wrote: >

Re: [PATCH v4 01/17] media: dt-binding: mtk-vcodec: Separating mtk-vcodec encode node.

2020-06-09 Thread Rob Herring
On Sat, May 30, 2020 at 04:10:02PM +0800, Yong Wu wrote: > From: Maoguang Meng > > Update binding document since the avc and vp8 hardware encoder in > mt8173 are now separated. Separate "mediatek,mt8173-vcodec-enc" to > "mediatek,mt8173-vcodec-vp8-enc" and "mediatek,mt8173-vcodec-avc-enc". The h

Re: KMSAN: uninit-value in slhc_compress (2)

2020-06-09 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:f0d5ec90 kmsan: apply __no_sanitize_memory to dotraplinkag.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=10495a3610 kernel config: https://syzkall

Re: [PATCH 1/3] usb: typec: Add QCOM PMIC typec detection driver

2020-06-09 Thread Randy Dunlap
On 6/9/20 1:58 PM, Wesley Cheng wrote: > diff --git a/drivers/usb/typec/Kconfig b/drivers/usb/typec/Kconfig > index 559dd06..8de2520 100644 > --- a/drivers/usb/typec/Kconfig > +++ b/drivers/usb/typec/Kconfig > @@ -73,6 +73,17 @@ config TYPEC_TPS6598X > If you choose to build this driver as

[PATCH] clk: mediatek: Remove ifr{0,1}_cfg_regs structures

2020-06-09 Thread Stephen Boyd
These aren't used and the macros that reference them aren't used either. Remove the dead code to avoid compile warnings. Cc: Owen Chen Cc: Mars Cheng Cc: Macpaul Lin Fixes: 1aca9939bf72 ("clk: mediatek: Add MT6765 clock support") Reported-by: kbuild test robot Signed-off-by: Stephen Boyd ---

Re: [PATCH] libbpf: Define __WORDSIZE if not available

2020-06-09 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 09, 2020 at 10:37:48PM +0200, Daniel Borkmann escreveu: > Hey Arnaldo, > > On 6/9/20 5:34 PM, Arnaldo Carvalho de Melo wrote: > > Some systems, such as Android, don't have a define for __WORDSIZE, do it > > in terms of __SIZEOF_LONG__, as done in perf since 2012: > > > >http://git

Re: [PATCH] clk: qcom: ipq4019: fix apss cpu overclocking

2020-06-09 Thread Stephen Boyd
Quoting Robert Marko (2020-06-08 02:47:15) > From: Christian Lamparter > > There's an interaction issue between the clk changes:" > clk: qcom: ipq4019: Add the apss cpu pll divider clock node > clk: qcom: ipq4019: remove fixed clocks and add pll clocks > " and the cpufreq-dt. > > cpufreq-dt is n

Re: [PATCH v2 1/3] capabilities: Introduce CAP_CHECKPOINT_RESTORE

2020-06-09 Thread Eric W. Biederman
Nicolas Viennot writes: >>> proc_map_files_get_link(struct dentry *dentry, >>> struct inode *inode, >>> struct delayed_call *done) >>> { >>> - if (!capable(CAP_SYS_ADMIN)) >>> + if (!(capable(CAP_SYS_ADMIN) || capable(CAP_CHECKPOINT_RESTORE))) >>>

Re: [PATCH v3 0/8] crpyto: introduce OSCCA certificate and SM2 asymmetric algorithm

2020-06-09 Thread Vitaly Chikunov
Tianjia, On Tue, Jun 09, 2020 at 09:48:47PM +0800, Tianjia Zhang wrote: > Hello all, > > This new module implement the OSCCA certificate and SM2 public key > algorithm. It was published by State Encryption Management Bureau, China. > List of specifications for OSCCA certificate and SM2 elliptic c

Re: [PATCH 01/21] KVM: x86/mmu: Track the associated kmem_cache in the MMU caches

2020-06-09 Thread Ben Gardon
On Fri, Jun 5, 2020 at 2:39 PM Sean Christopherson wrote: > > Track the kmem_cache used for non-page KVM MMU memory caches instead of > passing in the associated kmem_cache when filling the cache. This will > allow consolidating code and other cleanups. > > No functional change intended. > > Sign

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-09 Thread Bjorn Helgaas
On Sun, Jun 07, 2020 at 01:36:32PM +0200, Greg Kroah-Hartman wrote: > Your "problem" I think can be summed up a bit more concise: > - you don't trust kernel drivers to be "secure" for untrusted > devices > - you only want to bind kernel drivers to "internal" devices > a

[GIT PULL] UML changes for v5.8

2020-06-09 Thread Richard Weinberger
Linus, The following changes since commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162: Linux 5.7 (2020-05-31 16:49:15 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git tags/for-linus-5.8-rc1 for you to fetch changes up to f6e8c474390be2e6

[GIT PULL] UBI changes for v5.8

2020-06-09 Thread Richard Weinberger
Linus, The following changes since commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162: Linux 5.7 (2020-05-31 16:49:15 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/for-linus-5.8-rc1 for you to fetch changes up to 4b68bf9a69d22d

[PATCH 1/3] usb: typec: Add QCOM PMIC typec detection driver

2020-06-09 Thread Wesley Cheng
The QCOM SPMI typec driver handles the role and orientation detection, and notifies client drivers using the USB role switch framework. It registers as a typec port, so orientation can be communicated using the typec switch APIs. The driver also registers the VBUS output regulator, so client dri

[PATCH 3/3] arm64: boot: dts: qcom: pm8150b: Add node for USB type C block

2020-06-09 Thread Wesley Cheng
The PM8150B has a dedicated USB type C block, which can be used for type C orientation and role detection. Create the reference node to this type C block for further use. Signed-off-by: Wesley Cheng --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --g

Re: [PATCH v2 9/9] module: Reorder functions

2020-06-09 Thread Kristen Carlson Accardi
On Tue, 2020-06-09 at 13:42 -0700, Kees Cook wrote: > On Tue, Jun 09, 2020 at 01:14:04PM -0700, Kristen Carlson Accardi > wrote: > > On Thu, 2020-05-21 at 14:33 -0700, Kees Cook wrote: > > > Oh! And I am reminded suddenly about CONFIG_FG_KASLR needing to > > > interact > > > correctly with CONFIG_L

[PATCH 0/3] Introduce PMIC based USB type C detection

2020-06-09 Thread Wesley Cheng
Add the required drivers for implementing type C orientation and role detection using the Qualcomm PMIC. Currently, PMICs such as the PM8150B have an integrated type C block, which can be utilized for this. This series adds the dt-binding, PMIC type C driver, and DTS nodes. The PMIC type C drive

[PATCH 2/3] dt-bindings: usb: Add Qualcomm PMIC type C controller dt-binding

2020-06-09 Thread Wesley Cheng
Introduce the dt-binding for enabling USB type C orientation and role detection using the PM8150B. The driver will be responsible for receiving the interrupt at a state change on the CC lines, reading the orientation/role, and communicating this information to the remote clients, which can include

Re: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 10:03:46PM +0200, Christian Brauner wrote: > I'm looking at __scm_install_fd() and I wonder what specifically you > mean by that? The put_user() seems to be placed such that the install > occurrs only if it succeeded. Sure, it only handles a single fd but > whatever. Userspa

[PATCH 0/2] Add MSIOF support for R8A7742 SOC

2020-06-09 Thread Lad Prabhakar
Hi All, This patch series adds support for MSIOF on R8A7742 SOC. Cheers, Prabhakar Lad Prabhakar (2): dt-bindings: spi: renesas,sh-msiof: Add r8a7742 support ARM: dts: r8a7742: Add MSIOF[0123] support .../devicetree/bindings/spi/renesas,sh-msiof.yaml | 1 + arch/arm/boot/dts/r8a7742.dtsi

[PATCH 1/2] dt-bindings: spi: renesas,sh-msiof: Add r8a7742 support

2020-06-09 Thread Lad Prabhakar
Document RZ/G1H (R8A7742) 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(+) diff --git a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml b/Documentat

[PATCH 2/2] ARM: dts: r8a7742: Add MSIOF[0123] support

2020-06-09 Thread Lad Prabhakar
Add the DT nodes needed by MSIOF[0123] interfaces to the SoC dtsi. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742.dtsi | 64 ++ 1 file changed, 64 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-06-09 Thread Michal Kubecek
On Tue, Jun 09, 2020 at 01:29:42PM -0700, Kees Cook wrote: > On Tue, Jun 09, 2020 at 01:05:17PM -0700, David Miller wrote: > > From: Kees Cook > > Date: Tue, 9 Jun 2020 12:49:48 -0700 > > > > > Okay, for now, how about: > > > > > > - If we're dealing with an existing spec, match the language. >

[GIT PULL] fuse update for 5.8

2020-06-09 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-update-5.8 - Fix a rare deadlock in virtiofs. - Fix st_blocks in writeback cache mode. - Fix wrong checks in splice move causing spurious warnings. - Fix a race between a GETATTR reque

Re: [patch V9 10/39] x86/entry: Provide helpers for execute on irqstack

2020-06-09 Thread Thomas Gleixner
Qian, Thomas Gleixner writes: >> BAD (after oom02) >> # cat /sys/kernel/debug/stackdepot/info >> Unique stacks: 140476 > > That's indeed odd. I try to reproduce and figure out what really breaks > here. I checked your config file and I think I know where this comes from. Can you plase disable KA

Re: [PATCH] dt-bindings: clock: Add a missing include to MMP Audio Clock binding

2020-06-09 Thread Stephen Boyd
Quoting Lubomir Rintel (2020-06-04 23:52:58) > The include file for input clock in the example was missing, breaking the > validation. > > Signed-off-by: Lubomir Rintel > Reported-by: Rob Herring > --- Applied to clk-next

Re: [PATCH] clk: baikal-t1: remove redundant assignment to variable 'divider'

2020-06-09 Thread Stephen Boyd
Quoting Colin King (2020-06-02 10:24:35) > From: Colin Ian King > > The variable divider is being initialized with a value that is never read > and it is being updated later with a new value. The initialization is > redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed

Re: [PATCH][next] clk: baikal-t1: fix spelling mistake "Uncompatible" -> "Incompatible"

2020-06-09 Thread Stephen Boyd
Quoting Colin King (2020-06-02 05:10:30) > From: Colin Ian King > > There is a spelling mistake in a pr_err error message. Fix it. > > Signed-off-by: Colin Ian King > --- Applied to clk-next

Re: [PATCH v2 9/9] module: Reorder functions

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 01:14:04PM -0700, Kristen Carlson Accardi wrote: > On Thu, 2020-05-21 at 14:33 -0700, Kees Cook wrote: > > Oh! And I am reminded suddenly about CONFIG_FG_KASLR needing to > > interact > > correctly with CONFIG_LD_DEAD_CODE_DATA_ELIMINATION in that we do NOT > > want the sect

Re: [PATCH v3 4/7] selftests/ftrace: Convert required interface checks into requires list

2020-06-09 Thread Shuah Khan
On 6/2/20 8:40 PM, Masami Hiramatsu wrote: Convert the required tracefs interface checking code with requires: list. Signed-off-by: Masami Hiramatsu Reviewed-by: Tom Zanussi --- Changes in v2: Fix trigger-onchange-action-hist.tc requires list. Masami, This patch doesn't apply to linux-ks

[GIT PULL] mtd: Changes for 5.8

2020-06-09 Thread Richard Weinberger
Linus, The following changes since commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162: Linux 5.7 (2020-05-31 16:49:15 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-5.8 for you to fetch changes up to 5788ccf3c84f5587418a

Re: [PATCH] libbpf: Define __WORDSIZE if not available

2020-06-09 Thread Daniel Borkmann
Hey Arnaldo, On 6/9/20 5:34 PM, Arnaldo Carvalho de Melo wrote: Some systems, such as Android, don't have a define for __WORDSIZE, do it in terms of __SIZEOF_LONG__, as done in perf since 2012: http://git.kernel.org/torvalds/c/3f34f6c0233ae055b5 For reference: https://gcc.gnu.org/onlinedocs

[GIT PULL] overlayfs update for 5.8

2020-06-09 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git tags/ovl-update-5.8 There are some changes outside of the overlayfs tree; clone_private_mount() was reviewed by Al, the rest are trivial. No other filesystems are affected by these. Fixes: - Resolve

Re: [PATCH v2] arm64: vdso32: add CONFIG_THUMB2_COMPAT_VDSO

2020-06-09 Thread Catalin Marinas
On Mon, Jun 08, 2020 at 01:57:08PM -0700, Nick Desaulniers wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 7f9d38444d6d..fe9e6b231cac 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -1299,6 +1299,14 @@ config COMPAT_VDSO > You must have a 32-bit build

Re: [patch V9 10/39] x86/entry: Provide helpers for execute on irqstack

2020-06-09 Thread Thomas Gleixner
Qian, Qian Cai writes: > On Tue, Jun 09, 2020 at 12:20:06AM +0200, Thomas Gleixner wrote: >> Note, that I doubled the size of the stack depot so that we get real >> numbers and not the cutoff by the size limit. IOW, the warning should >> not trigger anymore. If it triggers nevertheless then the n

Re: [PATCH v4 1/9] dt-bindings: atmel-tcb: convert bindings to json-schema

2020-06-09 Thread Rob Herring
On Sat, 30 May 2020 01:27:41 +0200, Alexandre Belloni wrote: > Convert Atmel Timer Counter Blocks bindings to DT schema format using > json-schema. > > Also move it out of mfd as it is not and has never been related to mfd. > > Cc: Rob Herring > Signed-off-by: Alexandre Belloni > --- > Changes

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-06-09 Thread Michal Kubecek
On Tue, Jun 09, 2020 at 10:19:35AM -0700, Stephen Hemminger wrote: > On Sun, 07 Jun 2020 16:45:32 -0700 (PDT) > David Miller wrote: > > > From: Stephen Hemminger > > Date: Sun, 7 Jun 2020 15:30:19 -0700 > > > > > Open source projects have been working hard to remove the terms master > > > and

Re: [PATCH v2 05/10] KVM: x86: interrupt based APF 'page ready' event delivery

2020-06-09 Thread Paolo Bonzini
On 09/06/20 21:10, Vivek Goyal wrote: > Hi Vitaly, > > Have a question about page ready events. > > Now we deliver PAGE_NOT_PRESENT page faults only if guest is not in > kernel mode. So say kernel tried to access a page and we halted cpu. > When page is available, we will inject page_ready inter

[GIT PULL] afs: Misc small fixes

2020-06-09 Thread David Howells
6:44:36 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20200609 for you to fetch changes up to c68421bbad755a280851afff0fb236dd4e53e684: afs: Make afs_zap_data() static (2020-

Re: [PATCH 1/2] dt-bindings: chrome: Add cros-ec-typec mux props

2020-06-09 Thread Rob Herring
On Fri, May 29, 2020 at 5:30 PM Prashant Malani wrote: > > Hi Rob, > > Thanks for reviewing the patch! Kindly see inline: > > On Fri, May 29, 2020 at 2:55 PM Rob Herring wrote: > > > > > > " Reference to a DT node for the USB Type C Multiplexer controlling the > > > > data lines routing for this

Re: [PATCH v5 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-06-09 Thread Mathieu Poirier
Hey Ben, On Tue, Jun 09, 2020 at 03:29:28PM +, Ben Levinsky wrote: > Hi Suman, Mathieu, > > Thank you for your comments. Please see my replies inline. > > Best Regards, > Ben > > -Original Message- > From: Suman Anna > Sent: Monday, June 8, 2020 5:00 PM > To: Mathieu Poirier ; Ben

[ANNOUNCE] 5.4.44-rt27

2020-06-09 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 5.4.44-rt27 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v5.4-rt Head SHA1: ee8a165804fcf167113319fa659a4a3d1f18e536 Or to build 5.4.44-rt27 direct

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 01:05:17PM -0700, David Miller wrote: > From: Kees Cook > Date: Tue, 9 Jun 2020 12:49:48 -0700 > > > Okay, for now, how about: > > > > - If we're dealing with an existing spec, match the language. > > Yes. > > > - If we're dealing with a new spec, ask the authors to fix

[PATCH] docs: hw-vuln: SRBDS: Fix "Title underline too short" warnings during build

2020-06-09 Thread Salvatore Bonaccorso
Some of the title underlining did not have the correct length causing a few warnings when building the htmldocs. Line up each of the title underlinings with the text they are under. Fixes: 7222a1b5b874 ("x86/speculation: Add SRBDS vulnerability and mitigation documentation") Cc: Mark Gross Cc: J

Re: [PATCH] dccp: Fix possible memleak in dccp_init and dccp_fini

2020-06-09 Thread David Miller
From: Wang Hai Date: Tue, 9 Jun 2020 22:18:16 +0800 > There are some memory leaks in dccp_init() and dccp_fini(). > > In dccp_fini() and the error handling path in dccp_init(), free lhash2 > is missing. Add inet_hashinfo2_free_mod() to do it. > > If inet_hashinfo2_init_mod() failed in dccp_init

Re: [PATCH v4 kunit-next 0/2] kunit: extend kunit resources API

2020-06-09 Thread Shuah Khan
On 6/5/20 3:20 PM, Brendan Higgins wrote: On Fri, May 29, 2020 at 2:46 PM Alan Maguire wrote: A recent RFC patch set [1] suggests some additional functionality may be needed around kunit resources. It seems to require 1. support for resources without allocation 2. support for lookup of such

Re: power-off delay/hang due to commit 6d25be57 (mainline)

2020-06-09 Thread Sebastian Andrzej Siewior
On 2020-06-09 12:06:23 [+0200], Stephen Berman wrote: > I recompiled kernel 5.6.4 with the printk() call you suggested, then > booted the kernel with "ignore_loglevel initcall_debug" (but leaving the > CDROM and wifi intact for now). After working as I normally do, I > called `shutdown -h now', ag

Re: [PATCH v3 07/15] drm/amdgpu: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-09 Thread Alex Deucher
On Tue, Jun 9, 2020 at 5:18 AM Piotr Stankiewicz wrote: > > Seeing as there is shorthand available to use when asking for any type > of interrupt, or any type of message signalled interrupt, leverage it. > > Signed-off-by: Piotr Stankiewicz > Reviewed-by: Andy Shevchenko Acked-by: Alex Deucher

Re: [RFC][PATCH 7/7] sched: Replace rq::wake_list

2020-06-09 Thread Eric Biggers
On Sat, Jun 06, 2020 at 04:13:33PM -0700, Guenter Roeck wrote: > On 6/5/20 9:15 AM, Eric Biggers wrote: > > On Fri, Jun 05, 2020 at 09:41:54AM +0200, Peter Zijlstra wrote: > >> On Thu, Jun 04, 2020 at 05:24:33PM -0700, Eric Biggers wrote: > >>> On Thu, Jun 04, 2020 at 07:18:37AM -0700, Guenter Roec

Re: [PATCH v8 1/5] Add KUnit Struct to Current Task

2020-06-09 Thread Shuah Khan
On 6/5/20 10:03 PM, David Gow wrote: From: Patricia Alfonso In order to integrate debugging tools like KASAN into the KUnit framework, add KUnit struct to the current task to keep track of the current KUnit test. Signed-off-by: Patricia Alfonso Reviewed-by: Brendan Higgins Signed-off-by: Dav

Re: [PATCH v6 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-06-09 Thread Johan Jonker
On 6/9/20 6:10 PM, Johan Jonker wrote: > On 6/9/20 9:40 AM, Yifeng Zhao wrote: [..] >> +static int rk_nfc_write_page(struct mtd_info *mtd, struct nand_chip *chip, >> + const u8 *buf, int page, int raw) >> +{ >> +struct rk_nfc *nfc = nand_get_controller_data(chip); >>

Re: [PATCH 3/7] reset: add BCM6345 reset controller driver

2020-06-09 Thread Florian Fainelli
On 6/9/2020 9:41 AM, Álvaro Fernández Rojas wrote: If you can do without this, with I think this driver could be made to use reset-simple. >>> >>> Yes, but only if I can add reset support with a configurable sleep range to >>> reset-simple. Is this possible? >> >> I should have mentio

[PATCH v2 2/2] i2c: fsi: Prevent adding adapters for ports without dts nodes

2020-06-09 Thread Eddie James
Ports should be defined in the devicetree if they are to be enabled on the system. Signed-off-by: Eddie James Signed-off-by: Joel Stanley --- Changes since v1: - Remove the check for null device node since that is checked in of_device_is_available drivers/i2c/busses/i2c-fsi.c | 2 +- 1 fil

[PATCH v2 0/2] i2c: fsi: Fixes for systems with more ports

2020-06-09 Thread Eddie James
This series fixes a register definition for the FSI-attached I2C master to allow all the available ports. In addition, the code to add an adapter for each port is modified to require a device-tree entry for the bus. This is so that systems with lots of busses that have no devices on them don't add

[PATCH v2 1/2] i2c: fsi: Fix the port number field in status register

2020-06-09 Thread Eddie James
The port number field in the status register was not correct, so fix it. Fixes: d6ffb6300116 ("i2c: Add FSI-attached I2C master algorithm") Signed-off-by: Eddie James Signed-off-by: Joel Stanley --- drivers/i2c/busses/i2c-fsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

RE: [PATCH v2 1/3] capabilities: Introduce CAP_CHECKPOINT_RESTORE

2020-06-09 Thread Nicolas Viennot
>> proc_map_files_get_link(struct dentry *dentry, >> struct inode *inode, >> struct delayed_call *done) >> { >> -if (!capable(CAP_SYS_ADMIN)) >> +if (!(capable(CAP_SYS_ADMIN) || capable(CAP_CHECKPOINT_RESTORE))) >> return ERR_PTR(-EPE

[PATCH] Replace HTTP links with HTTPS ones: Documentation/translations/it_IT

2020-06-09 Thread Alexander A. Klimov
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: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If both the HTTP and

Re: [PATCH v2 9/9] module: Reorder functions

2020-06-09 Thread Kristen Carlson Accardi
On Thu, 2020-05-21 at 14:33 -0700, Kees Cook wrote: > Oh! And I am reminded suddenly about CONFIG_FG_KASLR needing to > interact > correctly with CONFIG_LD_DEAD_CODE_DATA_ELIMINATION in that we do NOT > want the sections to be collapsed at link time: sorry - I'm a little confused and was wondering

[4.19 stable-rt PATCH v2] tasklet: Fix UP case for tasklet CHAINED state

2020-06-09 Thread Tom Zanussi
From: Tom Zanussi commit 62d0a2a30cd0 (tasklet: Address a race resulting in double-enqueue) addresses a problem that can result in a tasklet being enqueued on two cpus at the same time by combining the RUN flag with a new CHAINED flag, and relies on the combination to be present in order to zero

Re: [PATCH RT 1/2] tasklet: Address a race resulting in double-enqueue

2020-06-09 Thread Tom Zanussi
On Tue, 2020-06-09 at 23:03 +0300, Ramon Fried wrote: > On Tue, Jun 9, 2020 at 8:20 PM Tom Zanussi > wrote: > > > > Hi Ramon, > > > > On Tue, 2020-06-09 at 20:14 +0300, Ramon Fried wrote: > > > > > > On June 9, 2020 8:10:43 PM GMT+03:00, Sebastian Andrzej Siewior < > > > bige...@linutronix.de>

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-06-09 Thread David Miller
From: Kees Cook Date: Tue, 9 Jun 2020 12:49:48 -0700 > Okay, for now, how about: > > - If we're dealing with an existing spec, match the language. Yes. > - If we're dealing with a new spec, ask the authors to fix their language. Please be more specific about "new", if it's a passed and ratifi

Re: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-09 Thread Christian Brauner
On Tue, Jun 09, 2020 at 12:43:48PM -0700, Kees Cook wrote: > On Fri, Jun 05, 2020 at 07:54:36AM +, Sargun Dhillon wrote: > > On Thu, Jun 04, 2020 at 02:52:26PM +0200, Christian Brauner wrote: > > > On Wed, Jun 03, 2020 at 07:22:57PM -0700, Kees Cook wrote: > > > > On Thu, Jun 04, 2020 at 03:24:

Re: [PATCH RT 1/2] tasklet: Address a race resulting in double-enqueue

2020-06-09 Thread Ramon Fried
On Tue, Jun 9, 2020 at 8:20 PM Tom Zanussi wrote: > > Hi Ramon, > > On Tue, 2020-06-09 at 20:14 +0300, Ramon Fried wrote: > > > > On June 9, 2020 8:10:43 PM GMT+03:00, Sebastian Andrzej Siewior < > > bige...@linutronix.de> wrote: > > > On 2020-06-09 20:07:06 [+0300], Ramon Fried wrote: > > > > Ind

Re: [PATCH v3 23/39] dt-bindings: memory: tegra20: Add memory client IDs

2020-06-09 Thread Rob Herring
On Sun, 07 Jun 2020 21:55:14 +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/tegra20-mc.h | 53 + > 1 file changed, 53 insertions(+) > Please

Re: [PATCH v3 24/39] dt-bindings: memory: tegra30: Add memory client IDs

2020-06-09 Thread Rob Herring
On Sun, 07 Jun 2020 21:55:15 +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/tegra30-mc.h | 67 + > 1 file changed, 67 insertions(+) > Please

Re: [PATCH 03/16] dyndbg: refine debug verbosity; 1 is basic, 2 more chatty

2020-06-09 Thread jim . cromie
On Mon, Jun 8, 2020 at 5:21 AM Daniel Thompson wrote: > > On Fri, Jun 05, 2020 at 10:26:32AM -0600, Jim Cromie wrote: > > The verbose/debug logging done for `cat $MNT/dynamic_debug/control` is > > voluminous (2 per control file entry + 2 per PAGE). Moreover, it just > > prints pointer and sequenc

Re: [PATCH] kunit: kunit_config: Fix parsing of CONFIG options with space

2020-06-09 Thread Brendan Higgins
On Sun, Jun 7, 2020 at 2:57 PM Rikard Falkeborn wrote: > > Commit 8b59cd81dc5e ("kbuild: ensure full rebuild when the compiler is > updated") introduced a new CONFIG option CONFIG_CC_VERSION_TEXT. On my > system, this is set to "gcc (GCC) 10.1.0" which breaks KUnit config > parsing which did not l

Re: [ Aandacht!] Hey

2020-06-09 Thread zamzam318
[ Dringend!] https://bit.ly/2XJZMSA Met alle goede wensen,zamzam...@yahoo.com

Re: [PATCH] drm/msm: fix link error without CONFIG_DEBUG_FS

2020-06-09 Thread Linus Walleij
On Tue, Jun 9, 2020 at 4:04 PM Rob Clark wrote: > On Tue, Jun 9, 2020 at 5:48 AM Linus Walleij wrote: > > On Tue, May 5, 2020 at 10:27 AM Linus Walleij > > wrote: > > > On Wed, Apr 8, 2020 at 9:15 PM Arnd Bergmann wrote: > > > > > > > I ran into a randconfig link error with debugfs disabled: >

Re: [PATCH 1/6] arm64: dts: qcom: sm8150: add apps_smmu node

2020-06-09 Thread Jonathan Marek
On 5/28/20 11:42 PM, Bjorn Andersson wrote: On Thu 28 May 20:34 PDT 2020, Jonathan Marek wrote: On 5/28/20 11:15 PM, Bjorn Andersson wrote: On Thu 28 May 20:02 PDT 2020, Jonathan Marek wrote: On 5/28/20 10:52 PM, Bjorn Andersson wrote: On Sat 23 May 19:38 PDT 2020, Jonathan Marek wrote:

RE: [PATCH] gpio: mpc8xxx: change the gpio interrupt flags.

2020-06-09 Thread Leo Li
> -Original Message- > From: Hui Song > Sent: Tuesday, June 9, 2020 4:38 AM > To: linux-de...@linux.nxdi.nxp.com; Shawn Guo ; > Leo Li ; Rob Herring ; Mark > Rutland ; Linus Walleij ; > Bartosz Golaszewski > Cc: linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; linux- >

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 12:34:37PM -0700, David Miller wrote: > From: Kees Cook > Date: Tue, 9 Jun 2020 12:29:54 -0700 > > > Given what I've seen from other communities and what I know of the kernel > > community, I don't think we're going to get consensus on some massive > > global search/replac

Re: [PATCH v2] arm64: acpi: fix UBSAN warning

2020-06-09 Thread Jeremy Linton
Hi, On 6/8/20 3:38 PM, Nick Desaulniers wrote: Will reported a UBSAN warning: UBSAN: null-ptr-deref in arch/arm64/kernel/smp.c:596:6 member access within null pointer of type 'struct acpi_madt_generic_interrupt' CPU: 0 PID: 0 Comm: swapper Not tainted 5.7.0-rc6-00124-g96bc42ff0a82 #1 Call trace

[PATCH v2] staging: rtl8712: switch to common ieee80211 headers

2020-06-09 Thread Pascal Terjan
This patch switches to and and deletes a lot of duplicate definitions plus many unused ones. Non obvious changes: - struct ieee80211_ht_cap is different enough that I preferred to keep (and rename) it for now. - mcs_rate in translate_scan was not read after being set, so I deleted that part

RE: [PATCH v2 3/3] platform/x86: dell-wmi: add new dmi keys to bios_to_linux_keycode

2020-06-09 Thread Mario.Limonciello
> > Looking at the last two lines... and for me it looks like that 0x00FF > and 0x are just "placeholders" or special values for unknown / > custom / unsupported / reserved / special / ... codes. > > It is really suspicious why first 38 values are defined, then there is > gap, then one value

Re: [PATCH V7 3/4] clk: qcom: Add DT bindings for ipq6018 apss clock controller

2020-06-09 Thread Rob Herring
On Sat, 06 Jun 2020 16:25:06 +0530, Sivaprakash Murugesan wrote: > Add dt-binding for ipq6018 apss clock controller > > Signed-off-by: Sivaprakash Murugesan > --- > include/dt-bindings/clock/qcom,apss-ipq.h | 12 > 1 file changed, 12 insertions(+) > create mode 100644 include/dt-bi

Re: [PATCH 1/1] tools: testing: ftrace: trigger: fix spelling mistake

2020-06-09 Thread Shuah Khan
On 6/9/20 11:52 AM, Steven Rostedt wrote: On Tue, 9 Jun 2020 18:38:53 +0200 Flavio Suligoi wrote: Fix typo: "tigger" --> "trigger" Acked-by: Steven Rostedt (VMware) Shuah, want to take this patch? Yes. I will get this one in. thanks, -- Shuah

Re: [PATCH 5/6] arm64: dts: qcom: add sm8150 hdk dts

2020-06-09 Thread Jonathan Marek
On 5/28/20 11:01 PM, Bjorn Andersson wrote: On Sat 23 May 19:38 PDT 2020, Jonathan Marek wrote: Add initial HDK855 dts, based on sm8150-mtp, with a few changes. Happy to see this on the list Jonathan, just some minor things on the remoteproc nodes below. Signed-off-by: Jonathan Marek ---

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-09 Thread Lee Jones
On Tue, 09 Jun 2020, Michael Walle wrote: > Am 2020-06-09 17:19, schrieb Lee Jones: > > On Tue, 09 Jun 2020, Michael Walle wrote: > > > > > Am 2020-06-09 08:47, schrieb Lee Jones: > > > > On Mon, 08 Jun 2020, Michael Walle wrote: > > > > > > > > > Am 2020-06-08 20:56, schrieb Lee Jones: > > > > >

Re: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-09 Thread Kees Cook
On Fri, Jun 05, 2020 at 07:54:36AM +, Sargun Dhillon wrote: > On Thu, Jun 04, 2020 at 02:52:26PM +0200, Christian Brauner wrote: > > On Wed, Jun 03, 2020 at 07:22:57PM -0700, Kees Cook wrote: > > > On Thu, Jun 04, 2020 at 03:24:52AM +0200, Christian Brauner wrote: > > > > On Tue, Jun 02, 2020 a

[PATCH v2 3/8] arm64: dts: qcom: sm8150: add apps_smmu node

2020-06-09 Thread Jonathan Marek
Add the apps_smmu node for sm8150. For UFS, now that the kernel initializes the iommu, the stream mappings set by the bootloader are cleared. Adding the iommus property is required so that new mappings are created for UFS. Signed-off-by: Jonathan Marek Reviewed-by: Sai Prakash Ranjan Tested-by:

[PATCH v2 1/8] dt-bindings: arm-smmu: Add sm8150 and sm8250 compatible strings

2020-06-09 Thread Jonathan Marek
Add compatible strings for sm8150 and sm8250 iommus to documentation. Signed-off-by: Jonathan Marek --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bi

[PATCH v2 2/8] iommu: arm-smmu-impl: Use qcom impl for sm8150 and sm8250 compatibles

2020-06-09 Thread Jonathan Marek
Use the qcom implementation for IOMMU hardware on sm8150 and sm8250 SoCs. Signed-off-by: Jonathan Marek --- drivers/iommu/arm-smmu-impl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/arm-smmu-impl.c b/drivers/iommu/arm-smmu-impl.c index c75b9d957b70..f5f6c

Re: [PATCH v3 1/3] update UAPI header copies

2020-06-09 Thread Michal Kubecek
On Tue, Jun 09, 2020 at 10:47:16AM +0200, Oleksij Rempel wrote: > Update to net-dev: > dc0f3ed1973 ("net: phy: at803x: add cable diagnostics support for ATH9331 and > ATH8032") > > Signed-off-by: Oleksij Rempel > --- Please rebase this commit (and the whole series - but the other two patches do

Re: [PATCH 6/6] arm64: dts: qcom: add sm8250 hdk dts

2020-06-09 Thread Jonathan Marek
On 5/28/20 11:03 PM, Bjorn Andersson wrote: On Sat 23 May 19:38 PDT 2020, Jonathan Marek wrote: Add initial HDK865 dts, based on sm8250-mtp, with a few changes. Notably, regulator configs are changed a bit. Signed-off-by: Jonathan Marek --- arch/arm64/boot/dts/qcom/Makefile | 1 +

[PATCH v2 4/8] arm64: dts: qcom: sm8250: add apps_smmu node

2020-06-09 Thread Jonathan Marek
Add the apps_smmu node for sm8250. For UFS, now that the kernel initializes the iommu, the stream mappings set by the bootloader are cleared. Adding the iommus property is required so that new mappings are created for UFS. Signed-off-by: Jonathan Marek --- arch/arm64/boot/dts/qcom/sm8250.dtsi |

[PATCH v2 6/8] arm64: dts: qcom: sm8250: Add USB and PHY device nodes

2020-06-09 Thread Jonathan Marek
Add device nodes for the USB3 controller, QMP SS PHY and SNPS HS PHY. Signed-off-by: Jonathan Marek --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 180 +++ 1 file changed, 180 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.

Re: [PATCH 4.19 00/25] 4.19.128-rc1 review

2020-06-09 Thread Greg Kroah-Hartman
On Tue, Jun 09, 2020 at 01:20:42PM -0600, Shuah Khan wrote: > On 6/9/20 1:01 PM, Naresh Kamboju wrote: > > On Tue, 9 Jun 2020 at 23:21, Greg Kroah-Hartman > > wrote: > > > > > > This is the start of the stable review cycle for the 4.19.128 release. > > > There are 25 patches in this series, all w

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