Re: [PATCH v3] iio: max5487: Add support for Maxim digital potentiometers

2016-05-17 Thread Peter Meerwald-Stadler
> Add implementation for Maxim MAX5487, MAX5488, MAX5489 > digital potentiometers. comments below > Datasheet: > http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf > > Signed-off-by: Cristina Moraru > CC: Daniel Baluta > --- > Changes since v2: > Change switch statement

[PATCH] perf tools: Use $KBUILD_BUILD_TIMESTAMP as man page date

2016-05-17 Thread Ben Hutchings
This allows man pages to be built reproducibly. Signed-off-by: Ben Hutchings --- --- a/tools/perf/Documentation/Makefile +++ b/tools/perf/Documentation/Makefile @@ -120,6 +120,9 @@ endif ifdef DOCBOOK_SUPPRESS_SP XMLTO_EXTRA += -m manpage-suppress-sp.xsl endif +ifdef KBUILD_BUILD_TIMESTAMP +AS

[PATCH] FS-Cache: wake up write waiter after invalidating writes

2016-05-17 Thread Yan, Zheng
Signed-off-by: "Yan, Zheng" --- fs/fscache/page.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/fscache/page.c b/fs/fscache/page.c index 3078b67..c8c4f79 100644 --- a/fs/fscache/page.c +++ b/fs/fscache/page.c @@ -887,6 +887,8 @@ void fscache_invalidate_writes(struct fscache_cookie *co

Re: linux-next: manual merge of the net-next tree with the arm64 tree

2016-05-17 Thread Catalin Marinas
On Tue, May 17, 2016 at 09:12:34AM +0200, Daniel Borkmann wrote: > On 05/17/2016 09:03 AM, Geert Uytterhoeven wrote: > [...] > >Someone's not gonna be happy with commit 606b5908 ("bpf: split > >HAVE_BPF_JIT into cBPF and eBPF variant") breaking the sort order again... > > Wasn't aware of that.

Re: [PATCH V7 07/11] pci, acpi: Handle ACPI companion assignment.

2016-05-17 Thread Tomasz Nowicki
On 17.05.2016 05:11, Dongdong Liu wrote: Hi Tomasz I used the patchset and added "PATCH V6 11/13 specic quirks", tested on HiSilicon D02 board but met the below problem. [2.614115] [] hisi_pcie_init+0x6c/0x1ec [2.619571] [] pci_ecam_create+0x130/0x1ec [2.625209] [] pci_acpi_scan_roo

Re: [RFC][PATCH] printk: Add option to append kernel version to the dict

2016-05-17 Thread Sergey Senozhatsky
On (05/16/16 15:02), Calvin Owens wrote: [..] > > > @@ -2305,6 +2317,8 @@ skip: > > > sizeof(ext_text) - ext_len, > > > log_dict(msg), msg->dict_len, > > > log_text(msg), ms

Re: [rcu_sched stall] regression/miss-config ?

2016-05-17 Thread santosh.shilim...@oracle.com
On 5/16/16 5:58 PM, Paul E. McKenney wrote: On Mon, May 16, 2016 at 12:49:41PM -0700, Santosh Shilimkar wrote: On 5/16/2016 10:34 AM, Paul E. McKenney wrote: On Mon, May 16, 2016 at 09:33:57AM -0700, Santosh Shilimkar wrote: [...] Are you running CONFIG_NO_HZ_FULL=y? If so, the problem mig

Re: Bug in AC?

2016-05-17 Thread Steven Rostedt
[ Added LKML and Peter ] On Tue, 17 May 2016 12:38:54 +0200 luca abeni wrote: > Hi all, > > On Tue, 17 May 2016 10:02:01 +0100 > Juri Lelli wrote: > [...] > > Luca, Steve pinged me yesterday on IRC wondering if SCHED_DEADLINE AC > > control was broken as we don't consider densities. > > > >

Re: [PATCH] Staging: comedi: quatech_daqp_cs.c: fixed a warning issue

2016-05-17 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I includ

Re: linux-next: manual merge of the net-next tree with the arm64 tree

2016-05-17 Thread Daniel Borkmann
On 05/17/2016 03:38 PM, Catalin Marinas wrote: On Tue, May 17, 2016 at 09:12:34AM +0200, Daniel Borkmann wrote: On 05/17/2016 09:03 AM, Geert Uytterhoeven wrote: [...] Someone's not gonna be happy with commit 606b5908 ("bpf: split HAVE_BPF_JIT into cBPF and eBPF variant") breaking the sort

Re: [PATCH 3/5] Documentation: Move visorbus documentation from staging to Documentation/

2016-05-17 Thread Greg KH
On Tue, May 17, 2016 at 03:27:59AM -0400, David Kershner wrote: > This patch simple does a git mv of the > drivers/staging/unisys/Documentation directory to Documentation. Renames > overview.txt to visorbus.txt and renames sysfs-platform-visorchipset to > the correct name sysfs-bus-visorbus. > > S

Re: [PATCH v7 1/3] create SMAF module

2016-05-17 Thread Benjamin Gaignard
Hello Emil, thanks for your review. I have understand most of your remarks and I'm fixing them but some points aren't obvious for me... 2016-05-17 0:58 GMT+02:00 Emil Velikov : > Hi Benjamin, > > I'd suspect you're interested in some feedback on these, so here is a few :-) > Sadly (ideally?) not

Re: [PATCH 0/5] add bus driver for Unisys s-Par paravirtualized devices to arch/x86

2016-05-17 Thread Greg KH
On Tue, May 17, 2016 at 03:27:56AM -0400, David Kershner wrote: > This patchset moves the visorbus driver (fromdrivers/staging/unisys/visorbus) > and its dependent headers files (from drivers/staging/unisys/include) > out of staging into the main kernel tree. > > The visorbus driver is a bus drive

Re: [RFC][PATCH] printk: Add option to append kernel version to the dict

2016-05-17 Thread Tejun Heo
On Tue, May 17, 2016 at 11:42:57PM +0900, Sergey Senozhatsky wrote: > > > what if there is no place left for init_utsname() after > > > msg_print_ext_header() + msg_print_ext_body()? > > > > It ends up being truncated, like either of the preceeding calls would. > > well, I meant once it's truncat

Re: [PATCH 4/5] staging: unisys: visorbus: Have visorbus use include/linux/visorbus

2016-05-17 Thread Greg KH
On Tue, May 17, 2016 at 03:28:00AM -0400, David Kershner wrote: > Since we have now moved the include directories over to > include/linux/visorbus this patch makes all of visorbus > use the new include folders. > > Signed-off-by: David Kershner > --- > drivers/staging/unisys/visorbus/controlvmch

Re: [PATCH] x86/boot: Refuse to build with data relocations

2016-05-17 Thread Kees Cook
On Tue, May 17, 2016 at 5:31 AM, H. Peter Anvin wrote: > On 05/17/16 01:13, Kees Cook wrote: >> On Mon, May 16, 2016 at 3:30 AM, Ingo Molnar wrote: >>> >>> * H. Peter Anvin wrote: >>> On 05/12/16 15:54, Kees Cook wrote: >> >> It would be far better to warn on the *type* of relocatio

Re: [PATCH 1/1 v2] hwmon: add support for Sensirion SHT3x sensors

2016-05-17 Thread Guenter Roeck
Hi Pascal, On 05/17/2016 06:18 AM, Pascal Sachs wrote: [ ... ] +While in periodic measure mode, read out of humidity and temperature values are +not supported. Nevertheless it is possible to read out the values with maximal Really ? I seem to be missing this in the datasheet. Section 4.4 s

Re: [PATCH 0/5] add bus driver for Unisys s-Par paravirtualized devices to arch/x86

2016-05-17 Thread Jes Sorensen
Greg KH writes: > On Tue, May 17, 2016 at 03:27:56AM -0400, David Kershner wrote: >> This patchset moves the visorbus driver (fromdrivers/staging/unisys/visorbus) >> and its dependent headers files (from drivers/staging/unisys/include) >> out of staging into the main kernel tree. >> >> The visorb

Re: Bug in AC?

2016-05-17 Thread luca abeni
Hi all, a quick reply because I am in hurry... I'll write a longer reply this evening or tomorrow On Tue, 17 May 2016 09:46:46 -0400 Steven Rostedt wrote: [...] > And I still don't see how this is a SMP vs UP situation. Well, on UP if the sum of the sum of the tasks' densities is <= 1 then all t

Re: [PATCH 0/2] Quiet noisy LSM denial when accessing net sysctl

2016-05-17 Thread Tyler Hicks
On 05/08/2016 10:56 PM, David Miller wrote: > From: Tyler Hicks > Date: Fri, 6 May 2016 18:04:12 -0500 > >> This pair of patches does away with what I believe is a useless denial >> audit message when a privileged process initially accesses a net sysctl. > > The LSM folks can apply this if they

Re: mm: Use phys_addr_t for reserve_bootmem_region arguments

2016-05-17 Thread Stefan Bader
On 17.05.2016 15:20, Stefan Bader wrote: > Re-posting to a hopefully better suited audience. I hit this problem > when trying to boot a i386 dom0 (PAE enabled) on a 64bit Xen host using > a config which would result in a reserved memory range starting at 4MB. Of course that ^ should be "starting a

Re: mfd: twl-core: Return directly after a failed platform_device_alloc() in add_numbered_child()

2016-05-17 Thread SF Markus Elfring
> Please remove the print altogether. Would you like to omit any extra logging statements at more source code places? Regards, Markus

RE: [PATCH] Input: Change BTN_TOOL_FINGER flag when hover event trigger

2016-05-17 Thread 廖崇榮
Hi Dmitry, I want to confirm my thought for your idea to avoid misunderstanding. I think you want to encapsulate " BTN_TOOL_FINGER" in the [input_mt_report_pointer_emulation] if hover happen. Vendor driver only report "ABS_DISTANCE" and let [input_mt_report_pointer_emulation] emit BTN_TOOL_FINGE

[tip:sched/urgent] sched/preempt: Fix preempt_count manipulations

2016-05-17 Thread tip-bot for Peter Zijlstra
Commit-ID: 2e636d5e66c35dfcbaf617aa8fa963f6847478fe Gitweb: http://git.kernel.org/tip/2e636d5e66c35dfcbaf617aa8fa963f6847478fe Author: Peter Zijlstra AuthorDate: Mon, 16 May 2016 15:01:11 +0200 Committer: Ingo Molnar CommitDate: Tue, 17 May 2016 12:24:21 +0200 sched/preempt: Fix preemp

Re: [PATCH] mm/slub.c: fix sysfs filename in comment

2016-05-17 Thread Christoph Lameter
On Tue, 17 May 2016, Li Peng wrote: > /sys/kernel/slab/xx/defrag_ratio should be remote_node_defrag_ratio. Acked-by: Christoph Lameter

Re: 45aebeaf4f67 "ovl: Ensure upper filesystem supports d_type" breaking Docker

2016-05-17 Thread Miklos Szeredi
On Tue, May 17, 2016 at 2:10 PM, Vivek Goyal wrote: > Having said that, what happens when ovl_workdir_create() fails and we > mount overlayfs read only. In that case I think we will conclude that > underlying fs does not support d_type and mounting will fail. Good point, I missed that. > Any th

Re: [PATCH 0/5] add bus driver for Unisys s-Par paravirtualized devices to arch/x86

2016-05-17 Thread Greg KH
On Tue, May 17, 2016 at 10:01:55AM -0400, Jes Sorensen wrote: > Greg KH writes: > > On Tue, May 17, 2016 at 03:27:56AM -0400, David Kershner wrote: > >> This patchset moves the visorbus driver > >> (fromdrivers/staging/unisys/visorbus) > >> and its dependent headers files (from drivers/staging/un

Re: [PATCH v8 2/4] GCC plugin infrastructure

2016-05-17 Thread Michal Marek
Dne 13.5.2016 v 01:57 Emese Revfy napsal(a): > --- /dev/null > +++ b/scripts/Makefile.gcc-plugins > @@ -0,0 +1,21 @@ > +ifdef CONFIG_GCC_PLUGINS > + __PLUGINCC := $(call cc-ifversion, -ge, 0408, $(HOSTCXX), $(HOSTCC)) > + PLUGINCC := $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-plugin.sh > "$(

Re: ast: cursor flashing softlockups

2016-05-17 Thread Peter Hurley
[ +to Scot Doyle ] Scot, please take a look at this soft lockup. Regards, Peter Hurley Hi Ming, On 05/17/2016 02:12 AM, Ming Lei wrote: > Hi, > > On Tue, May 17, 2016 at 4:07 AM, Dann Frazier > wrote: >> Hi, >> I'm observing a soft lockup issue w/ the ASPEED controller on an >> arm64 server

[PATCH 0/3] External Interrupt Controller (EIC) fixes

2016-05-17 Thread Paul Burton
This series fixes a few small issues with support for External Interrupt Controllers (cpu_has_veic), ensuring that it is configured to service all interrupts by default & that when a GIC is present it's enabled when expected. Applies atop v4.6. Paul Burton (3): MIPS: Clear Status IPL field when

[PATCH 3/3] irqchip: mips-gic: Setup EIC mode on each CPU if it's in use

2016-05-17 Thread Paul Burton
When EIC mode is in use (cpu_has_veic is true) enable it on each CPU during GIC initialisation. Otherwise there may be a mismatch between the hardware default interrupt model & that expected by the kernel. Signed-off-by: Paul Burton --- drivers/irqchip/irq-mips-gic.c | 10 +- 1 file cha

[PATCH 1/3] MIPS: Clear Status IPL field when using EIC

2016-05-17 Thread Paul Burton
When using an external interrupt controller (EIC) the interrupt mask bits in the cop0 Status register are reused for the Interrupt Priority Level, and any interrupts with a priority lower than the field will be ignored. Clear the field to 0 by default such that all interrupts are serviced. Without

[linux310][linux316] Backport of 'compiler-gcc: integrate the various compiler-gcc[345].h'

2016-05-17 Thread Philip Müller
Hi Willy, hi Ben, I've backported the 'compiler-gcc: integrate the various compiler-gcc[345].h' patch to support gcc 6.1 series also for linux 3.10 and 3.16 stable series. kind regards Philip Müller Manjaro Project Lead >From d96e99e54139ddd649715a751590275b89f26146 Mon

Re: [PATCH 4.5 008/101] soreuseport: fix ordering for mixed v4/v6 sockets

2016-05-17 Thread Craig Gallek
On Mon, May 16, 2016 at 9:20 PM, Greg Kroah-Hartman wrote: > 4.5-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Craig Gallek > > [ Upstream commit d894ba18d4e449b3a7f6eb491f16c9e02933736e ] > > With the SO_REUSEPORT socket option, it is po

[GIT PULL v2] Thermal SoC management updates for v4.7

2016-05-17 Thread Eduardo Valentin
Rui Here is material for 4.7 on thermal SoC. This time based on v4.6-rc6. In fact, ideally I should not rebase my branch for the merge window and you should just pull from its original cut, so we keep the history when patches got applied. Rebasing this branch right before the merge window makes it

[PATCH 2/3] MIPS: smp-cps: Clear Status IPL field when using EIC

2016-05-17 Thread Paul Burton
When using an external interrupt controller (EIC) the interrupt mask bits in the cop0 Status register are reused for the Interrupt Priority Level, and any interrupts with a priority lower than the field will be ignored. Clear the field to 0 by default such that all interrupts are serviced. Signed-

Re: [PATCH 4.4 07/73] soreuseport: fix ordering for mixed v4/v6 sockets

2016-05-17 Thread Greg Kroah-Hartman
On Tue, May 17, 2016 at 10:36:29AM -0400, Craig Gallek wrote: > On Mon, May 16, 2016 at 9:14 PM, Greg Kroah-Hartman > wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > I don't believe the changes that this patch fixes are in the 4.4 tree. > Please correct me

Re: [PATCH v4 3/3] drm: Add helper for simple display pipeline

2016-05-17 Thread Ville Syrjälä
On Tue, May 17, 2016 at 03:19:20PM +0200, Daniel Vetter wrote: > On Tue, May 17, 2016 at 3:14 PM, Ville Syrjälä > wrote: > > On Tue, May 17, 2016 at 03:04:52PM +0200, Daniel Vetter wrote: > >> On Tue, May 17, 2016 at 02:22:26PM +0200, Noralf Trønnes wrote: > >> > > >> > > >> > Den 17.05.2016 14:12

Re: [PATCH 20/31] thermal: core: introduce thermal_helpers.c

2016-05-17 Thread Eduardo Valentin
On Tue, May 17, 2016 at 01:20:17PM +, Zhang, Rui wrote: > $checkpatch.pl 20-31-thermal-core-introduce-thermal_helpers.c.patch > > WARNING: added, moved or deleted file(s), does MAINTAINERS need > updating? > #187: > new file mode 100644 > > ERROR: trailing whitespace > #302: FILE: drivers/t

Re: Bug in AC?

2016-05-17 Thread Steven Rostedt
On Tue, 17 May 2016 16:07:49 +0200 luca abeni wrote: > > As I > > mentioned on IRC, what about the case with two CPUs and this: > > > > Two tasks with: R:10us D: 15us P:100us > > and two tasks with: R:6us D: 14us P:14us > > > > If the period of the first two tasks line up on two differ

Another UBSAN warning from aic7xxx

2016-05-17 Thread Meelis Roos
Despite the first one being a false positive, her I am reporting another one, from a older dual P2 server with Adaptec aic7896/97 Ultra2 SCSI adapter and QUANTUM VIKING II 4.5WSE HDD-s. [1.730498] [1.73069

Re: [PATCH] coccicheck: Fix missing 0 index in kill loop

2016-05-17 Thread Julia Lawall
On Tue, 17 May 2016, Nicolas Palix (LIG) wrote: > Le 16/05/16 14:55, Kees Cook a écrit : > > By default, "seq" counts from 1, but processes were starting counting > > from 0, so when interrupted, coccicheck would leave the 0th process > > running. > > > > Signed-off-by: Kees Cook > > Acked-by:

[PATCH] x86/asm/entry: fix stack return address retrieval in thunk

2016-05-17 Thread Josh Poimboeuf
On Tue, May 17, 2016 at 12:20:49PM +0200, Ingo Molnar wrote: > > * Matt Fleming wrote: > > > On Tue, 17 May, at 10:04:34AM, Matt Fleming wrote: > > > > > > Now I'm wondering whether other users of FRAME_BEGIN/FRAME_END make > > > this same mistake. Coccinelle might be able to detect it perhaps.

Re: [RFC][PATCH] printk: Add option to append kernel version to the dict

2016-05-17 Thread Sergey Senozhatsky
Hello Tejun, On (05/17/16 06:51), Tejun Heo wrote: > On Tue, May 17, 2016 at 11:42:57PM +0900, Sergey Senozhatsky wrote: > > > > what if there is no place left for init_utsname() after > > > > msg_print_ext_header() + msg_print_ext_body()? > > > > > > It ends up being truncated, like either of th

Re: [PATCHv6 2/8] dma-debug: add support for resource mappings

2016-05-17 Thread Konrad Rzeszutek Wilk
> +void debug_dma_map_resource(struct device *dev, phys_addr_t addr, size_t > size, > + int direction, dma_addr_t dma_addr) > +{ > + struct dma_debug_entry *entry; > + > + if (unlikely(dma_debug_disabled())) > + return; > + > + entry = dma_entry_allo

[PATCH] cpuidle: Fix coupled state parameter in cpuidle_enter()

2016-05-17 Thread Daniel Lezcano
The commit 0b89e9aa2856 rightfully fixed a regression by letting the couple idle state framework to handle local interrupt enabling when the cpu is exiting an idle state. The current code check if the idle state is a coupled one and, if so, it will let the couple code to enable the interrupt. This

[PATCH 0/7] fix typo

2016-05-17 Thread Julia Lawall
firmare -> firmware --- drivers/media/dvb-frontends/mn88473.c |2 +- drivers/net/wireless/ath/ath6kl/core.h |2 +- drivers/net/wireless/marvell/mwifiex/pcie.c |2 +- drivers/scsi/pm8001/pm8001_init.c |2 +- drivers/scsi/snic/snic_fwint.h |2 +

[PATCH 2/7] [media] mn88473: fix typo

2016-05-17 Thread Julia Lawall
firmare -> firmware Signed-off-by: Julia Lawall --- drivers/media/dvb-frontends/mn88473.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/mn88473.c b/drivers/media/dvb-frontends/mn88473.c index 6c5d5921..8f7b68f 100644 --- a/drivers/media/dvb-

[PATCH 7/7] mwifiex: fix typo

2016-05-17 Thread Julia Lawall
firmare -> firmware Signed-off-by: Julia Lawall --- drivers/net/wireless/marvell/mwifiex/pcie.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c index 0c7937e..9246ce8 100644 --- a/d

[PATCH 3/7] [media] mn88472: fix typo

2016-05-17 Thread Julia Lawall
firmare -> firmware Signed-off-by: Julia Lawall --- drivers/staging/media/mn88472/mn88472.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/mn88472/mn88472.c b/drivers/staging/media/mn88472/mn88472.c index 7ea749c..5cfa22a 100644 --- a/drivers/stagi

[PATCH 6/7] ath6kl: fix typo

2016-05-17 Thread Julia Lawall
firmare -> firmware Signed-off-by: Julia Lawall --- drivers/net/wireless/ath/ath6kl/core.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h index 713a571..ebc40f6 100644 --- a/drivers/net/wire

Re: [PATCH] cpuidle: Fix coupled state parameter in cpuidle_enter()

2016-05-17 Thread Daniel Lezcano
On 05/17/2016 04:54 PM, Daniel Lezcano wrote: The commit 0b89e9aa2856 rightfully fixed a regression by letting the couple idle state framework to handle local interrupt enabling when the cpu is exiting an idle state. The current code check if the idle state is a coupled one and, if so, it will l

Re: [PATCHv6 3/8] dma-mapping: add dma_{map,unmap}_resource

2016-05-17 Thread Konrad Rzeszutek Wilk
> > -In some circumstances dma_map_single() and dma_map_page() will fail to create > -a mapping. A driver can check for these errors by testing the returned > -DMA address with dma_mapping_error(). A non-zero return value means the > mapping > -could not be created and the driver should take app

[RFC][WARNING] warning in uncore_pci_probe

2016-05-17 Thread Jiri Olsa
hi, I'm hitting following warning: [2.766466] WARNING: CPU: 0 PID: 1 at arch/x86/events/intel/uncore.c:894 uncore_pci_probe+0x2a8/0x2b0 [2.776749] Modules linked in: [2.780166] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0tip+ #7 [2.787060] Hardware name: Dell Inc. PowerEdge R5

Re: [PATCH 5/7] pm8001: fix typo

2016-05-17 Thread Jinpu Wang
On Tue, May 17, 2016 at 4:38 PM, Julia Lawall wrote: > firmare -> firmware > > Signed-off-by: Julia Lawall > > --- > drivers/scsi/pm8001/pm8001_init.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/pm8001/pm8001_init.c > b/drivers/scsi/pm8001/pm8001_ini

[PATCH v2 1/2] MIPS: Allow R6 compact branch policy to be left unspecified

2016-05-17 Thread Paul Burton
It turns out that some toolchains which support MIPS R6 don't support the -mcompact-branches flag to specify compact branch behaviour. Default to not providing the -mcompact-branch option to the compiler such that we can build with such toolchains. Signed-off-by: Paul Burton Reported-by: kbuild t

[PATCH v2 2/2] MIPS: Error out if unsupported compact branch policy is set

2016-05-17 Thread Paul Burton
If an explicit compact branch policy is requested by the user via the debug options in Kconfig, and the toolchain does not support specifying an explicit compact branch policy, then error out with an understandable error message to make it clearer what's happened. Signed-off-by: Paul Burton Fixes

Re: [PATCH v7 2/3] SMAF: add CMA allocator

2016-05-17 Thread Benjamin Gaignard
Hi Emil, 2016-05-17 1:05 GMT+02:00 Emil Velikov : > Hi Benjamin, > > On 9 May 2016 at 16:07, Benjamin Gaignard > wrote: >> SMAF CMA allocator implement helpers functions to allow SMAF >> to allocate contiguous memory. >> >> match() each if at least one of the attached devices have coherent_dma_m

[PATCH 5/7] pm8001: fix typo

2016-05-17 Thread Julia Lawall
firmare -> firmware Signed-off-by: Julia Lawall --- drivers/scsi/pm8001/pm8001_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index 6bd7bf4..fdbee8b4 100644 --- a/drivers/scsi/pm8001/pm8001_ini

[PATCH 1/7] snic: fix typo

2016-05-17 Thread Julia Lawall
firmare -> firmware Signed-off-by: Julia Lawall --- drivers/scsi/snic/snic_fwint.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/snic/snic_fwint.h b/drivers/scsi/snic/snic_fwint.h index c5f9e19..2a045a5 100644 --- a/drivers/scsi/snic/snic_fwint.h +++ b/driv

[PATCH 4/7] staging: wilc1000: fix typo

2016-05-17 Thread Julia Lawall
firmare -> firmware Signed-off-by: Julia Lawall --- drivers/staging/wilc1000/linux_wlan.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 4f93c11..274c390 100644 --- a/drivers/staging/wil

Re: [PATCH] coccicheck: Fix missing 0 index in kill loop

2016-05-17 Thread Nicolas Palix (LIG)
Le 16/05/16 14:55, Kees Cook a écrit : > By default, "seq" counts from 1, but processes were starting counting > from 0, so when interrupted, coccicheck would leave the 0th process > running. > > Signed-off-by: Kees Cook Acked-by: Nicolas Palix > --- > scripts/coccicheck | 2 +- > 1 file cha

Re: [PATCH 0/7] fix typo

2016-05-17 Thread Kalle Valo
Julia Lawall writes: > firmare -> firmware > > --- > > drivers/media/dvb-frontends/mn88473.c |2 +- > drivers/net/wireless/ath/ath6kl/core.h |2 +- > drivers/net/wireless/marvell/mwifiex/pcie.c |2 +- It would be good to know in advance what tree you are planning to submit

Re: [PATCH 0/7] fix typo

2016-05-17 Thread Julia Lawall
On Tue, 17 May 2016, Kalle Valo wrote: > Julia Lawall writes: > > > firmare -> firmware > > > > --- > > > > drivers/media/dvb-frontends/mn88473.c |2 +- > > drivers/net/wireless/ath/ath6kl/core.h |2 +- > > drivers/net/wireless/marvell/mwifiex/pcie.c |2 +- > > It would b

Re: [linux310][linux316] Backport of 'compiler-gcc: integrate the various compiler-gcc[345].h'

2016-05-17 Thread Philip Müller
Hi Ben, seems I sent the wrong patch ... kind regards Philip Müller Manjaro Project Lead >From d96e99e54139ddd649715a751590275b89f26146 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Thu, 25 Jun 2015 15:01:02 -0700 Subject: compiler-gcc: integrate the various compile

[GIT PULL] Core block IO changes for 4.7-rc1

2016-05-17 Thread Jens Axboe
Hi Linus, This is the core block IO changes for this merge window. Nothing earth shattering in here, it's mostly just fixes. In detail: - Fix for a long standing issue where wrong ordering in blk-mq caused order_to_size() to spew a warning. From Bart. - Async discard support from Christoph. Ba

Re: [PATCH v7 3/3] SMAF: add fake secure module

2016-05-17 Thread Benjamin Gaignard
2016-05-17 1:10 GMT+02:00 Emil Velikov : > Hi Benjamin, > > On 9 May 2016 at 16:07, Benjamin Gaignard > wrote: >> This module is allow testing secure calls of SMAF. >> > "Add fake secure module" does sound like something not (m)any people > want to hear ;-) > Have you considered calling it 'dummy

Re: [PATCH 0/7] fix typo

2016-05-17 Thread Kalle Valo
Julia Lawall writes: > On Tue, 17 May 2016, Kalle Valo wrote: > >> Julia Lawall writes: >> >> > firmare -> firmware >> > >> > --- >> > >> > drivers/media/dvb-frontends/mn88473.c |2 +- >> > drivers/net/wireless/ath/ath6kl/core.h |2 +- >> > drivers/net/wireless/marvell/mwifie

UBSAN: Undefined behaviour in drivers/scsi/scsi_devinfo.c:457:21

2016-05-17 Thread Meelis Roos
Found another UBSAN warning on 32-bit powerpc, during pata_macio driver initialization. I hope it is not a false positive :) [2.540935] [2.547807] UBSAN: Undefined behaviour in drivers/scsi/scsi_devinfo.c:45

[PATCH] dt-bindings: input: add Raydium I2C touch bindings

2016-05-17 Thread jeffrey.lin
Document the device tree binfings of Raydium I2C touch. Signed-off-by: jeffrey.lin --- .../bindings/input/touchscreen/raydium_i2c_ts.txt| 20 .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 21 insertions(+) create mode 100644 Documentation

Re: [PATCH] doc: self-protection: provide initial details

2016-05-17 Thread Randy Dunlap
On 05/16/16 19:27, Kees Cook wrote: > This document attempts to codify the intent around kernel self-protection > along with discussion of both existing and desired technologies, with > attention given to the rationale behind them, and the expectations of > their usage. > > Signed-off-by: Kees Coo

Re: [PATCH v2 1/1] userfaultfd: don't pin the user memory in userfaultfd_file_create()

2016-05-17 Thread Michal Hocko
On Mon 16-05-16 19:22:54, Oleg Nesterov wrote: > userfaultfd_file_create() increments mm->mm_users; this means that the memory > won't be unmapped/freed if mm owner exits/execs, and UFFDIO_COPY after that > can > populate the orphaned mm more. > > Change userfaultfd_file_create() and userfaultfd_

[PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2016-05-17 Thread jeffrey.lin
Raydium I2C touch driver. Signed-off-by: jeffrey.lin --- drivers/input/touchscreen/Kconfig | 12 + drivers/input/touchscreen/Makefile |1 + drivers/input/touchscreen/raydium_i2c_ts.c | 1208 3 files changed, 1221 insertions(+) create mode 1006

[GIT PULL] Block driver changes for 4.7-rc1

2016-05-17 Thread Jens Axboe
Hi Linus, On top of the core pull request, this is the drivers pull request for this merge window. This pull request contains: - Switching drivers to the new write back cache API, and killing off the flush flags. From me. - Kill the discard support for the STEC pci-e flash driver. It's trivi

Re: CQ and RDMA READ/WRITE APIs

2016-05-17 Thread Christoph Lameter
On Tue, 17 May 2016, Christoph Hellwig wrote: > It's also in entirely new files and not a modification of existing code, > and it's always been clear how it is. Some of the code has been in > since Linux 4.5 with a properly clear copyright. The problem is that the RDMA subsystem is rather more

Re: [PATCH 2/2] net: Fix coding style warnings and errors.

2016-05-17 Thread David Miller
From: Amit Ghadge Date: Tue, 17 May 2016 08:46:30 +0530 > Clean up checkpatch warnings and errors: > > * WARNING: Block comments use * on subsequent lines > * WARNING: Missing a blank line after declarations > * WARNING: networking block comments don't use an empty /* line, use /* > * ERROR: cod

malloc() size in CMA region seems to be aligned to CMA_ALIGNMENT

2016-05-17 Thread lunar12 lunartwix
A 4MB dma_alloc_coherent in kernel after malloc(2*1024) 40 times in CMA region by user space will cause an error on our ARM 3.18 kernel platform with a 32MB CMA. It seems that the malloc in CMA region will be aligned to CMA_ALIGNMENT everytime even if the requested malloc size is very small so th

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-05-17 Thread Arnd Bergmann
On Tuesday 17 May 2016 13:10:53 Szabolcs Nagy wrote: > On 05/04/16 23:08, Yury Norov wrote: > > This version is rebased on kernel v4.6-rc2, and has fixes in signal > > subsystem. > > It works with updated glibc [1] (though very draft), and tested with LTP. > > > > It was tested on QEMU and Thunde

[PATCH] Input: uinput - handle compat ioctl for UI_SET_PHYS

2016-05-17 Thread Ricky Liang
When running a 32-bit userspace on a 64-bit kernel, the UI_SET_PHYS ioctl needs to be treated with special care, as it has the pointer size encoded in the command. Signed-off-by: Ricky Liang --- drivers/input/misc/uinput.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/inpu

Re: [PATCH net] net: dsa: mv88e6xxx: remove bridge work

2016-05-17 Thread Vivien Didelot
Hi David, David Miller writes: > From: Vivien Didelot > Date: Fri, 13 May 2016 21:28:28 -0400 > >> Hi David, >> >> Vivien Didelot writes: >> >>> Now that the bridge code defers the switchdev port state setting, there >>> is no need to defer the port STP state change within the mv88e6xxx code

Re: [PATCH v7 1/3] create SMAF module

2016-05-17 Thread Daniel Vetter
On Tue, May 17, 2016 at 03:50:41PM +0200, Benjamin Gaignard wrote: > 2016-05-17 0:58 GMT+02:00 Emil Velikov : > > On 9 May 2016 at 16:07, Benjamin Gaignard > > wrote: > >> + * @fd:returned file descriptor > >> + */ > >> +struct smaf_create_data { > >> + size_t length; > >> +

[RFC 1/1] perf tools/kernel: Per event max-stack settings

2016-05-17 Thread Arnaldo Carvalho de Melo
Hi, So I have the patch below + the kernel code to handle it, i.e. per-event max-stack, in addition to the system wide kernel.perf_event_max_stack knob. Interested people should try my perf/max-stack branch, where the two patches to implement this are at the top: https://git.kernel.org/cgit/linu

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-17 Thread Djalal Harouni
On Sat, May 14, 2016 at 06:46:54AM -0700, James Bottomley wrote: > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > > On Thu, May 12, 2016 at 03:24:12PM -0700, James Bottomley wrote: > > > On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > > > > On Wed, May 11, 2016 at 11:33:38AM

[PATCH] KVM: MTRR: remove MSR 0x2f8

2016-05-17 Thread Paolo Bonzini
From: Andy Honig MSR 0x2f8 accessed the 124th Variable Range MTRR ever since MTRR support was introduced by 9ba075a664df ("KVM: MTRR support"). 0x2f8 became harmful when 910a6aae4e2e ("KVM: MTRR: exactly define the size of variable MTRRs") shrinked the array of VR MTRRs from 256 to 8, which made

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-05-17 Thread Joseph Myers
On Tue, 17 May 2016, Arnd Bergmann wrote: > I think it has become easier to override now and we just need to > update sysdeps/unix/sysv/linux/generic/bits/typesizes.h to set > > #define __INO64_T_TYPE __UQUAD_TYPE > #define __OFF64_T_TYPE __UQUAD_TYPE > #define __OFF_T_MATCHES_O

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-05-17 Thread Joseph Myers
On Tue, 17 May 2016, Szabolcs Nagy wrote: > i think even legacy software should be able to deal with 64bit off_t, > so we could avoid having two sets of filesystem apis or is 64bit-only > off_t more work to do in linux/glibc? wordsize-64 directories generally expect 64-bit interfaces. wordsize-3

Re: TODO Lists

2016-05-17 Thread Krzysztof Kozlowski
On Tue, May 10, 2016 at 03:56:17PM +0300, Andy Shevchenko wrote: > On Fri, 2016-05-06 at 10:08 -0700, Darren Hart wrote: > > At kernel summit Greg suggested sending our TODO lists to him. We'd > > like to have > > a place to keep a feature wishlist and cleanups that aren't "bugs" > > that we can >

[RFC][PATCH] perf config: reimplement perf_config() using perf_config_set__iter()

2016-05-17 Thread Taeung Song
Everytime perf_config() is called, perf_config() always read config files. (i.e. user config '~/.perfconfig' and system config '$(sysconfdir)/perfconfig') But we need to use 'struct perf_config_set config_set' that already contains all config key-value pairs to avoid this repetitive work in perf_c

[PATCH] exec: remove the no longer needed remove_arg_zero()->free_arg_page()

2016-05-17 Thread Oleg Nesterov
remove_arg_zero() does free_arg_page() for no reason. This was needed before and only if CONFIG_MMU=y: see the commit 4fc75ff4 ("exec: fix remove_arg_zero"), install_arg_page() was called for every page != NULL in bprm->page[] array. Today install_arg_page() has already gone and free_arg_page() is

[PATCH 4/6] ARM: dts: sun5i: q8-common: Enable USB power supply

2016-05-17 Thread Chen-Yu Tsai
On the A13 Q8 tablets, the PMIC's USB power supply (VBUS) is connected to the external OTG port. This can be used to provide power and OTG VBUS sensing. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-q8-common.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/d

[PATCH 2/6] ARM: dts: axp209: Disable ldo5 by default

2016-05-17 Thread Chen-Yu Tsai
The output pin of LDO is also a GPIO pin, and the on/off settings of the regulator are actually pinmux settings. Disable it by default so it doesn't conflict with GPIO usage. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/axp209.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/a

[PATCH 1/6] drm: sun4i: do cleanup if RGB output init fails

2016-05-17 Thread Chen-Yu Tsai
sun4i_rgb_init() can fail, which results in TCON failing to bind. In this case we need to do cleanup, specificly unregistering the dotclock, which is regmap based, and the regmap is registered as part of the sun4i_tcon_bind(). Failing to do so results in a NULL pointer reference when the CCF tries

[PATCH 5/6] ARM: dts: sun5i: q8-common: Enable audio codec

2016-05-17 Thread Chen-Yu Tsai
The Q8 tablets use the audio codec to provide audio output via a headphone jack or a small mono speaker. A GPIO output is used to control speaker amp. The tablets may or may not have an internal microphone. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-q8-common.dtsi | 14

[PATCH 3/6] ARM: dts: sun5i: q8-common: Enable USB-based WiFi

2016-05-17 Thread Chen-Yu Tsai
The early A13 Q8 tablets all use a Realtek WiFi module connected to USB1. The module is powered by AXP209's LDO3 at 3.3V. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-q8-common.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-q8-common.dtsi b/ar

[PATCH 0/6] ARM: dts: sun5i: q8-common: Enable various peripherals

2016-05-17 Thread Chen-Yu Tsai
Hi everyone, This series enables more peripherals for Allwinner A13-based Q8 devices. The peripherals include the WiFi, the PMIC's micro-usb power supply (driver), audio codec (headphone and speaker), and full display support with the new DRM KMS driver. The series is based on parts of Maxime's "d

[PATCH 6/6] ARM: dts: sun5i: q8-common: Enable display pipeline and LCD display

2016-05-17 Thread Chen-Yu Tsai
Q8 form factor A13 tablets have a 7" LCD panel. Unfortunately we don't know the exact model of the panel. Just pick a panel with display timings close to what we know. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-q8-common.dtsi | 36 ++ 1 file changed,

Re: [PATCH] ixgbe: take online CPU number as MQ max limit when alloc_etherdev_mq()

2016-05-17 Thread Alexander Duyck
On Tue, May 17, 2016 at 2:00 AM, ethan zhao wrote: > Alexander, > > > On 2016/5/17 0:09, Alexander Duyck wrote: >> >> On Sun, May 15, 2016 at 7:59 PM, ethan zhao wrote: >>> >>> Alexander, >>> >>> On 2016/5/14 0:46, Alexander Duyck wrote: On Thu, May 12, 2016 at 10:56 PM, Ethan Zhao >>>

Re: tty crash in Linux 4.6

2016-05-17 Thread Peter Hurley
On 05/16/2016 04:36 PM, Peter Hurley wrote: > Hi Mikulas, > > On 05/16/2016 01:12 PM, Mikulas Patocka wrote: >> Hi >> >> In the kernel 4.6 I get crashes in the tty layer. I can reproduce the >> crash by logging into the machine with ssh and typing before the prompt >> appears. > > Thanks for th

Re: [GIT PULL] regulator updates for v4.7

2016-05-17 Thread Mark Brown
On Tue, May 17, 2016 at 11:18:08AM +0100, Mark Brown wrote: > I'll send a patch either deleting the interface or reverting this after > -rc1 (or earlier if the users are gone from your tree before then) if > that's OK? Turns out the OMAP fixes aren't in -next so they shouldn't hit mainline this t

[PATCH] ASoC: nau8825: Export I2C module alias information

2016-05-17 Thread Javier Martinez Canillas
The I2C driver has an i2c_device_id array but that information isn't exported to the module using the MODULE_DEVICE_TABLE() macro. So the module autoloading won't work if the I2C device is registered using OF or legacy board files due missing alias information in the module. The issue was found us

<    1   2   3   4   5   6   7   >