Re: [PATCH v3 1/3] dt-bindings: Add vendor prefix for Smartlabs LLC

2018-11-09 Thread Christian Hewitt
On 9 Nov 2018, at 1:29 pm, Andreas Färber wrote: > >> Smartlabs LLC are a professional integrator of Interactive TV solutions >> and IPTV/VOD devices (https://www.smartlabs.tv/en/about/). >> >> Signed-off-by: Christian Hewitt >> --- >> Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +

Re: [PATCH] proc: fix and merge proc-self-map-file tests

2018-11-09 Thread Rafael David Tinoco
On Fri, Nov 9, 2018, at 4:04 PM, Cyrill Gorcunov wrote: > On Fri, Nov 09, 2018 at 10:01:13AM -0200, Rafael David Tinoco wrote: > > > > Alright, I'm fixing membarrier_test before, so.. I guess we have a > > competition.. =o) > > Rafael, Alexey, what about simply wrap the test code with x86 and ex

Re: [PATCH v2 3/3] slab: use logical instead of bitwise operation in kmalloc_type()

2018-11-09 Thread Andrew Morton
On Fri, 9 Nov 2018 10:35:34 +0100 Johannes Berg wrote: > The operation here really is more logical than bitwise, even if > due to the setup the bitwise operation works fine. However, this > causes a complaint from sparse that the operation doesn't really > make sense due to the not. > > Use a

Re: [PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-09 Thread Andrew Morton
On Fri, 9 Nov 2018 09:12:09 +0100 Vlastimil Babka wrote: > Multiple people have reported the following sparse warning: > > ./include/linux/slab.h:332:43: warning: dubious: x & !y > > The minimal fix would be to change the logical & to boolean &&, which emits > the > same code, but Andrew has s

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 06:53:21PM +0100, Ard Biesheuvel wrote: > > It's a bit fiddly since inline and out-of-line both use > > arch_static_call_transform(), but what I need to do is basically: > > > > - for out-of-line, the trampoline needs to be patched into a > > movn/movk/movk/br sequence if th

[PATCH v6 1/2] media: usb: pwc: Introduce TRACE_EVENTs for pwc_isoc_handler()

2018-11-09 Thread Matwey V. Kornilov
There were reports that PWC-based webcams don't work at some embedded ARM platforms. [1] Isochronous transfer handler seems to work too long leading to the issues in MUSB USB host subsystem. Also note, that urb->giveback() handlers are still called with disabled interrupts. In order to be able to m

[PATCH 01/17] lib: Add support for ZSTD-compressed kernel

2018-11-09 Thread Adam Borowski
From: Nick Terrell Add support for extracting ZSTD-compressed kernel images, as well as ZSTD-compressed ramdisk images in the kernel boot process. When neither `fill' nor `flush' are used, the decompression function requires a constant amount of memory (192 KB is sufficient). When either is used

[PATCH 16/17] Kconfig: Update the prose for selection of compression algorithm

2018-11-09 Thread Adam Borowski
It was really obsolete, and some entries contradicted each other. Let's not recommend ZSTD for kernel compression yet as it's available only on x86, and some distros might not have the tool installed. Proposing ZSTD for initrd is safer but let's test it first. Signed-off-by: Adam Borowski --- i

Re: [PATCH V3] binder: ipc namespace support for android binder

2018-11-09 Thread Todd Kjos
On Fri, Nov 9, 2018 at 10:27 AM Davidlohr Bueso wrote: > > On Thu, 08 Nov 2018, chouryzhou(??) wrote: > > >+#ifdef CONFIG_ANDROID_BINDER_IPC > >+ /* next fields are for binder */ > >+ struct mutex binder_procs_lock; > >+ struct hlist_head binder_procs; > >+ struct

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Andy Lutomirski
> On Nov 9, 2018, at 10:42 AM, Steven Rostedt wrote: > > On Fri, 9 Nov 2018 10:41:37 -0600 > Josh Poimboeuf wrote: > >>> On Fri, Nov 09, 2018 at 09:21:39AM -0600, Josh Poimboeuf wrote: On Fri, Nov 09, 2018 at 07:16:17AM -0800, Andy Lutomirski wrote: > On Thu, Nov 8, 2018 at 11:28

Re: [PATCH v3 05/10] sched/fair: Hoist idle_stamp up from idle_balance

2018-11-09 Thread Valentin Schneider
Hi Steve, On 09/11/2018 12:50, Steve Sistare wrote: > Move the update of idle_stamp from idle_balance to the call site in > pick_next_task_fair, to prepare for a future patch that adds work to > pick_next_task_fair which must be included in the idle_stamp interval. > No functional change. > > Sig

Re: [PATCH 22/23] x86/fpu: Don't restore the FPU state directly from userland in __fpu__restore_sig()

2018-11-09 Thread Sebastian Andrzej Siewior
On 2018-11-08 10:25:24 [-0800], Andy Lutomirski wrote: > On Wed, Nov 7, 2018 at 11:49 AM Sebastian Andrzej Siewior > wrote: > > > > __fpu__restore_sig() restores the CPU's FPU state directly from > > userland. If we restore registers on return to userland then we can't > > load them directly from

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Ard Biesheuvel
On 9 November 2018 at 20:03, Josh Poimboeuf wrote: > On Fri, Nov 09, 2018 at 06:53:21PM +0100, Ard Biesheuvel wrote: >> > It's a bit fiddly since inline and out-of-line both use >> > arch_static_call_transform(), but what I need to do is basically: >> > >> > - for out-of-line, the trampoline needs

Re: [PATCH V3] binder: ipc namespace support for android binder

2018-11-09 Thread Davidlohr Bueso
On Fri, 09 Nov 2018, Todd Kjos wrote: print_binder_proc() drops proc->inner_lock and calls binder_alloc_print_allocated() which acquires proc->alloc->mutex. Likewise, print_binder_stats() calls print_binder_proc_stats() which drops its locks to call binder_alloc_print_pages() which also acquires

Re: arm64 + ARM64_64K_PAGES=y

2018-11-09 Thread Grygorii Strashko
On 11/8/18 12:14 PM, Grygorii Strashko wrote: > > > On 11/8/18 6:00 AM, Sebastian Andrzej Siewior wrote: >> On 2018-11-06 15:34:55 [-0600], Grygorii Strashko wrote: >>> Hi All, >> Hi, >> >>> Do anybody tried to use ARM64 RT with 76K pages enabled? >> >> 75 would be an off by one but this :) >

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Geert Uytterhoeven
Hi Stephen, On Fri, Nov 9, 2018 at 5:59 PM Stephen Boyd wrote: > Quoting Geert Uytterhoeven (2018-11-09 01:56:01) > > On Wed, Nov 7, 2018 at 7:37 PM Stephen Boyd wrote: > > > Quoting Rob Herring (2018-11-06 12:44:52) > > > > On Tue, Nov 6, 2018 at 12:36 PM Stephen Boyd wrote: > > > int

Re: [PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-09 Thread Vlastimil Babka
On 11/9/18 8:00 PM, Andrew Morton wrote: > On Fri, 9 Nov 2018 09:12:09 +0100 Vlastimil Babka wrote: > >> Multiple people have reported the following sparse warning: >> >> ./include/linux/slab.h:332:43: warning: dubious: x & !y >> >> The minimal fix would be to change the logical & to boolean &&,

Re: mtd: block2mtd: mark expected switch fall-throughs

2018-11-09 Thread Boris Brezillon
On Thu, 2018-08-09 at 16:05:13 UTC, "Gustavo A. R. Silva" wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 402015 ("Missing break in switch") > Addresses-Coverity-ID: 402016 ("Missing break in switch"

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 01:33:37PM -0500, Steven Rostedt wrote: > > +config HAVE_STATIC_CALL_OPTIMIZED > > + bool > > + > > +config HAVE_STATIC_CALL_UNOPTIMIZED > > + bool > > + > > Let's also have > > config HAVE_STATIC_CALL > def_bool Y > depends on HAVE_STATIC_CALL_OPTIMIZED ||

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Steven Rostedt
On Fri, 9 Nov 2018 11:05:51 -0800 Andy Lutomirski wrote: > > Not sure what Andy was talking about, but I'm currently implementing > > tracepoints to use this, as tracepoints use indirect calls, and are a > > prime candidate for static calls, as I showed in my original RFC of > > this feature. > >

Re: [PATCH] proc: fix and merge proc-self-map-file tests

2018-11-09 Thread Cyrill Gorcunov
On Fri, Nov 09, 2018 at 04:48:49PM -0200, Rafael David Tinoco wrote: > > let me see if I got this right.. the premise for this test is to have *at > least* > 2 vmas, so we can check if the symlink for the mem range, describing the > mapped > area, is correct in procfs files, correct ? if yes, th

Re: [PATCH 3.18 000/144] 3.18.125-stable review

2018-11-09 Thread Shuah Khan
On 11/08/2018 02:49 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.125 release. > There are 144 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 3.18 000/144] 3.18.125-stable review

2018-11-09 Thread Guenter Roeck
On Thu, Nov 08, 2018 at 01:49:31PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.125 release. > There are 144 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kn

Re: [PATCH 4.9 000/171] 4.9.136-stable review

2018-11-09 Thread Guenter Roeck
On Thu, Nov 08, 2018 at 01:49:30PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.136 release. > There are 171 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: mtd: cfi_cmdset_0020: Mark expected switch fall-throughs

2018-11-09 Thread Boris Brezillon
On Wed, 2018-08-15 at 17:02:26 UTC, "Gustavo A. R. Silva" wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 114857 ("Missing break in switch") > Addresses-Coverity-ID: 114858 ("Missing break in switch"

Re: [PATCH 4.14 00/31] 4.14.80-stable review

2018-11-09 Thread Guenter Roeck
On Thu, Nov 08, 2018 at 01:52:24PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.80 release. > There are 31 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 4.18 00/34] 4.18.18-stable review

2018-11-09 Thread Guenter Roeck
On Thu, Nov 08, 2018 at 01:52:29PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.18 release. > There are 34 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

[PATCH] RISC-V: recognize S/U mode bits in print_isa

2018-11-09 Thread Patrick Stählin
Removes the warning about an unsupported ISA when reading /proc/cpuinfo on QEMU. Signed-off-by: Patrick Stählin --- arch/riscv/kernel/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/kernel/cpu.c b/arch/riscv/kernel/cpu.c index 3a5a2ee31547..4029c7e6872b 10064

Re: [PATCH 4.4 000/114] 4.4.163-stable review

2018-11-09 Thread Shuah Khan
On 11/08/2018 02:50 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.163 release. > There are 114 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 02:37:03PM -0500, Steven Rostedt wrote: > On Fri, 9 Nov 2018 11:05:51 -0800 > Andy Lutomirski wrote: > > > > Not sure what Andy was talking about, but I'm currently implementing > > > tracepoints to use this, as tracepoints use indirect calls, and are a > > > prime candida

Re: [PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-09 Thread Darryl T. Agostinelli
On Fri, Nov 09, 2018 at 08:16:07PM +0100, Vlastimil Babka wrote: > On 11/9/18 8:00 PM, Andrew Morton wrote: > > On Fri, 9 Nov 2018 09:12:09 +0100 Vlastimil Babka wrote: > > > >> Multiple people have reported the following sparse warning: > >> > >> ./include/linux/slab.h:332:43: warning: dubious:

Re: [PATCH 4.9 000/171] 4.9.136-stable review

2018-11-09 Thread Shuah Khan
On 11/08/2018 02:49 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.136 release. > There are 171 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [GIT PULL] Additional firmware files for CA0132 HD-audio codec

2018-11-09 Thread Connor McAdams
Okay... So, my contact at Creative gave me an email as the 'sign-off party' for firmware submission. As far as I'm aware, sign-offs also need names attached, correct? So I'll ask for that. However, they still want me to send it. Will that be okay? Would you be more comfortable if I get you in cont

Re: [RFC PATCH] mm: thp: implement THP reservations for anonymous memory

2018-11-09 Thread Andrea Arcangeli
Hello, On Fri, Nov 09, 2018 at 03:13:18PM +0300, Kirill A. Shutemov wrote: > On Thu, Nov 08, 2018 at 10:48:58PM -0800, Anthony Yznaga wrote: > > The basic idea as outlined by Mel Gorman in [2] is: > > > > 1) On first fault in a sufficiently sized range, allocate a huge page > >sized and align

Re: [PATCH 4.14 00/31] 4.14.80-stable review

2018-11-09 Thread Shuah Khan
On 11/08/2018 02:52 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.80 release. > There are 31 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.18 00/34] 4.18.18-stable review

2018-11-09 Thread Shuah Khan
On 11/08/2018 02:52 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.18 release. > There are 34 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

[PATCH] power: reset: ocelot: switch the SI to boot mode

2018-11-09 Thread Alexandre Belloni
Switch the SI to boot mode so on a warm reboot, the SI is able to access the flash. Signed-off-by: Alexandre Belloni --- drivers/power/reset/ocelot-reset.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/power/reset/ocelot-reset.c b/drivers/power/reset/ocelot-reset.c i

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Steven Rostedt
On Fri, 9 Nov 2018 13:35:05 -0600 Josh Poimboeuf wrote: > > > +#define DECLARE_STATIC_CALL(key, func) > > > \ > > > + extern struct static_call_key key; \ > > > + extern typeof(func) STATIC_CALL_TRAMP(key); \ > >

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Steven Rostedt
On Fri, 9 Nov 2018 13:44:09 -0600 Josh Poimboeuf wrote: > On Fri, Nov 09, 2018 at 02:37:03PM -0500, Steven Rostedt wrote: > > On Fri, 9 Nov 2018 11:05:51 -0800 > > Andy Lutomirski wrote: > > > > > > Not sure what Andy was talking about, but I'm currently implementing > > > > tracepoints to us

Re: [PATCH v3 5/9] arm64: defconfig: Replace PINCTRL_MT7622 with PINCTRL_MTK_MOORE

2018-11-09 Thread Marc Gonzalez
On 09/11/2018 14:03, Matthias Brugger wrote: > On 09/11/2018 02:03, Marc Gonzalez wrote: > >> Commit e78d57b2f87c ("pinctrl: mediatek: add pinctrl-moore that >> implements the generic pinctrl dt-bindings") made PINCTRL_MT7622 >> depend on PINCTRL_MTK_MOORE. >> >> Signed-off-by: Marc Gonzalez >> -

Re: [PATCH 04/24] dt-bindings: leds: Add function and color properties

2018-11-09 Thread Jacek Anaszewski
Dan, On 11/08/2018 10:08 PM, Dan Murphy wrote: > Jacek > > On 11/08/2018 02:47 PM, Jacek Anaszewski wrote: >> Dan, >> >> On 11/08/2018 07:00 PM, Dan Murphy wrote: >>> Jacek >>> >>> On 11/06/2018 04:07 PM, Jacek Anaszewski wrote: Introduce dedicated properties for conveying information about

Re: [PATCH] ARM: brcmstb: Add entry for 7255

2018-11-09 Thread Florian Fainelli
On 11/6/18 4:41 PM, Florian Fainelli wrote: > From: Justin Chen > > Add in BCM7255 entry and reorder entries to keep ascending order. Also > moved 7278 cause it was out of order. > > Signed-off-by: Justin Chen > Signed-off-by: Florian Fainelli Applied to soc/next, thanks! -- Florian

Re: [PATCH 2/8] of: Drop full path from Sparc PDT full_name

2018-11-09 Thread Rob Herring
On Thu, Nov 8, 2018 at 9:11 PM David Miller wrote: > > From: Rob Herring > Date: Wed, 7 Nov 2018 16:31:45 -0600 > > > @@ -32,24 +32,7 @@ unsigned int of_pdt_unique_id __initdata; > > > > static char * __init of_pdt_build_full_name(struct device_node *dp) > > { > > - int len, ourlen, plen;

Re: mtd: cfi_cmdset_0020: Mark expected switch fall-throughs

2018-11-09 Thread Gustavo A. R. Silva
On 11/9/18 1:40 PM, Boris Brezillon wrote: Applied to http://git.infradead.org/linux-mtd.git mtd/next, thanks. Thanks, Boris. -- Gustavo

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 02:57:46PM -0500, Steven Rostedt wrote: > On Fri, 9 Nov 2018 13:35:05 -0600 > Josh Poimboeuf wrote: > > > > > > +#define DECLARE_STATIC_CALL(key, func) > > > > \ > > > > + extern struct static_call_key key;

Re: [PATCH v3 resend 1/2] mm: Add an F_SEAL_FUTURE_WRITE seal to memfd

2018-11-09 Thread Andrew Morton
On Wed, 7 Nov 2018 20:15:36 -0800 "Joel Fernandes (Google)" wrote: > Android uses ashmem for sharing memory regions. We are looking forward > to migrating all usecases of ashmem to memfd so that we can possibly > remove the ashmem driver in the future from staging while also > benefiting from u

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 02:59:18PM -0500, Steven Rostedt wrote: > On Fri, 9 Nov 2018 13:44:09 -0600 > Josh Poimboeuf wrote: > > > On Fri, Nov 09, 2018 at 02:37:03PM -0500, Steven Rostedt wrote: > > > On Fri, 9 Nov 2018 11:05:51 -0800 > > > Andy Lutomirski wrote: > > > > > > > > Not sure what

Re: [PATCH 04/24] dt-bindings: leds: Add function and color properties

2018-11-09 Thread Jacek Anaszewski
Hi Vesa, On 11/09/2018 09:32 AM, Vesa Jääskeläinen wrote: > On 07/11/2018 0.07, Jacek Anaszewski wrote: >> Introduce dedicated properties for conveying information about >> LED function and color. Mark old "label" property as deprecated. >> >> Signed-off-by: Jacek Anaszewski >> Cc: Baolin Wang >

Re: [PATCH] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2018-11-09 Thread Guenter Roeck
On Fri, Nov 09, 2018 at 10:34:37AM -0800, Brian Norris wrote: > git-diff-index does not refresh the index for you, so using it for a > "-dirty" check can give misleading results. Commit 6147b1cf19651 > ("scripts/setlocalversion: git: Make -dirty check more robust") tried to > fix this by switching

Re: [PATCHv6 2/7] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-11-09 Thread Tycho Andersen
Hi, On Thu, Nov 01, 2018 at 12:24:47AM +, Dmitry Safonov wrote: > tty_ldisc_reinit() doesn't race with neither tty_ldisc_hangup() > nor set_ldisc() nor tty_ldisc_release() as they use tty lock. > But it races with anyone who expects line discipline to be the same > after hoding read semaphore

[tip:x86/urgent] x86/cpu/vmware: Do not trace vmware_sched_clock()

2018-11-09 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 15035388439f892017d38b05214d3cda6578af64 Gitweb: https://git.kernel.org/tip/15035388439f892017d38b05214d3cda6578af64 Author: Steven Rostedt (VMware) AuthorDate: Fri, 9 Nov 2018 15:22:07 -0500 Committer: Borislav Petkov CommitDate: Fri, 9 Nov 2018 21:39:14 +0100 x86/cpu/vmwar

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Rasmus Villemoes
On 09/11/2018 16.16, Andy Lutomirski wrote: > On Thu, Nov 8, 2018 at 11:28 PM Ingo Molnar wrote: >> >> >> All other usecases are bonus, but it would certainly be interesting to >> investigate the impact of using these APIs for tracing: that too is a >> feature enabled everywhere but utilized only

[PATCH v7 06/13] arch/x86: Initialize the resource functions that are different

2018-11-09 Thread Moger, Babu
Initialize the resource functions that are different between the vendors. Some features are initialized differently between the vendors. Add _intel suffix to Intel specific functions. For example, MBA feature varies significantly between Intel and AMD. Separate the initialization of these resource

[PATCH v7 07/13] arch/x86: Bring cbm_validate function into the resource structure

2018-11-09 Thread Moger, Babu
Idea is to bring all the functions that are different between the vendors into resource structure and initialize them dynamically. Add _intel suffix to Intel specific functions. Following function is implemented separately for each vendors. cbm_validate : Cache bitmask validate function. AMD allo

Re: [PATCH anybus v3 4/6] bus: support HMS Anybus-S bus

2018-11-09 Thread Arnd Bergmann
On Fri, Nov 9, 2018 at 5:25 PM Sven Van Asbroeck wrote: > > On Thu, Nov 8, 2018 at 9:07 AM Arnd Bergmann wrote: > > > > > +struct anybus_mbox_hdr { > > > + u16 id; > > > + u16 info; > > > + u16 cmd_num; > > > + u16 data_size; > > > + u16 frame_count; > > > + u1

Re: [PATCH v3 resend 1/2] mm: Add an F_SEAL_FUTURE_WRITE seal to memfd

2018-11-09 Thread Jann Horn
+linux-api for API addition +hughd as FYI since this is somewhat related to mm/shmem On Fri, Nov 9, 2018 at 9:46 PM Joel Fernandes (Google) wrote: > Android uses ashmem for sharing memory regions. We are looking forward > to migrating all usecases of ashmem to memfd so that we can possibly > remo

Re: [PATCH] RISC-V: recognize S/U mode bits in print_isa

2018-11-09 Thread Palmer Dabbelt
On Fri, 09 Nov 2018 11:33:47 PST (-0800), m...@packi.ch wrote: Removes the warning about an unsupported ISA when reading /proc/cpuinfo on QEMU. Signed-off-by: Patrick Stählin --- arch/riscv/kernel/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/kernel/cpu.c

Re: [PATCH 1/2] perf-bench: Add epoll parallel epoll_wait benchmark

2018-11-09 Thread Davidlohr Bueso
On Thu, 08 Nov 2018, Arnaldo Carvalho de Melo wrote: Em Tue, Nov 06, 2018 at 04:13:25PM -0300, Arnaldo Carvalho de Melo escreveu: CC /tmp/build/perf/bench/futex-lock-pi.o CC /tmp/build/perf/bench/epoll-wait.o bench/epoll-wait.c: In function 'do_threads': bench/epoll-wait.c:345:10:

Re: [PATCH] ARM: dts: socfpga: use tabs for indentation

2018-11-09 Thread Dinh Nguyen
On 11/5/18 2:39 PM, Simon Goldschmidt wrote: > In two of the gen5 socfpga devicetree files, there are some lines > indented using spaces instead of tabs. > > Fix this by correctly indenting them with tabs. > > Signed-off-by: Simon Goldschmidt > --- > arch/arm/boot/dts/socfpga.dtsi

Re: [PATCH v3] ksm: Assist buddy allocator to assemble 1-order pages

2018-11-09 Thread Andrew Morton
On Fri, 19 Oct 2018 15:33:39 +0300 Kirill Tkhai wrote: > v3: Comment improvements. > v2: Style improvements. > > try_to_merge_two_pages() merges two pages, one of them > is a page of currently scanned mm, the second is a page > with identical hash from unstable tree. Currently, we > merge the pa

Re: [PATCH v3 resend 1/2] mm: Add an F_SEAL_FUTURE_WRITE seal to memfd

2018-11-09 Thread Jann Horn
On Fri, Nov 9, 2018 at 10:06 PM Jann Horn wrote: > On Fri, Nov 9, 2018 at 9:46 PM Joel Fernandes (Google) > wrote: > > Android uses ashmem for sharing memory regions. We are looking forward > > to migrating all usecases of ashmem to memfd so that we can possibly > > remove the ashmem driver in th

Re: [PATCH anybus v3 0/6] Support HMS Profinet Card over Anybus

2018-11-09 Thread Arnd Bergmann
On Fri, Nov 9, 2018 at 5:02 PM Sven Van Asbroeck wrote: > > Arnd, Rob, Linus, > > Many thanks for your constructive feedback so far ! > > Is there anything in general about this set that would prevent it from being > mainlined? Perhaps I am trying to do too much at once, dropping a patchset > that

Re: [PATCH] of: reserved_mem: disable kmemleak scan on removed memory blocks

2018-11-09 Thread Rob Herring
On Fri, Nov 9, 2018 at 1:09 AM Prateek Patel wrote: > > From: Sri Krishna chowdary > > Memory reserved with "nomap" DT property in of_reserved_mem.c > removes the memory block. The removed memory blocks don't have > VA to PA mapping created in kernel page table. Kmemleak scan on > removed memory

Re: [PATCH 4.4 000/114] 4.4.163-stable review

2018-11-09 Thread Guenter Roeck
On Thu, Nov 08, 2018 at 01:50:15PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.163 release. > There are 114 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH 12/13] riscv: define syscall_get_arch()

2018-11-09 Thread Dmitry V. Levin
On Fri, Nov 09, 2018 at 10:45:54AM -0800, Palmer Dabbelt wrote: > On Thu, 08 Nov 2018 19:17:13 PST (-0800), l...@altlinux.org wrote: > > syscall_get_arch() is required to be implemented on all architectures > > that use tracehook_report_syscall_entry() in order to extend > > the generic ptrace API

Re: [PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-09 Thread Vlastimil Babka
On 11/9/18 8:47 PM, Darryl T. Agostinelli wrote: > On Fri, Nov 09, 2018 at 08:16:07PM +0100, Vlastimil Babka wrote: >> On 11/9/18 8:00 PM, Andrew Morton wrote: >>> On Fri, 9 Nov 2018 09:12:09 +0100 Vlastimil Babka wrote: >>> Multiple people have reported the following sparse warning: >>>

ODEBUG: Out of memory. ODEBUG disabled

2018-11-09 Thread Qian Cai
It is a bit annoying on this aarch64 server with 64 CPUs that is booting the latest mainline (3541833fd1f2) causes object debugging always running out of memory. I have to boot the kernel with only 16 CPUs instead (nr_cpus=16) to make it work. Is it expected that object debugging is not going to w

RE: [PATCH v5 16/17] tpm: take TPM chip power gating out of tpm_transmit()

2018-11-09 Thread Winkler, Tomas
> > On Thu, Nov 08, 2018 at 06:38:59PM +, Winkler, Tomas wrote: > > > Call tpm_chip_start() and tpm_chip_stop() in > > > > > > * tpm_try_get_ops() and tpm_put_ops() > > > * tpm_chip_register() > > > * tpm2_del_space() > > > > > > And remove these calls from tpm_transmit(). The core reason f

[GIT PULL] Devicetree fixes for 4.20-rc, round 2

2018-11-09 Thread Rob Herring
Linus, Please pull. Rob The following changes since commit c961cb3be9064d1097ccc019390f8b5739daafc6: of: Fix cpu node iterator to not ignore disabled cpu nodes (2018-11-01 16:16:54 -0500) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git

Re: [PATCH v3 resend 1/2] mm: Add an F_SEAL_FUTURE_WRITE seal to memfd

2018-11-09 Thread Andy Lutomirski
> On Nov 9, 2018, at 1:06 PM, Jann Horn wrote: > > +linux-api for API addition > +hughd as FYI since this is somewhat related to mm/shmem > > On Fri, Nov 9, 2018 at 9:46 PM Joel Fernandes (Google) > wrote: >> Android uses ashmem for sharing memory regions. We are looking forward >> to migrat

Re: ODEBUG: Out of memory. ODEBUG disabled

2018-11-09 Thread Yang Shi
On 11/9/18 1:36 PM, Qian Cai wrote: It is a bit annoying on this aarch64 server with 64 CPUs that is booting the latest mainline (3541833fd1f2) causes object debugging always running out of memory. May you please paste the detail failure log? I have to boot the kernel with only 16 CPUs in

[PATCH v2] RISC-V: recognize S/U mode bits in print_isa

2018-11-09 Thread Patrick Stählin
Removes the warning about an unsupported ISA when reading /proc/cpuinfo on QEMU. The "S" extension is not being returned as it is not accessible from userspace. Signed-off-by: Patrick Stählin --- arch/riscv/kernel/cpu.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH anybus v3 0/6] Support HMS Profinet Card over Anybus

2018-11-09 Thread Sven Van Asbroeck
On Fri, Nov 9, 2018 at 4:22 PM Arnd Bergmann wrote: > > > As usual, it comes down to the user space interfaces I think. Designing > a user interface is hard, most importantly because you cannot change it > once anyone starts relying on it, as opposed to implementation details > that you are free t

Re: ODEBUG: Out of memory. ODEBUG disabled

2018-11-09 Thread Qian Cai
> On Nov 9, 2018, at 4:42 PM, Yang Shi wrote: > > > > On 11/9/18 1:36 PM, Qian Cai wrote: >> It is a bit annoying on this aarch64 server with 64 CPUs that is >> booting the latest mainline (3541833fd1f2) causes object debugging >> always running out of memory. > > May you please paste the d

Re: [PATCH 4.9 000/171] 4.9.136-stable review

2018-11-09 Thread Dan Rue
On Thu, Nov 08, 2018 at 01:49:30PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.136 release. > There are 171 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH 4.4 000/114] 4.4.163-stable review

2018-11-09 Thread Dan Rue
On Thu, Nov 08, 2018 at 01:50:15PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.163 release. > There are 114 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Can I Trust You?

2018-11-09 Thread Abel Brent
Dear friend, I am Abel Brent, a NATO soldier serving in Afghanistan. I and my Comrades, we are seeking your assistance to help us receive/invest our funds in your country in any lucrative business. Please if this proposal is acceptable by you, kindly respond back to me for more details. Thank

[PATCH 1/6] staging:iio:ad2s90: Add device tree support

2018-11-09 Thread Matheus Tavares
This patch adds device tree support to ad2s90 with standard device tree id table. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/staging/iio/resolver/ad2s90.c b/drivers/staging/iio/resolver/ad2s90.c ind

[PATCH 2/6] staging:iio:ad2s90: Remove spi setup that should be done via dt

2018-11-09 Thread Matheus Tavares
The ad2s90 driver currently sets some spi settings (max_speed_hz and mode) at ad2s90_probe. This should, instead, be handled via device tree. This patch removes these configurations from the probe function. Note: The way in which the mentioned spi settings need to be specified on the ad2s90's node

[PATCH 4/6] dt-bindings:iio:resolver: Add docs for ad2s90

2018-11-09 Thread Matheus Tavares
This patch adds the device tree binding documentation for the ad2s90 resolver-to-digital converter. Signed-off-by: Matheus Tavares --- .../bindings/iio/resolver/ad2s90.txt | 26 +++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/ii

[PATCH 5/6] staging:iio:ad2s90: Add SPDX license identifier

2018-11-09 Thread Matheus Tavares
This patch adds the SPDX GPL-2.0-only license identifier to ad2s90.c, which solves the checkpatch.pl warning: "WARNING: Missing or malformed SPDX-License-Identifier tag in line 1". Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 1 + 1 file changed, 1 insertion(+) dif

[PATCH 3/6] staging:iio:ad2s90: Add max frequency check at probe

2018-11-09 Thread Matheus Tavares
This patch adds a max frequency check at the beginning of ad2s90_probe function so that when it is set to a value above 0.83Mhz, dev_err is called with an appropriate message and -EINVAL is returned. The defined limit is 0.83Mhz instead of 2Mhz, which is the chip's max frequency as specified in th

[PATCH 0/6] staging:iio:ad2s90: Add dt support and move out of staging

2018-11-09 Thread Matheus Tavares
This patch set adds device tree support to ad2s90, with standard device tree id table, adds the respective dt-binding documentation, solves a codestyle warning and move the driver out of staging. This patch set completes all the remaining itens listed to be done before moving the driver out of sta

[PATCH 6/6] staging:iio:ad2s90: Move out of staging

2018-11-09 Thread Matheus Tavares
Move ad2s90 resolver driver out of staging to the main tree. Signed-off-by: Matheus Tavares Signed-off-by: Victor Colombo --- drivers/iio/resolver/Kconfig| 10 ++ drivers/iio/resolver/Makefile | 1 + drivers/{staging => }/iio/resolver/ad2s90.c | 0 driver

Re: ODEBUG: Out of memory. ODEBUG disabled

2018-11-09 Thread Yang Shi
On 11/9/18 1:51 PM, Qian Cai wrote: On Nov 9, 2018, at 4:42 PM, Yang Shi wrote: On 11/9/18 1:36 PM, Qian Cai wrote: It is a bit annoying on this aarch64 server with 64 CPUs that is booting the latest mainline (3541833fd1f2) causes object debugging always running out of memory. May you

Re: ODEBUG: Out of memory. ODEBUG disabled

2018-11-09 Thread Waiman Long
On 11/09/2018 04:51 PM, Qian Cai wrote: > >> On Nov 9, 2018, at 4:42 PM, Yang Shi wrote: >> >> >> >> On 11/9/18 1:36 PM, Qian Cai wrote: >>> It is a bit annoying on this aarch64 server with 64 CPUs that is >>> booting the latest mainline (3541833fd1f2) causes object debugging >>> always running ou

[RFC PATCH 01/10] net: hns3: Add debugfs framework registration

2018-11-09 Thread Salil Mehta
From: liuzhongzhu Add the debugfs framework to the driver and create a debugfs command interface for each device. example command: "echo queue info > cmd" Query the packet forwarding queue information. Signed-off-by: liuzhongzhu Signed-off-by: Salil Mehta --- drivers/net/ethernet/hisilicon/h

Re: [Patch v4 08/18] sched: Deprecate sched_smt_present and use cpu_smt_enabled static key

2018-11-09 Thread Tim Chen
Thomas, > >> The cpu_smt_enabled static key serves identical purpose as cpu_smt_enabled > > That doesn't make any sense. > >> to enable SMT specific code. >> >> This patch replaces sched_smt_present in the scheduler with >> cpu_smt_enabled and deprecate sched_smt_present. > > It's not deprecat

[RFC PATCH 02/10] net: hns3: Add "queue info" query function

2018-11-09 Thread Salil Mehta
From: liuzhongzhu Query the queue information of the current NIC such as BD size, queue header and tail pointer. This patch adds support for debugfs command: echo queue info 1 > cmd it can print queue config information... root@(none)# echo queue info 1 > cmd hns3 :7d:00.0: queue info hn

[PATCH] vfio/pci: Parallelize device open and release

2018-11-09 Thread Alex Williamson
In commit 61d792562b53 ("vfio-pci: Use mutex around open, release, and remove") a mutex was added to freeze the refcnt for a device so that we can handle errors and perform bus resets on final close. However, bus resets can be rather slow and a global mutex here is undesirable. A per-device mutex

[RFC PATCH 05/10] net: hns3: Add "tc config" info query function

2018-11-09 Thread Salil Mehta
From: liuzhongzhu This patch prints tc config information. debugfs command: echo dump tc > cmd Sample Output: root@(none)# echo dump tc > cmd hns3 :7d:00.0: weight_offset: 14 hns3 :7d:00.0: tc(0): no sp mode hns3 :7d:00.0: tc(1): no sp mode hns3 :7d:00.0: tc(2): no sp mode hns3

[RFC PATCH 09/10] net: hns3: Add "qos prio map" info query function

2018-11-09 Thread Salil Mehta
From: liuzhongzhu This patch prints qos priority map information. debugfs command: echo dump qos pri map > cmd Sample Command: root@(none)# echo dump qos pri map > cmd hns3 :7d:00.0: dump qos pri map hns3 :7d:00.0: vlan_to_pri: 0x0 hns3 :7d:00.0: pri_0_to_tc: 0x0 hns3 :7d:00.0:

[RFC PATCH 10/10] net: hns3: Add "qos buffer" config info query function

2018-11-09 Thread Salil Mehta
From: liuzhongzhu This patch prints qos buffer config information. debugfs command: echo dump qos buf cfg > cmd Sample Command: root@(none)# echo dump qos buf cfg > cmd hns3 :7d:00.0: dump qos buf cfg hns3 :7d:00.0: tx_packet_buf_tc_0: 0x1aa hns3 :7d:00.0: tx_packet_buf_tc_1: 0x0 hn

Re: [PATCH] x86/kvm/nVMX: tweak shadow fields

2018-11-09 Thread Jim Mattson
I'm not convinced that the "one size fits all" and "context-free" approaches to VMCS shadowing are terribly effective. For example, we never shadow VMX_INSTRUCTION_INFO, but if we just reflected an exit to L1 for which that field is defined, there's probably a good chance that L1 will use it. We a

Re: [PATCH 5/6] staging:iio:ad2s90: Add SPDX license identifier

2018-11-09 Thread Fabio Estevam
Hi Matheus, On Fri, Nov 9, 2018 at 8:01 PM Matheus Tavares wrote: > > This patch adds the SPDX GPL-2.0-only license identifier to ad2s90.c, > which solves the checkpatch.pl warning: > "WARNING: Missing or malformed SPDX-License-Identifier tag in line 1". > > Signed-off-by: Matheus Tavares > ---

Re: [PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-09 Thread Stephen Boyd
Quoting Vinod Koul (2018-11-09 09:51:05) > On 09-11-18, 23:18, Vinod Koul wrote: > > On 09-11-18, 09:12, Stephen Boyd wrote: > > > Quoting Vinod Koul (2018-11-09 01:50:54) > > > > drivers/clk/qcom/gcc-qcs404.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --gi

Gooday To You,

2018-11-09 Thread Ali Hamadu
Gooday To You, Please i need your kind Assistance. I will be very glad if you can assist me to receive this sum of ( $22. Million US dollars.) into your bank account for the benefit of our both families, reply me if you are ready to receive this fund.

lening aanvragen

2018-11-09 Thread Funding Trusts Finance
-- Groet, groet aan jou, GELD BESCHIKBAAR VOOR LENING. Krijg het geld / de lening die u nodig hebt bij Funding Trusts Finance. Wij zijn particuliere kredietverstrekkers / investeerders en bieden zowel persoonlijke leningen, startleningen, educatieve / agrarische leningen, onroerend goed /

Re: [PATCH v2 1/2] staging: iio: ad7780: check if ad778x before gain update

2018-11-09 Thread Giuliano Augusto Faulin Belinassi
> Just some random though. Instead of introducing extra level of indentation you > can simply check whether is_ad778x is asserted and simply return. I agree that the patch would be smaller if I do that, but is it really an issue? If yes, then I will update the patch with this change > Any reason

Re: [PATCH v2] x86/cpu: fix prototype warning

2018-11-09 Thread Borislav Petkov
On Thu, Nov 08, 2018 at 03:47:32PM +, Michael Matz wrote: > What tglx said. If you don't intend such functions to be called > from other units make them static, if you do intend them to be callable > declare the properly. Well, I'll be damned! That just caught two bugs, the smp_thermal_int

<    1   2   3   4   5   6   7   >