[PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2014-12-12 Thread Kishon Vijay Abraham I
The reset values for all the PCF lines are high and hence on shutdown we should drive all the lines high in order to bring it to the reset state. This is actually required since pcf doesn't have a reset line and even after warm reset (by invoking reboot in prompt) the pcf lines maintains it's

Re: [RFC PATCHv2 0/7] devfreq: Add devfreq-event class to provide raw data for devfreq device

2014-12-12 Thread Chanwoo Choi
Hi Krzysztof, On 12/10/2014 10:21 PM, Chanwoo Choi wrote: Hi Krzysztof, On Wed, Dec 10, 2014 at 7:07 PM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On wto, 2014-12-09 at 23:12 +0900, Chanwoo Choi wrote: This patchset add new devfreq_event class to provide raw data to determine

Re: [GIT PULL 00/18] perf/core improvements and fixes

2014-12-12 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit cfa0bd52d0ba9b852f76c7b3f1055edd5e5c7846: Merge tag 'perf-core-for-mingo-2' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into

Re: NULL pointer dereference in i2c-hid

2014-12-12 Thread Gabriele Mazzotta
On Thursday 11 December 2014 16:26:00 Andrew Duggan wrote: On 12/11/2014 01:57 PM, Gabriele Mazzotta wrote: On Thursday 11 December 2014 13:34:02 Andrew Duggan wrote: On 12/11/2014 01:17 PM, Gabriele Mazzotta wrote: On Thursday 11 December 2014 12:46:53 Andrew Duggan wrote: On 12/11/2014

[tip:perf/urgent] perf bench: Merge memset into memcpy

2014-12-12 Thread tip-bot for Rabin Vincent
Commit-ID: 5bce1a5772cb52aad7e0466484ba07cfbfec2478 Gitweb: http://git.kernel.org/tip/5bce1a5772cb52aad7e0466484ba07cfbfec2478 Author: Rabin Vincent rabin.vinc...@axis.com AuthorDate: Tue, 2 Dec 2014 16:50:40 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9

[tip:perf/urgent] perf bench: Prepare memcpy for merge

2014-12-12 Thread tip-bot for Rabin Vincent
Commit-ID: 308197b9474bcde2cafba2cd19bef46e0c0428bd Gitweb: http://git.kernel.org/tip/308197b9474bcde2cafba2cd19bef46e0c0428bd Author: Rabin Vincent rabin.vinc...@axis.com AuthorDate: Tue, 2 Dec 2014 16:50:39 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9

[tip:perf/urgent] perf bench: Fix memcpy/memset output

2014-12-12 Thread tip-bot for Rabin Vincent
Commit-ID: 1182f883113483cefbc3be0178a2df2dc9ae8b77 Gitweb: http://git.kernel.org/tip/1182f883113483cefbc3be0178a2df2dc9ae8b77 Author: Rabin Vincent rabin.vinc...@axis.com AuthorDate: Tue, 2 Dec 2014 16:50:41 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9

[tip:perf/urgent] perf hists browser: Change print format from %lu to %PRIu64

2014-12-12 Thread tip-bot for Tom Huynh
Commit-ID: e641f696ebe4514efac00d1f4a485a06c8e94eea Gitweb: http://git.kernel.org/tip/e641f696ebe4514efac00d1f4a485a06c8e94eea Author: Tom Huynh tom.hu...@freescale.com AuthorDate: Tue, 2 Dec 2014 11:37:22 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec

[tip:perf/urgent] perf tools: Use single strcmp call instead of two

2014-12-12 Thread tip-bot for Jiri Olsa
Commit-ID: cfd31d85bb42b96449157bd57c638dc779070753 Gitweb: http://git.kernel.org/tip/cfd31d85bb42b96449157bd57c638dc779070753 Author: Jiri Olsa jo...@kernel.org AuthorDate: Mon, 1 Dec 2014 20:06:22 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec 2014

[tip:perf/urgent] perf buildid-cache: Remove extra debugdir variables

2014-12-12 Thread tip-bot for Jiri Olsa
Commit-ID: 498922adf1173ddeebd155f82646d4a9d518d606 Gitweb: http://git.kernel.org/tip/498922adf1173ddeebd155f82646d4a9d518d606 Author: Jiri Olsa jo...@kernel.org AuthorDate: Mon, 1 Dec 2014 20:06:23 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec 2014

[tip:perf/urgent] perf buildid cache: Fix -a segfault related to kcore handling

2014-12-12 Thread tip-bot for Jiri Olsa
Commit-ID: eec5a688f426d6fe4097feb0b916ad41803d2ebb Gitweb: http://git.kernel.org/tip/eec5a688f426d6fe4097feb0b916ad41803d2ebb Author: Jiri Olsa jo...@kernel.org AuthorDate: Mon, 1 Dec 2014 20:06:27 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec 2014

[tip:perf/urgent] perf tools: Add --buildid-dir option to set cache directory

2014-12-12 Thread tip-bot for Jiri Olsa
Commit-ID: 99ce8e9fce99147f865cda8a8e471900518c9a49 Gitweb: http://git.kernel.org/tip/99ce8e9fce99147f865cda8a8e471900518c9a49 Author: Jiri Olsa jo...@kernel.org AuthorDate: Mon, 1 Dec 2014 20:06:24 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec 2014

Re: [PATCH] memory: Add NVIDIA SMMU suspend/resume support

2014-12-12 Thread Alexandre Courbot
Hi Mark, On Mon, Dec 8, 2014 at 3:20 PM, Mark Zhang ma...@nvidia.com wrote: This patch adds suspend/resume support for NVIDIA SMMU. This patch is created on top of Thierry Reding's patch set: [PATCH v7 00/12] NVIDIA Tegra memory controller and IOMMU support You should have this comment

[tip:perf/urgent] perf callchain: Move cpumode resolve code to add_callchain_ip

2014-12-12 Thread tip-bot for Kan Liang
Commit-ID: 2e77784bb7d882647c33d8e75a650625e6df0f8b Gitweb: http://git.kernel.org/tip/2e77784bb7d882647c33d8e75a650625e6df0f8b Author: Kan Liang kan.li...@intel.com AuthorDate: Tue, 2 Dec 2014 10:06:53 -0500 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec 2014

[tip:perf/urgent] perf callchain: Fixup parameter handling error message

2014-12-12 Thread tip-bot for Kan Liang
Commit-ID: f70b4e39de4ef25aade966c0dfc69cfb97091be9 Gitweb: http://git.kernel.org/tip/f70b4e39de4ef25aade966c0dfc69cfb97091be9 Author: Kan Liang kan.li...@intel.com AuthorDate: Tue, 2 Dec 2014 10:06:52 -0500 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec 2014

[tip:perf/urgent] calloc/xcalloc: Fix argument order

2014-12-12 Thread tip-bot for Arjun Sreedharan
Commit-ID: e4e458b45c5861808674eebfea94cee2258bb2ea Gitweb: http://git.kernel.org/tip/e4e458b45c5861808674eebfea94cee2258bb2ea Author: Arjun Sreedharan arjun...@gmail.com AuthorDate: Sat, 6 Dec 2014 17:10:43 +0530 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec

[tip:perf/urgent] perf tests: Fix attr tests size values to cope with machine state on interrupt ABI changes

2014-12-12 Thread tip-bot for Jiri Olsa
Commit-ID: 75226c577c8869ae1449cf92d781edda0177f1cf Gitweb: http://git.kernel.org/tip/75226c577c8869ae1449cf92d781edda0177f1cf Author: Jiri Olsa jo...@redhat.com AuthorDate: Tue, 9 Dec 2014 14:53:01 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 9 Dec 2014

[tip:perf/urgent] perf kvm stat live: Mark events as (x86 only) in help output

2014-12-12 Thread tip-bot for Alexander Yarygin
Commit-ID: 99d348a84c2118ed04c9b72168787f55e2fe33a5 Gitweb: http://git.kernel.org/tip/99d348a84c2118ed04c9b72168787f55e2fe33a5 Author: Alexander Yarygin yary...@linux.vnet.ibm.com AuthorDate: Wed, 10 Dec 2014 14:28:10 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate:

[tip:perf/urgent] perf trace: Provide a better explanation when mmap fails

2014-12-12 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e09b18d4907992d3d615b215c1abf585721b2810 Gitweb: http://git.kernel.org/tip/e09b18d4907992d3d615b215c1abf585721b2810 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 11 Dec 2014 18:04:10 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[tip:perf/urgent] tools lib fs: Add sysctl__read_int helper

2014-12-12 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 42e3c4a1274d49b42e9d4306ec096b282a6e14aa Gitweb: http://git.kernel.org/tip/42e3c4a1274d49b42e9d4306ec096b282a6e14aa Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 11 Dec 2014 13:37:10 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[tip:perf/urgent] perf evlist: Introduce strerror_mmap method

2014-12-12 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 956fa57106d1ad3ffbe73f4534b9f3b3bc92dd6c Gitweb: http://git.kernel.org/tip/956fa57106d1ad3ffbe73f4534b9f3b3bc92dd6c Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 11 Dec 2014 18:03:01 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[tip:perf/urgent] perf tools: Use sysctl__read_int instead of ad-hoc copies

2014-12-12 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ce27309f67c347e6e49ebd45042f5362b0ccbdcc Gitweb: http://git.kernel.org/tip/ce27309f67c347e6e49ebd45042f5362b0ccbdcc Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 11 Dec 2014 13:37:59 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

Re: [RFC 04/15] regulator: add restrack support

2014-12-12 Thread Andrzej Hajda
On 12/11/2014 02:43 PM, Russell King - ARM Linux wrote: On Thu, Dec 11, 2014 at 12:58:37PM +, Mark Brown wrote: I'd expect someone reading the change in the regulator API to have at least some idea how this fits in with the rest of the API and how to use it, and probably more importantly

Re: [patch 4/4] acpi: ioapic: Respect the resource flags

2014-12-12 Thread Yinghai Lu
On Thu, Dec 11, 2014 at 11:53 PM, Thomas Gleixner t...@linutronix.de wrote: I still have no explanation why the translation offset needs to be applied here. That should be copied from pci root bus resource setup. But looks like only ia64 use those translation_offset? Thanks Yinghai -- To

[RFC PATCHv3 0/7] devfreq: Add devfreq-event class to provide raw data for devfreq device

2014-12-12 Thread Chanwoo Choi
This patchset add new devfreq_event class to provide raw data to determine current utilization of device which is used for devfreq governor. [Description of devfreq-event class] This patchset add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus

[RFC PATCHv3 2/7] devfreq: event: Add the list of supported devfreq-event type

2014-12-12 Thread Chanwoo Choi
This patch adds the list of supported devfreq-event type as following. Each devfreq-event device driver would support the various devfreq-event type for devfreq governor at the same time. - DEVFREQ_EVENT_TYPE_RAW_DATA - DEVFREQ_EVENT_TYPE_UTILIZATION - DEVFREQ_EVENT_TYPE_BANDWIDTH -

[RFC PATCHv3 6/7] ARM: dts: Add PPMU dt node for Exynos4 SoC

2014-12-12 Thread Chanwoo Choi
This patch add PPMU (Performance Profiling Monitoring Unit) dt node for Exynos4 (Exynos4210/4212/4412) SoC. PPMU dt node is used to monitor the utilization of each IP. The Exynos4210/Exynos4212/Exynos4412 SoC includes following PPMUs: - PPMU_DMC0 0x106A_ - PPMU_DMC1 0x106B_ -

[RFC PATCHv3 5/7] ARM: dts: Add PPMU dt node for Exynos3250

2014-12-12 Thread Chanwoo Choi
This patch add PPMU (Performance Profiling Monitoring Units) dt node to estimate the utilization of each IP in Exynos SoC throught DEVFREQ Event subsystem. This patch adds following PPMU dt nodes: - PPMU_DMC0 0x106a - PPMU_DMC1 0x106b - PPMU_RIGHTBUS 0x112A - PPMU_LEFTBUS

[RFC PATCHv3 1/7] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-12 Thread Chanwoo Choi
This patch add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus utilization/GPU utilization). This raw data from devfreq_event data would be used for the governor of devfreq subsystem. - devfreq_event device : Provide raw data for governor of existing

[RFC PATCHv3 4/7] devfreq: event: Add documentation for exynos-ppmu devfreq-event driver

2014-12-12 Thread Chanwoo Choi
This patch adds the documentation for Exynos PPMU (Performance Profiling Monitoring Unit) devfreq-event driver. Cc: MyungJoo Ham myungjoo@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com --- .../bindings/devfreq/event/exynos-ppmu.txt

[RFC PATCHv3 7/7] ARM: dts: exynos: Add PPMU dt node to Exynos3250-based Rinato board

2014-12-12 Thread Chanwoo Choi
This patch add PPMU dt node to Exynos3250-base Rinato board. The PPMU dt node is used to get the utilization of DMC0/DMC1/LEFTBUS/RIGHTBUS Block. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ---

[RFC PATCHv3 3/7] devfreq: event: Add exynos-ppmu devfreq event driver

2014-12-12 Thread Chanwoo Choi
This patch adds exynos-ppmu devfreq-event driver to get performance data of each IP for Samsung Exynos SoC. These event from Exynos PPMU provide useful information about the behavior of the SoC that you can use when analyzing system performance, and made visible and can be counted using logic in

Re: [GIT pull] x86 mpx support for 3.19

2014-12-12 Thread Ingo Molnar
* Dave Hansen dave.han...@linux.intel.com wrote: +config X86_INTEL_MPX + prompt Intel MPX (Memory Protection Extensions) + def_bool y + depends on CPU_SUP_INTEL + ---help--- + MPX provides hardware features that can be used in + conjunction with

Re: [PATCH 0/2] Squashfs: add LZ4 compression

2014-12-12 Thread Anthony F McInerney
Thanks very much for keeping me in the loop. I'd like to put a big +1 on this patch inclusion. Looking forward to in-kernel support for LZ4 squashfs images. Thanks Anthony -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [Patch v3 2/2] gpio: Document GPIO hogging mechanism

2014-12-12 Thread Alexandre Courbot
On Thu, Dec 11, 2014 at 7:50 AM, Benoit Parrot bpar...@ti.com wrote: Alexandre Courbot gnu...@gmail.com wrote on Wed [2014-Dec-10 19:56:17 +0900]: On Fri, Dec 5, 2014 at 6:02 AM, Benoit Parrot bpar...@ti.com wrote: Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot

Re: [Linaro-acpi] [PATCH] Mailbox: Complete wait event only if Tx was successful

2014-12-12 Thread Sudeep Holla
Hi Ashwin, On Thursday 11 December 2014 01:46 AM, Ashwin Chaugule wrote: If a wait_for_completion_timeout() call returns due to a timeout, the mbox code can still call complete() after returning from the wait. This can cause subsequent transmissions on a channel to fail, since the

Re: [PATCH] nios2: enable make defconfig

2014-12-12 Thread Ley Foon Tan
On Wed, Dec 10, 2014 at 4:02 AM, Paul Bolle pebo...@tiscali.nl wrote: Running make defconfig currently fails for nios2: $ make ARCH=nios2 defconfig scripts/kconfig/conf --defconfig Kconfig *** *** Can't find default configuration arch/nios2/defconfig! *** make[1]:

Re: [PATCH] nios2: add definition of ioremap_wc to io.h

2014-12-12 Thread Ley Foon Tan
On Thu, Dec 11, 2014 at 12:59 AM, Guenter Roeck li...@roeck-us.net wrote: Fix drivers/gpu/drm/drm_bufs.c: In function 'drm_addmap_core': drivers/gpu/drm/drm_bufs.c:213:5: error: implicit declaration of function 'ioremap_wc' seen when building nios2:allmodconfig.

RE: Convalida il tuo account di cassetta postale

2014-12-12 Thread Banks_Joyce
From: Banks_Joyce Sent: Thursday, December 11, 2014 11:29 PM To: Banks_Joyce Subject: Convalida il tuo account di cassetta postale Postkassen har overskredet lagerplads som indstillet af din e-mail-administrator, og du vil ikke være i stand til at modtage nye

Re: [patch 4/4] acpi: ioapic: Respect the resource flags

2014-12-12 Thread Jiang Liu
On 2014/12/12 15:53, Thomas Gleixner wrote: On Thu, 11 Dec 2014, Yinghai Lu wrote: On Thu, Dec 11, 2014 at 11:48 AM, Thomas Gleixner t...@linutronix.de wrote: +static inline bool is_valid_mem_resource(struct resource *res) +{ + return !(res-flags IORESOURCE_DISABLED) +

Re: [PATCH v4] CPU hotplug: active_writer not woken up in some cases - deadlock

2014-12-12 Thread David Hildenbrand
This is subjective, but how about static bool xxx(void) { mutex_lock(cpu_hotplug.lock); if (atomic_read(cpu_hotplug.refcount) == 0) return true; mutex_unlock(cpu_hotplug.lock); return false;

Re: [PATCH 3.2 042/164] vfs: fix data corruption when blocksize pagesize for mmaped data

2014-12-12 Thread Jan Kara
On Fri 12-12-14 06:14:25, Ben Hutchings wrote: 3.2.65-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara j...@suse.cz commit 90a8020278c1598fafd071736a0846b38510309c upstream. This patch needs also commit

Re: [PATCHv3 8/8] cgroup: Add documentation for cgroup namespaces

2014-12-12 Thread Zefan Li
+In its current form, the cgroup namespaces patcheset provides following +behavior: + +(1) The 'cgroupns-root' for a cgroup namespace is the cgroup in which +the process calling unshare is running. +For ex. if a process in /batchjobs/container_id1 cgroup calls unshare, +cgroup

Re: [Patch v3 1/2] gpio: add GPIO hogging mechanism

2014-12-12 Thread Alexandre Courbot
On Thu, Dec 11, 2014 at 8:48 AM, Benoit Parrot bpar...@ti.com wrote: Alexandre Courbot gnu...@gmail.com wrote on Wed [2014-Dec-10 20:19:51 +0900]: On Fri, Dec 5, 2014 at 6:02 AM, Benoit Parrot bpar...@ti.com wrote: Based on Boris Brezillion's work this is a reworked patch of his initial

Re: [PATCHv3 5/8] cgroup: introduce cgroup namespaces

2014-12-12 Thread Zefan Li
On 2014/12/5 9:55, Aditya Kali wrote: Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to virtualize

Re: [PATCHv3 7/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-12-12 Thread Zefan Li
On 2014/12/5 9:55, Aditya Kali wrote: This patch enables cgroup mounting inside userns when a process as appropriate privileges. The cgroup filesystem mounted is s/as/has rooted at the cgroupns-root. Thus, in a container-setup, only the hierarchy under the cgroupns-root is exposed inside the

[LKP] [ACPI] 40e7fcb1929: acpi LNXVIDEO:00: Failed to evaluate _DEP.

2014-12-12 Thread Huang Ying
FYI, we noticed the changes on commit 40e7fcb19293cbdff02c74cb0668413480f82ea1 (ACPI: Add _DEP support to fix battery issue on Asus T100TA) The dmesg is as follow and attached. [1.332908] ACPI: Power Resource [PG00] (on) [1.341096] ACPI: Power Resource [PG01] (on) [1.349277] ACPI:

Re: [PATCH v3] clk: Add PWM clock driver

2014-12-12 Thread Janusz Użycki
Hi Philipp, It moved .enable to .prepare which can sleep and it works without any bug. The dirty fix: const struct clk_ops clk_pwm_ops = { - .enable = clk_pwm_enable, - .disable = clk_pwm_disable, + .prepare = clk_pwm_enable, + .unprepare = clk_pwm_disable,

Re: [PATCH] media: au0828 - convert to use videobuf2

2014-12-12 Thread Hans Verkuil
On 12/11/2014 01:28 AM, Shuah Khan wrote: Convert au0828 to use videobuf2. Tested with NTSC. Tested video and vbi devices with xawtv, tvtime, and vlc. Ran v4l2-compliance to ensure there are no new regressions in video and vbi now has 3 fewer failures. video before: test

[PATCH] MAINTAINERS: update Xiubo's email address

2014-12-12 Thread Xiubo Li
My current email address will be gone shortly, update my email to be a gmail one. Signed-off-by: Xiubo Li li.xi...@freescale.com --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7b712d8..c3e0abf 100644 --- a/MAINTAINERS +++

[PATCH v5] CPU hotplug: active_writer not woken up in some cases - deadlock

2014-12-12 Thread David Hildenbrand
Commit b2c4623dcd07 (rcu: More on deadlock between CPU hotplug and expedited grace periods) introduced another problem that can easily be reproduced by starting/stopping cpus in a loop. E.g.: for i in `seq 5000`; do echo 1 /sys/devices/system/cpu/cpu1/online echo 0

Re: [dm-devel] [PATCH v2] staging: writeboost: Add dm-writeboost

2014-12-12 Thread Bart Van Assche
On 12/12/14 01:42, Akira Hayakawa wrote: 1. Writeboost shouldn't split the bio into 4KB chunks. No. It is necessary. I know WALB (https://github.com/starpos/walb) logs data without splitting but the data structure becomes complicated. If you read my code carefully, you will notice that splitting

[PATCH] mailbox: Add Altera mailbox driver

2014-12-12 Thread Ley Foon Tan
The Altera mailbox allows for interprocessor communication. It supports only one channel and work as either sender or receiver. Signed-off-by: Ley Foon Tan lf...@altera.com --- .../devicetree/bindings/mailbox/altera-mailbox.txt | 49 +++ drivers/mailbox/Kconfig| 7

RE: [RFC PATCH net-next 1/1] net: Support for switch port configuration

2014-12-12 Thread Varlese, Marco
-Original Message- From: Roopa Prabhu [mailto:ro...@cumulusnetworks.com] Sent: Thursday, December 11, 2014 5:41 PM To: Jiri Pirko Cc: Varlese, Marco; John Fastabend; net...@vger.kernel.org; step...@networkplumber.org; Fastabend, John R; sfel...@gmail.com;

Re: [PATCH v2 1/1] net/macb: add TX multiqueue support for gem

2014-12-12 Thread Cyrille Pitchen
Le 11/12/2014 20:31, Thomas Petazzoni a écrit : Dear Cyrille Pitchen, On Thu, 11 Dec 2014 11:16:51 +0100, Cyrille Pitchen wrote: +#define GEM_ISR10x0400 +#define GEM_ISR20x0404 +#define GEM_ISR30x0408

RE: Detail require for upgrade

2014-12-12 Thread Banks_Joyce
From: Banks_Joyce Sent: Thursday, December 11, 2014 10:36 PM To: Banks_Joyce Subject: Detail require for upgrade Your mailbox has exceeded it storage limit as set by your administrator, and you will not be able to receive new mails until you re-validate it. To

[PATCH v2 1/6] ASoC: dwc: Remove unnecessary debug messages and tests

2014-12-12 Thread Andrew Jackson
From: Andrew Jackson andrew.jack...@arm.com The devm_XXX allocation functions print a message on failure, so additional messages are not required. Signed-off-by: Andrew Jackson andrew.jack...@arm.com --- sound/soc/dwc/designware_i2s.c | 13 ++--- 1 files changed, 2 insertions(+), 11

[PATCH v2 3/6] ASoC: dwc: Iterate over all channels

2014-12-12 Thread Andrew Jackson
From: Andrew Jackson andrew.jack...@arm.com The Designware core can be configured with up to four stereo channels. Each stereo channel is individually configured so, when the driver's hw_params call is made, each requested stereo channel has to be programmed. Signed-off-by: Andrew Jackson

[PATCH v2 0/6] ASoC: dwc: Add device tree support to designware I2S

2014-12-12 Thread Andrew Jackson
From: Andrew Jackson andrew.jack...@arm.com This patch set extends the DesignWare I2S driver to provide device tree support and fixes a couple of small faults. Changes v1-v2 + Drop negative use count patch [Mark Brown] + Remove unnecessary debug print messages [Lars-Peter Clausen] +

[PATCH v2 4/6] ASoC: dwc: Reorder code in preparation for DT support

2014-12-12 Thread Andrew Jackson
From: Andrew Jackson andrew.jack...@arm.com Move code that configures the DAI and DMA into a separate function. This reduces the size of the dw_i2s_probe function and will make it easier to add support for device tree to the driver. Signed-off-by: Andrew Jackson andrew.jack...@arm.com ---

[PATCH v2 2/6] ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap

2014-12-12 Thread Andrew Jackson
From: Andrew Jackson andrew.jack...@arm.com If the FIFOs aren't flushed, the left/right channels may be swapped: this may occur if the FIFOs are not empty when the streams start. Signed-off-by: Andrew Jackson andrew.jack...@arm.com --- sound/soc/dwc/designware_i2s.c |2 ++ 1 files changed,

[PATCH v2 6/6] ASoC: dwc: Add documentation for I2S DT

2014-12-12 Thread Andrew Jackson
From: Andrew Jackson andrew.jack...@arm.com Add documentation for Designware I2S hardware block. The block requires two clocks (one for audio sampling, the other for APB) and DMA channels for receive and transmit. Signed-off-by: Andrew Jackson andrew.jack...@arm.com ---

[PATCH v2 5/6] ASoC: dwc: Add devicetree support for Designware I2S

2014-12-12 Thread Andrew Jackson
From: Andrew Jackson andrew.jack...@arm.com Allow the driver to be configured through a device tree rather than platform data. When using device-tree, read the I2S block's configuration from the relevant registers: this reduces the amount of information required in the device tree.

Re: [PATCH v2 1/6] ASoC: dwc: Remove unnecessary debug messages and tests

2014-12-12 Thread Joe Perches
On Fri, 2014-12-12 at 09:25 +, Andrew Jackson wrote: The devm_XXX allocation functions print a message on failure, so additional messages are not required. [] diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c [] @@ -345,26 +345,17 @@ static int

Re: [PATCH v2 1/6] ASoC: dwc: Remove unnecessary debug messages and tests

2014-12-12 Thread Lars-Peter Clausen
On 12/12/2014 10:31 AM, Joe Perches wrote: [...] res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - if (!res) { - dev_err(pdev-dev, no i2s resource defined\n); - return -ENODEV; - } - Why delete this? dev-i2s_base =

Re: [dm-devel] [PATCH v2] staging: writeboost: Add dm-writeboost

2014-12-12 Thread Akira Hayakawa
On 12/12/14 6:12 PM, Bart Van Assche wrote: This is the first time I see someone claiming that reducing the request size improves performance. I don't know any SSD model for which splitting requests improves performance. Writeboost batches number of writes into a log (that is 512KB large)

Re: [PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-12-12 Thread Javier Martinez Canillas
[adding arm-soc maintainers to cc] Hello Kukjin, On 12/02/2014 09:39 AM, Jingoo Han wrote: On Tuesday, December 02, 2014 5:17 PM, Javier Martinez Canillas wrote: On Mon, Nov 24, 2014 at 6:41 AM, Vivek Gautam gautam.vi...@samsung.com wrote: DP PHY now require pmu-system-controller to handle

Re: [PATCH v2 2/6] ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap

2014-12-12 Thread Lars-Peter Clausen
On 12/12/2014 10:25 AM, Andrew Jackson wrote: From: Andrew Jackson andrew.jack...@arm.com If the FIFOs aren't flushed, the left/right channels may be swapped: this may occur if the FIFOs are not empty when the streams start. Signed-off-by: Andrew Jackson andrew.jack...@arm.com ---

Re: [PATCH v2 1/6] ASoC: dwc: Remove unnecessary debug messages and tests

2014-12-12 Thread Andrew Jackson
On 12/12/14 09:31, Joe Perches wrote: On Fri, 2014-12-12 at 09:25 +, Andrew Jackson wrote: The devm_XXX allocation functions print a message on failure, so additional messages are not required. [] diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c [] @@ -345,26

Re: [PATCH v2] HID: rmi: Scan the report descriptor to determine if the device is suitable for the hid-rmi driver

2014-12-12 Thread Jiri Kosina
On Wed, 10 Dec 2014, Benjamin Tissoires wrote: With the minors comments I expressed, this patch is: Reviewed-by: Benjamin Tissoires benjamin.tissoi...@redhat.com Andrew, could you please resend v2 of the patch with Benjamin's comments addressed? Thanks, -- Jiri Kosina SUSE Labs -- To

RE: [PATCH v2 1/1] net/macb: add TX multiqueue support for gem

2014-12-12 Thread David Laight
From: Thomas Petazzoni On Thu, 11 Dec 2014 11:16:51 +0100, Cyrille Pitchen wrote: +#define GEM_ISR1 0x0400 +#define GEM_ISR2 0x0404 +#define GEM_ISR3 0x0408 +#define GEM_ISR4 0x040c

[GIT PULL] at91: fixes for 3.19 #1

2014-12-12 Thread Nicolas Ferre
Arnd, Olof, Kevin, I'm sending today a fixes branch which somehow continues the cleanup with only code removal. I was waiting for the arm-soc *and* pinctrl material to reach Linus T.'s tree before sending this pull-request. In fact this sequence was needed for the gpio header removal. The little

Re: [GIT PULL] multi-layer support for overlay filesystem

2014-12-12 Thread Al Viro
On Tue, Dec 09, 2014 at 11:37:45AM +0100, Miklos Szeredi wrote: Al, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-next This adds support for multiple read-only layers to overlayfs. It also makes the writable upper layer optional. First

Re: linux-next: Tree for Dec 12

2014-12-12 Thread Paul Bolle
Hi Stephen, On Fri, 2014-12-12 at 18:35 +1100, Stephen Rothwell wrote: -- Cheers, Stephen Rothwells...@canb.auug.org.au (Side note: it took me some time to realize that evolution automagically removes the above lines and the log that follows because it is considered one

Re: __hci_cmd_sync() not suitable for nokia h4p

2014-12-12 Thread Pavel Machek
Hi! What needs to be done is the bring up of the device including the proper UART settings and speed and then just run the firmware downloads. All firmware files on the Nokia devices where just HCI commands with vendor specific details. Some from CSR, some from Broadcom and some from

Re: [PATCH v2 1/1] net/macb: add TX multiqueue support for gem

2014-12-12 Thread Thomas Petazzoni
Dear David Laight, On Fri, 12 Dec 2014 09:45:30 +, David Laight wrote: From: Thomas Petazzoni On Thu, 11 Dec 2014 11:16:51 +0100, Cyrille Pitchen wrote: +#define GEM_ISR1 0x0400 +#define GEM_ISR2 0x0404 +#define GEM_ISR3

Re: [PATCH v3] clk: Add PWM clock driver

2014-12-12 Thread Philipp Zabel
Hi Janusz, Am Freitag, den 12.12.2014, 09:58 +0100 schrieb Janusz Użycki: Hi Philipp, It moved .enable to .prepare which can sleep and it works without any bug. The dirty fix: const struct clk_ops clk_pwm_ops = { - .enable = clk_pwm_enable, - .disable = clk_pwm_disable, +

Re: [PATCH v2 1/1] net/macb: add TX multiqueue support for gem

2014-12-12 Thread Cyrille Pitchen
Le 12/12/2014 10:45, David Laight a écrit : From: Thomas Petazzoni On Thu, 11 Dec 2014 11:16:51 +0100, Cyrille Pitchen wrote: +#define GEM_ISR1 0x0400 +#define GEM_ISR2 0x0404 +#define GEM_ISR3 0x0408 +#define

RE: [PATCH v2 1/1] net/macb: add TX multiqueue support for gem

2014-12-12 Thread David Laight
From: Cyrille Pitchen [... It will probably add a lot of object code and, depending on how often the registers are accesses, might have performance impact. Having: #define GEM_ISR(n) (0x400 + (n) 4) will save source code. David So you suggest that we keep the unsigned

[RESEND][PATCH] userns: use macro instead of magic number for max userns level

2014-12-12 Thread Chen Hanxiao
Use macro instead of magic number for max user namespace level. Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- kernel/user_namespace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/user_namespace.c

[PATCH (resend)] mailbox: Add Altera mailbox driver

2014-12-12 Thread Ley Foon Tan
The Altera mailbox allows for interprocessor communication. It supports only one channel and work as either sender or receiver. Signed-off-by: Ley Foon Tan lf...@altera.com --- .../devicetree/bindings/mailbox/altera-mailbox.txt | 49 +++ drivers/mailbox/Kconfig| 6

Re: linux-next: Tree for Dec 12

2014-12-12 Thread Stephen Rothwell
Hi Paul, On Fri, 12 Dec 2014 10:49:17 +0100 Paul Bolle pebo...@tiscali.nl wrote: $ git checkout master $ git reset --hard stable [...] Merging akpm-current/current (35ac317b788c shmdt: use i_size_read() instead of -i_size) CONFLICT (content): Merge conflict in

Re: [PATCH v2 1/6] ASoC: dwc: Remove unnecessary debug messages and tests

2014-12-12 Thread Joe Perches
On Fri, 2014-12-12 at 09:39 +, Andrew Jackson wrote: On 12/12/14 09:31, Joe Perches wrote: On Fri, 2014-12-12 at 09:25 +, Andrew Jackson wrote: The devm_XXX allocation functions print a message on failure, so additional messages are not required. [] diff --git

Re: [PATCH v1 0/4] mfd: reorganize Intel drivers

2014-12-12 Thread Andy Shevchenko
On Thu, 2014-12-11 at 08:06 -0800, Joe Perches wrote: On Thu, 2014-12-11 at 17:53 +0200, Andy Shevchenko wrote: This patchset creates a new folder under drivers/mfd and moves there Intel related drivers. Missing update of MAINTAINERS? Oh, right. I could send a follow up patch or update

[PATCH] perf tools: Fix bare address display value of callchain entries

2014-12-12 Thread Jiri Olsa
In case we don't have symbol to display we display bare 'unmapped' address. This was unintentionally changed in recent commit: 5550171b2a9f perf callchain: Use al.addr to set up call chain Putting the original way back. Cc: Andi Kleen a...@linux.intel.com Cc: Arnaldo Carvalho de Melo

Re: [PATCH v1 0/4] mfd: reorganize Intel drivers

2014-12-12 Thread Joe Perches
On Fri, 2014-12-12 at 12:10 +0200, Andy Shevchenko wrote: On Thu, 2014-12-11 at 08:06 -0800, Joe Perches wrote: On Thu, 2014-12-11 at 17:53 +0200, Andy Shevchenko wrote: This patchset creates a new folder under drivers/mfd and moves there Intel related drivers. Missing update of

[PATCH 3/5] workqueue: fixup existing pool-node

2014-12-12 Thread Lai Jiangshan
Yasuaki Ishimatsu hit a bug when the numa mapping between CPU and node is changed. And the previous path fixup wq_numa_possible_cpumask. (See more information form the changelog of that patch) After wq_numa_possible_cpumask was updated, the new pool-node will be correct, but the existing pools

[PATCH 5/5] workqueue: retry on NUMA_NO_NODE when create_worker() fails

2014-12-12 Thread Lai Jiangshan
A pwq bound to a specified node might be last long or even forever after the node was offline. Especially when this pwq has some back-to-back work items which requeue themselves and cause the pwq can't quit. This kinds of pwqs will cause their own pools busy and maybe create workers. This pools

[PATCH 0/5] workqueue: fix bug when numa mapping is changed

2014-12-12 Thread Lai Jiangshan
Workqueue code has an assumption that the numa mapping is stable after system booted. It is incorrectly currently. Yasuaki Ishimatsu hit a allocation failure bug when the numa mapping between CPU and node is changed. This was the last scene: SLUB: Unable to allocate memory on node 2

[PATCH 4/5] workqueue: update NUMA affinity for the node lost CPU

2014-12-12 Thread Lai Jiangshan
We fixed the major cases when the numa mapping is changed. We still have the assumption that when the node-cpu mapping is changed the original node is offline, and the current code of memory-hutplug also prove this. This assumption might be changed in future and the orig_node is still online in

[PATCH 1/5] workqueue: fix memory leak in wq_numa_init()

2014-12-12 Thread Lai Jiangshan
wq_numa_init() will quit directly on some bonkers cases without freeing the memory. Add the missing cleanup code. Cc: Tejun Heo t...@kernel.org Cc: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Cc: Gu, Zheng guz.f...@cn.fujitsu.com Cc: tangchen tangc...@cn.fujitsu.com Cc: Hiroyuki KAMEZAWA

[PATCH 2/5] workqueue: update wq_numa_possible_cpumask

2014-12-12 Thread Lai Jiangshan
Yasuaki Ishimatsu hit a allocation failure bug when the numa mapping between CPU and node is changed. This was the last scene: SLUB: Unable to allocate memory on node 2 (gfp=0x80d0) cache: kmalloc-192, object size: 192, buffer size: 192, default order: 1, min order: 0 node 0: slabs: 6172,

Re: [GIT PULL] bulk GPIO changes for v3.19

2014-12-12 Thread Linus Walleij
On Thu, Dec 11, 2014 at 8:34 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Dec 9, 2014 at 1:09 AM, Linus Walleij linus.wall...@linaro.org wrote: here is the bulk of GPIO changes for the v3.19 kernel series. The major external change is the new API to driver several GPIOs

Re: [PATCH] Mailbox: Complete wait event only if Tx was successful

2014-12-12 Thread Jassi Brar
On 11 December 2014 at 01:46, Ashwin Chaugule ashwin.chaug...@linaro.org wrote: If a wait_for_completion_timeout() call returns due to a timeout, the mbox code can still call complete() after returning from the wait. This can cause subsequent transmissions on a channel to fail, since the

Re: [PATCH 0/2] Squashfs: add LZ4 compression

2014-12-12 Thread Guan Xin
Hi Philip, Thank you for your work on squashfs and your persistent effort on mainlining squashfs-lz4 support! I've been using squashfs with lz4 compression (together with aufs by Okajima) for my desktop, laptops, home router and bluetooth music player for about half a year. There was not a

Re: [RFC PATCH v3 0/7] btrfs: implement swap file support

2014-12-12 Thread David Sterba
On Tue, Dec 09, 2014 at 05:45:41PM -0800, Omar Sandoval wrote: After some discussion on the mailing list, I decided that for simplicity and reliability, it's best to simply disallow COW files and files with shared extents (like files with extents shared with a snapshot). From a user's

Re: linux-next: Tree for Dec 12

2014-12-12 Thread Paul Bolle
next-20141204 next-20141205 next-20141208 next-20141209 next-20141210 next-20141211 next-20141212 I missed that commit. But then again it never occurred to me that a Kconfig symbol would be added and removed in one series

[PATCH v6 2/2] ARM: dts: Add haptic node for exynos3250-rinato

2014-12-12 Thread Jaewon Kim
This patch adds regulator-haptic device node controlled by regulator. Signed-off-by: Jaewon Kim jaewon02@samsung.com Reviewed-by: Chanwoo Choi cw00.c...@samsung.com --- arch/arm/boot/dts/exynos3250-rinato.dts |7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH v6 0/2] Add regulator-haptic driver

2014-12-12 Thread Jaewon Kim
This patch series adds regulator-haptic driver. The regulator-haptic has haptic motor and it is controlled by voltage of regulator via force feedback framework. Changes in v6: - prevent racing condition Changes in v5: - give preference to platform data Changes in v4: - _regulator_get() -

Re: [RFC PATCH v3 6/7] btrfs: add EXTENT_FLAG_SWAPFILE

2014-12-12 Thread David Sterba
On Tue, Dec 09, 2014 at 05:45:47PM -0800, Omar Sandoval wrote: Extents mapping a swap file should remain pinned in memory in order to avoid doing allocations to look up an extent when we're already low on memory. Rather than overloading EXTENT_FLAG_PINNED, add a new flag specifically for this

  1   2   3   4   5   6   7   8   9   10   >