[PATCH v2 1/2] remoteproc: core: Add rproc OF look-up functions

2016-08-16 Thread Lee Jones
- of_rproc_by_index(): look-up and obtain a reference to a rproc using the DT phandle "rprocs" and a index. - of_rproc_by_name(): lookup and obtain a reference to a rproc using the DT phandle "rprocs" and "rproc-names". Signed-off-by: Ludovic Barre

Re: uprobes: memory leak in enable/disable loop

2016-08-16 Thread Michal Hocko
On Tue 16-08-16 16:25:12, Oleg Nesterov wrote: > On 08/16, Oleg Nesterov wrote: > > > > On 08/15, Brenden Blanco wrote: > > > > > > Hi folks, > > > > > > I think I have come across a memory leak in uprobes, which is fairly easy > > > to > > > reproduce. > > > > At first glance this looks as a prob

Re: [PATCH] arm: module-plts: improve algorithm for counting PLTs

2016-08-16 Thread Ard Biesheuvel
(+ Dave) Hello Jongsung, On 16 August 2016 at 14:55, Jongsung Kim wrote: > Current count_plts() uses O(n^2) algorithm for counting distinct > PLTs. It's good and fast enough when handling relatively small > number of relocs. But the time for counting grows so fast by its > nature. A Cortex-A53 o

[PULL] vhost: fixes for 4.8

2016-08-16 Thread Michael S. Tsirkin
The following changes since commit 3b2fbb3f06efe5bd2dfdce2a1db703e23c1a78af: virtio/s390: deprecate old transport (2016-08-09 13:42:41 +0300) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 6be

[PATCH v11 4/5] usb: dwc3: add dis_del_phy_power_chg_quirk

2016-08-16 Thread William Wu
Add a quirk to clear the GUSB3PIPECTL.DELAYP1TRANS bit, which specifies whether disable delay PHY power change from P0 to P1/P2/P3 when link state changing from U0 to U1/U2/U3 respectively. Signed-off-by: William Wu Acked-by: Rob Herring --- Changes in v11: - None Changes in v10: - None Change

[PATCH] net: ipconfig: Fix more use after free

2016-08-16 Thread Thierry Reding
he call to ic_close_devs() to the very end of the function. Signed-off-by: Thierry Reding --- This applies on top of next-20160816. net/ipv4/ipconfig.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 66c2fe602810..ba9cbeafb

[PATCH v11 1/5] usb: dwc3: of-simple: add compatible for rockchip rk3399

2016-08-16 Thread William Wu
Rockchip platform merely enable usb3 clocks and populate its children. So we can use this generic glue layer to support Rockchip dwc3. Signed-off-by: William Wu --- Changes in v11: - add compatible in dwc3-of-simple.c, and remove dwc3-rockchip.c (balbi) Changes in v10: - None Changes in v9: - r

[PATCH v11 2/5] usb: dwc3: add dis_u2_freeclk_exists_quirk

2016-08-16 Thread William Wu
Add a quirk to clear the GUSB2PHYCFG.U2_FREECLK_EXISTS bit, which specifies whether the USB2.0 PHY provides a free-running PHY clock, which is active when the clock control input is active. Signed-off-by: William Wu Acked-by: Rob Herring --- Changes in v11: - None Changes in v10: - None Change

[PATCH v11 3/5] usb: dwc3: make usb2 phy utmi interface configurable

2016-08-16 Thread William Wu
Support to configure the UTMI+ PHY with an 8- or 16-bit interface via DT. The UTMI+ PHY interface is a hardware capability, and it's platform dependent. Normally, the PHYIF can be configured during coreconsultant. But for some specific USB cores(e.g. rk3399 SoC DWC3), the default PHYIF configurati

[PATCH v11 0/5] support rockchip dwc3 driver

2016-08-16 Thread William Wu
This series add support for rockchip DWC3 driver, and add additional optional properties for specific platforms (e.g., rockchip rk3399 platform). The DesignWare USB3 integrated in rockchip SoCs is a configurable IP Core which can be instantiated as Dual-Role Device (DRD), Host Only (XHCI) and Peri

[PATCH v11 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-08-16 Thread William Wu
This patch adds the devicetree documentation required for Rockchip USB3.0 core wrapper consisting of USB3.0 IP from Synopsys. It supports DRD mode, and could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-off-by: William Wu Acked-by: Rob Herring --- Changes in v11: -

Re: RFC: callchain showing same entry as hist_entry

2016-08-16 Thread Jiri Olsa
On Tue, Aug 16, 2016 at 11:36:28AM -0300, Arnaldo Carvalho de Melo wrote: > Hi Namhyung, Jiri, > > please take a look at the patch below, and Ack if possible, it > is a problem introduced in: > > cfaa154b2335 ("perf tools: Get rid of obsolete hist_entry__sort_list") > > That is not equiv

[PATCH 3/2+1] remoteproc: core: Move of_get_rproc() helper to header

2016-08-16 Thread Lee Jones
remoteproc: core: Move of_get_rproc() helper to header Since of_get_rproc() has been made a simple helper, we can move it to the remoteproc.h and make it a 'static inline'. Suggested-by: Suman Anna Signed-off-by: Lee Jones diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc

Re: [PATCH 0/8] Remove deprecated workqueue interface users

2016-08-16 Thread Tejun Heo
Hello, Sebastian. On Tue, Aug 16, 2016 at 02:23:21AM +0200, Sebastian Reichel wrote: > At least the charger monitoring is timing critical: Many charger > chips must be monitored (e.g. for over-temp. events). I think > all of them have a self-protection, or a watchdog, so they would > actually stop

Re: RFC: callchain showing same entry as hist_entry

2016-08-16 Thread Namhyung Kim
Hi Arnaldo, On Tue, Aug 16, 2016 at 11:36:28AM -0300, Arnaldo Carvalho de Melo wrote: > Hi Namhyung, Jiri, > > please take a look at the patch below, and Ack if possible, it > is a problem introduced in: > > cfaa154b2335 ("perf tools: Get rid of obsolete hist_entry__sort_list") > > That

[PATCH] powerpc: migrate exception table users off module.h and onto extable.h

2016-08-16 Thread Paul Gortmaker
These files were only including module.h for exception table related functions. We've now separated that content out into its own file "extable.h" so now move over to that and avoid all the extra header content in module.h that we don't really need to compile these files. Cc: Benjamin Herrenschmi

Re: [PATCH net-next 5/6] net: dsa: mv88e6xxx: describe PHY page and SerDes

2016-08-16 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > On Mon, Aug 15, 2016 at 05:19:01PM -0400, Vivien Didelot wrote: >> +static int mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, >> + u8 page, int reg, u16 *val) >> +{ >> +int err; >> + >> +/* There is no paging f

Re: [Documentation] State of CPU controller in cgroup v2

2016-08-16 Thread Chris Mason
On 08/16/2016 10:07 AM, Peter Zijlstra wrote: On Wed, Aug 10, 2016 at 06:09:44PM -0400, Johannes Weiner wrote: [ That, and a disturbing number of emotional outbursts against systemd, which has nothing to do with any of this. ] Oh, so I'm entirely dreaming this then: https://github.com/

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

2016-08-16 Thread Mel Gorman
On Mon, Aug 15, 2016 at 04:48:36PM -0700, Linus Torvalds wrote: > On Mon, Aug 15, 2016 at 4:20 PM, Linus Torvalds > wrote: > > > > None of this code is all that new, which is annoying. This must have > > gone on forever, > > ... ooh. > > Wait, I take that back. > > We actually have some very re

FROM MRS LINAH

2016-08-16 Thread FROM MRS LINAH MOHOHLO
FROM MRS LINAH FROM MRS. LINAH MOHOHLO.pdf Description: Adobe PDF document

Re: Problem with atomic accesses in pstore on some ARM CPUs

2016-08-16 Thread Guenter Roeck
On Tue, Aug 16, 2016 at 6:21 AM, Will Deacon wrote: > On Tue, Aug 16, 2016 at 06:14:53AM -0700, Guenter Roeck wrote: >> On Tue, Aug 16, 2016 at 3:32 AM, Robin Murphy wrote: >> > On 16/08/16 00:19, Guenter Roeck wrote: >> >> we are having a problem with atomic accesses in pstore on some ARM >> >>

Re: RFC: callchain showing same entry as hist_entry

2016-08-16 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 16, 2016 at 11:55:11PM +0900, Namhyung Kim escreveu: > Hi Arnaldo, > > On Tue, Aug 16, 2016 at 11:36:28AM -0300, Arnaldo Carvalho de Melo wrote: > > Hi Namhyung, Jiri, > > > > please take a look at the patch below, and Ack if possible, it > > is a problem introduced in: > > > >

[RESEND PATCH] ARM: multi_v7_defconfig: Build Atmel maXTouch driver as a module

2016-08-16 Thread Javier Martinez Canillas
The driver is for a trackpad device so is not needed for booting and makes more sense to have it as module to reduce the kernel image size. It was probably enabled as built-in because module autoload was not working when the I2C device was registered by OF but this got fixed in commit b7d21058b40b

[PATCH 0/2] ia64: make use of new extable.h header

2016-08-16 Thread Paul Gortmaker
We forked the exception table content out of module.h into a new extable.h file[1]. We temporarily include extable.h into the module.h itself. Now we work our way across the arch independent and arch specific files needing just exception table content, and move them off module.h and onto extable.

[PATCH 1/2] ia64: macro-ize ia64_done_with_exception in asm/uaccess.h

2016-08-16 Thread Paul Gortmaker
Most of the other C content in this file is already implemented in macro form. Doing the same for this function will allow us to get rid of the duplicated search_exception_tables prototype. We will bring it in as required via inclusion. Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.o

[PATCH 2/2] ia64: ensure exception table search users include extable.h

2016-08-16 Thread Paul Gortmaker
We start with a delete of a duplicate prototype in asm/uaccess.h that doesn't need to exist, as it duplicates content in extable.h and since that header is so small, there is no point trying to avoid using it. Then we make sure anyone using search_exception_tables directly or via the ia64_done_wit

[PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner"

2016-08-16 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 16 Aug 2016 17:10:12 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- v2: The commit message was adjusted. drivers/video/backl

[PATCHv6 1/2] add basic register-field manipulation macros

2016-08-16 Thread Jakub Kicinski
Common approach to accessing register fields is to define structures or sets of macros containing mask and shift pair. Operations on the register are then performed as follows: field = (reg >> shift) & mask; reg &= ~(mask << shift); reg |= (field & mask) << shift; Defining shift and mask sepa

[PATCHv6 2/2] mt7601u: use linux/bitfield.h

2016-08-16 Thread Jakub Kicinski
Use the newly added linux/bitfield.h. Signed-off-by: Jakub Kicinski Reviewed-by: Dinan Gunawardena --- drivers/net/wireless/mediatek/mt7601u/dma.c | 2 +- drivers/net/wireless/mediatek/mt7601u/dma.h | 10 ++-- drivers/net/wireless/mediatek/mt7601u/eeprom.c | 12 ++-- drivers/net/wirel

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

2016-08-16 Thread Suravee Suthikulpanit
Hi Radim, On 8/13/16 19:03, Radim Krčmář wrote: 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_ENTR

[PATCHv6 0/2] register-field manipulation macros

2016-08-16 Thread Jakub Kicinski
Hi! This set moves to a global header file macros which I find very useful and worth popularising. The basic problem is that since C bitfields are not very dependable accessing subfields of registers becomes slightly inconvenient. It is nice to have the necessary mask and shift operations wrapped

Re: [bisected] "sched: Allow per-cpu kernel threads to run on online && !active" causes warning

2016-08-16 Thread Tejun Heo
Hello, Heiko. On Tue, Aug 16, 2016 at 09:55:05AM +0200, Heiko Carstens wrote: ... > > The new standby cpu will have a "configure" sysfs attribute. If somebody > writes "1" to it we signal the hypervisor that we want to use the cpu and > it allocates one. If this request succeeds we finally know wh

[PATCH] mm: kmemleak: Avoid using __va() on addresses that don't have a lowmem mapping

2016-08-16 Thread Catalin Marinas
Some of the kmemleak_*() callbacks in memblock, bootmem, CMA convert a physical address to a virtual one using __va(). However, such physical addresses may sometimes be located in highmem and using __va() is incorrect, leading to inconsistent object tracking in kmemleak. The following functions ha

Re: [PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-16 Thread Kani, Toshimitsu
On Mon, 2016-08-15 at 14:20 -0700, Dan Williams wrote: > On Mon, Aug 15, 2016 at 10:52 AM, Toshi Kani > wrote: > > > > 'ndctl list --buses --dimms' does not list any NVDIMM-Ns since > > they are considered as idle.  ndctl checks if any driver is > > attached to nmem device.  nvdimm_probe() always

Re: [PATCH v3 1/3] drm: add SimpleDRM driver

2016-08-16 Thread Daniel Vetter
On Tue, Aug 16, 2016 at 02:58:38PM +0200, Noralf Trønnes wrote: > > Den 15.08.2016 08:59, skrev Daniel Vetter: > > On Sun, Aug 14, 2016 at 06:52:04PM +0200, Noralf Trønnes wrote: > > > The SimpleDRM driver binds to simple-framebuffer devices and provides a > > > DRM/KMS API. It provides only a sin

Re: RFC: callchain showing same entry as hist_entry

2016-08-16 Thread Namhyung Kim
On Tue, Aug 16, 2016 at 12:08:03PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 16, 2016 at 11:55:11PM +0900, Namhyung Kim escreveu: > > Hi Arnaldo, > > > > On Tue, Aug 16, 2016 at 11:36:28AM -0300, Arnaldo Carvalho de Melo wrote: > > > Hi Namhyung, Jiri, > > > > > > please take a look

Re: [PATCH] Map in physical addresses in efi_map_region_fixed

2016-08-16 Thread Alex Thorlton
On Tue, Aug 16, 2016 at 07:50:10AM +0200, Borislav Petkov wrote: > On Mon, Aug 15, 2016 at 01:47:31PM -0500, Alex Thorlton wrote: > > The only thing we're adding here is the physical mappings, to match > > what is availble in the primary kernel. > > I can see what it does - I just am questioning t

Re: [PATCH v2] iio: fix sched WARNING "do not call blocking ops when !TASK_RUNNING"

2016-08-16 Thread Lars-Peter Clausen
On 08/15/2016 05:54 PM, Jonathan Cameron wrote: > On 09/08/16 01:19, Brian Norris wrote: >> When using CONFIG_DEBUG_ATOMIC_SLEEP, the scheduler nicely points out >> that we're calling sleeping primitives within the wait_event loop, which >> means we might clobber the task state: >> >> [ 10.831289

Re: linux-next: Tree for Aug 16 (mellanox/mlx5 & sound/oss/)

2016-08-16 Thread Randy Dunlap
On 08/15/16 21:01, Stephen Rothwell wrote: > Hi all, > > Changes since 20160815: > on i386: sound/built-in.o:(.data+0x5c): multiple definition of `dev_list' drivers/built-in.o:(.data+0x6aee8): first defined here ld: Warning: size of symbol `dev_list' changed from 8 in drivers/built-in.o to 16

Re: [PATCH v4 0/3] ASoC/ARM: tegra: apalis t30/tk1/colibri t30: sgtl5000 audio

2016-08-16 Thread Marcel Ziswiler
On Sun, 2016-06-19 at 02:59 +0200, Marcel Ziswiler wrote: > This series adds/integrates Freescale SGTL5000 analogue audio codec > support. > > Changes in v4: > - simple-audio-card does still not allow for more advanced use cases >   like Tegra SoCs > - further platform drivers have been accepted s

Re: [PATCH] perf hists browser: remove superfluous null check on map

2016-08-16 Thread Namhyung Kim
On Mon, Aug 15, 2016 at 05:25:43PM +0100, Colin King wrote: > From: Colin Ian King > > map is being already checked if it is null at the start of > do_zoom_dso, so the second subsequent check is superfluous > and can be removed. > > Signed-off-by: Colin Ian King Acked-by: Namhyung Kim Thanks

Re: [bisected] "sched: Allow per-cpu kernel threads to run on online && !active" causes warning

2016-08-16 Thread Peter Zijlstra
On Tue, Aug 16, 2016 at 11:20:27AM -0400, Tejun Heo wrote: > As long as the mapping doesn't change after the first onlining of the > CPU, the workqueue side shouldn't be too difficult to fix up. I'll > look into it. For memory allocations, as long as the cpu <-> node > mapping is established befo

Re: RFC: callchain showing same entry as hist_entry

2016-08-16 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 17, 2016 at 12:23:55AM +0900, Namhyung Kim escreveu: > On Tue, Aug 16, 2016 at 12:08:03PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Aug 16, 2016 at 11:55:11PM +0900, Namhyung Kim escreveu: > > > > > > On Tue, Aug 16, 2016 at 11:36:28AM -0300, Arnaldo Carvalho de Melo wrote: >

Re: RFC: callchain showing same entry as hist_entry

2016-08-16 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 16, 2016 at 12:31:43PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Aug 17, 2016 at 12:23:55AM +0900, Namhyung Kim escreveu: > > Did you run 'perf report -s sym --stdio'? It seems that current code > > already works as sane.. Do you want to make it work for the default sort > >

Re: [PATCH v3 2/3] drm: simpledrm: add fbdev fallback support

2016-08-16 Thread Daniel Vetter
On Tue, Aug 16, 2016 at 03:10:06PM +0200, Noralf Trønnes wrote: > > Den 15.08.2016 08:48, skrev Daniel Vetter: > > On Sun, Aug 14, 2016 at 06:52:05PM +0200, Noralf Trønnes wrote: > > > Create a simple fbdev device during SimpleDRM setup so legacy user-space > > > and fbcon can use it. > > > > > >

Re: [PATCH V4 1/4] drm/imx-ldb: Add support to drm-bridge

2016-08-16 Thread Martyn Welch
On 04/08/16 23:36, Peter Senna Tschudin wrote: Add support to attach a drm_bridge to imx-ldb in addition to existing support to attach a LVDS panel. This patch does a simple code refactoring by moving code from for_each_child_of_node iterator to a new function named imx_ldb_panel_ddc(). This w

[PATCH] sh: Fix building j2_defconfig

2016-08-16 Thread Jason Cooper
When targeting the j2, we need to retain '-m2'. Previously, the Makefile blew out -m2 on the next line via :=. Fix this by s/:=/+=/ when building for the J2. Fixes: 5a846abad07f6 ("sh: add support for J-Core J2 processor") Signed-off-by: Jason Cooper --- Thanks to Richard Felker for helping me

Re: [bisected] "sched: Allow per-cpu kernel threads to run on online && !active" causes warning

2016-08-16 Thread Tejun Heo
Hello, Peter. On Tue, Aug 16, 2016 at 05:29:49PM +0200, Peter Zijlstra wrote: > On Tue, Aug 16, 2016 at 11:20:27AM -0400, Tejun Heo wrote: > > As long as the mapping doesn't change after the first onlining of the > > CPU, the workqueue side shouldn't be too difficult to fix up. I'll > > look into

Re: RFC: callchain showing same entry as hist_entry

2016-08-16 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 17, 2016 at 12:41:18AM +0900, Namhyung Kim escreveu: > On Tue, Aug 16, 2016 at 12:32:44PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Aug 16, 2016 at 12:31:43PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Wed, Aug 17, 2016 at 12:23:55AM +0900, Namhyung Kim escreveu: > > >

Re: [PATCH] ARC: Change ld.as instruction to regular ld.

2016-08-16 Thread Vineet Gupta
On 08/16/2016 06:15 AM, Alexey Brodkin wrote: > Hi Liav, > > On Tue, 2016-08-16 at 10:55 +0300, Liav Rehana wrote: >> From: Liav Rehana >> >> The instruction ld.as takes as operands a base address and an offset, >> and doesn't access the sum of these two, but the sum of the base >> address and a

Re: RFC: callchain showing same entry as hist_entry

2016-08-16 Thread Namhyung Kim
On Tue, Aug 16, 2016 at 12:32:44PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 16, 2016 at 12:31:43PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Wed, Aug 17, 2016 at 12:23:55AM +0900, Namhyung Kim escreveu: > > > Did you run 'perf report -s sym --stdio'? It seems that current code >

Reply

2016-08-16 Thread Tam David
Dear sir, I plead indulgence if i have invaded your privacy. I have an urgent and important business deal to negotiate with you in connection to my late client Engineer Victor Walmsley. Please confirm for detail Regards, Barrister Tam David Tel:+228 91942008

Re: [PATCH v2] mm/slab: Improve performance of gathering slabinfo stats

2016-08-16 Thread Christoph Lameter
On Tue, 16 Aug 2016, Joonsoo Kim wrote: > In SLUB, nr_slabs is manipulated without holding a lock so atomic > operation should be used. It could be moved under the node lock.

Re: [tip:x86/boot] x86/mm: Enable KASLR for physical mapping memory regions

2016-08-16 Thread Borislav Petkov
On Tue, Aug 16, 2016 at 03:49:28PM +0200, Borislav Petkov wrote: > Just a stab in the dark: does something like that help? > > --- > diff --git a/arch/x86/kernel/cpu/microcode/amd.c > b/arch/x86/kernel/cpu/microcode/amd.c > index 27a0228c9cae..2debaf119baf 100644 > --- a/arch/x86/kernel/cpu/micro

[PATCH 1/2] drivers: acpi: fix typo in ACPI_DECLARE_PROBE_ENTRY macro

2016-08-16 Thread Lorenzo Pieralisi
When the ACPI_DECLARE_PROBE_ENTRY macro was added in commit e647b532275b ("ACPI: Add early device probing infrastructure"), a stub macro adding an unused entry was added for the !CONFIG_ACPI Kconfig option case to make sure kernel code making use of the macro did not require to be guarded within CO

[PATCH 2/2] drivers: acpi: replace acpi_probe_lock spinlock with mutex

2016-08-16 Thread Lorenzo Pieralisi
Commit e647b532275b ("ACPI: Add early device probing infrastructure") introduced code that allows inserting driver specific struct acpi_probe_entry probe entries into acpi linker sections (one per-subsystem, eg irqchip, clocksource) that are then walked to retrieve the data and function hooks requi

[PATCH v3 3/8] usb: dwc3: ulpi: use new api

2016-08-16 Thread Tal Shorer
The old read, write callbacks in struct ulpi_ops have been deprecated in favor of new callbacks that pass the parent device directly. Replace the used callbacks in dwc3's ulpi component with the new api. Signed-off-by: Tal Shorer --- drivers/usb/dwc3/ulpi.c | 12 ++-- 1 file changed, 6 i

Re: [PATCH V4 2/4] Documentation/devicetree/bindings: b850v3_lvds_dp

2016-08-16 Thread Martyn Welch
On 04/08/16 23:36, Peter Senna Tschudin wrote: Devicetree bindings documentation for the GE B850v3 LVDS/DP++ display bridge. Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam Signed-off-by: Peter Senna Tschudin Acked-by: Martyn

[PATCH v3 0/8] usb: ulpi: remove "dev" field from struct ulpi_ops

2016-08-16 Thread Tal Shorer
struct ulpi_ops is defined as follows: struct ulpi_ops { struct device *dev; int (*read)(struct ulpi_ops *ops, u8 addr); int (*write)(struct ulpi_ops *ops, u8 addr, u8 val); }; Upon calling ulpi_register_interface(), the struct device argument is put inside the struct ulpi

[PATCH v3 4/8] usb: ulpi: remove calls to old api callbacks

2016-08-16 Thread Tal Shorer
Now that all users use the new api callbacks, remove the old api callbacks and force new interface drivers to use the new api. Signed-off-by: Tal Shorer --- drivers/usb/common/ulpi.c | 4 include/linux/ulpi/interface.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/drivers/usb/c

[PATCH v3 1/8] usb: ulpi: move setting of ulpi->dev parent up in ulpi_register()

2016-08-16 Thread Tal Shorer
Once ulpi operations use the parent device directly, this will be needed during the operations used in ulpi_register() itself, so set the parent field before calling any ulpi operations. Signed-off-by: Tal Shorer --- drivers/usb/common/ulpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(

[PATCH v3 2/8] usb: ulpi: add new api functions, {read|write}_dev()

2016-08-16 Thread Tal Shorer
Add these two new api callbacks to struct ulpi_ops. These are different than read, write in that they pass the parent device directly instead of via the ops argument. They are intended to replace the old api functions. If the new api callbacks are missing, revert to calling the old ones as before.

[PATCH v3 5/8] usb: ulpi: rename operations {read|write}_dev to simply {read|write}

2016-08-16 Thread Tal Shorer
With the removal of the old {read|write} operations, we can now safely rename the new api operations {read|write}_dev to use the shorter and clearer names {read|write}, respectively. Signed-off-by: Tal Shorer --- drivers/usb/common/ulpi.c | 4 ++-- drivers/usb/dwc3/ulpi.c| 4 ++-- i

[PATCH v3 8/8] usb: dwc3: ulpi: make dwc3_ulpi_ops constant

2016-08-16 Thread Tal Shorer
ulpi_register_interface() accepts a const struct ulpi_ops and dwc3 doesn't perform any changes to this struct at runtime, so there's no reason it shouldn't be constant. Signed-off-by: Tal Shorer --- drivers/usb/dwc3/ulpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive

[PATCH v3 7/8] usb: ulpi: make ops struct constant

2016-08-16 Thread Tal Shorer
None of the core ulpi functions perform any changes to the operations struct, and logically as a struct that contains function pointers there's no reason it shouldn't be constant. Signed-off-by: Tal Shorer --- drivers/usb/common/ulpi.c | 3 ++- include/linux/ulpi/driver.h| 2 +- include

[PATCH v3 6/8] usb: ulpi: remove "dev" field from struct ulpi_ops

2016-08-16 Thread Tal Shorer
Operations now use ulpi->dev.parent directly instead of via the ulpi_ops struct, making this field unused. Remove it. Signed-off-by: Tal Shorer --- drivers/usb/common/ulpi.c | 1 - include/linux/ulpi/interface.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/

Re: [RFC PATCH v5 3/3] net: phy: Add gmiitorgmii converter support

2016-08-16 Thread Andrew Lunn
> > https://github.com/lunn/linux/commit/03d375489ceb56e171056f44d0fe9c34ca > > 5a098e > > > > Notice the > > > > Not-Signed-off-by: Andrew Lunn > > > > and the Copyright i added? > > > > In various emails i gave you the basic idea how this should be done, a > > framework > > of code, and the

Re: [PATCH v2] regulator: axp20x: support AXP803/AXP813 variants

2016-08-16 Thread Jean-Francois Moine
On Tue, 16 Aug 2016 23:04:47 +0800 Icenowy Zheng wrote: > > Also, please, may you give me a pointer to the AXP813 documentation? > I got it on BaiduPan. > https://pan.baidu.com/share/link?shareid=120641733&uk=2121502978&fid=169295081716431 > Here's a link, you can download it if you can read Chin

Re: [PATCH] pinctrl: cherryview: Do not mask all interrupts on probe

2016-08-16 Thread Anisse Astier
Hi Mika, On Tue, Jun 2, 2015 at 4:15 PM, Mika Westerberg wrote: > On Tue, Jun 02, 2015 at 03:53:40PM +0200, Linus Walleij wrote: >> On Mon, Jun 1, 2015 at 11:23 AM, Mika Westerberg >> wrote: >> > On Fri, May 22, 2015 at 10:56:08AM +0300, Mika Westerberg wrote: >> >> BIOS/platform may use some of

Linux Bug 113821 - DVBSKy S950CI DVB-S/S2. CI broken since 4.x

2016-08-16 Thread Bjoern Bidar
Hey I reported the bug I mentioned in the subject sometime ago, can you guy(s) look into the report and help me to investigate it? Greetings Björn signature.asc Description: This is a digitally signed message part.

Re: perf: fuzzer WARNING event_function_local.constprop

2016-08-16 Thread Vince Weaver
On Tue, 16 Aug 2016, Peter Zijlstra wrote: > Could you see if the below cures things? > > --- > kernel/events/core.c | 60 > +--- > 1 file changed, 48 insertions(+), 12 deletions(-) yes, it seems to fix things, or at least my reliable test case n

Re: [PATCH] arm64: Introduce execute-only page access permissions

2016-08-16 Thread Catalin Marinas
On Mon, Aug 15, 2016 at 10:45:09AM -0700, Kees Cook wrote: > On Mon, Aug 15, 2016 at 3:47 AM, Catalin Marinas > wrote: > > On Fri, Aug 12, 2016 at 11:23:03AM -0700, Kees Cook wrote: > >> On Thu, Aug 11, 2016 at 10:44 AM, Catalin Marinas > >> wrote: > >> > The ARMv8 architecture allows execute-onl

Re: [PATCH v2] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Krzysztof Kozlowski
On Tue, Aug 16, 2016 at 11:22:01PM +0900, Seung-Woo Kim wrote: > From pwm_samsung_calc_tin(), there is routine to find the lowest > divider possible to generate lower frequency than requested one. > But it is always possible to generate requested frequency with > large enough modulation bits except

Re: [PATCH V2] block: Fix secure erase

2016-08-16 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH 1/1] rpmsg: virtio_rpmsg_bus: Fix randomly placed semi-colon

2016-08-16 Thread Bjorn Andersson
On Tue 16 Aug 05:52 PDT 2016, Lee Jones wrote: > On Wed, 20 Jul 2016, Lee Jones wrote: > > > It should never have been there in the first place. > > > > Signed-off-by: Lee Jones > > --- > > drivers/rpmsg/virtio_rpmsg_bus.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > I'm assu

Re: [PATCH v3] mailbox: pcc: Support HW-Reduced Communication Subspace type 2

2016-08-16 Thread Hoan Tran
On Tue, Aug 16, 2016 at 4:56 AM, Rafael J. Wysocki wrote: > On Monday, August 15, 2016 04:41:22 PM Hoan Tran wrote: >> Hi Rafael, >> >> On Mon, Aug 15, 2016 at 4:18 PM, Rafael J. Wysocki >> wrote: >> > On Monday, August 15, 2016 09:45:24 AM Hoan Tran wrote: >> >> On Mon, Jun 27, 2016 at 2:32 PM,

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

2016-08-16 Thread Radim Krčmář
2016-08-16 22:19+0700, Suravee Suthikulpanit: > On 8/13/16 19:03, Radim Krčmář wrote: >> 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) >> > +s

[PATCH] mm, kasan: Update kasan docs to indicate arm64 support

2016-08-16 Thread Laura Abbott
KASAN has been supported on arm64 since 39d114ddc682 ("arm64: add KASAN support"). Update the docs to indicate this. Signed-off-by: Laura Abbott --- Documentation/kasan.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt index

Re: [PATCHv4 0/2] USB Type-C Connector class

2016-08-16 Thread Guenter Roeck
On Tue, Aug 16, 2016 at 10:38:26AM +0300, Heikki Krogerus wrote: > Hi guys, > > Sorry for the long silence. I just returned from paternal leave. > > On Wed, Aug 10, 2016 at 10:19:25AM +0200, Oliver Neukum wrote: > > On Tue, 2016-08-09 at 09:23 -0700, Guenter Roeck wrote: > > > > I'm not going to

Re: [RFC 12/17] ASoC: samsung: Switch to new clock controller API

2016-08-16 Thread Krzysztof Kozlowski
On Tue, Aug 16, 2016 at 03:13:45PM +0100, Mark Brown wrote: > On Tue, Aug 16, 2016 at 03:35:09PM +0200, Krzysztof Kozlowski wrote: > > Allocate a clock controller and use new clk_register_with_ctrl() API. > > Acked-by: Mark Brown > > > i2s_unregister_clocks(i2s); > > + clk_ctrl_unregister(

Re: [PATCH v4 1/2] mfd: ti-smusbdig: Add support for the TI SM-USB-DIG

2016-08-16 Thread Andrew F. Davis
On 08/09/2016 10:27 AM, Lee Jones wrote: > On Tue, 09 Aug 2016, Andrew F. Davis wrote: > >> The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. >> Add MFD core support. >> >> Signed-off-by: Andrew F. Davis >> --- >> drivers/mfd/Kconfig | 9 +++ >> drivers/mfd/Makefile

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-16 Thread Robert Foss
On 2016-08-16 03:12 AM, Michal Hocko wrote: On Mon 15-08-16 12:25:10, Robert Foss wrote: On 2016-08-15 09:42 AM, Michal Hocko wrote: [...] The use case is to speed up monitoring of memory consumption in environments where RSS isn't precise. For example Chrome tends to many processes which

[PATCH v3] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-16 Thread Krzysztof Kozlowski
Change my email address to kernel.org account instead of Samsung one. Add Bartlomiej Zolnierkiewicz as a co-maintainer of Maxim and Samsung PMIC drivers. These are used on many of our boards along with Exynos SoCs and Samsung R&D Institute Poland can still take care of them. Signed-off-by: Krzys

Re: [Documentation] State of CPU controller in cgroup v2

2016-08-16 Thread Johannes Weiner
On Tue, Aug 16, 2016 at 04:07:38PM +0200, Peter Zijlstra wrote: > On Wed, Aug 10, 2016 at 06:09:44PM -0400, Johannes Weiner wrote: > > > [ That, and a disturbing number of emotional outbursts against > > systemd, which has nothing to do with any of this. ] > > Oh, so I'm entirely dreaming this

Re: [PATCH v6 3/3] net: phy: Add gmiitorgmii converter support

2016-08-16 Thread Andrew Lunn
> +static int xgmiitorgmii_read_status(struct phy_device *phydev) > +{ > + struct gmii2rgmii *priv = phydev->priv; > + u16 val = 0; > + > + priv->phy_drv->read_status(phydev); This can return an error, in which case phydev->speed should not be trusted. I've not thought locking all the

Re: linux-next: Tree for Aug 16 (mellanox/mlx5 & sound/oss/)

2016-08-16 Thread Saeed Mahameed
On Tue, Aug 16, 2016 at 6:26 PM, Randy Dunlap wrote: > On 08/15/16 21:01, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20160815: >> > > on i386: > > sound/built-in.o:(.data+0x5c): multiple definition of `dev_list' > drivers/built-in.o:(.data+0x6aee8): first defined here > ld: Warning: si

Re: uprobes: memory leak in enable/disable loop

2016-08-16 Thread Brenden Blanco
On Tue, Aug 16, 2016 at 04:34:08PM +0200, Oleg Nesterov wrote: > On 08/16, Oleg Nesterov wrote: > > > > On 08/16, Oleg Nesterov wrote: > > > > > > On 08/15, Brenden Blanco wrote: > > > > > > > > Hi folks, > > > > > > > > I think I have come across a memory leak in uprobes, which is fairly > > > >

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

2016-08-16 Thread Bart Van Assche
On 08/16/2016 06:06 AM, Oleg Nesterov wrote: If only I could reproduce. Or at least understand what are you doing to hit this bug ;) Hello Oleg, What I'm doing to hit this bug is to run the test script that is available at https://github.com/bvanassche/srp-test on a setup that is equipped wi

Re: [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement

2016-08-16 Thread H. Peter Anvin
On August 16, 2016 7:26:43 AM PDT, kernel test robot wrote: > >FYI, we noticed a 9.3% improvement of will-it-scale.per_process_ops due >to commit: > >commit 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e ("x86/hweight: Don't >clobber %rdi") >https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linu

Re: [PATCH v2 4/6] kexec_file: Add mechanism to update kexec segments.

2016-08-16 Thread Thiago Jung Bauermann
Hello Andrew, Thank you for your review! Am Montag, 15 August 2016, 15:27:56 schrieb Andrew Morton: > On Sat, 13 Aug 2016 00:18:23 -0300 Thiago Jung Bauermann > wrote: > > +/** > > + * kexec_update_segment - update the contents of a kimage segment > > + * @buffer:New contents of the seg

Re: perf: fuzzer WARNING event_function_local.constprop

2016-08-16 Thread Peter Zijlstra
On Tue, Aug 16, 2016 at 12:17:27PM -0400, Vince Weaver wrote: > On Tue, 16 Aug 2016, Peter Zijlstra wrote: > > > Could you see if the below cures things? > > > > --- > > kernel/events/core.c | 60 > > +--- > > 1 file changed, 48 insertions(+), 12

[PATCH] Staging: android: ion: ion_test.c: fix parenthesis alignment

2016-08-16 Thread Ben LeMasurier
This fixes the checkpatch.pl "Alignment should match open parenthesis" issues in ion_test.c. Signed-off-by: Ben LeMasurier --- drivers/staging/android/ion/ion_test.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/staging/android/ion/ion_test

Re: [PATCH v2] ARM: Add missing newline terminators to kernel messages

2016-08-16 Thread Joe Perches
On Tue, 2016-08-16 at 15:40 +0200, Geert Uytterhoeven wrote: > Before commit 874f9c7da9a4acbc ("printk: create pr_ functions"), > pr_*() calls without a trailing newline characters would be printed with > a newline character appended, both on the console and in the output of > the dmesg command. H

RE: [PATCH v2] Added perf functionality to mmdc driver

2016-08-16 Thread Zhengyu Shen
> > Added cpumask and migration handling support to driver > > Validated event during event_init > > Added code to properly stop counters > > Used perf_invalid_context instead of perf_sw_context > > Added hrtimer to poll for overflow > > Added better description > > Adde

[PATCH 4/4] dax: register seed device

2016-08-16 Thread Dan Williams
Towards adding support for sub-dividing device-dax regions, add a seed device. Similar to libnvdimm a 'seed' device is un-configured device that is enabled after setting configuration parameters. After a given seed device is enabled another is created and this process repeats until no more seed d

[PATCH 0/4] device-dax prepare for dynamic resize / allocate

2016-08-16 Thread Dan Williams
In preparation for dynamic resize / allocation support: - convert device-dax instances to reserve memory ranges from their parent region - produce a 'seed' device instance to accept new allocation requests --- Dan Williams (4): dax: check resource alignment at dax region/device create

[PATCH 2/4] dax: add region-available-size attribute

2016-08-16 Thread Dan Williams
In preparation for a facility that enables dax regions to be sub-divided, introduce a 'dax/available_size' attribute. This attribute appears under the parent device that registered the device-dax region, and it assumes that the device-dax-core owns the driver-data for that device. 'dax/available_

[PATCH 1/4] dax: check resource alignment at dax region/device create

2016-08-16 Thread Dan Williams
All the extents of a dax-device must match the alignment of the region. Otherwise, we are unable to guarantee fault semantics of a given page size. The region must be self-consistent itself as well. Signed-off-by: Dan Williams --- drivers/dax/dax.c | 22 +++--- 1 file changed,

[PATCH 3/4] dax: convert devm_create_dax_dev to PTR_ERR

2016-08-16 Thread Dan Williams
For sub-division support we need access to the dax_dev created by devm_create_dax_dev(). Signed-off-by: Dan Williams --- drivers/dax/dax.c | 16 ++-- drivers/dax/dax.h |5 +++-- drivers/dax/pmem.c |5 +++-- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/

Re: [PATCH] mm: kmemleak: Avoid using __va() on addresses that don't have a lowmem mapping

2016-08-16 Thread kbuild test robot
Hi Catalin, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.8-rc2 next-20160816] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Catalin-Marinas/mm-kmemleak-Avoid-using-__va

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