[PATCH v3 04/11] bcache: remove driver private bio splitting code

2015-05-07 Thread Ming Lin
From: Kent Overstreet kent.overstr...@gmail.com The bcache driver has always accepted arbitrarily large bios and split them internally. Now that every driver must accept arbitrarily large bios this code isn't nessecary anymore. Cc: linux-bca...@vger.kernel.org Signed-off-by: Kent Overstreet

Re: [PATCH v2 1/2] clk: change clk_ops' -round_rate() prototype

2015-05-07 Thread Stephen Boyd
On 04/30, Boris Brezillon wrote: Clock rates are stored in an unsigned long field, but -round_rate() (which returns a rounded rate from a requested one) returns a long value (errors are reported using negative error codes), which can lead to long overflow if the clock rate exceed 2Ghz.

Re: [PATCH 1/2 RESEND] mtd: fsmc_nand: fix handling of wait_for_completion_timeout return value

2015-05-07 Thread Brian Norris
On Fri, Mar 13, 2015 at 07:54:45AM -0400, Nicholas Mc Guire wrote: wait_for_completion_timeout does not return negative values so result handling here does not need to check for negative return. Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- Patch was compile tested with

Re: [PATCH] ARM: alignment: Use is_wide_instruction() to check wide instruction

2015-05-07 Thread Yingjoe Chen
On Fri, 2015-04-10 at 22:05 +0800, Yingjoe Chen wrote: I first notice the comment is incorrect, then I realize there's another macro which do exactly the same thing. Tested with hand written userspace program with a few wide instructions to make sure this still work as expect.

pinctrl: imx7d: undefined Kconfig option SOC_IMX7D

2015-05-07 Thread Valentin Rothberg
Hi Frank, your commit c30024a64490 (pinctrl: add imx7d support) is in today's linux-next tree (i.e., next-20150507) adding driver support for IMX7D pinctrl. However, the driver cannot be compiled at its current state since the required Kconfig option PINCTRL_IMX7D depends on SOC_IMX7D, which

Re: [PATCH v2 2/7] crypto: add new driver for Marvell CESA

2015-05-07 Thread Boris Brezillon
Hi Herbert, On Thu, 7 May 2015 11:01:00 +0800 Herbert Xu herb...@gondor.apana.org.au wrote: On Mon, May 04, 2015 at 02:27:01PM +0200, Boris Brezillon wrote: The existing mv_cesa driver supports some features of the CESA IP but is quite limited, and reworking it to support new features (like

Re: [PATCH 1/3] pmem: Initial version of persistent memory driver

2015-05-07 Thread Christoph Hellwig
On Mon, May 04, 2015 at 10:43:01AM -0600, Ross Zwisler wrote: Yes, if CONFIG_DEBUG_BLOCK_EXT_DEVT isn't set that code doesn't work at all. I can't figure out a use case that breaks when using dynamically allocated minors without CONFIG_DEBUG_BLOCK_EXT_DEVT. The patch that I've been testing

Re: [PATCH v2] MAINTAINERS: change my email address

2015-05-07 Thread Borislav Petkov
On Thu, May 07, 2015 at 09:14:41AM +0200, Johannes Thumshirn wrote: Change my email address to something that is not associated with my current or future employer. Suggested-by: Borislav Petkov b...@alien8.de Signed-off-by: Johannes Thumshirn jthumsh...@suse.de --- MAINTAINERS | 10

Re: [PATCH 1/3] pmem: Initial version of persistent memory driver

2015-05-07 Thread Boaz Harrosh
On 05/07/2015 10:26 AM, Christoph Hellwig wrote: On Mon, May 04, 2015 at 10:43:01AM -0600, Ross Zwisler wrote: Yes, if CONFIG_DEBUG_BLOCK_EXT_DEVT isn't set that code doesn't work at all. I can't figure out a use case that breaks when using dynamically allocated minors without

Re: [PATCH 1/1] HID: prodikeys, remove unused variable

2015-05-07 Thread Jiri Kosina
On Tue, 5 May 2015, Jiri Slaby wrote: 'key' is set but never used in the first loop. So remove the set. And indent the re-set of pm-last_key properly. Signed-off-by: Jiri Slaby jsl...@suse.cz Applied to for-4.2/upstream. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list:

Re: [PATCH v3 1/9] clk: berlin: move to a dedicated sub-node

2015-05-07 Thread Sebastian Hesselbarth
On 28.04.2015 13:32, Sebastian Hesselbarth wrote: On 07.04.2015 16:45, Antoine Tenart wrote: The Berlin clock driver was sharing a DT node with the pin controller and the reset driver. All these devices are now sub-nodes of the chip controller. This patch rework the Berlin clock driver to allow

Re: [RFT PATCH v2 0/3] drm/exynos: Fix build breakage on !DRM_EXYNOS_FIMD

2015-05-07 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/07/2015 02:04 AM, Krzysztof Kozlowski wrote: From: Krzysztof Kozlowski k.kozlowsk...@gmail.com Hi, This is second try to fix the build breakage introduced in 1c363c7cccf6 (drm/exynos: Enable DP clock to fix display on Exynos5250 and other). The fix is not trivial

Re: [PATCH 1/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-05-07 Thread Pi-Cheng Chen
On Thu, Apr 30, 2015 at 3:42 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Apr 20, 2015 at 05:27:26PM +0800, pi-cheng.chen wrote: This patch implements MT8173 specific cpufreq driver with OPP table defined in the driver code. Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org ---

Re: [PATCH v3 06/10] mtd: brcmstb_nand: add SoC-specific support

2015-05-07 Thread Arnd Bergmann
On Wednesday 06 May 2015 13:49:10 Brian Norris wrote: On Wed, May 06, 2015 at 09:12:43PM +0200, Arnd Bergmann wrote: On Wednesday 06 May 2015 10:59:50 Brian Norris wrote: + /* +* Some SoCs integrate this controller (e.g., its interrupt bits) in +* interesting

[PATCH 3.16.y-ckt 160/180] jhash: Update jhash_[321]words functions to use correct initval

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck alexander.h.du...@redhat.com commit 2e7056c433216f406b90a003aa0ba42e19d3bdcf upstream. Looking over the implementation for jhash2 and comparing it to jhash_3words I

[PATCH 3.16.y-ckt 161/180] vti6: fix uninit when using x-netns

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Yao Xiwei xiwei@6wind.com commit 092a29a40bab8bb4530bb3e58a0597001cdecdef upstream. When the kernel deleted a vti6 interface, this interface was not removed from the tunnels

RE: [PATCH v5 1/3] drm/layerscape: Add Freescale DCU DRM driver

2015-05-07 Thread jianwei.w...@freescale.com
Hi Dave, Can you help me to review this patch? Thanks. Jianwei -Original Message- From: Jianwei Wang [mailto:jianwei.w...@freescale.com] Sent: Friday, April 17, 2015 2:36 PM To: airl...@linux.ie; daniel.vet...@intel.com; ste...@agner.ch; Wood Scott-B07421;

Re: [KERNEL BUG] do_timer/tick_handover_do_timer 3.10.17

2015-05-07 Thread Mike Galbraith
On Thu, 2015-05-07 at 05:58 +, Oza (Pawandeep) Oza wrote: Yes. But dying kernel doesn’t mean it CAN NOT INCREMENT jiffies. do_timer should do the job until kernel takes its last breathe and more precisely CPU0 take its last breathe by halting itself as its last instruction. Feel free

RE: [KERNEL BUG] do_timer/tick_handover_do_timer 3.10.17

2015-05-07 Thread Oza (Pawandeep) Oza
: ) Well, I am not sure, if problem was communicated clearly from my side. Let me attempt it again. If variable tick_do_timer_cpu = 0. Things are fine. If it is some other value say for e.g. 1, 2 or 3 then core0 does not increment jiffies. (but say if it is set to tick_do_timer_cpu=1, then

Re: [PATCHv4 00/10] add on-demand device creation

2015-05-07 Thread Minchan Kim
On Thu, May 07, 2015 at 09:33:22AM +0900, Sergey Senozhatsky wrote: On (05/06/15 17:20), Minchan Kim wrote: I'm fine, too. can you please test this patch? I tested it and couldn't reproduce it during 5 minutes so it seems we are correct about culpit. However, it's

Re: [PATCH v7 0/3] ARM: mediatek: Add driver for Mediatek I2C

2015-05-07 Thread Eddie Huang
Hi Lee, On Thu, 2015-05-07 at 08:39 +0100, Lee Jones wrote: On Wed, 06 May 2015, Eddie Huang wrote: Eddie Huang (1): I2C: mediatek: Add driver for MediaTek MT8173 I2C controller Xudong Chen (2): dt-bindings: Add I2C bindings for mt65xx/mt81xx. I2C: mediatek: Add driver

Re: [PATCH] dma-buf: add ref counting for module as exporter

2015-05-07 Thread Greg KH
On Thu, May 07, 2015 at 01:00:52PM +0530, Sumit Semwal wrote: Add reference counting on a kernel module that exports dma-buf and implements its operations. This prevents the module from being unloaded while DMABUF file is in use. The original patch [1] was submitted by Tomasz, but he's since

Re: [PATCH] staging: fbtft: force cast to non-__iomem pointer

2015-05-07 Thread Dan Carpenter
On Wed, May 06, 2015 at 02:34:49PM -0700, Garret Kelly wrote: Can't we fix this properly, to use the correct type of pointer instead for non-__iomem allocations? You mean making an alternate screen_base pointer inside fb_info that isn't __iomem? There are already a bunch of framebuffer

Re: [PATCH] check smap and !cr0.wp

2015-05-07 Thread Paolo Bonzini
On 07/05/2015 10:39, Xiao Guangrong wrote: On 05/07/2015 04:30 PM, Xiao Guangrong wrote: From: root r...@lyu2-mobl2.ccr.corp.intel.com Sorry for the noise... I miss configured this git repo. Please ignore this patch, i will repost it. No problem, can be fixed. Paolo -- To unsubscribe

[PATCH v3 12/12] KVM: arm64: add trace points for guest_debug debug

2015-05-07 Thread Alex Bennée
This includes trace points for: kvm_arch_setup_guest_debug kvm_arch_clear_guest_debug kvm_handle_guest_debug I've also added some generic register setting trace events and also a trace point to dump the array of hardware registers. Signed-off-by: Alex Bennée alex.ben...@linaro.org --- v3

Re: [Linaro-acpi] [V2 PATCH 1/5] ACPI / scan: Parse _CCA and setup device coherency

2015-05-07 Thread Arnd Bergmann
On Wednesday 06 May 2015 17:16:35 Suravee Suthikulanit wrote: On 5/6/2015 5:21 PM, Rafael J. Wysocki wrote: + bool + +config ACPI_SUPPORT_CCA_ZERO I guess this means we support devices that can DMA, but are not coherent. right? Yes, basically when _CCA=0. So

[PATCH v3 09/12] KVM: arm64: guest debug, HW assisted debug support

2015-05-07 Thread Alex Bennée
This adds support for userspace to control the HW debug registers for guest debug. In the debug ioctl we copy the IMPDEF defined number of registers into a new register set called host_debug_state. There is now a new vcpu parameter called debug_ptr which selects which register set is to copied

[PATCH 3.16.y-ckt 171/180] memstick: mspro_block: add missing curly braces

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com commit 13f6b191aaa11c7fd718d35a0c565f3c16bc1d99 upstream. Using the indenting we can see the curly braces were obviously intended. This is a

[PATCH] pinctrl: intel: sunrisepoint: Add Intel Sunrisepoint-H support

2015-05-07 Thread Mika Westerberg
Intel Sunrisepoint-H is a desktop version of the PCH (Platform Controller Hub). It has slightly different pin configuration compared to the LP version. This patch adds support for Sunrisepoint-H to the existing pinctrl-sunrisepoint.c driver. Signed-off-by: Mika Westerberg

Re: [PATCH 1/3] KVM: MMU: fix smap permission check

2015-05-07 Thread Xiao Guangrong
On 05/07/2015 05:32 PM, Paolo Bonzini wrote: On 07/05/2015 10:20, Xiao Guangrong wrote: Current permission check assumes that RSVD bit in PFEC is always zero, however, it is not true since MMIO #PF will use it to quickly identify MMIO access Fix it by clearing the bit if walking guest page

[PATCH 1/2] pinctrl: move strict option to pinmux_ops

2015-05-07 Thread Linus Walleij
While the pinmux_ops are ideally just a vtable for pin mux calls, the strict setting belongs so intuitively with the pin multiplexing that we should move it here anyway. Putting it in the top pinctrl_desc makes no sense. Cc: Sonic Zhang sonic.zh...@analog.com Signed-off-by: Linus Walleij

[PATCH 3.16.y-ckt 167/180] IB/iser: Fix wrong calculation of protection buffer length

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg sa...@mellanox.com commit a065fe6aa25ba6ba93c02dc13486131bb3c64d5f upstream. This length miss-calculation may cause a silent data corruption in the DIX case and cause

[PATCH 3.16.y-ckt 172/180] tools/power turbostat: Use $(CURDIR) instead of $(PWD) and add support for O= option in Makefile

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas D whi...@whissi.de commit f82263c6989c31ae9b94cecddffb29dcbec38710 upstream. Since commit ee0778a30153 (tools/power: turbostat: make Makefile a bit more capable) turbostat's

[PATCH 3.16.y-ckt 174/180] Input: twl4030-pwrbutton - ensure a wakeup event is recorded.

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown ne...@suse.de commit c42bfd7f6cd26e8f712fc184460e32845d928d17 upstream. This button is treated as a wakeup source, so we need to initialise it correctly. Without the

[PATCH 3.16.y-ckt 175/180] Input: elantech - fix crc_enabled for Fujitsu H730

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Ulrik De Bie ulrik.debie...@e2big.org commit 0dc1587905a50f8f61bbc29e850aa592821e4bea upstream. The Fujitsu H730 does not work with crc_enabled = 0, even though the crc_enabled bit

[PATCH 2/2] pinctrl: nomadik: activate strict mux mode

2015-05-07 Thread Linus Walleij
This activates strict mode muxing for the Nomadik pin controllers, as these do not allow GPIO and functions to use the same pin simultaneously. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/pinctrl/nomadik/pinctrl-abx500.c | 1 + drivers/pinctrl/nomadik/pinctrl-nomadik.c | 1

[PATCH 3.16.y-ckt 173/180] cpufreq: fix a NULL pointer dereference in __cpufreq_governor()

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Ethan Zhao ethan.z...@oracle.com commit cb57720bf79688d64854a0a43565aa52303c1f3f upstream. If ACPI _PPC changed notification happens before governor was initiated while kernel is

[PATCH 3.16.y-ckt 148/180] e1000: add dummy allocator to fix race condition between mtu change and netpoll

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca s...@queasysnail.net commit 08e8331654d1d7b2c58045e549005bc356aa7810 upstream. There is a race condition between e1000_change_mtu's cleanups and netpoll, when we

[GIT PULL] pin control fixes for the v4.1 series

2015-05-07 Thread Linus Walleij
Hi Linus, here is a smallish set of pin control fixes for the v4.1 cycle, collected the last two weeks. Please pull them in, details in the signed tag. Yours, Linus Walleij The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700)

[PATCH 3.16.y-ckt 136/180] target/file: Fix UNMAP with DIF protection support

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita akinobu.m...@gmail.com commit 64d240b721b21e266ffde645ec965c3b6d1c551f upstream. When UNMAP command is issued with DIF protection support enabled, the protection info

[PATCH 3.16.y-ckt 147/180] drivers/of: Add empty ranges quirk for PA-Semi

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt b...@kernel.crashing.org commit a5ed1ad07b3a75894311e12fdd401bf64d0667fe upstream. The sdc node is missing the ranges property, it needs to be treated as

Re: [PATCH 1/1] mfd: max77686: Remove unused struct max77686_opmode_data

2015-05-07 Thread Lee Jones
On Wed, 06 May 2015, Javier Martinez Canillas wrote: The defined struct max77686_opmode_data isn't used neither by the max77686 mfd driver nor the drivers for its sub-devices. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- include/linux/mfd/max77686.h | 5

Re: [PATCH 0/13] Parallel struct page initialisation v4

2015-05-07 Thread Mel Gorman
On Wed, May 06, 2015 at 10:37:28PM -0400, Waiman Long wrote: On 05/06/2015 01:58 PM, Waiman Long wrote: On 05/06/2015 06:22 AM, Mel Gorman wrote: On Wed, May 06, 2015 at 08:12:46AM +0100, Mel Gorman wrote: On Tue, May 05, 2015 at 03:25:49PM -0700, Andrew Morton wrote: On Tue, 5 May 2015

Re: [PATCH v2 1/2] clk: change clk_ops' -round_rate() prototype

2015-05-07 Thread Boris Brezillon
Hi Stephen, On Wed, 6 May 2015 23:39:53 -0700 Stephen Boyd sb...@codeaurora.org wrote: On 04/30, Boris Brezillon wrote: Clock rates are stored in an unsigned long field, but -round_rate() (which returns a rounded rate from a requested one) returns a long value (errors are reported using

Re: [PATCH] remove asm/scatterlist.h

2015-05-07 Thread Christoph Hellwig
Next try, straight from the coffee shop :) --- From e87704c5d501be42b2047bda3760dfd6cdcfba13 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig h...@lst.de Date: Wed, 6 May 2015 07:17:09 +0200 Subject: remove scatterlist.h generation from arch Kbuild files Signed-off-by: Christoph Hellwig

Re: [PATCH V2 0/2] clockevents: Stop unused clockevent devices

2015-05-07 Thread Viresh Kumar
On 3 April 2015 at 09:04, Viresh Kumar viresh.ku...@linaro.org wrote: Hi, A clockevent device is used to service timers/hrtimers requests and the next event (when it should fire) is decided by the timer/hrtimer expiring next. When no timers/hrtimers are pending to be serviced, the expiry

Re: [PATCH v2] MAINTAINERS: change my email address

2015-05-07 Thread Johannes Thumshirn
On Thu, 2015-05-07 at 09:56 +0200, Borislav Petkov wrote: On Thu, May 07, 2015 at 09:14:41AM +0200, Johannes Thumshirn wrote: Change my email address to something that is not associated with my current or future employer. Suggested-by: Borislav Petkov b...@alien8.de Signed-off-by:

Re: [PATCH 3/6] pinctrl: sunxi: Add H3 PIO controller support

2015-05-07 Thread Paul Bolle
On Wed, 2015-05-06 at 11:31 +0200, Jens Kuske wrote: --- a/drivers/pinctrl/sunxi/Kconfig +++ b/drivers/pinctrl/sunxi/Kconfig +config PINCTRL_SUN8I_H3 + def_bool MACH_SUN8I + select PINCTRL_SUNXI_COMMON --- a/drivers/pinctrl/sunxi/Makefile +++ b/drivers/pinctrl/sunxi/Makefile

Re: [BUG] ThinkPad T520 overheating with P-State driver

2015-05-07 Thread Martin Steigerwald
Am Mittwoch, 6. Mai 2015, 19:51:19 schrieb Doug Smythies: On 2015.05.06 13:37 Martin Steigerwald wrote: I get frequencies like: 3080566 3068945 3009082 202 Please know that the intel_pstate driver reports actual CPU frequencies over the last sample interval. In terms of heat,

RE: [KERNEL BUG] do_timer/tick_handover_do_timer 3.10.17

2015-05-07 Thread Oza (Pawandeep) Oza
Mike, Here is the code which will explain you what I meant to address. The is just a WARN_ON in case if any other cpu, other than this cpu, are all offline, and at the same time tick_do_timer_cpu is not set correctly) Note: this patch is just to put forward the problem. (not an actual patch)

[PATCH v3] MAINTAINERS: change my email address

2015-05-07 Thread Johannes Thumshirn
Change my email address to something that is not associated with my current or future employer. Suggested-by: Borislav Petkov b...@alien8.de Signed-off-by: Johannes Thumshirn jthumsh...@suse.de --- MAINTAINERS | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH V2 5/6] x86, irq: Cleanup ordering of vector numbers

2015-05-07 Thread Borislav Petkov
On Wed, May 06, 2015 at 06:58:57AM -0500, Aravind Gopalakrishnan wrote: Enforcing proper descending order of vector number assignments here. No functional change. Signed-off-by: Aravind Gopalakrishnan aravind.gopalakrish...@amd.com --- arch/x86/include/asm/irq_vectors.h | 10 +- 1

Re: [KERNEL BUG] do_timer/tick_handover_do_timer 3.10.17

2015-05-07 Thread Mike Galbraith
On Thu, 2015-05-07 at 07:05 +, Oza (Pawandeep) Oza wrote: : ) Well, I am not sure, if problem was communicated clearly from my side. I understood. I just don't understand why you'd care deeply whether CPU0 halts or eternally waits. Both render it harmless and useless. -Mike --

RE: [PATCH v2] manpage: update FALLOC_FL_INSERT_RANGE flag in fallocate

2015-05-07 Thread Namjae Jeon
Hello Namjae Jeon, Hi Michael, Thanks for the revised patch. I have a question below: On 05/07/2015 07:15 AM, Namjae Jeon wrote: Update FALLOC_FL_INSERT_RANGE flag in fallocate. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com

[PATCH] drm/nouveau/core: deinline nv_mask()

2015-05-07 Thread Denys Vlasenko
Function compiles to 89 bytes of machine code. 466 callsites with this .config: http://busybox.net/~vda/kernel_config Size reduction: text data bss dec hex filename 82432426 22255384 20627456 125315266 77828c2 vmlinux.before 82426986 22255416 20627456 125309858 77813a2

Re: [PATCH v2 00/10] evacuate struct page from the block layer, introduce __pfn_t

2015-05-07 Thread Ingo Molnar
* Dan Williams dan.j.willi...@intel.com wrote: What is the primary thing that is driving this need? Do we have a very concrete example? My pet concrete example is covered by __pfn_t. Referencing persistent memory in an md/dm hierarchical storage configuration. Setting aside the

Re: [PATCH 2/3] string: provide strscpy() and strscpy_truncate()

2015-05-07 Thread Dan Carpenter
On Wed, May 06, 2015 at 06:45:56PM +0200, Geert Uytterhoeven wrote: On Wed, May 6, 2015 at 5:59 PM, Dan Carpenter dan.carpen...@oracle.com wrote: We actually do have a __must_check tag so it's easy enough to force people to check. A different option is we could make it trigger a People

Re: [RFT PATCH v2 0/3] drm/exynos: Fix build breakage on !DRM_EXYNOS_FIMD

2015-05-07 Thread Krzysztof Kozlowski
2015-05-07 18:16 GMT+09:00 Javier Martinez Canillas javier.marti...@collabora.co.uk: Hello Krzysztof, On 05/07/2015 02:04 AM, Krzysztof Kozlowski wrote: From: Krzysztof Kozlowski k.kozlowsk...@gmail.com Hi, This is second try to fix the build breakage introduced in 1c363c7cccf6

Re: [PATCH] iio: hid-sensors: Fix memory leak on failure path in hid_prox_probe()

2015-05-07 Thread Jonathan Cameron
On 07/05/15 08:43, Daniel Baluta wrote: On Thu, May 7, 2015 at 1:00 AM, Fabio Estevam feste...@gmail.com wrote: On Wed, May 6, 2015 at 6:48 PM, Alexey Khoroshilov khoroshi...@ispras.ru wrote: If prox_parse_report() fails, memory allocated for channels is not deallocated, since it is still in

Re: [PATCH v5 3/4] iio: trigger: Introduce IIO hrtimer based trigger

2015-05-07 Thread Jonathan Cameron
On 06/05/15 18:37, Daniel Baluta wrote: On Wed, May 6, 2015 at 8:16 PM, Jonathan Cameron ji...@kernel.org wrote: On 06/05/15 17:25, Daniel Baluta wrote: On 05/05/2015 04:51 PM, Jonathan Cameron wrote: On 4 May 2015 20:54:08 GMT+01:00, Lars-Peter Clausen l...@metafoo.de wrote: On

Re: [PATCH] KVM: remove pointless cpu hotplug messages

2015-05-07 Thread Paolo Bonzini
On 05/05/2015 09:39, Heiko Carstens wrote: On cpu hotplug only KVM emits an unconditional message that its notifier has been called. It certainly can be assumed that calling cpu hotplug notifiers work, therefore there is no added value if KVM prints a message. If an error happens on cpu

Re: [PATCH 1/3] KVM: MMU: fix smap permission check

2015-05-07 Thread Paolo Bonzini
On 07/05/2015 10:20, Xiao Guangrong wrote: Current permission check assumes that RSVD bit in PFEC is always zero, however, it is not true since MMIO #PF will use it to quickly identify MMIO access Fix it by clearing the bit if walking guest page table is needed Signed-off-by: Xiao

[PATCH 3.16.y-ckt 002/180] spi: spidev: fix possible arithmetic overflow for multi-transfer message

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit f20fbaad7620af2df36a1f9d1c9ecf48ead5b747 upstream. `spidev_message()` sums the lengths of the individual SPI transfers to determine the overall

[PATCH 3.16.y-ckt 014/180] PCI: cpcihp: Add missing curly braces in cpci_configure_slot()

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com commit bc3b5b47c80da8838758731d423179262c9c36ec upstream. I don't have this hardware but it looks like we weren't adding bridge devices as

Re: [PATCH 3.19 000/177] 3.19.7-stable review

2015-05-07 Thread Boris Brezillon
Luis, Tyler, On Thu, 7 May 2015 09:55:53 +0100 Luis Henriques luis.henriq...@canonical.com wrote: On Wed, May 06, 2015 at 10:25:17PM -0700, Tyler Baker wrote: Locally I've reverted c67881fc890916206e723329e774391c6ed354ce on top of v3.19.7 and confirmed that my at91-sama5d3_xplained

Re: [PATCH 1/4] context_tracking: Protect against recursion

2015-05-07 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: @@ -75,6 +94,11 @@ void context_tracking_enter(enum ctx_state state) WARN_ON_ONCE(!current-mm); local_irq_save(flags); + if (!context_tracking_recursion_enter()) { + local_irq_restore(flags); +

[PATCH 3.16.y-ckt 163/180] KVM: use slowpath for cross page cached accesses

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= rkrc...@redhat.com commit ca3f0874723fad81d0c701b63ae3a17a408d5f25 upstream. kvm_write_guest_cached() does not mark all written pages as

[PATCH 3.16.y-ckt 154/180] arm64: head.S: ensure visibility of page tables

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland mark.rutl...@arm.com commit 91d57155dc5ab4b311624b7ee570339b6af19ad5 upstream. After writing the page tables, we use __inval_cache_range to invalidate any stale cache

[PATCH 3.16.y-ckt 151/180] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bruno=20Pr=C3=A9mont?= bonb...@linux-vserver.org commit 4eebd5a4e72697aac25a8a57d3f888a9d5f80370 upstream. As GMUX depends on IO for iGP to be enabled and active, lock the

[PATCH 3.16.y-ckt 153/180] clk: qcom: fix RCG M/N counter configuration

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Archit Taneja arch...@codeaurora.org commit 0b21503dbbfa669dbd847b33578d4041513cddb2 upstream. Currently, a RCG's M/N counter (used for fraction division) is set to either 'bypass'

[PATCH] serial: 8250: do not copy port.fifosize member twice

2015-05-07 Thread Masahiro Yamada
The port.fifosize member has already been copied at 8 lines above. Maybe the compiler optimization can clean it away, but just in case. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- drivers/tty/serial/8250/8250_core.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v3 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-05-07 Thread Ming Lin
From: Kent Overstreet kent.overstr...@gmail.com The way the block layer is currently written, it goes to great lengths to avoid having to split bios; upper layer code (such as bio_add_page()) checks what the underlying device can handle and tries to always create bios that don't need to be split.

[PATCH v3 02/11] block: simplify bio_add_page()

2015-05-07 Thread Ming Lin
From: Kent Overstreet kent.overstr...@gmail.com Since generic_make_request() can now handle arbitrary size bios, all we have to do is make sure the bvec array doesn't overflow. __bio_add_page() doesn't need to call -merge_bvec_fn(), where we can get rid of unnecessary code paths. Removing the

[PATCH v3 1/4] mm/page_alloc.c: cleanup obsolete KM_USER*

2015-05-07 Thread Anisse Astier
It's been five years now that KM_* kmap flags have been removed and that we can call clear_highpage from any context. So we remove prep_zero_pages accordingly. Signed-off-by: Anisse Astier ani...@astier.eu --- mm/page_alloc.c | 17 ++--- 1 file changed, 2 insertions(+), 15

[PATCH v3 08/11] block: kill merge_bvec_fn() completely

2015-05-07 Thread Ming Lin
From: Kent Overstreet kent.overstr...@gmail.com As generic_make_request() is now able to handle arbitrarily sized bios, it's no longer necessary for each individual block driver to define its own -merge_bvec_fn() callback. Remove every invocation completely. Cc: Jens Axboe ax...@kernel.dk Cc:

[PATCH v3 03/11] block: allow __blk_queue_bounce() to handle bios larger than BIO_MAX_PAGES

2015-05-07 Thread Ming Lin
From: Kent Overstreet kent.overstr...@gmail.com Allow __blk_queue_bounce() to handle bios with more than BIO_MAX_PAGES segments. Doing that, it becomes possible to simplify the block layer in the kernel. The issue is that any code that clones the bio and must clone the biovec (i.e. it can't use

[PATCH v3 0/4] Sanitizing freed pages

2015-05-07 Thread Anisse Astier
Hi, I'm trying revive an old debate here[1], though with a simpler approach than was previously tried. This patch series implements a new option to sanitize freed pages, a (very) small subset of what is done in PaX/grsecurity[3], inspired by a previous submission [4]. The first patch is fairly

Re: [PATCH v3 1/4] fs: kiocb: introduce IOCB_DONT_DIRTY_PAGE flag for direct IO

2015-05-07 Thread Christoph Hellwig
On Thu, May 07, 2015 at 01:08:23AM +0800, Ming Lei wrote: When direct IO is submitted from kernel, it is often unnecessary to dirty pages, for example of loop, dirtying pages have been considered in the upper filesystem(over loop) side already, and they don't need to be dirtied again. So

Re: Question about cacheline aligned memory for DMA transfers

2015-05-07 Thread Clemens Ladisch
Johannes Thoma wrote: Does kmalloc return only memory that is cache line aligned? Yes. do all architectures handle cache line misalign ed dma accesses correctly? x86 does. Most other architectures do not have DMA-coherent caches. Regards, Clemens -- To unsubscribe from this list: send the

Re: [PATCH v3 3/4] block: loop: use kthread_work

2015-05-07 Thread Christoph Hellwig
On Thu, May 07, 2015 at 01:08:25AM +0800, Ming Lei wrote: The following patch will use dio/aio to submit IO to backing file, then it isn't good to schedule IO concurrently from work, so use kthread_work. I can't really parse this, what's the specific advantage here? -- To unsubscribe from this

[PATCH] dma-buf: add ref counting for module as exporter

2015-05-07 Thread Sumit Semwal
Add reference counting on a kernel module that exports dma-buf and implements its operations. This prevents the module from being unloaded while DMABUF file is in use. The original patch [1] was submitted by Tomasz, but he's since shifted jobs and a ping didn't elicit any response. [tomasz:

Re: [PATCH] MAINTAINERS: Extend Samsung MFD drivers entry and add myself

2015-05-07 Thread Lee Jones
On Wed, 06 May 2015, Krzysztof Kozlowski wrote: Extend the entry for Samsung MFD drivers for PMIC devices (Power Management Integrated Circuit) with bindings documentation, clock (clk-s2mps11.c) and RTC drivers (rtc-s5m.c). These PMIC devices are used on many Exynos-based boards like

Re: [PATCH v4 6/7] mtrr, x86: Clean up mtrr_type_lookup()

2015-05-07 Thread Borislav Petkov
On Wed, May 06, 2015 at 05:42:10PM -0600, Toshi Kani wrote: Well, creating mtrr_type_lookup_fixed() is one of the comments I had in the previous code review. Anyway, let me make sure if I understand your comment correctly. Do the following changes look right to you? 1) Change the caller

[PATCH 0/3] leds: leds-gpio: Allow compile test if !GPIOLIB

2015-05-07 Thread Geert Uytterhoeven
The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer functionality only, can still be compiled if GPIOLIB is not enabled. This patch series allows compile testing of the leds-gpio driver if GPIOLIB is not

[PATCH 2/3] leds: leds-gpio: Add missing #include linux/of.h

2015-05-07 Thread Geert Uytterhoeven
drivers/leds/leds-gpio.c: In function ‘gpio_leds_create’: drivers/leds/leds-gpio.c:194: error: implicit declaration of function ‘of_node’ drivers/leds/leds-gpio.c:194: warning: assignment makes pointer from integer without a cast drivers/leds/leds-gpio.c:200: error: dereferencing pointer to

Re: [PATCH] drm/msm: Fix compil issue when DRM_MSM_FBDEV is disabled

2015-05-07 Thread Archit Taneja
Hi, On 05/06/2015 07:58 PM, Rob Clark wrote: On Wed, May 6, 2015 at 9:25 AM, Stephane Viau sv...@codeaurora.org wrote: When CONFIG_DRM_MSM_FBDEV is not defined, CONFIG_DRM_KMS_FB_HELPER does not get selected and drm_fb_helper_*() helper functions are thus not available. This change fixes

Re: [PATCH v7 0/3] ARM: mediatek: Add driver for Mediatek I2C

2015-05-07 Thread Lee Jones
On Thu, 07 May 2015, Eddie Huang wrote: On Thu, 2015-05-07 at 08:39 +0100, Lee Jones wrote: On Wed, 06 May 2015, Eddie Huang wrote: Eddie Huang (1): I2C: mediatek: Add driver for MediaTek MT8173 I2C controller Xudong Chen (2): dt-bindings: Add I2C bindings for

[PATCH] check smap and !cr0.wp

2015-05-07 Thread Xiao Guangrong
This test case is used to produce the bug that: KVM may turn a user page to a kernel page when kernel writes a readonly user page if CR0.WP = 1. This shadow page entry will be reused after SMAP is enabled so that kernel is allowed to access this user page Signed-off-by: Xiao Guangrong

RE: [KERNEL BUG] do_timer/tick_handover_do_timer 3.10.17

2015-05-07 Thread Oza (Pawandeep) Oza
Oh ok. So the reason why I cared was: There is a code in our base which relies on jiffies, but since jiffies are not incrementing, the code waits there and loops forever. And forward progress is on halt. (on cpu0, since that is the only cpu, which is alive) We have changed the code to use

Re: [PATCH] x86: Deinline cpuid_eax and friends

2015-05-07 Thread Denys Vlasenko
On 05/06/2015 10:41 PM, H. Peter Anvin wrote: On 05/06/2015 12:09 PM, Denys Vlasenko wrote: How on Earth does it make 44 bytes? Is this due to paravirt_fail? No, just this construct unsigned int eax, ebx, ecx, edx; cpuid(op, eax, ebx, ecx, edx); is not really that cheap

[PATCH] serial: xuartps: add __init to earlycon write method

2015-05-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- drivers/tty/serial/xilinx_uartps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 3ddbac7..009e0db 100644 ---

Re: [1/2] RTC: Add core rtc support for Gemini Soc devices

2015-05-07 Thread Roman Yeryomin
On 2015-05-06 22:22, Arnd Bergmann wrote: On Wednesday 06 May 2015 19:21:21 Roman Yeryomin wrote: Thanks to point that, I'll merge that one which seems clean enough:

Re: [PATCH] serial: xuartps: add __init to earlycon write method

2015-05-07 Thread Masahiro Yamada
Hi Arnd, 2015-05-07 18:08 GMT+09:00 Arnd Bergmann a...@arndb.de: On Thursday 07 May 2015 18:02:39 Masahiro Yamada wrote: @@ -1075,7 +1075,8 @@ static void cdns_uart_console_putchar(struct uart_port *port, int ch) writel(ch, port-membase + CDNS_UART_FIFO_OFFSET); } -static void

Re: [PATCH V2 1/2] mm/thp: Split out pmd collpase flush into a seperate functions

2015-05-07 Thread Kirill A. Shutemov
On Thu, May 07, 2015 at 12:53:27PM +0530, Aneesh Kumar K.V wrote: After this patch pmdp_* functions operate only on hugepage pte, and not on regular pmd_t values pointing to page table. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com ---

Re: [PATCH] serial: xuartps: add __init to earlycon write method

2015-05-07 Thread Arnd Bergmann
On Thursday 07 May 2015 18:14:43 you wrote: 2015-05-07 18:08 GMT+09:00 Arnd Bergmann a...@arndb.de: On Thursday 07 May 2015 18:02:39 Masahiro Yamada wrote: @@ -1075,7 +1075,8 @@ static void cdns_uart_console_putchar(struct uart_port *port, int ch) writel(ch, port-membase +

Re: [PATCH 1/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-05-07 Thread Pi-Cheng Chen
On Fri, Apr 24, 2015 at 8:55 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Fri, Apr 24, 2015 at 02:46:25PM +0800, Pi-Cheng Chen wrote: Hi Sascha, Thanks for reviewing. On Thu, Apr 23, 2015 at 8:01 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Apr 20, 2015 at 05:27:26PM +0800,

[PATCH 3.16.y-ckt 168/180] mlx5: wrong page mask if CONFIG_ARCH_DMA_ADDR_T_64BIT enabled for 32Bit architectures

2015-05-07 Thread Luis Henriques
3.16.7-ckt11 -stable review patch. If anyone has any objections, please let me know. -- From: Honggang LI ho...@redhat.com commit 59d2d18cc4e9ba30b370db18d0e02d792699da96 upstream. If CONFIG_ARCH_DMA_ADDR_T_64BIT enabled for x86 systems and physical memory is more than 4GB,

[PATCH v2] serial: xuartps: add __init to earlycon write method

2015-05-07 Thread Masahiro Yamada
Early console functions are only used during the early boot stage. This change just saves a small amount of memory footprint. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: - Add a little explanation in the git log. drivers/tty/serial/xilinx_uartps.c | 3 ++-

Re: [PATCH 3.2 108/221] spi: dw-mid: avoid potential NULL dereference

2015-05-07 Thread Andy Shevchenko
On Wed, 2015-05-06 at 16:45 +0100, Ben Hutchings wrote: On Wed, 2015-05-06 at 11:25 +0100, Luis Henriques wrote: On Tue, May 05, 2015 at 02:16:39AM +0100, Ben Hutchings wrote: 3.2.69-rc1 review patch. If anyone has any objections, please let me know. --

Re: [PATCH] cpuidle: Handle tick_broadcast_enter() failure gracefully

2015-05-07 Thread Sudeep Holla
Hi Preeti, On 07/05/15 06:26, Preeti U Murthy wrote: When a CPU has to enter an idle state where tick stops, it makes a call to tick_broadcast_enter(). The call will fail if this CPU is the broadcast CPU. Today, under such a circumstance, the arch cpuidle code handles this CPU. This is not

  1   2   3   4   5   6   7   8   9   10   >