[PATCH v2 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-24 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - drop channel width - drop `external_vref` - replace `e

[PATCH v2 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-07-24 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - no changes MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MA

[PATCH v2 1/3] iio: adc: add support for mcp3911

2018-07-24 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - cleanups and bugfixes (thanks Peter Meerwald-Stadler) - drop h

Re: [PATCH v3 2/2] fpga: zynq-fpga: Add support for readback

2018-07-24 Thread Alan Tull
On Tue, Jul 24, 2018 at 9:17 AM, Appana Durga Kedareswara rao wrote: Hi Appana, Another minor thing. > + > +// Let's keep the coding style consistent by not having '***' > +/** > + * Also, you

Re: [RFC][PATCH 0/5] Mount, Filesystem and Keyrings notifications

2018-07-24 Thread Casey Schaufler
On 7/24/2018 9:00 AM, David Howells wrote: > Casey Schaufler wrote: > >>> (1) Mount topology and reconfiguration change events. >> With the possibility of unprivileged mounting you're going to have to >> address access control on events. If root in a user namespace mounts a >> filesystem you may

[PATCH v2] EDAC, sb_edac: Add support for systems with segmented PCI buses

2018-07-24 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Currently, sb_edac driver does not support systems which has multi PCI segments. If the driver is loaded to such system, a slab-out-bounds happens [*]. This patch extends sb_edac driver to check whether segment number and bus number matches when deciding how to group memor

[PATCH v3] locking/rwsem: Exit read lock slowpath if queue empty & no writer

2018-07-24 Thread Waiman Long
It was discovered that a constant stream of readers with occassional writers pounding on a rwsem may cause many of the readers to enter the slowpath unnecessarily thus increasing latency and lowering performance. In the current code, a reader entering the slowpath critical section will uncondition

Re: [RFC][PATCH 0/5] Mount, Filesystem and Keyrings notifications

2018-07-24 Thread David Howells
Casey Schaufler wrote: > >>> (1) Mount topology and reconfiguration change events. > >> With the possibility of unprivileged mounting you're going to have to > >> address access control on events. If root in a user namespace mounts a > >> filesystem you may have a case where the "real" user wou

Re: [PATCH] delayacct: Fix crash in delayacct_blkio_end() after delayacct init failure

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 10:55:42 -0700 Tejun Heo wrote: > While forking, if delayacct init fails due to memory shortage, it > continues expecting all delayacct users to check task->delays pointer > against NULL before dereferencing it, which all of them used to do. > > c96f5471ce7d ("delayacct: Acco

Re: [PATCH] delayacct: Fix crash in delayacct_blkio_end() after delayacct init failure

2018-07-24 Thread Tejun Heo
Hello, Andrew. On Tue, Jul 24, 2018 at 12:29:13PM -0700, Andrew Morton wrote: > How did you make this happen, btw? Fault injection, or did a small > GFP_KERNEL allocation fail? We have a group of machines which are pushing memory really hard and this actually triggered in prod on several of them

Re: [RFT v2 00/10] pinctrl: samsung: Remove ugly hack for sharing eint_wakeup_mask

2018-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 24, 2018 at 11:18:13AM +0200, Marek Szyprowski wrote: > Hi Krzysztof, > > On 2018-07-23 19:52, Krzysztof Kozlowski wrote: > > Hi All, > > > > Changes since v1 > > > > 1. Add Tomasz's ack. > > 2. Reword description in patch 6/10. > > > > > > Tests > > = > > This is

Re: [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting

2018-07-24 Thread Brian Norris
Hi, On Tue, Jul 24, 2018 at 11:51:49AM +1000, NeilBrown wrote: > On Tue, Jul 24 2018, Boris Brezillon wrote: > > On Tue, 24 Jul 2018 08:46:33 +1000 > > NeilBrown wrote: > >> One possibility that occurred to me when I was exploring this issue is > >> to revert to 3-byte mode whenever 4-byte was no

Re: [RFT v2 01/10] pinctrl: samsung: Define suspend and resume callbacks for all banks and SoCs

2018-07-24 Thread Krzysztof Kozlowski
On Mon, Jul 23, 2018 at 07:52:53PM +0200, Krzysztof Kozlowski wrote: > Suspend and resume callbacks in Exynos/S5Pv210 pin controller drivers, > save and restore state of registers. This operations should be done for > all banks which have external interrupts (as denoted by using > EXYNOS_PIN_BANK_

Re: [RFT v2 06/10] pinctrl: samsung: Write external wakeup interrupt mask

2018-07-24 Thread Krzysztof Kozlowski
On Mon, Jul 23, 2018 at 07:52:58PM +0200, Krzysztof Kozlowski wrote: > The pinctrl driver defines an IRQ chip which handles external wakeup > interrupts, therefore from logical point of view, it is the owner of > external interrupt mask. The register controlling the mask belongs to > Power Managem

Re: [RFC] x86, tsc: Add kcmdline args for skipping tsc calibration sequences

2018-07-24 Thread patrickg
K, did significant poking. native_calibrate_cpu is getting precidence no matter what because on SKL server, native_calibrate_tsc is always returning zero (Note that there is a caveat 2 lines down). In native_calibrate_tsc, I'm seeing it always return zero after the `switch (boot_cpu_data.x86_m

Re: [PATCH v6 9/9] x86: jump-labels: use macros instead of inline assembly

2018-07-24 Thread Ingo Molnar
* Nadav Amit wrote: > I’ll look into these issues, but I don’t see the config attached. Sorry - attached now. Thanks, Ingo # # Automatically generated file; DO NOT EDIT. # Linux/x86_64 4.18.0-rc6 Kernel Configuration # # # Compiler: gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 # CONFIG_64BIT=y

Re: [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting

2018-07-24 Thread Brian Norris
Hi Boris, On Tue, Jul 24, 2018 at 01:18:11AM +0200, Boris Brezillon wrote: > On Mon, 23 Jul 2018 15:06:43 -0700 > Brian Norris wrote: > > On Mon, Jul 23, 2018 at 1:10 PM, Boris Brezillon > > wrote: > > > but it still seems to improve things. Of course, that means the > > > user should try to re-

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Guenter Roeck
0 PID: 0 Comm: swapper Not tainted 4.18.0-rc6-next-20180724 #1 Hardware name: ARM Integrator/CP (Device Tree) [] (unwind_backtrace) from [] (show_stack+0x10/0x18) [] (show_stack) from [] (dump_stack+0x18/0x24) [] (dump_stack) from [] (__warn+0xc8/0xf0) [] (__warn) from [] (warn_slowpath_nu

Re: [PATCH v3 2/3] PCI: Samsung SM961/PM961 NVMe disable before FLR quirk

2018-07-24 Thread Minwoo Im
Hi Alex, On Tue, 2018-07-24 at 10:14 -0600, Alex Williamson wrote: > The Samsung SM961/PM961 (960 EVO) sometimes fails to return from FLR > with the PCI config space reading back as -1.  A reproducible instance > of this behavior is resolved by clearing the enable bit in the NVMe > configuration r

[PATCH] x86/bugs: protect against userspace-userspace spectreRSB

2018-07-24 Thread Jiri Kosina
From: Jiri Kosina The article "Spectre Returns! Speculation Attacks using the Return Stack Buffer" [1] describes two new (sub-)variants of spectrev2-like attack, making use solely of the RSB contents even on CPUs that don't fallback to BTB on RSB underflow (Skylake+). Mitigate userspace-userspac

Re: [PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 16:17:47 +0200 Michal Hocko wrote: > On Fri 20-07-18 17:09:02, Andrew Morton wrote: > [...] > > - Undocumented return value. > > > > - comment "failed to reap part..." is misleading - sounds like it's > > referring to something which happened in the past, is in fact > > r

Re: [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting

2018-07-24 Thread Boris Brezillon
On Tue, 24 Jul 2018 12:52:02 -0700 Brian Norris wrote: > > > Or even better: put this hack behind a DT flag, so that one has to > > > admit that their board design is broken before it will even do > > > anything. Proposal: "linux,badly-designed-flash-reset". > > > > I think we can remove the "

Re: [PATCH] dt-bindings: pinctrl: samsung: Add SPDX license identifier

2018-07-24 Thread Krzysztof Kozlowski
On Wed, Jul 18, 2018 at 10:03:50PM +0200, Krzysztof Kozlowski wrote: > Replace GPL license statement with SPDX license identifier (GPL-2.0). > > Signed-off-by: Krzysztof Kozlowski > --- > include/dt-bindings/pinctrl/samsung.h | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) Applie

Re: [PATCH 3/3] tty: Mark goldfish_tty_line_count as const

2018-07-24 Thread Roman Kiryanov
> Then why not just make it a #define? With "const" the diff is smaller. > No need to waste the memory of a variable, right? I believe the compiler will produce the same binary for const and for #define if optimization is enabled.

[PATCH] tracefs: Annotate tracefs_ops with __ro_after_init

2018-07-24 Thread Zubin Mithra
tracefs_ops is initialized inside tracefs_create_instance_dir and not modified after. tracefs_create_instance_dir allows for initialization only once, and is called from create_trace_instances(marked __init), which is called from tracer_init_tracefs(marked __init). Signed-off-by: Zubin Mithra Rev

Re: [PATCH] dt-bindings: thermal: samsung: Add SPDX license identifier

2018-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 24, 2018 at 06:46:35PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Wednesday, July 18, 2018 10:02:50 PM Krzysztof Kozlowski wrote: > > Replace GPL license statement with SPDX license identifier (GPL-2.0+). > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > include/dt

Re: [PATCHv3 1/3] mm: Introduce vma_init()

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 15:11:37 +0300 "Kirill A. Shutemov" wrote: > Not all VMAs allocated with vm_area_alloc(). Some of them allocated on > stack or in data segment. > > The new helper can be use to initialize VMA properly regardless where > it was allocated. > > ... > > --- a/include/linux/mm.h

Re: [PATCH 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Eric W. Biederman
Linus Torvalds writes: > On Tue, Jul 24, 2018 at 10:58 AM Eric W. Biederman > wrote: >> >> Yes you are quite right. Easy enough to fix, but it definitely needs >> to be fixed. >> >> I will respin. > > Would you mind trying a slightly different approach for this? > > How about moving the "copy_

Re: [PATCH v2 09/10] coresight: perf: Remove set_buffer call back

2018-07-24 Thread Mathieu Poirier
On Mon, 23 Jul 2018 at 16:27, Suzuki K Poulose wrote: > > Mathieu, > > On 07/23/2018 07:22 PM, Mathieu Poirier wrote: > > On Fri, 20 Jul 2018 at 03:04, Suzuki K Poulose > > wrote: > >> > >> Mathieu, > >> > >> On 19/07/18 21:36, Mathieu Poirier wrote: > >>> On Tue, Jul 17, 2018 at 06:11:40PM +010

Re: [PATCH v3 2/3] PCI: Samsung SM961/PM961 NVMe disable before FLR quirk

2018-07-24 Thread Alex Williamson
On Wed, 25 Jul 2018 04:53:18 +0900 Minwoo Im wrote: > Hi Alex, > > On Tue, 2018-07-24 at 10:14 -0600, Alex Williamson wrote: > > The Samsung SM961/PM961 (960 EVO) sometimes fails to return from FLR > > with the PCI config space reading back as -1.  A reproducible instance > > of this behavior is

Re: [PATCH 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Linus Torvalds
On Tue, Jul 24, 2018 at 1:05 PM Eric W. Biederman wrote: > > What I hear you asking is moving up copy_signal copy_sighand copy_creds > and alloc_pid, and anything else that signal delivery might depend on. No, _just_ signal allocation. It would still just use the special-case list to set the pe

Re: [PATCHv3 1/3] mm: Introduce vma_init()

2018-07-24 Thread Linus Torvalds
On Tue, Jul 24, 2018 at 1:03 PM Andrew Morton wrote: > > > I'd sleep better if this became a kmem_cache_alloc() and the memset > was moved into vma_init(). Yeah, with the vma_init(), I guess the advantage of using kmem_cache_zalloc() is pretty dubious. Make it so. Linus

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Pavel Tatashin
study it. > > ... > Console: colour dummy device 80x30 > [ cut here ] > WARNING: CPU: 0 PID: 0 at kernel/time/sched_clock.c:180 > sched_clock_register+0x44/0x278 > Modules linked in: > CPU: 0 PID: 0 Comm: swapper Not tainted 4.18.0-rc6-next-20180724

Re: [PATCH 1/2] perf: drop unneeded bitmap_zero() in util/header.c

2018-07-24 Thread Yury Norov
On Sat, Jun 23, 2018 at 10:35:01AM +0300, Yury Norov wrote: > On top of next-20180622. > > bitmap_zero() is called after bitmap_alloc() in perf code. But > bitmap_alloc() internally uses calloc() which guarantees that allocated > area is zeroed. So following bitmap_zero is unneeded. Drop it. > >

Re: [PATCH] mm: thp: remove use_zero_page sysfs knob

2018-07-24 Thread David Rientjes
On Tue, 24 Jul 2018, Kirill A. Shutemov wrote: > > use_zero_page is currently a simple thp flag, meaning it rejects writes > > where val != !!val, so perhaps it would be best to overload it with > > additional options? I can imagine 0x2 defining persistent allocation so > > that the hzp is not

[PATCH i2c-next v2] i2c: aspeed: Add an explicit type casting for *get_clk_reg_val

2018-07-24 Thread Jae Hyun Yoo
This commit fixes this sparse warning: drivers/i2c/busses/i2c-aspeed.c:875:38: warning: incorrect type in assignment (different modifiers) drivers/i2c/busses/i2c-aspeed.c:875:38:expected unsigned int ( *get_clk_reg_val )( ... ) drivers/i2c/busses/i2c-aspeed.c:875:38:got void const *const

[RFC PATCH 7/7] video: fbdev: i810: replace direct wbinvd invoke with kernel api

2018-07-24 Thread Reinette Chatre
The i810 driver contains a direct wbinvd invocations in the form: asm volatile ("wbinvd":::"memory") Replace this call with the kernel API "native_wbinvd()" that translates to same as "asm volatile("wbinvd" : : : "memory")" and provides a central location where calls to this destructive instructio

[PATCH v2 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Eric W. Biederman
Wen Yang and majiang report that a periodic signal received during fork can cause fork to continually restart preventing an application from making progress. The code was being overly pesimistic. Fork needs to guarantee that a signal sent to multiple processes is logically delivered before th

[RFC PATCH 6/7] mtd: replace direct wbinvd invoke with kernel api

2018-07-24 Thread Reinette Chatre
The nettel driver contains a few direct wbinvd invocations in the form: __asm__ ("wbinvd") Replace all of these calls with the kernel API "native_wbinvd()" that translates to same as "asm volatile("wbinvd" : : : "memory")" and provides a central location where calls to this destructive instruction

[RFC PATCH 5/7] x86/intel_rdt: Trigger pseudo-lock restore after wbinvd call

2018-07-24 Thread Reinette Chatre
The wbinvd instruction would evict all pseudo-locked data from a pseudo-locked region within the hierarchy where the wbinvd instruction was run. The expectation is that a platform with pseudo-locked regions should not run code depending on the wbinvd instruction after the pseudo-locked regions are

[RFC PATCH 4/7] x86/intel_rdt: Support restore of all pseudo-locked regions

2018-07-24 Thread Reinette Chatre
An instruction like wbinvd would evict all data from pseudo-locked regions within the cache hierarchy on which the instruction was run. Add support for offloading the restoration of all pseudo-locked regions since it is not possible to know which pseudo-locked regions specifically are in need of r

[RFC PATCH 0/7] x86/intel_rdt: Restoration of Cache Pseudo-Locked regions

2018-07-24 Thread Reinette Chatre
Dear Maintainers, A Cache Pseudo-Locked region is vulnerable to certain instructions (INVD, WBINVD, CLFLUSH) or deeper C-states (that could shrink or power off the cache) evicting the pseudo-locked memory. The current support for pseudo-locked regions already restrict deeper C-states on cores asso

[RFC PATCH 3/7] x86/intel_rdt: Enable user to trigger pseudo-locked region restore

2018-07-24 Thread Reinette Chatre
Expose a new debugfs file that user can use to trigger the restoration of a specific Cache Pseudo-Locked region at any time. Signed-off-by: Reinette Chatre --- Documentation/x86/intel_rdt_ui.txt | 18 ++--- arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 45 - 2 fi

[RFC PATCH 2/7] x86/intel_rdt: Enable a pseudo-locked region to be restored

2018-07-24 Thread Reinette Chatre
Memory that has been pseudo-locked to cache could be evicted if an instruction like WBINVD has been used on a core in the cache hierarchy. When this happens the region of cache would remained orphaned. Make it possible for pseudo-locked memory that may have been evicted to be restored to its origi

[RFC PATCH 1/7] x86/intel_rdt: Expose useful functions to all RDT code

2018-07-24 Thread Reinette Chatre
In preparation for support of restoring pseudo-locked regions two functions are exposed to all RDT code: closid_alloc() and closid_allocated(). Signed-off-by: Reinette Chatre --- arch/x86/kernel/cpu/intel_rdt.h | 2 ++ arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 4 ++-- 2 files changed,

Re: [PATCHv3 1/3] mm: Introduce vma_init()

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 13:16:33 -0700 Linus Torvalds wrote: > On Tue, Jul 24, 2018 at 1:03 PM Andrew Morton > wrote: > > > > > > I'd sleep better if this became a kmem_cache_alloc() and the memset > > was moved into vma_init(). > > Yeah, with the vma_init(), I guess the advantage of using > kmem

Re: [PATCH v1 07/10] Input: atmel_mxt_ts - zero terminate config firmware file

2018-07-24 Thread Nick Dyer
On Mon, Jul 23, 2018 at 03:35:34PM -0700, Dmitry Torokhov wrote: > On Fri, Jul 20, 2018 at 10:51:19PM +0100, Nick Dyer wrote: > > From: Nick Dyer > > > > We use sscanf to parse the configuration file, so it's necessary to zero > > terminate the configuration otherwise a truncated file can cause t

Re: [PATCH] mtd: spi-nor: cadence-quadspi: make return type fit wait_for_completion_timeout

2018-07-24 Thread Boris Brezillon
On Sat, 21 Jul 2018 18:08:13 +0200 Nicholas Mc Guire wrote: > wait_for_completion_timeout returns an unsigned long not int. declare a > suitably type timeout and fix up assignment and check. > > Signed-off-by: Nicholas Mc Guire > Reported-by: Vignesh R > Fixes: 140623410536 ("mtd: spi-nor: Add

Re: [PATCH 1/2] MIPS: Ci20: Enable SPI/GPIO driver

2018-07-24 Thread Paul Burton
Hi Mathieu, On Wed, Jun 06, 2018 at 09:37:29PM +0200, Mathieu Malaterre wrote: > Update the Ci20's defconfig to enable the JZ4780's SPI/GPIO driver. > > Signed-off-by: Mathieu Malaterre > --- > arch/mips/configs/ci20_defconfig | 2 ++ > 1 file changed, 2 insertions(+) Thanks - both patches app

[PATCH 3/4] arc: fix some plat-eznps data type errors

2018-07-24 Thread Randy Dunlap
From: Randy Dunlap Add to fix build errors. Both ctop.h and use u32 types and cause many errors. Examples: ../include/soc/nps/common.h:71:4: error: unknown type name 'u32' u32 __reserved:20, cluster:4, core:4, thread:4; ../include/soc/nps/common.h:76:3: error: unknown type name 'u32' u3

[PATCH 4/4] arc: fix mtm.c printk format warning

2018-07-24 Thread Randy Dunlap
From: Randy Dunlap Fix printk format warning in arch/arc/plat-eznps/mtm.c: In file included from ../include/linux/printk.h:7, from ../include/linux/kernel.h:14, from ../include/linux/list.h:9, from ../include/linux/smp.h:12, fro

[PATCH] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Cannon Matthews
Reimplement clear_gigantic_page() to clear gigabytes pages using the non-temporal streaming store instructions that bypass the cache (movnti), since an entire 1GiB region will not fit in the cache anyway. Doing an mlock() on a 512GiB 1G-hugetlb region previously would take on average 134 seconds,

Re: [PATCH 1/3] MIPS: jz4780: Allow access to jz4740-i2s

2018-07-24 Thread Paul Burton
Hi Matthieu, On Wed, Jun 06, 2018 at 09:38:08PM +0200, Mathieu Malaterre wrote: > diff --git a/sound/soc/jz4740/Kconfig b/sound/soc/jz4740/Kconfig > index 1a354a6b6e87..35d82d96e781 100644 > --- a/sound/soc/jz4740/Kconfig > +++ b/sound/soc/jz4740/Kconfig > @@ -1,20 +1,20 @@ > config SND_JZ4740_SO

Re: [PATCH 1/3] [BUGFIX] tracing: Fix double free of event_trigger_data

2018-07-24 Thread Steven Rostedt
On Wed, 25 Jul 2018 00:09:09 +0900 Masami Hiramatsu wrote: > Hmm, your patch seems to leak a memory since event_trigger_init() will > be called twice on same trigger_data (Note that event_trigger_init() > does not init ref counter, but increment it.) So we should decrement > it when we find it is

Re: [PATCH] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 13:46:39 -0700 Cannon Matthews wrote: > Reimplement clear_gigantic_page() to clear gigabytes pages using the > non-temporal streaming store instructions that bypass the cache > (movnti), since an entire 1GiB region will not fit in the cache anyway. > > ... > > Tested: >

[PATCH] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-24 Thread Sai Praneeth Prakhya
From: Sai Praneeth Some future Intel processors may support "Enhanced IBRS" which is an "always on" mode i.e. IBRS bit in SPEC_CTRL MSR is enabled once and never disabled. According to specification[1], this should simplify software enabling and improve performance. [With enhanced IBRS, the pred

Re: [PATCH] mm, oom: remove oom_lock from oom_reaper

2018-07-24 Thread David Rientjes
On Thu, 19 Jul 2018, Michal Hocko wrote: > From: Michal Hocko > > oom_reaper used to rely on the oom_lock since e2fe14564d33 ("oom_reaper: > close race with exiting task"). We do not really need the lock anymore > though. 212925802454 ("mm: oom: let oom_reap_task and exit_mmap run > concurrently

Re: [PATCH v2 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Linus Torvalds
On Tue, Jul 24, 2018 at 1:40 PM Eric W. Biederman wrote: > > + if (signal_pending(current)) { > + retval = restart_syscall(); > + goto fork_out; > + } Oh, the previous version had this too, but it wasn't as obvious because it was just in a single line:

your photos

2018-07-24 Thread Roland
I would like to speak with the person that managing photos for your company? We provide image editing like – photos cutting out and retouching. Enhancing your images is just a part of what we can do for your business. Whether you’re an ecommerce store or portrait photographer, real estate profes

your photos

2018-07-24 Thread Roland
I would like to speak with the person that managing photos for your company? We provide image editing like – photos cutting out and retouching. Enhancing your images is just a part of what we can do for your business. Whether you’re an ecommerce store or portrait photographer, real estate profes

PRIVATE...

2018-07-24 Thread web70
I have a business Proposal that will be of benefit to the both of us.Kindly contact me on mrmichealwu...@yahoo.com.hk should this be of interest to you.

Re: [PATCH] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Matthew Wilcox
On Tue, Jul 24, 2018 at 01:46:39PM -0700, Cannon Matthews wrote: > Reimplement clear_gigantic_page() to clear gigabytes pages using the > non-temporal streaming store instructions that bypass the cache > (movnti), since an entire 1GiB region will not fit in the cache anyway. > > Doing an mlock() o

Re: [PATCH 0/3] PTI for x86-32 Fixes and Updates

2018-07-24 Thread Pavel Machek
On Mon 2018-07-23 14:50:50, Andy Lutomirski wrote: > > > > On Jul 23, 2018, at 2:38 PM, Pavel Machek wrote: > > > >> On Mon 2018-07-23 12:00:08, Linus Torvalds wrote: > >>> On Mon, Jul 23, 2018 at 7:09 AM Pavel Machek wrote: > >>> > >>> Meanwhile... it looks like gcc is not slowed down signif

Re: [PATCH v2 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Eric W. Biederman
Linus Torvalds writes: > On Tue, Jul 24, 2018 at 1:40 PM Eric W. Biederman > wrote: >> >> + if (signal_pending(current)) { >> + retval = restart_syscall(); >> + goto fork_out; >> + } > > Oh, the previous version had this too, but it wasn't as obvious > be

Re: [PATCH 1/3] [BUGFIX] tracing: Fix double free of event_trigger_data

2018-07-24 Thread Steven Rostedt
On Tue, 24 Jul 2018 16:49:59 -0400 Steven Rostedt wrote: > > Hmm it seems we should review the register_trigger() implementation. > > It should return the return value of trace_event_trigger_enable_disable(), > > shouldn't it? > > > > Yeah, that's not done well. I'll fix it up. > > Thanks for

Re: [PATCH v2 02/10] coresight: platform: Refactor graph endpoint parsing

2018-07-24 Thread Mathieu Poirier
Good afternoon, On Thu, Jul 19, 2018 at 11:55:06AM +0100, Suzuki K Poulose wrote: > Refactor the of graph endpoint parsing code, to make the error > handling easier. > > Cc: Mathieu Poirier > Signed-off-by: Suzuki K Poulose > --- > Changes since v1: > - Splitted from the of_node refcounting fi

My Transaction,

2018-07-24 Thread MRS
Please did you recieve the email i sent you ?

My Transaction,

2018-07-24 Thread MRS
Please did you recieve the email i sent you ?

Re: [RESEND PATCH 4/4] sh: remove board_time_init() callback

2018-07-24 Thread Arnd Bergmann
On Tue, Jul 24, 2018 at 7:07 PM, kbuild test robot wrote: > Hi Arnd, > > I love your patch! Yet something to improve: > > [auto build test ERROR on sof-driver-fuweitax/master] > [also build test ERROR on v4.18-rc6 next-20180724] > [if your patch is applied to the wrong git t

Re: [PATCH v2 02/10] coresight: platform: Refactor graph endpoint parsing

2018-07-24 Thread Mathieu Poirier
On Tue, 24 Jul 2018 at 15:30, Mathieu Poirier wrote: > > Good afternoon, > > On Thu, Jul 19, 2018 at 11:55:06AM +0100, Suzuki K Poulose wrote: > > Refactor the of graph endpoint parsing code, to make the error > > handling easier. > > > > Cc: Mathieu Poirier > > Signed-off-by: Suzuki K Poulose >

My Transaction,

2018-07-24 Thread MRS
Please did you recieve the email i sent you ?

[patch v5] mm, oom: fix unnecessary killing of additional processes

2018-07-24 Thread David Rientjes
The oom reaper ensures forward progress by setting MMF_OOM_SKIP itself if it cannot reap an mm. This can happen for a variety of reasons, including: - the inability to grab mm->mmap_sem in a sufficient amount of time, - when the mm has blockable mmu notifiers that could cause the oom reaper

Re: [patch v4] mm, oom: fix unnecessary killing of additional processes

2018-07-24 Thread David Rientjes
On Sat, 21 Jul 2018, Tetsuo Handa wrote: > You can't apply "[patch v4] mm, oom: fix unnecessary killing of additional > processes" > because Michal's patch which removes oom_lock serialization was added to -mm > tree. > I've rebased the patch to linux-next and posted a v5. > You might worry a

Re: [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting

2018-07-24 Thread NeilBrown
On Tue, Jul 24 2018, Brian Norris wrote: > Hi, > > On Tue, Jul 24, 2018 at 11:51:49AM +1000, NeilBrown wrote: >> On Tue, Jul 24 2018, Boris Brezillon wrote: >> > On Tue, 24 Jul 2018 08:46:33 +1000 >> > NeilBrown wrote: >> >> One possibility that occurred to me when I was exploring this issue is >

Re: [PATCH net-next] bnxt_en: Fix logic of forward the VF MAC address to PF in bnxt_vf_validate_set_mac

2018-07-24 Thread Michael Chan
On Tue, Jul 24, 2018 at 9:01 AM, Vasundhara Volam wrote: > On Tue, Jul 24, 2018 at 1:01 PM, Michael Chan > wrote: >> >> On Mon, Jul 23, 2018 at 10:24 PM, YueHaibing wrote: >> > Based on the comments,req->l2addr must match the VF MAC address >> > if firmware spec >= 1.2.2, mac_ok can be true. >>

Re: [PATCH v3 0/4] staging/fsl-mc/bus: Move DPIO from staging to drivers/soc/fsl

2018-07-24 Thread Li Yang
On Tue, Jul 24, 2018 at 9:38 AM, Ioana Ciocoi Radulescu wrote: >> -Original Message- >> From: Horia Geanta >> Sent: Tuesday, July 24, 2018 5:35 PM >> To: Roy Pledge ; de...@driverdev.osuosl.org; linux- >> arm-ker...@lists.infradead.org; gre...@linuxfoundation.org; Leo Li >> >> Cc: Laurent

Reminder to review a few patches sent two weeks ago

2018-07-24 Thread pheragu
A reminder to review a few patches I had sent last week. Below are the links for the patches. https://lkml.org/lkml/2018/7/5/798 http://lists-archives.com/linux-kernel/29168320-checkpatch-check-for-invalid-return-codes.html - Prakruthi Deepak Heragu

[GIT PULL] updates to soc/fsl drivers for v4.19

2018-07-24 Thread Li Yang
Hi arm-soc maintainers, Please merge the following tag to get updates to the soc/fsl drivers: Moves DPAA2 DPIO driver from staging to fsl/soc Adds multiple-pin support to QE gpio driver Regards, Leo The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-r

linux-next: Signed-off-by missing for commit in the gfs2 tree

2018-07-24 Thread Stephen Rothwell
Hi all, Commit b6fbc2f6a686 ("GFS2: Fix recovery issues for spectators") is missing a Signed-off-by from its committer. It was rebased. -- Cheers, Stephen Rothwell pgpT7fPZVLrkY.pgp Description: OpenPGP digital signature

Re: [PATCH] tracefs: Annotate tracefs_ops with __ro_after_init

2018-07-24 Thread Kees Cook
Adding Steven (maintainer) and Al (fs) to CC... On Tue, Jul 24, 2018 at 1:02 PM, Zubin Mithra wrote: > tracefs_ops is initialized inside tracefs_create_instance_dir and not > modified after. tracefs_create_instance_dir allows for initialization > only once, and is called from create_trace_instanc

Re: [PATCH 0/2] turbostat: Improve support for AMD Zen CPUs (RAPL, CPUID) (Resend)

2018-07-24 Thread Calvin Walton
On Wed, 2018-07-18 at 18:26 -0400, Calvin Walton wrote: > Based on the documentation provided in AMD's Open-Source > Register Reference For AMD Family 17h Processors: > https://support.amd.com/TechDocs/56255_OSRR.pdf > > I've added support for reading Cores and Package energy usage from > AMD's >

editing for your photos

2018-07-24 Thread Roland
I would like to speak with the person that managing photos for your company? We provide image editing like – photos cutting out and retouching. Enhancing your images is just a part of what we can do for your business. Whether you’re an ecommerce store or portrait photographer, real estate profes

Re: [PATCH 04/15] MIPS: dts: img: pistachio_marduk: Switch mmc to 1 bit mode

2018-07-24 Thread Andreas Färber
Am 22.07.2018 um 23:19 schrieb Andreas Färber: > From: Ian Pozella > > The mmc block in Pistachio allows 1 to 8 data bits to be used. > Marduk uses 4 bits allowing the upper 4 bits to be allocated > to the Mikrobus ports. However these bits are still connected > internally meaning the mmc block r

[no subject]

2018-07-24 Thread Georgios Tsotsos
Date: Wed, 25 Jul 2018 01:18:58 +0300 Subject: [PATCH 0/4] Staging: octeon-usb: Fixes and Coding style applied. Hello, I am sending four patches which trying to resolve TODO list requirements no 45 about octeon-usb. There are SPDX licence additions on c and header files. Checkpatch warnings a

[PATCH 1/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index cded30f145aa..cff5e790b196 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

[PATCH 2/4] Staging: octeon-usb: Applying coding style for column width.

2018-07-24 Thread Georgios Tsotsos
This patch resolves the warnings as its refereed to TODO list. There are also a code style issues that could be resolved via breaking down cvmx_usb_poll_channel(). Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 10 ++ 1 file changed, 6 insertions(+), 4 dele

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier for header file

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

[PATCH 3/4] Staging: octeon-usb: Change coding style for CVMX_WAIT_FOR_FIELD32 marco.

2018-07-24 Thread Georgios Tsotsos
Changes coding style and encapsulate into parentheses timeout_usec. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 44 + 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drive

Re: linux-next: Signed-off-by missing for commit in the gfs2 tree

2018-07-24 Thread Andreas Grünbacher
Hi Stephen, 2018-07-25 0:01 GMT+02:00 Stephen Rothwell : > Hi all, > > Commit > > b6fbc2f6a686 ("GFS2: Fix recovery issues for spectators") > > is missing a Signed-off-by from its committer. It was rebased. thanks, I've fixed it now but this is getting rather annoying -- and it must happen to

Re: [patch v4] mm, oom: fix unnecessary killing of additional processes

2018-07-24 Thread Tetsuo Handa
On 2018/07/25 6:45, David Rientjes wrote: > On Sat, 21 Jul 2018, Tetsuo Handa wrote: > >> You can't apply "[patch v4] mm, oom: fix unnecessary killing of additional >> processes" >> because Michal's patch which removes oom_lock serialization was added to -mm >> tree. >> > > I've rebased the pat

Re: [PATCH v3] mm: Change return type int to vm_fault_t for fault handlers

2018-07-24 Thread Andrew Morton
On Mon, 4 Jun 2018 22:47:27 +0530 Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. > > Ref

[PATCH 2/4] Staging: octeon-usb: Applying coding style for column width.

2018-07-24 Thread Georgios Tsotsos
This patch resolves the warnings as its refereed to TODO list. There are also a code style issues that could be resolved via breaking down cvmx_usb_poll_channel(). Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 10 ++ 1 file changed, 6 insertions(+), 4 dele

[PATCH 3/4] Staging: octeon-usb: Change coding style for CVMX_WAIT_FOR_FIELD32 marco.

2018-07-24 Thread Georgios Tsotsos
Changes coding style and encapsulate into parentheses timeout_usec. Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 44 + 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drive

[PATCH 1/4] Staging: octeon-usb: Adds SPDX License Identifier

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index cded30f145aa..cff5e790b196 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c

[PATCH 4/4] Staging: octeon-usb: Adds SPDX License Identifier for header file

2018-07-24 Thread Georgios Tsotsos
Signed-off-by: Georgios Tsotsos --- drivers/staging/octeon-usb/octeon-hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index 3353aefe662e..769c36cf6614 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.h

Re: [PATCH] tracefs: Annotate tracefs_ops with __ro_after_init

2018-07-24 Thread Steven Rostedt
On Tue, 24 Jul 2018 15:07:18 -0700 Kees Cook wrote: > Adding Steven (maintainer) and Al (fs) to CC... Thanks, first I've seen of this. > > On Tue, Jul 24, 2018 at 1:02 PM, Zubin Mithra wrote: > > tracefs_ops is initialized inside tracefs_create_instance_dir and not > > modified after. tracefs

[PATCH 0/4] Staging: octeon-usb: Fixes and Coding style applied.

2018-07-24 Thread Georgios Tsotsos
Hello, Previously patches were sent with wrong cover format, please ignore. I am sending four patches which trying to resolve TODO list requirements no 45 about octeon-usb. There are SPDX licence additions on c and header files. Checkpatch warnings are resolved,also a notice about CVMX_WAIT_F

[PATCH] memcg: reduce memcg tree traversals for stats collection

2018-07-24 Thread Shakeel Butt
Currently cgroup-v1's memcg_stat_show traverses the memcg tree ~17 times to collect the stats while cgroup-v2's memory_stat_show traverses the memcg tree thrice. On a large machine, a couple thousand memcgs is very normal and if the churn is high and memcgs stick around during to several reasons, t

Re: [patch v4] mm, oom: fix unnecessary killing of additional processes

2018-07-24 Thread David Rientjes
On Wed, 25 Jul 2018, Tetsuo Handa wrote: > >> You might worry about situations where __oom_reap_task_mm() is a no-op. > >> But that is not always true. There is no point with emitting > >> > >> pr_info("oom_reaper: unable to reap pid:%d (%s)\n", ...); > >> debug_show_all_locks(); > >> > >> noi

<    1   2   3   4   5   6   7   8   >