Re: + zsmalloc-do-not-remap-dst-page-while-prepare-next-src-page.patch added to -mm tree

2015-03-24 Thread Sergey Senozhatsky
On (03/24/15 14:03), a...@linux-foundation.org wrote: > The patch titled > Subject: zsmalloc: do not remap dst page while prepare next src page > has been added to the -mm tree. Its filename is > zsmalloc-do-not-remap-dst-page-while-prepare-next-src-page.patch > > This patch should

Re: [PATCH v3 03/10] pci: drop some duplicate code

2015-03-24 Thread Michael S. Tsirkin
On Tue, Mar 24, 2015 at 06:33:57PM -0500, Bjorn Helgaas wrote: > On Tue, Mar 24, 2015 at 04:42:35PM +0100, Michael S. Tsirkin wrote: > > pci_msi_init_pci_dev and pci_msi_off share a lot of code. > > This used to be justified since pci_msi_init_pci_dev > > wasn't compiled in when CONFIG_PCI_MSI is

[PATCH RESEND] media: dmxdev: fix possible race condition

2015-03-24 Thread Jaedon Shin
This patch fixes race condition between dvb_dmxdev_buffer_read and dvb_demux_io_ioctl. There are race conditions executing DMX_ADD_PID or DMX_REMOVE_PID in the dvb_demux_ioctl when dvb_demux_read is waiting for the data by wait_event_interruptible. So, this fixes to sleep with acquired mutex and

Re: [PATCH v3] Add virtio-input driver.

2015-03-24 Thread Michael S. Tsirkin
On Tue, Mar 24, 2015 at 10:28:05AM -0700, Dmitry Torokhov wrote: > > > > > + err = input_register_device(vi->idev); > > > > > + if (err) > > > > > + goto err_input_register; > > > > > + > > > > > + return 0; > > > > > + > > > > > +err_input_register: > > > > > > > > > +

Re: [PATCH v4] Add virtio-input driver.

2015-03-24 Thread Vojtech Pavlik
On Wed, Mar 25, 2015 at 01:51:43PM +1030, Rusty Russell wrote: > Gerd Hoffmann writes: > > virtio-input is basically evdev-events-over-virtio, so this driver isn't > > much more than reading configuration from config space and forwarding > > incoming events to the linux input layer. > > > >

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

2015-03-24 Thread Preeti U Murthy
Ping. On 03/16/2015 10:22 AM, Preeti U Murthy wrote: > Hi Peter, Ingo, Thomas, > > Can you please take a look at the conversation on this thread ? > This fix is urgent. > > Regards > Preeti U Murthy > > On 03/02/2015 08:26 PM, Peter Zijlstra wrote: >> On Fri, Feb 27, 2015 at 02:19:05PM +0530,

Re: [PATCH 5/5] MAINTAINERS: Pantelis Antoniou device tree overlay maintainer

2015-03-24 Thread Rob Herring
On Tue, Mar 17, 2015 at 3:30 PM, Pantelis Antoniou wrote: > Add me as the device tree overlays maintainer. > > Signed-off-by: Pantelis Antoniou Applied. Thanks. Rob > --- > MAINTAINERS | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index

Re: [PATCH 1/2] zsmalloc: do not remap dst page while prepare next src page

2015-03-24 Thread Sergey Senozhatsky
On (03/25/15 14:05), Heesub Shin wrote: > No, it's not unnecessary. We should do kunmap_atomic() in the reverse > order of kmap_atomic(), so unfortunately it's inevitable to > kunmap_atomic() both on d_addr and s_addr. > Andrew, can you please drop this patch? > > > > Signed-off-by: Sergey

Re: [PATCH 3/5] of: overlay: Master enable switch

2015-03-24 Thread Rob Herring
On Tue, Mar 17, 2015 at 3:30 PM, Pantelis Antoniou wrote: > Implement a throw once master enable switch to protect against any > further overlay applications if the administrator desires so. sysfs documentation? > Signed-off-by: Pantelis Antoniou > --- > drivers/of/overlay.c | 66 >

Re: powerpc/perf: add missing put_cpu_var in power_pmu_event_init

2015-03-24 Thread Michael Ellerman
On Tue, 2015-24-03 at 12:33:22 UTC, Jan Stancek wrote: > One path in power_pmu_event_init() calls get_cpu_var(), but is > missing matching call to put_cpu_var(), which causes preemption > imbalance and crash in user-space: > > Page fault in user mode with in_atomic() = 1 mm = c01fefa5a280 >

Re: [PATCH] Documentation:Chinese translation of Documentation/arm64/legacy_instructions.txt

2015-03-24 Thread harryxiyou
2015-03-25 12:09 GMT+08:00 : > From: Fu Wei > > This is a Chinese translated version of > Documentation/arm64/legacy_instructions.txt > > It is based on the modifications of > Documentation/arm64/legacy_instructions.txt in submission: > "587064b6", "bd35a4ad", "2d888f48", "c852f320". > >

[RESEND PATCH v3 2/2] dma: Add Xilinx AXI Central Direct Memory Access Engine driver support

2015-03-24 Thread Kedareswara rao Appana
This is the driver for the AXI Central Direct Memory Access (AXI CDMA) core, which is a soft Xilinx IP core that provides high-bandwidth Direct Memory Access (DMA) between a memory-mapped source address and a memory-mapped destination address. This module works on Zynq (ARM Based SoC) and

Re: [PATCH v2 2/2] staging: panel: fix lcd type in module parameters

2015-03-24 Thread Sudip Mukherjee
On Wed, Mar 25, 2015 at 12:25:59AM +0100, Willy Tarreau wrote: > On Tue, Mar 24, 2015 at 02:56:33PM +0530, Sudip Mukherjee wrote: > > with reference to the previous patch of the series, fixed the > > lcd type in module parameters. > > Sudip, it's better to avoid fragmenting patches like you did,

Re: [PATCH 1/2] zsmalloc: do not remap dst page while prepare next src page

2015-03-24 Thread Heesub Shin
Hello, On 03/25/2015 12:24 AM, Sergey Senozhatsky wrote: > object may belong to different pages. zs_object_copy() handles > this case and maps a new source page (get_next_page() and > kmap_atomic()) when object crosses boundaries of the current > source page. But it also performs unnecessary

Re: [PATCH 1/5] of: unittest: overlay: Keep track of created overlays

2015-03-24 Thread Rob Herring
On Tue, Mar 17, 2015 at 3:30 PM, Pantelis Antoniou wrote: > During the course of the overlay selftests some of them remain > applied. While this does not pose a real problem, make sure you track > them and destroy them at the end of the test. This is going to need to be rebased on my tree as

Re: [PATCH] regulator: Defer lookup of supply to regulator_get

2015-03-24 Thread Mark Brown
On Tue, Mar 24, 2015 at 06:56:05PM -0700, Bjorn Andersson wrote: > Instead of resolving regulator supplies during registration move this to > the time of a consumer retrieving a handle. The benefit is that it's > possible for one driver to register regulators with internal > dependencies out of

Re: [Patch] dt: OF_UNITTEST make dependency broken

2015-03-24 Thread Rob Herring
On Fri, Mar 13, 2015 at 2:21 PM, Frank Rowand wrote: > From: Frank Rowand > > If CONFIG_OF_UNITTEST=y then a kernel image make will always cause .version to > be incremented, even if there are not source changes. This is caused by > a lack of dependency tracking and checking for >

Re: [PATCH v2 0/5] Update the OF unittest and some small fix

2015-03-24 Thread Rob Herring
On Wed, Mar 11, 2015 at 3:36 AM, Wang Long wrote: > This series patches do some small fixes in drivers/of/unittest.c, > and update the Documenttion. > > At last, replace selftest with unittest in the c, dtsi > and binding files. > > * v2 <- v1: > - According to Gaurav's advice. make the

[PATCH] rculist: Fix another sparse warning

2015-03-24 Thread Ying Xue
This fixes the following sparse warnings: make C=1 CF=-D__CHECK_ENDIAN__ net/tipc/name_table.o net/tipc/name_table.c:977:17: error: incompatible types in comparison expression (different address spaces) net/tipc/name_table.c:977:17: error: incompatible types in comparison expression (different

Re: [GIT PULL v2] of: Add of-graph helpers to loop over endpoints and find ports by id

2015-03-24 Thread Rob Herring
On Tue, Mar 24, 2015 at 4:15 AM, Russell King - ARM Linux wrote: > On Mon, Mar 23, 2015 at 05:29:02PM +0100, Heiko Stuebner wrote: >> Hi Rob, Philipp, >> >> Am Mittwoch, 11. März 2015, 09:51:21 schrieb Philipp Zabel: >> > Am Dienstag, den 10.03.2015, 14:05 -0500 schrieb Rob Herring: >> > > I've

[patch] ARM: fix module-bound check in setting page attributes

2015-03-24 Thread Hillf Danton
It was introduced in commit f2ca09f381a59 (ARM: 8311/1: Don't use is_module_addr in setting page attributes) We have no need to check start twice, but see if end is also in range. Signed-off-by: Hillf Danton --- --- a/arch/arm/mm/pageattr.cWed Mar 25 11:55:13 2015 +++

Re: [PATCH 1/2 v2] Documentation, split up rtc.txt into documentation and test file

2015-03-24 Thread Shuah Khan
On 03/23/2015 02:32 PM, Prarit Bhargava wrote: > This patch splits rtc.txt into two separate files, one for the > documentation itself, and the other for the rtctest.c file. The rtctest > file is moved into the kernel tools/testing/selftests/timers directory. > This will make automated testing

Re: [PATCH v3 0/4] clk: st: New always-on clock domain

2015-03-24 Thread Geert Uytterhoeven
Hi Lee, On Mon, Mar 9, 2015 at 10:28 AM, Lee Jones wrote: > On Fri, 06 Mar 2015, Mike Turquette wrote: >> Quoting Lee Jones (2015-03-04 04:00:03) >> > Mike, >> > >> > Do you want me to resend this set with Robert's Reviewed-by applied, >> > or are you happy to apply it yourself? >> >> No need

Re: [PATCH] lguest: simplify lguest_iret

2015-03-24 Thread Rusty Russell
Denys Vlasenko writes: > On 03/23/2015 04:30 AM, Rusty Russell wrote: >> + * They may be about to iret, where they asked us never to >> + * deliver interrupts. In this case, we can emulate that iret >> + * then immediately deliver the interrupt. This is

Re: [PATCH v4] Add virtio-input driver.

2015-03-24 Thread Rusty Russell
Gerd Hoffmann writes: > virtio-input is basically evdev-events-over-virtio, so this driver isn't > much more than reading configuration from config space and forwarding > incoming events to the linux input layer. > > Signed-off-by: Gerd Hoffmann Is the input layer sane? I've never dealt with

[PATCH] Documentation:Chinese translation of Documentation/arm64/legacy_instructions.txt

2015-03-24 Thread wefu
From: Fu Wei This is a Chinese translated version of Documentation/arm64/legacy_instructions.txt It is based on the modifications of Documentation/arm64/legacy_instructions.txt in submission: "587064b6", "bd35a4ad", "2d888f48", "c852f320". Signed-off-by: Fu Wei ---

Re: [PATCH] mm/memory-failure.c: define page types for action_result() in one place

2015-03-24 Thread David Rientjes
On Thu, 19 Mar 2015, Naoya Horiguchi wrote: > This cleanup patch moves all strings passed to action_result() into a single > array action_page_type so that a reader can easily find which kind of action > results are possible. And this patch also fixes the odd lines to be printed > out, like

Re: [PATCH v4] dt-bindings: brcm: rationalize Broadcom documentation naming

2015-03-24 Thread Rob Herring
On 03/20/2015 08:06 PM, Scott Branden wrote: > This patchset attempts to standardize the naming of dt-bindings > documents based on the Broadcom vendor prefix of brcm. > > Although there are no guidelines currently present for how to name > the dt-bindings document the "vendor,binding.txt" style

Re: [patch v11 00/23] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-24 Thread Ming Lei
On Tue, Mar 24, 2015 at 10:02 PM, Hanjun Guo wrote: > Some fixes since last version: > > - Add a patch 19/23 for disabling ACPI for Xen on ARM64 for now to fix >compile errors on XEN ACPI, Stefano and Julien are ok with this >temporary solution. > - Add patch "ARM64 / ACPI: Don't

Re: [Intel-gfx] [git pull] drm fixes

2015-03-24 Thread Xi Ruoyao
On 03/25/2015 at 12:54 AM, Josh Boyer wrote: On Tue, Mar 24, 2015 at 12:49 PM, Daniel Vetter wrote: On Tue, Mar 24, 2015 at 05:48:31PM +0100, Daniel Vetter wrote: On Tue, Mar 24, 2015 at 12:10:28PM -0400, Josh Boyer wrote: On Tue, Mar 24, 2015 at 10:46 AM, Josh Boyer wrote: On Tue, Mar

Re: [PATCH v4 2/3] leds: ktd2692: add device tree bindings for ktd2692

2015-03-24 Thread Varka Bhadram
On 03/25/2015 07:00 AM, Ingi Kim wrote: This patch adds the device tree bindings for ktd2692 flash LEDs. Add optional properties 'flash-timeout-us' to control flash timeout and 'vin-supply' for flash-led regulator Signed-off-by: Ingi Kim --- .../devicetree/bindings/leds/leds-ktd2692.txt

Re: [PATCH v4 3/3] leds: Add ktd2692 flash LED driver

2015-03-24 Thread Varka Bhadram
On 03/25/2015 07:00 AM, Ingi Kim wrote: This patch adds a driver to support the ktd2692 flash LEDs. ktd2692 can control flash current by ExpressWire interface. Signed-off-by: Ingi Kim --- drivers/leds/Kconfig| 9 + drivers/leds/Makefile | 1 + drivers/leds/leds-ktd2692.c

Re: [PATCH v11 21/21] brd: Rename XIP to DAX

2015-03-24 Thread Dave Chinner
On Tue, Mar 24, 2015 at 11:50:47AM -0700, Matt Mullins wrote: > On Thu, Sep 25, 2014 at 04:33:38PM -0400, Matthew Wilcox wrote: > > --- a/drivers/block/brd.c > > +++ b/drivers/block/brd.c > > @@ -97,13 +97,13 @@ static struct page *brd_insert_page(struct brd_device > > *brd, sector_t sector) > >

Re: [PATCH 1/2] Support PCU power metrics in turbostat

2015-03-24 Thread Andi Kleen
On Tue, Mar 24, 2015 at 05:20:13PM -0400, Len Brown wrote: > > > On Thu, Nov 13, 2014 at 6:19 PM, Andi Kleen wrote: > > From: Andi Kleen > > > > Add support for reading PCU power metrics on Sandy Bridge / Ivy Bridge EP > > and Haswell Server in turbostat. This is done using the perf ABI, > >

Re: performance changes on d4b4c2cd: 37.6% fsmark.files_per_sec, -15.9% fsmark.files_per_sec, and few more

2015-03-24 Thread NeilBrown
On Wed, 18 Mar 2015 13:03:19 +0800 Yuanahn Liu wrote: > Hi, > > FYI, we noticed performance changes on `fsmark.files_per_sec' by > d4b4c2cdffab86f5c7594c44635286a6d277d5c6: > > > commit d4b4c2cdffab86f5c7594c44635286a6d277d5c6 > > Author: s...@kernel.org > > AuthorDate: Mon

Re: performance changes on 4400755e: 200.0% fsmark.files_per_sec, -18.1% fsmark.files_per_sec, and few more

2015-03-24 Thread NeilBrown
On Wed, 18 Mar 2015 13:00:30 +0800 Yuanahn Liu wrote: > Hi, > > FYI, we noticed performance changes on `fsmark.files_per_sec' by > 4400755e356f9a2b0b7ceaa02f57b1c7546c3765: > > > commit 4400755e356f9a2b0b7ceaa02f57b1c7546c3765 > > Author: NeilBrown > > AuthorDate: Thu Feb 26

Re: [PATCH 3.14 00/79] 3.14.37-stable review

2015-03-24 Thread Guenter Roeck
On 03/24/2015 08:45 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.37 release. There are 79 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: [PATCH 3/6] direct-io: add support for write stream IDs

2015-03-24 Thread Dave Chinner
On Tue, Mar 24, 2015 at 09:27:00AM -0600, Jens Axboe wrote: > Get the streamid from the file, if any, and set it on the bio. > > Signed-off-by: Jens Axboe > --- > fs/direct-io.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/fs/direct-io.c b/fs/direct-io.c > index

[LKP] [rhashtable] ccd57b1bd32: WARNING: CPU: 0 PID: 1 at lib/rhashtable.c:410 rhashtable_insert_rehash+0x101/0x201()

2015-03-24 Thread Huang Ying
FYI, we noticed the below changes on git://flatbed.openfabrics.org/~amirv/linux.git for-upstream commit ccd57b1bd32460d27bbb9c599e795628a3c66983 ("rhashtable: Add immediate rehash during insertion") +-+++ |

Re: [PATCH 6/6] xfs: add support for buffered writeback stream ID

2015-03-24 Thread Dave Chinner
On Tue, Mar 24, 2015 at 09:27:03AM -0600, Jens Axboe wrote: > Signed-off-by: Jens Axboe > --- > fs/xfs/xfs_aops.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c > index 3a9b7a1b8704..2b00a57732e3 100644 > --- a/fs/xfs/xfs_aops.c > +++

Re: [PATCH 4/6] Add stream ID support for buffered writeback

2015-03-24 Thread Dave Chinner
On Tue, Mar 24, 2015 at 09:27:01AM -0600, Jens Axboe wrote: > Add a streamid field to the writeback_control structure, and use > it for the various parts of buffered writeback. > > Signed-off-by: Jens Axboe > --- > fs/buffer.c | 4 ++-- > fs/fs-writeback.c | 1 + >

[RFCv2] mm: page allocation for less fragmentation

2015-03-24 Thread Gioh Kim
My driver allocates more than 40MB pages via alloc_page() at a time and maps them at virtual address. Totally it uses 300~400MB pages. If I run a heavy load test for a few days in 1GB memory system, I cannot allocate even order=3 pages because-of the external fragmentation. I thought I needed a

Re: [PATCH RT 2/4] Revert "timers: do not raise softirq unconditionally"

2015-03-24 Thread Mike Galbraith
On Tue, 2015-03-24 at 19:15 +0100, Sebastian Andrzej Siewior wrote: > * Mike Galbraith | 2015-03-21 19:02:23 [+0100]: > > >> Steve, I'm still working on the fix we discussed using dummy irq_task. > >> I should be able to submit some time next week, if still interested. > >> > >> Either that, or

Re: [PATCH 3.19 000/123] 3.19.3-stable review

2015-03-24 Thread Guenter Roeck
On 03/24/2015 08:45 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.19.3 release. There are 123 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: [PATCH 3.10 00/55] 3.10.73-stable review

2015-03-24 Thread Guenter Roeck
On 03/24/2015 08:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.73 release. There are 55 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: [PATCH RT 2/4] Revert "timers: do not raise softirq unconditionally"

2015-03-24 Thread Mike Galbraith
On Tue, 2015-03-24 at 19:10 +0100, Sebastian Andrzej Siewior wrote: > * Steven Rostedt | 2015-03-19 12:26:11 [-0400]: > > >On Thu, 19 Mar 2015 09:17:09 +0100 > >Mike Galbraith wrote: > > > > > >> (aw crap, let's go shopping)... so why is the one in timer.c ok? > > > >It's not. Sebastian, you

Re: [PATCH 1/6] block: add support for carrying a stream ID in a bio

2015-03-24 Thread Dave Chinner
On Tue, Mar 24, 2015 at 09:26:58AM -0600, Jens Axboe wrote: > The top bits of bio->bi_flags are reserved for keeping the > allocation pool, set aside the next four bits for carrying > a stream ID. That leaves us with support for 15 streams, > 0 is reserved as a "stream not set" value. > > Add

Re: [PATCH 1/1] cifs: potential missing check for posix_lock_file_wait

2015-03-24 Thread Steve French
On Tue, Mar 24, 2015 at 7:18 PM, Chengyu Song wrote: > posix_lock_file_wait may fail under certain circumstances, and its result is > usually checked/returned. But given the complexity of cifs, I'm not sure if > the result is intentially left unchecked and always expected to succeed. > >

Re: [PATCH v2 2/2] drm/msm/mdp4: Support NV12MT format in mdp4

2015-03-24 Thread Seung-Woo Kim
Hello, On 2015년 03월 25일 03:32, Rob Clark wrote: > On Mon, Mar 16, 2015 at 4:05 AM, Daniel Vetter wrote: >> On Fri, Mar 13, 2015 at 03:12:10PM -0400, Stephane Viau wrote: >>> From: Beeresh Gopal >>> >>> Using fb modifier flag, support NV12MT format in MDP4. >>> >>> v2: >>> - rework the

linux-next: manual merge of the net-next tree with the net tree

2015-03-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got conflicts in net/ipv4/tcp_ipv4.c and net/ipv6/tcp_ipv6.c between commit d0c294c53a77 ("tcp: prevent fetching dst twice in early demux code") from the tree and commit f7e4eb03f9d9 ("inet: ip early demux should avoid request sockets") from

Re: [PATCH v2 1/2] powerpc32: put csum_tcpudp_magic inline

2015-03-24 Thread Scott Wood
On Tue, 2015-02-03 at 12:39 +0100, Christophe Leroy wrote: > csum_tcpudp_magic() is only a few instructions, and does not modifies any > other > register than the returned result. So it is not worth having it as a separate > function and suffer function branching and saving of volatile registers.

Re: [patch resend 2/3] block, drbd: fix drbd_req_new() initialization

2015-03-24 Thread Jens Axboe
On 03/24/2015 05:22 PM, David Rientjes wrote: mempool_alloc() does not support __GFP_ZERO since elements may come from memory that has already been released by mempool_free(). Remove __GFP_ZERO from mempool_alloc() in drbd_req_new() and properly initialize it to 0. This (and the other drbd

Re: [patch resend 1/3] block: allocate request memory local to request queue

2015-03-24 Thread Jens Axboe
On 03/24/2015 05:21 PM, David Rientjes wrote: blk_init_rl() allocates a mempool using mempool_create_node() with node local memory. This only allocates the mempool and element list locally to the requeue queue node. What we really want to do is allocate the request itself local to the queue.

Re: powerpc: Fix trivial typo in comment

2015-03-24 Thread Michael Ellerman
On Fri, 2015-27-02 at 22:22:54 UTC, Yannick Guerrini wrote: > Change 'Kenrel' to 'Kernel' > > Signed-off-by: Yannick Guerrini > --- > arch/powerpc/include/asm/smu.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) If you're going to send spelling fix patches, please at least fix all the

[PATCH] Fix braces to GNU style

2015-03-24 Thread carlossilveirajr
From: Carlos Roberto Silveira Junior --- kernel/sched/fair.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 7ce18f3..834aa55 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -296,13 +296,12 @@ static

Re: [PATCH] fix platform_no_drv_owner.cocci warnings

2015-03-24 Thread Fengguang Wu
On Tue, Mar 24, 2015 at 11:43:41AM +0100, Thierry Reding wrote: > On Wed, Mar 18, 2015 at 02:38:18AM +0100, Linus Walleij wrote: > > On Wed, Mar 11, 2015 at 12:05 PM, Thierry Reding > > wrote: > > > On Fri, Jan 16, 2015 at 09:06:14AM +0800, kbuild test robot wrote: > > >>

[PATCH] regulator: Defer lookup of supply to regulator_get

2015-03-24 Thread Bjorn Andersson
Instead of resolving regulator supplies during registration move this to the time of a consumer retrieving a handle. The benefit is that it's possible for one driver to register regulators with internal dependencies out of order. Signed-off-by: Bjorn Andersson --- drivers/regulator/core.c

Re: [PATCH] PM / Hiberante : optimize swsusp_free()

2015-03-24 Thread Yeon, JeHyeon (Tom)
>From 6cb5fffc41911a29212be52d4ce7e481f5077ccf Mon Sep 17 00:00:00 2001 From: "Tom(JeHyeon) Yeon" Date: Thu, 19 Mar 2015 17:10:45 +0900 Subject: [PATCH] PM / Hiberante : optimize swsusp_free() Our team developed the snapshot booting. Fisrt of all, make a snapshot image, compress it and finally

Re: [Gta04-owner] [PATCH 3/3] tty/slaves: add a driver to power on/off UART attached devices.

2015-03-24 Thread Sebastian Reichel
Hi, On Tue, Mar 24, 2015 at 06:58:15PM +0100, Dr. H. Nikolaus Schaller wrote: > So you propose that the parent->child relationship is “control”? I.e. some > channel which allows to address some bus client (through ) and > control that devices. > > Makes sense. This is how i2c and spi clients are

Re: [PATCH 1/6] block: add support for carrying a stream ID in a bio

2015-03-24 Thread Jens Axboe
On 03/24/2015 04:07 PM, Ming Lin-SSI wrote: -Original Message- From: Jens Axboe [mailto:ax...@kernel.dk] Sent: Tuesday, March 24, 2015 10:27 AM To: Matias Bjørling; Jens Axboe; linux-kernel@vger.kernel.org; linux- fsde...@vger.kernel.org Cc: Ming Lin-SSI Subject: Re: [PATCH 1/6] block:

[PATCH] mmc: mmci: Cascade EPROBE_DEFER from regulators.

2015-03-24 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- drivers/mmc/host/mmci.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 7fe1619..fb26674 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -1613,7 +1613,10 @@

Re: [23/32] powerpc: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-24 Thread Michael Ellerman
On Tue, 2015-03-24 at 21:49 +0200, Alex Dowad wrote: > On 20/03/15 01:54, Michael Ellerman wrote: > > On Thu, 2015-03-19 at 09:22 +0200, Alex Dowad wrote: > >> On 19/03/15 08:45, Michael Ellerman wrote: > >>> On Fri, 2015-13-03 at 18:14:46 UTC, Alex Dowad wrote: > The 'arg' argument to

[PATCH 1/1] ufs: missing check for block_truncate_page

2015-03-24 Thread Chengyu Song
block_truncate_page may fail under certain circumstances, so its result should be checked. Signed-off-by: Chengyu Song --- fs/ufs/truncate.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fs/ufs/truncate.c b/fs/ufs/truncate.c index f04f89f..8b41f07 100644 ---

[PATCH v4 1/3] of: Add vendor prefix for Kinetic technologies

2015-03-24 Thread Ingi Kim
This patch adds vendor prefix for Kinetic technologies Signed-off-by: Ingi Kim Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH v4 2/3] leds: ktd2692: add device tree bindings for ktd2692

2015-03-24 Thread Ingi Kim
This patch adds the device tree bindings for ktd2692 flash LEDs. Add optional properties 'flash-timeout-us' to control flash timeout and 'vin-supply' for flash-led regulator Signed-off-by: Ingi Kim --- .../devicetree/bindings/leds/leds-ktd2692.txt | 33 ++ 1 file

[PATCH v4 0/3] Add ktd2692 Flash LED driver using LED Flash class

2015-03-24 Thread Ingi Kim
This patch adds ktd2692 Flash LED driver with LED Flash class Change in v4: - Clean up the code - Modify binding documentation of ktd2692 Change in v3: - Clean up the code - Add aux gpio pin to control Flash LED Change in v2: - Introduction of LED Flash

[PATCH v2] prctl: avoid using mmap_sem for exe_file serialization

2015-03-24 Thread Davidlohr Bueso
Oleg cleverly suggested using xchg() to set the new mm->exe_file instead of calling set_mm_exe_file() which requires some form of serialization -- mmap_sem in this case. For archs that do not have atomic rmw instructions we still fallback to a spinlock alternative, so this should always be safe.

[PATCH v4 3/3] leds: Add ktd2692 flash LED driver

2015-03-24 Thread Ingi Kim
This patch adds a driver to support the ktd2692 flash LEDs. ktd2692 can control flash current by ExpressWire interface. Signed-off-by: Ingi Kim --- drivers/leds/Kconfig| 9 + drivers/leds/Makefile | 1 + drivers/leds/leds-ktd2692.c | 412

Re: [v2,2/2] powerpc32: add support for csum_add()

2015-03-24 Thread Scott Wood
On Tue, Feb 03, 2015 at 12:39:27PM +0100, LEROY Christophe wrote: > The C version of csum_add() as defined in include/net/checksum.h gives the > following assembly: >0: 7c 04 1a 14 add r0,r4,r3 >4: 7c 64 00 10 subfc r3,r4,r0 >8: 7c 63 19 10

Re: powerpc32: rearrange instructions order in ip_fast_csum()

2015-03-24 Thread Scott Wood
On Tue, Feb 03, 2015 at 12:39:27PM +0100, LEROY Christophe wrote: > On PPC_8xx, lwz has a 2 cycles latency, and branching also takes 2 cycles. > As the size of the header is minimum 5 words, we can unroll the loop for the > first words to reduce number of branching, and we can re-order the >

Re: [PATCH v8 24/30] PCI/tegra: Remove redundant tegra_pcie_scan_bus()

2015-03-24 Thread Yijing Wang
On 2015/3/24 20:31, Thierry Reding wrote: > On Tue, Mar 24, 2015 at 11:34:18AM +0800, Yijing Wang wrote: >> Now pci_scan_root_bus() is almost similar to >> pci_create_root_bus() + pci_scan_child_bus(). >> So we could use common pci_scan_root_bus() in >> pci_common_init_dev() to scan pci busses. >>

[PATCH] input: synaptics: min_max quirk for Thinkpad E440

2015-03-24 Thread Filip Ayazi
Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440 (board_id=2691). Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=89641 Signed-off-by: Filip Ayazi --- drivers/input/mouse/synaptics.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH] irq: Remove unnecessary warning with affinity_hint

2015-03-24 Thread Seiichi Ikarashi
Hi, If you turn off a PCI device whose driver has set affinity_hint, you will get warning message which does _not_ explain the reason why it is appeared from the users' point of view. # echo 0 > /sys/bus/pci/slots/65/power Apr 28 20:29:39 localhost kernel: [ cut here

Re: [PATCH] kdbus: Fix CONFIG_KDBUS help text

2015-03-24 Thread David Herrmann
Hi On Tue, Mar 24, 2015 at 7:51 PM, Daniel Mack wrote: > Drop a left-over from the times when documentation lived in a > simple text file, which is no longer the case. Mention the > auto-generated man-pages and HTML files instead. > > Reported-by: Jiri Slaby > Signed-off-by: Daniel Mack > ---

Re: [RFC v2 1/3] mm/vmalloc: fix possible exhaustion of vmalloc space caused by vm_map_ram allocator

2015-03-24 Thread Gioh Kim
> > In current patch I simply put newly allocated block to the tail of a free > list, > thus reduce fragmentation, giving a chance to resolve allocation request using > older blocks with possible holes left. It's great. I think this might be helpful for fragmentation by mix of long-time,

Re: [PATCH 01/17] x86, fpu: wrap get_xsave_addr() to make it safer

2015-03-24 Thread Rik van Riel
On 03/24/2015 08:18 PM, Andy Lutomirski wrote: > On Tue, Mar 24, 2015 at 5:12 PM, Dave Hansen wrote: >> I won't completely claim to understand what's going on with the FPU >> code, but I think your analysis is a bit off. >> >> unlazy_fpu() does __save_init_fpu() which (among other things) calls

Re: [PATCH] x86: vdso32/syscall.S: do not load __USER32_DS to %ss

2015-03-24 Thread Brian Gerst
On Tue, Mar 24, 2015 at 4:17 PM, Denys Vlasenko wrote: > On 03/24/2015 05:55 PM, Brian Gerst wrote: Might be nice to place a more generic description there, which registers are expected to be saved by user-space calling in here, etc. >>> >>> __kernel_vsyscall entry point has the same

Re: [PATCH v3] led/led-class: Handle LEDs with the same name

2015-03-24 Thread Sakari Ailus
Hi Ricardo, (Cc Jacek.) I had similar thoughts when reviewing Jacek's V4L2 flash API patches. See below. On Sat, Mar 14, 2015 at 12:05:39AM +0100, Ricardo Ribalda Delgado wrote: > The current code expected that every LED had an unique name. This is a > legit expectation when the device tree can

Re: [PATCH 10/11] x86/xip: resolve alternative instructions at build

2015-03-24 Thread Jim Kukunas
On Mon, Mar 23, 2015 at 09:33:02AM +0100, Borislav Petkov wrote: > On Mon, Mar 23, 2015 at 12:46:39AM -0700, Jim Kukunas wrote: > > Since the .text section can't be updated at run-time, remove the > > .alternatives sections and update the .text at build time. To pick the > > proper instructions,

[PATCH 1/1] hfsplus: incorrect return value

2015-03-24 Thread Chengyu Song
In case of memory allocation error, the return should be -ENOMEM, instead of -ENOSPC. Signed-off-by: Chengyu Song --- fs/hfsplus/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/hfsplus/dir.c b/fs/hfsplus/dir.c index f0235c1..3074609 100644 --- a/fs/hfsplus/dir.c

Re: lz4: fix system halted at boot kernel x86_64 compressed lz4

2015-03-24 Thread David Sterba
On Tue, Mar 24, 2015 at 12:27:25PM +0100, Krzysztof Kolasa wrote: > lz4: fix system halted at boot kernel x86_64 compressed lz4 > > Decompression process ends with an error when loading kernel: > > Decoding failed > -- System halted Serious regression detected ... > > This condition is

Re: [PATCH 11/24] huge tmpfs: shrinker to migrate and free underused holes

2015-03-24 Thread Hugh Dickins
On Tue, 24 Mar 2015, Kirill A. Shutemov wrote: > On Sun, Mar 22, 2015 at 09:40:02PM -0700, Hugh Dickins wrote: > > (I think Kirill has a problem of that kind in his page_remove_rmap scan). (And this one I mentioned to you at the conference :) > > > > It will be interesting to see what Kirill

Re: bpf+tracing next steps. Was: [PATCH v9 tip 3/9] tracing: attach BPF programs to kprobes

2015-03-24 Thread Alexei Starovoitov
On 3/23/15 2:27 AM, Masami Hiramatsu wrote: > (2015/03/23 13:57), Alexei Starovoitov wrote: >> On 3/22/15 7:17 PM, Masami Hiramatsu wrote: >>> (2015/03/23 3:03), Alexei Starovoitov wrote: >>> User space tools that will compile ktap/dtrace scripts into bpf might use build-id for their own

[PATCH 1/1] hfs: incorrect return values

2015-03-24 Thread Chengyu Song
In case of memory allocation error, the return should be -ENOMEM, instead of -ENOSPC. Signed-off-by: Chengyu Song --- fs/hfs/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/hfs/dir.c b/fs/hfs/dir.c index 1455668..36d1a6a 100644 --- a/fs/hfs/dir.c +++

Re: [PATCH v7 2/5] power: max77843_charger: Add Max77843 charger device driver

2015-03-24 Thread Beomho Seo
On 03/24/2015 05:38 PM, Krzysztof Kozlowski wrote: > 2015-03-24 9:01 GMT+01:00 Beomho Seo : >> On 03/10/2015 10:44 PM, Beomho Seo wrote: >>> On 03/09/2015 09:13 PM, Krzysztof Kozlowski wrote: On pon, 2015-03-09 at 20:46 +0900, Beomho Seo wrote: > On 03/09/2015 08:02 PM, Krzysztof

Re: [PATCH] x86, entry: Check for syscall exit work with IRQs disabled

2015-03-24 Thread Andy Lutomirski
On Tue, Mar 24, 2015 at 1:08 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> We currently have a race: if we're preempted during syscall exit, we >> can fail to process syscall return work that is queued up while >> we're preempted in ret_from_sys_call after checking ti.flags. >> >> Fix

Re: [PATCH RFC 1/2] dmaengine: Introduce scheduled DMA framework

2015-03-24 Thread Maxime Ripard
On Tue, Mar 24, 2015 at 09:50:43PM +0530, Vinod Koul wrote: > On Mon, Mar 23, 2015 at 02:51:40PM -0700, Maxime Ripard wrote: > > > > + if (vd) { > > > > + lli = desc->v_lli; > > > > + while (true) { > > > > + bytes +=

Re: [PATCH] staging: rtl8723au: Update RT_TRACE macro and uses

2015-03-24 Thread Joe Perches
On Tue, 2015-03-24 at 20:28 -0400, Jes Sorensen wrote: > Joe Perches writes: > > Create an rt_trace function using %pV to reduce overall code size. > > Update the macro uses to remove unnecessary and now harmful parentheses. [] > This could be further improved by fixing up all the places where

Re: [PATCH] pci: iproc: fix PCIE_IPROC in Kconfig

2015-03-24 Thread Bjorn Helgaas
On Tue, Mar 24, 2015 at 12:33 AM, Ray Jui wrote: > Make PCIE_IPROC depending on both OF and ARM and default to be disabled, > so it cannot be accidentally enabled by other platforms > > PCIE_IPROC is meant to be enabled by a front-end bus driver. Curenntly > it's enabled by PCIE_IPROC_PLTFM

Re: [PATCH] staging: rtl8723au: Update RT_TRACE macro and uses

2015-03-24 Thread Jes Sorensen
Joe Perches writes: > Create an rt_trace function using %pV to reduce overall code size. > Update the macro uses to remove unnecessary and now harmful parentheses. > > Miscellanea around these changes: > > o Coalesce formats > o Realign arguments > o Remove commented-out RT_TRACE uses > o

Re: [PATCH v3 8/9] eeprom: qfprom: Add bindings for qfprom

2015-03-24 Thread Bjorn Andersson
On Tue, Mar 24, 2015 at 11:31 PM, Srinivas Kandagatla wrote: > This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver > is based on simple eeprom framework. > > Signed-off-by: Srinivas Kandagatla > --- > .../devicetree/bindings/eeprom/qfprom.txt | 23 >

[PATCH 1/1] cifs: potential missing check for posix_lock_file_wait

2015-03-24 Thread Chengyu Song
posix_lock_file_wait may fail under certain circumstances, and its result is usually checked/returned. But given the complexity of cifs, I'm not sure if the result is intentially left unchecked and always expected to succeed. Signed-off-by: Chengyu Song --- fs/cifs/file.c | 4 ++-- 1 file

Re: [PATCH 01/17] x86, fpu: wrap get_xsave_addr() to make it safer

2015-03-24 Thread Andy Lutomirski
[add Borislav] I swear it would actually be an improvement if we just randomized the function names. fpu_817, fpu_717, etc. At least no one would think they understand them... On Tue, Mar 24, 2015 at 5:18 PM, Andy Lutomirski wrote: > On Tue, Mar 24, 2015 at 5:12 PM, Dave Hansen wrote: >> On

[PATCH 1/3] Documentation: bindings: add BCM6328-style soft reset binding

2015-03-24 Thread Florian Fainelli
Add a binding document for the BCM6328-style software reset block found in MIPS and ARM based Broadcom BCM63xx DSL SoCs. Signed-off-by: Florian Fainelli --- Documentation/devicetree/bindings/arm/bcm/bcm63138.txt | 16 1 file changed, 16 insertions(+) diff --git

[PATCH 3/3] ARM: dts: BCM63xx: add soft-reset node

2015-03-24 Thread Florian Fainelli
Add the software reset Device Tree node allowing us to software reset a BCM63138 device using bcm6328-soft-reset. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/bcm63138.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm63138.dtsi

[PATCH 0/3] power: reset: BCM63xx reboot support

2015-03-24 Thread Florian Fainelli
Hi all, This patch series adds support for the BCM6328-style software reset hardware block commonly found on Broadcom BCM63xx DSL SoCs. Thanks! Florian Fainelli (3): Documentation: bindings: add BCM6328-style soft reset binding power: reset: add Broadcom BCM63xx software reset driver ARM:

Re: [PATCH 01/17] x86, fpu: wrap get_xsave_addr() to make it safer

2015-03-24 Thread Andy Lutomirski
On Tue, Mar 24, 2015 at 5:12 PM, Dave Hansen wrote: > On 03/24/2015 04:52 PM, Andy Lutomirski wrote: >> On Tue, Mar 24, 2015 at 4:42 PM, Dave Hansen wrote: >>> On 03/24/2015 03:28 PM, Andy Lutomirski wrote: Your function appears to be getting it for write (I assume that's what the

[PATCH 2/3] power: reset: add Broadcom BCM63xx software reset driver

2015-03-24 Thread Florian Fainelli
Add a sofware reset driver for the Broadcom BCM63xx DSL SoCs, starting with 6328 all the way through newer chips such as 63138. Signed-off-by: Florian Fainelli --- drivers/power/reset/Kconfig | 7 drivers/power/reset/Makefile | 1 + drivers/power/reset/bcm63xx-reboot.c |

Re: [RFC] x86 XIP

2015-03-24 Thread Jim Kukunas
On Mon, Mar 23, 2015 at 09:07:14AM +0100, Ingo Molnar wrote: > * Jim Kukunas wrote: > > > > > Hi Folks, > > > > This patchset introduces eXecute-In-Place (XIP) support for x86. > > [...] > > So we'd need a lot better high level description than this: In future patch revisions, I'll update

Re: [PATCH 01/17] x86, fpu: wrap get_xsave_addr() to make it safer

2015-03-24 Thread Dave Hansen
On 03/24/2015 04:52 PM, Andy Lutomirski wrote: > On Tue, Mar 24, 2015 at 4:42 PM, Dave Hansen wrote: >> On 03/24/2015 03:28 PM, Andy Lutomirski wrote: >>> Your function appears to be getting it for write (I assume that's what >>> the unlazy_fpu is for), so I'd rather have it called >>>

  1   2   3   4   5   6   7   8   9   10   >