[RFC 0/6] drm/fences: add in-fences to DRM

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This is a first proposal to discuss the addition of in-fences support to DRM. It adds a new struct to fence.c to abstract the use of sync_file in DRM drivers. The new struct fence_collection contains a array with all fences that a atomic commit needs to wait on /** *

[RFC 5/6] dma-buf/fence: add fence_collection_wait()

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan Iterate over the array of fences and wait for all of the to finish. Signed-off-by: Gustavo Padovan --- drivers/dma-buf/fence.c | 16 include/linux/fence.h | 1 + 2 files changed, 17 insertions(+) diff --git a/drivers/dma-buf/fence.c b/drivers/dma-buf/

[RFC 4/6] dma-buf/fence: add fence_collection_put()

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan Put fence_collection data. For that calls fence_put() on all fences and the user put callback. Signed-off-by: Gustavo Padovan --- drivers/dma-buf/fence.c | 17 + include/linux/fence.h | 2 ++ 2 files changed, 19 insertions(+) diff --git a/drivers/dma-b

Re: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-23 Thread Joe Perches
On Wed, 2016-03-23 at 18:31 +, Simmons, James A. wrote: > > On Wed, Mar 23, 2016 at 05:39:36AM +, Dilger, Andreas wrote: > > > On 2016/03/22, 19:49, "lustre-devel on behalf of Greg Kroah-Hartman" > > > > > gre...@linuxfoundation.org> wrote: > > > > On Tue, Mar 22, 2016 at 06:21:04PM -0400,

[RFC 1/6] drm/fence: add FENCE_FD property to planes

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan FENCE_FD can now be set by the user during an atomic IOCTL, it will be used by atomic_commit to wait until the sync_file is signalled, i.e., the framebuffer is ready for scanout. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/drm_atomic.c| 4 drivers/gpu/

[RFC 2/6] dma-buf/fence: add struct fence_collection

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan The struct aggregates fences that we need to wait on before proceed with some specific operation. In DRM, for example, we may wait for a group of fences to signal before we scanout the buffers related to those fences. Signed-off-by: Gustavo Padovan --- include/linux/fence

Re: [RFC] high preempt off latency in vfree path

2016-03-23 Thread Joel Fernandes
On 03/22/16 19:44, Andi Kleen wrote: (1) One is we reduce the number of lazy_max_pages (right now its around 32MB per core worth of pages). diff --git a/mm/vmalloc.c b/mm/vmalloc.c index aa3891e..2720f4f 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -564,7 +564,7 @@ static unsigned long lazy_

[PATCH v3] bsp: add SoC driver to brcmstb

2016-03-23 Thread Justin Chen
From: Justin Chen Value of soc_dev_attributes: family = chip family id soc_id = product id revision = product revision Signed-off-by: Justin Chen --- arch/arm/mach-bcm/Kconfig|1 + drivers/soc/brcmstb/common.c | 58 ++ 2 files changed, 59 inser

Re: [PATCH v2] net: Fix typos and whitespace.

2016-03-23 Thread David Miller
From: Bjorn Helgaas Date: Wed, 23 Mar 2016 13:47:23 -0500 > Fix typos. Capitalize CPU, NAPI, RCU consistently. Align structure > indentation. No functional change intended; only comment and whitespace > changes. > > Signed-off-by: Bjorn Helgaas Applied, thank you.

Re: [PATCH 2/5] perf core: Set event's default overflow_handler

2016-03-23 Thread Peter Zijlstra
On Wed, Mar 23, 2016 at 06:13:49PM +, Will Deacon wrote: > > Will, why does it matter what the overflow handler is for this stuff? > > Because ptrace registers an overflow handler for raising a SIGTRAP and > ptrace users (e.g. GDB) expect to handle the single-stepping themselves. > Perf, on t

Re: [PATCH 5/9] x86: Add documentation for rd/wr fs/gs base

2016-03-23 Thread Valdis . Kletnieks
On Mon, 21 Mar 2016 09:16:05 -0700, Andi Kleen said: > From: Andi Kleen > > v2: Minor updates to documentation requested in review. > +In addition the kernel needs to explicitly enable these instructions, as it > +may otherwise not correctly context switch the state. Newer Linux > +kernels enable

[PATCH] regulator: twl: Enable regulators over the powerbus as well

2016-03-23 Thread Ivaylo Dimitrov
Assigning a device group to a regulator does not change its state. To change the state of a regulator a message over the powerbus is required. Also, the check for the current state of a regulator should not count on a device group being assigned, but on the current resource state. Signed-off-by: I

Re: [PATCH 3/5] perf core: Prepare writing into ring buffer from end

2016-03-23 Thread Alexei Starovoitov
On Wed, Mar 23, 2016 at 06:08:41PM +0800, Wangnan (F) wrote: > > > On 2016/3/23 17:50, Peter Zijlstra wrote: > >On Mon, Mar 14, 2016 at 09:59:43AM +, Wang Nan wrote: > >>Convert perf_output_begin to __perf_output_begin and make the later > >>function able to write records from the end of the

[PATCH v2] sparc/PCI: Fix for panic while enabling SR-IOV

2016-03-23 Thread Babu Moger
We noticed this panic while enabling SR-IOV in sparc. mlx4_core: Mellanox ConnectX core driver v2.2-1 (Jan 1 2015) mlx4_core: Initializing 0007:01:00.0 mlx4_core 0007:01:00.0: Enabling SR-IOV with 5 VFs mlx4_core: Initializing 0007:01:00.1 Unable to handle kernel NULL pointer dereference insmod(1

Re: [PATCH 2/5] perf core: Set event's default overflow_handler

2016-03-23 Thread Peter Zijlstra
On Wed, Mar 23, 2016 at 06:13:49PM +, Will Deacon wrote: > On Wed, Mar 23, 2016 at 06:50:21PM +0100, Peter Zijlstra wrote: > > On Mon, Mar 14, 2016 at 09:59:42AM +, Wang Nan wrote: > > > +++ b/arch/arm/kernel/hw_breakpoint.c > > > @@ -631,7 +631,7 @@ int arch_validate_hwbkpt_settings(struct

[PATCH v3 1/2] drm/dp_helper: add workarounds from intel_dp_dpcd_read_wake()

2016-03-23 Thread Lyude
Some sinks need some time during the process of resuming the system from sleep before they're ready to handle transactions. While it would be nice if they responded with NACKs in these scenarios, this isn't always the case as a few sinks will just timeout on all of the transactions they receive. T

Re: [RFC PATCH] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-03-23 Thread Tobias Jakobi
Hello Javier, I think the G2D and probably also the GSC v4l drivers should be left off, since they use the same resources as their DRM counterparts. With best wishes, Tobias Javier Martinez Canillas wrote: > There are a bunch of media platform drivers under drivers/media/platform/ > that are fo

Re: [PATCH] Input: Do not add SYN_REPORT in between a single packet data

2016-03-23 Thread Aniroop Mathur
Hello Mr. Torokhov / Mr. Henry, On Wed, Mar 16, 2016 at 11:54 PM, Aniroop Mathur wrote: > Hello Mr. Torokhov, > > Could you kindly help to update about this patch? > So is this patch concluded? Are you applying it? Thanks, Aniroop Mathur > Thank you, > Aniroop Mathur > > > On Fri, Mar 11, 2016

Re: [RFC PATCH] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-03-23 Thread Javier Martinez Canillas
Hello Tobias, Thanks for the feedback. On 03/23/2016 04:32 PM, Tobias Jakobi wrote: > Hello Javier, > > I think the G2D and probably also the GSC v4l drivers should be left > off, since they use the same resources as their DRM counterparts. > I left out the drivers/media/platform/s5p-tv/ driver

[PATCH v3 1/2 RESEND] drm/dp_helper: add workarounds from intel_dp_dpcd_read_wake()

2016-03-23 Thread Lyude
Some sinks need some time during the process of resuming the system from sleep before they're ready to handle transactions. While it would be nice if they responded with NACKs in these scenarios, this isn't always the case as a few sinks will just timeout on all of the transactions they receive. T

[PATCH] staging: vt6656: Fixed multiple logical comparisions warnings in main_usb.c

2016-03-23 Thread Parth Sane
Using comparison to false and true is error prone. Fixed multiple warnings as per checkpatch guidelines. Signed-off-by: Parth Sane --- drivers/staging/vt6656/main_usb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/

Re: [PATCH] net: phy: at803x: Request 'reset' GPIO only for AT8030 PHY

2016-03-23 Thread Sergei Shtylyov
Hello. On 03/23/2016 01:49 PM, Sebastian Frias wrote: This removes the dependency on GPIOLIB for non faulty PHYs. Indeed, without this patch, if GPIOLIB is not selected devm_gpiod_get_optional() will return -ENOSYS and the driver probe call will fail, regardless of the actual PHY hardware. Ou

RE: [PATCH 0/5] Drivers: hv: vmbus

2016-03-23 Thread KY Srinivasan
> -Original Message- > From: K. Y. Srinivasan [mailto:k...@microsoft.com] > Sent: Friday, March 18, 2016 6:14 PM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; jasow...@redhat.com >

[PATCH 00/12] ARM: dts: Add dragonboard-600c support.

2016-03-23 Thread Srinivas Kandagatla
Hi Andy, This patchset adds support to Dragonboard 600c which is based on APQ8064. With this patchset, except spi I was able to test all the below features on this board on top of linus master branch. 1> i2c 2> spi 3> sd/mmc with card detect 4> eMMC 5> USB 6> SATA 7> on board Ethernet based on PC

[PATCH 02/12] ARM: dts: apq8064: add support to gsbi1 uart

2016-03-23 Thread Srinivas Kandagatla
This patch adds support to gsbi1 uart and its pinctrls nodes. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-pins.dtsi | 14 ++ arch/arm/boot/dts/qcom-apq8064.dtsi | 10 ++ 2 files changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8

[PATCH 01/12] ARM: dts: apq8064: fix the pinctrls for i2c and spi

2016-03-23 Thread Srinivas Kandagatla
This patch fixes pinctrls for spi and i2c nodes whose default and sleep states are together, which is incorrect. Without this patch i2c/spi would not be functional. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 18 -- 1 file changed, 12 insertions(

[PATCH 05/12] ARM: dts: dragonboard-600c: add pmic regulator supplies

2016-03-23 Thread Srinivas Kandagatla
This patch adds pmic regulator supplies connected on the board. Rest of the invidual regulators would be added as and when required by the devices. Signed-off-by: Srinivas Kandagatla --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 55 ++ 1 file changed, 55 insertions

[PATCH 04/12] ARM: dts: dragonboard-600c: add board support with serial

2016-03-23 Thread Srinivas Kandagatla
This patch adds support to DragonBoard600 with basic serial ports. DragonBoard600 is based on APQ8064. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/Makefile | 1 + .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 36 ++ 2 files changed

[PATCH 09/12] ARM: dts: dragonboard-600c: add on board sata support.

2016-03-23 Thread Srinivas Kandagatla
This patch enables sata and regulators required to get on board sata working. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/

[PATCH 06/12] ARM: dts: dragonboard-600c: Add eMMC and SD card support

2016-03-23 Thread Srinivas Kandagatla
This patch adds eMMC and SD card support with card detect and adding required regulators. Signed-off-by: Srinivas Kandagatla --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 41 ++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboa

[PATCH 07/12] ARM: dts: dragonboard-600c: add usb support

2016-03-23 Thread Srinivas Kandagatla
This patch adds usb host and otg support on board with required regulators. Signed-off-by: Srinivas Kandagatla --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 64 ++ 1 file changed, 64 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b

[PATCH 12/12] ARM: dts: dragonboard-600c: add spi support

2016-03-23 Thread Srinivas Kandagatla
This patch adds spi nodes required to provide spi bus support on LS expansion. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/ar

[PATCH 10/12] ARM: dts: dragonboard-600c: Add on board leds support

2016-03-23 Thread Srinivas Kandagatla
This patch adds support to 4 user leds, wlan and bt led on board. Signed-off-by: Srinivas Kandagatla --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 76 ++ 1 file changed, 76 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/

[PATCH 08/12] ARM: dts: dragonboard-600c: add pcie support

2016-03-23 Thread Srinivas Kandagatla
This patch adds pcie and regulators required to get on board ATL1C ethernet working. --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 36 ++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8

[PATCH 11/12] ARM: dts: dragonboard-600c: add i2c support

2016-03-23 Thread Srinivas Kandagatla
This patch adds nodes required to enable 4 i2c buses on the board which are connected to various sensors and eeprom. Signed-off-by: Srinivas Kandagatla --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 46 ++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot

Re: [PATCH] arm64: handle unmapped pages in initrd relocation

2016-03-23 Thread Mark Salter
On Mon, 2016-02-01 at 19:30 -0500, Mark Salter wrote: > Commit 4dffbfc48d65 ("arm64/efi: mark UEFI reserved regions as > MEMBLOCK_NOMAP") causes a potential problem in arm64 initrd relocation > code. If the kernel uses a pagesize greater than the 4k pagesize used > by UEFI, pagesize rounding may le

[PATCH 03/12] ARM: dts: apq8064: add gsbi7 i2c support

2016-03-23 Thread Srinivas Kandagatla
This patch adds support to gsbi7 i2c which is used in some of the new boards. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-pins.dtsi | 25 + arch/arm/boot/dts/qcom-apq8064.dtsi | 13 + 2 files changed, 38 insertions(+) diff --git

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-23 Thread Paul E. McKenney
On Wed, Mar 23, 2016 at 06:25:50PM +, Chatre, Reinette wrote: > Hi Paul, > > On 2016-03-23, Paul E. McKenney wrote: > > Please boot with the following parameters: > > > > rcu_tree.rcu_kick_kthreads ftrace > > trace_event=sched_waking,sched_wakeup,sched_wake_idle_without_ipi > > > > Or wa

[PATCH] i2c: prevent endless uevent loop with CONFIG_I2C_DEBUG_CORE

2016-03-23 Thread Wolfram Sang
Jan reported this: === After enabling CONFIG_I2C_DEBUG_CORE my system was broken (no network, console login not possible). System log was flooded with the this message: ... [ 608.052077] rtc-ds1307 0-0068: uevent [ 608.052500] rtc-ds1307 0-0068: uevent [ 608.052925] rtc-ds1307 0-0068: uevent

Re: [PATCH v4 01/14] i2c-octeon: Cleanup i2c-octeon driver

2016-03-23 Thread Wolfram Sang
On Fri, Mar 18, 2016 at 09:46:26AM +0100, Jan Glauber wrote: > Cleanup only without functional change. > > - removed DRV_VERSION > - defines: use defines instead of plain values, > use BIT_ULL macro, add comments > - rename waitqueue return value to time_left > - sort local variables by length >

Re: [PATCH v4 04/14] i2c-octeon: Support I2C_M_RECV_LEN

2016-03-23 Thread Wolfram Sang
On Fri, Mar 18, 2016 at 09:46:29AM +0100, Jan Glauber wrote: > From: David Daney > > If I2C_M_RECV_LEN is set consider the length byte. > > Signed-off-by: David Daney > Signed-off-by: Jan Glauber Like patch 1, this is already upstream. signature.asc Description: PGP signature

Re: [PATCH v4 02/14] i2c-octeon: Cleanup resource allocation code

2016-03-23 Thread Wolfram Sang
On Fri, Mar 18, 2016 at 09:46:27AM +0100, Jan Glauber wrote: > Remove resource values from struct i2c_octeon and use > devm_ioremap_resource helper. > > Signed-off-by: Jan Glauber Like patch 1, this is already upstream. signature.asc Description: PGP signature

Re: [PATCH v4 03/14] i2c-octeon: Change adapter timeout and retry default values

2016-03-23 Thread Wolfram Sang
On Fri, Mar 18, 2016 at 09:46:28AM +0100, Jan Glauber wrote: > Convert the adapter timeout to 2 ms instead of a fixed number of > jiffies and set retries to 10. You describe what you change, but not why this is needed. Why 10 retries? And shouldn't that be 20ms seeing the HZ/50 ? Also, please use

Re: [PATCH 1/3] idle, rename MSR_NHM_SNB_PKG_CST_CFG_CTL to MSR_PKG_CST_CONFIG_CONTROL

2016-03-23 Thread Len Brown
I agree with this intent, but re-names are a headache. The last time we re-named an MSR, we had to add the new name, try to get patches in flight to cut over to it, and then a few releases later, remove the old name. Right now, we have the same situation as patches in flight use this register, so

Re: [PATCH v2 3/3] Make core_pattern support namespace

2016-03-23 Thread Eric W. Biederman
Zhao Lei writes: > Hi, Eric > >> -Original Message- >> From: Eric W. Biederman [mailto:ebied...@xmission.com] >> Sent: Wednesday, March 23, 2016 6:43 AM >> To: Zhao Lei >> Cc: linux-kernel@vger.kernel.org; contain...@lists.linux-foundation.org; >> 'Mateusz Guzik' ; 'Kamezawa Hiroyuki' >>

Re: [PATCH 0/3] idle, Honor Hardware Disabled States

2016-03-23 Thread Len Brown
This patch assumes that if a package state is disabled, the corresponding core state must be disabled. That assumption is false. Indeed, that is a very popular and useful configuration. But even if that were not the case, this software is not necessary, since the hardware handles demotion "c-state

Re: [PATCH 04/12] ARM: dts: dragonboard-600c: add board support with serial

2016-03-23 Thread Stephen Boyd
On 03/23/2016 12:47 PM, Srinivas Kandagatla wrote: > diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts > b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts > new file mode 100644 > index 000..e96aab6 > --- /dev/null > +++ b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-23 Thread Hugh Dickins
On Sat, 12 Mar 2016, Kirill A. Shutemov wrote: > Here is an updated version of huge pages support implementation in > tmpfs/shmem. > > All known issues has been fixed. I'll continue with validation. > I will also send follow up patch with documentation update. > > Hugh, I would be glad to hear y

Re: [PATCH] intel_idle: make intel_idle_state_table_update() static

2016-03-23 Thread Len Brown
Thank you Jisheng, for pointing this out. your patch conflicts with a patch already in-flight, so I'll not apply it directly, but I will fix this problem straight away. thanks, Len Brown, Intel Open Source Technology Center On Tue, Mar 22, 2016 at 10:32 AM, Jisheng Zhang wrote: > intel_idle_sta

Re: [tip:perf/urgent] perf/x86/cqm: Fix CQM handling of grouping events into a cache_group

2016-03-23 Thread Matt Fleming
On Mon, 21 Mar, at 11:14:37AM, Vikas Shivappa wrote: > > > Before MBM , the below condition was never hit because we had only one event ? > > - if (a->hw.target == b->hw.target) > + if (a->hw.target == b->hw.target) { > + b->hw.is_group_event = true; > > We are trying

[PATCH v3 1/4] perf config: Introduce perf_config_set class

2016-03-23 Thread Taeung Song
This infrastructure code was designed for upcoming features of perf-config. That collect config key-value pairs from user and system config files (i.e. user wide ~/.perfconfig and system wide $(sysconfdir)/perfconfig) to manage perf's configs. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeun

[RFC][PATCH v3 0/4] perf config: Infrastructure code for perf-config

2016-03-23 Thread Taeung Song
Hi, We can use the config files (i.e user wide ~/.perfconfig and system wide $(sysconfdir)/perfconfig) to configure perf tools. perf-config help user manage the config files, not manually look into or edit them. Introduce new infrastructure code for config management features of perf-config subco

[PATCH v3 2/4] perf config: Let show_config() work with perf_config_set

2016-03-23 Thread Taeung Song
Current show_config() has a problem when user or system config files have same config variables i.e. # cat ~/.perfconfig [top] children = false when $(sysconfdir) is /usr/local/etc # cat /usr/local/etc/perfconfig [top] children = true Before:

[PATCH v3 4/4] perf config: Initialize perf_config_set with all default configs

2016-03-23 Thread Taeung Song
To avoid duplicated config variables and use perf_config_set classifying between standard perf config variables and unknown or new config variables other than them, initialize perf_config_set with all default configs. And this will be needed when showing all configs with default value or checking

[PATCH net-next] hv_netvsc: Fix the order of num_sc_offered decrement

2016-03-23 Thread Haiyang Zhang
Reorder the code in netvsc_sc_open(), so num_sc_offered is only decremented after vmbus_open() is called. This avoid pontential race of removing device before all channels are setup. Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c | 12 ++-

[PATCH v3 3/4] perf config: Prepare all default configs

2016-03-23 Thread Taeung Song
To precisely manage configs, prepare all default perf's configs that contain default section name, variable name, value and correct type, not string type. In the near future, this will be used when checking type of config variable or showing all configs with default values, etc. Cc: Namhyung Kim

Re: [PATCH v6] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-23 Thread Srinivas Pandruvada
On Wed, 2016-03-23 at 12:43 -0400, Linda Knippers wrote: > I raised a general concern on a previous patch so I found a 1P server > with Skylake and HWP to try.  This doesn't qualify as a tested-by > since all I did was apply the patch and boot the server but hey, it > booted. Thanks. > > I do hav

Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted

2016-03-23 Thread Guenter Roeck
On Mon, Mar 21, 2016 at 07:47:29PM +0800, Xuetao Guan wrote: > > unicore32 fails to compile with the following errors. > > > > mm/memory.c: In function 鈥榑_handle_mm_fault鈥�: > > mm/memory.c:3381: error: > > too many arguments to function 鈥榓rch_vma_access_permitted鈥� > > mm/gup.c: In function 鈥榗

RE: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-23 Thread Simmons, James A.
>> > > so the right code should be: >> > > >> > > sizeof(**net->ibn_tx_ps); >> > > and the same for sizeof(**net->ibn_fmr_ps) >> > That's a mess, isn't there some other way to fix this up to be more >> > "obvious"? >> This must have been encountered in the past. How was it handle in those

Re: [PATCH 04/12] ARM: dts: dragonboard-600c: add board support with serial

2016-03-23 Thread Srinivas Kandagatla
On 23/03/16 20:07, Stephen Boyd wrote: On 03/23/2016 12:47 PM, Srinivas Kandagatla wrote: diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts new file mode 100644 index 000..e96aab6 --- /dev/null +++ b/arch/arm/boot/dts/qc

Re: [PATCH 2/2] arch:mm: Use hugetlb_bad_size

2016-03-23 Thread Andrew Morton
On Wed, 23 Mar 2016 12:12:48 +0800 "Hillf Danton" wrote: > > > > Do you want me to send new version of the patchset breaking this patch in > > to separate patches? > > > Yes. That would be a bit of a pain because then each arch maintainer will need to check that the [1/1] patch is merged. In

Re: [PATCH v4 05/14] i2c-octeon: Enable high-level controller and improve on bus contention

2016-03-23 Thread Wolfram Sang
On Fri, Mar 18, 2016 at 09:46:30AM +0100, Jan Glauber wrote: > From: David Daney > > Use High Level Controller when possible. Can you give me a one line description what this Controller is? I'd assume it can do simple write-then-read messages with less setup? > i2c-octeon was reacting badly to

Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for rk3399

2016-03-23 Thread Kevin Hilman
Heiko Stübner writes: > Hi David, > > Am Mittwoch, 16. März 2016, 02:45:26 schrieb David Wu: >> This adds the necessary data for handling io voltage domains on the rk3399. >> As interesting tidbit, the rk3399 contains two separate iodomain areas. >> One in the regular General Register Files (GRF)

Re: [PATCH] mpt3sas: Don't overreach ioc->reply_post[] during initialization

2016-03-23 Thread Martin K. Petersen
> "Calvin" == Calvin Owens writes: Calvin> In _base_make_ioc_operational(), we walk ioc->reply_queue_list Calvin> and pull a pointer out of successive elements of Calvin> ioc->reply_post[] for each entry in that list if RDPQ is Calvin> enabled. Calvin> Since the code pulls the pointer for th

Re: [PATCH 0/6] of: Implement iterator for phandles

2016-03-23 Thread Rob Herring
On Wed, Mar 23, 2016 at 6:54 AM, Joerg Roedel wrote: > Hi Rob, > > On Tue, Mar 22, 2016 at 01:45:41PM -0500, Rob Herring wrote: >> On Tue, Mar 22, 2016 at 12:58 PM, Joerg Roedel wrote: >> > Please review. Patches are based on v4.5. >> >> Other than my one comment, this looks good to me. For the s

[PATCH] f2fs: give RO message when recovering superblock

2016-03-23 Thread Jaegeuk Kim
When one of superblocks is missing, f2fs recovers it with the valid one. But, even if f2fs is mounted as RO, we'd better notify that too. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index

CISCO IP PHONES AND CPU's

2016-03-23 Thread Inc
Hi, Our Stock list. Brand NEW 96 x Cisco 7900 IP Phone 87 x Unified IP Phone 6900 12 x Unified IP Phone 8900 76 x Unified IP Phone 9900 55 x Unified IP Phone 8800 67 x Cisco 1921 67 x Cisco 1941 56 x Cisco CP-7961G 7961G 34 x Cisco CP-7971G-GE 7971G 19 x Cisco Unified IP Conference Station 7937G

Re: [PATCH] arm64: handle unmapped pages in initrd relocation

2016-03-23 Thread Ard Biesheuvel
On 23 March 2016 at 20:47, Mark Salter wrote: > On Mon, 2016-02-01 at 19:30 -0500, Mark Salter wrote: >> Commit 4dffbfc48d65 ("arm64/efi: mark UEFI reserved regions as >> MEMBLOCK_NOMAP") causes a potential problem in arm64 initrd relocation >> code. If the kernel uses a pagesize greater than the

Re: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-23 Thread 'Greg Kroah-Hartman'
On Wed, Mar 23, 2016 at 08:29:49PM +, Simmons, James A. wrote: > > >> > > so the right code should be: > >> > > > >> > > sizeof(**net->ibn_tx_ps); > >> > > and the same for sizeof(**net->ibn_fmr_ps) > >> > That's a mess, isn't there some other way to fix this up to be more > >> > "obv

Re: [PATCH] megaraid_sas: fix missing { }, nullify kbuff_arr[i] only when necessary

2016-03-23 Thread Martin K. Petersen
> "Colin" == Colin King writes: Colin, Colin> Fix missing { } on if statement, this change will nullify Colin> kbuff_arr[i] only where necessary as the code intended. Arnd beat you to it. We already have a patch for this. Thanks! -- Martin K. Petersen Oracle Linux Engineering

RE: [PATCH] x86/mce: Avoid using object after free in genpool.

2016-03-23 Thread Luck, Tony
> Acked-by: Borislav Petkov Thanks > I have a couple more RAS patches for tip, want me to pick that one up > too? I'm going to send my pile to tip guys after -rc1 is out. Yes please ... throw this one on the pile. -Tony

[PATCH v3 0/7] Enhance PAT init to fix Xorg crashes

2016-03-23 Thread Toshi Kani
A Xorg failure on qemu32 was reported as a regression [1] caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")'. This patch-set fixes the regression. Negative effects of this regression were two failures [2] in Xorg on QEMU with QEMU CPU model "qemu32" (-cpu qemu32), whic

[PATCH v3 3/7] x86/mm/pat: Replace cpu_has_pat with boot_cpu_has

2016-03-23 Thread Toshi Kani
Borislav Petkov wrote: > Please use on init paths boot_cpu_has(X86_FEATURE_PAT) and on fast > paths static_cpu_has(X86_FEATURE_PAT). No more of that cpu_has_XXX > ugliness. Replace the use of cpu_has_pat on init paths with boot_cpu_has(). Suggested-by: Borislav Petkov Signed-off-by: Toshi Kani

[PATCH v3 1/7] x86/mm/pat: Add support of non-default PAT MSR setting

2016-03-23 Thread Toshi Kani
In preparation for fixing a regression caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")', PAT needs to support a case that PAT MSR is initialized with a non-default value. When pat_init() is called and PAT is disabled, it initializes PAT table with the BIOS default va

[PATCH v3 5/7] x86/mtrr: Fix PAT init handling when MTRR is disabled

2016-03-23 Thread Toshi Kani
get_mtrr_state() calls pat_init() on BSP even if MTRR is disabled. This results in calling pat_init() on BSP only since APs do not call pat_init() when MTRR is disabled. This inconsistency between BSP and APs leads to undefined behavior. Make BSP's calling condition to pat_init() consistent with

[PATCH v3 4/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-23 Thread Toshi Kani
A Xorg failure on qemu32 was reported as a regression [1] caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")'. This patch fixes this regression. Negative effects of this regression were the following two failures [2] in Xorg on QEMU with QEMU CPU model "qemu32" (-cpu qe

[PATCH v3 7/7] x86/pat: Document PAT initialization

2016-03-23 Thread Toshi Kani
Update PAT documentation to describe how PAT is initialized under various configurations. Signed-off-by: Toshi Kani Cc: Borislav Petkov Cc: Luis R. Rodriguez Cc: Juergen Gross Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Thomas Gleixner --- Documentation/x86/pat.txt | 32 ++

[PATCH v3 2/7] x86/mm/pat: Add pat_disable() interface

2016-03-23 Thread Toshi Kani
In preparation for fixing a regression caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")', PAT needs to provide an interface that prevents the OS from initializing the PAT MSR. PAT MSR initialization must be done on all CPUs using the specific sequence of operations de

[PATCH v3 6/7] x86/xen,pat: Remove PAT table init code from Xen

2016-03-23 Thread Toshi Kani
Xen supports PAT without MTRRs for its guests. In order to enable WC attribute, it was necessary for xen_start_kernel() to call pat_init_cache_modes() to update PAT table before starting guest kernel. Now that the kernel initializes PAT table to the BIOS handoff state when MTRR is disabled, this

Re: [PATCH v3 0/3] scsi: reduce CONFIG_SCSI_CONSTANTS=y impact by 8k

2016-03-23 Thread Martin K. Petersen
> "Rasmus" == Rasmus Villemoes writes: Rasmus> This is mostly identical to v2 sent in November, rebased Rasmus> (cleanly) to current mainline. The only change is that I've this Rasmus> time also updated the Kconfig help text in 3/3, since the 75 KB Rasmus> was a bit exaggerated. After these p

Re: [PATCH v4 00/23] ncr5380: Eliminate macros, reduce code duplication, fix bugs etc

2016-03-23 Thread Martin K. Petersen
> "Finn" == Finn Thain writes: Finn, Finn> This patch series has been tested on several platforms. I tested Finn> the dmx3191d and mac_scsi modules on suitable hardware, Michael Finn> tested atari_scsi on an Atari Falcon and Ondrej has tested Finn> g_NCR5380 and g_NCR5380_mmio on various ISA

Re: [PATCH v2 3/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-23 Thread Toshi Kani
On Wed, 2016-03-23 at 09:53 -0600, Toshi Kani wrote: > On Wed, 2016-03-23 at 09:44 +0100, Borislav Petkov wrote: > > On Tue, Mar 22, 2016 at 03:53:30PM -0600, Toshi Kani wrote: > > > Yes. I had to remove this number since checkpatch complained that I > > > needed to quote the whole patch tile again

RE: [PATCH] i40iw: avoid potential uninitialized variable use

2016-03-23 Thread Ismail, Mustafa
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, March 23, 2016 5:35 AM > Subject: [PATCH] i40iw: avoid potential uninitialized variable use > > gcc finds that the i40iw_make_cm_node() function in the recently added i40iw > driver uses an uninitilized va

Re: [PATCH 00/11] mtd: nand_bbt: introduce independent nand BBT

2016-03-23 Thread Ezequiel Garcia
Hello, On 13 March 2016 at 23:47, Peter Pan wrote: > Sorry for send the v3 out late. I went through a busy time in the past > two month. > > Currently nand_bbt.c is tied with struct nand_chip, and it makes other > NAND family chips hard to use nand_bbt.c. Maybe it's the reason why > onenand has o

Re: [tip:perf/urgent] perf/x86/mbm: Implement RMID recycling

2016-03-23 Thread Matt Fleming
On Mon, 21 Mar, at 11:27:55AM, Vikas Shivappa wrote: > > The init_mbm_sample calls the update_sample to read the MSR in IPI .. Since > the count is also in IPI , they should not trash each other ? > > Basically all the MSR read/writes are in high irql , except for the mbm > overflow timer and rea

Re: [PATCH] Add fwupdate and Mok GUID's to the EFI variable immutable whitelist

2016-03-23 Thread Matt Fleming
On Tue, 22 Mar, at 09:36:25PM, Mario Limonciello wrote: > > Actually, I think this patch should be discarded unless there is a > desire to make the kernel work with older userspace tools. > > I later realized that efivar 0.22 will actually handle working with > immutable variables properly. This

Re: drivers/target/iscsi/iscsi_target.o: warning: objtool: iscsit_handle_task_mgt_cmd()+0xbcb: function has unreachable instruction

2016-03-23 Thread Josh Poimboeuf
On Wed, Mar 23, 2016 at 07:15:08PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: a24e3d414e59ac76566dedcad1ed1d319a93ec14 > commit: d4883d5d6b146fd65f762c462b2c6d4a327c7d50 objtool: Enable stack > metadata validatio

Re: [PATCH v5 0/2] power: reset: support for Atmel alternative Shutdown Controller

2016-03-23 Thread Sebastian Reichel
Hi Nicolas, On Wed, Mar 23, 2016 at 12:18:46PM +0100, Nicolas Ferre wrote: > Le 16/03/2016 14:19, Nicolas Ferre a écrit : > > This is a series to add driver for a new Atmel Shutdown Controller. This > > new IP > > is extensible and some features will be added later (see the TODO section). > > Its

Re: [PATCH v2] sparc/PCI: Fix for panic while enabling SR-IOV

2016-03-23 Thread kbuild test robot
Hi Babu, [auto build test ERROR on sparc/master] [also build test ERROR on v4.5 next-20160323] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Babu-Moger/sparc-PCI-Fix-for-panic-while-enabling

Re: drivers/target/iscsi/iscsi_target.o: warning: objtool: iscsit_handle_task_mgt_cmd()+0xbcb: function has unreachable instruction

2016-03-23 Thread Josh Poimboeuf
On Wed, Mar 23, 2016 at 04:11:04PM -0500, Josh Poimboeuf wrote: > On Wed, Mar 23, 2016 at 07:15:08PM +0800, kbuild test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: a24e3d414e59ac76566dedcad1ed1d319a93ec14 > > commit: d4883d5d6b

Re: UFS V11 patch-set

2016-03-23 Thread Martin K. Petersen
> "Joao" == Joao Pinto writes: Joao, Joao> Isn't it possible to be merged into a ufs-dwc branch in the SCSI Joao> Git tree that could be pulled later, like Bjorn did in the PCIe Joao> RC? I just started 4.7/scsi-queue so now is a good time to resubmit. Thanks! -- Martin K. Petersen

[PATCH 16/23] tools include: Copy linux/stringify.h from the kernel

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo There is code in tools/ that is directly including this file from the kernel, and this is verboten for a while, copy it so that the next csets can fix this situation. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/t

[PATCH 08/23] perf tools: Add cpumode to struct perf_sample

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To avoid parsing event->header.misc in many locations. This will also allow setting perf.sample.{ip,cpumode} in a single place, from tracepoint fields, as needed by 'perf kvm' with PPC guests, where the guest hardware counters is not available at the host. Cc: Adr

[PATCH 05/23] perf list: Fix documentation of :ppp

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Correctly document what is implemented for :ppp on Intel CPUs in recent kernels. Signed-off-by: Andi Kleen Acked-by: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1458575793-12091-2-git-send-email-a...@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo ---

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

2016-03-23 Thread Arnaldo Carvalho de Melo
2016-03-11 09:40:25 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160323 for you to fetch changes up to 76267147f233f347dbd8f4f8c05492e5ea0a7dce: perf llvm: Use strerror_r instead of the thread unsafe st

[PATCH 23/23] perf llvm: Use strerror_r instead of the thread unsafe strerror one

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-5njrq9dltckgm624omw9l...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/llvm-utils.c | 7 --- 1 file changed, 4 insertions(+), 3 de

[PATCH 22/23] perf llvm: Use realpath to canonicalize paths

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To kill the last user of make_nonrelative_path(), that gets ditched, one more panicking function killed. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-3hu56rvyh4q5gxogovb6k...@git.kernel.org Signed-off-by: Arna

[PATCH 10/23] perf thread: Rename perf_event__preprocess_sample_addr to thread__resolve

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since none of the perf_event fields are used anymore, just the perf_sample ones, and since this resolves to (map, symbol) from data structures within struct thread, rename it to thread__resolve and make the argument ordering similar to the one in machine__resolve().

[PATCH 20/23] perf probe: No need to use formatting strbuf method

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We have addch() for chars, add() for fixed size data, and addstr() for variable length strings, use them. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-0ap02fn2xtvpduj2j6b2o...@git.kernel.

[PATCH 03/23] perf symbols: Record text offset in dso to calculate objdump address

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Wang Nan Store DSO's .text offset into DSO, used for VDSOs and will also be used for other needs, like handling kernel modules. Signed-off-by: Wang Nan Cc: Adrian Hunter Cc: Alexei Starovoitov Cc: Cody P Schafer Cc: He Kuang Cc: Jiri Olsa Cc: Kirill Smelkov Cc: Li Zefan Cc: Masami

<    1   2   3   4   5   6   7   8   >