Re: [PATCH] usbnet: ax88179_178a: Add support for writing the EEPROM

2016-08-24 Thread Alban Bedel
On Wed, 24 Aug 2016 16:30:39 +0200 Oliver Neukum wrote: > On Wed, 2016-08-24 at 15:52 +0200, Alban Bedel wrote: > > Implement the .set_eeprom callback to allow setting the MAC address > > as well as a few other parameters. Note that the EEPROM must have a > > correct PID/VID checksum set otherwis

Re: [RFC/PATCH 1/2] cpuidle: Allow idle-states to be disabled at start

2016-08-24 Thread Balbir Singh
On 25/08/16 00:44, Daniel Lezcano wrote: > On 08/19/2016 12:26 AM, Gautham R. Shenoy wrote: >> From: "Gautham R. Shenoy" >> >> Currently all the idle states registered by a cpu-idle driver are >> enabled by default. This patch adds a mechanism which allows the >> driver to hint if an idle-state

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-24 Thread Thomas Petazzoni
Hello, On Sun, 21 Aug 2016 15:11:58 +0200, Ralph Sennhauser wrote: > Commit cb4f71c4298853db0c6751b1209e4535956f136c changes the order of > the network interfaces for armada-38x. As a special exception to the > "order by register address" rule says the comment in the dtsi. The > commit messages e

[8086:0416] i915 Inability to drive internal (eDP) panel since 4.7 final

2016-08-24 Thread Tony Vroon
Good morning, Could you please CC me on any replies as I am not subscribed to this mailing list. Recent i915 development appears to have stopped my eDP panel from being driven correctly. The last working release was 4.6.7; any 4.7 kernel will not drive the screen and 4.8-RC3 does not drive the sc

Re: [PATCH for-next 2/2] IB/hns: Add support of ACPI to the Hisilicon RoCE driver

2016-08-24 Thread Leon Romanovsky
On Wed, Aug 24, 2016 at 02:25:12PM +, Salil Mehta wrote: > > It looks like we should retain the int as a return type or if you have > some other opinion or if I have missed something here please share :) Thanks for the explanation. > > Best regards > Salil signature.asc Description: PGP sig

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

2016-08-24 Thread Heiko Stübner
Hi Arvind, Am Mittwoch, 24. August 2016, 19:52:45 schrieb arvind Yadav: > yes, I am referring this code for clock control. Please definitly do not use that old gate driver anymore! Instead please look at the real clock drivers for specific Rockchip socs in the same directory. Which Rockchip soc

Re: [PATCH v2] perf/x86/amd: Make HW_CACHE_REFERENCES and HW_CACHE_MISSES measure L2

2016-08-24 Thread Borislav Petkov
On Wed, Aug 24, 2016 at 02:12:08PM +0100, Matt Fleming wrote: > While the Intel PMU monitors the LLC when perf enables the > HW_CACHE_REFERENCES and HW_CACHE_MISSES events, these events monitor > L1 instruction cache fetches (0x0080) and instruction cache misses > (0x0081) on the AMD PMU. > > This

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-24 Thread Dan Williams
[ adding Konstantin ] On Wed, Aug 24, 2016 at 7:40 AM, Kani, Toshimitsu wrote: > On Tue, 2016-08-23 at 21:48 -0700, Dan Williams wrote: >> On Tue, Aug 23, 2016 at 9:28 PM, Kani, Toshimitsu > > >> > BTW, why does devm_memremap_pages() put a whole range to >> > pgmap_radix as device memory, but onl

[PATCH] drm/bridge: analogix_dp: Don't read EDID if panel present

2016-08-24 Thread Sean Paul
If there's a panel connected to the analogix_dp bridge, rely on the panel driver for modes, rather than reading EDID *and* calling get_modes() on the panel. This allows panels with a valid EDID to read it in the panel driver (e.g. simple_panel), and panels with invalid EDID to homebrew modes in th

[PATCH v3] drm/bridge: analogix_dp: Remove duplicated code

2016-08-24 Thread Sean Paul
From: Tomeu Vizoso Remove code for reading the EDID and DPCD fields and use the helpers instead. Besides the obvious code reduction, other helpers are being added to the core that could be used in this driver and will be good to be able to use them instead of duplicating them. Signed-off-by: To

[PATCH net-next 0/2] rxrpc: More fixes

2016-08-24 Thread David Howells
nux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160824-1 David --- David Howells (2): rxrpc: Fix conn-based retransmit rxrpc: Make /proc/net/rxrpc_calls safer net/rxrpc/ar-internal.h |4 +++- net/rxrpc/call_object.c |3 +++ net/rxrpc/conn_client.c |1 + net/rxr

[PATCH net-next 2/2] rxrpc: Make /proc/net/rxrpc_calls safer

2016-08-24 Thread David Howells
Make /proc/net/rxrpc_calls safer by stashing a copy of the peer pointer in the rxrpc_call struct and checking in the show routine that the peer pointer, the socket pointer and the local pointer obtained from the socket pointer aren't NULL before we use them. Signed-off-by: David Howells --- net

[PATCH net-next 1/2] rxrpc: Fix conn-based retransmit

2016-08-24 Thread David Howells
If a duplicate packet comes in for a call that has just completed on a connection's channel then there will be an oops in the data_ready handler because it tries to examine the connection struct via a call struct (which we don't have - the pointer is unset). Since the connection struct pointer is

Re: Replacing specific kmalloc() calls by kmalloc_array()?

2016-08-24 Thread Paolo Bonzini
- Original Message - > From: "SF Markus Elfring" > To: "Paolo Bonzini" > Cc: "Julia Lawall" , "walter harms" , > k...@vger.kernel.org, > linux-s...@vger.kernel.org, "Christian Bornträger" , > "Cornelia Huck" > , "David Hildenbrand" , > "Heiko Carstens" > , "Martin Schwidefsky" , > "

[PATCH net-next 0/2] rxrpc: Add better client conn management strategy

2016-08-24 Thread David Howells
l/git/dhowells/linux-fs.git rxrpc-rewrite-20160824-2 David --- David Howells (2): rxrpc: Dup the main conn list for the proc interface rxrpc: Improve management and caching of client connection objects net/rxrpc/ar-internal.h | 58 ++- net/rxrpc/call_event.c |4 net

[PATCH net-next 2/2] rxrpc: Improve management and caching of client connection objects

2016-08-24 Thread David Howells
Improve the management and caching of client rxrpc connection objects. >From this point, client connections will be managed separately from service connections because AF_RXRPC controls the creation and re-use of client connections but doesn't have that luxury with service connections. Further, th

[PATCH net-next 1/2] rxrpc: Dup the main conn list for the proc interface

2016-08-24 Thread David Howells
The main connection list is used for two independent purposes: primarily it is used to find connections to reap and secondarily it is used to list connections in procfs. Split the procfs list out from the reap list. This allows us to stop using the reap list for client connections when they acqui

Re: [PATCH v05 60/72] arch/arm/include/uapi/asm/signal.h: use __kernel_size_t instead of size_t

2016-08-24 Thread Arnd Bergmann
On Monday, August 22, 2016 8:33:17 PM CEST Mikko Rapeli wrote: > diff --git a/arch/arm/include/uapi/asm/signal.h > b/arch/arm/include/uapi/asm/signal.h > index 33073bd..859f2de 100644 > --- a/arch/arm/include/uapi/asm/signal.h > +++ b/arch/arm/include/uapi/asm/signal.h > @@ -113,7 +113,7 @@ struct

Re: [RFC/PATCH 1/2] cpuidle: Allow idle-states to be disabled at start

2016-08-24 Thread Daniel Lezcano
On 08/24/2016 04:48 PM, Balbir Singh wrote: > > > On 25/08/16 00:44, Daniel Lezcano wrote: >> On 08/19/2016 12:26 AM, Gautham R. Shenoy wrote: >>> From: "Gautham R. Shenoy" >>> >>> Currently all the idle states registered by a cpu-idle driver are >>> enabled by default. This patch adds a mechani

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-24 Thread Dan Williams
On Tue, Aug 23, 2016 at 7:47 PM, Fengguang Wu wrote: > On Tue, Aug 23, 2016 at 04:42:15PM -0700, Dan Williams wrote: >> I was not able to reproduce this, I tried on Fedora 23 and Fedora 24 >> and both attempts succeeded. > > > Hi Dan, it looks the error only happens with separated obj dir, when >

Re: [RFC][PATCH] Kconfig: ARCH_HISI: Add PINCTRL to HISI platform

2016-08-24 Thread Wei Xu
Hi John, On 22/08/2016 23:45, John Stultz wrote: > Things won't work if PINCTRL isn't enabled, > so make sure to explicitly set it rather > then betting that we have some other platform > configed in which selects it. > > Cc: Arnd Bergmann > Cc: Wei Xu > Cc: Catalin Marinas > Cc: Will Deacon

Re: [PATCH 3/4] KVM-S390: Less function calls in kvm_s390_import_bp_data() after error detection

2016-08-24 Thread Christian Borntraeger
On 08/17/2016 02:10 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 17 Aug 2016 19:25:50 +0200 > > The kfree() function was called in a few cases by the > kvm_s390_import_bp_data() function during error handling > even if a passed variable contained a null pointer. > > Adjust ju

[PATCH v2 7/8] staging/lustre: release MGC device if connect fails

2016-08-24 Thread Oleg Drokin
From: "John L. Hammond" In lustre_fill_super() if lustre_start_mgc() fails then call lustre_common_put_super() to release a reference on the MGC device attached to the LSI. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/20851 Intel-bug-id: https://jira.hpdd.intel.com/br

[PATCH v2 0/8] Lustre fixes

2016-08-24 Thread Oleg Drokin
Here are some more recent Lustre fixes and a cleanup. This resend fixes the "fix panic at mdc_free_open()" patch to actually work. Please consider. Alexander Boyko (1): staging/lustre/mdc: fix panic at mdc_free_open() Andrew Perepechko (1): staging/lustre: avoid clearing i_nlink for inodes

[PATCH v2 3/8] staging/lustre: avoid clearing i_nlink for inodes in use

2016-08-24 Thread Oleg Drokin
From: Andrew Perepechko The patch removes find_cbdata callbacks and clear_nlink from dentry_iput path, since this piece of code makes a few races possible. The test case reproduces one of the possible races described in LU-7925: 1) two hard links are created for the same file 2) the test calls

Re: [PATCH v2 0/3] arm64: defconfig: enable various configs for HiKey

2016-08-24 Thread Wei Xu
Hi Guodong, On 24/08/2016 03:42, Guodong Xu wrote: > Enable various configs for HiKey, including: > 1. HiSilicon Kirin DRM > 2. ADV7533 > 3. HiSi Powerkey > 4. Bluetooth > Series applied to the hisilicon soc tree. Thanks! Best Regards, Wei > v2: > - Removed CMA size 128M change. Leave that in

Re: livepatch/kprobes incompatibility

2016-08-24 Thread Masami Hiramatsu
On Tue, 23 Aug 2016 21:13:00 -0400 Jessica Yu wrote: > Hi Masami, Petr, > > I'm trying to figure out where we are exactly with fixing the problems with > livepatch + kprobes, and I was wondering if there will be any more updates to > the ipmodify patchset that was originally merged back in 2014

[PATCH v2 1/8] staging/lustre: const correct set_lock_data()

2016-08-24 Thread Oleg Drokin
From: "John L. Hammond" Change the __u64 *cookie parameter of md_ops->set_lock_data() to const struct lustre_handle *lockh. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/17072 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7403 Reviewed-by: Frank Zago Reviewed-by

[PATCH v2 2/8] staging/lustre/mdc: fix panic at mdc_free_open()

2016-08-24 Thread Oleg Drokin
From: Alexander Boyko Assertion was happened for open request when rq_replay is set to 1. ASSERTION(mod->mod_open_req->rq_replay == 0) But this situation is not fatal for client, and could happened when mdc_close() failed. The fix allow to free such requests. If mdc_close fail, MDS doesn`t re

[PATCH v2 6/8] staging/lustre/llite: changes to avoid cache corruption

2016-08-24 Thread Oleg Drokin
From: Lokesh Nagappa Jaliminche ll_find_alias is responsible for getting alias for inode which can be reused. Directories are assumed to have unique alias, where in case of non-directories there can be multiple aliases. In case of lustre there can be two type of aliases i.e. discon_alias and inva

[PATCH v2 8/8] staging/lustre/o2iblnd: handle mixed page size configurations.

2016-08-24 Thread Oleg Drokin
From: James Simmons Currently it is not possible to send LNet traffic between two nodes using infiniband hardware that have different page sizes for the case when RDMA fragments are used. When two nodes establish a connection they tell the other node the maximum number of RDMA fragments they supp

[PATCH v2 4/8] staging/lustre/llite: check return value for obd_set_info_async

2016-08-24 Thread Oleg Drokin
From: Yang Sheng The return value is ignored in client_common_fill_super. Restore to check it and error out. Signed-off-by: Yang Sheng Reviewed-on: http://review.whamcloud.com/21125 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8360 Reviewed-by: Emoly Liu Reviewed-by: Bob Glossman Signe

[PATCH v2 5/8] staging/lustre/llite: Fix suspicious dereference of pointer 'vma->vm_file'

2016-08-24 Thread Oleg Drokin
From: Dmitry Eremin Remove useless LASSERT(vma->vm_file) because of if it's NULL it will crash early in file_inode(vma->vm_file). Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/21171 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8372 Reviewed-by: John L. Hammond Re

Re: [PATCH 1/4] arm64: dts: Add display subsystem DT nodes for hi6220-hikey

2016-08-24 Thread Wei Xu
Hi John, On 22/08/2016 23:48, John Stultz wrote: > From: Xinliang Liu > > Add ade and dsi DT nodes for hikey board. > > Cc: Guodong Xu > Cc: Wei Xu > Cc: Rob Herring > Cc: Mark Rutland > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-ker...@lists.infradead.org > Cc: devicet...@vger

Re: [PATCH 2/4] KVM-S390: Use memdup_user() rather than duplicating its implementation

2016-08-24 Thread Christian Borntraeger
On 08/17/2016 02:08 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 17 Aug 2016 18:41:43 +0200 > > * Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This issue was detected by using the Coccinelle software. > > * Return direct

Re: [PATCH 1/3] net: fs_enet: merge NAPI RX and NAPI TX

2016-08-24 Thread Christophe Leroy
Le 24/08/2016 à 15:07, Eric Dumazet a écrit : On Wed, 2016-08-24 at 12:36 +0200, Christophe Leroy wrote: Initially, a NAPI TX routine has been implemented separately from NAPI RX, as done on the freescale/gianfar driver. By merging NAPI RX and NAPI TX, we reduce the amount of TX completion in

Re: [PATCH] arm64: dts: hikey: extend default cma size to 128MB

2016-08-24 Thread Rob Herring
On Wed, Aug 24, 2016 at 8:35 AM, Guodong Xu wrote: > To support display in Debian on HiKey, cma heap is used to allocate > graphic buffers. The default size of CMA is 16 MB which is not enought. s/enought/enough/ > > Increase the default CMA size to 128 MB. > > cc: Rob Herring > cc: Fathi Boudr

Re: livepatch/kprobes incompatibility

2016-08-24 Thread Masami Hiramatsu
On Wed, 24 Aug 2016 11:39:59 +0200 Petr Mladek wrote: > Well, there is one more problem. We should also warn when a kprobe > is not longer accessible because the function call is redirected > by a livepatch. My last notes about it are: > > + worked on the check for lost Kprobes; decided that o

Re: [PATCH v2] misc: retire the old BMP085 driver

2016-08-24 Thread H. Nikolaus Schaller
HI, > Am 24.08.2016 um 16:38 schrieb Linus Walleij : > > Patches merged to the IIO BMP085 driver makes it fully compliant > with all features found in this old misc driver. Retire this old > driver in favor of the new one in the proper subsystem. > > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman

RE: [PATCH] ARM: imx: add cpuidle support for i.mx6ul

2016-08-24 Thread Yongcai Huang
Best Regards! Anson Huang > -Original Message- > From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: 2016-08-24 5:09 PM > To: Yongcai Huang > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Fabio > Estevam ; shawn...@kernel.org; > li...@armlinux.org.uk; k

Re: [PATCH v6 0/3] virtually mapped stacks

2016-08-24 Thread Andy Lutomirski
On Wed, Aug 24, 2016 at 3:12 AM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> On Thu, Aug 11, 2016 at 2:35 AM, Andy Lutomirski wrote: >> > Andy Lutomirski (3): >> > fork: Add generic vmalloced stack support >> > dma-api: Teach the "DMA-from-stack" check about vmapped stacks >> > x8

Re: [PATCH v05 14/72] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h

2016-08-24 Thread Arnd Bergmann
On Monday, August 22, 2016 8:32:31 PM CEST Mikko Rapeli wrote: > Fixes userspace compilation error: > > error: unknown type name ‘__kernel_key_t’ > > Signed-off-by: Mikko Rapeli > Looks good. I was on Cc for patches 14, 15, 16, 17, 18, 35, 65 and 71. They all seem reasonable to me, the only ch

Re: [PATCH 2/2] arm64: dts: set UART1 clock frequency to 150MHz

2016-08-24 Thread Wei Xu
Hi Jorge, On 08/07/2016 09:11, Jorge Ramirez-Ortiz wrote: > Enable support for higher baud rates (up to 3Mbps) in UART1 - required > for bluetooth transfers. > > Signed-off-by: Jorge Ramirez-Ortiz > Tested-by: Jorge Ramirez-Ortiz > --- Applied to the hisi-dt-4.9 branch. Thanks! Best Regards,

Re: linux kernel 3.19.X does not load when compiled with binutils 2.6, works fine when compiled with binutils 2.22

2016-08-24 Thread Lennart Sorensen
On Wed, Aug 24, 2016 at 04:42:20PM +0200, luigi.gen...@it.telecomitalia.it wrote: > Hi all, > > recentrly I was in need to compile and run linux kernel 3.19.8 on some > servers, with different bios and cpus. > > so i noticed that If i compile this kernel with binutils 2.6 (and 2.7) it > does not

Re: [PATCH v7 0/4] ARM: SoC: add a new platform, UniPhier (arch/arm/mach-uniphier)

2016-08-24 Thread Arnd Bergmann
On Thursday, August 18, 2016 3:46:17 AM CEST Masahiro Yamada wrote: > 2016-01-18 22:49 GMT+09:00 Arnd Bergmann : > > On Monday 18 January 2016 19:54:08 Masahiro Yamada wrote: > > I collected a couple of GPG signatures and > finally, I managed to host my git tree in the kernel.org site. > > From t

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-24 Thread Kani, Toshimitsu
On Tue, 2016-08-23 at 22:48 -0700, Dan Williams wrote: > On Tue, Aug 23, 2016 at 8:58 PM, Dan Williams > > > > Does the attached patch fix this for you? > > Sorry, should be this much simpler patch that also mirrors what > driver/nvdimm/pmem.c is doing... Yes, this change works fine. :-) Test

Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

2016-08-24 Thread Oleg Nesterov
On 08/24, Michal Hocko wrote: > > Sounds better? > diff --git a/kernel/fork.c b/kernel/fork.c > index b89f0eb99f0a..ddde5849df81 100644 > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -914,7 +914,8 @@ void mm_release(struct task_struct *tsk, struct mm_struct > *mm) > > /* >* Signa

Re: [PATCH 3/4] dt-binding: remoteproc: venus rproc dt binding document

2016-08-24 Thread Stanimir Varbanov
Hi Rob, On 08/23/2016 08:32 PM, Rob Herring wrote: > On Fri, Aug 19, 2016 at 06:53:19PM +0300, Stanimir Varbanov wrote: >> Add devicetree binding document for Venus remote processor. >> >> Signed-off-by: Stanimir Varbanov >> --- >> .../devicetree/bindings/remoteproc/qcom,venus.txt | 33 >>

Re: [patch 2/2] i2c: mux: mellanox: add driver

2016-08-24 Thread Peter Rosin
On 2016-08-24 15:56, Vadim Pasternak wrote: > From: Vadim Pasternak > > This driver allows I2C routing controlled through CPLD select registers on > wide > range of Mellanox systems (CPLD Lattice device). > MUX selection is provided by digital and analog HW. Analog part is not under > SW > cont

Re: [PATCH v2] misc: retire the old BMP085 driver

2016-08-24 Thread Arnd Bergmann
On Wednesday, August 24, 2016 4:38:52 PM CEST Linus Walleij wrote: > Patches merged to the IIO BMP085 driver makes it fully compliant > with all features found in this old misc driver. Retire this old > driver in favor of the new one in the proper subsystem. > > Cc: Arnd Bergmann > Acked-by: Ar

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-24 Thread Huang, Ying
Hi, Mel, Mel Gorman writes: > On Wed, Aug 17, 2016 at 04:49:07PM +0100, Mel Gorman wrote: >> > Yes, we could try to batch the locking like DaveC already suggested >> > (ie we could move the locking to the caller, and then make >> > shrink_page_list() just try to keep the lock held for a few page

Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

2016-08-24 Thread Michal Hocko
On Wed 24-08-16 17:32:00, Oleg Nesterov wrote: > On 08/24, Michal Hocko wrote: > > > > Sounds better? > > diff --git a/kernel/fork.c b/kernel/fork.c > > index b89f0eb99f0a..ddde5849df81 100644 > > --- a/kernel/fork.c > > +++ b/kernel/fork.c > > @@ -914,7 +914,8 @@ void mm_release(struct task_struct

Re: [PATCH] wan-cosa: Use memdup_user() rather than duplicating its implementation

2016-08-24 Thread Jan Kasprzak
Hello, SF Markus Elfring wrote: : From: Markus Elfring : Date: Sat, 20 Aug 2016 10:10:12 +0200 : : Reuse existing functionality from memdup_user() instead of keeping : duplicate source code. : : This issue was detected by using the Coccinelle software. What about the GFP_DMA at

Re: [PATCH 01/10] reset: ath79: add driver Kconfig option

2016-08-24 Thread Arnd Bergmann
On Wednesday, August 24, 2016 3:28:53 PM CEST Philipp Zabel wrote: > if RESET_CONTROLLER > > +config RESET_ATH79 > + bool "AR71xx Reset Driver" if COMPILE_TEST > + default ATH79 > + help > + This enables the ATH79 reset controller driver that supports the > + AR

Re: [PATCH 5/5] arm64: Add uprobe support

2016-08-24 Thread Oleg Nesterov
Hi Pratyush, On 08/24, Pratyush Anand wrote: > > > I don't think we want user_{enable,disable{_single_step in the long term, > > please look at 9bd1190a11c9d2 "uprobes/x86: Do not (ab)use TIF_SINGLESTEP > > /user_*_single_step() for single-stepping". it seems that ARM64 sets/clears > > TIF_SINGLES

Re: [PATCH 5/5] arm64: Add uprobe support

2016-08-24 Thread Will Deacon
On Wed, Aug 24, 2016 at 05:47:11PM +0200, Oleg Nesterov wrote: > On 08/24, Pratyush Anand wrote: > > > > > I don't think we want user_{enable,disable{_single_step in the long term, > > > please look at 9bd1190a11c9d2 "uprobes/x86: Do not (ab)use TIF_SINGLESTEP > > > /user_*_single_step() for single

Re: [PATCH v2 3/6] dt/bindings: Add bindings for Tegra GMI controller

2016-08-24 Thread Jon Hunter
On 24/08/16 14:37, Mirza Krak wrote: > From: Mirza Krak > > Document the devicetree bindings for the Generic Memory Interface (GMI) > bus driver found on Tegra SOCs. > > Signed-off-by: Mirza Krak > --- > Changes in v2: > - Updated examples and some information based on comments from Jon Hunter

[PATCH] ARM: plat-pxa: Use kmalloc_array() in pxa_dma_init_debugfs()

2016-08-24 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 24 Aug 2016 17:45:51 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle softwar

Re: [PATCH v1 01/10] sched/fair: Chance LOAD_AVG_MAX_N from 345 to 347

2016-08-24 Thread Vincent Guittot
On 10 August 2016 at 02:14, Yuyang Du wrote: > In commit 5b51f2f80b3b906ce59bd4dce6eca3c7f34cb1b9 > Author: Paul Turner > Date: Thu Oct 4 13:18:32 2012 +0200 > > sched: Make __update_entity_runnable_avg() fast > > Paul has a program to compute LOAD_AVG_MAX_N, which basically means > how man

Re: [RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-24 Thread Huang, Ying
"Huang, Ying" writes: > Hi, Dave, > > Dave Hansen writes: > >> On 08/09/2016 09:17 AM, Huang, Ying wrote: >>> File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to >>> accelerate finding the pages with the specific tag in the the radix tree >>> during writing back an inode. But for

Re: [PATCH v6 1/3] fork: Add generic vmalloced stack support

2016-08-24 Thread Dmitry Vyukov
On Wed, Aug 24, 2016 at 3:03 AM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> +config VMAP_STACK >> + default y >> + bool "Use a virtually-mapped stack" >> + depends on HAVE_ARCH_VMAP_STACK && !KASAN >> + ---help--- >> + Enable this if you want the use virtually-mapp

Re: wan-cosa: Use memdup_user() rather than duplicating its implementation

2016-08-24 Thread SF Markus Elfring
> What about the GFP_DMA attribute, which your patch deletes? > The buffer in question has to be ISA DMA-able. Thanks for your constructive feedback. Would you be interested in using a variant of the function "memdup_…" with which the corresponding memory allocation option can be preserved?

Re: [PATCH v2 0/6] Intel Integrated Sensor Hub Support (ISH)

2016-08-24 Thread Grant Likely
On Tue, Jul 5, 2016 at 8:42 AM, Grant Likely wrote: > > On 22/06/16 06:40, Srinivas Pandruvada wrote: >> >> Change log >> v2: >> - Overview in documentation show analogy with usbhid implementation >> - sparse errors for statics. Also pointed by Jiri >> - Clearly marking exported function header fi

[PATCH v2 1/2] ASoC: simple-card-utils: add __printf attribute

2016-08-24 Thread Nicolas Iooss
asoc_simple_card_set_dailink_name() uses devm_kvasprintf() to format some of its arguments. Adding a __printf attribute to this function makes it possible to detect at compile-time errors related to format strings. Signed-off-by: Nicolas Iooss --- include/sound/simple_card_utils.h | 1 + 1 file

[PATCH v2 2/2] MAINTAINERS: document ASoC header files

2016-08-24 Thread Nicolas Iooss
include/sound/simple_card_utils.h is handled by ASoC maintainers, as stated in https://lkml.org/lkml/2016/8/22/307, and include/sound/simple_card.h seems to be an ASoC file too. In the future there will be more files named like these ones so introduce a pattern to match them. Signed-off-by: Nicola

[PATCH] dax: fix device-dax region base

2016-08-24 Thread Dan Williams
The data offset for a dax region needs to account for a reservation in the resource range. Otherwise, device-dax is allowing mappings directly into the memmap or device-info-block area with crash signatures like the following: BUG: unable to handle kernel NULL pointer dereference at

RE: [patch 2/2] i2c: mux: mellanox: add driver

2016-08-24 Thread Vadim Pasternak
Hi Peter, Thank you very much for your review. > -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Wednesday, August 24, 2016 4:55 PM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-24 Thread Lennart Sorensen
On Wed, Aug 24, 2016 at 04:50:11PM +0200, Thomas Petazzoni wrote: > We had many many users getting confused by the fact that the order of > the network interfaces was inverted compared to: > > * The board documentations > * The U-Boot numbering > * And to a lesser extent, the vendor kernel > >

Re: next-20160804: Build error when building xtensa images

2016-08-24 Thread Sudip Mukherjee
ing. Bisect points to 'xtensa: cleanup MMU setup and kernel layout macros'. Thanks for the report. The default kernel load address in this patch was wrong. Fix posted. xtensa builds still fails with that same error. Did the fix make its way to linux-next? xtensa defconfig for ne

Re: [RFC PATCH 0/5] Add CONFIG symbol as module attribute

2016-08-24 Thread Luis R. Rodriguez
On Wed, Aug 24, 2016 at 01:05:04PM +0200, Michal Marek wrote: > On 2016-08-23 23:32, Luis R. Rodriguez wrote: > > On Fri, Aug 19, 2016 at 11:07:36AM +0200, Michal Marek wrote: > >> On 2016-08-18 19:55, Luis R. Rodriguez wrote: > >>> On Wed, Aug 17, 2016 at 09:26:58PM +0200, Cristina Moraru wrote: >

[PATCH] scripts: add ksymbolize.py

2016-08-24 Thread Alexander Potapenko
Commit the script that symbolizes BUG messages and KASAN error reports by adding file:line information to each stack frame. The script is a copy of https://github.com/google/sanitizers/blob/master/address-sanitizer/tools/kasan_symbolize.py , originally written by Andrey Konovalov. Cc: Andrey Ryabi

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Daniel Lezcano
On 08/04/2016 06:30 AM, Rich Felker wrote: > At the hardware level, the J-Core PIT is integrated with the interrupt > controller, but it is represented as its own device and has an > independent programming interface. It provides a 12-bit countdown > timer, which is not presently used, and a period

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-24 Thread Thomas Petazzoni
Hello, On Wed, 24 Aug 2016 12:19:33 -0400, Lennart Sorensen wrote: > > So having things match the documentation numbering was in our opinion > > the least confusing thing moving forward. We should have done it > > earlier, but we thought that the rule "order by register address" was a > > very st

[PATCH] MAINTAINERS: Update video4linux patterns

2016-08-24 Thread Joe Perches
Various commits have moved around the file directories, update the patterns. There are likely other v4l patterns that could be updated, these are just the existing ones that got moved around. Signed-off-by: Joe Perches cc: Mauro Carvalho Chehab --- MAINTAINERS | 20 ++-- 1 file

Re: [PATCH] scripts: add ksymbolize.py

2016-08-24 Thread Tejun Heo
Hello, Alexander. On Wed, Aug 24, 2016 at 06:37:35PM +0200, Alexander Potapenko wrote: > Commit the script that symbolizes BUG messages and KASAN error reports > by adding file:line information to each stack frame. > The script is a copy of > https://github.com/google/sanitizers/blob/master/addres

Re: [Patch v8] driver/clk/clk-si5338: Add common clock framework driver for si5338

2016-08-24 Thread york sun
On 08/23/2016 09:48 PM, Stephen Boyd wrote: > On 08/24, kbuild test robot wrote: >> >> 2827 if (drv_type < 0) >> 2828 return drv_type; >> 2829 >> 2830 drv_vdd = get_drv_vdd(drvdata, i); >> 2831 if (drv_vdd < 0) >> 2

Re: [PATCH v2 1/2] PCI: quirk fixup for cavium invalid sriov link value.

2016-08-24 Thread Bjorn Helgaas
On Tue, Aug 23, 2016 at 04:27:14PM -0700, Omer Khaliq wrote: > From: Ananth Jasty > > Cavium cn88xx hardware presents an incorrect SR-IOV Function > Dependency Link, add a fixup quirk for the affected devices. > > Acked-by: David Daney > Signed-off-by: Ananth Jasty > Signed-off-by: Omer Khaliq

Re: [LKP] [lkp] [f2fs] ec795418c4: fsmark.files_per_sec -36.3% regression

2016-08-24 Thread huang ying
Hi, Jaegeuk, On Thu, Aug 11, 2016 at 6:22 PM, Jaegeuk Kim wrote: > On Thu, Aug 11, 2016 at 03:49:41PM -0700, Huang, Ying wrote: >> Hi, Kim, >> >> "Huang, Ying" writes: >> >> >> >> [lkp] [f2fs] 3bdad3c7ee: aim7.jobs-per-min -25.3% regression >> >> [lkp] [f2fs] b93f771286: aim7.jobs-per-min -81.2%

[PATCH 2/6] oprofile/x86: add regs->ip to oprofile trace

2016-08-24 Thread Josh Poimboeuf
dump_trace() doesn't add the interrupted instruction's address to the trace, so add it manually. This makes the profile more useful, and also makes it more consistent with what perf profiling does. Cc: Robert Richter Signed-off-by: Josh Poimboeuf --- arch/x86/oprofile/backtrace.c | 13

[PATCH 5/6] x86/dumpstack: remove unnecessary stack pointer arguments

2016-08-24 Thread Josh Poimboeuf
When calling show_stack_log_lvl() or dump_trace() with a regs argument, providing a stack pointer or frame pointer is redundant. Reviewed-by: Andy Lutomirski Signed-off-by: Josh Poimboeuf d --- arch/x86/kernel/dumpstack.c| 2 +- arch/x86/kernel/dumpstack_32.c | 2 +- arch/x86/kernel/dumpstac

[PATCH 6/6] x86/dumpstack: allow preemption in show_stack_log_lvl() and dump_trace()

2016-08-24 Thread Josh Poimboeuf
show_stack_log_lvl() and dump_trace() are already preemption safe: - If they're running in irq or exception context, preemption is already disabled and the percpu stack pointers can be trusted. - If they're running with preemption enabled, they must be running on the task stack anyway, so it

[PATCH 0/6] x86/dumpstack: more stack dump improvements

2016-08-24 Thread Josh Poimboeuf
Some more preparatory patches for the new x86 unwinder (though these generally stand alone as improvements in their own right). Josh Poimboeuf (6): perf/x86: check perf_callchain_store() error oprofile/x86: add regs->ip to oprofile trace x86/dumpstack: make printk_stack_address() more genera

Re: [RFC][PATCH 1/3] locking/mutex: Rework mutex::owner

2016-08-24 Thread Peter Zijlstra
On Wed, Aug 24, 2016 at 05:34:12PM +0200, Peter Zijlstra wrote: > On Wed, Aug 24, 2016 at 10:56:59AM +0100, Will Deacon wrote: > > > + owner = atomic_long_read(&lock->owner); > > > + for (;;) { > > > + unsigned long old; > > > + > > > + old = atomic_long_cmpxchg_release(&lock->owner

[PATCH 1/6] perf/x86: check perf_callchain_store() error

2016-08-24 Thread Josh Poimboeuf
Add a check to perf_callchain_kernel() so that it returns early if the callchain entry array is already full. Signed-off-by: Josh Poimboeuf --- arch/x86/events/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c index 18a1a

Re: [RFC][PATCH 1/3] locking/mutex: Rework mutex::owner

2016-08-24 Thread Will Deacon
On Wed, Aug 24, 2016 at 06:52:44PM +0200, Peter Zijlstra wrote: > On Wed, Aug 24, 2016 at 05:34:12PM +0200, Peter Zijlstra wrote: > > On Wed, Aug 24, 2016 at 10:56:59AM +0100, Will Deacon wrote: > > > > + owner = atomic_long_read(&lock->owner); > > > > + for (;;) { > > > > +

[PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

2016-08-24 Thread Josh Poimboeuf
Change printk_stack_address() to be useful when called by an unwinder outside the context of dump_trace(). Specifically: - printk_stack_address()'s 'data' argument is always used as the log level string. Make that explicit. - Call touch_nmi_watchdog(). Signed-off-by: Josh Poimboeuf --- arc

[PATCH 4/6] x86/dumpstack: add get_stack_pointer() and get_frame_pointer()

2016-08-24 Thread Josh Poimboeuf
The various functions involved in dumping the stack all do similar things with regard to getting the stack pointer and the frame pointer based on the regs and task arguments. Create helper functions to do that instead. Reviewed-by: Andy Lutomirski Signed-off-by: Josh Poimboeuf --- arch/x86/inc

Re: [PATCH net-next 0/2] rxrpc: More fixes

2016-08-24 Thread David Miller
From: David Howells Date: Wed, 24 Aug 2016 15:59:46 +0100 > Tagged thusly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-rewrite-20160824-1 Both -1 and -2 pulled, thanks David!

Re: [PATCH] mm: memcontrol: avoid unused function warning

2016-08-24 Thread Vladimir Davydov
On Wed, Aug 24, 2016 at 10:22:43AM +0200, Arnd Bergmann wrote: > A bugfix in v4.8-rc2 introduced a harmless warning when CONFIG_MEMCG_SWAP > is disabled but CONFIG_MEMCG is enabled: > > mm/memcontrol.c:4085:27: error: 'mem_cgroup_id_get_online' defined but not > used [-Werror=unused-function] >

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-24 Thread Ralph Sennhauser
On Wed, 24 Aug 2016 16:50:11 +0200 Thomas Petazzoni wrote: > Hello, > > On Sun, 21 Aug 2016 15:11:58 +0200, Ralph Sennhauser wrote: > > > Commit cb4f71c4298853db0c6751b1209e4535956f136c changes the order of > > the network interfaces for armada-38x. As a special exception to the > > "order by r

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-24 Thread Lennart Sorensen
On Wed, Aug 24, 2016 at 06:43:34PM +0200, Thomas Petazzoni wrote: > Well, just like the for the documentation aspect, you're seeing this > from the OpenWRT/LEDE angle only. Other people are using plenty of > other things. > > We knew it would potentially cause some breakage, so it was a > trade-of

Re: [PATCH 3/3] net: fs_enet: make rx_copybreak value configurable

2016-08-24 Thread Florian Fainelli
On 08/24/2016 03:36 AM, Christophe Leroy wrote: > Measurement shows that on a MPC8xx running at 132MHz, the optimal > limit is 112: > * 114 bytes packets are processed in 147 TB ticks with higher copybreak > * 114 bytes packets are processed in 148 TB ticks with lower copybreak > * 128 bytes packet

Re: [RFC][PATCH 1/3] locking/mutex: Rework mutex::owner

2016-08-24 Thread Peter Zijlstra
On Wed, Aug 24, 2016 at 10:56:59AM +0100, Will Deacon wrote: > > + owner = atomic_long_read(&lock->owner); > > + for (;;) { > > + unsigned long old; > > + > > + old = atomic_long_cmpxchg_release(&lock->owner, owner, owner & > > 0x03); > > + if (old == owner) > > +

Re: [PATCH v6 0/3] virtually mapped stacks

2016-08-24 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Wed, Aug 24, 2016 at 3:12 AM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> On Thu, Aug 11, 2016 at 2:35 AM, Andy Lutomirski wrote: > >> > Andy Lutomirski (3): > >> > fork: Add generic vmalloced stack support > >> > dma-api: Teach the "DMA-from

Re: [PATCH v6 1/3] fork: Add generic vmalloced stack support

2016-08-24 Thread Josh Cartwright
Hey Andy- Small non-critical/potential future optimization comment below: On Thu, Aug 11, 2016 at 02:35:21AM -0700, Andy Lutomirski wrote: > If CONFIG_VMAP_STACK is selected, kernel stacks are allocated with > vmalloc_node. > > grsecurity has had a similar feature (called > GRKERNSEC_KSTACKOVERF

Re: [RESEND] [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings

2016-08-24 Thread Vinay Simha
- dcdc-en-gpios: power IC supply enable i cannot make this as gpios, since pm8921_lvs7 is a regulator. We can make gpio as regulator, but not regulator as gpio. other option i have to map pm8921_lvs7 to iovcc-supply and pm8921_gpio 23 to dcdc-en-gpios. Since we do not have nx7 schematic not sur

Re: x86/PCI: Scan all functions during probing

2016-08-24 Thread Thomas Gleixner
On Wed, 24 Aug 2016, Jan Kiszka wrote: > On 2016-08-24 04:39, Thomas Gleixner wrote: > > On Thu, 18 Aug 2016, Bjorn Helgaas wrote: > >> I looked up the spec: PCI (not PCIe) r3.0, sec 3.2.2.3.4, says: > >> > >> A single-function device may optionally respond to all function > >> numbers as the s

Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

2016-08-24 Thread Joe Perches
On Wed, 2016-08-24 at 11:50 -0500, Josh Poimboeuf wrote: > Change printk_stack_address() to be useful when called by an unwinder > outside the context of dump_trace(). > > Specifically: > > - printk_stack_address()'s 'data' argument is always used as the log >   level string.  Make that explicit.

[PATCH v3] clk: let clk_disable() return immediately if clk is NULL

2016-08-24 Thread Masahiro Yamada
Many of clk_disable() implementations just return for NULL pointer, but this check is missing from some. Let's make it tree-wide consistent. It will allow clock consumers to call clk_disable() without NULL pointer check. Signed-off-by: Masahiro Yamada Acked-by: Greg Ungerer Acked-by: Wan Zongs

Re: [RFC PATCH 0/5] Add CONFIG symbol as module attribute

2016-08-24 Thread Naveen Kumar
unsubscribe backports On 8/24/16, Luis R. Rodriguez wrote: > On Wed, Aug 24, 2016 at 01:05:04PM +0200, Michal Marek wrote: >> On 2016-08-23 23:32, Luis R. Rodriguez wrote: >> > On Fri, Aug 19, 2016 at 11:07:36AM +0200, Michal Marek wrote: >> >> On 2016-08-18 19:55, Luis R. Rodriguez wrote: >> >>>

<    1   2   3   4   5   6   7   8   9   >