[PATCH 3.2 65/94] IB/mlx4: Fix the SQ size of an RC QP

2016-08-13 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Yishai Hadas commit f2940e2c76bb554a7fbdd28ca5b90904117a9e96 upstream. When calculating the required size of an RC QP send queue, leave enough space for masked atomic operations, which require

[PATCH 3.16 173/305] USB: quirks: Fix entries on wrong list in 3.16.y

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Commits ddbe1fca0bcb ("USB: Add device quirk for ASUS T100 Base Station keyboard") and e5dff0e80463 ("USB: Add OTG PET device to TPL") were wrongly backported to 3.16.y. The orig

[PATCH 3.16 078/305] ring-buffer: Prevent overflow of size in ring_buffer_resize()

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 59643d1535eb220668692a5359de22545af579f6 upstream. If the size passed to ring_buffer_resize() is greater than MAX_LONG - BUF_PAGE_SIZE then the DIV_ROUND_UP(

[PATCH 3.16 277/305] ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Kangjie Lu commit cec8f96e49d9be372fdb0c3836dcf31ec71e457e upstream. The stack object “tread” has a total size of 32 bytes. Its field “event” and “val” both contain 4 bytes padding. These 8 by

[PATCH 3.16 053/305] MIPS: Don't unwind to user mode with EVA

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: James Hogan commit a816b306c62195b7c43c92cb13330821a96bdc27 upstream. When unwinding through IRQs and exceptions, the unwinding only continues if the PC is a kernel text address, however since

[PATCH 3.2 29/94] sunrpc: Update RPCBIND_MAXNETIDLEN

2016-08-13 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit 4b9c7f9db9a003f5c342184dc4401c1b7f2efb39 upstream. Commit 176e21ee2ec8 ("SUNRPC: Support for RPC over AF_LOCAL transports") added a 5-character netid, but did not bump RPCBIN

[PATCH 3.16 281/305] rds: fix an infoleak in rds_inc_info_copy

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Kangjie Lu commit 4116def2337991b39919f3b448326e21c40e0dbb upstream. The last field "flags" of object "minfo" is not initialized. Copying this object out may leak kernel stack data. Assign 0 t

[PATCH 3.16 005/305] ath5k: Change led pin configuration for compaq c700 laptop

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Joseph Salisbury commit 7b9bc799a445aea95f64f15e0083cb19b5789abe upstream. BugLink: http://bugs.launchpad.net/bugs/972604 Commit 09c9bae26b0d3c9472cb6ae45010460a2cee8b8d ("ath5k: add led pin

[PATCH 3.16 201/305] hwmon: (dell-smm) Restrict fan control and serial number to CAP_SYS_ADMIN by default

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Pali Rohár commit 7613663cc186f8f3c50279390ddc60286758001c upstream. For security reasons ordinary user must not be able to control fan speed via /proc/i8k by default. Some malicious software

[PATCH 3.16 224/305] ALSA: dummy: Fix a use-after-free at closing

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d5dbbe6569481bf12dcbe3e12cff72c5f78d272c upstream. syzkaller fuzzer spotted a potential use-after-free case in snd-dummy driver when hrtimer is used as backend: > =

[PATCH 3.2 05/94] alpha/PCI: Call iomem_is_exclusive() for IORESOURCE_MEM, but not IORESOURCE_IO

2016-08-13 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit c20e128030caf0537d5e906753eac1c28fefdb75 upstream. The alpha pci_mmap_resource() is used for both IORESOURCE_MEM and IORESOURCE_IO resources, but iomem_is_exclusive() is on

[PATCH 3.16 270/305] xen/acpi: allow xen-acpi-processor driver to load on Xen 4.7

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 6f2d9d99213514360034c6d52d2c3919290b3504 upstream. As of Xen 4.7 PV CPUID doesn't expose either of CPUID[1].ECX[7] and CPUID[0x8007].EDX[7] anymore, causing the driver t

[PATCH 3.16 133/305] powerpc: Use privileged SPR number for MMCR2

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Huth commit 8dd75ccb571f3c92c48014b3dabd3d51a115ab41 upstream. We are already using the privileged versions of MMCR0, MMCR1 and MMCRA in the kernel, so for MMCR2, we should better use t

[PATCH 3.2 28/94] fs/cifs: correctly to anonymous authentication for the NTLM(v2) authentication

2016-08-13 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Metzmacher commit 1a967d6c9b39c226be1b45f13acd4d8a5ab3dc44 upstream. Only server which map unknown users to guest will allow access using a non-null NTLMv2_Response. For Samba it's the

[PATCH 3.16 259/305] x86/power/64: Fix kernel text mapping corruption during image restoration

2016-08-13 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 65c0554b73c920023cc8998802e508b798113b46 upstream. Logan Gunthorpe reports that hibernation stopped working reliably for him after commit ab76f7b4ab23 (x86/mm: Set N

[PATCH] pinctrl: meson: get rid of unneeded domain structures

2016-08-13 Thread Beniamino Galvani
The driver originally supported more domains (register ranges) per pinctrl device, but since commit 9dab1868ec0d ("pinctrl: amlogic: Make driver independent from two-domain configuration") each device gets assigned a single domain and we instantiate multiple pinctrl devices in the DT. Therefore, n

Re: [dm-devel] [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks

2016-08-13 Thread Mikulas Patocka
On Fri, 12 Aug 2016, Michal Hocko wrote: > On Thu 04-08-16 14:49:41, Mikulas Patocka wrote: > > > On Wed, 3 Aug 2016, Michal Hocko wrote: > > > > > But the device congestion is not the only condition required for the > > > throttling. The pgdat has also be marked congested which means that the

Re: staging: ks7010: Replace three printk() calls by pr_err()

2016-08-13 Thread Joe Perches
On Sat, 2016-08-13 at 13:10 +0200, SF Markus Elfring wrote: > > > Prefer usage of the macro "pr_err" over the interface "printk". > > Not correct > A checkpatch warning like "PREFER_PR_LEVEL" can point additional > possibilities out > for this use case. > Would you like to introduce any of the hig

Re: [PATCH v3 0/7] x86: Rewrite switch_to()

2016-08-13 Thread Linus Torvalds
On Sat, Aug 13, 2016 at 9:38 AM, Brian Gerst wrote: > This patch set simplifies the switch_to() code, by moving the stack switch > code out of line into an asm stub before calling __switch_to(). This ends > up being more readable, and using the C calling convention instead of > clobbering all reg

[PATCH 1/3] befs: fix typos in datastream.c

2016-08-13 Thread Luis de Bethencourt
Signed-off-by: Luis de Bethencourt --- Hi, This is a series of patches fixing small issues in datastream.c. On the process of doing the same for the rest of files. To finish cleanup and start adding documentation and new features. Thanks, Luis fs/befs/datastream.c | 8 1 file change

[PATCH 2/3] befs: improve documentation in datastream.c

2016-08-13 Thread Luis de Bethencourt
Convert function descriptions to kernel-doc style. Signed-off-by: Luis de Bethencourt --- fs/befs/datastream.c | 193 ++- 1 file changed, 98 insertions(+), 95 deletions(-) diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c index b2eb5b5..5ce

[PATCH 3/3] befs: befs: fix style issues in datastream.c

2016-08-13 Thread Luis de Bethencourt
Fixing the following checkpatch.pl errors: ERROR: "foo * bar" should be "foo *bar" +befs_blocknr_t blockno, befs_block_run * run); WARNING: Missing a blank line after declarations + struct buffer_head *bh; + befs_debug(sb, "---> %s length: %llu", __func__,

Re: [PATCH] sched: Avoid that __wait_on_bit_lock() hangs

2016-08-13 Thread Oleg Nesterov
Forgot to mention... On 08/12, Bart Van Assche wrote: > > --- a/mm/filemap.c > +++ b/mm/filemap.c > @@ -1643,7 +1643,12 @@ find_page: >* wait_on_page_locked is used to avoid unnecessarily >* serialisations and why it's safe. >

Re: [PATCH 2/2 v3] be2iscsi: Fix some error messages

2016-08-13 Thread Joe Perches
On Sat, 2016-08-13 at 09:41 -0700, Joe Perches wrote: > On Sat, 2016-08-13 at 14:31 +0200, Christophe JAILLET wrote: > > Le 13/08/2016 à 13:35, Joe Perches a écrit : > > > > @@ -268,7 +268,7 @@ static int beiscsi_eh_abort(struct scsi_cmnd *sc) > > > >    &nonemb_cmd.dma

[PATCH] android: binder: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
The workqueue is being used to run deferred work for the android binder. The "binder_deferred_workqueue" queues only a single work item and hence does not require ordering. Also, this workqueue is not being used on a memory recliam path. Hence, the singlethreaded workqueue has been replaced with t

Re: [PATCH 2/2 v3] be2iscsi: Fix some error messages

2016-08-13 Thread Joe Perches
On Sat, 2016-08-13 at 14:31 +0200, Christophe JAILLET wrote: > Le 13/08/2016 à 13:35, Joe Perches a écrit : > > > @@ -268,7 +268,7 @@ static int beiscsi_eh_abort(struct scsi_cmnd *sc) > > >   &nonemb_cmd.dma); > > >   if (nonemb_cmd.va == NULL) { > > >   

[PATCH] edac: wq: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. wq has been identity converted since it is used to detect things like ECC memory errors. It's not recommended to stall it from memory pressure. Hence, WQ_MEM_REC

[PATCH v3 6/7] x86: Fix thread_saved_pc()

2016-08-13 Thread Brian Gerst
thread_saved_pc() was using a completely bogus method to get the return address. Since switch_to() was previously inlined, there was no sane way to know where on the stack the return address was stored. Now with the frame of a sleeping thread well defined, this can be implemented correctly. Sign

[PATCH v3 3/7] x86: Add struct inactive_task_frame

2016-08-13 Thread Brian Gerst
Add struct inactive_task_frame, which defines the layout of the stack for a sleeping process. For now, the only defined field is the BP register (frame pointer). Signed-off-by: Brian Gerst --- arch/x86/include/asm/stacktrace.h | 4 ++-- arch/x86/include/asm/switch_to.h | 5 + arch/x86/kern

[PATCH v3 4/7] x86: Rewrite switch_to() code

2016-08-13 Thread Brian Gerst
Move the low-level context switch code to an out-of-line asm stub instead of using complex inline asm. This allows constructing a new stack frame for the child process to make it seamlessly flow to ret_from_fork without an extra test and branch in __switch_to(). It also improves code generation f

[PATCH v3 5/7] x86: Pass kernel thread parameters in fork_frame

2016-08-13 Thread Brian Gerst
Instead of setting up a fake pt_regs context, put the kernel thread function pointer and arg into the unused callee-restored registers of struct fork_frame. Signed-off-by: Brian Gerst --- arch/x86/entry/entry_32.S| 31 +++ arch/x86/entry/entry_64.S| 37

[PATCH v3 7/7] Revert "sched: Mark __schedule() stack frame as non-standard"

2016-08-13 Thread Brian Gerst
Now that the x86 switch_to() uses the standard C calling convention, STACK_FRAME_NON_STANDARD is no longer needed. Suggested-by: Josh Poimboeuf Signed-off-by: Brian Gerst --- kernel/sched/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 3

[PATCH v3 0/7] x86: Rewrite switch_to()

2016-08-13 Thread Brian Gerst
This patch set simplifies the switch_to() code, by moving the stack switch code out of line into an asm stub before calling __switch_to(). This ends up being more readable, and using the C calling convention instead of clobbering all registers improves code generation. It also allows newly forked

[PATCH v3 1/7] x86-32, kgdb: Don't use thread.ip in sleeping_thread_to_gdb_regs()

2016-08-13 Thread Brian Gerst
Match 64-bit and set gdb_regs[GDB_PC] to zero. thread.ip is always the same point in the scheduler (except for newly forked processes), and will be removed in a future patch. Signed-off-by: Brian Gerst --- arch/x86/kernel/kgdb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --gi

[PATCH v3 2/7] x86-64, kgdb: clear GDB_PS on 64-bit

2016-08-13 Thread Brian Gerst
switch_to() no longer saves EFLAGS, so it's bogus to look for it on the stack. Set it to zero like 32-bit. Signed-off-by: Brian Gerst --- arch/x86/kernel/kgdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c index fe649a5..5e3

[PATCH 8/8] power: ds2760_battery: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "monitor_wqueue" is used to monitor the battery status. It has been identity converted. It queues multiple work items viz &di->monitor_work, &di->s

[PATCH 7/8] power: ab8500_fg: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "fg_wq" is used for running the FG algorithm periodically. It has been identity converted. It has multiple work items viz fg_periodic_work, fg_low_

[PATCH 6/8] power: ipaq_micro_battery: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
The workqueue "wq" is used for handling battery related tasks. It has a single work item viz &mb->update and hence it doesn't require execution ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. The WQ_MEM_RECLAIM flag has been set to

Re: [PATCH] sched: Avoid that __wait_on_bit_lock() hangs

2016-08-13 Thread Oleg Nesterov
On 08/12, Bart Van Assche wrote: > > On 08/12/2016 09:16 AM, Oleg Nesterov wrote: > > Please drop two patches I sent before and try the new one below. > > Hello Oleg, > > Thanks for the patch. In addition to your patch I also applied the > attached two patches And I guess you did this because you

[PATCH 5/8] power: ab8500_charger: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "charger_wq" is used for the IRQs and checking HW state of the charger. It has been identity converted. It has multiple work items viz usb_charger_

[PATCH 4/8] power: intel_mid_battery: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
The workqueue "monitor_wqueue" is used to monitor the PMIC battery status. It queues a single work item (pbi->monitor_battery) and hence doesn't require ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. Since PMIC battery status needs

[PATCH 3/8] power: pm2301_charger: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "charger_wq" is used for running all the charger related tasks. This involves charger detection, checking for HW failure and HW status. This workque

[PATCH 2/8] power: ab8500_btemp: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
The workqueue "btemp_wq" is used for measuring the temperature periodically. It queues a single workitem (btemp_periodic_work) and hence doesn't require ordering. Thus, the deprecated create_singlethread_workqueue() instance has been replaced with alloc_workqueue(). The WQ_MEM_RECLAIM flag has bee

[PATCH 1/8] power: abx500_chargalg: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "chargalg_wq" is used for running the charging algorithm. It has multiple workitems viz &di->chargalg_periodic_work, &di->chargalg_wd_work, &di->cha

[PATCH 0/8] Remove deprecated workqueue interface users

2016-08-13 Thread Bhaktipriya Shridhar
This patch set removes the instances of deprecated create_singlethread_workqueues in drivers/power by making the appropriate conversions. Bhaktipriya Shridhar (8): power: abx500_chargalg: Remove deprecated create_singlethread_workqueue power: ab8500_btemp: Remove deprecated create_singlethread

Re: [RFC PATCH 0/3] Documentation: switch to pdflatex and fix pdf build

2016-08-13 Thread Markus Heiser
Am 13.08.2016 um 00:40 schrieb Jonathan Corbet : > On Wed, 10 Aug 2016 18:54:06 +0300 > Jani Nikula wrote: > >> With these you should be able to get started with pdf generation. It's a >> quick transition to pdflatex, the patches are not very pretty, but the >> pdf output is. Patch 3/3 works as

RE: [RFC][PATCH 7/7] cpufreq: intel_pstate: Change P-state selection algorithm for Core

2016-08-13 Thread Doug Smythies
On 2016.08.05 17:02 Rafael J. Wysocki wrote: >> On 2016.08.03 21:19 Doug Smythies wrote: >>> On 2016.07.31 16:49 Rafael J. Wysocki wrote: >>> >>> The PID-base P-state selection algorithm used by intel_pstate for >>> Core processors is based on very weak foundations. >> >> ...[cut]... >> >>> +stat

[PATCH] whci: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue replaces the deprecated create_singlethread_workqueue. The workqueue "workqueue" has multiple workitems which may require ordering. Hence, a dedicated ordered workqueue has been used. Since the workqueue is not being used on a memory reclaim path, WQ_MEM_RECLAIM has not bee

Re: clocksource_watchdog causing scheduling of timers every second (was [v13] support "task_isolation" mode)

2016-08-13 Thread Frederic Weisbecker
On Fri, Aug 12, 2016 at 09:19:19AM -0700, Paul E. McKenney wrote: > On Fri, Aug 12, 2016 at 04:26:13PM +0200, Frederic Weisbecker wrote: > > On Fri, Aug 12, 2016 at 09:23:13AM -0500, Christoph Lameter wrote: > > > On Thu, 11 Aug 2016, Paul E. McKenney wrote: > > > > > > > Heh! The only really goo

[PATCH v2] cfag12864b: Remove deprecated create_singlethread_workqueue

2016-08-13 Thread Bhaktipriya Shridhar
The workqueue has a single workitem(&cfag12864b_work) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been able to handle high level of concurrency for a

Re: [PATCH] time,virt: resync steal time when guest & host lose sync

2016-08-13 Thread Frederic Weisbecker
On Fri, Aug 12, 2016 at 11:58:03AM -0400, Rik van Riel wrote: > On Fri, 12 Aug 2016 15:09:00 +0800 > Wanpeng Li wrote: > > 2016-08-12 10:44 GMT+08:00 Rik van Riel : > > > > If you pass ULONG_MAX as the maxtime argument to > > > steal_account_process_time(), does the steal time > > > get accounted

[v.1] clk:clk-rockchip:-of_iomap failed to remap then abort clock initialization.

2016-08-13 Thread Arvind Yadav
-check return of 'of_iomap'.if It's falied to remap then abort. -Unmap a region obtained by remap. iounmap frees the mapping when failed to allocate the memory. Signed-off-by: Arvind Yadav --- drivers/clk/rockchip/clk-rockchip.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

Re: [PATCH] ilp32: fix {GET,SET}SIGMASK request for ptrace

2016-08-13 Thread Yury Norov
On Mon, Jun 27, 2016 at 12:49:05PM +0800, zhouchengming wrote: > The function compat_ptrace_request(used by ilp32) don't handle > {GET,SET}SIGMASK request, so it will be handled by ptrace_request. > But it's wrong because the compat_sigset_t of ilp32 differs from > the sigset_t of aarch64. The patc

Re: [PATCH 05/19] arm64: rename COMPAT to AARCH32_EL0 in Kconfig

2016-08-13 Thread Yury Norov
On Fri, Aug 12, 2016 at 03:36:12PM +0100, Catalin Marinas wrote: > On Thu, Aug 11, 2016 at 10:29:03PM +0200, Arnd Bergmann wrote: > > On Thursday, August 11, 2016 5:30:03 PM CEST Catalin Marinas wrote: > > > > > > and you can have ARM binaries with > > > > > > PER_LINUX (using the arm64 uname) just

Re: [PATCH 18/19] arm64:ilp32: add vdso-ilp32 and use for signal return

2016-08-13 Thread Yury Norov
On Mon, Jun 20, 2016 at 04:54:17PM +0200, Andreas Schwab wrote: > Yury Norov writes: > > > diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c > > index 2a0de6f..e48ea34 100644 > > --- a/arch/arm64/kernel/vdso.c > > +++ b/arch/arm64/kernel/vdso.c > > @@ -40,6 +40,12 @@ extern char vd

Re: [PACTH v2 1/3] mm, proc: Implement /proc//totmaps

2016-08-13 Thread Jann Horn
On Fri, Aug 12, 2016 at 06:04:20PM -0400, robert.f...@collabora.com wrote: > diff --git a/fs/proc/internal.h b/fs/proc/internal.h > index aa27810..c55e1fe 100644 > --- a/fs/proc/internal.h > +++ b/fs/proc/internal.h > @@ -281,6 +281,7 @@ struct proc_maps_private { > struct mm_struct *mm; > #

Re: [PATCH 3/3] perf/x86/intel/uncore: Add Skylake server uncore support

2016-08-13 Thread Nilay Vaish
On 12 August 2016 at 16:30, Kan Liang wrote: > From: Kan Liang > > This patch implements the uncore monitoring driver for Skylake server. > The uncore subsystem in Skylake server is similar to previous > server. There are some differences in config register encoding and pci > device IDs. Besides,

[GIT PULL] KVM fixes for 4.8-rc2

2016-08-13 Thread Radim Krčmář
Linus, The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to 89a1d43ead15902b1f15768aa1121a2e

Re: [PATCH 1/3] perf/x86/intel/uncore: remove hard code for Node ID mapping location

2016-08-13 Thread Nilay Vaish
On 12 August 2016 at 16:30, Kan Liang wrote: > From: Kan Liang > > The method to build PCI bus to socket mapping is similar among > platforms. However, the PCI location where store Node ID mapping could I think we should replace "where store" with "which store". > vary for different platforms.

Re: [PATCH] [media] vb2: move dma-buf unmap from __vb2_dqbuf() to vb2_buffer_done()

2016-08-13 Thread Hans Verkuil
On 07/20/2016 08:22 PM, Javier Martinez Canillas wrote: > Currently the dma-buf is unmapped when the buffer is dequeued by userspace > but it's not used anymore after the driver finished processing the buffer. > > So instead of doing the dma-buf unmapping in __vb2_dqbuf(), it can be made > in vb2_

Re: [PATCH v2 2/2] perf uprobe: Skip prologue if program compiled without optimization

2016-08-13 Thread Ravi Bangoria
Hi Masami, Arnaldo, Any updates on this? Thanks, Ravi On Wednesday 03 August 2016 02:28 PM, Ravi Bangoria wrote: > Function prologue prepares stack and registers before executing function > logic. When target program is compiled without optimization, function > parameter information is only vali

Re: [PACTH v1] mm, proc: Implement /proc//totmaps

2016-08-13 Thread Jann Horn
On Fri, Aug 12, 2016 at 12:28:11PM -0400, Robert Foss wrote: > > > On 2016-08-10 02:05 PM, Jann Horn wrote: > >On Wed, Aug 10, 2016 at 10:45:51AM -0700, Sonny Rao wrote: > >>On Wed, Aug 10, 2016 at 10:37 AM, Jann Horn wrote: > >>>On Wed, Aug 10, 2016 at 10:23:53AM -0700, Sonny Rao wrote: > O

imx-drm: Possible regression after update to atomic

2016-08-13 Thread Peter Senna Tschudin
d7868cb7ac58640e9c0383205ba31bd6a985cc6f is the last commit that works for me. I'm experiencing black screen after Weston starts in two different i.MX based devices: - i.MX6 -> arch/arm/boot/dts/imx6q-b850v3.dts - i.MX53 based device Weston starts, but nothing is shown on screen. fb works fi

Re: [PATCH 2/2 v3] be2iscsi: Fix some error messages

2016-08-13 Thread Christophe JAILLET
Le 13/08/2016 à 13:35, Joe Perches a écrit : @@ -268,7 +268,7 @@ static int beiscsi_eh_abort(struct scsi_cmnd *sc) &nonemb_cmd.dma); if (nonemb_cmd.va == NULL) { beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_EH, - "BM_%

Re: [PART2 PATCH v5 12/12] svm: Implements update_pi_irte hook to setup posted interrupt

2016-08-13 Thread Radim Krčmář
2016-07-25 04:32-0500, Suravee Suthikulpanit: > diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c > @@ -1485,9 +1521,16 @@ static void avic_set_running(struct kvm_vcpu *vcpu, > bool is_run) > WARN_ON(is_run == !!(entry & AVIC_PHYSICAL_ID_ENTRY_IS_RUNNING_MASK)); > > entry &= ~AVIC

Re: [PATCH 2/4] ARM: dts: da850: Add an aemif node

2016-08-13 Thread Karl Beldan
On Wed, Aug 10, 2016 at 02:04:48PM +0530, Sekhar Nori wrote: > On Wednesday 10 August 2016 02:04 PM, Karl Beldan wrote: > > On Wed, Aug 10, 2016 at 01:59:26PM +0530, Sekhar Nori wrote: > >> On Wednesday 10 August 2016 01:56 PM, Karl Beldan wrote: > >>> On Wed, Aug 10, 2016 at 01:42:01PM +0530, Sekh

Re: [PATCH 2/2 v3] be2iscsi: Fix some error messages

2016-08-13 Thread Joe Perches
On Sat, 2016-08-13 at 09:20 +0200, Christophe JAILLET wrote: > This fixes: [] >    - concatenate strings on the same line to fix checkpatch warnings [] > diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c [] > @@ -268,7 +268,7 @@ static int beiscsi_eh_abort(struct scsi_c

Re: [PATCH v2 3/4] ARM: dts: da850,da850-evm: Add an aemif node and use it for the NAND

2016-08-13 Thread Karl Beldan
On Wed, Aug 10, 2016 at 11:00:31AM +, Karl Beldan wrote: > Currently the davinci da8xx boards use the mach-davinci aemif code. > Instantiating an aemif node into the DT allows to use the ti-aemif > memory driver and is another step to better DT support. > This change adds an aemif node in the d

Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Robert Jarzmik
Hans Verkuil writes: > On 08/13/2016 11:25 AM, Robert Jarzmik wrote: >> Hi Hans, >> >> Robert Jarzmik writes: >>> Convert pxa_camera from videobuf to videobuf2. >> ...zip... >> >>> +static int pxac_vb2_queue_setup(struct vb2_queue *vq, >>> + unsigned int *nbufs, >>> +

Re: staging: ks7010: Replace three printk() calls by pr_err()

2016-08-13 Thread SF Markus Elfring
>> Prefer usage of the macro "pr_err" over the interface "printk". > Not correct A checkpatch warning like "PREFER_PR_LEVEL" can point additional possibilities out for this use case. Would you like to introduce any of the higher level logging functions instead? >> diff --git a/drivers/staging/k

Re: [RFC 2/7] tty: add support for "tty slave" devices

2016-08-13 Thread Greg Kroah-Hartman
On Sat, Aug 13, 2016 at 05:14:33AM +0200, Sebastian Reichel wrote: > From: NeilBrown > > A "tty slave" is a device connected via UART. It may need a driver to, > for example, power the device on when the tty is opened, and power it > off when the tty is released. > > Signed-off-by: NeilBrown >

[PATCH] net: macb: add phy-handle support for the macb

2016-08-13 Thread Kedareswara rao Appana
This patch adds support for the 'phy-handle' binding which allows for a system to specifically select a phy which can be attached via any MDIO bus available in the system. Signed-off-by: Kedareswara rao Appana --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ drivers/net/ethernet/cade

Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Hans Verkuil
On 08/13/2016 11:25 AM, Robert Jarzmik wrote: > Hi Hans, > > Robert Jarzmik writes: >> Convert pxa_camera from videobuf to videobuf2. > ...zip... > >> +static int pxac_vb2_queue_setup(struct vb2_queue *vq, >> +unsigned int *nbufs, >> +unsig

Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-13 Thread sunbing
On Aug 12, 2016, at 22:30, Jes Sorensen wrote: > sunbing writes: >> On Aug 11, 2016, at 23:25, Jes Sorensen wrote: >> >>> Bing Sun writes: Fixed sparse parse error: Expected constant expression in case statement. Signed-off-by: Bing Sun --- drivers/staging/rtl

Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Robert Jarzmik
Hi Hans, Robert Jarzmik writes: > Convert pxa_camera from videobuf to videobuf2. ...zip... > +static int pxac_vb2_queue_setup(struct vb2_queue *vq, > + unsigned int *nbufs, > + unsigned int *num_planes, unsigned int sizes[], > +

Re: [PREEMPT-RT] [patch 4 14/22] timer: Switch to a non cascading wheel

2016-08-13 Thread Jouni Malinen
On Thu, Aug 11, 2016 at 11:25 PM, wrote: > On Thu, Aug 11, 2016 at 06:21:26PM +0300, Jouni Malinen wrote: >> The test code looked like this in python: >> >> addr = (url.hostname, url.port) >> socks = {} >> for i in range(20): >> socks[i] = socket.socket(socket.AF_INET, socket.

Re: [PATCH] time,virt: resync steal time when guest & host lose sync

2016-08-13 Thread Ingo Molnar
* Rik van Riel wrote: > On Wed, 10 Aug 2016 07:39:08 +0800 > Wanpeng Li wrote: > > > The regression is caused by your commit "sched,time: Count actually > > elapsed irq & softirq time". > > Wanpeng, does this patch fix your issue? > > Paolo, what is your opinion on this issue? > > I can thi

Re: [PATCH] Documentation: sunxi: Update Allwinner SoC documentation

2016-08-13 Thread Chen-Yu Tsai
Hi, On Tue, Aug 2, 2016 at 8:01 PM, Icenowy Zheng wrote: > Now, the A83T and A64 SoC user manuals are available. > Update the documentation to add the links. > > Signed-off-by: Icenowy Zheng > --- > Documentation/arm/sunxi/README | 9 + > 1 file changed, 9 insertions(+) > > diff --git a

[PATCH] kexec: Account crashk_low_res to kexec_crash_size

2016-08-13 Thread Xunlei Pang
"/sys/kernel/kexec_crash_size" only includes crashk_res, it is fine in most cases, but sometimes we have crashk_low_res. For example, when "crashkernel=size[KMG],high" combined with "crashkernel=size[KMG],low" is used for 64-bit x86. Let "/sys/kernel/kexec_crash_size" reflect all the reserved memo

I hope this email meets you well in good health condition

2016-08-13 Thread Bentley
My name is Jones, from the US. I'm in Syria right now fighting ISIS. I want to get to know you better, if I may be so bold. I consider myself an easy-going man, and I am currently looking for a relationship in which I feel loved. Please tell me more about yourself, if you don't mind. Hope to he

Re: [PATCH] drm/tegra: dpaux: Modify error handling

2016-08-13 Thread Julia Lawall
On Sat, 13 Aug 2016, Amitoj Kaur Chawla wrote: > devm_pinctrl_register returns an ERR_PTR in case of error and should > have an IS_ERR check instead of a null check. > > The Coccinelle semantic patch used to make this change is as follows: > @@ > expression e; > @@ > > e = devm_pinxtrl_registe

Re: [PATCH] clk: prevent __of_clk_get_hw_from_provider() from returning NULL

2016-08-13 Thread Russell King - ARM Linux
On Fri, Aug 12, 2016 at 03:59:51PM +0900, Masahiro Yamada wrote: > But, actually, clk_get returns ERR_PTR(-ENOENT) if "clocks" property > is missing. Probably because we don't know if that's a case of a partially converted platform (which doesn't yet have its clk stuff in DT), so we need to fall b

[PATCH 2/2 v3] be2iscsi: Fix some error messages

2016-08-13 Thread Christophe JAILLET
This fixes: - missing spaces in string split on several lines - extra spaces after ':' - missing '\n' at the end of some messages - turn a \\n to \n in 1 message - concatenate strings on the same line to fix checkpatch warnings Signed-off-by: Christophe JAILLET --- v2: add: - tu

Re: [PATCH] time,virt: resync steal time when guest & host lose sync

2016-08-13 Thread Paolo Bonzini
> There is one copy of paravirt_steal_clock(smp_processor_id()), > but what keeps it in sync with this_rq()->prev_steal_time? > > Is it something simple like them both being zeroed out when > the structures are first allocated at boot time? Yes, more precisely both of them being equal when the MS

Re: [PATCH 2/2 v2] be2iscsi: Fix some error messages

2016-08-13 Thread Julia Lawall
On Sat, 13 Aug 2016, Christophe JAILLET wrote: > This fixes: >- missing spaces in string split on several lines >- extra spaces after ':' >- missing '\n' at the end of some messages >- turn a \\n to \n in 1 message (v2) >- concatenate strings on the same line to fix checkpatc

[PATCH 2/2 v2] be2iscsi: Fix some error messages

2016-08-13 Thread Christophe JAILLET
This fixes: - missing spaces in string split on several lines - extra spaces after ':' - missing '\n' at the end of some messages - turn a \\n to \n in 1 message (v2) - concatenate strings on the same line to fix checkpatch warnings (v2) Signed-off-by: Christophe JAILLET --- drive