Re: [PATCH] mm/slab_common.c: fix possible spectre-v1 in kmalloc_slab()

2019-05-30 Thread Dianzhang Chen
On Thu, May 30, 2019 at 2:24 PM Michal Hocko wrote: > I understand the general mechanism of spectre v1. What I was asking for > is an example of where userspace directly controls the allocation size > as this is usually bounded to an in kernel object size. I can see how > and N * sizeof(object) wh

[PATCH v3] riscv: Fix udelay in RV32.

2019-05-30 Thread Nick Hu
In RV32, udelay would delay the wrong cycle. When it shifts right "UDELAY_SHITFT" bits, it either delays 0 cycle or 1 cycle. It only works correctly in RV64. Because the 'ucycles' always needs to be 64 bits variable. Signed-off-by: Nick Hu Reviewed-by: Palmer Dabbelt --- arch/riscv/lib/delay.c

Re: [PATCH 4.19 000/276] 4.19.47-stable review

2019-05-30 Thread kernelci.org bot
stable-rc/linux-4.19.y boot: 118 boots: 0 failed, 118 passed (v4.19.46-277-g9c8c1a222a6b) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.46-277-g9c8c1a222a6b/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.19.y/kernel/v4.

Re: [PATCH 5.1 000/405] 5.1.6-stable review

2019-05-30 Thread kernelci.org bot
stable-rc/linux-5.1.y boot: 125 boots: 1 failed, 122 passed with 2 untried/unknown (v5.1.5-406-ge151dd0525b9) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.1.y/kernel/v5.1.5-406-ge151dd0525b9/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-

Re: [PATCH v4] ipvs: add checksum support for gue encapsulation

2019-05-30 Thread Julian Anastasov
Hello, On Thu, 30 May 2019, Jacky Hu wrote: > Add checksum support for gue encapsulation with the tun_flags parameter, > which could be one of the values below: > IP_VS_TUNNEL_ENCAP_FLAG_NOCSUM > IP_VS_TUNNEL_ENCAP_FLAG_CSUM > IP_VS_TUNNEL_ENCAP_FLAG_REMCSUM > > Signed-off-by: Jacky Hu

[PATCH] media: wl128x: Fix some error handling in fm_v4l2_init_video_device()

2019-05-30 Thread Kefeng Wang
The fm_v4l2_init_video_device() forget to unregister v4l2/video device in the error path, it could lead to UAF issue, eg, BUG: KASAN: use-after-free in atomic64_read include/asm-generic/atomic-instrumented.h:836 [inline] BUG: KASAN: use-after-free in atomic_long_read include/asm-generic/atom

Re: [LKP] [SUNRPC] 0472e47660: fsmark.app_overhead 16.0% regression

2019-05-30 Thread Xing Zhengjun
On 5/30/2019 10:00 AM, Trond Myklebust wrote: Hi Xing, On Thu, 2019-05-30 at 09:35 +0800, Xing Zhengjun wrote: Hi Trond, On 5/20/2019 1:54 PM, kernel test robot wrote: Greeting, FYI, we noticed a 16.0% improvement of fsmark.app_overhead due to commit: commit: 0472e476604998c127f3c80d291

Re: [PATCH V5 0/3] arm64/mm: Enable memory hot remove

2019-05-30 Thread David Hildenbrand
On 30.05.19 06:23, Anshuman Khandual wrote: > > > On 05/30/2019 03:36 AM, Andrew Morton wrote: >> On Wed, 29 May 2019 14:46:24 +0530 Anshuman Khandual >> wrote: >> >>> This series enables memory hot remove on arm64 after fixing a memblock >>> removal ordering problem in generic __remove_memory(

Re: [HELP] How to get task_struct from mm

2019-05-30 Thread Yang Shi
On 5/30/19 2:57 PM, Yang Shi wrote: Hi folks, As what we discussed about page demotion for PMEM at LSF/MM, the demotion should respect to the mempolicy and allowed mems of the process which the page (anonymous page only for now) belongs to. The vma that the page is mapped to can be retr

Re: [PATCH] perf: Fix oops when kthread execs user process

2019-05-30 Thread Will Deacon
On Wed, May 29, 2019 at 06:44:07PM +0200, Peter Zijlstra wrote: > On Wed, May 29, 2019 at 05:25:28PM +0100, Will Deacon wrote: > > > > > > On Wed, May 29, 2019 at 02:05:21PM +0100, Will Deacon wrote: > > > > > > On Wed, May 29, 2019 at 02:55:57PM +0200, Peter Zijlstra wrote: > > > > > > > > > > >

Re: [v3 PATCH] usb: create usb_debug_root for gadget only

2019-05-30 Thread Chunfeng Yun
Hi Felipe, On Tue, 2019-05-28 at 11:11 +0300, Felipe Balbi wrote: > Hi, > > Chunfeng Yun writes: > > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c > > index 7fcb9f782931..88b3ee03a12d 100644 > > --- a/drivers/usb/core/usb.c > > +++ b/drivers/usb/core/usb.c > > @@ -1190,7 +1190,7 @@

Re: [PATCH v2 11/17] locking/lockdep: Adjust lockdep selftest cases

2019-05-30 Thread Yuyang Du
Thanks for review. On Wed, 29 May 2019 at 19:44, Boqun Feng wrote: > > > @@ -424,7 +424,7 @@ static void rwsem_ABBA2(void) > > ML(Y1); > > RSL(X1); > > RSU(X1); > > - MU(Y1); // should fail > > + MU(Y1); // should NOT fail > > I'm afraid you get this wrong ;-) reader of

Re: [RESEND PATCH v4 6/6] leds: lm36274: Introduce the TI LM36274 LED driver

2019-05-30 Thread Lee Jones
On Wed, 29 May 2019, Jacek Anaszewski wrote: > On 5/29/19 3:58 PM, Lee Jones wrote: > > On Fri, 24 May 2019, Jacek Anaszewski wrote: > > > > > Hi, > > > > > > On 5/23/19 9:09 PM, Dan Murphy wrote: > > > > Pavel > > > > > > > > Thanks for the review > > > > > > > > On 5/23/19 7:50 AM, Pavel Mac

Re: [PATCH] hooks: fix a missing-check bug in selinux_sb_eat_lsm_opts()

2019-05-30 Thread Gen Zhang
On Wed, May 29, 2019 at 09:39:50PM -0700, William Roberts wrote: > On Wed, May 29, 2019 at 8:55 PM Gen Zhang wrote: > > > > In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It > > returns NULL when fails. So 'arg' should be checked. > > > > Signed-off-by: Gen Zhang > > --- > > d

Re: [PATCH net-next 3/5] net: dsa: mv88e6xxx: Let taggers specify a can_timestamp function

2019-05-30 Thread Vladimir Oltean
On Thu, 30 May 2019 at 06:51, Richard Cochran wrote: > > On Wed, May 29, 2019 at 11:33:31PM +0300, Vladimir Oltean wrote: > > I would like to avoid keeping meta frames in their own RX queue, > > because then I'm complicating (or rather put, making impossible) the > > association between a meta fra

Re: [PATCH] vmalloc: Don't use flush flag when no exec perm

2019-05-30 Thread Meelis Roos
The addition of VM_FLUSH_RESET_PERMS for BPF JIT allocations was bisected to prevent boot on an UltraSparc III machine. It was found that sometime shortly after the TLB flush this flag does on vfree of the BPF program, the machine hung. Further investigation showed that before any of the changes f

Re: [PATCH 2/5] clocksource/drivers/timer-microchip-pit64b: add Microchip PIT64B support

2019-05-30 Thread Claudiu.Beznea
Hi Daniel, Taking into account the discussion on this tread and the fact that we have no answer from Rob on this topic (I'm talking about [1]), what do you think it would be best for this driver to be accepted the soonest? Would it be OK for you to mimic the approach done by: drivers/clocksource/

Re: [PATCH] x86: intel_epb: Do not build when CONFIG_PM is unset

2019-05-30 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit 9ed0985332a6 ("x86: intel_epb: Take CONFIG_PM into account") > prevented the majority of the Performance and Energy Bias Hint (EPB) > handling code from being built when CONFIG_PM is unset to fix a > regression introduced by comm

Re: [PATCH v5] mfd: cros_ec_dev: Register cros_ec_accel_legacy driver as a subdevice

2019-05-30 Thread Lee Jones
On Wed, 29 May 2019, Gwendal Grignou wrote: > On Wed, May 29, 2019 at 4:44 AM Lee Jones wrote: > > > > On Tue, 28 May 2019, Gwendal Grignou wrote: > > > > > On Mon, Apr 1, 2019 at 8:46 PM Lee Jones wrote: > > > > > > > > On Wed, 27 Feb 2019, Gwendal Grignou wrote: > > > > > > > > > From: Enric B

Re: [GIT PULL] perf/core improvements and fixes for 5.3

2019-05-30 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > Best regards, > > - Arnaldo > > Test results at the end of this message, as usual, this time with the > versions for the clang compilers used accross the various containers, to > give a further view of the

[PATCH] w1: ds2413: fix state byte comparision

2019-05-30 Thread Mariusz Bialonczyk
This commit is fixing a smatch warning: drivers/w1/slaves/w1_ds2413.c:61 state_read() warn: impossible condition '(*buf == 255) => ((-128)-127 == 255)' by creating additional u8 variable for the bus reading and comparision Reported-by: kbuild test robot Reported-by: Dan Carpenter Cc: Dan Carpen

[tip:perf/core] perf-with-kcore.sh: Always allow fix_buildid_cache_permissions

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: a685c7a4a25c80f1f022b55830f2d894ee8847eb Gitweb: https://git.kernel.org/tip/a685c7a4a25c80f1f022b55830f2d894ee8847eb Author: Adrian Hunter AuthorDate: Fri, 12 Apr 2019 14:38:28 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 perf-with-kc

[tip:perf/core] perf intel-pt: Fix itrace defaults for perf script

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: 26f19c2eb7e54015564ff133b91983a74e84541b Gitweb: https://git.kernel.org/tip/26f19c2eb7e54015564ff133b91983a74e84541b Author: Adrian Hunter AuthorDate: Mon, 20 May 2019 14:37:07 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 perf intel-p

[PATCH] nbd: no need to check all the connections one by one if all are dead

2019-05-30 Thread xiubli
From: Xiubo Li If all connections are dead the live_connections should be already set to 0. And set the nsock->fallback to -1 again if all connections are dead. Signed-off-by: Xiubo Li --- drivers/block/nbd.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff

[tip:perf/core] perf auxtrace: Fix itrace defaults for perf script

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: 355200e0f6a9ce14771625014aa469f5ecbd8977 Gitweb: https://git.kernel.org/tip/355200e0f6a9ce14771625014aa469f5ecbd8977 Author: Adrian Hunter AuthorDate: Mon, 20 May 2019 14:37:08 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 perf auxtrac

[tip:perf/core] perf intel-pt: Fix itrace defaults for perf script intel-pt documentation

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: a2d8a1585e35444789c1c8cf7e2e51fb15589880 Gitweb: https://git.kernel.org/tip/a2d8a1585e35444789c1c8cf7e2e51fb15589880 Author: Adrian Hunter AuthorDate: Mon, 20 May 2019 14:37:09 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 perf intel-p

[tip:perf/core] perf machine: Keep zero in pgoff BPF map

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: 8529f2e67313fb623da7ce81bc14cf12ccc0e12f Gitweb: https://git.kernel.org/tip/8529f2e67313fb623da7ce81bc14cf12ccc0e12f Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:04 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 perf machine: Kee

[tip:perf/core] perf trace: Beautify 'move_mount' arguments

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 566e30229e1f4be67c4771afc057152d62016c9c Gitweb: https://git.kernel.org/tip/566e30229e1f4be67c4771afc057152d62016c9c Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 20 May 2019 14:58:03 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 p

[tip:perf/core] perf beauty: Add generator for 'move_mount' flags argument

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: eefa09b499d12883f2fad46f93379101c8da6fec Gitweb: https://git.kernel.org/tip/eefa09b499d12883f2fad46f93379101c8da6fec Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 20 May 2019 14:16:49 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 p

Re: [PATCH] kernel/sys.c: fix possible spectre-v1 in do_prlimit()

2019-05-30 Thread Cyrill Gorcunov
On Thu, May 30, 2019 at 01:45:16PM +0800, Dianzhang Chen wrote: > > Though syscall `getrlimit` , it seems not works after > check_prlimit_permission. > > And the speculation windows are large, as said[1]: > >> Can the speculation proceed past the task_lock()? Or is the policy to > >> ignore such

[tip:perf/core] perf augmented_raw_syscalls: Fix up comment

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8a70c6b162e3112ce87b40b1705da5c4e7566ac8 Gitweb: https://git.kernel.org/tip/8a70c6b162e3112ce87b40b1705da5c4e7566ac8 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 May 2019 13:21:36 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 p

[tip:perf/core] perf beauty: Add generator for fspick's 'flags' arg values

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a1c729a5f62c090ba3c510142a6685a1989cc24b Gitweb: https://git.kernel.org/tip/a1c729a5f62c090ba3c510142a6685a1989cc24b Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 20 May 2019 16:17:55 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 p

[PATCH] x86/mm/tlb: Do partial TLB flush when possible

2019-05-30 Thread Zhenzhong Duan
This is a small optimization to stale TLB flush, if there is one new TLB flush, let it choose to do partial or full flush. or else, the stale flush take over and do full flush. Add unlikely() to info->freed_tables check as freeing page tables is relatively less. Signed-off-by: Zhenzhong Duan Cc:

[tip:perf/core] perf trace: Beautify 'fspick' arguments

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 693bd3949be6c73218e3666d85e37841d678ea7b Gitweb: https://git.kernel.org/tip/693bd3949be6c73218e3666d85e37841d678ea7b Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 20 May 2019 16:24:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 p

[tip:perf/core] perf beauty: Add generator for fsconfig's 'cmd' arg values

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d35293004a5e40c330ae5bf3667d716e702fe94a Gitweb: https://git.kernel.org/tip/d35293004a5e40c330ae5bf3667d716e702fe94a Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 May 2019 15:07:43 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 p

Re: [RFC 6/7] mm: extend process_madvise syscall to support vector arrary

2019-05-30 Thread Minchan Kim
On Thu, May 30, 2019 at 08:57:55AM +0200, Michal Hocko wrote: > On Thu 30-05-19 11:17:48, Minchan Kim wrote: > > On Wed, May 29, 2019 at 12:33:52PM +0200, Michal Hocko wrote: > > > On Wed 29-05-19 03:08:32, Daniel Colascione wrote: > > > > On Mon, May 27, 2019 at 12:49 AM Minchan Kim wrote: > > >

[tip:perf/core] perf trace: Beautify 'fsconfig' arguments

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: dcc6fd64f2e9448ccc1c3e1ccd46a9ff5286b861 Gitweb: https://git.kernel.org/tip/dcc6fd64f2e9448ccc1c3e1ccd46a9ff5286b861 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 May 2019 15:36:44 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 p

[tip:perf/core] perf trace: Introduce syscall_arg__scnprintf_strarray_flags

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f5b91dbba1a51d30a3fe78a5c6096392fa99471e Gitweb: https://git.kernel.org/tip/f5b91dbba1a51d30a3fe78a5c6096392fa99471e Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 May 2019 18:05:03 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 p

[tip:perf/core] perf beauty: Add generator for fsmount's 'attr_flags' arg values

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3637c64731a78ebe81fba0c282208a860c839307 Gitweb: https://git.kernel.org/tip/3637c64731a78ebe81fba0c282208a860c839307 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 May 2019 15:57:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 p

Re: [PATCH] block: fix a crash in do_task_dead()

2019-05-30 Thread Peter Zijlstra
On Wed, May 29, 2019 at 04:25:26PM -0400, Qian Cai wrote: > Fixes: 0619317ff8ba ("block: add polled wakeup task helper") What is the purpose of that patch ?! The Changelog doesn't mention any benefit or performance gain. So why not revert that? > Signed-off-by: Qian Cai > --- > include/linux/b

[tip:perf/core] perf trace: Beautify 'fsmount' arguments

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f6af095668b7799a7514378824dcc74869df3994 Gitweb: https://git.kernel.org/tip/f6af095668b7799a7514378824dcc74869df3994 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 May 2019 16:34:03 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 p

[tip:perf/core] perf beauty: Add generator for sync_file_range's 'flags' arg values

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8ef6d74e1dd5ac830fa8b7943255ad9a44a94914 Gitweb: https://git.kernel.org/tip/8ef6d74e1dd5ac830fa8b7943255ad9a44a94914 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 May 2019 21:43:39 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 p

[tip:perf/core] perf trace beauty clone: Handle CLONE_PIDFD

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ee364dcdcd008530883efc0e690fc8e85622f9b5 Gitweb: https://git.kernel.org/tip/ee364dcdcd008530883efc0e690fc8e85622f9b5 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 May 2019 16:51:08 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 p

[tip:perf/core] perf trace: Beautify 'sync_file_range' arguments

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a9a187a749f95dda24302aae5c9a0b6b9ee74c99 Gitweb: https://git.kernel.org/tip/a9a187a749f95dda24302aae5c9a0b6b9ee74c99 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 May 2019 21:47:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 p

[PATCH] hooks: fix a missing-check bug in selinux_add_mnt_opt()

2019-05-30 Thread Gen Zhang
In selinux_add_mnt_opt(), 'val' is allcoted by kmemdup_nul(). It returns NULL when fails. So 'val' should be checked. Signed-off-by: Gen Zhang --- diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 3ec702c..4797c63 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/h

[tip:perf/core] perf top: Add --namespaces option

2019-05-30 Thread tip-bot for Namhyung Kim
Commit-ID: a0c0a4ac021b017e385d0328541ccfebeef165fc Gitweb: https://git.kernel.org/tip/a0c0a4ac021b017e385d0328541ccfebeef165fc Author: Namhyung Kim AuthorDate: Wed, 22 May 2019 14:32:50 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 perf top: Add

[tip:perf/core] perf tools: Remove const from thread read accessors

2019-05-30 Thread tip-bot for Namhyung Kim
Commit-ID: 7cb10a08df98e643b87d4bc8422e50e9c43b5c60 Gitweb: https://git.kernel.org/tip/7cb10a08df98e643b87d4bc8422e50e9c43b5c60 Author: Namhyung Kim AuthorDate: Mon, 27 May 2019 15:11:49 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 perf tools: R

[tip:perf/core] perf dso: Separate generic code in dso__data_file_size()

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: 5523769ee15f27a1bc2009346736b22cb907bff8 Gitweb: https://git.kernel.org/tip/5523769ee15f27a1bc2009346736b22cb907bff8 Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:19:59 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:43 -0300 perf dso: Separat

RISC-V Hypervisors

2019-05-30 Thread Anup Patel
Hi All, It's a great pleasure to inform everyone that we have RISC-V hypervisor extension available for QEMU and along with it we also have Xvisor (a baremetal type-1 hypervisor) working on QEMU with RISC-V hypervisor extension. Currently, we are able to boot two Linux RV64 Guests on Xvisor RV64.

[tip:perf/core] perf dso: Simplify dso_cache__read function

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: cacddfe7b0804752528e8100461266ec33dc6b64 Gitweb: https://git.kernel.org/tip/cacddfe7b0804752528e8100461266ec33dc6b64 Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:01 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 perf dso: Simplif

[tip:perf/core] perf dso: Separate generic code in dso_cache__read

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: ea5db1bd5a04b865bc86bb8e3267c27939dfb5ee Gitweb: https://git.kernel.org/tip/ea5db1bd5a04b865bc86bb8e3267c27939dfb5ee Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:00 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 perf dso: Separat

[tip:perf/core] perf dso: Add BPF DSO read and size hooks

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: 6c398d723a6a6d27485e701ae21e50304ec95595 Gitweb: https://git.kernel.org/tip/6c398d723a6a6d27485e701ae21e50304ec95595 Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:02 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 perf dso: Add BPF

[tip:perf/core] perf script: Pad DSO name for --call-trace

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: 1c4924220c96392d17e0222c113509fd7b9a0854 Gitweb: https://git.kernel.org/tip/1c4924220c96392d17e0222c113509fd7b9a0854 Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:05 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 perf script: Pad

[tip:perf/core] perf tests: Add map_groups__merge_in test

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: 4f600bcf657d4d0476d0d96cb38077a72b8fb2af Gitweb: https://git.kernel.org/tip/4f600bcf657d4d0476d0d96cb38077a72b8fb2af Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:07 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 perf tests: Add m

[tip:perf/core] perf script: Add --show-bpf-events to show eBPF related events

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: 490c8cc949eca14bfdbee0ad1cd1c6d3ddf46b77 Gitweb: https://git.kernel.org/tip/490c8cc949eca14bfdbee0ad1cd1c6d3ddf46b77 Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:08 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 perf script: Add

iwl_mvm_add_new_dqa_stream_wk BUG in lib/list_debug.c:56

2019-05-30 Thread Marc Haber
Hi, on my primary notebook, a Lenovo X260, with an Intel Wireless 8260 (8086:24f3), running Debian unstable, I have started to see network hangs since upgrading to kernel 5.1. In this situation, I cannot restart Network-Manager (the call just hangs), I can log out of X, but the system does not cle

[PATCH] habanalabs: fix bug in checking huge page optimization

2019-05-30 Thread Oded Gabbay
This patch fix a bug in the mmu code that checks whether we can use huge page mappings for host pages. The code is supposed to enable huge page mappings only if ALL DMA addresses are aligned to 2MB AND the number of pages in each DMA chunk is a modulo of the number of pages in 2MB. However, the co

[tip:perf/core] perf version: Append 12 git SHA chars to the version string

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 80ec26d110c5c5a81b60c444db851e5734dee09a Gitweb: https://git.kernel.org/tip/80ec26d110c5c5a81b60c444db851e5734dee09a Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 24 May 2019 15:50:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 p

[tip:perf/core] perf script: Remove superfluous BPF event titles

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: 8201787cbb723a20bf262ecb41b74962ad27e659 Gitweb: https://git.kernel.org/tip/8201787cbb723a20bf262ecb41b74962ad27e659 Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:09 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 perf script: Remo

[tip:perf/core] perf machine: Return NULL instead of null-terminating /proc/version array

2019-05-30 Thread tip-bot for Donald Yandt
Commit-ID: 34b65affe18daad31fed83e50d1f3b817786a2b7 Gitweb: https://git.kernel.org/tip/34b65affe18daad31fed83e50d1f3b817786a2b7 Author: Donald Yandt AuthorDate: Tue, 28 May 2019 09:41:28 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 perf machine:

[tip:perf/core] perf annotate TUI browser: Do not use member from variable within its own initialization

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: da2019633f0b5c105ce658aada333422d8cb28fe Gitweb: https://git.kernel.org/tip/da2019633f0b5c105ce658aada333422d8cb28fe Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 28 May 2019 16:02:56 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 p

Re: [PATCH -next] platform/chrome: cros_ec_lpc: Make some symbols static

2019-05-30 Thread Yuehaibing
On 2019/5/29 23:12, Guenter Roeck wrote: > On Wed, May 29, 2019 at 8:08 AM YueHaibing wrote: >> >> Fix sparse warning: >> >> drivers/platform/chrome/cros_ec_debugfs.c:256:30: warning: symbol >> 'cros_ec_console_log_fops' was not declared. Should it be static? >> drivers/platform/chrome/cros_ec_de

[tip:perf/core] perf python: Remove -fstack-protector-strong if clang doesn't have it

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7952fa3b54bf6834dca22a21363c7caf78525720 Gitweb: https://git.kernel.org/tip/7952fa3b54bf6834dca22a21363c7caf78525720 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 28 May 2019 17:36:46 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:44 -0300 p

[tip:perf/core] perf top: Lower message level for failure on synthesizing events for pre-existing BPF programs

2019-05-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2d45ef7033ec90104ae8e4c3996227bdad24dc76 Gitweb: https://git.kernel.org/tip/2d45ef7033ec90104ae8e4c3996227bdad24dc76 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 20 May 2019 11:04:08 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:45 -0300 p

User Stack Tracer Causes Crash 2

2019-05-30 Thread He Zhe
Hi, https://lore.kernel.org/lkml/20190320221534.165ab...@oasis.local.home/ didn't get merged. And the crash it was trying to fix still happens on the latest master branch. If rebasing the patch on the latest top, the following new crash come up. Sometimes, root@intel-x86-64:~# echo 1 > /sys/k

[tip:perf/core] perf tools: Preserve eBPF maps when loading kcore

2019-05-30 Thread tip-bot for Jiri Olsa
Commit-ID: fb5a88d4131a9ee8bec3f4bb7c034d7a4e9cf5ea Gitweb: https://git.kernel.org/tip/fb5a88d4131a9ee8bec3f4bb7c034d7a4e9cf5ea Author: Jiri Olsa AuthorDate: Wed, 8 May 2019 15:20:06 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:42 -0300 perf tools: Prese

[tip:perf/core] perf scripts python: exported-sql-viewer.py: Change python2 to python

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: c6aba1bf258ff1ce201f112dafe1bdde601573dd Gitweb: https://git.kernel.org/tip/c6aba1bf258ff1ce201f112dafe1bdde601573dd Author: Adrian Hunter AuthorDate: Fri, 12 Apr 2019 14:38:23 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:45 -0300 perf scripts

[tip:perf/core] perf scripts python: exported-sql-viewer.py: Use argparse module for argument parsing

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: 1ed7f47fd3af3c09d2cd64d1aff1c5b96d238111 Gitweb: https://git.kernel.org/tip/1ed7f47fd3af3c09d2cd64d1aff1c5b96d238111 Author: Adrian Hunter AuthorDate: Fri, 12 Apr 2019 14:38:24 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:45 -0300 perf scripts

[tip:perf/core] perf scripts python: exported-sql-viewer.py: Add support for pyside2

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: df8ea22a8fd9e4e8502f4fa917622801e1b4d09e Gitweb: https://git.kernel.org/tip/df8ea22a8fd9e4e8502f4fa917622801e1b4d09e Author: Adrian Hunter AuthorDate: Fri, 12 Apr 2019 14:38:25 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:45 -0300 perf scripts

[tip:perf/core] perf scripts python: export-to-postgresql.py: Add support for pyside2

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: 3cd3216dbb421244b96b992f193e778a3baa2220 Gitweb: https://git.kernel.org/tip/3cd3216dbb421244b96b992f193e778a3baa2220 Author: Adrian Hunter AuthorDate: Fri, 12 Apr 2019 14:38:27 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:45 -0300 perf scripts

[tip:perf/core] perf scripts python: export-to-sqlite.py: Add support for pyside2

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: bfb3170e2481b76a4f8aae94176e45d681a37f3e Gitweb: https://git.kernel.org/tip/bfb3170e2481b76a4f8aae94176e45d681a37f3e Author: Adrian Hunter AuthorDate: Fri, 12 Apr 2019 14:38:26 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:45 -0300 perf scripts

[tip:perf/core] perf intel-pt: Improve sync_switch by processing PERF_RECORD_SWITCH* in events

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: c7b4f15ff79b539fed4c382e52e988548081bc9d Gitweb: https://git.kernel.org/tip/c7b4f15ff79b539fed4c382e52e988548081bc9d Author: Adrian Hunter AuthorDate: Fri, 12 Apr 2019 14:38:29 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:45 -0300 perf intel-p

[tip:perf/core] perf intel-pt: Rationalize intel_pt_sync_switch()'s use of next_tid

2019-05-30 Thread tip-bot for Adrian Hunter
Commit-ID: 14f1cfd4f7b4794e2f9d2ae214bcf049654b0b5c Gitweb: https://git.kernel.org/tip/14f1cfd4f7b4794e2f9d2ae214bcf049654b0b5c Author: Adrian Hunter AuthorDate: Fri, 12 Apr 2019 14:38:30 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 18:37:45 -0300 perf intel-p

Re: [PATCH v4] perf record: collect user registers set jointly with dwarf stacks

2019-05-30 Thread Alexey Budankov
On 29.05.2019 22:25, Arnaldo Carvalho de Melo wrote: > Em Wed, May 29, 2019 at 05:30:49PM +0300, Alexey Budankov escreveu: >> >> --- >> tools/perf/util/evsel.c | 11 ++- >> 1 file changed, 10 insertions(+), 1 deletion(-) >> >> diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel

Re: [PATCH net-next] ethtool: copy reglen to userspace

2019-05-30 Thread Michal Kubecek
On Thu, May 30, 2019 at 08:48:48AM +0200, Michal Kubecek wrote: > On Wed, May 29, 2019 at 10:17:44PM -0700, David Miller wrote: > > From: Vivien Didelot > > Date: Tue, 28 May 2019 16:58:48 -0400 > > > > > ethtool_get_regs() allocates a buffer of size reglen obtained from > > > ops->get_regs_len()

Re: [PATCH] hooks: fix a missing-check bug in selinux_sb_eat_lsm_opts()

2019-05-30 Thread Ondrej Mosnacek
On Thu, May 30, 2019 at 5:53 AM Gen Zhang wrote: > In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It > returns NULL when fails. So 'arg' should be checked. > > Signed-off-by: Gen Zhang Since it looks like you are going to respin this patch, please add: Fixes: 99dbbb593fe6 ("

Re: [PATCH 4.14 000/193] 4.14.123-stable review

2019-05-30 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 115 boots: 0 failed, 115 passed (v4.14.122-194-g0352fa2fdaa6) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.122-194-g0352fa2fdaa6/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y/kernel/v

Re: [PATCH] hooks: fix a missing-check bug in selinux_add_mnt_opt()

2019-05-30 Thread Ondrej Mosnacek
On Thu, May 30, 2019 at 10:06 AM Gen Zhang wrote: > In selinux_add_mnt_opt(), 'val' is allcoted by kmemdup_nul(). It returns > NULL when fails. So 'val' should be checked. > > Signed-off-by: Gen Zhang Please add a Fixes tag here, too: Fixes: 757cbe597fe8 ("LSM: new method: ->sb_add_mnt_opt()")

Re: [PATCH 10/22] docs: amd-memory-encryption.rst get rid of warnings

2019-05-30 Thread Paolo Bonzini
On 30/05/19 01:23, Mauro Carvalho Chehab wrote: > Get rid of those warnings: > > Documentation/virtual/kvm/amd-memory-encryption.rst:244: WARNING: > Citation [white-paper] is not referenced. > Documentation/virtual/kvm/amd-memory-encryption.rst:246: WARNING: > Citation [amd-apm] is not r

Re: [PATCH 0/3] Add mclk0 clock source for SAI

2019-05-30 Thread Daniel Baluta
On Wed, 2019-05-29 at 16:03 -0700, Nicolin Chen wrote: > On Tue, May 28, 2019 at 01:20:46PM +, Daniel Baluta wrote: > > > 1) SAI clock source select MUX is really part of the hardware > > 2) flexibility! We let DT tell us which is the option for MUX > > option 0. > > I think the "MUX" is plau

Re: [PATCH] perf: Fix oops when kthread execs user process

2019-05-30 Thread Ravi Bangoria
On 5/29/19 6:25 PM, Peter Zijlstra wrote: > On Wed, May 29, 2019 at 11:20:22AM +0100, Will Deacon wrote: >> Anyway, you can add my ack to your patch, but I bet we can remove that mm >> check :D > > I've ended up with the below. Ravi, can you test if that does indeed > obsolete your PPC patch?

[PATCH 2/3] habanalabs: clear sobs and monitors in context switch

2019-05-30 Thread Dalit Ben Zoor
On context switch we need to ensure that each user is not be affected by other user, so we need to clear sync objects and monitors in context switch instead of in restore_phase_topology function. Signed-off-by: Dalit Ben Zoor --- drivers/misc/habanalabs/goya/goya.c | 7 +++ 1 file changed, 7

[PATCH 3/3] habanalabs: restore unsecured registers default values

2019-05-30 Thread Dalit Ben Zoor
unsecured registers can be changed by the user, and hence should be restored to their default values in context switch Signed-off-by: Dalit Ben Zoor --- drivers/misc/habanalabs/goya/goya.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/misc/haban

[PATCH 1/3] habanalabs: make tpc registers secured

2019-05-30 Thread Dalit Ben Zoor
Set protection bits for some tpc registers that should to be secured. Signed-off-by: Dalit Ben Zoor --- drivers/misc/habanalabs/goya/goya_security.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/misc/habanalabs/goya/goya_security.c b/drivers/misc/habanalabs/goya/

Re: [PATCH v4] x86/power: Fix 'nosmt' vs. hibernation triple fault during resume

2019-05-30 Thread Rafael J. Wysocki
On Thu, May 30, 2019 at 12:09 AM Jiri Kosina wrote: > > From: Jiri Kosina > > As explained in > > 0cc3cd21657b ("cpu/hotplug: Boot HT siblings at least once") > > we always, no matter what, have to bring up x86 HT siblings during boot at > least once in order to avoid first MCE bringing t

[PATCH v2 -next] platform/chrome: cros_ec: Make some symbols static

2019-05-30 Thread YueHaibing
Fix sparse warning: drivers/platform/chrome/cros_ec_debugfs.c:256:30: warning: symbol 'cros_ec_console_log_fops' was not declared. Should it be static? drivers/platform/chrome/cros_ec_debugfs.c:265:30: warning: symbol 'cros_ec_pdinfo_fops' was not declared. Should it be static? drivers/platform/

[GIT PULL] sound fixes for 5.2-rc3

2019-05-30 Thread Takashi Iwai
Linus, please pull sound fixes for v5.2-rc3 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.2-rc3 The topmost commit is 6954158a16404e7091cea494cd0a435ca2f90388 sound fixes for 5.2-rc3 No big

[PATCH v2] hooks: fix a missing-check bug in selinux_sb_eat_lsm_opts()

2019-05-30 Thread Gen Zhang
In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It returns NULL when fails. So 'arg' should be checked. Signed-off-by: Gen Zhang Fixes: 99dbbb593fe6 ("selinux: rewrite selinux_sb_eat_lsm_opts()") --- diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 3ec702c

[GIT PULL] configfs fix for 5.2

2019-05-30 Thread Christoph Hellwig
The following changes since commit cd6c84d8f0cdc911df435bb075ba22ce3c605b07: Linux 5.2-rc2 (2019-05-26 16:49:19 -0700) are available in the Git repository at: git://git.infradead.org/users/hch/configfs.git tags/configfs-for-5.2-2 for you to fetch changes up to f6122ed2a4f9c9c1c073ddf6308d1b

[PATCH 4/4] net: stmmac: dwmac4: fix flow control issue

2019-05-30 Thread Biao Huang
Current dwmac4_flow_ctrl will not clear GMAC_RX_FLOW_CTRL_RFE/GMAC_RX_FLOW_CTRL_RFE bits, so MAC hw will keep flow control on although expecting flow control off by ethtool. Add codes to fix it. Fixes: 477286b53f55 ("stmmac: add GMAC4 core support") Signed-off-by: Biao Huang --- drivers/net/ethe

[PATCH 0/4] complete dwmac-mediatek driver and fix flow control issue

2019-05-30 Thread Biao Huang
This series mainly complete dwmac-mediatek driver: 1. add power on/off operations for dwmac-mediatek. 2. disable rx watchdog to reduce rx path reponding time. 3. change the default value of tx-frames from 25

[PATCH 3/4] net: stmmac: modify default value of tx-frames

2019-05-30 Thread Biao Huang
the default value of tx-frames is 25, it's too late when passing tstamp to stack, then the ptp4l will fail: ptp4l -i eth0 -f gPTP.cfg -m ptp4l: selected /dev/ptp0 as PTP clock ptp4l: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l: port

[PATCH 1/4] net: stmmac: dwmac-mediatek: enable Ethernet power domain

2019-05-30 Thread Biao Huang
add Ethernet power on/off operations in init/exit flow. Signed-off-by: Biao Huang --- .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c b/drivers/net/et

[PATCH v2] hooks: fix a missing-check bug in selinux_add_mnt_opt()

2019-05-30 Thread Gen Zhang
In selinux_add_mnt_opt(), 'val' is allcoted by kmemdup_nul(). It returns NULL when fails. So 'val' should be checked. Signed-off-by: Gen Zhang Fixes: 757cbe597fe8 ("LSM: new method: ->sb_add_mnt_opt()") --- diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 3ec702c..4797c63 10

[PATCH 2/4] net: stmmac: dwmac-mediatek: disable rx watchdog

2019-05-30 Thread Biao Huang
disable rx watchdog for dwmac-mediatek, then the hw will issue a rx interrupt once receiving a packet, so the responding time for rx path will be reduced. Signed-off-by: Biao Huang --- .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c |1 + 1 file changed, 1 insertion(+) diff --git a/drive

RE: [PATCHv4 3/3] vfio/mdev: Synchronize device create/remove with parent removal

2019-05-30 Thread Parav Pandit
Hi Alex, > -Original Message- > From: Alex Williamson > Sent: Wednesday, May 29, 2019 8:27 PM [..] > > > > diff --git a/drivers/vfio/mdev/mdev_core.c > > b/drivers/vfio/mdev/mdev_core.c index 0bef0cae1d4b..c5401a8c6843 > > 100644 > > --- a/drivers/vfio/mdev/mdev_core.c > > +++ b/drivers/

Re: [PATCH] [trivial] HID: Typo s/to back 0/back to 0/

2019-05-30 Thread Andrej Shadura
On 27/05/2019 14:25, Geert Uytterhoeven wrote: > Fix a silly word ordering typo. > > Fixes: 42337b9d4d958daa ("HID: add driver for U2F Zero built-in LED and RNG") > Signed-off-by: Geert Uytterhoeven > --- > drivers/hid/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

Re: [PATCH net-next 0/5] PTP support for the SJA1105 DSA driver

2019-05-30 Thread Vladimir Oltean
On Thu, 30 May 2019 at 06:45, Richard Cochran wrote: > > On Wed, May 29, 2019 at 11:41:22PM +0300, Vladimir Oltean wrote: > > I'm sorry, then what does this code from raw.c do? > > It is a fallback for HW that doesn't support multicast filtering. > > Care to look a few lines above? If you did, yo

Re: linux-next: build warning after merge of the akpm-current tree

2019-05-30 Thread Matteo Croce
On Thu, May 30, 2019 at 6:55 AM Stephen Rothwell wrote: > > Hi all, > > After merging the akpm-current tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > net/tipc/sysctl.c:42:12: warning: 'one' defined but not used > [-Wunused-variable] > static int one = 1; >

[PATCH] orangefs-debugfs: fix a missing-check bug in debug_string_to_mask()

2019-05-30 Thread Gen Zhang
In debug_string_to_mask(), 'strsep_fodder' is allocated by kstrdup(). It returns NULL when fails. So 'strsep_fodder' should be checked. Signed-off-by: Gen Zhang --- diff --git a/fs/orangefs/orangefs-debugfs.c b/fs/orangefs/orangefs-debugfs.c index 87b1a6f..a9a9aac 100644 --- a/fs/orangefs/orangef

  1   2   3   4   5   6   7   8   9   10   >