[PATCH 3.4 54/65] KVM: x86: properly restore LVT0

2015-10-19 Thread lizf
From: Radim Krčmář 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit db1385624c686fe99fe2d1b61a36e1537b915d08 upstream. Legacy NMI watchdog didn't work after migration/resume, because vapics_in_nmi_mode was left at 0. Signed-off-by: Radim

[PATCH 3.4 57/65] Revert "drm/radeon: Use drm_calloc_ab for CS relocs"

2015-10-19 Thread lizf
From: Zefan Li 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- This reverts commit 961bd13539b9e7ca5d2e667668141496b7a1d6bc. Both Satoshi-san and Cal reported a kernel crash due to this commit. Reported-by: Satoshi Iwamoto Reported-by: Cal

Re: Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-19 Thread Grant Likely
Reminder and update: As described below, the TAB elections will be held next week with the Linux Kernel Summit and the Korea Linux Forum. The election will be held at 6:00pm Monday evening during the on-site evening reception. Each candidate will have the opportunity to make a brief statement

[PATCH 3.4 58/65] drm/radeon: partially revert "fix VM_CONTEXT*_PAGE_TABLE_END_ADDR handling"

2015-10-19 Thread lizf
From: Christian König 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 7c0411d2fabc2e2702c9871ffb603e251158b317 upstream. We have that bug for years and some users report side effects when fixing it on older hardware. So revert it for

[PATCH 3.4 52/65] ACPICA: Tables: Fix an issue that FACS initialization is performed twice

2015-10-19 Thread lizf
From: Lv Zheng 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit c04be18448355441a0c424362df65b6422e27bda upstream. ACPICA commit 90f5332a15e9d9ba83831ca700b2b9f708274658 This patch adds a new FACS initialization flag for

[PATCH 3.4 63/65] IB/qib: Change lkey table allocation to support more MRs

2015-10-19 Thread lizf
From: Mike Marciniszyn 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit d6f1c17e162b2a11e708f28fa93f2f79c164b442 upstream. The lkey table is allocated with with a get_user_pages() with an order based on a number of index bits from a

[PATCH 3.4 51/65] fuse: initialize fc->release before calling it

2015-10-19 Thread lizf
From: Miklos Szeredi 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 0ad0b3255a08020eaf50e34ef0d6df5bdf5e09ed upstream. fc->release is called from fuse_conn_put() which was used in the error cleanup before fc->release was initialized.

[PATCH 3.4 65/65] vfs: Test for and handle paths that are unreachable from their mnt_root

2015-10-19 Thread lizf
From: "Eric W. Biederman" 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 397d425dc26da728396e66d392d5dcb8dac30c37 upstream. In rare cases a directory can be renamed out from under a bind mount. In those cases without special handling it

[PATCH 3.4 43/65] stmmac: troubleshoot unexpected bits in des0 & des1

2015-10-19 Thread lizf
From: Alexey Brodkin 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit f1590670ce069eefeb93916391a67643e6ad1630 upstream. Current implementation of descriptor init procedure only takes care about setting/clearing ownership flag in

[PATCH 3.4 60/65] ARM: Fix incorrect backport of 0b59d8806a31

2015-10-19 Thread lizf
From: Zefan Li 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- Reported-by: Jim Faulkner Fixed-by: Nicolas Schichan Signed-off-by: Zefan Li --- arch/arm/net/bpf_jit_32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3.4 56/65] Revert "drm/i915: Don't skip request retirement if the active list is empty"

2015-10-19 Thread lizf
From: Jani Nikula 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 245ec9d85696c3e539b23e210f248698b478379c upstream. This reverts commit 0aedb1626566efd72b369c01992ee7413c82a0c5. I messed things up while applying [1] to drm-intel-fixes.

[PATCH 3.4 62/65] jbd2: avoid infinite loop when destroying aborted journal

2015-10-19 Thread lizf
From: Jan Kara 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 841df7df196237ea63233f0f9eaa41db53afd70f upstream. Commit 6f6a6fda2945 "jbd2: fix ocfs2 corrupt when updating journal superblock fails" changed jbd2_cleanup_journal_tail() to

[PATCH 3.4 45/65] dell-laptop: Fix allocating & freeing SMI buffer page

2015-10-19 Thread lizf
From: Pali Rohár 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit b8830a4e71b15d0364ac8e6c55301eea73f211da upstream. This commit fix kernel crash when probing for rfkill devices in dell-laptop driver failed. Function free_page() was

[PATCH 3.4 47/65] tracing/filter: Do not allow infix to exceed end of string

2015-10-19 Thread lizf
From: "Steven Rostedt (Red Hat)" 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 6b88f44e161b9ee2a803e5b2b1fbcf4e20e8b980 upstream. While debugging a WARN_ON() for filtering, I found that it is possible for the filter string to be

[PATCH 3.4 55/65] 9p: forgetting to cancel request on interrupted zero-copy RPC

2015-10-19 Thread lizf
From: Al Viro 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit a84b69cb6e0a41e86bc593904faa6def3b957343 upstream. If we'd already sent a request and decide to abort it, we *must* issue TFLUSH properly and not just blindly reuse the tag,

[PATCH 3.4 59/65] crypto: s390/ghash: Fix incorrect backport of a1cae34e23b1

2015-10-19 Thread lizf
From: Zefan Li 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- Signed-off-by: Zefan Li --- arch/s390/crypto/ghash_s390.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/crypto/ghash_s390.c

[PATCH 3.4 61/65] usb: dwc3: Reset the transfer resource index on SET_INTERFACE

2015-10-19 Thread lizf
From: John Youn 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit aebda618718157a69c0dc0adb978d69bc2b8723c upstream. This fixes an issue introduced in commit b23c843992b6 (usb: dwc3: gadget: fix DEPSTARTCFG for non-EP0 EPs) that made sure

[PATCH 3.4 48/65] __bitmap_parselist: fix bug in empty string handling

2015-10-19 Thread lizf
From: Chris Metcalf 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 2528a8b8f457d7432552d0e2b6f0f4046bb702f4 upstream. bitmap_parselist("", , nmaskbits) will erroneously set bit zero in the mask. The same bug is visible in

[PATCH 3.4 41/65] watchdog: omap: assert the counter being stopped before reprogramming

2015-10-19 Thread lizf
From: Uwe Kleine-König 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 530c11d432727c697629ad5f9d00ee8e2864d453 upstream. The omap watchdog has the annoying behaviour that writes to most registers don't have any effect when the watchdog

[PATCH 3.4 64/65] dcache: Handle escaped paths in prepend_path

2015-10-19 Thread lizf
From: "Eric W. Biederman" 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit cde93be45a8a90d8c264c776fab63487b5038a65 upstream. A rename can result in a dentry that by walking up d_parent will never reach it's mnt_root. For lack of a

[PATCH 3.4 12/65] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-10-19 Thread lizf
From: Subbaraya Sundeep Bhatta 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 76e838c9f7765f9a6205b4d558d75a66104bc60d upstream. We need to return error to caller if command is not sent to controller succesfully. Signed-off-by:

[PATCH 3.4 14/65] mtd: dc21285: use raw spinlock functions for nw_gpio_lock

2015-10-19 Thread lizf
From: Uwe Kleine-König 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit e5babdf928e5d0c432a8d4b99f20421ce14d1ab6 upstream. Since commit bd31b85960a7 (which is in 3.2-rc1) nw_gpio_lock is a raw spinlock that needs usage of the

[PATCH 3.4 08/65] pktgen: document ability to add same device to several threads

2015-10-19 Thread lizf
From: Jesper Dangaard Brouer 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 2a1ddf27e8189e1d68336c55dd2f305b224ae8f1 upstream. The pktgen.txt documentation still claimed that adding same device to multiple threads were not supported,

[PATCH 3.4 38/65] packet: read num_members once in packet_rcv_fanout()

2015-10-19 Thread lizf
From: Eric Dumazet 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit f98f4514d07871da7a113dd9e3e330743fd70ae4 upstream. We need to tell compiler it must not read f->num_members multiple times. Otherwise testing if num is not zero is flaky,

[PATCH 3.4 07/65] pktgen: adjust spacing in proc file interface output

2015-10-19 Thread lizf
From: Jesper Dangaard Brouer 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit d079abd181950a44cdf31daafd1662388a6c4d2e upstream. Too many spaces were introduced in commit 63adc6fb8ac0 ("pktgen: cleanup checkpatch warnings"), thus

[PATCH 3.4 25/65] dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup

2015-10-19 Thread lizf
From: Lior Amsalem 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 9136291f1dbc1d4d1cacd2840fb35f4f3ce16c46 upstream. This patch fixes a bug in the XOR driver where the cleanup function can be called and free descriptors that never been

[PATCH 3.4 34/65] mmc: card: Fixup request missing in mmc_blk_issue_rw_rq

2015-10-19 Thread lizf
From: Ding Wang 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 29535f7b797df35cc9b6b3bca635591cdd3dd2a8 upstream. The current handler of MMC_BLK_CMD_ERR in mmc_blk_issue_rw_rq function may cause new coming request permanent missing when

[PATCH 3.4 11/65] drm/radeon: take the mode_config mutex when dealing with hpds (v2)

2015-10-19 Thread lizf
From: Alex Deucher 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 39fa10f7e21574a70cecf1fed0f9b36535aa68a0 upstream. Since we are messing with state in the worker. v2: drop the changes in the mst worker Signed-off-by: Alex Deucher

[PATCH 3.4 24/65] x86/PCI: Use host bridge _CRS info on Foxconn K8M890-8237A

2015-10-19 Thread lizf
From: Bjorn Helgaas 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 1dace0116d0b05c967d94644fc4dfe96be2ecd3d upstream. The Foxconn K8M890-8237A has two PCI host bridges, and we can't assign resources correctly without the information

[PATCH 3.4 18/65] NFS: Fix size of NFSACL SETACL operations

2015-10-19 Thread lizf
From: Chuck Lever 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit d683cc49daf7c5afca8cd9654aaa1bf63cdf2ad9 upstream. When encoding the NFSACL SETACL operation, reserve just the estimated size of the ACL rather than a fixed maximum. This

[PATCH 3.4 13/65] rcu: Correctly handle non-empty Tiny RCU callback list with none ready

2015-10-19 Thread lizf
From: "Paul E. McKenney" 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 6e91f8cb138625be96070b778d9ba71ce520ea7e upstream. If, at the time __rcu_process_callbacks() is invoked, there are callbacks in Tiny RCU's callback list, but none

[PATCH 3.4 39/65] packet: avoid out of bounds read in round robin fanout

2015-10-19 Thread lizf
From: Willem de Bruijn 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 468479e6043c84f5a65299cc07cb08a22a28c2b1 upstream. PACKET_FANOUT_LB computes f->rr_cur such that it is modulo f->num_members. It returns the old value

Re: [PATCH v4 1/2] sched: make __update_cpu_load() handle active tickless case

2015-10-19 Thread Byungchul Park
On Mon, Oct 19, 2015 at 03:16:18PM +0200, Peter Zijlstra wrote: > On Wed, Oct 14, 2015 at 06:47:35PM +0900, byungchul.p...@lge.com wrote: > > > > cpu_load(n) = (1 - 1/s) * cpu_load(n-1) + (1/s) * L > > So I've been taught to use subscripts, not arguments, for progressive > values of the same

[PATCH 3.4 30/65] jbd2: use GFP_NOFS in jbd2_cleanup_journal_tail()

2015-10-19 Thread lizf
From: Dmitry Monakhov 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit b4f1afcd068f6e533230dfed00782cd8a907f96b upstream. jbd2_cleanup_journal_tail() can be invoked by jbd2__journal_start() So allocations should be done with GFP_NOFS

[PATCH 3.4 27/65] ext4: fix race between truncate and __ext4_journalled_writepage()

2015-10-19 Thread lizf
From: Theodore Ts'o 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit bdf96838aea6a265f2ae6cbcfb12a778c84a0b8e upstream. The commit cf108bca465d: "ext4: Invert the locking order of page_lock and transaction start" caused

[PATCH 3.4 17/65] fixing infinite OPEN loop in 4.0 stateid recovery

2015-10-19 Thread lizf
From: Olga Kornievskaia 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit e8d975e73e5fa05f983fbf2723120edcf68e0b38 upstream. Problem: When an operation like WRITE receives a BAD_STATEID, even though recovery code clears the RECLAIM_NOGRACE

[PATCH 3.4 21/65] ath3k: add support of 13d3:3474 AR3012 device

2015-10-19 Thread lizf
From: Dmitry Tunin 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 0d0cef6183aec0fb6d0c9f00a09ff51ee086bbe2 upstream. BugLink: https://bugs.launchpad.net/bugs/1427680 This device requires new firmware files AthrBT_0x11020100.dfu and

[PATCH 3.4 03/65] crypto: talitos - avoid memleak in talitos_alg_alloc()

2015-10-19 Thread lizf
From: Horia Geant? 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 5fa7dadc898567ce14d6d6d427e7bd8ce6eb5d39 upstream. Fixes: 1d11911a8c57 ("crypto: talitos - fix warning: 'alg' may be used uninitialized in this function") Signed-off-by:

[PATCH 3.4 05/65] ASoC: wm8903: Fix define for WM8903_VMID_RES_250K

2015-10-19 Thread lizf
From: Axel Lin 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit ebb6ad73e645b8f2d098dd3c41d2ff0da4146a02 upstream. VMID Control 0 BIT[2:1] is VMID Divider Enable and Select 00 = VMID disabled (for OFF mode) 01 = 2 x 50kΩ divider (for

[PATCH 3.4 00/65] 3.4.110-rc1 review

2015-10-19 Thread lizf
From: Zefan Li This is the start of the stable review cycle for the 3.4.110 release. There are 65 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Oct 22 00:45:22 UTC

[PATCH 3.4 04/65] ASoC: wm8737: Fixup setting VMID Impedance control register

2015-10-19 Thread lizf
From: Axel Lin 3.4.110-rc1 review patch. If anyone has any objections, please let me know. -- commit 14ba3ec1de043260cecd9e828ea2e3a0ad302893 upstream. According to the datasheet: R10 (0Ah) VMID Impedance Control BIT 3:2 VMIDSEL DEFAULT 00 DESCRIPTION: VMID impedance

[PATCH] ASoC: fsl_sai: fix Rx synchrounous mode

2015-10-19 Thread Stefan Agner
When using the Rx clock for both, transmitter and receiver, the transmitter needs to be set to synchronous with receiver. This reverts 855675f6e6a6 ("ASoC: fsl_sai: Set SYNC bit of TCR2 to Asynchronous Mode"), which, judiging from the commit log, seems to mixed up between the two synchronous

Re: [PATCH] posix-cpu-timers: Merge running and checking_timer state in one field

2015-10-19 Thread Davidlohr Bueso
On Tue, 20 Oct 2015, Frederic Weisbecker wrote: - * @checking_timer:true when a thread in the group is in the - * process of checking for thread group timers. - * + * @state: flags describing the current state of the cputimer. + *

Re: [PATCH v1 5/6] blk-mq: fix for trace_block_plug()

2015-10-19 Thread Ming Lei
On Tue, Oct 20, 2015 at 1:59 AM, Jeff Moyer wrote: > Ming Lei writes: > >> On Mon, Oct 19, 2015 at 11:38 PM, Jeff Moyer wrote: >>> Ming Lei writes: >>> The trace point is for tracing plug event of each request queue instead of each task, so we should check the request count in

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-19 Thread John Stultz
On Mon, Oct 19, 2015 at 5:18 PM, Christopher Hall wrote: > On Thu, 15 Oct 2015 01:15:57 -0700, Thomas Gleixner > wrote: >>> >>> > >>> > > +#define SHADOW_HISTORY_DEPTH 7 >>> > >>> > And that number is 7 because? >>> >>> Due to power of 2 it will be 8 instead. As above the useful history is >>>

RE: [PATCH] mm: Introduce kernelcore=reliable option

2015-10-19 Thread Izumi, Taku
Hi Xishi, > On 2015/10/15 21:32, Taku Izumi wrote: > > > Xeon E7 v3 based systems supports Address Range Mirroring > > and UEFI BIOS complied with UEFI spec 2.5 can notify which > > ranges are reliable (mirrored) via EFI memory map. > > Now Linux kernel utilize its information and allocates > >

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-19 Thread Alexei Starovoitov
On 10/19/15 3:17 PM, Daniel Borkmann wrote: On 10/19/2015 10:48 PM, Alexei Starovoitov wrote: On 10/19/15 1:03 PM, Hannes Frederic Sowa wrote: I doubt it will stay a lightweight feature as it should not be in the responsibility of user space to provide those debug facilities. It feels we're

[PATCH] posix-cpu-timers: Merge running and checking_timer state in one field

2015-10-19 Thread Frederic Weisbecker
This way we might consume less space in the signal struct (well, depending on bool size or padding) and we don't need to worry about ordering between the running and checking_timers fields. Cc: Jason Low Cc: Oleg Nesterov Cc: George Spelvin Cc: Paul E. McKenney Cc: Davidlohr Bueso Cc: Peter

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-19 Thread Christopher Hall
Thomas, On Thu, 15 Oct 2015 01:15:57 -0700, Thomas Gleixner wrote: > > > +#define SHADOW_HISTORY_DEPTH 7 > > And that number is 7 because? Due to power of 2 it will be 8 instead. As above the useful history is 8-2*1 ms (1 ms is the minimum jiffy length). Array size 4 would not be enough

Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller'

2015-10-19 Thread Brendan Gregg
On Fri, Oct 9, 2015 at 3:25 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Oct 09, 2015 at 03:10:29PM -0700, Brendan Gregg escreveu: >> On Fri, Oct 9, 2015 at 2:56 PM, Arnaldo Carvalho de Melo >> wrote: >> > >> > Em Fri, Oct 09, 2015 at 01:34:33PM -0700, Brendan Gregg escreveu: >> > > On Mon, Oct

Re: [PATCH v4 8/8] ARM: EXYNOS: Remove SROM related register settings from mach-exynos

2015-10-19 Thread Krzysztof Kozlowski
On 19.10.2015 20:46, Pankaj Dubey wrote: > As now we have dedicated driver for SROM controller, it will take care > of saving register banks during S2R so we can safely remove these > settings from mach-exynos. > > Signed-off-by: Pankaj Dubey > --- > arch/arm/mach-exynos/Kconfig

Re: [PATCH v4 6/8] drivers: soc: add support for exynos SROM driver

2015-10-19 Thread Krzysztof Kozlowski
On 19.10.2015 20:46, Pankaj Dubey wrote: > This patch adds Exynos SROM controller driver which will handle > save restore of SROM registers during S2R. > > Signed-off-by: Pankaj Dubey > --- > drivers/soc/Kconfig | 1 + > drivers/soc/Makefile | 1 + >

Re: [PATCH v4 7/8] MAINTAINERS: add maintainers entry for drivers/soc/samsung

2015-10-19 Thread Krzysztof Kozlowski
On 19.10.2015 20:46, Pankaj Dubey wrote: > This patch adds maintainers entry for new driver folder > drivers/soc/samsung > > Signed-off-by: Pankaj Dubey > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > Thanks! Acked-by: Krzysztof Kozlowski Best regards, Krzysztof > diff --git

Re: [PATCH v2] HID: hiddev: change hiddev_connect() to return bool

2015-10-19 Thread Krzysztof Kozlowski
On 20.10.2015 00:11, Luis de Bethencourt wrote: > On 13/10/15 02:49, Krzysztof Kozlowski wrote: >> 2015-10-09 22:00 GMT+09:00 Luis de Bethencourt : >>> Since hid_connect() only cares about hiddev_connect() succeeding or >>> failing, there is no need for this function to return an int and it can

Re: [PATCH 1/3] clk: samsung: exynos4: Add SSS gate clock

2015-10-19 Thread Krzysztof Kozlowski
On 20.10.2015 04:59, Stephen Boyd wrote: > On 10/19, Krzysztof Kozlowski wrote: >> Add a gate clock for controlling all clocks of Security Sub System >> (SSS). >> >> Signed-off-by: Krzysztof Kozlowski >> --- > > The To: list is huge, so I have no idea if you want me to apply > this patch or not,

Re: [PATCH 0/3] ARM: dts: Enable Exynos RNG module

2015-10-19 Thread Krzysztof Kozlowski
On 20.10.2015 01:11, Tobias Jakobi wrote: > Hello Krzysztof, > > I can confirm that this also works on a Odroid-X2, so I guess it's safe > to enable the PRNG for all Exynos4412-based Odroid devices. Sure, I can send a patch for that. I can test it later also on Odroid-U3. > > Any chance that

Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller'

2015-10-19 Thread Brendan Gregg
On Mon, Oct 12, 2015 at 9:26 PM, Namhyung Kim wrote: > On Mon, Oct 05, 2015 at 06:03:35PM -0300, Arnaldo Carvalho de Melo wrote: >> From: Arnaldo Carvalho de Melo >> >> Which is the most common default found in other similar tools. > > I think it's more useful to change the default only when

Re: [PATCH V15 00/11] x86: Intel Cache Allocation Technology Support

2015-10-19 Thread Marcelo Tosatti
On Fri, Oct 16, 2015 at 05:24:42PM -0300, Marcelo Tosatti wrote: > On Fri, Oct 16, 2015 at 11:44:52AM +0200, Peter Zijlstra wrote: > > On Thu, Oct 15, 2015 at 09:17:16PM -0300, Marcelo Tosatti wrote: > > > On Thu, Oct 15, 2015 at 01:37:02PM +0200, Peter Zijlstra wrote: > > > > On Tue, Oct 13, 2015

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Alexandre Courbot
On Tue, Oct 20, 2015 at 3:39 AM, Russell King - ARM Linux wrote: > On Mon, Oct 19, 2015 at 08:27:44PM +0200, Uwe Kleine-König wrote: >> Hello, >> >> On Mon, Oct 19, 2015 at 04:43:24PM +0100, Russell King - ARM Linux wrote: >> > It's a bit ironic that you've chosen GPIO as an example there. The

Re: [PATCH v5] Smack: limited capability for changing process label

2015-10-19 Thread Casey Schaufler
On 10/19/2015 9:23 AM, Rafal Krypa wrote: > From: Zbigniew Jasinski > > This feature introduces new kernel interface: > > - /relabel-self - for setting transition labels list > > This list is used to control smack label transition mechanism. > List is set by, and per process. Process can transit

Re: [PATCH] rcu: remove rcu_user_hooks_switch

2015-10-19 Thread Frederic Weisbecker
On Mon, Oct 19, 2015 at 03:59:07PM -0700, Paul E. McKenney wrote: > On Mon, Oct 19, 2015 at 02:45:02PM -0700, Yang Shi wrote: > > It is not invoked by anyone now, just remove it. > > > > Signed-off-by: Yang Shi > > We should check with Frederic -- any plans to use this, Frederic? > It was last

Re: [PATCH v2 3/4] rcu: use simple wait queues where possible in rcutree

2015-10-19 Thread Paul E. McKenney
On Wed, Oct 14, 2015 at 09:43:21AM +0200, Daniel Wagner wrote: > From: Paul Gortmaker > > As of commit dae6e64d2bcfd4b06304ab864c7e3a4f6b5fedf4 ("rcu: Introduce > proper blocking to no-CBs kthreads GP waits") the RCU subsystem started > making use of wait queues. > > Here we convert all

Re: fs: out of bounds on stack in iov_iter_advance

2015-10-19 Thread Sasha Levin
On 10/18/2015 12:17 AM, Ross Zwisler wrote: > I'll try and find time to look at this issue this week. Sasha, do you have a > more targeted reproducer, or is still just the trinity fuzzer? Nope, I haven't looked at it much beyond looking into dax_io(). Thanks, Sasha -- To unsubscribe from this

Re: [PATCH 4.2 022/258] toshiba_acpi: Fix hotkeys registration on some toshiba models

2015-10-19 Thread Ben Hutchings
On Sat, 2015-10-17 at 18:55 -0700, Greg Kroah-Hartman wrote: > 4.2-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Azael Avalos > > commit 53147b6cabee5e8d1997b5682fcc0c3b72ddf9c2 upstream. > > Commit a2b3471b5b13 ("toshiba_acpi: Use

[RFC PATCH] dt: Tegra XUSB padctl: per-lane PHYs and USB lane map

2015-10-19 Thread Stephen Warren
From: Stephen Warren Convert the binding to provide a PHY per lane, rather than a PHY per "pad" block in the hardware. This will allow the driver to easily know which lanes are used by clients, and thus only enable those lanes, and generally better aligns with the fact the hardware has

Re: [PATCH v2 1/5] MPI: fix off by one in mpi_read_raw_from_sgl

2015-10-19 Thread Tadeusz Struk
On 10/18/2015 03:45 AM, Stephan Mueller wrote: > The patch fixes the analysis of the input data which contains an off > by one. > > The issue is visible when the SGL contains one byte per SG entry. > The code for checking for zero bytes does not operate on the data byte. > > Signed-off-by:

Re: [PATCH 0/3] hugetlbfs fallocate hole punch race with page faults

2015-10-19 Thread Andrew Morton
On Fri, 16 Oct 2015 15:08:27 -0700 Mike Kravetz wrote: > The hugetlbfs fallocate hole punch code can race with page faults. The > result is that after a hole punch operation, pages may remain within the > hole. No other side effects of this race were observed. > > In preparation for adding

Re: [PATCH 0/4] PCI: rcar: Add support for ARM64 and multiple instances

2015-10-19 Thread Bjorn Helgaas
[+cc Geert] On Fri, Oct 02, 2015 at 11:25:03AM +0100, Phil Edworthy wrote: > Fixes and changes to get PCIe working on ARM64 with mulitple instances. > > I've tested these on ARM (Koelsch board), and it works fine. > I've also tested on ARM64 (Salvator-X board), but I currently have an issue >

Re: [PATCH 2/3] mm/hugetlb: Setup hugetlb_falloc during fallocate hole punch

2015-10-19 Thread Andrew Morton
On Fri, 16 Oct 2015 15:08:29 -0700 Mike Kravetz wrote: > When performing a fallocate hole punch, set up a hugetlb_falloc struct > and make i_private point to it. i_private will point to this struct for > the duration of the operation. At the end of the operation, wake up > anyone who faulted

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-19 Thread Hannes Frederic Sowa
Hello Alexei, On Mon, Oct 19, 2015, at 22:48, Alexei Starovoitov wrote: > On 10/19/15 1:03 PM, Hannes Frederic Sowa wrote: > > > > I doubt it will stay a lightweight feature as it should not be in the > > responsibility of user space to provide those debug facilities. > > It feels we're talking

Re: [PATCH] rcu: remove rcu_user_hooks_switch

2015-10-19 Thread Paul E. McKenney
On Mon, Oct 19, 2015 at 02:45:02PM -0700, Yang Shi wrote: > It is not invoked by anyone now, just remove it. > > Signed-off-by: Yang Shi We should check with Frederic -- any plans to use this, Frederic? It was last touched by commit 4d9a5d4319e2 (rcu: Remove rcu_switch()) back in 2012.

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Rob Herring
On Mon, Oct 19, 2015 at 4:40 PM, Rafael J. Wysocki wrote: > On Monday, October 19, 2015 10:58:25 AM Rob Herring wrote: >> On Mon, Oct 19, 2015 at 10:29 AM, David Woodhouse >> wrote: >> > On Mon, 2015-10-19 at 15:50 +0100, Mark Brown wrote: >> >> > But the point I'm making is that we are working

[PATCH] x86, perf: Use INST_RETIRED.PREC_DIST for cycles:pp on Skylake

2015-10-19 Thread Andi Kleen
From: Andi Kleen Switch the cycles:pp alias from UOPS_RETITRED to INST_RETIRED.PREC_DIST. The basic mechanism of abusing the inverse cmask to get all cycles works the same as before. PREC_DIST has special support for avoiding shadow effects, which can give better results compare to

Re: [3.19.y-ckt stable] Patch "stmmac: fix check for phydev being open" has been added to staging queue

2015-10-19 Thread Sergei Shtylyov
Hello. On 10/20/2015 01:40 AM, Kamal Mostafa wrote: This is a note to let you know that I have just added a patch titled stmmac: fix check for phydev being open to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree which can be found at:

RE: [PATCH v2 3/3] pstore: add pstore unregister

2015-10-19 Thread Luck, Tony
> pstore doesn't support unregistering yet. It was marked as TODO. Thanks for looking to close out this TODO item. The thing that scared me about unloading pstore was what happens to a process that is in the middle of reading some /sys/fs/pstore/file-name-here Do we have all the right reference

[PATCH 2/2] x86, perf: Optimize stack walk user accesses

2015-10-19 Thread Andi Kleen
From: Andi Kleen Change the perf user stack walking to use the new __copy_from_user_nmi, and split each access into word sized transfer sizes. This allows to inline the complete access and optimize it all into a single load. The main advantage is that this avoids the overhead of double page

[PATCH 1/2] x86: Add a __copy_from_user_nmi

2015-10-19 Thread Andi Kleen
From: Andi Kleen Add a inlined __ variant of copy_from_user_nmi. The inlined variant allows the user to: - batch the access_ok check for multiple accesses - avoid having a pagefault_disable/enable on every access if the caller already ensures disabled page faults due to its context. - get all

Re: [PATCH v2 05/20] x86, mm: introduce vmem_altmap to augment vmemmap_populate()

2015-10-19 Thread Williams, Dan J
On Fri, 2015-10-09 at 20:55 -0400, Dan Williams wrote: > In support of providing struct page for large persistent memory > capacities, use struct vmem_altmap to change the default policy for > allocating memory for the memmap array. The default vmemmap_populate() > allocates page table storage

[3.19.y-ckt stable] Patch "pinctrl: at91: fix null pointer dereference" has been added to staging queue

2015-10-19 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled pinctrl: at91: fix null pointer dereference to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree which can be found at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-queue This

[3.19.y-ckt stable] Patch "stmmac: fix check for phydev being open" has been added to staging queue

2015-10-19 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled stmmac: fix check for phydev being open to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree which can be found at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-queue This

[PATCH v3 1/1] i2c: add ACPI support for I2C mux ports

2015-10-19 Thread Dustin Byford
Although I2C mux devices are easily enumerated using ACPI (_HID/_CID or device property compatible string match) enumerating I2C client devices connected through a I2C mux device requires a little extra work. This change implements a method for describing an I2C device hierarchy that includes mux

[PATCH v3 0/1] i2c: acpi: scan ACPI enumerated I2C mux channels

2015-10-19 Thread Dustin Byford
The following patch adds support for describing ACPI enumerated I2C mux ports like this (added as Documentation/acpi/i2c-muxes.txt): +--+ +--+ | SMB1 |-->| MUX0 |--CH00--> i2c client A (0x50) | | | 0x70 |--CH01--> i2c client B (0x50) +--+ +--+ Device (SMB1) { Name

[PATCH v2] clk: iproc: Fix PLL output frequency calculation

2015-10-19 Thread Ray Jui
From: Simran Rai This patch affects the clocks that use fractional ndivider in their PLL output frequency calculation. Instead of 2^20 divide factor, the clock's ndiv integer shift was used. Fixed the bug by replacing ndiv integer shift with 2^20 factor. Signed-off-by: Simran Rai

[PATCH v2] Fix iProc PLL output clock frequency calculation

2015-10-19 Thread Ray Jui
This patch fixes incorrect iProc PLL clock frequency calculation. The issue is exposed when Cygnus audio PLL was being added. This patch is based on v4.3-rc5 and has been tested on Cygnus bcm958305k wirelss audio board This full tree is available here: repo:

Re: [PATCH 1/2] cpu hotplug, add CONFIG_PERMANENT_CPU_TOPOLOGY and keep topology directory for lifetime of CPU

2015-10-19 Thread Prarit Bhargava
On 10/19/2015 11:04 AM, Prarit Bhargava wrote: > The information in /sys/devices/system/cpu/cpuX/topology > directory is useful for userspace monitoring applications and in-tree > utilities like cpupower & turbostat. > > When down'ing a CPU the /sys/devices/system/cpu/cpuX/topology directory is

RE: [PATCH 1/1] perf,tools: fix core dump caused by per-socket/core system-wide stat

2015-10-19 Thread Liang, Kan
Hi Arnaldo Here is one more fix for perf/core need to be pulled. Thanks, Kan > > On Fri, Oct 09, 2015 at 06:59:23AM -0400, kan.li...@intel.com wrote: > > From: Kan Liang > > > > Perf will core dump if --per-socket/core -a are applied for perf stat. > > > > The root cause is that

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-19 Thread Daniel Borkmann
On 10/19/2015 10:48 PM, Alexei Starovoitov wrote: On 10/19/15 1:03 PM, Hannes Frederic Sowa wrote: I doubt it will stay a lightweight feature as it should not be in the responsibility of user space to provide those debug facilities. It feels we're talking past each other. I want to solve

Re: [PATCH] clk: iproc: Fix PLL output frequency calculation

2015-10-19 Thread Stephen Boyd
On 10/19/2015 02:55 PM, Ray Jui wrote: > > > On 15-10-19 02:49 PM, Stephen Boyd wrote: >> On 10/16, Ray Jui wrote: >>> From: Simran Rai >>> >>> This patch affects the clocks that use fractional ndivider in their >>> PLL output frequency calculation. Instead of 2^20 divide factor, the >>> clock's

Re: [RFC PATCH v3 4/4] drm/armada: Convert the probe function to the generic drm_of_component_probe()

2015-10-19 Thread kbuild test robot
Hi Liviu, [auto build test WARNING on drm/drm-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Liviu-Dudau/drm-Introduce-generic-probe-function-for-component-based-masters/20151019-231229 config: arm

Re: linux-next: bad base of the h8300 tree

2015-10-19 Thread Stephen Rothwell
Hi, On Thu, 15 Oct 2015 09:21:57 +1100 Stephen Rothwell wrote: > > On Sat, 3 Oct 2015 14:28:38 +1000 Stephen Rothwell > wrote: > > > > It is now based on next-20150925. As I have said before, you cannot > > base your linux-next included branch on a linux-next release. You > > should either

[PATCH] rcu: remove rcu_user_hooks_switch

2015-10-19 Thread Yang Shi
It is not invoked by anyone now, just remove it. Signed-off-by: Yang Shi --- include/linux/rcupdate.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 581abf8..56355bc 100644 --- a/include/linux/rcupdate.h +++

[PATCH 1/2] USB: serial: cp210x: Implement 16-bit register access functions

2015-10-19 Thread Konstantin Shkolnyy
Existing register access functions cp210x_get_config and cp210x_set_config are cumbersome to use. This change introduces new functions specifically for 16-bit registers that read and write simple u16 values. Signed-off-by: Konstantin Shkolnyy --- drivers/usb/serial/cp210x.c | 119

[PATCH 2/2] USB: serial: cp210x: Workaround for occasional cp2108 hangs.

2015-10-19 Thread Konstantin Shkolnyy
This patch can only be applied after the patch titled "USB: serial: cp210x: Implement 16-bit register access functions" Work around 2 cp2108 bugs: 1) cp2108 GET_LINE_CTL returns the 16-bit value with the 2 bytes swapped. However, SET_LINE_CTL functions properly. When the driver tries to modify

Re: [Intel-gfx] [regression] [git pull] drm for 4.3

2015-10-19 Thread Daniel Vetter
On Mon, Oct 19, 2015 at 04:19:08PM -0400, da...@codemonkey.org.uk wrote: > On Wed, Sep 30, 2015 at 08:56:26AM +0200, Daniel Vetter wrote: > > > > The warning on boot seems to be gone as of rc3, but I can now trigger > this pretty easily.. > > > > http://patchwork.freedesktop.org/patch/60618/

Steal time accounting in KVM. Benchmark.

2015-10-19 Thread Alexey Makhalov
Hi, I did benchmarking of scheduler fairness with enabled steal time accounting(STA) in KVM. And results are really interesting. Looks like STA provides worse scheduler fairness against disabled STA (no-steal-acc cmdline param) I created benchmark, main idea is: 2 cgroups with cpu.shares

Re: [PATCH] clk: iproc: Fix PLL output frequency calculation

2015-10-19 Thread Ray Jui
On 15-10-19 02:49 PM, Stephen Boyd wrote: On 10/16, Ray Jui wrote: From: Simran Rai This patch affects the clocks that use fractional ndivider in their PLL output frequency calculation. Instead of 2^20 divide factor, the clock's ndiv integer shift was used. Fixed the bug by replacing ndiv

Re: [PATCH] clk: iproc: Fix PLL output frequency calculation

2015-10-19 Thread Stephen Boyd
On 10/16, Ray Jui wrote: > From: Simran Rai > > This patch affects the clocks that use fractional ndivider in their > PLL output frequency calculation. Instead of 2^20 divide factor, the > clock's ndiv integer shift was used. Fixed the bug by replacing ndiv > integer shift with 2^20 factor. > >

Re: [PATCH 6/9] clk: keystone: fix a trivial typo

2015-10-19 Thread Stephen Boyd
On 10/18, Geliang Tang wrote: > s/regsiter/register/ > > Signed-off-by: Geliang Tang > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe

[PATCH 07/23] perf bench: Remove the prefaulting complication from 'perf bench mem mem*'

2015-10-19 Thread Arnaldo Carvalho de Melo
From: Ingo Molnar So 'perf bench mem memcpy/memset' has elaborate code to measure memcpy()/memset() performance both with freshly allocated buffers (which includes initial page fault overhead) and with preallocated buffers. But the thing is, the resulting bandwidth results are mostly

[PATCH 01/23] perf test: Silence tracepoint event failures

2015-10-19 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Currently, when 'perf test' is run by a normal user, it'll fail to access tracepoint events. The output becomes somewhat messy because it tries to be nice with long error messages and hints. IMHO this is not needed for 'perf test' by default and AFAIK 'perf test' uses

<    1   2   3   4   5   6   7   8   9   10   >