Re: [PATCH v2] mm: incorporate zero pages into transparent huge pages

2015-02-19 Thread Vlastimil Babka
On 02/19/2015 01:08 AM, Rik van Riel wrote: On 02/18/2015 06:31 PM, Andrew Morton wrote: On Wed, 11 Feb 2015 23:03:55 +0200 Ebru Akagunduz ebru.akagun...@gmail.com wrote: This patch improves THP collapse rates, by allowing zero pages. Currently THP can collapse 4kB pages into a THP when

Re: [PATCH v2 4/4] clk: dt: Introduce always-on clock domain documentation

2015-02-19 Thread Geert Uytterhoeven
Hi Lee, On Wed, Feb 18, 2015 at 10:54 PM, Lee Jones lee.jo...@linaro.org wrote: +Some hardware is contains bunches of clocks which must never be +turned off. If drivers a) fail to obtain a reference to any of +these or b) give up a previously obtained reference during suspend, +the

[RESEND PATCH] ipv4: ip_check_defrag should correctly check return value of skb_copy_bits

2015-02-19 Thread Alexander Drozdov
skb_copy_bits() returns zero on success and a negative value on error, so it is needed to invert the condition in ip_check_defrag(). Fixes: 1bf3751ec90c (ipv4: ip_check_defrag must not modify skb before unsharing) Signed-off-by: Alexander Drozdov al.droz...@gmail.com Acked-by: Eric Dumazet

Re: [PATCH v5 59/61] dmaengine: Add a warning for drivers not using the generic slave caps retrieval

2015-02-19 Thread Viresh Kumar
On 19 February 2015 at 13:39, Jean Delvare jdelv...@suse.de wrote: My understanding is that the warning message is here on purpose to instruct DMA driver authors to fix their code. So if anyone need to fix anything, that would be you and Andy. That being said, I suspect Andy To some extent

[PATCH] x86/intel/quark: fix ptr_ret.cocci warnings

2015-02-19 Thread kbuild test robot
arch/x86/platform/intel-quark/imr.c:280:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci CC: Bryan O'Donoghue pure.lo...@nexus-software.ie Signed-off-by: Fengguang Wu fengguang...@intel.com

[PATCH] x86/intel/quark: fix simple_return.cocci warnings

2015-02-19 Thread kbuild test robot
arch/x86/platform/intel-quark/imr.c:129:1-4: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Bryan O'Donoghue pure.lo...@nexus-software.ie

[PATCH 0/2] regmap: fix range checks in _regmap_raw_read/write()

2015-02-19 Thread Srinivas Kandagatla
These two patches attempts to fix range checks in _regmap_raw_read() and _regmap_raw_write() functions. Without these patches I hit kernel crash when I attempt to dump the mmio regmap range using regmap_bulk_read(). Srinivas Kandagatla (2): regmap: Add range check in _regmap_raw_read()

[PATCH 1/2] regmap: Add range check in _regmap_raw_read()

2015-02-19 Thread Srinivas Kandagatla
regmap_bulk_read() ends up using the path that invokes _regmap_raw_read(), however _regmap_raw_read() never checks if the registers that are accessed are actually readable or within the accessible range. This results in kernel crashes when trying to access registers beyond max_registers. Without

[PATCH 2/2] regmap: Add range check in _regmap_raw_write()

2015-02-19 Thread Srinivas Kandagatla
regmap_bulk_write() ends up using the path that invokes _regmap_raw_write(), however _regmap_raw_write() never checks if the registers that are accessed are actually within the accessible range. This results in kernel crashes when trying to access registers beyond max_registers. This patch just

Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-19 Thread Boaz Harrosh
On 02/19/2015 02:47 AM, Christoph Hellwig wrote: On Wed, Feb 18, 2015 at 10:15:32AM -0800, Dan Williams wrote: In fact it was originally type-6 until ACPI 5 claimed that number for official use, so these platforms, with early proof-of-concept nvdimm support, have already gone through one

Re: [PATCH 06/13] clk: mediatek: Add basic clocks for Mediatek MT8173.

2015-02-19 Thread Sascha Hauer
On Fri, Feb 13, 2015 at 06:56:53PM +0900, Tomasz Figa wrote: Please find my comments inline. On Mon, Feb 9, 2015 at 7:47 PM, Sascha Hauer s.ha...@pengutronix.de wrote: From: James Liao jamesjj.l...@mediatek.com This patch adds basic clocks for MT8173, including TOPCKGEN, PLLs, INFRA

[PATCH] backlight: pwm: handle EPROBE_DEFER while requesting the PWM

2015-02-19 Thread Nicolas Ferre
When trying to request the PWM device with devm_pwm_get(), the EPROBE_DEFER flag is not handled properly. It can lead to the PWM not being found. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com ---

[GIT PULL] x86/FPU updates

2015-02-19 Thread Borislav Petkov
Hi guys, please pull, thanks. --- The following changes since commit bfa76d49576599a4b9f9b7a71f23d73d6dcff735: Linux 3.19 (2015-02-08 18:54:22 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/tip_x86_fpu for you to fetch changes

[GIT PULL] EDAC fixes for whatever you're going to call V in V-rc1

2015-02-19 Thread Borislav Petkov
Hi Linus, please pull, thanks. --- The following changes since commit bfa76d49576599a4b9f9b7a71f23d73d6dcff735: Linux 3.19 (2015-02-08 18:54:22 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/edac_fixes_for_3.20 for you to

[perf/core PATCH v3 0/2] perf-buildid-cache: Enhance --update and add --purge

2015-02-19 Thread Masami Hiramatsu
Hi, Here is the 3rd version of of perf buildid-cache update. This has a small updates for each patch. According to Arnaldo's comment, I updated the document about --update option in the first patch, and renamed --remove-all to --purge in the second patch (it also updated document). Thank you,

Re: [PATCHv2] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-19 Thread Felix Fietkau
On 2015-02-10 11:34, Yuwei Zheng wrote: The ath9k_hif_usb_rx_cb function excute on the interrupt context, and ath9k_rx_tasklet excute on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have more chance to excute than ath9k_rx_tasklet. So in the worst condition, the rx.rxbuf

[perf/core PATCH v3 2/2] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-19 Thread Masami Hiramatsu
Add --purge FILE to remove all caches of FILE. Since the current --remove FILE removes a cache which has same build-id of given FILE. Since the command takes a FILE path, it can confuse user who tries to remove cache about FILE path. - # ./perf buildid-cache -v --add ./perf Adding

Re: [PATCH v5 59/61] dmaengine: Add a warning for drivers not using the generic slave caps retrieval

2015-02-19 Thread Jean Delvare
Hi Viresh, On Thu, 19 Feb 2015 15:57:27 +0800, Viresh Kumar wrote: On Mon, Nov 17, 2014 at 9:42 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: For the slave caps retrieval to be really useful, most drivers need to implement it. Hence, we need to be slightly more aggressive,

[perf/core PATCH v3 1/2] perf buildid-cache: Add new buildid cache if update target is not cached

2015-02-19 Thread Masami Hiramatsu
Add new buildid cache if the update target file is not cached. This can happen when an old binary is replaced by new one after caching the old one. In this case, user sees his operation just failed. But it does not look straight, since user just pass the binary path, not build-id. #

Re: [PATCH] perf: Only include tsc file for x86

2015-02-19 Thread Jiri Olsa
On Thu, Feb 19, 2015 at 01:22:33PM -0500, David Ahern wrote: perf_time_to_tsc and tsc_to_perf_time are only used for x86. Make inclusion of tsc.c dependent on x86 as well. hum, should we move it to arch/x86/util/tsc.c and remove util/tsc.c? looks like it's used only by test tsc code, which is

[RFC 1/1 linux-next] DRIVERS: replace current-state by set_current_state()

2015-02-19 Thread Fabian Frederick
replace remaining direct access to current-state by slower helper function in drivers branch. Some of them could be optimized later using __set_current_state(). Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/block/swim.c | 6 +++---

Re: [PATCH net] net: eth: altera: Change access ports to mdio for all xMII applications

2015-02-19 Thread David Miller
From: Vince Bridgers vbrid...@opensource.altera.com Date: Thu, 12 Feb 2015 10:47:33 -0600 Change use of Altera TSE's MDIO access from phy 0 registers to phy 1 registers. This allows support for GMII, MII, RGMII, and SGMII designs where the external PHY is always accesible through Altera TSE's

Re: [PATCH net] net: eth: altera: Change reset_mac failure message masks from err to dbg

2015-02-19 Thread David Miller
From: Vince Bridgers vbrid...@opensource.altera.com Date: Thu, 12 Feb 2015 10:47:45 -0600 This debug output is not really an error message since mac reset can fail if the phy clocks are gated, specifically when the phy has been placed in a powered down or isolation mode. The netdev output

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-19 Thread David Miller
From: Robert Jarzmik robert.jarz...@free.fr Date: Fri, 13 Feb 2015 17:06:49 +0100 Linus Walleij linus.wall...@linaro.org writes: On Fri, Feb 13, 2015 at 12:59 AM, Robert Jarzmik robert.jarz...@free.fr wrote: But isn't the real problem that in the device tree case,

Re: smp_call_function_single lockups

2015-02-19 Thread Linus Torvalds
On Thu, Feb 19, 2015 at 9:39 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Feb 19, 2015 at 8:59 AM, Linus Torvalds torva...@linux-foundation.org wrote: Are there known errata for the x2apic? .. and in particular, do we still have to worry about the traditional local apic

Re: [PATCH 3.13.y-ckt 019/103] drm/i915: Swap primary planes on gen2 for FBC

2015-02-19 Thread Ville Syrjälä
On Thu, Feb 19, 2015 at 10:55:42AM -0800, Kamal Mostafa wrote: On Thu, 2015-02-19 at 11:31 +0200, Ville Syrjälä wrote: On Wed, Feb 18, 2015 at 04:31:46PM -0800, Kamal Mostafa wrote: 3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know.

Re: [PATCH] mmc: dw_mmc: rockchip: add support MMC_CAP_RUNTIME_RESUME capability

2015-02-19 Thread Doug Anderson
Addy, On Thu, Feb 12, 2015 at 11:22 PM, Addy Ke addy...@rock-chips.com wrote: To support HS200 and UHS mode, mmc core will call init_card() to execute tuning: - sdio: init_card can be executed at runtime resume. - sd and mmc: init_card can be executed at resume or runtime resume, which

[tip:x86/urgent] x86, mm/ASLR: Fix stack randomization on 64-bit systems

2015-02-19 Thread tip-bot for Hector Marco-Gisbert
Commit-ID: 4e7c22d447bb6d7e37bfe39ff658486ae78e8d77 Gitweb: http://git.kernel.org/tip/4e7c22d447bb6d7e37bfe39ff658486ae78e8d77 Author: Hector Marco-Gisbert hecma...@upv.es AuthorDate: Sat, 14 Feb 2015 09:33:50 -0800 Committer: Borislav Petkov b...@suse.de CommitDate: Thu, 19 Feb 2015

[tip:x86/urgent] x86/microcode/intel: Handle truncated microcode images more robustly

2015-02-19 Thread tip-bot for Quentin Casasnovas
Commit-ID: 35a9ff4eec7a1725ac4364972fc6c156e4feedd0 Gitweb: http://git.kernel.org/tip/35a9ff4eec7a1725ac4364972fc6c156e4feedd0 Author: Quentin Casasnovas quentin.casasno...@oracle.com AuthorDate: Tue, 3 Feb 2015 13:00:24 +0100 Committer: Borislav Petkov b...@suse.de CommitDate: Thu, 19

[tip:x86/urgent] x86/microcode/intel: Guard against stack overflow in the loader

2015-02-19 Thread tip-bot for Quentin Casasnovas
Commit-ID: f84598bd7c851f8b0bf8cd0d7c3be0d73c432ff4 Gitweb: http://git.kernel.org/tip/f84598bd7c851f8b0bf8cd0d7c3be0d73c432ff4 Author: Quentin Casasnovas quentin.casasno...@oracle.com AuthorDate: Tue, 3 Feb 2015 13:00:22 +0100 Committer: Borislav Petkov b...@suse.de CommitDate: Thu, 19

[PATCH 6/6] CRIS: use generic headers via Kbuild

2015-02-19 Thread Rabin Vincent
Delete headers which do nothing but include the asm-generic versions and use Kbuild magic instead. Signed-off-by: Rabin Vincent ra...@rab.in --- arch/cris/include/asm/Kbuild | 12 arch/cris/include/asm/device.h| 7 --- arch/cris/include/asm/div64.h

[PATCH 2/6] CRIS: remove SMP code

2015-02-19 Thread Rabin Vincent
The CRIS SMP code cannot be built since there is no (and appears to never have been) a CONFIG_SMP Kconfig option in arch/cris/. Remove it. Signed-off-by: Rabin Vincent ra...@rab.in --- arch/cris/Kconfig | 1 - arch/cris/arch-v32/kernel/Makefile | 1 -

[PATCH 4/6] CRIS: use generic atomic.h

2015-02-19 Thread Rabin Vincent
CRIS can use asm-generic's atomic.h. Signed-off-by: Rabin Vincent ra...@rab.in --- arch/cris/include/arch-v10/arch/atomic.h | 7 -- arch/cris/include/arch-v32/arch/atomic.h | 8 -- arch/cris/include/asm/Kbuild | 2 +- arch/cris/include/asm/atomic.h | 149

[PATCH 1/4 linux-next] FS/AFFS: use AFFS_MOUNT prefix for mount options

2015-02-19 Thread Fabian Frederick
Currently, affs still uses direct access on mount_options. This patch prepares to affs_clear/set/test_opt() like other filesystems. Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/affs/affs.h | 24 fs/affs/amigaffs.c

[PATCH 4/4 linux-next] FS/AFFS: use affs_test_opt()

2015-02-19 Thread Fabian Frederick
replace mount option test by affs_test_opt() Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/affs/amigaffs.c | 3 ++- fs/affs/file.c | 2 +- fs/affs/inode.c| 26 +- fs/affs/namei.c| 6 +++--- fs/affs/super.c

[PATCH 3/4 linux-next] fs/affs/super.c: use affs_set_opt()

2015-02-19 Thread Fabian Frederick
replace direct mount option assignation by affs_set_opt() macro Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/affs/super.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/fs/affs/super.c

[PATCH 2/4 linux-next] fs/affs/affs.h: add mount option manipulation macros

2015-02-19 Thread Fabian Frederick
add clear/set/test affs mount option macros. Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/affs/affs.h | 4 1 file changed, 4 insertions(+) diff --git a/fs/affs/affs.h b/fs/affs/affs.h index 35a855a..cffe837 100644 --- a/fs/affs/affs.h

Re: [PATCH v2 1/2] dma: mmp_dma: add support for legacy transition

2015-02-19 Thread Robert Jarzmik
Daniel Mack dan...@zonque.org writes: Hi Robert, Thanks for pushing this topic :) One minor nit: +int mmp_pdma_toggle_reserved_channel(int legacy_channel) +{ +if (legacy_unavailable (1 legacy_channel)) +return -EBUSY; +legacy_reserved ^= 1 legacy_channel; +

Re: [PATCH net-next v2 0/3] Adjust the settings about USB_RX_EARLY_AGG

2015-02-19 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Thu, 12 Feb 2015 14:33:45 +0800 v2: For patch #1, replace u32 ocp_data; ocp_data = tp-coalesce / 8; with u32 ocp_data = tp-coalesce / 8; And replace struct net_device *dev = tp-netdev; u32 ocp_data;

Re: [PATCH 6/6] x86,fpu: remove redundant increments of fpu_counter

2015-02-19 Thread Oleg Nesterov
Borislav, Ingo, On 02/19, Ingo Molnar wrote: Is there consensus on the first 5 patches? Yes, but perhaps you can also look at another series [PATCH 1/3] x86, fpu: __kernel_fpu_begin() should clear fpu_owner_task even if use_eager_fpu()

[PATCH] ASoC: max98088: Add master clock handling

2015-02-19 Thread Andreas Färber
If master clock is provided through device tree, then update the master clock frequency during set_sysclk. Cc: Tushar Behera tushar.beh...@linaro.org Signed-off-by: Andreas Färber afaer...@suse.de --- sound/soc/codecs/max98088.c | 24 1 file changed, 24 insertions(+)

Re: [PATCH V3 1/2] spmi: remove wakeup command before slave probe

2015-02-19 Thread Gilad Avidov
On Wed, 18 Feb 2015 11:17:13 -0800 Stephen Boyd sb...@codeaurora.org wrote: On 02/18/15 07:39, Josh Cartwright wrote: On Mon, Feb 09, 2015 at 03:51:11PM -0700, Gilad Avidov wrote: According to spmi spec a slave powers up into startup state and then transitions into active state. Thus, the

Re: time / gtod seconds value out of sync?

2015-02-19 Thread Nishanth Aravamudan
Hi John! On 19.02.2015 [11:03:26 -0800], John Stultz wrote: Hey Nish! Long time! yep :) On Thu, Feb 19, 2015 at 10:35 AM, Nishanth Aravamudan n...@linux.vnet.ibm.com wrote: Hi John, We're seeing an interesting issue with the openposix testcase difftime/1-1, which basically calls

[PATCH 5/6] CRIS: use generic cmpxchg.h

2015-02-19 Thread Rabin Vincent
CRIS can use asm-generic's cmpxchg.h Signed-off-by: Rabin Vincent ra...@rab.in --- arch/cris/include/asm/Kbuild| 1 + arch/cris/include/asm/cmpxchg.h | 51 - 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644

[PATCH 3/6] CRIS: use generic atomic bitops

2015-02-19 Thread Rabin Vincent
The generic atomic bitops are the same as the CRIS-specific ones. Signed-off-by: Rabin Vincent ra...@rab.in --- arch/cris/include/asm/bitops.h | 111 + 1 file changed, 1 insertion(+), 110 deletions(-) diff --git a/arch/cris/include/asm/bitops.h

[PATCH] perf tools: add CRIS support

2015-02-19 Thread Rabin Vincent
Define the required macros to allow perf to be built for CRIS. Signed-off-by: Rabin Vincent ra...@rab.in --- tools/perf/perf-sys.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/perf/perf-sys.h b/tools/perf/perf-sys.h index 6ef6816..bc19550 100644 --- a/tools/perf/perf-sys.h

Re: IOMMU/DMA API inquiry

2015-02-19 Thread Mark Hounschell
Hi Joerg, Thanks for the response. On 02/18/2015 01:19 PM, j...@8bytes.org Joerg Roedel wrote: Hi Mark, On Tue, Feb 17, 2015 at 02:48:03PM -0500, Mark Hounschell wrote: I understand that AMD IOMMU support is not available for 32-bit kernels. I believe the INTEL IOMMU is supported there. Not

Re: checkpatch: CHECK: No space is necessary after a cast

2015-02-19 Thread Joe Perches
On Thu, 2015-02-19 at 13:35 +0800, Marek Lindner wrote: Hi Joe, Hi Marek we have come across a checkpatch false-positive: [] BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); CHECK: No space is necessary after a cast #440: FILE: main.c:440: + BUILD_BUG_ON(sizeof(struct

Re: time / gtod seconds value out of sync?

2015-02-19 Thread Ingo Molnar
* John Stultz john.stu...@linaro.org wrote: [ 313.001823] NACC: timekeeping_get_ns = 1000121642 [ 314.001889] NACC: timekeeping_get_ns = 188401 gtod correctly accumulates those nsecs into the secs value: ts-tv_sec = tk-xtime_sec; nsecs =

[PATCH 1/6] CRISv32: don't enable irqs in INIT_THREAD

2015-02-19 Thread Rabin Vincent
INIT_THREAD enables interrupts in the thread_struct's saved flags. This means that interrupts get enabled in the middle of context_switch() while switching to new tasks that get forked off the init task during boot. Don't do this. Fixes the following splat on boot with spinlock debugging on:

[PATCH v2] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s)

2015-02-19 Thread David Cohen
Some Intel platforms have an USB OTG port fully (or partially) controlled by GPIOs: (1) USB ID is connected directly to a pulled up GPIO. Optionally: (2) VBUS is enabled/disabled by a GPIO (3) Platform has 2 USB controllers connected to same port: one for device and one for host role. D+/-

[PATCH] perf trace: Fix SIGBUS failures due to misaligned accesses

2015-02-19 Thread David Ahern
On Sparc64 perf-trace is failing in many spots due to extended load instructions being used on misaligned accesses. (gdb) run trace ls Starting program: /tmp/perf/perf trace ls [Thread debugging using libthread_db enabled] Detaching after fork from child process 169460. ls output removed

Re: [PATCH 1/3] sched: add sched_task_call()

2015-02-19 Thread Vojtech Pavlik
On Thu, Feb 19, 2015 at 11:32:55AM -0600, Josh Poimboeuf wrote: On Thu, Feb 19, 2015 at 06:19:29PM +0100, Vojtech Pavlik wrote: On Thu, Feb 19, 2015 at 11:03:53AM -0600, Josh Poimboeuf wrote: On Thu, Feb 19, 2015 at 05:33:59PM +0100, Vojtech Pavlik wrote: On Thu, Feb 19, 2015 at

[GIT PULL] Btrfs

2015-02-19 Thread Chris Mason
Hi Linus, Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus This was held up a little trying to track down a use-after-free in btrfs raid5/6. It's not clear yet if this is just made easier to trigger with this pull or if its a new

AWAITING URGENT REPLY

2015-02-19 Thread Mr. Lou Yost
INTERNATIONAL FUNDS TRANSFER / AUDIT UNIT UNITED NATIONS (World Bank Assisted Programme) Directorate of International Payment and Transfers UN Plaza, DC2-2060, New York, 10017. Attention:-The Beneficiary, My Names are Mr. Lou Yost, I'm the 2nd vice chairman of the united nations/ international

Re: Possible Bug in gnet_start_copy_compat for the file,gen_stats.c

2015-02-19 Thread David Miller
From: nick xerofo...@gmail.com Date: Thu, 12 Feb 2015 21:33:16 -0500 I am wondering after running sparse on the latest mainline tree why we are not unlocking the spinlock_bh,lock when calling the function, gnet_stats_start_copy_compat at the end of this function's body. Unless someone can

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-19 Thread Robert Jarzmik
David Miller da...@davemloft.net writes: Now if you can make it in -rc2 or -rc3, this revert should be forgotten. But if you can't make it for 3.20, I'll push for the revert. So I think it's up to you now, and let's see what Gregh says about it. What is the current status of this? I'd

Re: [PATCH 1/6] ASoC: max98088: Document DT bindings

2015-02-19 Thread Javier Martinez Canillas
Hello Andreas, We already talked over irc but for completeness I'll comment here as well. On 02/19/2015 07:54 PM, Andreas Färber wrote: Am 19.02.2015 um 19:40 schrieb Andreas Färber: Am 19.02.2015 um 18:48 schrieb Doug Anderson: On Thu, Feb 19, 2015 at 6:13 AM, Andreas Färber afaer...@suse.de

Re: [RFC v0 1/1] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-02-19 Thread Jeff Layton
On Thu, 19 Feb 2015 15:26:14 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: The lglock version of file_lock_lock is used in combination of blocked_lock_lock to protect file_lock's fl_link, fl_block, fl_next, blocked_hash and the percpu file_lock_list. The plan is to reorganize the

Re: [PATCH] fs: avoid locking sb_lock in grab_super_passive()

2015-02-19 Thread Konstantin Khlebnikov
On Thu, Feb 19, 2015 at 8:19 PM, Konstantin Khlebnikov khlebni...@yandex-team.ru wrote: I've noticed significant locking contention in memory reclaimer around sb_lock inside grab_super_passive(). Grab_super_passive() is called from two places: in icache/dcache shrinkers (function

advanced LED controllers

2015-02-19 Thread Felipe Balbi
Hi, Do we have support for LED controllers which can handle patterns of different kinds ? I mean, currently, if we have an LED controller such as TPIC2810 [1] which can control 8 different leds and each LED corresponds to one bit on register 0x44, we could control leds by just playing a wave file

Re: [PATCH] net: compat: Ignore MSG_CMSG_COMPAT in compat_sys_{send,recv}msg

2015-02-19 Thread David Miller
From: Catalin Marinas catalin.mari...@arm.com Date: Thu, 12 Feb 2015 17:32:18 + On Thu, Feb 12, 2015 at 04:41:24PM +, David Miller wrote: Setting MSG_* bits that aren't supported by the protocol in any way gives undefined semantics. You may get an error, it may be silently ignored,

Re: [PATCH] [media] soc-camera: Remove bogus devm_kfree() in soc_of_bind()

2015-02-19 Thread Geert Uytterhoeven
Hi Guennadi, On Wed, Feb 18, 2015 at 10:16 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Wed, 18 Feb 2015, Sergei Shtylyov wrote: On 02/18/2015 07:32 PM, Geert Uytterhoeven wrote: Unlike scan_async_group(), soc_of_bind() doesn't allocate its soc_camera_async_client structure

Re: Logitech G-series drivers

2015-02-19 Thread Bruno Prémont
Hi Ciprian, Adding linux-input and Jiri (HID maintainer) to CC. On Sun, 15 Feb 2015 23:17:27 +0200 Ciprian Ciubotariu wrote: I would like to submit to your attention for inclusion in the mainline kernel a series of drivers for a set of Logitech keybord devices. I forked the sources under a

Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-19 Thread Ingo Molnar
* Dan Williams dan.j.willi...@intel.com wrote: On Wed, Feb 18, 2015 at 4:47 PM, Christoph Hellwig h...@infradead.org wrote: On Wed, Feb 18, 2015 at 10:15:32AM -0800, Dan Williams wrote: In fact it was originally type-6 until ACPI 5 claimed that number for official use, so these

Re: [PATCH v2 1/2] dma: mmp_dma: add support for legacy transition

2015-02-19 Thread Daniel Mack
Hi Robert, Thanks for pushing this topic :) On 02/17/2015 09:39 PM, Robert Jarzmik wrote: In order to achieve smooth transition of pxa drivers from old legacy dma handling to new dmaengine, introduce a function to hide dma physical channels from dmaengine. This is temporary situation where

Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-19 Thread Boaz Harrosh
On 02/19/2015 12:01 PM, Ingo Molnar wrote: * Dan Williams dan.j.willi...@intel.com wrote: On Wed, Feb 18, 2015 at 4:47 PM, Christoph Hellwig h...@infradead.org wrote: On Wed, Feb 18, 2015 at 10:15:32AM -0800, Dan Williams wrote: In fact it was originally type-6 until ACPI 5 claimed

Re: [PATCH] ARM: dts: Revert disabling of smc91x for n900

2015-02-19 Thread Pali Rohár
On Thursday 19 February 2015 05:50:48 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150218 15:58]: On Wednesday 18 February 2015 23:42:06 Tony Lindgren wrote: Of course it's always possible to do do a omap3-n900-qemu.dts if larger changes are needed :) I would like to avoid

Re: [PATCH 04/10] xen/blkfront: separate ring information to an new struct

2015-02-19 Thread David Vrabel
On 19/02/15 11:08, Roger Pau Monné wrote: El 19/02/15 a les 3.05, Bob Liu ha escrit: On 02/19/2015 02:08 AM, Felipe Franciosi wrote: -Original Message- From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Sent: 18 February 2015 17:38 To: Roger Pau Monne Cc: Bob Liu;

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-19 Thread Mark Rutland
On Thu, Feb 19, 2015 at 01:16:50AM +, Rafael J. Wysocki wrote: On Monday, February 16, 2015 12:23:43 PM Mark Rutland wrote: [...] The suspend part is kind of a distraction to me here, because that really only is about sharing an IRQ with a timer and the your interrupt

[tip:x86/fpu] x86/fpu: Introduce task_disable_lazy_fpu_restore() helper

2015-02-19 Thread tip-bot for Rik van Riel
Commit-ID: 33e03dedd759cc9396252d9641b25d01909a26bb Gitweb: http://git.kernel.org/tip/33e03dedd759cc9396252d9641b25d01909a26bb Author: Rik van Riel r...@redhat.com AuthorDate: Fri, 6 Feb 2015 15:02:02 -0500 Committer: Borislav Petkov b...@suse.de CommitDate: Thu, 19 Feb 2015 11:15:53

[tip:x86/fpu] x86/fpu: Use an explicit if/ else in switch_fpu_prepare()

2015-02-19 Thread tip-bot for Rik van Riel
Commit-ID: 1361ef29c7e49ae7cf37220c25fac1904b77f71a Gitweb: http://git.kernel.org/tip/1361ef29c7e49ae7cf37220c25fac1904b77f71a Author: Rik van Riel r...@redhat.com AuthorDate: Fri, 6 Feb 2015 15:02:03 -0500 Committer: Borislav Petkov b...@suse.de CommitDate: Thu, 19 Feb 2015 11:15:54

[tip:x86/fpu] x86/fpu: Use task_disable_lazy_fpu_restore() helper

2015-02-19 Thread tip-bot for Rik van Riel
Commit-ID: 6a5fe8952bd676baf382d14df21e7b32b5d8943e Gitweb: http://git.kernel.org/tip/6a5fe8952bd676baf382d14df21e7b32b5d8943e Author: Rik van Riel r...@redhat.com AuthorDate: Fri, 6 Feb 2015 15:02:04 -0500 Committer: Borislav Petkov b...@suse.de CommitDate: Thu, 19 Feb 2015 11:15:55

[tip:x86/fpu] x86/fpu: Also check fpu_lazy_restore() when use_eager_fpu()

2015-02-19 Thread tip-bot for Rik van Riel
Commit-ID: 728e53fef429a0f3c9dda3587c3ccc57ad268b70 Gitweb: http://git.kernel.org/tip/728e53fef429a0f3c9dda3587c3ccc57ad268b70 Author: Rik van Riel r...@redhat.com AuthorDate: Fri, 6 Feb 2015 15:02:05 -0500 Committer: Borislav Petkov b...@suse.de CommitDate: Thu, 19 Feb 2015 11:15:55

[GIT PULL] x86/microcode updates

2015-02-19 Thread Borislav Petkov
Hi guys, please pull, thanks. --- The following changes since commit e36f014edff70fc02b3d3d79cead1d58f289332e: Linux 3.19-rc7 (2015-02-01 20:07:21 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/microcode_fixes_for-3.21 for you

Re: [PATCH 0/2] HID: huion: add libinput support

2015-02-19 Thread Nikolai Kondrashov
On 02/18/2015 10:04 PM, Benjamin Tissoires wrote: On Feb 18 2015 or thereabouts, Nikolai Kondrashov wrote: Hi Benjamin, I'm copying my reply to DIGImend-devel as well. On 02/18/2015 12:54 AM, Benjamin Tissoires wrote: Hi Nikolai, I know you are actually merging hid-huion and hid-uclogic, so

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-19 Thread Vojtech Pavlik
On Thu, Feb 19, 2015 at 10:52:51AM +0100, Peter Zijlstra wrote: On Wed, Feb 18, 2015 at 09:44:44PM +0100, Vojtech Pavlik wrote: For live patching it doesn't matter whether code is running, sleeping or frozen. What matters is whether there is state before patching that may not be valid

Re: [PATCH] x86/intel/quark: fix simple_return.cocci warnings

2015-02-19 Thread Bryan O'Donoghue
On 19/02/15 08:14, kbuild test robot wrote: arch/x86/platform/intel-quark/imr.c:129:1-4: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Bryan

Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-19 Thread Boaz Harrosh
On 02/18/2015 09:35 PM, Dan Williams wrote: On Wed, Feb 18, 2015 at 11:27 AM, Ingo Molnar mi...@kernel.org wrote: No, it seems the safe thing to do is prevent the kernel from accessing any memory that it does not know the side-effects of accessing. The Kernel does not do any such access.

Re: [PATCH v2 4/4] clk: dt: Introduce always-on clock domain documentation

2015-02-19 Thread Geert Uytterhoeven
Hi Lee, On Thu, Feb 19, 2015 at 11:28 AM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 19 Feb 2015, Geert Uytterhoeven wrote: On Thu, Feb 19, 2015 at 11:11 AM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 19 Feb 2015, Geert Uytterhoeven wrote: On Thu, Feb 19, 2015 at 10:42 AM, Lee Jones

[PATCH] platform: x86: dell-laptop: Add support for keyboard backlight

2015-02-19 Thread Gabriele Mazzotta
This patch adds the support for the configuration of the keyboard backlight on supported Dell laptops. With this patch it is possible to set: * keyboard backlight level * timeout after which the backlight will be automatically turned off * input activity triggers (keyboard, touchpad, mouse) that

Re: [PATCH 3/3] tomoyo: robustify handling of mm-exe_file

2015-02-19 Thread Tetsuo Handa
Thank you, but I think this patch is wrong and redundant. Davidlohr Bueso wrote: On Wed, 2015-02-18 at 16:10 -0800, Davidlohr Bueso wrote: +static const char *tomoyo_get_exe(struct mm_struct *mm) +{ + struct file *exe_file; + const char *cp = NULL; + + if (!mm) +

Re: [PATCH] x86/vdso: Remove all generated files during clean

2015-02-19 Thread Sergei Shtylyov
Hello. On 2/19/2015 5:13 AM, Magnus Damm wrote: From: Magnus Damm damm+rene...@opensource.se Make sure the following files are removed as expected during make clean: + arch/x86/vdso/vdso-image-32-int80.c + arch/x86/vdso/vdso-image-32-syscall.c + arch/x86/vdso/vdso-image-32-sysenter.c

Re: [PATCH v2 4/4] clk: dt: Introduce always-on clock domain documentation

2015-02-19 Thread Lee Jones
On Thu, 19 Feb 2015, Geert Uytterhoeven wrote: On Thu, Feb 19, 2015 at 11:43 AM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 19 Feb 2015, Geert Uytterhoeven wrote: On Thu, Feb 19, 2015 at 11:28 AM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 19 Feb 2015, Geert Uytterhoeven wrote: On

Re: [PATCH 2/2] regmap: Add range check in _regmap_raw_write()

2015-02-19 Thread Srinivas Kandagatla
On 19/02/15 10:31, Mark Brown wrote: On Thu, Feb 19, 2015 at 08:40:55AM +, Srinivas Kandagatla wrote: regmap_bulk_write() ends up using the path that invokes _regmap_raw_write(), however _regmap_raw_write() never checks if the registers that are accessed are actually within the accessible

Re: [PATCH] ARM: dts: Update lid and power pin-functions for exynos5250-spring

2015-02-19 Thread Javier Martinez Canillas
Hello Andreas, On 02/18/2015 05:17 PM, Andreas Färber wrote: Configure the pins in external interrupt mode, as done for Snow in e5e5c6d14e39 (ARM: dts: Add power and lid GPIO keys pinctrl for exynos5250-snow). Reported-by: Kukjin Kim kg...@kernel.org Suggested-by: Javier Martinez Canillas

Re: [PATCH 5/6] ASoC: samsung: Extend Snow driver to support max98089

2015-02-19 Thread Mark Brown
On Wed, Feb 18, 2015 at 07:25:58PM +0100, Andreas Färber wrote: static const struct of_device_id snow_of_match[] = { + { .compatible = google,snow-audio-max98089, }, { .compatible = google,snow-audio-max98090, }, { .compatible = google,snow-audio-max98091, }, {

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-19 Thread Joakim Hernberg
On Tue, 17 Feb 2015 09:37:44 +0100 Daniel Wagner w...@monom.org wrote: I needed the patch below to get it running stable under load on my shiny box. FWIW, this patch makes 3.18-rt survive thermal events on my laptop. From c517743659575932d7b7c94a08276d0cee8a2fdd Mon Sep 17 00:00:00 2001

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-19 Thread Peter Zijlstra
On Wed, Feb 18, 2015 at 09:44:44PM +0100, Vojtech Pavlik wrote: For live patching it doesn't matter whether code is running, sleeping or frozen. What matters is whether there is state before patching that may not be valid after patching. For userspace tasks, the exit from a syscall is a

Re: [PATCH 32/35] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-02-19 Thread Peter Zijlstra
On Thu, Feb 19, 2015 at 12:31:53PM +0530, Preeti U Murthy wrote: On 02/18/2015 06:36 PM, Peter Zijlstra wrote: On Wed, Feb 18, 2015 at 08:40:52AM +0530, Preeti U Murthy wrote: Look at the changelog, Heh, yah, clearly I tl;dr'd that. Indeed. it explains why tick_takeover must be

Re: [PATCH v2 4/4] clk: dt: Introduce always-on clock domain documentation

2015-02-19 Thread Geert Uytterhoeven
Hi Lee, On Thu, Feb 19, 2015 at 10:42 AM, Lee Jones lee.jo...@linaro.org wrote: What kind of clocks are these? What do they control? Memory controllers? Bus controllers? They must control some device(s), so there should be one or more device nodes in DT that reference these clocks. As soon

Re: [PATCH v2 4/4] clk: dt: Introduce always-on clock domain documentation

2015-02-19 Thread Lee Jones
On Thu, 19 Feb 2015, Geert Uytterhoeven wrote: Hi Lee, On Thu, Feb 19, 2015 at 10:42 AM, Lee Jones lee.jo...@linaro.org wrote: What kind of clocks are these? What do they control? Memory controllers? Bus controllers? They must control some device(s), so there should be one or more

Re: [PATCH v2 4/4] clk: dt: Introduce always-on clock domain documentation

2015-02-19 Thread Geert Uytterhoeven
Hi Lee, On Thu, Feb 19, 2015 at 11:11 AM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 19 Feb 2015, Geert Uytterhoeven wrote: On Thu, Feb 19, 2015 at 10:42 AM, Lee Jones lee.jo...@linaro.org wrote: What kind of clocks are these? What do they control? Memory controllers? Bus controllers?

Re: [PATCH] x86/intel/quark: fix simple_return.cocci warnings

2015-02-19 Thread Bryan O'Donoghue
On 19/02/15 10:25, Ingo Molnar wrote: - ret = iosf_mbi_read(QRK_MBI_UNIT_MM, QRK_MBI_MM_READ, + return iosf_mbi_read(QRK_MBI_UNIT_MM, QRK_MBI_MM_READ, reg++, imr-wmask); - if (ret) - return ret; - - return 0; } /**

Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-19 Thread Ingo Molnar
* Boaz Harrosh b...@plexistor.com wrote: Do you require another redundant message who's purpose is to scare people off, like: e820: WARN [mem 0x0001-0x00017fff] is unknown type 12 Sure I'll add it That message looks useful (and not very scary), and also emit

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: Harrish, in your patch if you just change the return KMOD_MODULE_BUILTIN; to return KMOD_MODULE_COMING; does it work? Yes. Returning KMOD_MODULE_COMING instead of KMOD_MODULE_BUILTIN works. The

Re: [PATCH v4 1/3] mmc: dw_mmc: update clock after host reach a stable voltage

2015-02-19 Thread addy ke
Hi, Alim Sorry for late reply. On 2015/2/16 07:28, Alim Akhtar wrote: Hi Addy, On Sat, Feb 14, 2015 at 11:47 AM, Addy Ke addy...@rock-chips.com wrote: As show in mmc_power_up(), in MMC_POWER_UP state, the voltage isn't stable and we may get 'data busy' which can't be cleaned by resetting

Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-19 Thread Ingo Molnar
* Boaz Harrosh b...@plexistor.com wrote: On 02/19/2015 12:01 PM, Ingo Molnar wrote: * Dan Williams dan.j.willi...@intel.com wrote: On Wed, Feb 18, 2015 at 4:47 PM, Christoph Hellwig h...@infradead.org wrote: On Wed, Feb 18, 2015 at 10:15:32AM -0800, Dan Williams wrote: In fact

[PATCH] clocksource: mtk: Fix race conditions in probe code

2015-02-19 Thread Matthias Brugger
We have two race conditions in the probe code which could lead to a null pointer dereference in the interrupt handler. The interrupt handler accesses the clockevent device, which may not yet be registered. First race condition happens when the interrupt handler gets registered before the

linux 3.19 iSCSI issue

2015-02-19 Thread Christian Hesse
Hello everybody, beginning with linux 3.19 (Arch Linux x86_64 package version 3.19-1) I see an iSCSI issue. This works perfectly with linux 3.18.6 and before. The logs tell the story: Feb 19 11:26:49 thebe kernel: scsi host6: iSCSI Initiator over TCP/IP Feb 19 11:26:49 thebe kernel: scsi

  1   2   3   4   5   6   7   8   9   10   >