Re: [GIT PULL] ARC updates for 4.7-rc1

2016-05-19 Thread Linus Torvalds
On Wed, May 18, 2016 at 11:24 PM, Vineet Gupta wrote: > > The highlight is support for EZChip (now Mellanox) NPS-400 network processor > [..] Oh, and that brought in the drivers/irqchip/irq-eznps.c driver that is compile-test enabled. And that driver is not

Re: [PATCH] usb: echi-hcd: Add ehci_setup check before echi_shutdown

2016-05-19 Thread Andy Gross
On 19 May 2016 at 05:12, Srinivas Kandagatla wrote: > This patch protects system from crashing at shutdown in > cases where usb host is not added yet from OTG controller driver. > As ehci_setup() not done yet, so stop accessing registers or > variables initialized

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-19 Thread Alex Williamson
On Tue, 10 May 2016 15:40:28 +0800 Peng Fan wrote: > Hi Alex, > > On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: > >On Mon, 9 May 2016 18:01:43 +0800 > >Peng Fan wrote: > > > >> Use vfio_iommu_group_get and

Re: [PATCH v2 2/2] i2c: qup: support SMBus block read

2016-05-19 Thread Naveen Kaje
Hi Timur, Sricharan, On 5/19/2016 2:21 PM, Timur Tabi wrote: Naveen Kaje wrote: +tags[len++] = QUP_TAG_V2_DATARD; +/* 0 implies 256 bytes */ +if (data_len == QUP_READ_LIMIT) +tags[len++] = 0; +else +tags[len++] = data_len; +}

Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART

2016-05-19 Thread Jon Mason
On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote: > +Cc Jon and arm-kernel mailist > > Any comments, thanks. It works for me. Please feel free to add Tested-by: Jon Mason Thanks, Jon > > Kefeng > > On 2016/5/11 14:06, Kefeng Wang wrote: > > Some board

Re: [PATCH] mm: move page_ext_init after all struct pages are initialized

2016-05-19 Thread Andrew Morton
On Thu, 19 May 2016 14:29:05 -0700 Yang Shi wrote: > When DEFERRED_STRUCT_PAGE_INIT is enabled, just a subset of memmap at boot > are initialized, then the rest are initialized in parallel by starting one-off > "pgdatinitX" kernel thread for each node X. > > If

Re: [PATCH v4 2/5] locking/rwsem: Protect all writes to owner by WRITE_ONCE

2016-05-19 Thread Jason Low
On Wed, 2016-05-18 at 12:58 -0700, Jason Low wrote: > On Wed, 2016-05-18 at 14:29 -0400, Waiman Long wrote: > > On 05/18/2016 01:21 PM, Jason Low wrote: > > > On Wed, 2016-05-18 at 07:04 -0700, Davidlohr Bueso wrote: > > >> On Tue, 17 May 2016, Waiman Long wrote: > > >> > > >>> Without using

Re: [PATCH] fbcon: warn on invalid cursor blink intervals

2016-05-19 Thread David Daney
On 05/19/2016 03:31 PM, Scot Doyle wrote: Two systems are locking on boot [1] because ops->cur_blink_jiffies is set to zero from vc->vc_cur_blink_ms. Ignore such invalid intervals and log a warning. [1] https://bugs.launchpad.net/bugs/1574814 Suggested-by: David Daney

Re: [RFC PATCH v2 05/18] sched: add task flag for preempt IRQ tracking

2016-05-19 Thread Andy Lutomirski
On Thu, May 19, 2016 at 4:15 PM, Josh Poimboeuf wrote: > On Mon, May 02, 2016 at 08:52:41AM -0700, Andy Lutomirski wrote: >> On Mon, May 2, 2016 at 6:52 AM, Josh Poimboeuf wrote: >> > On Fri, Apr 29, 2016 at 05:08:50PM -0700, Andy Lutomirski wrote: >> >>

[PATCH 3/3] MIPS: ralink: add MT7628 EPHY LEDs pinmux support

2016-05-19 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/ralink/mt7620.c | 100 ++ 1 file changed, 100 insertions(+) diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c index 9f80492..251c165 100644 ---

Re: [PATCH] ACPI / tables: Return error from table parse handler

2016-05-19 Thread Rafael J. Wysocki
On Thu, May 19, 2016 at 6:51 PM, Matthias Brugger wrote: > The handler called in acpi_table_parse may return an error. > This patch returns this error instead of ignoring it. And does it address any particular practical problem or is it just a code cleanup? > Signed-off-by:

Re: [RFC][PATCH 8/7] sched/fair: Use utilization distance to filter affine sync wakeups

2016-05-19 Thread Rik van Riel
On Wed, 2016-05-18 at 07:51 +0200, Mike Galbraith wrote: > On Mon, 2016-05-09 at 12:48 +0200, Peter Zijlstra wrote: > > Hai, > > (got some of the frozen variety handy?:) > > > here be a semi coherent patch series for the recent > > select_idle_siblings() > > tinkering. Happy benchmarking.. > >

[PATCH] mm: move page_ext_init after all struct pages are initialized

2016-05-19 Thread Yang Shi
When DEFERRED_STRUCT_PAGE_INIT is enabled, just a subset of memmap at boot are initialized, then the rest are initialized in parallel by starting one-off "pgdatinitX" kernel thread for each node X. If page_ext_init is called before it, some pages will not have valid extension, so move

Re: [PATCH] edac:Fix kernel panic regression in edac_mc_reset_delay_period

2016-05-19 Thread Borislav Petkov
On Thu, May 19, 2016 at 06:10:37PM -0400, nick wrote: > Here is the issue though it does not happen on v4.4 but on newer > kernels. I bisected it and it does work if the commit I stated is > reverted, and working at that commit the only line changed in any > function is in my patch. Here we can

Re: [PATCH] tty: vt: Fix soft lockup in fbcon cursor blink timer.

2016-05-19 Thread Scot Doyle
On Tue, 17 May 2016, David Daney wrote: > From: David Daney > > We are getting somewhat random soft lockups with this signature: > > [ 86.992215] [] el1_irq+0xa0/0x10c > [ 86.997082] [] cursor_timer_handler+0x30/0x54 > [ 87.002991] [] call_timer_fn+0x54/0x1a8 > [

Re: [PATCH 2/5] cpufreq: schedutil: support scheduler cpufreq callbacks on remote CPUs

2016-05-19 Thread Rafael J. Wysocki
On Fri, May 20, 2016 at 12:59 AM, Steve Muckle wrote: > On Thu, May 19, 2016 at 10:55:23PM +0200, Rafael J. Wysocki wrote: >> >> > +static inline bool sugov_queue_remote_callback(struct sugov_policy >> >> > *sg_policy, >> >> > +int

Re: linux-next: build failure after merge of the security tree

2016-05-19 Thread Stephen Rothwell
Hi Steve, On Thu, 19 May 2016 14:01:20 +1000 Stephen Rothwell wrote: > > After merging the security tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > fs/cifs/cifs_spnego.c: In function 'init_cifs_spnego': > fs/cifs/cifs_spnego.c:206:12: error:

Re: [RFC PATCH v2 05/18] sched: add task flag for preempt IRQ tracking

2016-05-19 Thread Josh Poimboeuf
On Mon, May 02, 2016 at 08:52:41AM -0700, Andy Lutomirski wrote: > On Mon, May 2, 2016 at 6:52 AM, Josh Poimboeuf wrote: > > On Fri, Apr 29, 2016 at 05:08:50PM -0700, Andy Lutomirski wrote: > >> On Apr 29, 2016 3:41 PM, "Josh Poimboeuf" wrote: > >> > >

Re: [PATCH v2 1/2] i2c: qup: add ACPI support

2016-05-19 Thread Naveen Kaje
Hi Sricharan, On 5/18/2016 12:04 AM, Sricharan wrote: Hi, Add support to get the device parameters from ACPI. Assume that the clocks are managed by firmware. Signed-off-by: Naveen Kaje --- drivers/i2c/busses/i2c-qup.c | 59 +---

Re: [PATCH v2 2/2] i2c: qup: support SMBus block read

2016-05-19 Thread Naveen Kaje
Hi Sricharan, On 5/18/2016 1:06 AM, Sricharan wrote: Hi, +static bool qup_i2c_check_msg_len(struct i2c_msg *msg) { + return ((msg->flags & I2C_M_RD) && (msg->flags & I2C_M_RECV_LEN)); } + +static int qup_i2c_set_tags_smb(u16 addr, u8 *tags, struct qup_i2c_dev *qup, +

Re: [PATCH v4 01/18] nbd: Fix might_sleep warning on xmit timeout

2016-05-19 Thread Pranay Srivastava
On Thu, May 19, 2016 at 11:52 AM, Markus Pargmann wrote: > Hi, > > On Wed, May 11, 2016 at 11:18:29AM +0300, Pranay Kr. Srivastava wrote: >> This patch fixes the warning generated when a timeout occurs >> on the request and socket is closed from a non-sleep context >> by >>

Re: [PATCH 4/5] cpufreq: schedutil: map raw required frequency to CPU-supported frequency

2016-05-19 Thread Rafael J. Wysocki
On Thu, May 19, 2016 at 9:35 PM, Steve Muckle wrote: > On Thu, May 19, 2016 at 01:37:40AM +0200, Rafael J. Wysocki wrote: >> On Mon, May 9, 2016 at 11:20 PM, Steve Muckle >> wrote: >> > The mechanisms for remote CPU updates and slow-path

Re: [PATCH 5/5] cpufreq: schedutil: do not update rate limit ts when freq is unchanged

2016-05-19 Thread Rafael J. Wysocki
On Thu, May 19, 2016 at 9:46 PM, Steve Muckle wrote: > On Thu, May 19, 2016 at 01:44:36AM +0200, Rafael J. Wysocki wrote: >> On Mon, May 9, 2016 at 11:20 PM, Steve Muckle >> wrote: >> > The rate limit timestamp (last_freq_update_time) is

[RFC] iio: Add driver for Silabs si1132, si1141/2/3 and si1145/6/7 ambient light, uv index and proximity sensors

2016-05-19 Thread Peter Meerwald-Stadler
From: Peter Meerwald The si114x supports x=1,2,3 IR LEDs for proximity sensing together with visible and IR ambient light sensing (ALS). Newer parts (si1132, si1145/6/7) can measure UV light and compute an UV index Arranging 3 IR LEDs in a triangular shape can be used for

[GIT PULL 00/11] perf/core improvements and fixes

2016-05-19 Thread Arnaldo Carvalho de Melo
-05-16 23:11:54 -0300) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160519 for you to fetch changes up to f978a7b47e5a31d4057187153f71e95b24455e54: perf tools: Set buildid dir under symfs when --symfs

[PATCH 07/11] perf tools: Fix usage of max_stack sysctl

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We cannot limit processing stacks from the current value of the sysctl, as we may be processing perf.data files, possibly from other machines. Instead use the old PERF_MAX_STACK_DEPTH, the sysctl default, that can be overriden using --max-stack or

[PATCH 03/11] perf trace: Warn when trying to resolve kernel addresses with kptr_restrict=1

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hook into the libtraceevent plugin kernel symbol resolver to warn the user that that can't happen with kptr_restrict=1. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian

[PATCH 04/11] perf top: Use machine->kptr_restrict_warned

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Its now there, no need to have it too. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian Wolff Cc: Namhyung Kim Cc: Wang Nan

[PATCH 11/11] perf tools: Set buildid dir under symfs when --symfs is provided

2016-05-19 Thread Arnaldo Carvalho de Melo
From: He Kuang This patch moves the reference of buildid dir to 'symfs/.debug' and skips the local buildid dir when '--symfs' is given, so that every single file opened by perf is relative to symfs directory now. Signed-off-by: He Kuang Acked-by: David

[PATCH 08/11] perf annotate: Fix identification of ARM blt and bls instructions

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Chris Ryder The ARM blt and bls instructions are not correctly identified when parsing assembly because the list of recognised instructions must be sorted by name. Swap the ordering of blt and bls. Signed-off-by: Chris Ryder Acked-by: Pawel Moll

[PATCH 05/11] perf trace: Fix exit_group() formatting

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This doesn't return, so there is no raw_syscalls:sys_exit for it, add the ending ')', without any return value, since it is void. Reported-by: Ingo Molnar Cc: Adrian Hunter Cc: David Ahern

[PATCH 01/11] perf tools: Find vdso supporting cross-platform analysis

2016-05-19 Thread Arnaldo Carvalho de Melo
From: He Kuang There's a problem in machine__findnew_vdso(), vdso buildid generated by a 32-bit machine stores it with the name 'vdso', but when processing buildid on a 64-bit machine with the same 'perf.data', perf will search for vdso named as 'vdso32' and get failed. This

[PATCH 10/11] perf trace: Only auto set call-graph to "dwarf" when syscalls are being traced

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When --min-stack or --max-stack is passwd but --no-syscalls is also in effect, there is no point in automatically setting '--call-graph dwarf'. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa

Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option

2016-05-19 Thread Josh Triplett
On Thu, May 19, 2016 at 12:38:47PM -0700, Paul E. McKenney wrote: > On Thu, May 19, 2016 at 09:23:39AM -0700, Paul E. McKenney wrote: > > On Thu, May 19, 2016 at 08:40:42AM -0700, Josh Triplett wrote: > > > On Thu, May 19, 2016 at 07:10:13AM -0700, Paul E. McKenney wrote: > > > > On Wed, May 18,

Re: [PATCH] usb: echi-hcd: Add ehci_setup check before echi_shutdown

2016-05-19 Thread Andy Gross
On 19 May 2016 at 05:12, Srinivas Kandagatla wrote: > +++ b/drivers/usb/host/ehci-hcd.c > @@ -368,6 +368,15 @@ static void ehci_shutdown(struct usb_hcd *hcd) > { > struct ehci_hcd *ehci = hcd_to_ehci(hcd); > > + /** > +* Protect the system

Re: [PATCH v2 0/5] ACPI: ARM64: support for ACPI_TABLE_UPGRADE

2016-05-19 Thread Rafael J. Wysocki
4 > > It was first sent by Jon Masters [3] to linaro-acpi in December 2015 > > Tested on QEMU (arm64 and x86) and ThunderX > Should be applied to next-20160519 > > v2: > - add Acked-by: Lv Zheng <lv.zh...@intel.com> > - replace the original patch "ACPI: table

[PATCH v3 2/2] i2c: qup: support SMBus block read

2016-05-19 Thread Austin Christ
From: Naveen Kaje I2C QUP driver relies on SMBus emulation support from the framework. To handle SMBus block reads, the driver should check I2C_M_RECV_LEN flag and should read the first byte received as the message length. The driver configures the QUP hardware to read one

[PATCH v3 1/2] i2c: qup: add ACPI support

2016-05-19 Thread Austin Christ
From: Naveen Kaje Add support to get the device parameters from ACPI. Assume that the clocks are managed by firmware. Signed-off-by: Naveen Kaje Signed-off-by: Austin Christ --- drivers/i2c/busses/i2c-qup.c | 60

Re: ioatdma(Intel(R) I/OAT DMA Engine init failed)

2016-05-19 Thread Yinghai Lu
On Thu, May 19, 2016 at 1:17 PM, Jiang, Dave wrote: >> > > And I checked the config and found the CONFIG_PCI_MMCONFIG=y. The >> > > following string also can be observed in the dmesg: >> > > >> > > [1.419853] PCI: MMCONFIG for domain [bus 00-ff] at >> > >

Re: [PATCH 5/5] cpufreq: schedutil: do not update rate limit ts when freq is unchanged

2016-05-19 Thread Steve Muckle
On Thu, May 19, 2016 at 11:15:52PM +0200, Rafael J. Wysocki wrote: > But anyway this change again seems to be an optimization that might be > done later to me. > > I guess there are many things that might be optimized in schedutil, > but I'd prefer to address one item at a time, maybe going after

Re: [PATCH] iio: light: jsa1212: remove unneeded i2c check functionality test

2016-05-19 Thread Matt Ranostay
Reviewed-by: Matt Ranostay On Thu, May 19, 2016 at 11:37 AM, sathyanarayanan kuppuswamy wrote: > Looks Good. > > Reviewed-by:Kuppuswamy Sathyanarayanan > > > > On 05/15/2016 11:37

Re: [RFC v1 2/2] mm: SLUB Freelist randomization

2016-05-19 Thread Thomas Garnier
I ran the test given by Joonsoo and it gave me these minimum cycles per size across 20 usage: size,before,after 8,63.00,64.50 (102.38%) 16,64.50,65.00 (100.78%) 32,65.00,65.00 (100.00%) 64,66.00,65.00 (98.48%) 128,66.00,65.00 (98.48%) 256,64.00,64.00 (100.00%) 512,65.00,66.00 (101.54%)

Re: [PATCH 1/3] MIPS: ralink: fix MT7628 pinmux typos

2016-05-19 Thread John Crispin
On 19/05/2016 22:07, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas Hi Alvaro, I think my SoB is missing as i am the original author of these 3 patches. John > --- > arch/mips/ralink/mt7620.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

[patch] mm, migrate: increment fail count on ENOMEM

2016-05-19 Thread David Rientjes
If page migration fails due to -ENOMEM, nr_failed should still be incremented for proper statistics. This was encountered recently when all page migration vmstats showed 0, and inferred that migrate_pages() was never called, although in reality the first page migration failed because

Re: linux-next 20160512 - ACPI issue with screen brightness

2016-05-19 Thread Valdis . Kletnieks
roblem is present then. If it is, please revert all of > the top-most commits up to and including the above one and see if the > problem goes away. Put this one in the "things that go bump in the night" pile - the problem doesn't manifest on next-20160519, even though the commit I bisected to is in the tree for today, and I don't see any obvious smoking guns to have fixed it in the past week's worth of 'git log' pgp3OdhuVCW76.pgp Description: PGP signature

Re: [PATCH] mm: move page_ext_init after all struct pages are initialized

2016-05-19 Thread Andrew Morton
On Thu, 19 May 2016 15:35:15 -0700 "Shi, Yang" wrote: > On 5/19/2016 3:30 PM, Andrew Morton wrote: > > On Thu, 19 May 2016 14:29:05 -0700 Yang Shi wrote: > > > >> When DEFERRED_STRUCT_PAGE_INIT is enabled, just a subset of memmap at boot > >> are

[PATCH] ARM: OMAP2: Enable Errata 430973 for OMAP3

2016-05-19 Thread Nishanth Menon
Enable Erratum 430973 similar to commit 5c86c5339c56 ("ARM: omap2plus_defconfig: Enable ARM erratum 430973 for omap3") - Since multiple defconfigs can exist from various points of view (multi_v7, omap2plus etc.. it is always better to enable the erratum from the Kconfig selection point of view so

RE: ioatdma(Intel(R) I/OAT DMA Engine init failed)

2016-05-19 Thread Jiang, Dave
> -Original Message- > From: Koul, Vinod > Sent: Thursday, May 19, 2016 10:23 AM > To: Jiang, Dave > Cc: Gavin Guo ; dmaeng...@vger.kernel.org; > linux-kernel@vger.kernel.org; Williams, Dan J > > Subject: Re:

Re: [PATCH v3] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-05-19 Thread Darren Hart
On Thu, May 19, 2016 at 03:30:32PM +0200, Pali Rohár wrote: > On Monday 25 April 2016 22:06:11 Gabriele Mazzotta wrote: > > 2016-04-18 14:35 GMT+02:00 Pali Rohár : > > > On Tuesday 29 March 2016 15:11:35 Rafael J. Wysocki wrote: > > >> On Monday, March 28, 2016 10:33:09 AM

Re: [PATCH] edac:Fix kernel panic regression in edac_mc_reset_delay_period

2016-05-19 Thread Borislav Petkov
On Thu, May 19, 2016 at 03:44:57PM -0400, Nicholas Krause wrote: > This fixes a kernel panic regression in the function, > edac_mc_reset_delay_period as show by this kernel panic > trace: > [ 58.402137] BUG: unable to handle kernel paging request at 00015d10 > [ 58.410564] IP: []

Re: pull-request: wireless-drivers-next 2016-05-13 (take two)

2016-05-19 Thread Reinoud Koornstra
On Thu, May 19, 2016 at 6:45 AM, Kalle Valo wrote: > Hi Dave, > > this the second version of the last pull request to net-next for 4.7, > which got postponed due to the recent iwlwifi merge conflict. Now that > Linus fixed the merge problem in his tree I actually didn't have

[v2 PATCH] mm: move page_ext_init after all struct pages are initialized

2016-05-19 Thread Yang Shi
When DEFERRED_STRUCT_PAGE_INIT is enabled, just a subset of memmap at boot are initialized, then the rest are initialized in parallel by starting one-off "pgdatinitX" kernel thread for each node X. If page_ext_init is called before it, some pages will not have valid extension, this may lead the

Re: [PATCH 2/5] cpufreq: schedutil: support scheduler cpufreq callbacks on remote CPUs

2016-05-19 Thread Steve Muckle
On Thu, May 19, 2016 at 10:55:23PM +0200, Rafael J. Wysocki wrote: > >> > +static inline bool sugov_queue_remote_callback(struct sugov_policy > >> > *sg_policy, > >> > +int cpu) > >> > +{ > >> > + struct cpufreq_policy *policy = sg_policy->policy; >

Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs

2016-05-19 Thread Steve Muckle
On Thu, May 19, 2016 at 11:06:14PM +0200, Rafael J. Wysocki wrote: > > In the case of a remote update the hook has to run (or not) after it is > > known whether preemption will occur so we don't do needless work or > > IPIs. If the policy CPUs aren't known in the scheduler then the early > > hook

Re: [PATCH v4 0/6] Add alignment check for DAX mount

2016-05-19 Thread Eric Sandeen
On 5/10/16 11:23 AM, Toshi Kani wrote: > When a partition is not aligned by 4KB, mount -o dax succeeds, Sorry for being late, but - Shouldn't this and all subsequent patch commits refer to PAGE_SIZE, rather than "4kB?" -Eric

Re: UBSAN whinge in ihci-hub.c

2016-05-19 Thread Alan Stern
On Thu, 19 May 2016, Andrey Ryabinin wrote: > 2016-05-18 22:28 GMT+03:00 Alan Stern : > > On Wed, 18 May 2016, Andrey Ryabinin wrote: > > > >> 2016-05-18 19:09 GMT+03:00 Alan Stern : > >> > On Wed, 18 May 2016, Andrey Ryabinin wrote: > >> > >

Re: [PATCH v2 2/2] i2c: qup: support SMBus block read

2016-05-19 Thread Timur Tabi
Naveen Kaje wrote: +tags[len++] = QUP_TAG_V2_DATARD; +/* 0 implies 256 bytes */ +if (data_len == QUP_READ_LIMIT) +tags[len++] = 0; +else +tags[len++] = data_len; +} Even data_len will always be '1' right ? Yes, but here

Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs

2016-05-19 Thread Rafael J. Wysocki
On Thu, May 19, 2016 at 9:19 PM, Steve Muckle wrote: > On Thu, May 19, 2016 at 02:00:54PM +0200, Rafael J. Wysocki wrote: >> On Thu, May 19, 2016 at 1:33 AM, Rafael J. Wysocki wrote: >> > On Mon, May 9, 2016 at 11:20 PM, Steve Muckle

[PULL REQUEST] i2c for 4.7

2016-05-19 Thread Wolfram Sang
Linus, I2C updates for 4.7: * Peter Rosin did some major rework on the locking of i2c muxes by seperating parent-locked muxes and mux-locked muxes. This avoids deadlocks/workarounds when the mux itself needs i2c commands for muxing. And as a side-effect, other workarounds in the media

[PATCH 06/11] perf callchain: Stop validating callchains by the max_stack sysctl

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo As thread__resolve_callchain_sample can be used for handling perf.data files, that could've been recorded with a large max_stack sysctl setting than what the system used for analysis has set. Cc: Adrian Hunter Cc:

[PATCH 02/11] perf machine: Do not bail out if not managing to read ref reloc symbol

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This means the user can't access /proc/kallsyms, for instance, because /proc/sys/kernel/kptr_restrict is set to 1. Instead leave the ref_reloc_sym as NULL and code using it will cope. This allows 'perf trace' to work on such systems for !root,

[PATCH 09/11] perf annotate: Sort list of recognised instructions

2016-05-19 Thread Arnaldo Carvalho de Melo
From: Chris Ryder Currently the list of instructions recognised by perf annotate has to be explicitly written in sorted order. This makes it easy to make mistakes when adding new instructions. Sort the list of instructions on first access. Signed-off-by: Chris Ryder

[PATCH] locking/mutex: Set and clear owner using WRITE_ONCE()

2016-05-19 Thread Jason Low
The mutex owner can get read and written to without the wait_lock. Use WRITE_ONCE when setting and clearing the owner field in order to avoid optimizations such as store tearing. This avoids situations where the owner field gets written to with multiple stores and another thread could concurrently

[PATCH] fbcon: warn on invalid cursor blink intervals

2016-05-19 Thread Scot Doyle
Two systems are locking on boot [1] because ops->cur_blink_jiffies is set to zero from vc->vc_cur_blink_ms. Ignore such invalid intervals and log a warning. [1] https://bugs.launchpad.net/bugs/1574814 Suggested-by: David Daney Signed-off-by: Scot Doyle

Re: get_maintainer.pl and MAINTAINERS file

2016-05-19 Thread Joe Perches
On Thu, 2016-05-19 at 21:53 +0200, Jiri Slaby wrote: > Cc: joe > > On 05/19/2016, 02:57 PM, Kalle Valo wrote: > > > > (Changed the subject from "Re: [PATCH v6 0/3] auxdisplay: Introduce ht16k33 > > driver") > > > > Robin van der Gracht writes: > > > > > > > > > > > > >

[PATCH 1/3] MIPS: ralink: fix MT7628 pinmux typos

2016-05-19 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/ralink/mt7620.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c index 0d3d1a9..caabee1 100644 --- a/arch/mips/ralink/mt7620.c +++

[PATCH 2/3] MIPS: ralink: fix MT7628 wled_an pinmux gpio

2016-05-19 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/ralink/mt7620.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c index caabee1..9f80492 100644 --- a/arch/mips/ralink/mt7620.c +++

Re: [PATCH v7 0/3] ASoC: cygnus: Add audio support for Broadcom Cygnus SoC

2016-05-19 Thread Scott Branden
Looks good Simran. Mark, anything else for us to do before this driver can be accepted upstream? On 16-05-17 12:46 PM, Simran Rai wrote: From: Simran Hi, This patchset contains audio support for Broadcom's Cygnus SoC. It contains DT bindings

Re: [PATCH 2/5] cpufreq: schedutil: support scheduler cpufreq callbacks on remote CPUs

2016-05-19 Thread Rafael J. Wysocki
On Thu, May 19, 2016 at 8:40 PM, Steve Muckle wrote: > On Thu, May 19, 2016 at 01:24:41AM +0200, Rafael J. Wysocki wrote: >> On Mon, May 9, 2016 at 11:20 PM, Steve Muckle >> wrote: >> > In preparation for the scheduler cpufreq callback happening

Re: [PATCH RFC] user-namespaced file capabilities - now with more magic

2016-05-19 Thread Mimi Zohar
On Wed, 2016-05-18 at 16:57 -0500, Serge E. Hallyn wrote: > This patch introduces a new security.nscapability xattr. It > is mostly like security.capability, but also lists a 'rootid'. > This is the uid_t (in init_user_ns) of the root id (uid 0 in a > namespace) in whose namespaces the file

Re: [PATCH] fbcon: use default if cursor blink interval is not valid

2016-05-19 Thread Scot Doyle
On Thu, 19 May 2016, David Daney wrote: > On 05/18/2016 09:21 PM, Scot Doyle wrote: > > Two current [1] and three previous [2] systems locked during boot > > because the cursor flash timer was set using an ops->cur_blink_jiffies > > value of 0. Previous patches attempted to solve the problem by

[PATCH] ARM: dts: exynos: Remove unneded always-on for regulators on Peach boards

2016-05-19 Thread Javier Martinez Canillas
The regulator always-on property should only be used for regulators that either can't be disabled or the drivers for the client devices are not enabling the regulator and so being disabled due to unused. There are some max77802 regulators in the Peach Pit and Pi boards that are always-on but

Re: [PATCH v3] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-05-19 Thread Alex Williamson
On Thu, 12 May 2016 18:20:51 +0800 Yongji Xie wrote: > Current vfio-pci implementation disallows to mmap > sub-page(size < PAGE_SIZE) MMIO BARs because these BARs' mmio > page may be shared with other BARs. This will cause some > performance issues when we passthrough

Re: [PATCH] mm: move page_ext_init after all struct pages are initialized

2016-05-19 Thread Shi, Yang
On 5/19/2016 3:30 PM, Andrew Morton wrote: On Thu, 19 May 2016 14:29:05 -0700 Yang Shi wrote: When DEFERRED_STRUCT_PAGE_INIT is enabled, just a subset of memmap at boot are initialized, then the rest are initialized in parallel by starting one-off "pgdatinitX" kernel

Re: [PATCH] mm: move page_ext_init after all struct pages are initialized

2016-05-19 Thread Shi, Yang
On 5/19/2016 4:21 PM, Andrew Morton wrote: On Thu, 19 May 2016 15:35:15 -0700 "Shi, Yang" wrote: On 5/19/2016 3:30 PM, Andrew Morton wrote: On Thu, 19 May 2016 14:29:05 -0700 Yang Shi wrote: When DEFERRED_STRUCT_PAGE_INIT is enabled, just a subset

sharing page cache pages between multiple mappings

2016-05-19 Thread Miklos Szeredi
Has anyone thought about sharing pages between multiple files? The obvious application is for COW filesytems where there are logically distinct files that physically share data and could easily share the cache as well if there was infrastructure for it. Thanks, Miklos

Re: [GIT] Networking

2016-05-19 Thread Reinoud Koornstra
On Wed, May 18, 2016 at 12:51 PM, Linus Torvalds wrote: > On Wed, May 18, 2016 at 11:45 AM, Linus Torvalds > wrote: >> >> From what I can tell, there's a merge bug in commit 909b27f70643, >> where David seems to have lost some of the

Re: [PATCH 1/1] iwlwifi: rs: remove superfluous check

2016-05-19 Thread Coelho, Luciano
On Wed, 2016-05-18 at 01:31 +0200, Heinrich Schuchardt wrote: > If we dereference a variable anyway in other parts of the code, > there is no need to check against NULL in a single place. NACK.  This is not true. If lq_sta is NULL, it means that mvm_sta is also NULL.  Then we call the

[PATCH v2] xfs: hide unused variable

2016-05-19 Thread Arnd Bergmann
The newly added xfs_finish_page_writeback() function causes a harmless gcc warning when debugging is disabled: fs/xfs/xfs_aops.c: In function 'xfs_finish_page_writeback': fs/xfs/xfs_aops.c:97:16: error: unused variable 'blockmask' [-Werror=unused-variable] unsigned int blockmask = (1 <<

Re: [RFC PATCH 2/3] mmc: host: omap_hsmmc: Enable ADMA2

2016-05-19 Thread Peter Ujfalusi
On 05/18/2016 11:45 AM, Kishon Vijay Abraham I wrote: > omap hsmmc host controller has ADMA2 feature. Enable it here > for better read and write throughput. Add a new dt binding > "ti,use_adma" to enable ADMA2. > > Signed-off-by: Kishon Vijay Abraham I > --- >

Re: [PATCH] fbcon: use default if cursor blink interval is not valid

2016-05-19 Thread Ming Lei
On Thu, May 19, 2016 at 12:21 PM, Scot Doyle wrote: > Two current [1] and three previous [2] systems locked during boot > because the cursor flash timer was set using an ops->cur_blink_jiffies > value of 0. Previous patches attempted to solve the problem by moving > variable

Re: [PATCH v2] locking/rwsem: Add reader-owned state to the owner field

2016-05-19 Thread Peter Zijlstra
On Thu, May 19, 2016 at 11:37:53AM +1000, Dave Chinner wrote: > On Fri, May 06, 2016 at 08:20:24PM -0400, Waiman Long wrote: > > Currently, it is not possible to determine for sure if a reader > > owns a rwsem by looking at the content of the rwsem data structure. > > This patch adds a new state

[PATCH v4] Input - surface3_spi: add new driver for the Surface 3

2016-05-19 Thread Benjamin Tissoires
This is a basic driver for the Surface 3. I am not so sure it will work with any firmwares as most values are encoded, but given that I only have access to my current device with its firmware and I don't have the datasheet, it should be OK for now. The Surface Pen is not supported (if it is

[PATCH] ARM: lpc32xx: fix NR_IRQS confict

2016-05-19 Thread Arnd Bergmann
With the change to sparse IRQs, the lpc32xx platform gets a warning about conflicting macros: In file included from arch/arm/mach-lpc32xx/irq.c:31:0: arch/arm/mach-lpc32xx/include/mach/irqs.h:115:0: warning: "NR_IRQS" redefined #define NR_IRQS96 arch/arm/include/asm/irq.h:9:0: note: this is

[PATCH v2] mmc: mmc: do not use CMD13 to get status after speed mode

2016-05-19 Thread Chaotian Jing
base on Adrian's comment to split it to 2 patches fix switch timeout issue caused by jiffies

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

2016-05-19 Thread PaX Team
On 19 May 2016 at 16:22, Michael Ellerman wrote: > On Wed, 2016-05-18 at 12:33 +0200, Emese Revfy wrote: > > Did you test the plugins with all gcc versions (4.5-6)? > > What's the concern about gcc versions? Just not breaking the build on old > compilers? the earlier plugin capable gcc versions

Re: [PATCH 3/4] uio: introduce devicetree bindings for uio_dmem_genirq

2016-05-19 Thread Jan Viktorin
Hello Rob, thank you for your opinion... On Wed, 18 May 2016 12:01:05 -0500 Rob Herring wrote: > On Tue, May 17, 2016 at 11:22:19AM +0200, Jan Viktorin wrote: > > Signed-off-by: Jan Viktorin > > --- > > .../devicetree/bindings/uio/uio_dmem_genirq.txt

[PATCH 3/3] mmc: mmc: fix switch timeout issue caused by jiffies precision

2016-05-19 Thread Chaotian Jing
with CONFIG_HZ=100, the precision of jiffies is 10ms, and the generic_cmd6_time of some card is also 10ms. then, may be current time is only 5ms, but already timed out caused by jiffies precision. Signed-off-by: Chaotian Jing --- drivers/mmc/core/mmc_ops.c | 2 +- 1

[PATCH 1/3] mmc: mmc: use ops->card_busy() to check card status in __mmc_switch()

2016-05-19 Thread Chaotian Jing
some MMC host do not support MMC_CAP_WAIT_WHILE_BUSY but provides ops->card_busy(), So, add this method to check card status after switch command. Signed-off-by: Chaotian Jing --- drivers/mmc/core/mmc_ops.c | 25 - 1 file changed, 16

[PATCH v2] input: tablet: add Pegasus Notetaker tablet driver

2016-05-19 Thread Martin Kepplinger
This adds a driver for the Pegasus Notetaker Pen. When connected, this uses the Pen as an input tablet. This device was sold in various different brandings, for example "Pegasus Mobile Notetaker M210", "Genie e-note The Notetaker", "Staedtler Digital ballpoint pen 990 01",

[PATCH 2/3] mmc: mmc: do not use CMD13 to get status after speed mode switch

2016-05-19 Thread Chaotian Jing
Per JEDEC spec, it is not recommended to use CMD13 to get card status after speed mode switch. below are two reason about this: 1. CMD13 cannot be guaranteed due to the asynchronous operation. Therefore it is not recommended to use CMD13 to check busy completion of the timing change indication. 2.

RE: [PATCH] usb: gadget: f_fs: report error if excess data received

2016-05-19 Thread Du, Changbin
Hi, > > I'd prefer fail the request at all, and it is better done in HW. > > Because per the USB Spec that device can return NAK if a function was > > unable to accept data From the host. The DWC3 has not been design as > > this, if software fail the transfer, it is a little weird for host. > > >

Re: [PATCH v6 0/3] auxdisplay: Introduce ht16k33 driver

2016-05-19 Thread Robin van der Gracht
On Wed, 18 May 2016 08:09:24 -0700 Greg Kroah-Hartman wrote: > On Wed, May 18, 2016 at 02:23:16PM +0200, Robin van der Gracht wrote: > > This patchset adds a new driver to the auxdisplay subsystem. It > > also adds devicetree bindings documentation and a new vendor

[PATCH] [SCSI] aacraid: use kmemdup

2016-05-19 Thread Muhammad Falak R Wani
Use kmemdup when some other buffer is immediately copied into allocated region. It replaces call to allocation followed by memcpy, by a single call to kmemdup. Signed-off-by: Muhammad Falak R Wani --- drivers/scsi/aacraid/commctrl.c | 7 +++ 1 file changed, 3

Re: [PATCH v2 4/9] powerpc/powernv: Make power7_powersave_common more generic

2016-05-19 Thread Gautham R Shenoy
On Wed, May 18, 2016 at 12:21:17PM +0530, Shreyas B Prabhu wrote: > With this patch, r5 which is the third parameter to > power_powersave_common contains the return address that needs to be > written to SRR0. So here I'm keeping r5 unaltered and using r7 for the MSR. Ok. Reviewed-by: Gautham R.

Re: [PATCH] drm/amd/powerplay/hwmgr: use kmemdup

2016-05-19 Thread Alex Deucher
On Thu, May 19, 2016 at 7:15 AM, Muhammad Falak R Wani wrote: > Use kmemdup when some other buffer is immediately copied into allocated > region. It replaces call to allocation followed by memcpy, by a single > call to kmemdup. > > Signed-off-by: Muhammad Falak R Wani

Re: [PATCH v2] KVM: halt-polling: poll if emulated lapic timer will fire soon

2016-05-19 Thread Christian Borntraeger
On 05/19/2016 04:56 PM, Paolo Bonzini wrote: > > > On 19/05/2016 16:52, Christian Borntraeger wrote: Would this work too and be simpler? >> Hmm, your patch does only fiddle with the grow/shrink logic (which might >> be a good idea independently of this change), but the original patch >>

[RFC PATCH v2 1/3] arch/powerpc : Add detour buffer support for optprobes

2016-05-19 Thread Anju T
Detour buffer contains instructions to create an in memory pt_regs. After the execution of prehandler a call is made for instruction emulation. The NIP is decided after the probed instruction is executed. Hence a branch instruction is created to the NIP returned by emulate_step(). Instruction

[PATCH v3 2/8] asm-generic/io.h: add io{read,write}64 accessors

2016-05-19 Thread Horia Geantă
This will allow device drivers to consistently use io{read,write}XX also for 64-bit accesses. Acked-by: Arnd Bergmann Signed-off-by: Horia Geantă --- include/asm-generic/io.h| 63 + include/asm-generic/iomap.h

Re: [PATCH v12 07/13] task_isolation: add debug boot flag

2016-05-19 Thread Chris Metcalf
(Resending in text/plain. I just screwed around with my Thunderbird config some more in hopes of getting it to pay attention to all the settings that say "use plain text for LKML", but, we'll see.) On 5/18/2016 1:06 PM, Peter Zijlstra wrote: On Wed, May 18, 2016 at 12:35:19PM -0400, Chris

  1   2   3   4   5   6   7   8   9   10   >