Re: [PATCH 0/4] dm verity: add support for error correction

2015-11-06 Thread Mikulas Patocka
On Thu, 5 Nov 2015, Milan Broz wrote: > On 11/05/2015 03:02 AM, Sami Tolvanen wrote: > > This patch set adds error correction support to dm-verity, which > > makes it possible to recover from data corruption in exchange of > > increased space overhead. > > > > The feature is implemented as

[PATCH 4/5] NVMe: add blk polling support

2015-11-06 Thread Jens Axboe
Add nvme_poll(), which will check a specific completion queue for command completions. Wire that up to the new block layer poll mechanism. Later on we'll setup specific sq/cq pairs that don't have interrups enabled, so we can do more efficient polling. As of this patch, an IRQ will still trigger

[PATCH 2/3] Staging: lustre: tracefile: Remove wrapper function

2015-11-06 Thread Shivani Bhardwaj
Remove the function cfs_trace_free_string_buffer() as it can be replaced with the standard function kfree(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/libcfs/tracefile.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git

[PATCH 0/5] Initial support for polled IO

2015-11-06 Thread Jens Axboe
Hi, This is a basic framework for supporting polled IO with the block layer stack, and added support for sync O_DIRECT IO and the NVMe driver. There are a few things missing to truly productize this, but it's very useful for testing. For now, it's a per-device opt-in feature. To enable it, you

[PATCH 5/5] directio: add block polling support

2015-11-06 Thread Jens Axboe
This adds support for sync O_DIRECT read/write poll support. Signed-off-by: Jens Axboe [hch: split from a larger patch, minor updates] Signed-off-by: Christoph Hellwig --- fs/direct-io.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/fs/direct-io.c

[PATCH 3/3] Staging: lustre: tracefile: Remove function prototype

2015-11-06 Thread Shivani Bhardwaj
Remove the prototype of function cfs_trace_free_string_buffer() as it is no longer needed. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/libcfs/tracefile.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/libcfs/tracefile.h

[PATCH 1/3] Staging: lustre: module: Replace function calls

2015-11-06 Thread Shivani Bhardwaj
Replace the calls of function cfs_trace_free_string_buffer() with kfree() as the former function is not required. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/libcfs/module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-06 Thread kbuild test robot
Hi Bayi, [auto build test ERROR on mtd/master] [also build test ERROR on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/Bayi-Cheng/Mediatek-SPI-NOR-flash-driver/20151106-235157 base: git://git.infradead.org/linux-mtd.git master config: i386-allmodconfig (attached

[PATCH] mtd: mtk-nor: fix compare_const_fl.cocci warnings

2015-11-06 Thread kbuild test robot
drivers/mtd/spi-nor/mtk-quadspi.c:223:6-28: Move constant to right. drivers/mtd/spi-nor/mtk-quadspi.c:214:6-10: Move constant to right. Move constants to the right of binary operators. Semantic patch information: Depends on personal taste in some cases. Generated by:

[PATCH 0/3] Remove wrapper function and clean up the code

2015-11-06 Thread Shivani Bhardwaj
This patchset removes a wrapper function, its prototype and replace its calls in different files with a standard function. After applying this patch, code becomes cleaner. Shivani Bhardwaj (3): Staging: lustre: module: Replace function calls Staging: lustre: tracefile: Remove wrapper function

Improvement of trails and tutorials to become a kernel developer / maintainer

2015-11-06 Thread Patrick Plattes
ello, I'm interested since a very long time in kernel development, but I never saw the right path to become familiar with parts of the kernel. I read a bit of ipc code and ext* code, but since I often don't know any possible next steps I moved back to something else in the user space. I really

Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: Kernel 4.3 breaks security in systems using capabilities

2015-11-06 Thread Andy Lutomirski
On Fri, Nov 6, 2015 at 7:53 AM, Theodore Ts'o wrote: > On Fri, Nov 06, 2015 at 02:58:36PM +0100, Klaus Ethgen wrote: >> But that left out completely the, I think more important, usecase of >> _removing_ SUID completely and _replacing_ it with very tight capability >> setting. And that is what I

Re: [PATCH v2 3/3] livepatch: Cleanup module page permission changes

2015-11-06 Thread Josh Poimboeuf
On Fri, Nov 06, 2015 at 02:42:46PM +0100, Petr Mladek wrote: > On Fri 2015-11-06 06:12:47, Josh Poimboeuf wrote: > > On Fri, Nov 06, 2015 at 11:40:55AM +0100, Petr Mladek wrote: > > > On Thu 2015-11-05 15:18:05, Josh Poimboeuf wrote: > > > > Calling set_memory_rw() and set_memory_ro() for every

[GIT PULL] asm-generic cleanups

2015-11-06 Thread Arnd Bergmann
The following changes since commit 049e6dde7e57f0054fdc49102e7ef4830c698b46: Linux 4.3-rc4 (2015-10-04 16:57:17 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-for-linus for you to fetch changes up to

[PATCH] HID: Wacom: Delete an unnecessary check before the function call "kobject_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 17:55:23 +0100 The kobject_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH] arm64: bpf: fix mod-by-zero case

2015-11-06 Thread Catalin Marinas
On Wed, Nov 04, 2015 at 08:43:59PM -0800, Zi Shen Lim wrote: > Turns out in the case of modulo by zero in a BPF program: > A = A % X; (X == 0) > the expected behavior is to terminate with return value 0. > > The bug in JIT is exposed by a new test case [1]. > > [1]

Re: [PATCH 3/7] drivers:input:tsc2007: add iio interface to read external ADC input, temperature and raw conversion values

2015-11-06 Thread kbuild test robot
Hi Nikolaus, [auto build test ERROR on input/next] [also build test ERROR on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/drivers-touchscreen-tsc2007-and-ads7846-tsc2046-improvements-use-common-touchscreen-bindings-pre-calibration-spi-fix-and-provide

[PATCH] [media] hackrf: moving pointer reference before kfree

2015-11-06 Thread Saurabh Sengar
accessing a pointer after free could possible lead to segmentation fault, hence correcting it Signed-off-by: Saurabh Sengar --- drivers/media/usb/hackrf/hackrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/hackrf/hackrf.c

Re: [PATCH v5 1/5] gadget: Introduce the notifier functions

2015-11-06 Thread Greg KH
On Fri, Nov 06, 2015 at 07:35:10PM +0800, Baolin Wang wrote: > The usb charger framework is based on usb gadget. The usb charger > need to be notified the state changing of usb gadget to confirm the > usb charger state. > > Thus this patch adds a notifier mechanism for usb gadget to report a >

[PATCH] Staging: lustre: dir: Remove wrapper function

2015-11-06 Thread Shivani Bhardwaj
Remove the function ll_check_page() and replace all its calls with the function it wrapped. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/dir.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/dir.c

Re: i.MX6: Oops when unplugging a USB key

2015-11-06 Thread Jean-Michel Hautbois
Hi Arnd, 2015-11-06 17:38 GMT+01:00 Arnd Bergmann : > On Friday 06 November 2015 17:32:30 Jean-Michel Hautbois wrote: >> I have an issue on my i.MX6 board I don't understand (kernel is a 4.2)... >> When I connect a USB key, and then disconnect it, it oopses and >> reboots (as I have panic on

Re: [PATCH 3/3] comedi: driver: Fix - BIT macro used coding style issue

2015-11-06 Thread Greg KH
On Fri, Nov 06, 2015 at 07:24:18PM +0530, Ranjith T wrote: > Is this patch is fine?..Because I didn't get any reply for this patch You sent it 1 day ago, while we are in the middle of the merge window and I can't touch anything for 2 weeks at the earliest. Please be patient. greg k-h -- To

Re: [RFC PATCH 0/3] CFS idle injection

2015-11-06 Thread Punit Agrawal
Peter Zijlstra writes: > People, trim your emails! > > On Wed, Nov 04, 2015 at 08:58:30AM -0800, Jacob Pan wrote: > >> > I also like #2 too. Specially now that it is not limited to a specific >> > platform. One question though, could you still keep the cooling device >> > support of it? In some

Re: [PATCH] ARM: keystone_defconfig: Enable SYSTEM V IPC

2015-11-06 Thread santosh shilimkar
On 11/6/2015 6:46 AM, Carlos Hernandez wrote: System V IPC is required by some LTP tests. It is also enabled on omap2plus_defconfig which is the other base config used for TI platforms. Signed-off-by: Carlos Hernandez --- Looks fine. I will pick this up. Regards, Santosh -- To unsubscribe

[GIT PULL] Mailbox changes for v4.4

2015-11-06 Thread Jassi Brar
Hi Linus, The following changes since commit 049e6dde7e57f0054fdc49102e7ef4830c698b46: Linux 4.3-rc4 (2015-10-04 16:57:17 +0100) are available in the git repository at: git://git.linaro.org/landing-teams/working/fujitsu/integration.git mailbox-for-next for you to fetch changes up to

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Michal Hocko
On Fri 06-11-15 11:19:53, Johannes Weiner wrote: > On Fri, Nov 06, 2015 at 11:57:24AM +0100, Michal Hocko wrote: > > On Thu 05-11-15 17:52:00, Johannes Weiner wrote: > > > On Thu, Nov 05, 2015 at 03:55:22PM -0500, Johannes Weiner wrote: > > > > On Thu, Nov 05, 2015 at 03:40:02PM +0100, Michal

Re: [PATCH] goldfish: fix goldfish_pipe driver BUG

2015-11-06 Thread kbuild test robot
Hi yalin, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/yalin-wang/goldfish-fix-goldfish_pipe-driver-BUG/20151106-235541 config: i386-allmodconfig (attached as .config) reproduce: # save

Re: [PATCH 0/2] mmc: sdhci: potentially bad behavior when using vmmc supply

2015-11-06 Thread Ulf Hansson
On 6 November 2015 at 16:59, Ludovic Desroches wrote: > Hi, > > I would like to have some feedback for these two patches. I have two > questions. > > 1. > > To suppress the warnings telling me I have no vmmc and vqmmc supplies, I have > added them and discovered that adding a vmmc supply involve

Re: [RFC 3/3] ARM: e3xx: Add header file for pinctrl constants

2015-11-06 Thread Arnd Bergmann
On Friday 06 November 2015 08:01:25 Moritz Fischer wrote: > Hi Arnd, > > On Fri, Nov 6, 2015 at 12:54 AM, Arnd Bergmann wrote: > > On Thursday 05 November 2015 15:41:23 Moritz Fischer wrote: > >> +/* Pin names for the E31x usecase */ > >> +#define E31X_TX_BANDSEL_2 "DB_1" > >> +#define

Re: [PATCH v3] h8300: cleanup startup and remove module code.

2015-11-06 Thread Daniel Lezcano
On 11/06/2015 05:31 PM, Yoshinori Sato wrote: h8300's clocksource driver update. Changes for v2 - Diff base on 6ddcedf38a75f94bf662438afd7ed8c7837ab00e Changes for v1 - Drop non-initialize changes. - Private data static allocation. - Avoid magic number. - Use request_irq. Signed-off-by:

Re: i.MX6: Oops when unplugging a USB key

2015-11-06 Thread Arnd Bergmann
On Friday 06 November 2015 17:32:30 Jean-Michel Hautbois wrote: > I have an issue on my i.MX6 board I don't understand (kernel is a 4.2)... > When I connect a USB key, and then disconnect it, it oopses and > reboots (as I have panic on oops, and reboot on panic). > Seems to be on the umount

Re: [PATCH v2] arm64: defconfig: Enable samsung MFD and related configs

2015-11-06 Thread Catalin Marinas
On Fri, Nov 06, 2015 at 02:47:12PM +0900, Krzysztof Kozlowski wrote: > 2015-11-06 14:27 GMT+09:00 Alim Akhtar : > > Exynos7 based espresso board uses S2MPS15, a multifunction device. > > This patch enables S2MPS1X regulator, pmic-clk and rtc drivers utilized by > > the same. > > > > Signed-off-by:

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Johannes Weiner
On Fri, Nov 06, 2015 at 12:05:55PM +0300, Vladimir Davydov wrote: > On Thu, Nov 05, 2015 at 03:55:22PM -0500, Johannes Weiner wrote: > > On Thu, Nov 05, 2015 at 03:40:02PM +0100, Michal Hocko wrote: > ... > > > 3) keep only some (safe) cache types enabled by default with the current > > >

Re: [PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-11-06 Thread Chen-Yu Tsai
On Tue, Oct 27, 2015 at 5:32 AM, Olliver Schinagl wrote: > The pwm-block of some of the sunxi chips feature a 'ready' flag to > indicate the software that it is ready for new commands. > > Right now, when we call pwm_config and set the period, we write the > values to the registers, and turn off

i.MX6: Oops when unplugging a USB key

2015-11-06 Thread Jean-Michel Hautbois
Hi ! I have an issue on my i.MX6 board I don't understand (kernel is a 4.2)... When I connect a USB key, and then disconnect it, it oopses and reboots (as I have panic on oops, and reboot on panic). Seems to be on the umount part... The USB is connected through a smsc95xx but I don't think this

[PATCH v3] h8300: cleanup startup and remove module code.

2015-11-06 Thread Yoshinori Sato
h8300's clocksource driver update. Changes for v2 - Diff base on 6ddcedf38a75f94bf662438afd7ed8c7837ab00e Changes for v1 - Drop non-initialize changes. - Private data static allocation. - Avoid magic number. - Use request_irq. Signed-off-by: Yoshinori Sato ---

Re: [PATCH net] net/qlcnic: fix mac address restore in bond mode 5/6

2015-11-06 Thread Jarod Wilson
Jarod Wilson wrote: The bonding driver saves a copy of slaves' original mac address and then assigns whatever mac as needed to the slave, depending on mode. In at least modes 5 and 6 (balance-tlb, balance-alb), it often ends up being the mac address of another slave. On release from the bond,

Re: [GIT PULL] arm64 updates for 4.4

2015-11-06 Thread Arnd Bergmann
On Friday 06 November 2015 16:04:08 Catalin Marinas wrote: > On Fri, Nov 06, 2015 at 10:57:58AM +0100, Arnd Bergmann wrote: > > On Thursday 05 November 2015 18:27:18 Catalin Marinas wrote: > > > On Wed, Nov 04, 2015 at 02:55:01PM -0800, Linus Torvalds wrote: > > > > On Wed, Nov 4, 2015 at 10:25

[PATCH] iommu/s390: fix sparse warnings

2015-11-06 Thread Sebastian Ott
Fix these warnings: CHECK drivers/iommu/s390-iommu.c drivers/iommu/s390-iommu.c:52:21: warning: symbol 's390_domain_alloc' was not declared. Should it be static? drivers/iommu/s390-iommu.c:76:6: warning: symbol 's390_domain_free' was not declared. Should it be static? Signed-off-by:

[GIT PULL] ext4 changes for 4.4

2015-11-06 Thread Theodore Ts'o
The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde: Linux 4.3-rc2 (2015-09-20 14:32:34 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus for you to fetch changes up to

Re: [PATCH] arm64: remove redundant FRAME_POINTER kconfig option

2015-11-06 Thread Will Deacon
On Fri, Nov 06, 2015 at 04:21:09PM +, Catalin Marinas wrote: > On Fri, Nov 06, 2015 at 12:50:02PM +, Mark Rutland wrote: > > On Fri, Nov 06, 2015 at 12:30:09PM +, Will Deacon wrote: > > > On Wed, Nov 04, 2015 at 09:37:51AM -0800, Yang Shi wrote: > > > > FRAME_POINTER is defined in

[GIT PULL] PCI changes for v4.4

2015-11-06 Thread Bjorn Helgaas
Hi Linus, Here are the PCI changes I intend for v4.4. There's one silent conflict because I added the Altera host driver, which uses the pci_msi_create_irq_domain() interface. That interface was changed this cycle by be5436c83ac8 ("irqdomain/msi: Use fwnode instead of of_node"). I included

Re: [PATCH 3/7] drivers:input:tsc2007: add iio interface to read external ADC input, temperature and raw conversion values

2015-11-06 Thread H. Nikolaus Schaller
Am 06.11.2015 um 17:08 schrieb kbuild test robot : > Hi Nikolaus, > > [auto build test ERROR on input/next] > [also build test ERROR on v4.3 next-20151106] > > url: > https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/drivers-touchscreen-tsc2007-and-ads7846

RE: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-11-06 Thread Moore, Robert
> Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of > strtoul()/simple_strtoul() So, this would fix the issue(s) (in aclinux.h): #define strtoul kstrtoul strtoul is used frequently in with the ACPICA in-kernel AML Debugger: dbcmds.c(188):Address = strtoul

[GIT PULL] sound updates for 4.4-rc1

2015-11-06 Thread Takashi Iwai
Linus, please pull sound updates for v4.4-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.4-rc1 The topmost commit is 5cf92c8b3dc5da59e05dc81bdc069cedf6f38313 sound updates for 4.4-rc1

Re: [PATCH] arm64: remove redundant FRAME_POINTER kconfig option

2015-11-06 Thread Catalin Marinas
On Fri, Nov 06, 2015 at 12:50:02PM +, Mark Rutland wrote: > On Fri, Nov 06, 2015 at 12:30:09PM +, Will Deacon wrote: > > On Wed, Nov 04, 2015 at 09:37:51AM -0800, Yang Shi wrote: > > > FRAME_POINTER is defined in lib/Kconfig.debug, it is unnecessary to > > > redefine > > > it in

Re: [PATCH] arm64: add HAVE_LATENCYTOP_SUPPORT config

2015-11-06 Thread Will Deacon
On Sat, Nov 07, 2015 at 12:11:16AM +0800, yalin wang wrote: > i just enable it on ARM64, > and it can work, > i don’t see some special requirement to enable this config . Right, so why does HAVE_LATENCYTOP_SUPPORT exist? Will -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Johannes Weiner
On Fri, Nov 06, 2015 at 11:57:24AM +0100, Michal Hocko wrote: > On Thu 05-11-15 17:52:00, Johannes Weiner wrote: > > On Thu, Nov 05, 2015 at 03:55:22PM -0500, Johannes Weiner wrote: > > > On Thu, Nov 05, 2015 at 03:40:02PM +0100, Michal Hocko wrote: > > > > This would be true if they moved on to

Re: [PATCH] arm64: remove redundant FRAME_POINTER kconfig option

2015-11-06 Thread Will Deacon
On Fri, Nov 06, 2015 at 04:12:14PM +, Catalin Marinas wrote: > On Fri, Nov 06, 2015 at 12:30:09PM +, Will Deacon wrote: > > On Wed, Nov 04, 2015 at 09:37:51AM -0800, Yang Shi wrote: > > > FRAME_POINTER is defined in lib/Kconfig.debug, it is unnecessary to > > > redefine > > > it in

Re: [PATCH 08/10] pwm: core: add pulse feature to the PWM framework

2015-11-06 Thread Olliver Schinagl
Hey Thierry, On 06-11-15 17:05, Thierry Reding wrote: On Fri, Nov 06, 2015 at 04:46:54PM +0100, Olliver Schinagl wrote: Hey Thierry, On 06-11-15 16:18, Thierry Reding wrote: On Mon, Oct 26, 2015 at 10:32:39PM +0100, Olliver Schinagl wrote: From: Olliver Schinagl Some hardware PWM's have

[PATCH] jbd2: get rid of superfluous __GFP_REPEAT

2015-11-06 Thread mhocko
From: Michal Hocko jbd2_alloc is explicit about its allocation preferences wrt. the allocation size. Sub page allocations go to the slab allocator and larger are using either the page allocator or vmalloc. This is all good but the logic is unnecessarily complex. Requests larger than order-3 are

Re: [PATCH 1/1 v4] drivers/nvme: default to 4k device page size

2015-11-06 Thread Nishanth Aravamudan
On 05.11.2015 [11:58:39 -0800], Christoph Hellwig wrote: > Looks fine, > > Reviewed-by: Christoph Hellwig > > ... but I doubt we'll ever bother updating it. Most architectures > with arger page sizes also have iommus and would need different settings > for different iommus vs direct mapping

Re: [PATCH] bq2415x_charger: Delete unnecessary checks before the function call "of_node_put"

2015-11-06 Thread Pali Rohár
On Friday 06 November 2015 16:56:33 SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 6 Nov 2015 16:48:46 +0100 > > The of_node_put() function tests whether its argument is NULL and then > returns immediately. Thus the test around the calls is not needed. > > This issue was detected

Re: [PATCH] arm64: remove redundant FRAME_POINTER kconfig option

2015-11-06 Thread Catalin Marinas
On Fri, Nov 06, 2015 at 12:30:09PM +, Will Deacon wrote: > On Wed, Nov 04, 2015 at 09:37:51AM -0800, Yang Shi wrote: > > FRAME_POINTER is defined in lib/Kconfig.debug, it is unnecessary to redefine > > it in arch/arm64/Kconfig.debug. > > It might be worth noting that this adds a dependency on

Re: [PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:34PM +0100, Olliver Schinagl wrote: > The pwm-block of some of the sunxi chips feature a 'ready' flag to > indicate the software that it is ready for new commands. > > Right now, when we call pwm_config and set the period, we write the > values to the registers, and

Re: [PATCH] arm64: add HAVE_LATENCYTOP_SUPPORT config

2015-11-06 Thread yalin wang
i just enable it on ARM64, and it can work, i don’t see some special requirement to enable this config . > On Nov 7, 2015, at 00:05, Will Deacon wrote: > > On Fri, Nov 06, 2015 at 11:57:58PM +0800, yalin wang wrote: >> Add HAVE_LATENCYTOP_SUPPORT in Kconfig, so that >> we can enable this feature

Re: [PATCH 02/10] pwm: sunxi: fix whitespace issue

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:33PM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > This patch changes no code, it just fixes the whitespacing > > Signed-off-by: Olliver Schinagl > --- > drivers/pwm/pwm-sun4i.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, with

Re: [PATCH 0/14] init: deps: dependency based (parallelized) init

2015-11-06 Thread Alexander Holler
Hello, in order to "conserve" the patches, I've setup a repository named parallelized_kernel_init at github. I've just put patches for 4.3 into that repository, also I don't know if and how long I will use and maintain this series. Regards, Alexander Holler -- To unsubscribe from this

Re: [PATCH 00/10] merge_config misc reworks and testcases

2015-11-06 Thread Michal Marek
On 2015-10-28 01:46, Olof Johansson wrote: > On Wed, Oct 28, 2015 at 9:42 AM, Olof Johansson wrote: >> Hi, >> >> Somewhat wide distribution list here, since I've added everyone who's >> touched the script, with the presumption that those have been the major >> users of it. Please make sure none

Re: [PATCH 3/7] drivers:input:tsc2007: add iio interface to read external ADC input, temperature and raw conversion values

2015-11-06 Thread kbuild test robot
Hi Nikolaus, [auto build test ERROR on input/next] [also build test ERROR on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/drivers-touchscreen-tsc2007-and-ads7846-tsc2046-improvements-use-common-touchscreen-bindings-pre-calibration-spi-fix-and-provide

Re: fs: out of bounds on stack in iov_iter_advance

2015-11-06 Thread Jens Axboe
On 11/05/2015 08:38 PM, Linus Torvalds wrote: On Thu, Nov 5, 2015 at 6:19 PM, Al Viro wrote: How are we going to handle that one? I can put it into mainline pull request via vfs.git, with Cc: stable, but if e.g. Jens prefers to take it via the block tree, I'll be glad to leave it for him to

Re: [PATCH 08/10] pwm: core: add pulse feature to the PWM framework

2015-11-06 Thread Thierry Reding
On Fri, Nov 06, 2015 at 04:46:54PM +0100, Olliver Schinagl wrote: > Hey Thierry, > > On 06-11-15 16:18, Thierry Reding wrote: > >On Mon, Oct 26, 2015 at 10:32:39PM +0100, Olliver Schinagl wrote: > >>From: Olliver Schinagl > >> > >>Some hardware PWM's have the possibility to only send out one (or

Re: [GIT PULL] arm64 updates for 4.4

2015-11-06 Thread Catalin Marinas
On Fri, Nov 06, 2015 at 10:57:58AM +0100, Arnd Bergmann wrote: > On Thursday 05 November 2015 18:27:18 Catalin Marinas wrote: > > On Wed, Nov 04, 2015 at 02:55:01PM -0800, Linus Torvalds wrote: > > > On Wed, Nov 4, 2015 at 10:25 AM, Catalin Marinas > > > wrote: > > > It's good for single-process

Re: [PATCH] arm64: add HAVE_LATENCYTOP_SUPPORT config

2015-11-06 Thread Will Deacon
On Fri, Nov 06, 2015 at 11:57:58PM +0800, yalin wang wrote: > Add HAVE_LATENCYTOP_SUPPORT in Kconfig, so that > we can enable this feature on ARM64 Do you know what the prerequisites for HAVE_LATENCYTOP_SUPPORT actually are (beyond those explicitly listed as dependencies for CONFIG_LATENCYTOP)?

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-11-06 Thread Dan Williams
On Fri, Nov 6, 2015 at 12:06 AM, Thomas Gleixner wrote: > On Thu, 5 Nov 2015, Dan Williams wrote: >> On Wed, Oct 28, 2015 at 3:51 PM, Ross Zwisler >> wrote: >> > On Wed, Oct 28, 2015 at 06:24:29PM -0400, Jeff Moyer wrote: >> >> Ross Zwisler writes: >> >> >> >> > This series implements the very

Re: [PATCH 2/8] mmc: handle add_disk() return value

2015-11-06 Thread Ulf Hansson
On 6 November 2015 at 13:22, Vishnu Pratap Singh wrote: > This patch handles add_disk() return value. > Earlier add_disk() function doesn't handle error > cases, now it is added, so the callers of this function > should also handle it. > > Verfied on X86 based ubuntu machine. > This patch

Re: [RFC 3/3] ARM: e3xx: Add header file for pinctrl constants

2015-11-06 Thread Moritz Fischer
Hi Arnd, On Fri, Nov 6, 2015 at 12:54 AM, Arnd Bergmann wrote: > On Thursday 05 November 2015 15:41:23 Moritz Fischer wrote: >> +/* Pin names for the E31x usecase */ >> +#define E31X_TX_BANDSEL_2 "DB_1" >> +#define E31X_RX1B_BANDSEL_0"DB_3" >> +#define E31X_RX1B_BANDSEL_1"DB_5" >>

[PATCH 1/2] mmc: sdhci: set bus voltage before enabling bus power

2015-11-06 Thread Ludovic Desroches
When there is a vmmc regulator, only SD Bus Power is set to 1 in the Power Control Register. It means SD Bus Voltage Select field is set to 0 that is a reserved value. The SD Host Controller specification says: 'SD Bus Power: Before setting this bit, the SD Host Driver shall set SD Bus Voltage

[PATCH 2/2] ARM: at91/dt: sama5d2 Xplained: add regulators for sdhci devices

2015-11-06 Thread Ludovic Desroches
Add vmmc and vqmmc regulators for sdhci devices. The voltage for sdmmc0 vqmmc is selected by a signal from coming from the sdhci device. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCH 0/2] mmc: sdhci: potentially bad behavior when using vmmc supply

2015-11-06 Thread Ludovic Desroches
Hi, I would like to have some feedback for these two patches. I have two questions. 1. To suppress the warnings telling me I have no vmmc and vqmmc supplies, I have added them and discovered that adding a vmmc supply involve only writing 1 in the Power Control Register involves enabling the SD

Re: [PATCH] Ext4: Fix extended timestamp encoding and decoding

2015-11-06 Thread Theodore Ts'o
On Thu, Nov 05, 2015 at 10:14:24AM -0800, Darrick J. Wong wrote: > ...but I guess nobody ever developed the e2fsprogs regression tests that Ted > asked for, so none of the patches got merged. Ho hum. I haven't forgotten, and it's been put on my "if you want to do it right, you'll have to do it

[PATCH] arm64: add HAVE_LATENCYTOP_SUPPORT config

2015-11-06 Thread yalin wang
Add HAVE_LATENCYTOP_SUPPORT in Kconfig, so that we can enable this feature on ARM64 Signed-off-by: yalin wang --- arch/arm64/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 851fe11..782b5bd 100644 --- a/arch/arm64/Kconfig +++

[PATCH] bq2415x_charger: Delete unnecessary checks before the function call "of_node_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 16:48:46 +0100 The of_node_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH 07/10] pwm: gpio: Add a generic gpio based PWM driver

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:38PM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > This patch adds a bit-banging gpio PWM driver. It makes use of hrtimers, > to allow nano-second resolution, though it obviously strongly depends on > the switching speed of the gpio pins, hrtimer and

Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: Kernel 4.3 breaks security in systems using capabilities

2015-11-06 Thread Theodore Ts'o
On Fri, Nov 06, 2015 at 02:58:36PM +0100, Klaus Ethgen wrote: > But that left out completely the, I think more important, usecase of > _removing_ SUID completely and _replacing_ it with very tight capability > setting. And that is what I always talked about. I don't believe this is ever going to

[PATCH] goldfish: fix goldfish_pipe driver BUG

2015-11-06 Thread yalin wang
goldfish_pipe_read_write() should pass the buffer's physical address to qemu, so that host can copy access data correctly, currently, the drier write a virtual address into address register, host can not get correct data, then adbd daemon can not work in guest. Also I comment off

[PATCH RESEND] scsi_sysfs: protect against double execution of __scsi_remove_device()

2015-11-06 Thread Vitaly Kuznetsov
On some host errors storvsc module tries to remove sdev by scheduling a job which does the following: sdev = scsi_device_lookup(wrk->host, 0, 0, wrk->lun); if (sdev) { scsi_remove_device(sdev); scsi_device_put(sdev); } While this code seems correct the following crash is

[PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-06 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 475 ++ 3 files changed, 483 insertions(+) create mode

[PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-06 Thread Bayi Cheng
This series is based on v4.3-rc1 and l2-mtd.git [0] and erase_sector implementation patch [1] [0]: git://git.infradead.org/l2-mtd.git [1]: http://lists.infradead.org/pipermail/linux-mtd/2015-October//062959.html Change in v6: 1: delete mt8173_nor_do_rx 2: delete mt8173_nor_do_rx 3: add

[PATCH v6 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-11-06 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644

[PATCH v6 3/3] arm64: dts: mt8173: Add nor flash node

2015-11-06 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..f5f08eb 100644 ---

Re: [PATCH 08/10] pwm: core: add pulse feature to the PWM framework

2015-11-06 Thread Olliver Schinagl
Hey Thierry, On 06-11-15 16:18, Thierry Reding wrote: On Mon, Oct 26, 2015 at 10:32:39PM +0100, Olliver Schinagl wrote: From: Olliver Schinagl Some hardware PWM's have the possibility to only send out one (or more) pulses. This can be quite a useful feature in case one wants or needs only a

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Jiang Liu
On 2015/11/6 23:32, Jiang Liu wrote: > On 2015/11/6 22:45, Lorenzo Pieralisi wrote: >> On Fri, Nov 06, 2015 at 09:22:46PM +0800, Jiang Liu wrote: >>> On 2015/11/6 20:40, Tomasz Nowicki wrote: On 06.11.2015 12:46, Jiang Liu wrote: > On 2015/11/6 18:37, Tomasz Nowicki wrote: >> On

Re: [PATCH] arm64: remove redundant FRAME_POINTER kconfig option

2015-11-06 Thread Will Deacon
On Fri, Nov 06, 2015 at 12:50:02PM +, Mark Rutland wrote: > On Fri, Nov 06, 2015 at 12:30:09PM +, Will Deacon wrote: > > On Wed, Nov 04, 2015 at 09:37:51AM -0800, Yang Shi wrote: > > > FRAME_POINTER is defined in lib/Kconfig.debug, it is unnecessary to > > > redefine > > > it in

Re: Deadlock between bind and splice

2015-11-06 Thread Eric Dumazet
On Fri, 2015-11-06 at 13:58 +0100, Dmitry Vyukov wrote: > Hello, > > I am on revision d1e41ff11941784f469f17795a4d9425c2eb4b7a (Nov 5) and > seeing the following lockdep reports. I don't have exact reproducer > program as it is caused by several independent programs (state > accumulated in kernel

Re: [PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB

2015-11-06 Thread Alan Stern
On Fri, 6 Nov 2015, Georgi Djakov wrote: > On 11/06/2015 08:04 AM, Andy Gross wrote: > > This patch sets the AHBMODE to allow for posted data writes. This > > results in higher performance. > > > > Signed-off-by: Andy Gross > > With these patches I see significant improvement in throughput >

Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context

2015-11-06 Thread Alan Stern
On Thu, 5 Nov 2015, Doug Anderson wrote: > Alan, > > On Thu, Nov 5, 2015 at 7:19 AM, Alan Stern wrote: > > On Wed, 4 Nov 2015, Doug Anderson wrote: > > > >> In the ChromeOS gerrit > >> Julius Werner > >> points out that for EHCI it was good

RE: [PATCH] [v4] x86, suspend: Save/restore extra MSR registers for suspend

2015-11-06 Thread Doug Smythies
On 2015.11.01 08:50 Chen, Yu C wrote: >> On 2015.10.10 19:27 Chen, Yu C wrote: >>> On 2105.10.10 02:56 Doug Smythies wrote: >>> > The current version of the intel_pstate driver is incompatible with > any use of Clock Modulation, always resulting in driving the target > pstate to the

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Jiang Liu
On 2015/11/6 22:45, Lorenzo Pieralisi wrote: > On Fri, Nov 06, 2015 at 09:22:46PM +0800, Jiang Liu wrote: >> On 2015/11/6 20:40, Tomasz Nowicki wrote: >>> On 06.11.2015 12:46, Jiang Liu wrote: On 2015/11/6 18:37, Tomasz Nowicki wrote: > On 06.11.2015 09:52, Jiang Liu wrote: > Sure,

Re: [PATCH 5/7] crypto: picoxcell: check return value of sg_nents_for_len

2015-11-06 Thread Jamie Iles
On Wed, Nov 04, 2015 at 09:13:37PM +0100, LABBE Corentin wrote: > The sg_nents_for_len() function could fail, this patch add a check for > its return value. > In the same time, we remove sg_count() as it is used as an alias of > sg_nents_for_len. > > Signed-off-by: LABBE Corentin Acked-by:

RE: [GIT] Networking

2015-11-06 Thread David Laight
> From: Linus Torvalds > Sent: 03 November 2015 20:45 > On Tue, Nov 3, 2015 at 12:05 PM, Linus Torvalds > wrote: > > result = add_overflow( > > mul_overflow(sec, SEC_CONVERSION, ), > > mul_overflow(nsec, NSEC_CONVERSION, ), > > ); > > > > return overflow ?

RE: [PATCH v2 1/1] staging: rdma: hfi1 : Prefer using the BIT macro

2015-11-06 Thread Marciniszyn, Mike
> Cc: Sunny Kumar > Subject: [PATCH v2 1/1] staging: rdma: hfi1 : Prefer using the BIT macro > > This patch replaces bit shifting on 1 with the BIT(x) macro > > Signed-off-by: Sunny Kumar > --- Thanks for the patch! Acked-by: Mike Marciniszyn -- To unsubscribe from this list: send the line

Re: [PATCH] mm: add page_check_address_transhuge helper

2015-11-06 Thread Kirill A. Shutemov
On Fri, Nov 06, 2015 at 05:37:07PM +0300, Vladimir Davydov wrote: > diff --git a/mm/rmap.c b/mm/rmap.c > index 0837487d3737..7ac775e41820 100644 > --- a/mm/rmap.c > +++ b/mm/rmap.c > @@ -796,48 +796,43 @@ int page_mapped_in_vma(struct page *page, struct > vm_area_struct *vma) > return 1; >

Re: [PATCH v2] drm/imx: ipuv3-crtc: Return error if ipu_plane_init() fails for primary plane

2015-11-06 Thread Philipp Zabel
Am Freitag, den 06.11.2015, 22:42 +0800 schrieb Liu Ying: > For primary plane initialization failure cases, ipu_plane_init() may return > a pointer encoded by ERR_PTR(). So, we should bailout instead of using that > pointer blindly. > > Signed-off-by: Liu Ying > --- > v1->v2: > * Trivial commit

[PATCH 3/3] staging: rtl8188eu: goto removed

2015-11-06 Thread Ivan Safonov
malloc error handling moved into one place. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 67 +++- 1 file changed, 13 insertions(+), 54 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c

[PATCH 2/3] staging: rtl8188eu: if/else replaced by min_t

2015-11-06 Thread Ivan Safonov
Duplicated code removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index c0fff77..80c602e 100644 ---

[PATCH 1/3] staging: rtl8188eu: goto replaced by 'else' branch

2015-11-06 Thread Ivan Safonov
goto is not needed here. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index

Re: [PATCH 08/10] pwm: core: add pulse feature to the PWM framework

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:39PM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > Some hardware PWM's have the possibility to only send out one (or more) > pulses. This can be quite a useful feature in case one wants or needs > only a single pulse, but at the exact width. > >

[PATCH 2/7] drivers:input:tsc2007: send pendown and penup only once like ads7846(+tsc2046) driver does

2015-11-06 Thread H. Nikolaus Schaller
this should reduce unnecessary input events. Signed-off-by: H. Nikolaus Schaller --- drivers/input/touchscreen/tsc2007.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c index

[PATCH 3/7] drivers:input:tsc2007: add iio interface to read external ADC input, temperature and raw conversion values

2015-11-06 Thread H. Nikolaus Schaller
The tsc2007 chip not only has a resistive touch screen controller but also an external AUX adc imput which can be used for an ambient light sensor, battery voltage monitoring or any general purpose. Additionally it can measure the chip temperature. This driver provides an iio interface for these

<    2   3   4   5   6   7   8   9   10   11   >