[PATCH 2/7] drm: rcar-du: Add r8a7742 support

2020-08-07 Thread Lad Prabhakar
Add direct support for the r8a7742 (RZ/G1H). The RZ/G1H shares a common, compatible configuration with the r8a7790 (R-Car H2) so that device info structure is reused, the only difference being TCON is unsupported on RZ/G1H (Currently unsupported by the driver). Signed-off-by: Lad Prabhakar

[PATCH 3/7] dt-bindings: display: renesas,lvds: Document r8a7742 bindings

2020-08-07 Thread Lad Prabhakar
Document the RZ/G1H (R8A7742) LVDS bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- .../devicetree/bindings/display/bridge/renesas,lvds.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 7/7] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-08-07 Thread Lad Prabhakar
The iwg21d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 84 + 1 file changed, 84 insertions(+) diff --git

[PATCH 4/7] drm: rcar-du: lvds: Add r8a7742 support

2020-08-07 Thread Lad Prabhakar
The LVDS encoders on RZ/G1H SoC is identical to the R-Car Gen2 family. Add support for RZ/G1H (R8A7742) SoC to the LVDS encoder driver. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 0/7] r8a7742: Enable DU and LVDS

2020-08-07 Thread Lad Prabhakar
Hi All, This patch series adds support for DU and LVDS to r8a7742 SoC and enables LCD support on r8a7742-iwg21d-q7 board. This patch series applies on top of [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/ renesas-devel.git/log/?h=renesas-arm-dt-for-v5.10 Cheers, Prabhakar

[PATCH 1/7] dt-bindings: display: renesas,du: Document the r8a7742 bindings

2020-08-07 Thread Lad Prabhakar
Document the RZ/G1H (R8A7742) SoC in the R-Car DU bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 1/2] membarrier: add MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU

2020-08-07 Thread Peter Oskolkov
On Thu, Aug 6, 2020 at 10:37 AM Mathieu Desnoyers wrote: > > >> > >> This is an unpriv IPI the world. That's a big no-no. > > > > removed in v2. > > I don't think the feature must be removed, but its implementation needs > adjustment. > > How about we simply piggy-back on the membarrier schemes

drivers/gpu/drm/nouveau/nouveau_bo5039.c:39 nv50_bo_move_m2mf() warn: should 'new_reg->num_pages << 12' be a 64 bit

2020-08-07 Thread kernel test robot
-m021-20200807 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot smatch warnings: drivers/gpu/drm/nouveau/nouveau_bo5039.c:39 nv50_bo_move_m2mf() warn: should 'new_reg->num_pages &l

Re: [git pull] regset work

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Thu, 6 Aug 2020 15:10:44 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.regset has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/19b39c38abf68591edbd698740d410c37ee075cc Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] RISC-V Patches for the 5.9 Merge Window, Part 1

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Thu, 06 Aug 2020 16:17:49 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv-for-linus-5.9-mw0 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dbf83817315d9ce93b3e5b1c83a167f537245bd8 Thank you! --

Re: [git pull] Christoph's init series

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Wed, 5 Aug 2020 05:21:44 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git hch.init_path has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e1ec517e18acc0aa9795ff92c15f0adabcb12db9 Thank you! -- Deet-doot-dot, I am a bot.

Re: [git pull] m68knommu changes for v5.9

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Fri, 7 Aug 2020 14:56:52 +1000: > git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git > tags/m68knommu-for-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/60e76bb8a4e4c5398ea9053535e1fd0c9d6bb06e Thank you! --

Re: [Latest Git kernel/Linux-next kernel] Xorg doesn't start after the seccomp updates v5.9-rc1

2020-08-07 Thread Kees Cook
On Fri, Aug 07, 2020 at 04:45:14PM +0200, Christian Zigotzky wrote: > But Xorg works on Ubuntu 10.04.4 (PowerPC 32-bit), openSUSE Tumbleweed > 20190722 PPC64 and on Fedora 27 PPC64 with the latest Git kernel. > > I bisected today [4]. > > Result: net/scm: Regularize compat handling of

Very slow qemu device access

2020-08-07 Thread Matthew Wilcox
Everything starts going very slowly after this commit: commit 37f4a24c2469a10a4c16c641671bd766e276cf9f (refs/bisect/bad) Author: Ming Lei Date: Tue Jun 30 22:03:57 2020 +0800 blk-mq: centralise related handling into blk_mq_get_driver_tag Move .nr_active update and request

Re: [PATCH 13/13] MAINTAINERS: Update paths to Ingenic platform code

2020-08-07 Thread Zhou Yanjie
在 2020/8/8 上午1:22, Zhou Yanjie 写道: Hi Paul, 在 2020/8/4 上午1:01, Paul Cercueil 写道: Support for Ingenic chips has been moved to the generic MIPS platform. Update the paths accordingly. The modification to "cu1830-neo_defconfig" seems to be missed here. Sorry, this should be a reply to

Re: [PATCH v2 09/41] usb: gadget: s3c-hsudc: remove platform header dependency

2020-08-07 Thread Arnd Bergmann
On Fri, Aug 7, 2020 at 3:59 PM Felipe Balbi wrote: > Krzysztof Kozlowski writes: > > +#include > > + > > #define S3C2443_CLKREG(x)((x) + S3C24XX_VA_CLKPWR) > > > > #define S3C2443_PLLCON_MDIVSHIFT 16 > > @@ -184,5 +186,52 @@ s3c2443_get_epll(unsigned int pllval, unsigned int

Re: wine fails to start with seccomp updates for v5.9-rc1

2020-08-07 Thread Kees Cook
On Fri, Aug 07, 2020 at 02:36:09PM -0300, Thadeu Lima de Souza Cascardo wrote: > On Fri, Aug 07, 2020 at 08:48:46AM -0700, Linus Torvalds wrote: > > On Fri, Aug 7, 2020 at 8:19 AM Alex Xu (Hello71) wrote: > > > > > > On Linus' master, wine fails to start with the following error: > > > > > > wine

Re: [PATCH v2] hwmon/pmbus: use simple i2c probe function

2020-08-07 Thread Stephen Kitt
On Fri, 7 Aug 2020 08:23:29 -0700, Guenter Roeck wrote: > On 8/7/20 12:45 AM, Stephen Kitt wrote: > > pmbus_do_probe doesn't use the id information provided in its second > > argument, so this can be removed, which then allows using the > > single-parameter i2c probe function ("probe_new") for

drivers/firmware/tegra/bpmp-debugfs.c:335:11-18: WARNING opportunity for memdup_user

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86cfccb66937dd6cbf26ed619958b9e587e6a115 commit: 5e37b9c137ee5a3a9dc2815ca51f71746c2609a6 firmware: tegra: Add support for in-band debug date: 3 weeks ago config: arm64-randconfig-c003-20200807 (attached

Re: [PATCH] i2c: iproc: fix race between client unreg and isr

2020-08-07 Thread Dhananjay Phadke
Ray Jui wrote: > > Any progress yet? > > I don't know if Dhananjay is actively working on this or not. > > Rayagonda, given that you have the I2C slave setup already, do you think > you can help to to test and above sequence from Wolfram (by using the > widened delay window as instructed)? >

Re: wine fails to start with seccomp updates for v5.9-rc1

2020-08-07 Thread Thadeu Lima de Souza Cascardo
On Fri, Aug 07, 2020 at 08:48:46AM -0700, Linus Torvalds wrote: > On Fri, Aug 7, 2020 at 8:19 AM Alex Xu (Hello71) wrote: > > > > On Linus' master, wine fails to start with the following error: > > > > wine client error:0: write: Bad file descriptor > > > > This issue is not present on 5.8. It

Re: [PATCH v2] arm64: kaslr: Use standard early random function

2020-08-07 Thread Catalin Marinas
On Fri, Aug 07, 2020 at 07:45:21AM -0700, Guenter Roeck wrote: > Commit 585524081ecd ("random: random.h should include archrandom.h, not > the other way around") tries to fix a problem with recursive inclusion > of linux/random.h and arch/archrandom.h for arm64. Unfortunately, this > results in

Re: [PATCH v3] hwmon/pmbus: use simple i2c probe function

2020-08-07 Thread Guenter Roeck
On Fri, Aug 07, 2020 at 06:28:01PM +0200, Stephen Kitt wrote: > pmbus_do_probe doesn't use the id information provided in its second > argument, so this can be removed, which then allows using the > single-parameter i2c probe function ("probe_new") for probes. > > This avoids scanning the

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-07 Thread Mimi Zohar
On Sat, 2020-08-08 at 02:41 +1000, James Morris wrote: > On Thu, 6 Aug 2020, Mimi Zohar wrote: > > > On Thu, 2020-08-06 at 09:51 +1000, James Morris wrote: > > > On Wed, 5 Aug 2020, Mimi Zohar wrote: > > > > > > > If block layer integrity was enough, there wouldn't have been a need > > > > for

Re: [PATCH 1/2] mm/slub: Introduce two counters for the partial objects

2020-08-07 Thread Pekka Enberg
Hi Christopher, On Fri, 7 Aug 2020, Pekka Enberg wrote: > > I think we can just default to the counters. After all, if I > > understood correctly, we're talking about up to 100 ms time period > > with IRQs disabled when count_partial() is called. As this is > > triggerable from user space, that's

Re: [PATCH 13/13] MAINTAINERS: Update paths to Ingenic platform code

2020-08-07 Thread Zhou Yanjie
Hi Paul, 在 2020/8/4 上午1:01, Paul Cercueil 写道: Support for Ingenic chips has been moved to the generic MIPS platform. Update the paths accordingly. The modification to "cu1830-neo_defconfig" seems to be missed here. Thanks and best regards! Signed-off-by: Paul Cercueil --- MAINTAINERS |

Re: Odd-sized kmem_cache_alloc and slub_debug=Z

2020-08-07 Thread Marco Elver
On Fri, Aug 07, 2020 at 10:16AM -0700, Kees Cook wrote: > On Fri, Aug 07, 2020 at 06:06:27PM +0200, Marco Elver wrote: > > I found that the below debug-code using kmem_cache_alloc(), when using > > slub_debug=Z, results in the following crash: > > > > general protection fault, probably for

Re: [PATCH v4 00/10] Function Granular KASLR

2020-08-07 Thread Kees Cook
On Fri, Aug 07, 2020 at 09:38:11AM -0700, Kristen Carlson Accardi wrote: > Thanks for testing. Yes, Josh and I have been discussing the orc_unwind > issues. I've root caused one issue already, in that objtool places an > orc_unwind_ip address just outside the section, so my algorithm fails > to

[PATCH bpf-next] bpf: fix segmentation fault of test_progs

2020-08-07 Thread Jianlin Lv
test_progs reports the segmentation fault as below $ sudo ./test_progs -t mmap --verbose test_mmap:PASS:skel_open_and_load 0 nsec .. test_mmap:PASS:adv_mmap1 0 nsec test_mmap:PASS:adv_mmap2 0 nsec test_mmap:PASS:adv_mmap3 0 nsec test_mmap:PASS:adv_mmap4 0 nsec Segmentation fault This issue

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-07 Thread Zhou Yanjie
Hi Paul, 在 2020/8/8 上午12:45, Paul Cercueil 写道: Hi Zhou, Le sam. 8 août 2020 à 0:23, Zhou Yanjie a écrit : Hi Paul, I'm not too sure if remove "cpu-feature-overrides.h" will cause some problems for X2000, because according to my current test on X2000, I found that it is somewhat different

Re: Odd-sized kmem_cache_alloc and slub_debug=Z

2020-08-07 Thread Marco Elver
On Fri, Aug 07, 2020 at 08:06PM +0300, Pekka Enberg wrote: > Hi Marco, > > On Fri, Aug 7, 2020 at 7:07 PM Marco Elver wrote: > > I found that the below debug-code using kmem_cache_alloc(), when using > > slub_debug=Z, results in the following crash: > > > > general protection fault,

Re: Odd-sized kmem_cache_alloc and slub_debug=Z

2020-08-07 Thread Kees Cook
On Fri, Aug 07, 2020 at 06:06:27PM +0200, Marco Elver wrote: > I found that the below debug-code using kmem_cache_alloc(), when using > slub_debug=Z, results in the following crash: > > general protection fault, probably for non-canonical address > 0xcca41caea170: [#1] PREEMPT SMP

Re: [PATCH ghak90 V9 11/13] audit: contid check descendancy and nesting

2020-08-07 Thread Richard Guy Briggs
On 2020-07-05 11:11, Paul Moore wrote: > On Sat, Jun 27, 2020 at 9:23 AM Richard Guy Briggs wrote: > > Require the target task to be a descendant of the container > > orchestrator/engine. > > > > You would only change the audit container ID from one set or inherited > > value to another if you

Re: [RFC PATCH 0/7] metricfs metric file system and examples

2020-08-07 Thread Randy Dunlap
On 8/5/20 5:14 PM, Jonathan Adams wrote: > To try to restart the discussion of kernel statistics started by the > statsfs patchsets (https://lkml.org/lkml/2020/5/26/332), I wanted > to share the following set of patches which are Google's 'metricfs' > implementation and some example uses. Google

[PATCH v4 4/5] rcutorture: Force synchronizing of RCU flavor from hotplug notifier

2020-08-07 Thread Joel Fernandes (Google)
RCU has had deadlocks in the past related to synchronizing in a hotplug notifier. Typically, this has occurred because timer callbacks did not get migrated before the CPU hotplug notifier requesting RCU's services is called. If RCU's grace period processing has a timer callback queued in the

[PATCH v4 2/5] rcu/tree: Clarify comments about FQS loop reporting quiescent states

2020-08-07 Thread Joel Fernandes (Google)
At least since v4.19, the FQS loop no longer reports quiescent states for offline CPUs unless it is an emergency. This commit therefore fixes the comment in rcu_gp_init() to match the current code. Signed-off-by: Joel Fernandes (Google) --- kernel/rcu/tree.c | 8 +--- 1 file changed, 5

[PATCH v4 3/5] rcu/tree: Make FQS complaining about offline CPU more aggressive

2020-08-07 Thread Joel Fernandes (Google)
The FQS loop detecting that an offline CPU has not yet reported a quiescent state, is a serious problem. The current interaction between RCU quiescent-state reporting and CPU-hotplug operations means that the FQS loop should never find that an offline CPU (by RCU's understanding of what is offline

[PATCH v4 5/5] docs: Update RCU's hotplug requirements with a bit about design

2020-08-07 Thread Joel Fernandes (Google)
RCU's hotplug design will help understand the requirements an RCU implementation needs to fullfill, such as dead-lock avoidance. The rcu_barrier() section of the "Hotplug CPU" section already talks about deadlocks, however the description of what else can deadlock other than rcu_barrier is rather

[PATCH v4 0/5] option-subject: RCU and CPU hotplug checks and docs

2020-08-07 Thread Joel Fernandes (Google)
This series improves/adds to RCU's warnings about CPU hotplug and adds documentation and testing. v3->v4: Minor cleanups. Joel Fernandes (Google) (5): rcu/tree: Add a warning if CPU being onlined did not report QS already rcu/tree: Clarify comments about FQS loop reporting quiescent states

[PATCH v4 1/5] rcu/tree: Add a warning if CPU being onlined did not report QS already

2020-08-07 Thread Joel Fernandes (Google)
Currently, rcu_cpu_starting() checks to see if the RCU core expects a quiescent state from the incoming CPU. However, the current interaction between RCU quiescent-state reporting and CPU-hotplug operations should mean that the incoming CPU never needs to report a quiescent state. First, the

Re: [PATCH] kcsan: Treat runtime as NMI-like with interrupt tracing

2020-08-07 Thread Paul E. McKenney
On Fri, Aug 07, 2020 at 11:00:31AM +0200, Marco Elver wrote: > Since KCSAN instrumentation is everywhere, we need to treat the hooks > NMI-like for interrupt tracing. In order to present an as 'normal' as > possible context to the code called by KCSAN when reporting errors, we > need to update the

Re: Odd-sized kmem_cache_alloc and slub_debug=Z

2020-08-07 Thread Pekka Enberg
Hi Marco, On Fri, Aug 7, 2020 at 7:07 PM Marco Elver wrote: > I found that the below debug-code using kmem_cache_alloc(), when using > slub_debug=Z, results in the following crash: > > general protection fault, probably for non-canonical address > 0xcca41caea170: [#1] PREEMPT

Re: [PATCH] clk: samsung: Prevent potential endless loop in the PLL set_rate ops

2020-08-07 Thread Sylwester Nawrocki
Hi Tomasz, On 8/6/20 18:11, Tomasz Figa wrote: >> --- a/drivers/clk/samsung/clk-pll.c >> +++ b/drivers/clk/samsung/clk-pll.c >> @@ -63,6 +63,27 @@ static long samsung_pll_round_rate(struct clk_hw *hw, >> return rate_table[i - 1].rate; >> } >> >> +static int samsung_pll_lock_wait(struct

Re: [PATCH] kernel: bpf: delete repeated words in comments

2020-08-07 Thread Daniel Borkmann
On 8/7/20 5:31 AM, Randy Dunlap wrote: Drop repeated words in kernel/bpf/. {has, the} Signed-off-by: Randy Dunlap Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: net...@vger.kernel.org Cc: b...@vger.kernel.org Applied, thanks!

Re: [PATCH bpf] bpf: doc: remove references to warning message when using bpf_trace_printk()

2020-08-07 Thread Daniel Borkmann
On 8/7/20 1:50 PM, Alan Maguire wrote: The BPF helper bpf_trace_printk() no longer uses trace_printk(); it is now triggers a dedicated trace event. Hence the described warning is no longer present, so remove the discussion of it as it may confuse people. Fixes: ac5a72ea5c89 ("bpf: Use

[PATCH] security: keys: delete repeated words in comments

2020-08-07 Thread Randy Dunlap
Drop repeated words in comments. {to, will, the} Signed-off-by: Randy Dunlap Cc: David Howells Cc: Jarkko Sakkinen Cc: keyri...@vger.kernel.org Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-mod...@vger.kernel.org --- security/keys/keyctl.c |2 +- security/keys/keyring.c |

[PATCH] security: selinux: delete repeated words in comments

2020-08-07 Thread Randy Dunlap
Drop a repeated word in comments. {open, is, then} Signed-off-by: Randy Dunlap Cc: Paul Moore Cc: Stephen Smalley Cc: Eric Paris Cc: seli...@vger.kernel.org Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-mod...@vger.kernel.org --- security/selinux/hooks.c |6 +++--- 1 file

[PATCH] security: ima: delete a repeated word in comments

2020-08-07 Thread Randy Dunlap
Drop a repeated word in comments. {the} Signed-off-by: Randy Dunlap Cc: Mimi Zohar Cc: Dmitry Kasatkin Cc: linux-integr...@vger.kernel.org Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-mod...@vger.kernel.org --- security/integrity/ima/ima_policy.c |2 +- 1 file changed, 1

[PATCH] security: apparmor: delete repeated words in comments

2020-08-07 Thread Randy Dunlap
Drop repeated words in comments. {a, then, to} Signed-off-by: Randy Dunlap Cc: John Johansen Cc: appar...@lists.ubuntu.com Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-mod...@vger.kernel.org --- security/apparmor/include/file.h |2 +- security/apparmor/path.c |

[PATCH 2/2] perf sched timehist: Fix use of CPU list with summary option

2020-08-07 Thread David Ahern
Do not update thread stats or show idle summary unless CPU is in the list of interest. Fixes: c30d630d1bcf ("perf sched timehist: Add support for filtering on CPU") Signed-off-by: David Ahern --- tools/perf/builtin-sched.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 1/2] perf sched: Prefer sched_waking event when it exists

2020-08-07 Thread David Ahern
Commit fbd705a0c618 ("sched: Introduce the 'trace_sched_waking' tracepoint") added sched_waking tracepoint which should be preferred over sched_wakeup when analyzing scheduling delays. Update 'perf sched record' to collect sched_waking events if it exists and fallback to sched_wakeup if it does

Re: [PATCH v2] mm, dump_page: do not crash with bad compound_mapcount()

2020-08-07 Thread Kirill A. Shutemov
On Fri, Aug 07, 2020 at 04:10:29PM +0100, Matthew Wilcox wrote: > On Fri, Aug 07, 2020 at 05:35:04PM +0300, Kirill A. Shutemov wrote: > > On Tue, Aug 04, 2020 at 02:48:07PM -0700, John Hubbard wrote: > > > If a compound page is being split while dump_page() is being run on that > > > page, we can

Re: [PATCH RFC v2 02/18] irq/dev-msi: Add support for a new DEV_MSI irq domain

2020-08-07 Thread Thomas Gleixner
Jason Gunthorpe writes: > Though it is more of a rational and a cookbook on how to combine > existing technology pieces. (eg PASID, platform_msi, etc) > > The basic approach of SIOV's IMS is that there is no longer a generic > interrupt indirection from numbers to addr/data pairs like >

Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor

2020-08-07 Thread Daniel Bristot de Oliveira
On 8/7/20 4:11 PM, pet...@infradead.org wrote: > But I shelved all that after I heard about that other balancer idea > Danial was suppose to be working on ;-))) The PhD bureaucracy (and behind the scenes) were blocking me... but I am free man now and will catch up on that ;-). [ also because I

BUG: corrupted list in kobject_add_internal

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:5a30a789 Merge tag 'x86-urgent-2020-08-02' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1660c85890 kernel config: https://syzkaller.appspot.com/x/.config?x=c0cfcf935bcc94d2

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-07 Thread Paul Cercueil
Hi Zhou, Le sam. 8 août 2020 à 0:23, Zhou Yanjie a écrit : Hi Paul, I'm not too sure if remove "cpu-feature-overrides.h" will cause some problems for X2000, because according to my current test on X2000, I found that it is somewhat different from the SoCs using XBurst1 CPU core, with the

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-07 Thread James Morris
On Thu, 6 Aug 2020, Mimi Zohar wrote: > On Thu, 2020-08-06 at 09:51 +1000, James Morris wrote: > > On Wed, 5 Aug 2020, Mimi Zohar wrote: > > > > > If block layer integrity was enough, there wouldn't have been a need > > > for fs-verity. Even fs-verity is limited to read only filesystems, > > >

Re: [PATCH] drm/panfrost: perfcnt: fix ref count leak in panfrost_perfcnt_enable_locked

2020-08-07 Thread Rob Herring
On Sun, Jun 14, 2020 at 12:36 AM Navid Emamdoost wrote: > > in panfrost_perfcnt_enable_locked, pm_runtime_get_sync is called which > increments the counter even in case of failure, leading to incorrect > ref count. In case of failure, decrement the ref count before returning. > > Signed-off-by:

Re: [PATCH] i2c: iproc: fix race between client unreg and isr

2020-08-07 Thread Ray Jui
Hi Rayagonda/Dhananjay, On 8/5/2020 2:17 AM, Wolfram Sang wrote: > On Mon, Jul 27, 2020 at 01:43:40PM -0700, Ray Jui wrote: >> >> >> On 7/27/2020 1:26 PM, Wolfram Sang wrote: >>> On Mon, Jul 27, 2020 at 08:13:46PM +0200, Wolfram Sang wrote: > Can you confirm that even if we have irq

Re: [PATCH v4 00/10] Function Granular KASLR

2020-08-07 Thread Kristen Carlson Accardi
On Tue, 2020-08-04 at 14:23 -0400, Joe Lawrence wrote: > On Fri, Jul 17, 2020 at 09:59:57AM -0700, Kristen Carlson Accardi > wrote: > > Function Granular Kernel Address Space Layout Randomization > > (fgkaslr) > > - > > > > > >

AW: AW: [PATCH 5/5] Add manpage for fsconfig(2)

2020-08-07 Thread Walter Harms
found it, next i will look for version not varsion Von: David Howells [dhowe...@redhat.com] Gesendet: Freitag, 7. August 2020 18:27 An: Walter Harms Cc: dhowe...@redhat.com; mtk.manpa...@gmail.com; linux-fsde...@vger.kernel.org;

Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost

2020-08-07 Thread Clément Péron
On Fri, 7 Aug 2020 at 18:28, Clément Péron wrote: > > Hi Rob, > > On Fri, 7 Aug 2020 at 18:13, Rob Herring wrote: > > > > On Fri, Jul 10, 2020 at 3:54 AM Clément Péron wrote: > > > > > > Hi, > > > > > > This serie cleans and adds regulator support to Panfrost devfreq. > > > This is mostly based

[PATCH v3] hwmon/pmbus: use simple i2c probe function

2020-08-07 Thread Stephen Kitt
pmbus_do_probe doesn't use the id information provided in its second argument, so this can be removed, which then allows using the single-parameter i2c probe function ("probe_new") for probes. This avoids scanning the identifier tables during probes. Drivers which didn't use the id are converted

Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost

2020-08-07 Thread Clément Péron
Hi Rob, On Fri, 7 Aug 2020 at 18:13, Rob Herring wrote: > > On Fri, Jul 10, 2020 at 3:54 AM Clément Péron wrote: > > > > Hi, > > > > This serie cleans and adds regulator support to Panfrost devfreq. > > This is mostly based on comment for the freshly introduced lima > > devfreq. > > > > We need

Re: AW: [PATCH 5/5] Add manpage for fsconfig(2)

2020-08-07 Thread David Howells
Walter Harms wrote: > maybe it is obvious but i did not see it .. > starting with what kernel version are these features available ? See: +.SH VERSIONS +.BR fsconfig () +was added to Linux in kernel 5.1. David

Re: [Patch v2 4/4] arm64: tegra: Add GPCDMA node in dt

2020-08-07 Thread Jon Hunter
On 06/08/2020 08:30, Rajesh Gumasta wrote: > Add device tree node for GPCDMA controller on Tegra186 target > and Tegra194 target. > > Signed-off-by: Rajesh Gumasta > --- > arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 4 +++ > arch/arm64/boot/dts/nvidia/tegra186.dtsi | 46 >

Re: [Patch v2 2/4] dmaengine: tegra: Add Tegra GPC DMA driver

2020-08-07 Thread Jon Hunter
On 06/08/2020 08:30, Rajesh Gumasta wrote: > Adding GPC DMA controller driver for Tegra186 and Tegra194. The driver > supports dma transfers between memory to memory, IO peripheral to memory > and memory to IO peripheral. > > Signed-off-by: Pavan Kunapuli > Signed-off-by: Rajesh Gumasta >

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-07 Thread Zhou Yanjie
Hi Paul, I'm not too sure if remove "cpu-feature-overrides.h" will cause some problems for X2000, because according to my current test on X2000, I found that it is somewhat different from the SoCs using XBurst1 CPU core, with the kernel source code provided by Ingenic, for example, we must

[PATCH 10/22] crypto: atmel-aes - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Signed-off-by: Andrei Botila --- drivers/crypto/atmel-aes.c |

[PATCH 19/22] crypto: inside-secure - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Antoine Tenart Signed-off-by: Andrei Botila --- drivers/crypto/inside-secure/safexcel_cipher.c | 6 ++ 1 file changed,

[PATCH 12/22] crypto: bcm - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Zhang Shengju Cc: Tang Bin Signed-off-by: Andrei Botila --- drivers/crypto/bcm/cipher.c | 3 +++ 1 file changed, 3

[PATCH 13/22] crypto: cavium/cpt - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: George Cherian Signed-off-by: Andrei Botila --- drivers/crypto/cavium/cpt/cptvf_algs.c | 4 1 file changed, 4

[PATCH 20/22] crypto: octeontx - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Boris Brezillon Cc: Arnaud Ebalard Cc: Srujana Challa Signed-off-by: Andrei Botila ---

[PATCH 16/22] crypto: ccree - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. This change has implications not only for xts(aes) but also for cts(cbc(aes)) and cts(cbc(paes)). Cc: Gilad Ben-Yossef

[PATCH 18/22] crypto: hisilicon/sec - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Signed-off-by: Andrei Botila --- drivers/crypto/hisilicon/sec/sec_algs.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 21/22] crypto: qce - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Signed-off-by: Andrei Botila --- drivers/crypto/qce/skcipher.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 17/22] crypto: chelsio - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Ayush Sawal Cc: Vinay Kumar Yadav Cc: Rohit Maheshwari Signed-off-by: Andrei Botila ---

Re: srvfs: file system for posting open file descriptors into fs namespace

2020-08-07 Thread Al Viro
On Fri, Aug 07, 2020 at 01:09:30PM +0200, Enrico Weigelt, metux IT consult wrote: > Hello folks, > > > here's the first version of my "srvfs" implementation - a synthentic > filesystem which allows a process to "publish" an open file descriptor > into the file system, so other processes can

[PATCH 15/22] crypto: ccp - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Tom Lendacky Cc: John Allen Signed-off-by: Andrei Botila --- drivers/crypto/ccp/ccp-crypto-aes-xts.c | 3 +++ 1 file

[PATCH 08/22] crypto: x86/glue_helper - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" Signed-off-by: Andrei Botila ---

[PATCH 01/22] crypto: arm/aes-ce - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Russell King Signed-off-by: Andrei Botila --- arch/arm/crypto/aes-ce-glue.c | 6 ++ 1 file changed, 6 insertions(+)

[PATCH 22/22] crypto: vmx - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: "Breno Leitão" Cc: Nayna Jain Cc: Paulo Flabiano Smorigo Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael

[PATCH 11/22] crypto: artpec6 - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Jesper Nilsson Cc: Lars Persson Signed-off-by: Andrei Botila --- drivers/crypto/axis/artpec6_crypto.c | 6 ++ 1 file

[PATCH 07/22] crypto: s390/paes - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Signed-off-by: Andrei Botila --- arch/s390/crypto/paes_s390.c

[PATCH 09/22] crypto: xts - add check for block length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Signed-off-by: Andrei Botila --- crypto/xts.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/crypto/xts.c

[PATCH 14/22] crypto: cavium/nitrox - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Srikanth Jampala Cc: Nagadheeraj Rottela Signed-off-by: Andrei Botila --- drivers/crypto/cavium/nitrox/nitrox_skcipher.c

Re: [PATCH] drivers: watchdog: rdc321x_wdt: Fix race condition bugs

2020-08-07 Thread Guenter Roeck
On Fri, Aug 07, 2020 at 04:59:02PM +0530, madhuparnabhowmi...@gmail.com wrote: > From: Madhuparna Bhowmik > > In rdc321x_wdt_probe(), rdc321x_wdt_device.queue is initialized > after misc_register(), hence if ioctl is called before its > initialization which can call rdc321x_wdt_start() function,

[PATCH 02/22] crypto: arm/aes-neonbs - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Russell King Signed-off-by: Andrei Botila --- arch/arm/crypto/aes-neonbs-glue.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH 05/22] crypto: powerpc/aes-spe - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Signed-off-by: Andrei Botila ---

[PATCH 03/22] crypto: arm64/aes - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Andrei Botila --- arch/arm64/crypto/aes-glue.c | 6 ++ 1 file changed,

[PATCH 06/22] crypto: s390/aes - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Signed-off-by: Andrei Botila --- arch/s390/crypto/aes_s390.c

[PATCH 04/22] crypto: arm64/aes-neonbs - add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila Standardize the way input lengths equal to 0 are handled in all skcipher algorithms. All the algorithms return 0 for input lengths equal to zero. Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Andrei Botila --- arch/arm64/crypto/aes-neonbs-glue.c | 3 +++ 1 file

Re: [PATCH v9 2/5] drm/msm/dp: add displayPort driver support

2020-08-07 Thread Randy Dunlap
On 8/7/20 9:09 AM, Guenter Roeck wrote: > On Fri, Aug 7, 2020 at 8:37 AM Randy Dunlap wrote: >> >> On 8/7/20 12:17 AM, Tanmay Shah wrote: >>> diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig >>> index 6deaa7d01654..ea3c4d094d09 100644 >>> --- a/drivers/gpu/drm/msm/Kconfig

[PATCH 00/22] crypto: add check for xts input length equal to zero

2020-08-07 Thread Andrei Botila
From: Andrei Botila This patch set is a follow-up on the previous RFC discussion which can be found here: https://lore.kernel.org/r/4145904.a5p2xsn...@tauon.chronox.de This series converts all XTS implementations to return 0 when the input length is equal to 0. This change is necessary in order

drivers/crypto/chelsio/chcr_ktls.c:1078: undefined reference to `tls_get_record'

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86cfccb66937dd6cbf26ed619958b9e587e6a115 commit: 5a4b9fe7fece62ecab6fb28fe92362f83b41c33e cxgb4/chcr: complete record tx handling date: 5 months ago config: parisc-randconfig-r013-20200807 (attached

Re: [RFC PATCH 1/8] fs: introduce get_shared_files() for dax

2020-08-07 Thread Darrick J. Wong
On Fri, Aug 07, 2020 at 09:13:29PM +0800, Shiyang Ruan wrote: > Under the mode of both dax and reflink on, one page may be shared by > multiple files and offsets. In order to track them in memory-failure or > other cases, we introduce this function by finding out who is sharing > this block(the

[PATCH] ASoC: amd: Replacing component->name with codec_dai->name.

2020-08-07 Thread Ravulapati Vishnu vardhan rao
Replacing string compare with "codec_dai->name" instead of comparing with "codec_dai->component->name" in hw_params because, Here the component name for codec RT1015 is "i2c-10EC5682:00" and will never be "rt1015-aif1" as it is codec-dai->name. So, strcmp() always compares and fails to set the

[RFC PATCH v1] power: don't manage floating point regs when no FPU

2020-08-07 Thread Christophe Leroy
There is no point in copying floating point regs when there is no FPU and MATH_EMULATION is not selected. Create a new CONFIG_PPC_FPU_REGS bool that is selected by CONFIG_MATH_EMULATION and CONFIG_PPC_FPU, and use it to opt out everything related to fp_state in thread_struct. The following app

Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost

2020-08-07 Thread Rob Herring
On Fri, Jul 10, 2020 at 3:54 AM Clément Péron wrote: > > Hi, > > This serie cleans and adds regulator support to Panfrost devfreq. > This is mostly based on comment for the freshly introduced lima > devfreq. > > We need to add regulator support because on Allwinner the GPU OPP > table defines

Re: [RFC PATCH] coccinelle: misc: add flexible_array.cocci script

2020-08-07 Thread Gustavo A. R. Silva
Hi Denis, Thanks a lot for working on this. Please, see some comments below... On 8/6/20 17:03, Denis Efremov wrote: > Commit 68e4cd17e218 ("docs: deprecated.rst: Add zero-length and one-element > arrays") marks one-element and zero-length arrays as deprecated. Kernel > code should always use

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