[DRAFT 1/2] mm/cpuset: Exclude CDM nodes from each task's mems_allowed node mask

2016-11-16 Thread Anshuman Khandual
task->mems_allowed decides the final node mask of nodes from which memory can be allocated irrespective of process or VMA based memory policy. CDM nodes should not be used for any user space memory allocation, hence they should not be part of any mems_allowed mask in user space to begin with. This

[DRAFT 2/2] mm/hugetlb: Restrict HugeTLB allocations only to the system RAM nodes

2016-11-16 Thread Anshuman Khandual
HugeTLB allocation/release/accounting currently spans across all the nodes under N_MEMORY mask. CDM nodes should not be part of these. So use system_ram() call to fetch system RAM only nodes on the platform which can then be used for HugeTLB purpose instead of N_MEMORY. This isolates CDM nodes from

Re: [PATCH v2 0/7] mtd: nand: Abstract away the NAND interface type

2016-11-16 Thread Boris Brezillon
Hi Peter, On Thu, 17 Nov 2016 14:26:37 +0800 Peter Pan wrote: > Hi Boris, > > On Sun, Oct 16, 2016 at 10:35 PM, Boris Brezillon > wrote: > > Hi, > > > > This series is aiming at providing a generic NAND layer to share code > > between different NAND based devices. > > > > We currently have 3 d

Re: [PATCH v4 1/2] drm/bridge: dumb-vga-dac: Support a VDD regulator supply

2016-11-16 Thread Chen-Yu Tsai
On Thu, Nov 17, 2016 at 3:48 PM, Archit Taneja wrote: > Hi, > > Thanks for the patch. > > > On 11/16/2016 09:12 PM, Chen-Yu Tsai wrote: >> >> Some dumb VGA DACs are active components which require external power. >> Add support for specifying a regulator as its power supply. >> >> Signed-off-by: C

Re: [PATCH 1/2] kcov: size of arena is now given in bytes.

2016-11-16 Thread Dmitry Vyukov
On Wed, Nov 16, 2016 at 10:27 PM, Quentin Casasnovas wrote: > We'll introduce a different mode of tracing a-la AFL fixed table and Dmitry > suggests that the code would be simpler with the size expressed in bytes as > opposed unsigned longs. > > We only change the kcov::size field, which will be s

Re: [PATCH 2/2] kcov: add AFL-style tracing

2016-11-16 Thread Dmitry Vyukov
On Wed, Nov 16, 2016 at 10:27 PM, Quentin Casasnovas wrote: > AFL uses a fixed-size buffer (typically 64 KiB) where each byte is > a counter representing how many times an A -> B branch was taken. > Of course, since the buffer is fixed size, it's a little imprecise > in that e.g. two different bra

Re: [PATCH v2 3/7] mtd: nand: add a nand.h file to expose basic NAND stuff

2016-11-16 Thread Boris Brezillon
On Thu, 17 Nov 2016 14:14:21 +0800 Peter Pan wrote: > Hi Boris, > > On Sun, Oct 16, 2016 at 10:35 PM, Boris Brezillon > wrote: > > Now that raw NAND header has been moved to rawnand.h, we can add a new > > nand.h file and define the common nand stuff in there. > > > > Signed-off-by: Boris Brezi

Re: [PATCH v2 6/7] mtd: nand: raw: make BBT code more generic

2016-11-16 Thread Boris Brezillon
On Thu, 17 Nov 2016 14:19:29 +0800 Peter Pan wrote: > Hi Boris, > > On Sun, Oct 16, 2016 at 10:35 PM, Boris Brezillon > wrote: > > BBT support is currently tightly tied to raw NAND, though this is the kind > > of code we could share across all NAND based devices, no matter what > > physical int

[tip:x86/asm] selftests/x86: Add test_vdso to test getcpu()

2016-11-16 Thread tip-bot for Andy Lutomirski
Commit-ID: 3200ca806942d3d8f78d0d0c822e345dfb8789e7 Gitweb: http://git.kernel.org/tip/3200ca806942d3d8f78d0d0c822e345dfb8789e7 Author: Andy Lutomirski AuthorDate: Wed, 16 Nov 2016 10:23:28 -0800 Committer: Ingo Molnar CommitDate: Thu, 17 Nov 2016 08:31:22 +0100 selftests/x86: Add test_

[tip:x86/asm] x86/vdso: Use RDPID in preference to LSL when available

2016-11-16 Thread tip-bot for Andy Lutomirski
Commit-ID: a582c540ac1b10f0a7d37415e04c4af42409fd08 Gitweb: http://git.kernel.org/tip/a582c540ac1b10f0a7d37415e04c4af42409fd08 Author: Andy Lutomirski AuthorDate: Wed, 16 Nov 2016 10:23:27 -0800 Committer: Ingo Molnar CommitDate: Thu, 17 Nov 2016 08:31:14 +0100 x86/vdso: Use RDPID in p

[tip:locking/core] locking/core: Provide common cpu_relax_yield() definition

2016-11-16 Thread tip-bot for Christian Borntraeger
Commit-ID: 6d0d287891a022ebba572327cbd70b5de69a63a2 Gitweb: http://git.kernel.org/tip/6d0d287891a022ebba572327cbd70b5de69a63a2 Author: Christian Borntraeger AuthorDate: Wed, 16 Nov 2016 13:23:05 +0100 Committer: Ingo Molnar CommitDate: Thu, 17 Nov 2016 08:17:36 +0100 locking/core: Prov

Re: ILP32 for ARM64 - testing with lmbench

2016-11-16 Thread Zhangjian (Bamvor)
Hi, Maxim On 2016/11/17 13:02, Maxim Kuvyrkov wrote: Hi Bamvor, I'm surprised that you see this much difference from ILP32 patches on SPEC CPU2006int at all. The SPEC CPU2006 benchmarks spend almost no time in the kernel syscalls. I can imagine memory, TLB, and cache handling in the kernel

Re: [PATCH v4 1/2] drm/bridge: dumb-vga-dac: Support a VDD regulator supply

2016-11-16 Thread Archit Taneja
Hi, Thanks for the patch. On 11/16/2016 09:12 PM, Chen-Yu Tsai wrote: Some dumb VGA DACs are active components which require external power. Add support for specifying a regulator as its power supply. Signed-off-by: Chen-Yu Tsai Acked-by: Rob Herring --- .../bindings/display/bridge/dumb-vga

Re: [PATCH] mremap: fix race between mremap() and page cleanning

2016-11-16 Thread Aaron Lu
+LKML. Also attached the kernel patch that enlarges the race window and the user space test code raceremap.c, which you can put in will-it-scale's tests directory and run it as: # ./raceremap_threads -t 2 -s 1 Make sure "cpu0 runs" appeared in the first line. If you get SEGFAULT: [aaron@aaronlu

Re: [RFC 2/8] mm: Add specialized fallback zonelist for coherent device memory nodes

2016-11-16 Thread Anshuman Khandual
On 10/24/2016 10:01 AM, Anshuman Khandual wrote: > This change is part of the isolation requiring coherent device memory > node's implementation. > > Isolation seeking coherent memory node requires isolation from implicit > memory allocations from user space but at the same time there should also

Re: [PATCH] vgaarb: Use dev_printk() when possible

2016-11-16 Thread Daniel Vetter
On Wed, Nov 16, 2016 at 03:45:22PM -0600, Bjorn Helgaas wrote: > For consistency with other device-related messages, use dev_printk() when > possible instead of pr_*() and pci_name(). This changes messages like > this: > > vgaarb: setting as boot device: PCI::01:00.0 > vgaarb: device adde

[tip:x86/urgent] x86/boot: Avoid warning for zero-filling .bss

2016-11-16 Thread tip-bot for Arnd Bergmann
Commit-ID: 553bbc11aa6c1f9e0f529a06aeeca15fbe4a3985 Gitweb: http://git.kernel.org/tip/553bbc11aa6c1f9e0f529a06aeeca15fbe4a3985 Author: Arnd Bergmann AuthorDate: Wed, 16 Nov 2016 15:17:09 +0100 Committer: Ingo Molnar CommitDate: Thu, 17 Nov 2016 07:34:58 +0100 x86/boot: Avoid warning fo

[tip:x86/asm] x86/dumpstack: Handle NULL stack pointer in show_trace_log_lvl()

2016-11-16 Thread tip-bot for Josh Poimboeuf
Commit-ID: f4474c9f0bba17857b1a47c8dc89c07a0845c2b2 Gitweb: http://git.kernel.org/tip/f4474c9f0bba17857b1a47c8dc89c07a0845c2b2 Author: Josh Poimboeuf AuthorDate: Thu, 17 Nov 2016 00:04:58 -0600 Committer: Ingo Molnar CommitDate: Thu, 17 Nov 2016 07:48:39 +0100 x86/dumpstack: Handle NUL

Re: [PATCH 0/1] One bug fix for FPGA

2016-11-16 Thread Greg Kroah-Hartman
On Wed, Nov 16, 2016 at 07:54:39PM -0600, Alan Tull wrote: > Hi Greg, > > Can you take this patch? Yes, no need to send it 3 times :)

[PATCH v8 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-16 Thread Noam Camus
From: Noam Camus Till now we used clockevent from generic ARC driver. This was enough as long as we worked with simple multicore SoC. When we are working with multithread SoC each HW thread can be scheduled to receive timer interrupt using timer mask register. This patch will provide a way to con

RE: [PATCH v7 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-16 Thread Noam Camus
>From: Rob Herring [mailto:r...@kernel.org] >Sent: Wednesday, November 16, 2016 3:45 PM ... >Please add acks when reposting. >Acked-by: Rob Herring Will post [PATCH v8 3/3] with your ack Thanks Noam

Re: linux-next: manual merge of the kvm tree with the tip tree

2016-11-16 Thread Thomas Gleixner
On Thu, 17 Nov 2016, Stephen Rothwell wrote: > + /* Please keep the leaf sorted by cpuid_bit.level for faster search. */ > + static const struct cpuid_bit cpuid_bits[] = { > + { X86_FEATURE_APERFMPERF, CPUID_ECX, 0, 0x0006, 0 }, > + { X86_FEATURE_EPB, CPUID_ECX, 3,

[RFC] Memory hotplug support for ARM64

2016-11-16 Thread Maciej Bielski
Dear All, We are working on a series of patches that aims for implementing memory hotplug (also hotremove after) functionality for ARM64 CPUs. There are already existing ARM64 platforms with SO-DIMMs RAM bricks that could use such feature ([2], for example). Except for that, we would like to use i

Re: [PATCH 4/9] KEYS: Allow unrestricted boot-time addition of keys to secondary keyring

2016-11-16 Thread Petko Manolov
On 16-11-16 18:11:13, David Howells wrote: > Allow keys to be added to the system secondary certificates keyring during > kernel initialisation in an unrestricted fashion. Such keys are implicitly > trusted and don't have their trust chains checked on link. Well, I for one do not explicitly tru

Re: [fuse-devel] fuse: max_background and congestion_threshold settings

2016-11-16 Thread Maxim Patlasov
On 11/16/2016 11:19 AM, Nikolaus Rath wrote: Hi Maxim, On Nov 15 2016, Maxim Patlasov wrote: On 11/15/2016 08:18 AM, Nikolaus Rath wrote: Could someone explain to me the meaning of the max_background and congestion_threshold settings of the fuse module? At first I assumed that max_backgroun

Re: [PATCH] x86: add UMIP support

2016-11-16 Thread Ingo Molnar
* Jan Beulich wrote: > This is a small aid to security, hiding in particular the kernel address > information otherwise available through SGDT/SIDT. > > Signed-off-by: Jan Beulich > --- > Main question here is whether to limit this to 64-bit (or at least > !CONFIG_VM86) for the time being, or

Re: [PATCH] Fix: disable sys_membarrier when nohz_full is enabled

2016-11-16 Thread Lai Jiangshan
On Fri, Nov 4, 2016 at 12:29 AM, Mathieu Desnoyers wrote: > Userspace applications should be allowed to expect the membarrier system > call with MEMBARRIER_CMD_SHARED command to issue memory barriers on > nohz_full CPUs, but synchronize_sched() does not take those into > account. > > Given that we

Re: [RFC][PATCH] cpufreq: intel_pstate: Support of energy performance hint using HWP

2016-11-16 Thread Viresh Kumar
Hi Srinivas, I don't think other platforms need it for now and so it is fine to add these to the driver itself. On 15-11-16, 14:59, Srinivas Pandruvada wrote: > +static ssize_t show_energy_performance_available_preferences( Maybe a personal preference, but I would have broken the line after ssiz

Re: [v2] cw1200: fix bogus maybe-uninitialized warning

2016-11-16 Thread Kalle Valo
Arnd Bergmann wrote: > On x86, the cw1200 driver produces a rather silly warning about the > possible use of the 'ret' variable without an initialization > presumably after being confused by the architecture specific definition > of WARN_ON: > > drivers/net/wireless/st/cw1200/wsm.c: In function ‘

Re: [PATCH v18 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-11-16 Thread NeilBrown
On Thu, Nov 17 2016, Mark Brown wrote: > [ Unknown signature status ] > On Tue, Nov 15, 2016 at 08:35:13AM +1100, NeilBrown wrote: >> On Mon, Nov 14 2016, Mark Brown wrote: > >> > Conflating the two seems like the whole point here. We're looking for >> > something that sits between the power supp

Re: wireless: fix bogus maybe-uninitialized warning

2016-11-16 Thread Kalle Valo
Arnd Bergmann wrote: > The hostap_80211_rx() function is supposed to set up the mac addresses > for four possible cases, based on two bits of input data. For > some reason, gcc decides that it's possible that none of the these > four cases apply and the addresses remain uninitialized: > > drivers

Re: [PATCH] Support for perf on AMD family17h processors

2016-11-16 Thread Ingo Molnar
* Janakarajan Natarajan wrote: > This patch enables perf core PMU support for AMD family17h processors. In > family17h, there is no PMC-event constraint. All events, irrespective of the > type, can be measured using any of the performance counters. BTW., that's a very nice hardware design tha

Re: p54: memset(0) whole array

2016-11-16 Thread Kalle Valo
Jiri Slaby wrote: > gcc 7 complains: > drivers/net/wireless/intersil/p54/fwio.c: In function 'p54_scan': > drivers/net/wireless/intersil/p54/fwio.c:491:4: warning: 'memset' used with > length equal to number of elements without multiplication by element size > [-Wmemset-elt-size] > > Fix that b

Re: brcmfmac: print name of connect status event

2016-11-16 Thread Kalle Valo
Rafał Miłecki wrote: > From: Rafał Miłecki > > This simplifies debugging. Format %s (%u) comes from similar debugging > message in brcmf_fweh_event_worker. > > Signed-off-by: Rafał Miłecki Patch applied to wireless-drivers-next.git, thanks. e1c122d55f9e brcmfmac: print name of connect status

Re: wlcore: Allow scans when in AP mode

2016-11-16 Thread Kalle Valo
Xander Huff wrote: > From: James Minor > > When in AP mode, scans can be done without changing firmware to > the multi-role firmware. Allow the interface to scan if forced > in the scan request. > > Signed-off-by: James Minor > Signed-off-by: Xander Huff > Reviewed-by: Ben Shelton > Reviewed

Re: [PATCH v14 09/22] vfio iommu type1: Add task structure to vfio_dma

2016-11-16 Thread Alexey Kardashevskiy
On 17/11/16 17:12, Alex Williamson wrote: > On Thu, 17 Nov 2016 16:41:14 +1100 > Alexey Kardashevskiy wrote: > >> On 17/11/16 07:46, Kirti Wankhede wrote: >>> Add task structure to vfio_dma structure. Task structure is used for: >>> - During DMA_UNMAP, same task who mapped it or other task who sh

Re: linux-next: manual merge of the rpmsg tree with the slave-dma tree

2016-11-16 Thread Bjorn Andersson
On Sun 13 Nov 21:20 PST 2016, Stephen Rothwell wrote: > Hi Bjorn, > Hi Stephen, > Today's linux-next merge of the rpmsg tree got a conflict in: > > drivers/remoteproc/Kconfig > > between commit: > > bb6869b21478 ("remoteproc: st_slim_rproc: add a slimcore rproc driver") > > from the sla

Re: [PATCH v10 01/11] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-11-16 Thread Bjorn Andersson
On Sun 13 Nov 21:18 PST 2016, Vinod Koul wrote: > On Mon, Nov 07, 2016 at 01:57:35PM +, Peter Griffin wrote: > > > > > > As you now make changes to the entire remoteproc Kconfig file, rather > > > than simply add a Kconfig symbol we can't bring this in via Vinod's tree > > > without providing

Re: [PATCH v2] cpufreq: Avoid a couple of races related to cpufreq_cpu_get()

2016-11-16 Thread Viresh Kumar
Hi Rafael, I still have few concerns that I would like to share .. On 16-11-16, 03:38, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The cpumask_test_cpu() check in cpufreq_cpu_get_raw() is sort of > pointless, because it may be racy with respect to CPU online/offline > which sets/clea

[patch v6 1/1] i2c: add master driver for mellanox systems

2016-11-16 Thread vadimp
From: Vadim Pasternak Device driver for Mellanox I2C controller logic, implemented in Lattice CPLD device. Device supports: - Master mode - One physical bus - Polling mode The Kconfig currently controlling compilation of this code is: drivers/i2c/busses/Kconfig:config I2C_MLXCPLD Signed-off-

Re: [PATCH v2 0/7] mtd: nand: Abstract away the NAND interface type

2016-11-16 Thread Peter Pan
Hi Boris, On Sun, Oct 16, 2016 at 10:35 PM, Boris Brezillon wrote: > Hi, > > This series is aiming at providing a generic NAND layer to share code > between different NAND based devices. > > We currently have 3 different interfaces to interact with NANDs: > - Raw NANDs > - OneNANDs > - SPI NANDs

Re: [PATCH v14 09/22] vfio iommu type1: Add task structure to vfio_dma

2016-11-16 Thread Kirti Wankhede
On 11/17/2016 11:11 AM, Alexey Kardashevskiy wrote: > On 17/11/16 07:46, Kirti Wankhede wrote: >> Add task structure to vfio_dma structure. Task structure is used for: >> - During DMA_UNMAP, same task who mapped it or other task who shares same >> address space is allowed to unmap, otherwise unma

[RFC PATCH 5/7] iio: multiplexer: new iio category and iio-mux driver

2016-11-16 Thread Peter Rosin
When a multiplexer changes how an iio device behaves (for example by feeding different signals to an ADC), this driver can be used create one virtual iio channel for each multiplexer state. Depends on the generic multiplexer driver. --- drivers/iio/Kconfig | 1 + drivers/iio/Makef

Re: [PATCH v2 6/7] mtd: nand: raw: make BBT code more generic

2016-11-16 Thread Peter Pan
Hi Boris, On Sun, Oct 16, 2016 at 10:35 PM, Boris Brezillon wrote: > BBT support is currently tightly tied to raw NAND, though this is the kind > of code we could share across all NAND based devices, no matter what > physical interface is to communicate with the NAND chip. > > Make BBT code inter

Re: [PATCH v2 3/7] mtd: nand: add a nand.h file to expose basic NAND stuff

2016-11-16 Thread Peter Pan
Hi Boris, On Sun, Oct 16, 2016 at 10:35 PM, Boris Brezillon wrote: > Now that raw NAND header has been moved to rawnand.h, we can add a new > nand.h file and define the common nand stuff in there. > > Signed-off-by: Boris Brezillon > --- > include/linux/mtd/nand.h | 480 > +

Re: [PATCH v14 09/22] vfio iommu type1: Add task structure to vfio_dma

2016-11-16 Thread Alex Williamson
On Thu, 17 Nov 2016 16:41:14 +1100 Alexey Kardashevskiy wrote: > On 17/11/16 07:46, Kirti Wankhede wrote: > > Add task structure to vfio_dma structure. Task structure is used for: > > - During DMA_UNMAP, same task who mapped it or other task who shares same > > address space is allowed to unmap,

linux-next: Tree for Nov 17

2016-11-16 Thread Stephen Rothwell
Hi all, There will be no linux-next releases on Friday (tomorrow) or Monday. Changes since 20161116: The net-next tree gained conflicts against the net tree. The drm tree gained a conflict against the arm tree. The block tree gained conflicts against the btrfs-kdave tree. The tip tree gained

[RFC PATCH] mfd: dt: Add Aspeed LPC binding

2016-11-16 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- I'd like to start a discussion about how to handle the LPC register space in the Aspeed SoC. There are a number of issues, largely concerned with the layout of the registers but also with the fact that LPC register state is used by the pinmux to determine some pi

[PATCH] dumpstack: handle NULL stack pointer in show_trace_log_lvl()

2016-11-16 Thread Josh Poimboeuf
When show_trace_log_lvl() is called from show_regs(), it completely fails to dump the stack. This bug was introduced when show_stack_log_lvl() was removed with the following commit: 0ee1dd9f5e7e ("x86/dumpstack: Remove raw stack dump") Previous callers of that function now call show_trace_log_

[PATCH] list_debug: show address of prev and next when list_del corruption is detected.

2016-11-16 Thread Masayoshi Mizuma
When list_del corruption is detected, the corruption may happen because of the region of prev or next is destroyed. So, the address of prev/next is useful to find the destroyer. Signed-off-by: Masayoshi Mizuma --- lib/list_debug.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) di

[PATCH v2] nvmem: qfprom: Allow single byte accesses for read/write

2016-11-16 Thread Vivek Gautam
The nvmem core driver supports to read and write single byte. So, allow qfprom to support this feature. This change helps in extracting a required value based on bit-offset and number of bits for the required value in the nvmem cell. Signed-off-by: Vivek Gautam Cc: Srinivas Kandagatla --- Based

[git pull] vfs.git

2016-11-16 Thread Al Viro
A couple of regression fixes. The following changes since commit 961b708e95181041f403251f660bc70be3ff6ba3: Merge tag 'drm-fixes-for-v4.9-rc6' of git://people.freedesktop.org/~airlied/linux (2016-11-16 17:24:21 -0800) are available in the git repository at: git://git.kernel.org/pub/

[PATCH v3 1/2] staging: slicoss: fix different address space warnings: 32 bits

2016-11-16 Thread Sergio Paracuellos
This patch fix the following sparse warnings in slicoss driver: warning: incorrect type in assignment (different address spaces) This changes are for 32 bit architectures. Signed-off-by: Sergio Paracuellos --- drivers/staging/slicoss/slic.h| 9 + drivers/staging/slicoss/slicoss.c | 82

[PATCH v3 2/2] staging: slicoss: fix different address space warnings: 64 bits

2016-11-16 Thread Sergio Paracuellos
This patch fix the following sparse warnings in slicoss driver: warning: incorrect type in assignment (different address spaces) This changes are for 64 bits. Signed-off-by: Sergio Paracuellos --- drivers/staging/slicoss/slic.h | 9 + 1 file changed, 9 insertions(+) diff --git a/driver

[PATCH v3 0/2] staging: slicoss: fix different address space warnings

2016-11-16 Thread Sergio Paracuellos
This patchset fix the following sparse warning: warning: incorrect type in assignment (different address spaces) Changes in v2: * Remove IOMEM_GET_FIELDADDR macro * Add ioread64 and iowrite64 defines Changes in v3: * Remove ioread64 and iowrite64 defines * Split into two patches: one for 32 bits

Re: [PATCH v14 09/22] vfio iommu type1: Add task structure to vfio_dma

2016-11-16 Thread Alexey Kardashevskiy
On 17/11/16 07:46, Kirti Wankhede wrote: > Add task structure to vfio_dma structure. Task structure is used for: > - During DMA_UNMAP, same task who mapped it or other task who shares same > address space is allowed to unmap, otherwise unmap fails. > QEMU maps few iova ranges initially, then fork t

[PATCH v2 4/7] staging: xgifb: XGI_main_26.c Space around operator

2016-11-16 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: spaces preferred around that '-,&' Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/xgifb/XGI_main_26.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drive

[PATCH v2 6/7] staging: xgifb: XGI_main_26.c Blank line before }

2016-11-16 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Blank lines aren't necessary before a close brace '}' Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/xgifb/XGI_main_26.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/s

[PATCH v2 3/7] staging: xgifb: XGI_main_26.c Logical continuation

2016-11-16 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Logical continuations should be on the previous line Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/xgifb/XGI_main_26.c | 20 +--- 1 file changed, 9 insertions(+), 11

[PATCH v2 5/7] staging: xgifb: XGI_main_26.c Blank line after {

2016-11-16 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/xgifb/XGI_main_26.c | 12 1 file changed, 12 deletions(-) diff --git

[PATCH v2 2/7] staging: xgifb: XGI_main_26.c No space after cast

2016-11-16 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/xgifb/XGI_main_26.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletio

[PATCH v2 7/7] staging: xgifb: XGI_main_26.c Align match parenthesis

2016-11-16 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/xgifb/XGI_main_26.c | 100 +--- 1 file changed, 46 insertions(+)

[PATCH v2 1/7] staging: xgifb: XGI_main_26.c Comment style modifications

2016-11-16 Thread Walt Feasel
Make comment style modifications. Signed-off-by: Walt Feasel --- v2 makes changes to correct for email format patch submission drivers/staging/xgifb/XGI_main_26.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/st

[PATCH v2 0/7] staging: xgifb: XGI_main_26.c checkpatch modifications

2016-11-16 Thread Walt Feasel
Make Linux kernel coding style modifications for XGI_main_26.c to include: CHECK: Alignment should match open parenthesis CHECK: No space is necessary after a cast CHECK: Logical continuations should be on the previous line CHECK: spaces preferred around that '-' CHECK: Blank lines aren't necessar

Re: [PATCH v5] drm/mediatek: fixed the calc method of data rate per lane

2016-11-16 Thread CK Hu
Hi, Jitao: On Wed, 2016-11-16 at 11:20 +0800, Jitao Shi wrote: > Tune dsi frame rate by pixel clock, dsi add some extra signal (i.e. > Tlpx, Ths-prepare, Ths-zero, Ths-trail,Ths-exit) when enter and exit LP > mode, those signals will cause h-time larger than normal and reduce FPS. > So need to mu

[RFC PATCH 6/7] dt-bindings: i2c: i2c-mux-simple: document i2c-mux-simple bindings

2016-11-16 Thread Peter Rosin
--- .../devicetree/bindings/i2c/i2c-mux-simple.txt | 91 ++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mux-simple.txt diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-simple.txt b/Documentation/devicetree/bindi

[PATCH] cpufreq: schedutil: add up/down frequency transition rate limits

2016-11-16 Thread Viresh Kumar
From: Steve Muckle The rate-limit tunable in the schedutil governor applies to transitions to both lower and higher frequencies. On several platforms it is not the ideal tunable though, as it is difficult to get best power/performance figures using the same limit in both directions. It is common

Re: [PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check

2016-11-16 Thread Pan Xinhui
在 2016/11/16 18:23, Peter Zijlstra 写道: On Wed, Nov 16, 2016 at 12:19:09PM +0800, Pan Xinhui wrote: Hi, Peter. I think we can avoid a function call in a simpler way. How about below static inline bool vcpu_is_preempted(int cpu) { /* only set in pv case*/ if (pv_lock_ops

Re: [PATCH v14 12/22] vfio: Add notifier callback to parent's ops structure of mdev

2016-11-16 Thread Kirti Wankhede
On 11/17/2016 7:45 AM, Dong Jia Shi wrote: > * Kirti Wankhede [2016-11-17 02:16:24 +0530]: > > Hi Kirti, > >> diff --git a/drivers/vfio/mdev/vfio_mdev.c b/drivers/vfio/mdev/vfio_mdev.c > [...] > >> @@ -51,6 +78,11 @@ static void vfio_mdev_release(void *device_data) >> if (likely(parent->

Re: [PATCH v14 12/22] vfio: Add notifier callback to parent's ops structure of mdev

2016-11-16 Thread Kirti Wankhede
Add a notifier calback to parent's ops structure of mdev device so that per device notifer for vfio module is registered through vfio_mdev module. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: Iafa6f1721aecdd6e50eb93b153b5621e6d29b637 --- drivers/vfio/mdev/vfio_mdev.c | 32 +++

Re: ILP32 for ARM64 - testing with lmbench

2016-11-16 Thread Maxim Kuvyrkov
Hi Bamvor, I'm surprised that you see this much difference from ILP32 patches on SPEC CPU2006int at all. The SPEC CPU2006 benchmarks spend almost no time in the kernel syscalls. I can imagine memory, TLB, and cache handling in the kernel could affect CPU2006 benchmarks. Do ILP32 patches touc

Re: [PATCH v14 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-11-16 Thread Kirti Wankhede
Added blocking notifier to IOMMU TYPE1 driver to notify vendor drivers about DMA_UNMAP. Exported two APIs vfio_register_notifier() and vfio_unregister_notifier(). Notifier should be registered, if external user wants to use vfio_pin_pages()/vfio_unpin_pages() APIs to pin/unpin pages. Vendor driver

Re: [RFC 01/14] SoundWire: Add SoundWire bus driver documentation

2016-11-16 Thread Vinod Koul
On Wed, Nov 16, 2016 at 05:59:29PM +, Mark Brown wrote: > On Tue, Nov 15, 2016 at 07:59:14PM +0530, Vinod Koul wrote: > > On Mon, Nov 14, 2016 at 02:15:48PM +, Charles Keepax wrote: > > > > slaves register to that. This also has the nice property that its > > > easy to create devices that

Re: [PATCH v14 10/22] vfio iommu type1: Add support for mediated devices

2016-11-16 Thread Kirti Wankhede
VFIO IOMMU drivers are designed for the devices which are IOMMU capable. Mediated device only uses IOMMU APIs, the underlying hardware can be managed by an IOMMU domain. Aim of this change is: - To use most of the code of TYPE1 IOMMU driver for mediated devices - To support direct assigned device

Re: [PATCH v14 10/22] vfio iommu type1: Add support for mediated devices

2016-11-16 Thread Kirti Wankhede
On 11/17/2016 5:27 AM, Alex Williamson wrote: > On Thu, 17 Nov 2016 02:16:22 +0530 > Kirti Wankhede wrote: >> @@ -931,6 +1344,24 @@ static void vfio_iommu_type1_detach_group(void >> *iommu_data, >> >> mutex_lock(&iommu->lock); >> >> +if (iommu->external_domain) { >> +gr

Re: perf: fuzzer KASAN unwind_get_return_address

2016-11-16 Thread Josh Poimboeuf
On Wed, Nov 16, 2016 at 03:58:49PM +0100, Peter Zijlstra wrote: > 3BUG: KASAN: stack-out-of-bounds in unwind_get_return_address+0x1fb/0x220 at > addr 88042f88bba0 So I dug through the disassembly (thanks for the vmlinux), and I'm pretty sure the stack-out-of-bounds address is on the NMI stack

Re: [PATCH 01/16] ARM: scu: Provide support for parsing SCU device node to enable SCU

2016-11-16 Thread pankaj.dubey
Hi Russell, On Monday 14 November 2016 08:21 PM, Russell King - ARM Linux wrote: > On Mon, Nov 14, 2016 at 03:37:44PM +0100, Arnd Bergmann wrote: >> On Monday, November 14, 2016 1:50:18 PM CET Russell King - ARM Linux wrote: >>> On Mon, Nov 14, 2016 at 01:03:09PM +0100, Arnd Bergmann wrote: O

Re: [PATCH 1/2] net: netcp: replace IS_ERR_OR_NULL by IS_ERR

2016-11-16 Thread David Miller
From: Julia Lawall Date: Wed, 16 Nov 2016 11:43:33 +0100 > knav_queue_open always returns an ERR_PTR value, never NULL. This can be > confirmed by unfolding the function calls and conforms to the function's > documentation. Thus, replace IS_ERR_OR_NULL by IS_ERR in error checks. > > The change

Re: [PATCH 12/16] ARM: imx: use generic API for enabling SCU

2016-11-16 Thread pankaj.dubey
Hi Shawn, On Monday 14 November 2016 07:56 PM, Shawn Guo wrote: > On Mon, Nov 14, 2016 at 10:32:07AM +0530, Pankaj Dubey wrote: >> Now as we have of_scu_enable which takes care of mapping >> scu base from DT, lets use it. >> >> At the same time this patch cleans up mach-imx platform files by >> re

◆◆◆ 2017第十五届中国(广州)国际汽车零部件及用品展览会 [GHC8/C-m] 0955

2016-11-16 Thread 轨道交通环保轨道监控系统及
linna@hotmail.com 中国国际汽车零部件博览会 China International Auto Parts Expo 中华人民共和国商务部引导支持展会 国家级国际性汽车配件用品展贸平台   【中文名称】 2017第十五届中国(广州)国际汽车零部件及用品展览会 【英文名称】 The 15th China (Guangzhou) International Auto Parts Expo,2017 (CAPE 2017)   【展会日期】 2017年06月02—04日 【展会场馆】 广州琶洲保利世贸博览馆   【展会简介】 本届CAPE预计展会面积67000平方米

[RFC PATCH 7/7] i2c: i2c-mux-simple: new driver

2016-11-16 Thread Peter Rosin
This is a generic simple i2c mux that uses the generic multiplexer subsystem to do the muxing. The user can select if the mux is to be mux-locked and parent-locked as described in Documentation/i2c/i2c-topology. --- drivers/i2c/muxes/Kconfig | 12 +++ drivers/i2c/muxes/Makefile

Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf

2016-11-16 Thread Joe Stringer
On 16 November 2016 at 19:39, Wangnan (F) wrote: > > > On 2016/11/17 10:46, Joe Stringer wrote: >> >> On 16 November 2016 at 18:10, Wangnan (F) wrote: >>> >>> I'm also working on improving bpf.c. Please have a look at: >>> >>> https://lkml.org/lkml/2016/11/14/1078 >>> >>> Since bpf.c is simple, I

linux-next: manual merge of the kvm tree with the tip tree

2016-11-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/x86/kernel/cpu/scattered.c between commit: 4ab1586488cb ("x86/cpufeature: Add RDT CPUID feature bits") from the tip tree and commits: 47f10a36003e ("x86/cpuid: Cleanup cpuid_regs definitions") 47bdf3378d62 ("x86/

Re: [upstream-release] [PATCH 1/2] drivers: usb: phy: Add qoriq usb 3.0 phy driver support

2016-11-16 Thread Scott Wood
On 11/16/2016 05:33 AM, Sriram Dash wrote: >> From: Scott Wood >> On 11/15/2016 06:39 AM, Sriram Dash wrote: From: Scott Wood On 11/13/2016 11:27 PM, Sriram Dash wrote: > diff --git > a/Documentation/devicetree/bindings/phy/phy-qoriq-usb3.txt > b/Documentation/devicetree/bindi

Re: ILP32 for ARM64 - testing with lmbench

2016-11-16 Thread Zhangjian (Bamvor)
Hi, all I test specint of aarch64 LP64 when aarch32 el0 disable/enabled respectively and compare with ILP32 unmerged kernel(4.8-rc6) in our arm64 board. I found that difference(ILP32 disabled/ILP32 unmerged) is bigger when aarch32 el0 is enabled, compare with aarch32 el0 disabled kernel. And bzip

Re: [PATCH] f2fs: fix fdatasync

2016-11-16 Thread Jaegeuk Kim
On Thu, Nov 17, 2016 at 11:35:58AM +0800, Chao Yu wrote: > On 2016/11/17 10:59, Jaegeuk Kim wrote: > > On Thu, Nov 17, 2016 at 10:51:37AM +0800, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2016/11/17 3:13, Jaegeuk Kim wrote: > >>> Hi Chao, > >>> > >>> On Wed, Nov 16, 2016 at 08:12:11PM +0800, Chao

Re: [PATCH] rcu: Avoid unnecessary contention of rcu node lock

2016-11-16 Thread Byungchul Park
On Wed, Nov 16, 2016 at 11:29:35AM -0800, Paul E. McKenney wrote: > On Wed, Nov 16, 2016 at 01:49:31PM +0900, Byungchul Park wrote: > > On Wed, Nov 09, 2016 at 05:57:13PM +0900, Byungchul Park wrote: > > > It's unnecessary to try to print stacks of blocked tasks in the case > > > that ndetected ==

Re: [PATCH v16 00/15] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-11-16 Thread Xiongfeng Wang
Tested-by: wangxiongfe...@huawei.com on D05 board. On 2016/11/16 21:48, fu@linaro.org wrote: > From: Fu Wei > > This patchset: > (1)Preparation for adding GTDT support in arm_arch_timer: > 1. Move some enums and marcos to header file; > 2. Add a new enum for spi type; >

Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf

2016-11-16 Thread Wangnan (F)
On 2016/11/17 10:46, Joe Stringer wrote: On 16 November 2016 at 18:10, Wangnan (F) wrote: I'm also working on improving bpf.c. Please have a look at: https://lkml.org/lkml/2016/11/14/1078 Since bpf.c is simple, I think we can add more functions and fixes gradually, instead of a full copy.

Re: [PATCH v2] cpufreq: conservative: Fix comment explaining frequency updates

2016-11-16 Thread Viresh Kumar
On 16-11-16, 21:27, Stratos Karafotis wrote: > The original comment about the frequency increase to maximum is wrong. > > Both increase and decrease happen at steps. > > Signed-off-by: Stratos Karafotis > --- > -> v2 > Remove a trailing space > > drivers/cpufreq/cpufreq_conservative.c | 4 ++-

Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf

2016-11-16 Thread Joe Stringer
On 16 November 2016 at 19:21, Wangnan (F) wrote: > > > On 2016/11/17 10:46, Joe Stringer wrote: >> >> On 16 November 2016 at 18:10, Wangnan (F) wrote: >>> >>> I'm also working on improving bpf.c. Please have a look at: >>> >>> https://lkml.org/lkml/2016/11/14/1078 >>> >>> Since bpf.c is simple, I

[PATCH v6 2/3] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

2016-11-16 Thread Rick Chang
Add v4l2 driver for Mediatek JPEG Decoder Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile |2 + drivers/media/platform/mtk-jpeg/Makefile |2 + drivers/media/pla

[PATCH v6 0/3] Add Mediatek JPEG Decoder

2016-11-16 Thread Rick Chang
This series of patches provide a v4l2 driver to control Mediatek JPEG decoder for decoding JPEG image and Motion JPEG bitstream. changes since v5: - remove redundant name from struct mtk_jpeg_fmt - Set state of all buffers to VB2_BUF_STATE_QUEUED if fail in start streaming - Remove VB2_USERPTR - A

[PATCH v6 1/3] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-16 Thread Rick Chang
Add a DT binding documentation for Mediatek JPEG Decoder of MT2701 SoC. Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai Acked-by: Rob Herring --- .../bindings/media/mediatek-jpeg-decoder.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documen

[PATCH v6 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-16 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- This patch depends on: CCF "Add clock support for Mediatek MT2701"[1] iommu and smi "Add the dtsi node of iommu and smi for mt2701"[2] [1] http://lists.infradead.org/pipermail/linux-mediatek/2016-October/007271.html [2] https://patc

Re: [PATCH] f2fs: fix fdatasync

2016-11-16 Thread Chao Yu
On 2016/11/17 10:59, Jaegeuk Kim wrote: > On Thu, Nov 17, 2016 at 10:51:37AM +0800, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2016/11/17 3:13, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> On Wed, Nov 16, 2016 at 08:12:11PM +0800, Chao Yu wrote: For below two cases, we can't guarantee data consistence:

RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-16 Thread Hayes Wang
[...] > Fix the hw rx checksum is always enabled, and the user couldn't switch > it to sw rx checksum. > > Note that the RTL_VER_01 only supports sw rx checksum only. Besides, > the hw rx checksum for RTL_VER_02 is disabled after > commit b9a321b48af4 ("r8152: Fix broken RX checksums."). Re-enable

Re: [PATCH v3] f2fs: don't wait writeback for datas during checkpoint

2016-11-16 Thread Jaegeuk Kim
On Thu, Nov 17, 2016 at 11:06:09AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/11/17 3:18, Jaegeuk Kim wrote: > > Hi Chao, > > > > On Wed, Nov 16, 2016 at 10:41:20AM +0800, Chao Yu wrote: > >> Normally, while committing checkpoint, we will wait on all pages to be > >> writebacked no matter th

Re: [PATCH 05/34] tools lib bpf: Add missing bpf map functions

2016-11-16 Thread Wangnan (F)
On 2016/11/15 12:05, Wang Nan wrote: Add more BPF map operations to libbpf. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Arnaldo Carvalho de Melo Cc: Li Zefan --- tools/lib/bpf/bpf.c | 56 + tools/lib/bpf/bpf.h | 7 +++ 2 f

[RFC PATCH 4/7] dt-bindings: iio: iio-mux: document iio-mux bindings

2016-11-16 Thread Peter Rosin
--- .../bindings/iio/multiplexer/iio-mux.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/multiplexer/iio-mux.txt diff --git a/Documentation/devicetree/bindings/iio/multiplexer/iio-mux.txt b/Documentation/devic

  1   2   3   4   5   6   7   8   9   10   >