Re: [PATCH v4 00/15] Introduce common infra for tegra clocks

2013-10-17 Thread Stephen Warren
On 10/17/2013 06:41 AM, Peter De Schrijver wrote: This patchset introduces common infrastructure for clocks which exist in several Tegra SoCs. We also also move Tegra20, Tegra30 and Tegra114 to this new infrastructure. This series, and the other series [PATCH v3 0/7] Tegra124 clock support,

Re: [PATCH v2] perf: disable PERF_RECORD_MMAP2 support

2013-10-17 Thread David Ahern
On 10/17/13 9:57 AM, Stephane Eranian wrote: On Thu, Oct 17, 2013 at 5:54 PM, David Ahern dsah...@gmail.com wrote: On 10/17/13 8:28 AM, Stephane Eranian wrote: For now, we disable the extended MMAP record support (MMAP2). We have identified cases where it would not report the correct mapping

Re: [PATCH v4 08/17] clk: at91: add PMC system clocks

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 11:41, Boris BREZILLON : This patch adds new at91 system clock implementation using common clk framework. Some peripherals need to enable a system clock in order to work properly. Each system clock is given an id based on the bit position in SCER/SCDR registers. Signed-off-by:

Re: [PATCH v4 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-10-17 Thread Jiang Liu
On 10/17/2013 11:24 PM, Jon Medhurst (Tixy) wrote: On Thu, 2013-10-17 at 12:38 +0100, Will Deacon wrote: [adding Tixy for stop_machine() question below] On Thu, Oct 17, 2013 at 07:19:35AM +0100, Jiang Liu wrote: [...] +int __kprobes aarch64_insn_patch_text_sync(void *addrs[], u32 insns[],

Re: [PATCH v4 07/17] clk: at91: add PMC master clock

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 10:51, Boris BREZILLON : This patch adds new at91 master clock implementation using common clk framework. The master clock layout describe the MCKR register layout. There are 2 master clock layouts: - at91rm9200 - at91sam9x5 Master clocks are given characteristics: - min/max

Re: [PATCH] swap: fix setting PAGE_SIZE blocksize during swapoff/swapon race

2013-10-17 Thread Weijie Yang
On Thu, Oct 17, 2013 at 11:48 PM, Weijie Yang weijie.yang...@gmail.com wrote: On Wed, Oct 16, 2013 at 1:19 AM, Hugh Dickins hu...@google.com wrote: On Tue, 15 Oct 2013, Krzysztof Kozlowski wrote: On Tue, 2013-10-15 at 02:59 -0700, Hugh Dickins wrote: On Mon, 14 Oct 2013, Krzysztof Kozlowski

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Don Zickus
On Thu, Oct 17, 2013 at 11:41:45AM +0200, Peter Zijlstra wrote: On Thu, Oct 17, 2013 at 01:07:12AM +0200, Peter Zijlstra wrote: On Wed, Oct 16, 2013 at 11:03:19PM +0200, Peter Zijlstra wrote: Anyway; if you want to have a go at this, feel free. OK, couldn't help myself; completely

Re: [PATCH v4 09/17] clk: at91: add PMC peripheral clocks

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 11:44, Boris BREZILLON : This patch adds new at91 peripheral clock implementation using common clk framework. Almost all peripherals provided by at91 SoCs need a clock to work properly. This clock is enabled/disabled using PCER/PCDR resgisters. Each peripheral is given an id (see

Re: [PATCH v4 10/17] clk: at91: add peripheral clk macros for peripheral clk dt bindings

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 11:53, Boris BREZILLON : This patch adds the peripheral divisors macros (for sam9x5 compatible IPs) which will be used by peripheral clk dt definitions. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com ---

Re: [PATCH v2 3/4] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-17 Thread Daniel Lezcano
On 10/17/2013 04:32 PM, Dave Martin wrote: On Thu, Oct 17, 2013 at 12:45:29PM +0200, Daniel Lezcano wrote: On 10/14/2013 05:08 PM, Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com Add EDCS(Exynos Dual Cluster Support) for Samsung Exynos5410 SoC. This enables all 8 cores, 4 x

Re: [PATCH] x86: unify copy_from_user() checking

2013-10-17 Thread Arjan van de Ven
... and the non-constant case be taken care of at run time. That's precisely what the patch does. fair enough. I would like to see a comment above the code to describe this reasoning and the objective and what the desired behavior is... so that we don't have to reverse engineer this again 2

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Don Zickus
On Thu, Oct 17, 2013 at 12:00:34PM -0400, Don Zickus wrote: On Thu, Oct 17, 2013 at 11:41:45AM +0200, Peter Zijlstra wrote: On Thu, Oct 17, 2013 at 01:07:12AM +0200, Peter Zijlstra wrote: On Wed, Oct 16, 2013 at 11:03:19PM +0200, Peter Zijlstra wrote: Anyway; if you want to have a go at

[PATCH] spi/s3c64xx: Add missing pm_runtime_set_active() call in probe()

2013-10-17 Thread Krzysztof Kozlowski
Mark device as PM runtime active during initialization to reflect actual device power/clocks state. This reduces the enable count for SPI bus controller gate clock so it can be disabled when the bus controller is not used. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by:

Re: [PATCH v4 06/17] clk: at91: add PMC pll clocks

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 10:48, Boris BREZILLON : This patch adds new at91 pll clock implementation using common clk framework. The pll clock layout describe the PLLX register layout. There are four pll clock layouts: - at91rm9200 - at91sam9g20 - at91sam9g45 - sama5d3 PLL clocks are given

Re: [PATCH] kmod: Run usermodehelpers only on cpus allowed for kthreadd

2013-10-17 Thread Frederic Weisbecker
On Thu, Oct 17, 2013 at 03:24:36PM +, Christoph Lameter wrote: On Thu, 17 Oct 2013, Frederic Weisbecker wrote: - /* We can run anywhere, unlike our parent keventd(). */ - set_cpus_allowed_ptr(current, cpu_all_mask); + /* We can run anywhere kthreadd can run */ +

Re: [PATCH v4 11/17] clk: at91: add PMC programmable clocks

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 11:57, Boris BREZILLON : This patch adds new at91 programmable clocks implementation using common clk framework. A programmable clock is a clock which can be exported on a given pin to clock external devices. Each programmable clock is given an id (from 0 to 8). The number of

Re: [PATCH v2] perf: disable PERF_RECORD_MMAP2 support

2013-10-17 Thread Stephane Eranian
On Thu, Oct 17, 2013 at 5:59 PM, David Ahern dsah...@gmail.com wrote: On 10/17/13 9:57 AM, Stephane Eranian wrote: On Thu, Oct 17, 2013 at 5:54 PM, David Ahern dsah...@gmail.com wrote: On 10/17/13 8:28 AM, Stephane Eranian wrote: For now, we disable the extended MMAP record support

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Tony Luck
On Thu, Oct 17, 2013 at 1:55 AM, Joe Perches j...@perches.com wrote: It's cost free to add the BUILD_BUG_ON and perhaps you underestimate the runtime bug checking effort, This looks OK to me. Gong: This doesn't stop people from using variables as arguments ... they just won't get a check for

Re: [PATCH] spi/s3c64xx: Add missing pm_runtime_set_active() call in probe()

2013-10-17 Thread Sylwester Nawrocki
On 17/10/13 18:06, Krzysztof Kozlowski wrote: Mark device as PM runtime active during initialization to reflect actual device power/clocks state. This reduces the enable count for SPI bus controller gate clock so it can be disabled when the bus controller is not used. Signed-off-by:

Re: [RFC][PATCH 1/8] mm: pcp: rename percpu pageset functions

2013-10-17 Thread Dave Hansen
On 10/16/2013 06:32 PM, David Rientjes wrote: +static void pageset_setup_from_batch_size(struct per_cpu_pageset *p, + unsigned long batch) { - pageset_update(p-pcp, 6 * batch, max(1UL, 1 * batch)); + unsigned long high; + high = 6 * batch; + if

Re: [PATCH] x86: unify copy_from_user() checking

2013-10-17 Thread Jan Beulich
On 17.10.13 at 18:04, Arjan van de Ven ar...@linux.intel.com wrote: ... and the non-constant case be taken care of at run time. That's precisely what the patch does. fair enough. I would like to see a comment above the code to describe this reasoning and the objective and what the

Re: [PATCH v4 12/17] clk: at91: add PMC utmi clock

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 12:22, Boris BREZILLON : This adds new at91 utmi clock implementation using common clk framework. This clock is a pll with a fixed factor (x40). It is used as a source for usb clock. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre

Re: [PATCH] x86: unify copy_from_user() checking

2013-10-17 Thread Arjan van de Ven
On 10/17/2013 9:08 AM, Jan Beulich wrote: On 17.10.13 at 18:04, Arjan van de Ven ar...@linux.intel.com wrote: ... and the non-constant case be taken care of at run time. That's precisely what the patch does. fair enough. I would like to see a comment above the code to describe this

Re: [PATCH v4 13/17] clk: at91: add PMC usb clock

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 13:15, Boris BREZILLON : This patch adds new at91 usb clock implementation using common clk framework. This clock is used to clock usb ports (ohci, ehci and udc). Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Didn't you missed some 9n12 initialization? See below...

Re: sparse: possible false report of context imbalance

2013-10-17 Thread Josh Triplett
On Wed, Oct 16, 2013 at 10:23:56PM -0500, Larry Finger wrote: Sparse reports the following: CHECK drivers/staging/rtl8188eu/core/rtw_mlme.c drivers/staging/rtl8188eu/core/rtw_mlme.c:1003:9: warning: context imbalance in 'rtw_free_assoc_resources' - different lock contexts for basic

Re: [PATCH v4 14/17] clk: at91: add PMC smd clock

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 13:27, Boris BREZILLON : This patch adds at91 smd (Soft Modem) clock implementation using common clk framework. Not used by any driver right now. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com ---

Re: [PATCH 2/2] perf-report: add --max-stack option to limit callchain stack scan

2013-10-17 Thread Waiman Long
On 10/16/2013 11:01 PM, David Ahern wrote: On 10/16/13 1:59 PM, Waiman Long wrote: This patch adds a new --max-stack option to perf-report to limit the depth of callchain stack data to look at to reduce the time it takes for perf-report to finish its processing. It trades the presence of

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Peter Zijlstra
On Thu, Oct 17, 2013 at 12:04:39PM -0400, Don Zickus wrote: I take that back the copy_from_user_nmi_iter is not super fast, I just had a bug in how I accumulate total time. So some how this approach is slower that yesterdays. Humm interesting.. Slightly weird, because that instruction

Re: [PATCH v4 15/17] clk: at91: add PMC clk device tree binding doc.

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 13:38, Boris BREZILLON : This patch adds new at91 clks dt bindings documentation. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com It seems good Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- .../devicetree/bindings/clock/at91-clock.txt | 328

Re: [PATCH v2 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY's

2013-10-17 Thread Felipe Balbi
Hi, On Wed, Oct 16, 2013 at 01:24:11AM +0530, Kishon Vijay Abraham I wrote: There can be systems which does not have a external usb_phy, so get usb_phy only if dt data indicates the presence of PHY in the case of dt boot or if platform_data indicates the presence of PHY. Also remove checking

[Add SMP support for Allwinner A20: PATCH V5 0/3]

2013-10-17 Thread Fan Rong
V1 V2: The patchs add smp support for Allwinner A20. It add cpuregister node in dts for smp configure. The patchs also add a options for phy count timer to replace vir count timer as ARM arch timer clocksource. V3 Changes since V2: It delete platform.h and delete some code in platsmp.c that's

[Add SMP support for Allwinner A20: PATCH V5 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-10-17 Thread Fan Rong
This patch adds SMP support for the Allwinner A20 SoC. This SoC uses an IP to, among other things, handle the CPU-related configuration, like the power clamp, the boot address of the secondary CPUS, etc. We thus need to map this IP during the prepare_cpu SMP operation, before bringing up the

Re: [PATCH 0/2] (Was: perf_event_mmap(vma) !vma-vm_mm)

2013-10-17 Thread Peter Zijlstra
On Thu, Oct 17, 2013 at 05:20:27PM +0200, Oleg Nesterov wrote: On 10/16, Peter Zijlstra wrote: On Wed, Oct 16, 2013 at 10:58:00PM +0200, Oleg Nesterov wrote: OK. I'll wait for your review on this series, then send the next patch. Those two patches look good; thanks. Thanks, can I

[Add SMP support for Allwinner A20: PATCH V5 2/3] Add cpuconfig nodes in dts for smp configure.

2013-10-17 Thread Fan Rong
Cpu Configure regiser can be used for reset and boot smp cpus in allwiner's A20. Signed-off-by: Fan Rong cin...@gmail.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index

[Add SMP support for Allwinner A20: PATCH V5 3/3] Add arch count timer node in dts for Allwinner A20(sunxi 7i).

2013-10-17 Thread Fan Rong
Linux kernel usually use virtual arch timer for smp cpu tick. But the arch timer register VCTOFF normally is very different between the two cpus in A20 afer hardware reset, so SMP Cpus will see different time tick. It will cause kernel crash currently. You have two choices to fix it: 1 Simpley

Re: [RFC][PATCH 4/7] sched: power: Remove power capacity hints for kworker threads

2013-10-17 Thread Morten Rasmussen
On Mon, Oct 14, 2013 at 04:14:25PM +0100, Arjan van de Ven wrote: On 10/14/2013 6:33 AM, Peter Zijlstra wrote: On Fri, Oct 11, 2013 at 06:19:14PM +0100, Morten Rasmussen wrote: Removing power hints for kworker threads enables easier use of workqueues in the power driver late callback. That

Re: [PATCH v3] sound: pci: emu10k1: code refactoring and casting removal

2013-10-17 Thread Takashi Iwai
At Thu, 17 Oct 2013 12:35:31 -0300, Geyslan G. Bem wrote: Partially restructures _snd_emu10k1_audigy_init_efx() and _snd_emu10k1_init_efx() functions. Removes useless casting (void *) from value returned by kcalloc; see Documentation/CodingStyle, Chap 14. Signed-off-by: Geyslan G. Bem

[patch -resend] paride: underflow bug in pg_write()

2013-10-17 Thread Dan Carpenter
The test here can underflow so we pass bogus lengths to the hardware. It's a static checker fix and I don't know the impact. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- I sent this originally Jul 31, 2013 but there was no response. diff --git a/drivers/block/paride/pg.c

[GIT PULL] sound fixes for 3.12-rc6

2013-10-17 Thread Takashi Iwai
Linus, please pull sound fixes for v3.12-rc6 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.12 The topmost commit is d14df339c72b6efbba4eddd1d1f3f4b173273f74 sound fixes for 3.12-rc6 All

Re: [PATCH 0/2] (Was: perf_event_mmap(vma) !vma-vm_mm)

2013-10-17 Thread Peter Zijlstra
On Thu, Oct 17, 2013 at 05:27:17PM +0200, Oleg Nesterov wrote: On 10/17, Oleg Nesterov wrote: - we do not really need len, we can simply do size = strlen(name) + 1; while (size % sizeof(u64)) name[size++] = '\0'; although I

Re: [PATCH 4/4] sound/soc/atmel: don't use devm_pinctrl_get_select_default() in probe

2013-10-17 Thread Wolfram Sang
Applied, thanks. Please use subject lines appropriate to the subsystem. That's quite a nut to crack with a generated patch series running over the whole tree. I wonder if it is really worth the effort? I think it's probably worth the effort to add something to put rules for these

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread Maxime COQUELIN
On 10/17/2013 04:16 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 09:27 Thu 17 Oct , Maxime COQUELIN wrote: Hi Jean-Christophe, On 10/16/2013 05:14 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: ... + +static inline void st_i2c_set_bits(void __iomem *reg, u32 mask) +{ +

[tip:timers/core] clocksource: arch_timer: Do not register arch_sys_counter twice

2013-10-17 Thread tip-bot for Thierry Reding
Commit-ID: 4a7d3e8a9939cf8073c247286d81cbe0ae48eba2 Gitweb: http://git.kernel.org/tip/4a7d3e8a9939cf8073c247286d81cbe0ae48eba2 Author: Thierry Reding thierry.red...@gmail.com AuthorDate: Tue, 15 Oct 2013 15:31:51 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 16 Oct 2013

[tip:sched/core] sched/rt: Add missing rmb()

2013-10-17 Thread tip-bot for Peter Zijlstra
Commit-ID: 7c3f2ab7b844f1a859afbc3d41925e8a0faba5fa Gitweb: http://git.kernel.org/tip/7c3f2ab7b844f1a859afbc3d41925e8a0faba5fa Author: Peter Zijlstra pet...@infradead.org AuthorDate: Tue, 15 Oct 2013 12:35:07 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 16 Oct 2013

[tip:sched/core] sched/wait: Add ___wait_cond_timeout() to wait_event*_timeout() too

2013-10-17 Thread tip-bot for Oleg Nesterov
Commit-ID: 8922915b38cd8b72f8e5af614b95be71d1d299d4 Gitweb: http://git.kernel.org/tip/8922915b38cd8b72f8e5af614b95be71d1d299d4 Author: Oleg Nesterov o...@redhat.com AuthorDate: Mon, 7 Oct 2013 20:31:06 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 16 Oct 2013 14:22:17

Re: [PATCH v2 3/4] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-17 Thread Dave Martin
On Thu, Oct 17, 2013 at 06:04:13PM +0200, Daniel Lezcano wrote: On 10/17/2013 04:32 PM, Dave Martin wrote: On Thu, Oct 17, 2013 at 12:45:29PM +0200, Daniel Lezcano wrote: On 10/14/2013 05:08 PM, Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com Add EDCS(Exynos Dual

[tip:sched/core] sched: Fix race in migrate_swap_stop()

2013-10-17 Thread tip-bot for Peter Zijlstra
Commit-ID: 746023159c40c523b08a3bc3d213dac212385895 Gitweb: http://git.kernel.org/tip/746023159c40c523b08a3bc3d213dac212385895 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Thu, 10 Oct 2013 20:17:22 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 16 Oct 2013

[tip:perf/core] perf/x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread tip-bot for Peter Zijlstra
Commit-ID: 9536c8d2da8059b00775bd9c5a84816b608cf6f4 Gitweb: http://git.kernel.org/tip/9536c8d2da8059b00775bd9c5a84816b608cf6f4 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Tue, 15 Oct 2013 12:14:04 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 16 Oct 2013

Re: [ 00/69] 3.10.17-stable review

2013-10-17 Thread Shuah Khan
On 10/16/2013 11:44 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.17 release. There are 69 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. You might notice a

[tip:sched/core] sched: Remove get_online_cpus() usage

2013-10-17 Thread tip-bot for Peter Zijlstra
Commit-ID: 6acce3ef84520537f8a09a12c9ddbe814a584dd2 Gitweb: http://git.kernel.org/tip/6acce3ef84520537f8a09a12c9ddbe814a584dd2 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Fri, 11 Oct 2013 14:38:20 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 16 Oct 2013

[tip:sched/core] sched/wait: Introduce prepare_to_wait_event()

2013-10-17 Thread tip-bot for Oleg Nesterov
Commit-ID: c2d816443ef305aba8eaf0bf368f4d3d87494f06 Gitweb: http://git.kernel.org/tip/c2d816443ef305aba8eaf0bf368f4d3d87494f06 Author: Oleg Nesterov o...@redhat.com AuthorDate: Mon, 7 Oct 2013 18:18:24 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 16 Oct 2013 14:22:18

Re: [ 00/50] 3.11.6-stable review

2013-10-17 Thread Shuah Khan
On 10/16/2013 11:44 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.11.6 release. There are 50 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: linux-next: manual merge of the kvm-arm tree

2013-10-17 Thread Christoffer Dall
On 17 October 2013 07:55, Gleb Natapov g...@redhat.com wrote: On Wed, Oct 16, 2013 at 12:02:08PM -0700, Christoffer Dall wrote: On 16 October 2013 11:58, Marc Zyngier marc.zyng...@arm.com wrote: On 16/10/13 19:51, Thierry Reding wrote: Today's linux-next merge of the kvm-arm tree got

Re: [RFC][PATCH 4/7] sched: power: Remove power capacity hints for kworker threads

2013-10-17 Thread Peter Zijlstra
On Thu, Oct 17, 2013 at 05:40:38PM +0100, Morten Rasmussen wrote: On Mon, Oct 14, 2013 at 04:14:25PM +0100, Arjan van de Ven wrote: On 10/14/2013 6:33 AM, Peter Zijlstra wrote: On Fri, Oct 11, 2013 at 06:19:14PM +0100, Morten Rasmussen wrote: Removing power hints for kworker threads

Re: [PATCH v2 2/3] arm: Add [U]EFI runtime services support

2013-10-17 Thread Mark Salter
On Thu, 2013-10-17 at 16:31 +0200, Leif Lindholm wrote: On Thu, Oct 17, 2013 at 03:07:39PM +0100, Matt Fleming wrote: +/* + * If you need to (temporarily) support buggy firmware. + */ +#define KEEP_BOOT_SERVICES_REGIONS Have you seen firmware that requires this? I'm just curious

Re: [PATCH] gpiolib: append SFI helpers for GPIO API

2013-10-17 Thread David Cohen
On 10/17/2013 05:41 AM, Andy Shevchenko wrote: On Wed, 2013-10-16 at 20:03 -0700, David Cohen wrote: From: Andy Shevchenko andriy.shevche...@linux.intel.com To support some (legacy) firmwares and platforms let's make life easier for their customers. +int sfi_get_gpio_by_name(const char

Re: [PATCH] alarmtimer: return EINVAL instead of ENOTSUPP if rtcdev doesn't exist

2013-10-17 Thread John Stultz
On 10/14/2013 02:33 PM, kosaki.motoh...@gmail.com wrote: From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Fedora Ruby maintainer reported latest Ruby doesn't work on Fedora Rawhide on ARM. (http://bugs.ruby-lang.org/issues/9008) Because of, commit 1c6b39ad3f (alarmtimers: Return

Re: [ 00/50] 3.11.6-stable review

2013-10-17 Thread Greg Kroah-Hartman
On Thu, Oct 17, 2013 at 10:52:14AM -0600, Shuah Khan wrote: On 10/16/2013 11:44 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.11.6 release. There are 50 patches in this series, all will be posted as a response to this one. If anyone has any issues with

Re: [PATCH] n_gsm: race between ld close and gsmtty open

2013-10-17 Thread Greg KH
On Thu, Oct 17, 2013 at 11:29:10AM +0800, channing wrote: ttyA has ld associated to n_gsm, when ttyA is closing, it triggers to release gsmttyB's ld data dlci[B], then race would happen if gsmttyB is opening in parallel. Here are some of race cases we found recently in test: Are these

Re: [RFC][PATCH 4/7] sched: power: Remove power capacity hints for kworker threads

2013-10-17 Thread Arjan van de Ven
cpufreq has pre- and post-change notifiers so the current TC2 clock driver yeah those are EVIL ;-) waits (yields) in its clk_set_rate() implementation until the change has happened to ensure that the post-change notifier happens at the right time. Since clk_set_rate() is allowed to sleep

Re: [PATCH v2] drivers: input: mouse: Remove useless casting in cypress_ps2.c

2013-10-17 Thread Dmitry Torokhov
On Wed, Oct 16, 2013 at 07:31:15PM -0300, Geyslan G. Bem wrote: Get rid of unnecessary (void *) casting in 'cypress_init' function. Signed-off-by: Geyslan G. Bem geys...@gmail.com Applied, thank you. --- drivers/input/mouse/cypress_ps2.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 02/10][v6] powerpc/Power7: detect load/store instructions

2013-10-17 Thread Sukadev Bhattiprolu
| | How about I add this to the function header ? | | * Please use the table in Appendix F (opcode maps) to determine | * events selected by this function. Here is the updated patch with the comment. --- From 38d1f9ac67a7f50db593e5875a8de6a2ecbea8e0 Mon Sep 17 00:00:00 2001 From: Sukadev

[PATCH v3 2/3] gpiolib: port of_ functions to use gpiod

2013-10-17 Thread Alexandre Courbot
Refactor the of_ functions of gpiolib to use the now public gpiod interface, and export of_get_named_gpiod_flags() and of_get_gpiod_flags() functions. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- drivers/gpio/gpiolib-of.c | 28 +--- include/linux/of_gpio.h |

[PATCH v3 0/3] New descriptor-based GPIO interface

2013-10-17 Thread Alexandre Courbot
Hi Linus, This version should merge as-is in your tree (I hope!). A patch for documentation will follow soon. Changes since v2: - rebased on top of Linus' for-next branch - exported new gpiod_(un)lock_as_irq() functions in driver.h - squashed a fix for a compilation error Alexandre Courbot (3):

[PATCH v3 3/3] gpiolib: add gpiod_get() and gpiod_put() functions

2013-10-17 Thread Alexandre Courbot
Add gpiod_get(), gpiod_get_index() and gpiod_put() functions that provide safer management of GPIOs. These functions put the GPIO framework in line with the conventions of other frameworks in the kernel, and help ensure every GPIO is declared properly and valid while it is used. Signed-off-by:

[PATCH v3 1/3] gpiolib: export descriptor-based GPIO interface

2013-10-17 Thread Alexandre Courbot
This patch exports the gpiod_* family of API functions, a safer alternative to the legacy GPIO interface. Differences between the gpiod and legacy gpio APIs are: - gpio works with integers, whereas gpiod operates on opaque handlers which cannot be forged or used before proper acquisition -

Re: [PATCH] usb: usb_phy_gen: refine conditional declaration of usb_nop_xceiv_register

2013-10-17 Thread Josh Boyer
On Wed, Oct 16, 2013 at 07:18:41PM -0700, Guenter Roeck wrote: Commit 3fa4d734 (usb: phy: rename nop_usb_xceiv = usb_phy_gen_xceiv) changed the conditional around the declaration of usb_nop_xceiv_register from #if defined(CONFIG_NOP_USB_XCEIV) ||

Re: [PATCH] LSM: ModPin LSM for module loading restrictions

2013-10-17 Thread Casey Schaufler
On 10/17/2013 1:02 AM, James Morris wrote: This seems like a regression in terms of separating mechanism and policy. We have several access control systems available (SELinux, at least) which can implement this functionality with existing mechanisms using dynamic policy. They said the

Re: [RFC 0/9] of: refactor IRQ parsing and add interrupts-extended implementation

2013-10-17 Thread Tony Lindgren
* Grant Likely grant.lik...@linaro.org [131015 13:43]: Hi everyone. This series is mostly a set of cleanup to the interrupt parsing code. Some of it merely clarification, like the renames of of_irq_map_*, some to tighten up the API by using of_phandle_args, and some to prepare for the last

[PATCH v3] perf: disable PERF_RECORD_MMAP2 support

2013-10-17 Thread Stephane Eranian
For now, we disable the extended MMAP record support (MMAP2). We have identified cases where it would not report the correct mapping information, clone(VM_CLONE) but with separate pids. We will revisit the support once we find a solution for this case. The patch changes the kernel to return

Re: [RFC 9/9] of/irq: create interrupts-extended property

2013-10-17 Thread Tony Lindgren
* Grant Likely grant.lik...@linaro.org [131015 13:43]: The standard interrupts property in device tree can only handle interrupts coming from a single interrupt parent. If a device is wired to multiple interrupt controllers, then it needs to be attached to a node with an interrupt-map property

Re: [PATCH 5/7] jump_label: relax branch hinting restrictions

2013-10-17 Thread Steven Rostedt
On Thu, 17 Oct 2013 12:10:28 +0200 Radim Krčmář rkrc...@redhat.com wrote: We implemented the optimized branch selection in higher levels of api. That made static_keys very unintuitive, so this patch introduces another element to jump_table, carrying one bit that tells the underlying code

[GIT PATCH] char/misc fixes for 3.12-rc6

2013-10-17 Thread Greg KH
The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.12-rc6 for you to fetch changes up to

[GIT PATCH] Driver core fixes for 3.12-rc6

2013-10-17 Thread Greg KH
The following changes since commit 15c03dd4859ab16f9212238f29dd315654aa94f6: Linux 3.12-rc3 (2013-09-29 15:02:38 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-3.12-rc6 for you to fetch changes up to

[GIT PATCH] TTY/Serial fixes for 3.12-rc6

2013-10-17 Thread Greg KH
The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.12-rc6 for you to fetch changes up to

[GIT PATCH] USB fixes for 3.12-rc6

2013-10-17 Thread Greg KH
The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.12-rc6 for you to fetch changes up to

Re: sparse: possible false report of context imbalance

2013-10-17 Thread Larry Finger
On 10/17/2013 11:25 AM, Josh Triplett wrote: On Wed, Oct 16, 2013 at 10:23:56PM -0500, Larry Finger wrote: Sparse reports the following: CHECK drivers/staging/rtl8188eu/core/rtw_mlme.c drivers/staging/rtl8188eu/core/rtw_mlme.c:1003:9: warning: context imbalance in

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Lars-Peter Clausen
On 10/17/2013 11:01 AM, Xiubo Li wrote: [...] +static int fsl_sai_hw_params(struct snd_pcm_substream *substream, + struct snd_pcm_hw_params *params, + struct snd_soc_dai *cpu_dai) +{ + int ret; + + ret = fsl_sai_hw_params_tr(substream, params, cpu_dai, +

Re: [PATCH 4/4] sound/soc/atmel: don't use devm_pinctrl_get_select_default() in probe

2013-10-17 Thread Mark Brown
On Thu, Oct 17, 2013 at 06:46:14PM +0200, Wolfram Sang wrote: On the other hand, MAINTAINERS information gets overlooked and/or could get stale. Thinking about it again, it is probably less work (at least for me with i2c) to create a git-hook fixing the subject line than to always nag people.

[PATCH v8 0/19] enable swiotlb-xen on arm and arm64

2013-10-17 Thread Stefano Stabellini
Hi all, this patch series enables xen-swiotlb on arm and arm64. It has been heavily reworked compared to the previous versions in order to achieve better performances and to address review comments. We are not using dma_mark_clean to ensure coherency anymore. We call the platform implementation

[PATCH]: serial: 8250_pci: add support for Fintek 4, 8, and 12 port cards

2013-10-17 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman gre...@linuxfoundation.org This adds support for Fintek's 4, 8, and 12 port PCIE serial cards. Thanks to Fintek for the sample devices, and the spec needed in order to implement this. Cc: Amanda Ying amanda_y...@fintek.com.tw Cc: Felix Shih felix_s...@fintek.com.tw

[PATCH v8 04/19] xen/x86: allow __set_phys_to_machine for autotranslate guests

2013-10-17 Thread Stefano Stabellini
Allow __set_phys_to_machine to be called for autotranslate guests. It can be used to keep track of phys_to_machine changes, however we don't do anything with the information at the moment. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/x86/xen/p2m.c |6 +++--- 1

[PATCH v8 08/19] arm/xen: get_dma_ops: return xen_dma_ops if we are running as xen_initial_domain

2013-10-17 Thread Stefano Stabellini
We can't simply override arm_dma_ops with xen_dma_ops because devices are allowed to have their own dma_ops and they take precedence over arm_dma_ops. When running on Xen as initial domain, we always want xen_dma_ops to be the one in use. Signed-off-by: Stefano Stabellini

[PATCH v8 06/19] xen/arm,arm64: enable SWIOTLB_XEN

2013-10-17 Thread Stefano Stabellini
Xen on arm and arm64 needs SWIOTLB_XEN: when running on Xen we need to program the hardware with mfns rather than pfns for dma addresses. Remove SWIOTLB_XEN dependency on X86 and PCI and make XEN select SWIOTLB_XEN on arm and arm64. At the moment always rely on swiotlb-xen, but when Xen starts

Re: [PATCH 3/8] [media] core: Don't use i2c_client-driver

2013-10-17 Thread Mauro Carvalho Chehab
Em Sun, 29 Sep 2013 10:51:01 +0200 Lars-Peter Clausen l...@metafoo.de escreveu: The 'driver' field of the i2c_client struct is redundant and is going to be removed. The results of the expressions 'client-driver.driver-field' and 'client-dev.driver-field' are identical, so replace all

Re: [PATCH 2/8] [media] exynos4-is: Don't use i2c_client-driver

2013-10-17 Thread Mauro Carvalho Chehab
Em Sun, 29 Sep 2013 10:51:00 +0200 Lars-Peter Clausen l...@metafoo.de escreveu: The 'driver' field of the i2c_client struct is redundant and is going to be removed. The results of the expressions 'client-driver.driver-field' and 'client-dev.driver-field' are identical, so replace all

[PATCH v8 10/19] xen: introduce xen_alloc/free_coherent_pages

2013-10-17 Thread Stefano Stabellini
xen_swiotlb_alloc_coherent needs to allocate a coherent buffer for cpu and devices. On native x86 is sufficient to call __get_free_pages in order to get a coherent buffer, while on ARM (and potentially ARM64) we need to call the native dma_ops-alloc implementation. Introduce

[PATCH v8 03/19] arm/xen,arm64/xen: introduce p2m

2013-10-17 Thread Stefano Stabellini
Introduce physical to machine and machine to physical tracking mechanisms based on rbtrees for arm/xen and arm64/xen. We need it because any guests on ARM are an autotranslate guests, therefore a physical address is potentially different from a machine address. When programming a device to do

[PATCH v8 09/19] arm64/xen: get_dma_ops: return xen_dma_ops if we are running as xen_initial_domain

2013-10-17 Thread Stefano Stabellini
We can't simply override arm_dma_ops with xen_dma_ops because devices are allowed to have their own dma_ops and they take precedence over arm_dma_ops. When running on Xen as initial domain, we always want xen_dma_ops to be the one in use. Signed-off-by: Stefano Stabellini

[PATCH v8 01/19] arm: make SWIOTLB available

2013-10-17 Thread Stefano Stabellini
IOMMU_HELPER is needed because SWIOTLB calls iommu_is_span_boundary, provided by lib/iommu_helper.c. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: will.dea...@arm.com CC: li...@arm.linux.org.uk Changes in v8: -

[PATCH v8 05/19] xen: make xen_create_contiguous_region return the dma address

2013-10-17 Thread Stefano Stabellini
Modify xen_create_contiguous_region to return the dma address of the newly contiguous buffer. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Reviewed-by: David Vrabel david.vra...@citrix.com Changes in v4: - use

[PATCH v8 02/19] arm64: define DMA_ERROR_CODE

2013-10-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Catalin Marinas catalin.mari...@arm.com CC: will.dea...@arm.com Changes in v8: - cast to dma_addr_t before returning. --- arch/arm64/include/asm/dma-mapping.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-)

[PATCH v8 07/19] swiotlb-xen: introduce xen_swiotlb_set_dma_mask

2013-10-17 Thread Stefano Stabellini
Implement xen_swiotlb_set_dma_mask, use it for set_dma_mask on arm. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/xen/mm.c |1 + drivers/xen/swiotlb-xen.c | 12 include/xen/swiotlb-xen.h |2 ++ 3 files changed, 15 insertions(+), 0

Re: [PATCH] kmod: Run usermodehelpers only on cpus allowed for kthreadd

2013-10-17 Thread Andrew Morton
On Thu, 17 Oct 2013 18:07:28 +0200 Frederic Weisbecker fweis...@gmail.com wrote: Couldn't we instead make kthread children (those created with kthread_create()) to inherit kthread initial affinity? Currently kthread's children have cpu_all_mask. We could change that behaviour. This way

[PATCHv6] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-17 Thread Zoran Markovic
From: Benoit Goby ben...@android.com Rather than hard-lock the kernel, dump the suspend/resume thread stack and panic() to capture a message in pstore when a driver takes too long to suspend/resume. Default suspend/resume watchdog timeout is set to 12 seconds to be longer than the usbhid 10

[PATCH] readahead: fix sequential read cache miss detection

2013-10-17 Thread Damien Ramonda
The kernel's readahead algorithm sometimes interprets random read accesses as sequential and triggers unnecessary data prefecthing from storage device (impacting random read average latency). In order to identify sequential cache read misses, the readahead algorithm intends to check whether

Re: [PATCH v2] irqchip: exynos-combiner: remove hard-coded irq_base value

2013-10-17 Thread Tomasz Figa
Hi Kukjin, On Thursday 26 of September 2013 14:05:09 Kukjin Kim wrote: Chander Kashyap wrote: Replace irq_domain_add_simple with irq_domain_add_linear in order to use linear irq domain, and to remove hardcoded irq_base_value. Signed-off-by: Chander Kashyap chander.kash...@linaro.org

Re: [PATCH] HID: i2c-hid: Stop querying for init reports

2013-10-17 Thread Benjamin Tissoires
Hi Bibek, On Tue, Oct 15, 2013 at 4:28 AM, Bibek Basu bb...@nvidia.com wrote: According to specifications, HID over I2C devices are not bound to respond to query for INPUT REPORTS. Thus dropping the call during init as many devices does not respond causing error messages during boot. This

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:33 Thu 17 Oct , srinivas kandagatla wrote: On 17/10/13 08:27, Maxime COQUELIN wrote: ... + +static struct of_device_id st_i2c_match[] = { + { .compatible = st,comms-ssc-i2c, }, the rules is to put the first soc that use the ip in the compatible as st,sti7100-scc-i2c

Re: [PATCH v2 00/15] slab: overload struct slab over struct page to reduce memory usage

2013-10-17 Thread Christoph Lameter
On Thu, 17 Oct 2013, Pekka Enberg wrote: On 10/16/13 10:34 PM, Andrew Morton wrote: On Wed, 16 Oct 2013 17:43:57 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: There is two main topics in this patchset. One is to reduce memory usage and the other is to change a management method of

<    6   7   8   9   10   11   12   13   14   >