[PATCH] MAINTAINERS: adjust entry to renaming and conversion

2020-07-05 Thread Lukas Bulwahn
Commit a74e81a56405 ("drm/panel: rocktech-jh057n00900: Rename the driver to st7703") and commit 7317f4574492 ("dt-bindings: panel: Convert rocktech,jh057n00900 to yaml") renamed and converted the files mentioned in DRM DRIVER FOR ROCKTECH JH057N00900 PANELS, but did not adjust the entries in MAINTA

Re: [PATCH 4/5] nvme-pci: Use the consistent return type of nvme_pci_iod_alloc_size()

2020-07-05 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

Re: [PATCH 5/5] nvme-pci: Use standard block status macro

2020-07-05 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

Re: [PATCH 3/3] selftests/seccomp: Check ENOSYS under tracing

2020-07-05 Thread Kees Cook
On Sat, Jul 04, 2020 at 11:12:32PM -0700, Kees Cook wrote: > There should be no difference between -1 and other negative syscalls > while tracing. > > Cc: Andy Lutomirski > Cc: Will Drewry > Cc: Will Deacon > Cc: Keno Fischer > Signed-off-by: Kees Cook > --- > tools/testing/selftests/seccomp

Re: [GIT pull resend] x86/entry for v5.8

2020-07-05 Thread Paolo Bonzini
On 13/06/20 00:05, Thomas Gleixner wrote: >- KVM > > KVM is inconsistent as well. Patches have been posted, but they have > not yet been commented on or picked up by the KVM folks. Hi Thomas, which patches are these? I must have missed them, and I would like to pick them up for ei

Re: [PATCH v2] .gitignore: Do not track `defconfig` from `make savedefconfig`

2020-07-05 Thread Masahiro Yamada
On Thu, Jul 2, 2020 at 8:12 PM Paul Menzel wrote: > > Running `make savedefconfig` creates by default `defconfig`, which is, > currently, on git’s radar, for example, `git status` lists this file as > untracked. > > So, add the file to `.gitignore`, so it’s ignored by git. > > Cc: linux-kernel@vge

[PATCH 1/2] arm64: dts: exynos: Fix silent hang after boot

2020-07-05 Thread Alim Akhtar
Once regulators are disabled after kernel boot, on espresso board silent hang observed because of LDO7 being disabled. LDO7 actually provide power to CPU cores and non-cpu blocks circuitries. Keep this regulator always-on to fix this hang. Fixes: 9589f7721e16 ("arm64: dts: Add S2MPS15 PMIC node on

[PATCH 2/2] arm64: dts: exynos: keep LDO12 always-on

2020-07-05 Thread Alim Akhtar
LDO12 on exynos7 supply power to VDDQ_UFS20_RESET, in case this regulator is OFF, UFS host controller can not send command to UFS device. To keep this supply ON, set regulator-always-on property for this ldo. Signed-off-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 + 1

Re: [PATCH v2] .gitignore: Do not track `defconfig` from `make savedefconfig`

2020-07-05 Thread Paul Menzel
Dear Masahiro, Am 05.07.20 um 09:14 schrieb Masahiro Yamada: On Thu, Jul 2, 2020 at 8:12 PM Paul Menzel wrote: Running `make savedefconfig` creates by default `defconfig`, which is, currently, on git’s radar, for example, `git status` lists this file as untracked. So, add the file to `.giti

KASAN: slab-out-of-bounds Read in __xfrm_state_lookup

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:c28e58ee Add linux-next specific files for 20200629 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=14fe1b1710 kernel config: https://syzkaller.appspot.com/x/.config?x=dcd26bbca17dd1db dashboard

Re: [PATCH 3/3] selftests: add readfile(2) selftests

2020-07-05 Thread Greg Kroah-Hartman
On Sun, Jul 05, 2020 at 03:41:48AM +0200, Heinrich Schuchardt wrote: > On 7/4/20 4:02 PM, Greg Kroah-Hartman wrote: > > Test the functionality of readfile(2) in various ways. > > Hello Greg, > > I expect readfile() to generate fanotify events FAN_OPEN_PERM, FAN_OPEN, > FAN_ACCESS_PERM, FAN_ACCESS

[PATCH v1 2/2] arm64: dts: exynos: keep LDO12 always-on

2020-07-05 Thread Alim Akhtar
LDO12 on exynos7 supply power to VDDQ_UFS20_RESET, in case this regulator is OFF, UFS host controller can not send command to UFS device. To keep this supply ON, set regulator-always-on property for this ldo. Signed-off-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 + 1

WARNING in bpf_xdp_adjust_tail

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:2ce578ca net: ipv4: Fix wrong type conversion from hint to.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1190cf2310 kernel config: https://syzkaller.appspot.com/x/.config?x=bf3aec367b9ab569 dashboar

[PATCH v1 1/2] arm64: dts: exynos: Fix silent hang after boot

2020-07-05 Thread Alim Akhtar
Once regulators are disabled after kernel boot, on espresso board silent hang observed because of LDO7 being disabled. LDO7 actually provide power to CPU cores and non-cpu blocks circuitries. Keep this regulator always-on to fix this hang. Fixes: 9589f7721e16 ("arm64: dts: Add S2MPS15 PMIC node on

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Jan Ziak
On Sun, Jul 5, 2020 at 8:32 AM Andreas Dilger wrote: > > On Jul 4, 2020, at 8:46 PM, Jan Ziak <0xe2.0x9a.0...@gmail.com> wrote: > > > > On Sun, Jul 5, 2020 at 4:16 AM Matthew Wilcox wrote: > >> > >> On Sun, Jul 05, 2020 at 04:06:22AM +0200, Jan Ziak wrote: > >>> Hello > >>> > >>> At first, I thou

[PATCH] Replace HTTP links with HTTPS ones: input drivers

2020-07-05 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: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] Replace HTTP links with HTTPS ones: Xilinx video IP cores

2020-07-05 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: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] Replace HTTP links with HTTPS ones: Dialog Semiconductor drivers

2020-07-05 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: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] Replace HTTP links with HTTPS ones: CAN network drivers

2020-07-05 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: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH 1/1] mm/mmap: optimize a branch judgment in ksys_mmap_pgoff()

2020-07-05 Thread Zhen Lei
Look at the pseudo code below. It's very clear that, the judgement "!is_file_hugepages(file)" at 3) is duplicated to the one at 1), we can use "else if" to avoid it. And the assignment "retval = -EINVAL" at 2) is only needed by the branch 3), because "retval" will be overwritten at 4). No function

Re: [PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on

2020-07-05 Thread Sam Ravnborg
Hi Jitao. On Fri, Jul 03, 2020 at 05:51:13PM +0800, Jitao Shi wrote: > Delay the backlight on to make sure the video stable. > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/panel/panel-simple.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Vito Caputo
On Sun, Jul 05, 2020 at 04:27:32AM +0100, Matthew Wilcox wrote: > On Sun, Jul 05, 2020 at 05:18:58AM +0200, Jan Ziak wrote: > > On Sun, Jul 5, 2020 at 5:12 AM Matthew Wilcox wrote: > > > > > > You should probably take a look at io_uring. That has the level of > > > complexity of this proposal and

Re: [PATCH v2] pinctrl-single: fix pcs_parse_pinconf() return value

2020-07-05 Thread Haojian Zhuang
On Mon, 8 Jun 2020 at 20:51, Drew Fustini wrote: > > This patch causes pcs_parse_pinconf() to return -ENOTSUPP when no > pinctrl_map is added. The current behavior is to return 0 when > !PCS_HAS_PINCONF or !nconfs. Thus pcs_parse_one_pinctrl_entry() > incorrectly assumes that a map was added and

Re: [PATCH v4 0/2] pinctrl: single: support #pinctrl-cells = 2

2020-07-05 Thread Haojian Zhuang
On Wed, 1 Jul 2020 at 09:33, Drew Fustini wrote: > > Currently, pinctrl-single only allows #pinctrl-cells = 1. > > This series will allow pinctrl-single to also support #pinctrl-cells = 2 > > If "pinctrl-single,pins" has 3 arguments (offset, conf, mux) then > pcs_parse_one_pinctrl_entry() does an

[PATCH 6/9] phy: qcom-qmp: Add compatible for ipq8074 pcie gen3 qmp phy

2020-07-05 Thread Sivaprakash Murugesan
ipq8074 has two pcie ports, one gen2 and one gen3 ports. with phy support already available for gen2 pcie ports add support for pcie gen3 port phy. Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakaruppan Signed-off-by: Sivaprakash Murugesan --- drivers/phy

[PATCH 2/9] dt-bindings: phy: qcom,qmp: Add dt-binding for ipq8074 gen3 pcie phy

2020-07-05 Thread Sivaprakash Murugesan
ipq8074 has two different phy blocks for two pcie ports, with pcie gen2 compatible already available, specify the pcie phy compatible for gen3 pcie port. Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakaruppan Signed-off-by: Sivaprakash Murugesan --- Docum

[PATCH 1/9] dt-bindings: pci: Add ipq8074 gen3 pci compatible

2020-07-05 Thread Sivaprakash Murugesan
ipq8074 has two PCIe ports while the support for gen2 pcie port is already available add the support for gen3 binding. Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakaruppan Signed-off-by: Sivaprakash Murugesan --- .../devicetree/bindings/pci/qcom,pcie.ya

[PATCH 4/9] clk: qcom: ipq8074: Add missing clocks for pcie

2020-07-05 Thread Sivaprakash Murugesan
Add missing clocks and resets for pcie port0 of ipq8074 devices. Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakaruppan Signed-off-by: Sivaprakash Murugesan --- drivers/clk/qcom/gcc-ipq8074.c | 60 ++ 1 file changed

[PATCH 0/9] Add PCIe support for IPQ8074

2020-07-05 Thread Sivaprakash Murugesan
IPQ8074 has two PCIe ports both are based on synopsis designware PCIe controller. while it was assumed that PCIe support for IPQ8074 was already available. PCIe was not functional until now. This patch series adds support for PCIe ports on IPQ8074. First PCIe port is of gen2 synposis version is 2

[PATCH 3/9] clk: qcom: ipq8074: Add missing bindings for pcie

2020-07-05 Thread Sivaprakash Murugesan
Add missing clock bindings for pcie port0 of ipq8074. Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakaruppan Signed-off-by: Sivaprakash Murugesan --- include/dt-bindings/clock/qcom,gcc-ipq8074.h | 4 1 file changed, 4 insertions(+) diff --git a/incl

[PATCH 9/9] arm64: dts: ipq8074: Fixup pcie dts nodes

2020-07-05 Thread Sivaprakash Murugesan
ipq8074 pcie nodes missing several properties which is needed to make them work add these properties. Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakaruppan Signed-off-by: Sivaprakash Murugesan --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 8 +-- arch

[PATCH 5/9] phy: qcom-qmp: use correct values for ipq8074 gen2 pcie phy init

2020-07-05 Thread Sivaprakash Murugesan
There were some problem in ipq8074 gen2 pcie phy init sequence, fix these to make gen2 pcie port on ipq8074 to work. Fixes: eef243d04b2b6 ("phy: qcom-qmp: Add support for IPQ8074") Cc: sta...@vger.kernel.org Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakar

[PATCH 7/9] pci: dwc: qcom: do phy power on before pcie init

2020-07-05 Thread Sivaprakash Murugesan
Commit cc1e06f033af ("phy: qcom: qmp: Use power_on/off ops for PCIe") changed phy ops from init/deinit to power on/off, due to this phy enable is getting called after pcie init. On some platforms like ipq8074 phy should be inited before accessing the pcie register space, otherwise the system would

[PATCH 8/9] pci: qcom: Add support for ipq8074 pci controller

2020-07-05 Thread Sivaprakash Murugesan
ipq8074 has one gen2 and one gen3 pcie port, with support for gen2 port is already available add support for pcie gen3 port. Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakaruppan Signed-off-by: Sivaprakash Murugesan --- drivers/pci/controller/dwc/pcie-qc

[PATCH v3 1/3] crypto: permit users to specify numa node of acomp hardware

2020-07-05 Thread Barry Song
For a Linux server with NUMA, there are possibly multiple (de)compressors which are either local or remote to some NUMA node. Some drivers will automatically use the (de)compressor near the CPU calling acomp_alloc(). However, it is not necessarily correct because users who send acomp_req could be f

[PATCH v3 0/3] crypto: allow users to specify acomp hardware from a desired NUMA node

2020-07-05 Thread Barry Song
For a typical Linux server, probably there are multiple ZIP modules. For example, numa node0 has a compressor, numa node2 has a same module. Some drivers are automatically using the module near the CPU calling acomp_alloc. But it isn't necessarily correct. Just like memory allocation API like kmall

[PATCH v3 2/3] crypto: hisilicon/zip - permit users to specify NUMA node

2020-07-05 Thread Barry Song
If users don't specify NUMA node, the driver will use the ZIP module near the CPU allocating acomp. Otherwise, it uses the ZIP module according to the requirement of users. Cc: Zhou Wang Signed-off-by: Barry Song --- drivers/crypto/hisilicon/zip/zip.h| 2 +- drivers/crypto/hisilicon/zip

[PATCH v3 3/3] mm/zswap: allocate acomp on the numa node committing acomp_req

2020-07-05 Thread Barry Song
zswap is allocating acomp on one different cpu with those cpus which will eventually committing acomp_req. this patch specifies the numa node to help compression/decompression done by local (de)compressors hardware. Cc: Seth Jennings Cc: Dan Streetman Cc: Vitaly Wool Cc: Herbert Xu Cc: David S

[PATCH] tty: serial: meson_uart: Init port lock early

2020-07-05 Thread Marc Zyngier
The meson UART driver triggers a lockdep splat at boot time, due to the new expectation that the driver has to initialize the per-port spinlock itself. It remains unclear why a double initialization of the port spinlock is a desirable outcome, but in the meantime let's fix the splat. Fixes: a3cb3

drivers/atm/iphase.c:149:16: sparse: sparse: cast removes address space '__iomem' of expression

2020-07-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 2 weeks ago config: i386-randconfig-s001-20200705 (attached

Re: [PATCH] kvm: x86: rewrite kvm_spec_ctrl_valid_bits

2020-07-05 Thread Maxim Levitsky
On Thu, 2020-07-02 at 11:16 -0700, Sean Christopherson wrote: > On Thu, Jul 02, 2020 at 08:44:55PM +0300, Maxim Levitsky wrote: > > There are few cases when this function was creating a bogus #GP condition, > > for example case when and AMD host supports STIBP but doesn't support SSBD. > > > > Fol

[v2 PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on

2020-07-05 Thread Jitao Shi
Delay the backlight on to make sure the video stable. Signed-off-by: Jitao Shi --- drivers/gpu/drm/panel/panel-simple.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 3ad828eaefe1..61781ffa7840 100644

Re: [PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on

2020-07-05 Thread Jitao Shi
On Sun, 2020-07-05 at 10:06 +0200, Sam Ravnborg wrote: > Hi Jitao. > > On Fri, Jul 03, 2020 at 05:51:13PM +0800, Jitao Shi wrote: > > Delay the backlight on to make sure the video stable. > > > > Signed-off-by: Jitao Shi > > --- > > drivers/gpu/drm/panel/panel-simple.c | 3 +++ > > 1 file chang

Re: [PATCH 3/3] selftests: add readfile(2) selftests

2020-07-05 Thread Heinrich Schuchardt
On 7/5/20 9:34 AM, Greg Kroah-Hartman wrote: > On Sun, Jul 05, 2020 at 03:41:48AM +0200, Heinrich Schuchardt wrote: >> On 7/4/20 4:02 PM, Greg Kroah-Hartman wrote: >>> Test the functionality of readfile(2) in various ways. >> >> Hello Greg, >> >> I expect readfile() to generate fanotify events FAN_

Re: [PATCH V3 0/3] ARM: imx: move cpu code to drivers/soc/imx

2020-07-05 Thread Horia Geantă
On 7/3/2020 3:25 PM, Peng Fan wrote: > Sorry to break LS1021A. But I wonder why i.MX code would affect LS? > imx_soc_device_init() was modified to be called for all SoCs under ARCH_MXC. multi_v7_defconfig, which is used for LS1021A, selects ARCH_MXC. Previously imx_soc_device_init() was called on

Re: [PATCH] MIPS: Do not use smp_processor_id() in preemptible code

2020-07-05 Thread Thomas Bogendoerfer
On Fri, Jul 03, 2020 at 12:11:58PM +0800, Xingxing Su wrote: > Use preempt_disable() to fix the following bug under CONFIG_DEBUG_PREEMPT. > > [ 21.915305] BUG: using smp_processor_id() in preemptible [] code: > qemu-system-mip/1056 > [ 21.923996] caller is do_ri+0x1d4/0x690 > [ 21.9

memory leak in qdisc_create_dflt

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9ebcfadb Linux 5.8-rc3 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1577525b10 kernel config: https://syzkaller.appspot.com/x/.config?x=5ee23b9caef4e07a dashboard link: https://syzkaller.appspot

[PATCH net-next] net: phy: add a Kconfig option for mdio_devres

2020-07-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski If phylib is built as a module and CONFIG_MDIO_DEVICE is 'y', the mdio_device and mdio_bus code will be in the phylib module, not in the kernel image. Meanwhile we build mdio_devres depending on the CONFIG_MDIO_DEVICE symbol, so if it's 'y', it will go into the kernel an

Re: [PATCH] tty: serial: meson_uart: Init port lock early

2020-07-05 Thread Andy Shevchenko
On Sun, Jul 5, 2020 at 12:32 PM Marc Zyngier wrote: > > The meson UART driver triggers a lockdep splat at boot time, due > to the new expectation that the driver has to initialize the > per-port spinlock itself. > > It remains unclear why a double initialization of the port > spinlock is a desirab

Re: [PATCH v2] clk: rockchip: use separate compatibles for rk3288w-cru

2020-07-05 Thread Heiko Stuebner
On Fri, 3 Jul 2020 17:49:48 +0200, Heiko Stuebner wrote: > Commit 1627f683636d ("clk: rockchip: Handle clock tree for rk3288w variant") > added the check for rk3288w-specific clock-tree changes but in turn would > require a double-compatible due to re-using the main rockchip,rk3288-cru > compatible

Re: [PATCH] tty: serial: meson_uart: Init port lock early

2020-07-05 Thread Marc Zyngier
On 2020-07-05 11:07, Andy Shevchenko wrote: On Sun, Jul 5, 2020 at 12:32 PM Marc Zyngier wrote: The meson UART driver triggers a lockdep splat at boot time, due to the new expectation that the driver has to initialize the per-port spinlock itself. It remains unclear why a double initializatio

RE: [PATCH 1/2] habanalabs: block WREG_BULK packet on PDMA

2020-07-05 Thread Omer Shpigelman
On Tue, Jul 5, 2020 at 00:30 AM, Oded Gabbay wrote: > WREG_BULK is a special packet that has a variable length. Therefore, we can't > parse it when validating CBs that go to the PCI DMA queue. In case the user > needs to use it, it can put multiple WREG32 packets instead. > > Signed-off-by: Oded

Re: [PATCH] Replace HTTP links with HTTPS ones: CAN network drivers

2020-07-05 Thread Marc Kleine-Budde
On 7/5/20 9:56 AM, 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 contain `\bxmlns\b`:

RE: [PATCH 2/2] habanalabs: set clock gating per engine

2020-07-05 Thread Omer Shpigelman
On Tue, Jul 5, 2020 at 00:30 AM, Oded Gabbay wrote: > For debugging purposes, we need to allow the root user better control of the > clock gating feature of the DMA and compute engines. Therefore, change > the clock gating debugfs interface to be bitmask instead of true/false. > Each bit represent

[GIT PULL] MIPS fixes for v5.8

2020-07-05 Thread Thomas Bogendoerfer
Hi Linus, please pull the few MIPS fixes. Thomas. The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/ tags/mips_fixes_5

Re: [PATCH v3 3/4] thermal: core: genetlink support for events/cmd/sampling

2020-07-05 Thread Daniel Lezcano
On 05/07/2020 08:03, Zhang Rui wrote: > On Fri, 2020-07-03 at 10:53 +0200, Daniel Lezcano wrote: >> Initially the thermal framework had a very simple notification >> mechanism to send generic netlink messages to the userspace. >> >> The notification function was never called from anywhere and the >

[PATCH] Replace HTTP links with HTTPS ones: MMU gather and TLB invalidation

2020-07-05 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: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] MIPS: CI20: DTS: Correcting IW8103 Wifi binding

2020-07-05 Thread agriveaux
From: Alexandre GRIVEAUX Use brcm,bcm4329-fmac instead of brcm,bcm4330-fmac. Signed-off-by: Alexandre GRIVEAUX --- arch/mips/boot/dts/ingenic/ci20.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.

[ANNOUNCE] Reiser5: Selective File Migration - User Interface

2020-07-05 Thread Edward Shishkin
Reiser5: selective file migration. Setting/clearing file "immobile" status Earlier any migration of data blocks in reiser5 logical volumes occurred only in the context of some volume balancing procedure, which actually is a massive migration, aiming to keep fa

arch/powerpc/platforms/powernv/pci-ioda.c:1889:13: warning: function 'pnv_ioda_setup_bus_dma' is not needed and will not be emitted

2020-07-05 Thread kernel test robot
ago config: powerpc64-randconfig-r035-20200705 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f804bd586ee58199db4cfb2da8e9ef067425900b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

Re: [PATCH] Replace HTTP links with HTTPS ones: input drivers

2020-07-05 Thread Marco Felsch
Hi Alexander, thanks for the patch. On 20-07-05 09:49, 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: >

[PATCH] Replace HTTP links with HTTPS ones: Doubletalk driver

2020-07-05 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: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] tty: serial: meson_uart: Init port lock early

2020-07-05 Thread Andy Shevchenko
On Sun, Jul 05, 2020 at 11:28:56AM +0100, Marc Zyngier wrote: > On 2020-07-05 11:07, Andy Shevchenko wrote: > > On Sun, Jul 5, 2020 at 12:32 PM Marc Zyngier wrote: > > > > > > The meson UART driver triggers a lockdep splat at boot time, due > > > to the new expectation that the driver has to init

Re: [PATCH 3/3] selftests: add readfile(2) selftests

2020-07-05 Thread Geert Uytterhoeven
Hi Greg, On Sun, Jul 5, 2020 at 8:55 AM Greg Kroah-Hartman wrote: > On Sat, Jul 04, 2020 at 08:38:26PM +0200, Geert Uytterhoeven wrote: > > On Sat, Jul 4, 2020 at 4:05 PM Greg Kroah-Hartman > > wrote: > > > Test the functionality of readfile(2) in various ways. > > > > > > Also provide a simple

Re: [PATCH] MAINTAINERS: adjust entry to renaming and conversion

2020-07-05 Thread Ondřej Jirman
Hello Lukas, On Sun, Jul 05, 2020 at 08:59:17AM +0200, Lukas Bulwahn wrote: > Commit a74e81a56405 ("drm/panel: rocktech-jh057n00900: Rename the driver to > st7703") and commit 7317f4574492 ("dt-bindings: panel: Convert > rocktech,jh057n00900 to yaml") renamed and converted the files mentioned in >

Re: [PATCH 3/3] selftests: add readfile(2) selftests

2020-07-05 Thread Greg Kroah-Hartman
On Sun, Jul 05, 2020 at 01:24:07PM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Sun, Jul 5, 2020 at 8:55 AM Greg Kroah-Hartman > wrote: > > On Sat, Jul 04, 2020 at 08:38:26PM +0200, Geert Uytterhoeven wrote: > > > On Sat, Jul 4, 2020 at 4:05 PM Greg Kroah-Hartman > > > wrote: > > > > Test

Re: [PATCH v4 07/15] arm64: kvm: Move hyp-init.S to nVHE

2020-07-05 Thread Marc Zyngier
Hi David, On Thu, 25 Jun 2020 14:14:12 +0100, David Brazdil wrote: > > From: Andrew Scull > > hyp-init.S contains the identity mapped initialisation code for the > non-VHE code that runs at EL2. It is only used for non-VHE. > > Adjust code that calls into this to use the prefixed symbol name.

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Greg KH
On Sun, Jul 05, 2020 at 01:07:14AM -0700, Vito Caputo wrote: > On Sun, Jul 05, 2020 at 04:27:32AM +0100, Matthew Wilcox wrote: > > On Sun, Jul 05, 2020 at 05:18:58AM +0200, Jan Ziak wrote: > > > On Sun, Jul 5, 2020 at 5:12 AM Matthew Wilcox wrote: > > > > > > > > You should probably take a look at

Re: [PATCH 0/3] Documentation: arm64: eliminate duplicated words

2020-07-05 Thread Mike Rapoport
On Fri, Jul 03, 2020 at 01:51:07PM -0700, Randy Dunlap wrote: > Drop doubled words in Documentation/arm64/. > > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Lorenzo Pieralisi > Cc: Hanjun Guo > Cc: Sudeep Holla > Cc: linux-a...@vger.kernel.org > Cc: linux-arm-ker...@lists.infra

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Greg Kroah-Hartman
On Sat, Jul 04, 2020 at 08:30:40PM +0100, Al Viro wrote: > On Sat, Jul 04, 2020 at 04:02:46PM +0200, Greg Kroah-Hartman wrote: > > Here is a tiny new syscall, readfile, that makes it simpler to read > > small/medium sized files all in one shot, no need to do open/read/close. > > This is especially

Re: [PATCH 0/5] Documenation: hwmon: eliminate doubled words

2020-07-05 Thread Mike Rapoport
On Fri, Jul 03, 2020 at 01:56:44PM -0700, Randy Dunlap wrote: > Eliminate duplicated words in Documentation/hwmon/ files. > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Jean Delvare > Cc: Guenter Roeck > Cc: linux-hw...@vger.kernel.org Acked-by: Mike Rapoport > > Documentati

Re: [PATCH 0/4] Documentation: PCI: eliminate doubled words

2020-07-05 Thread Mike Rapoport
On Fri, Jul 03, 2020 at 02:21:52PM -0700, Randy Dunlap wrote: > Fix doubled (duplicated) words in Documentation/PCI/. > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Bjorn Helgaas > Cc: Kishon Vijay Abraham I > Cc: Lorenzo Pieralisi > Cc: linux-...@vger.kernel.org > Cc: Linas Vep

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Greg KH
On Sun, Jul 05, 2020 at 04:06:22AM +0200, Jan Ziak wrote: > Hello > > At first, I thought that the proposed system call is capable of > reading *multiple* small files using a single system call - which > would help increase HDD/SSD queue utilization and increase IOPS (I/O > operations per second)

INFO: trying to register non-static key in red_destroy

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:2b04a661 Merge branch 'cxgb4-add-mirror-action-support-for.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=161887bb10 kernel config: https://syzkaller.appspot.com/x/.config?x=2172f4d0dbc37e27 das

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Greg KH
On Sun, Jul 05, 2020 at 06:09:03AM +0200, Jan Ziak wrote: > On Sun, Jul 5, 2020 at 5:27 AM Matthew Wilcox wrote: > > > > On Sun, Jul 05, 2020 at 05:18:58AM +0200, Jan Ziak wrote: > > > On Sun, Jul 5, 2020 at 5:12 AM Matthew Wilcox wrote: > > > > > > > > You should probably take a look at io_uring

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Greg KH
On Sun, Jul 05, 2020 at 09:25:39AM +0200, Jan Ziak wrote: > On Sun, Jul 5, 2020 at 8:32 AM Andreas Dilger wrote: > > > > On Jul 4, 2020, at 8:46 PM, Jan Ziak <0xe2.0x9a.0...@gmail.com> wrote: > > > > > > On Sun, Jul 5, 2020 at 4:16 AM Matthew Wilcox wrote: > > >> > > >> On Sun, Jul 05, 2020 at 04

Re: [PATCH v4 08/15] arm64: kvm: Duplicate hyp/tlb.c for VHE/nVHE

2020-07-05 Thread Marc Zyngier
On Thu, 25 Jun 2020 14:14:13 +0100, David Brazdil wrote: > > tlb.c contains code for flushing the TLB, with code shared between VHE/nVHE. > Because common code is small, duplicate tlb.c and specialize each copy for > VHE/nVHE. > > Signed-off-by: David Brazdil > --- > arch/arm64/kernel/image-va

Re: [PATCH] iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()'

2020-07-05 Thread Jonathan Cameron
On Sun, 17 May 2020 23:21:29 -0300 Renato Lui Geh wrote: > Acked-by: Renato Lui Geh > > On 05/17, Christophe JAILLET wrote: > >If 'ad7780_init_gpios()' fails, we must not release some resources that > >have not been allocated yet. Return directly instead. > > > >Fixes: 5bb30e7daf00 ("staging: i

Re: [PATCH 1/3] iio: adc: ti_am335x_adc: alloc channels via devm_kcalloc()

2020-07-05 Thread Jonathan Cameron
On Tue, 28 Apr 2020 14:14:28 +0300 Alexandru Ardelean wrote: > This change attaches the life-cycle of the channels array to the parent > device object that is attached to the IIO device. > This way we can remove from the cleanup code, the explicit > tiadc_channels_remove() which simply does a kfr

Re: [PATCH 2/3] iio: adc: ti_am335x_adc: alloc kfifo & IRQ via devm_ functions

2020-07-05 Thread Jonathan Cameron
On Tue, 28 Apr 2020 14:14:29 +0300 Alexandru Ardelean wrote: > This change attaches the life-cycle of the kfifo buffer & IRQ to the > parent-device. This in turn cleans up the exit & error paths, since we > don't need to explicitly cleanup these resources. > > The main intent here is to remove t

[PATCH 0/4] Make Frame Skip Mode control a standard

2020-07-05 Thread Stanimir Varbanov
Hello, Suggested by Hans at [1], this patchset is promoting a standard control for frame skip mode. The original private V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE control is applicable and can be used by Venus driver too (and probably other drivers). In order to make that possible make a new V4L2

[PATCH 1/4] media: v4l2-ctrl: Add frame-skip std encoder control

2020-07-05 Thread Stanimir Varbanov
Adds encoders standard v4l2 control for frame-skip. The control is a copy of a custom encoder control so that other v4l2 encoder drivers can use it. Signed-off-by: Stanimir Varbanov --- .../media/v4l/ext-ctrls-codec.rst | 32 +++ drivers/media/v4l2-core/v4l2-ctrls.c

[PATCH 3/4] media: s5p-mfc: Use standard frame skip mode control

2020-07-05 Thread Stanimir Varbanov
Use the standard menu control for frame skip mode in the MFC driver. The legacy private menu control is kept for backward compatibility. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/platf

[PATCH 4/4] media: docs: Depricate mfc frame skip control

2020-07-05 Thread Stanimir Varbanov
Depricate mfc private frame skip mode control for new clients and use the standard one instead. Signed-off-by: Stanimir Varbanov --- Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-

[PATCH 2/4] venus: venc: Add support for frame-skip mode v4l2 control

2020-07-05 Thread Stanimir Varbanov
This adds support for frame-skip-mode standard v4l2 control in encoder driver. The control is implemented based on the combination of client selected bitrate-mode and frame-skip-mode. Once The client selected bitrate-mode (constant or variable) and the frame-skip-mode is not disabled we set variabl

Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail

2020-07-05 Thread Qian Cai
> On Jul 5, 2020, at 12:45 AM, Feng Tang wrote: > > I did reproduce the problem, and from the debugging, this should > be the same root cause as lore.kernel.org/lkml/20200526181459.gd...@lca.pw/ > that loosing the batch cause some accuracy problem, and the solution of > adding some sync is sti

[PATCH v4 0/2] Add support for the OST in Ingenic X1000.

2020-07-05 Thread Zhou Yanjie
v3->v4: 1.Rename "ingenic,ost.yaml" to "ingenic,sysost.yaml". 2.Rename "ingenic,ost.h" to "ingenic,sysost.h". 3.Remove ost_clock_parent enum. 4.Remove ost->percpu_timer_channel/ost->global_timer_channel. 5.Set up independent .recalc_rate/.set_rate for percpu/global timer. 6.No longer call functions

[PATCH v4 1/2] dt-bindings: timer: Add Ingenic X1000 OST bindings.

2020-07-05 Thread Zhou Yanjie
Add the OST bindings for the X1 SoC from Ingenic. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v1->v2: No change. v2->v3: Fix wrong parameters in "clocks". v3->v4: 1.Rename "ingenic,ost.yaml" to "ingenic,sysost.yaml". 2.Rename

[PATCH v4 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-07-05 Thread Zhou Yanjie
X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate OST, it no longer belongs to TCU. This driver will register both a clocksource and a sched_clock to the system. Tested-by: 周正 (Zhou Zheng) Co-developed-by: 漆鹏振 (Qi Pengzhen) Signed-off-by: 漆鹏振 (Qi Pengzhen) Signed-off-by: 周琰杰 (

[PATCH v2] hung_task:add detecting task in D state milliseconds timeout

2020-07-05 Thread yang che
current hung_task_check_interval_secs and hung_task_timeout_secs only supports seconds. In some cases,the TASK_UNINTERRUPTIBLE state takes less than 1 second,may need to hung task trigger panic get ramdump or print all cpu task. modify hung_task_check_interval_secs to hung_task_check_interval_mill

Re: [PATCH v4 1/2] dt-bindings: timer: Add Ingenic X1000 OST bindings.

2020-07-05 Thread Paul Cercueil
Hi Zhou, Le dim. 5 juil. 2020 à 20:34, 周琰杰 (Zhou Yanjie) a écrit : Add the OST bindings for the X1 SoC from Ingenic. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Paul Cercueil Cheers, -Paul --- Notes: v1->v2: No change. v2->v3: Fix wro

Re: [PATCH v4 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-07-05 Thread Paul Cercueil
Hi Zhou, Le dim. 5 juil. 2020 à 20:34, 周琰杰 (Zhou Yanjie) a écrit : X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate OST, it no longer belongs to TCU. This driver will register both a clocksource and a sched_clock to the system. Tested-by: 周正 (Zhou Zheng) Co-developed-by: 漆

Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail

2020-07-05 Thread Feng Tang
On Sun, Jul 05, 2020 at 08:15:03AM -0400, Qian Cai wrote: > > > > On Jul 5, 2020, at 12:45 AM, Feng Tang wrote: > > > > I did reproduce the problem, and from the debugging, this should > > be the same root cause as lore.kernel.org/lkml/20200526181459.gd...@lca.pw/ > > that loosing the batch cau

[GIT PULL] io_uring fix for 5.8-rc4

2020-07-05 Thread Jens Axboe
Hi Linus, Andres reported a regression with the fix that was merged earlier this week, where his setup of using signals to interrupt io_uring CQ waits no longer worked correctly. Fix this, and also limit our use of TWA_SIGNAL to the case where we need it, and continue using TWA_RESUME for task_wor

[PATCH 5/9] habanalabs: Extract ECC information from FW

2020-07-05 Thread Oded Gabbay
ECC (Error Correcting Code) interrupts are going to be handled by the FW. Hence, we define an interface in which the driver can obtain the relevant ECC information. This information is needed for monitoring and can also lead to a hard reset if ECC error is not correctable. Signed-off-by: Ofir Bitt

[PATCH 3/9] habanalabs: extract cpu boot status lookup

2020-07-05 Thread Oded Gabbay
From: Christine Gharzuzi Extract detection of the cpu boot status to a function to allow code reuse Signed-off-by: Christine Gharzuzi Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/firmware_if.c | 92 ++- 1 file changed, 48 insertions(

[PATCH 2/9] habanalabs: rephrase error messages

2020-07-05 Thread Oded Gabbay
rephrase some error/warning/notice messages to make them more accessible to ordinary users. There is no need to print context ASID as the driver currently doesn't support multiple contexts. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/command_submission.c | 20 +--- dr

[PATCH 1/9] habanalabs: Increase queues depth

2020-07-05 Thread Oded Gabbay
From: Ofir Bitton After recent concurrent cs amount increase, we must also increase queues depth since much more concurrent work can be done. All external queue depths were increased to 4096 as gaudi's internal queue depths were also increased to 1024. Signed-off-by: Ofir Bitton Reviewed-by: Od

[PATCH 7/9] habanalabs: remove soft-reset support from GAUDI

2020-07-05 Thread Oded Gabbay
Soft-reset isn't supported in GAUDI. Remove the code that performs it and print error in case the user wants to do it via sysfs. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c | 76 ++- 1 file changed, 27 insertions(+), 49 deletions(-) diff --git a/

powerpc64-linux-ld: mm/page_alloc.o:undefined reference to `node_reclaim_distance'

2020-07-05 Thread kernel test robot
: 10 months ago config: powerpc-randconfig-r024-20200705 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

  1   2   3   4   5   >