Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Michael Kerrisk (man-pages)
Hello Fam Zheng, On 02/05/2015 02:52 AM, Fam Zheng wrote: > On Wed, 02/04 13:44, Michael Kerrisk (man-pages) wrote: >> Hello Fam Zheng, >> >> On 02/04/2015 11:36 AM, Fam Zheng wrote: >>> Changes from v1 (https://lkml.org/lkml/2015/1/20/189): >>> >>> - As discussed in previous thread [1], split t

Re: [PATCH] ARM: Don't use complete() during __cpu_die

2015-02-04 Thread Krzysztof Kozlowski
On śro, 2015-02-04 at 09:57 -0800, Paul E. McKenney wrote: > On Wed, Feb 04, 2015 at 05:53:55PM +0100, Krzysztof Kozlowski wrote: > > The complete() should not be used on offlined CPU. Rewrite the > > wait-complete mechanism with wait_on_bit_timeout(). > > > > The CPU triggering hot unplug (e.g. C

RE: [f2fs-dev] [PATCH 1/2] f2fs: keep PagePrivate during releasepage

2015-02-04 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, February 03, 2015 6:51 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 1/2] f2fs: keep PagePriv

Re: [PATCH manpages] modify_ldt.2: Clarify the lm bit's behavior

2015-02-04 Thread Michael Kerrisk (man-pages)
On 02/04/2015 10:53 PM, Andy Lutomirski wrote: > The lm bit should never have existed in the first place. Sigh. Thanks, Andy. Applied in the branch. Cheers, Michael > Signed-off-by: Andy Lutomirski > --- > man2/modify_ldt.2 | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions

RE: [f2fs-dev] [PATCH 2/2] f2fs: show the number of writeback pages in stat

2015-02-04 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, February 03, 2015 6:51 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 2/2] f2fs: show the numb

Re: [PATCH] ARM: Don't use complete() during __cpu_die

2015-02-04 Thread Krzysztof Kozlowski
On śro, 2015-02-04 at 14:42 -0800, Stephen Boyd wrote: > On 02/04/15 08:53, Krzysztof Kozlowski wrote: > > The complete() should not be used on offlined CPU. Rewrite the > > wait-complete mechanism with wait_on_bit_timeout(). > > > > The CPU triggering hot unplug (e.g. CPU0) will loop until some bi

Re: [PATCH 0/5] RFC: Offer a way for userspace to request real deletion of files

2015-02-04 Thread Michael Kerrisk
[CC += linux-api@] Hello Alexander, The kernel source file Documentation/SubmitChecklist notes that all Linux kernel patches that change userspace interfaces should be CCed to linux-...@vger.kernel.org. See also https://www.kernel.org/doc/man-pages/linux-api-ml.html. Please CC linux-api@ on futur

Re: [PATCH 1/5] WIP: Add syscall unlinkat_s (currently x86* only)

2015-02-04 Thread Michael Kerrisk
[CC += linux-api@] On Mon, Feb 2, 2015 at 6:05 PM, Alexander Holler wrote: > Signed-off-by: Alexander Holler > --- > arch/x86/syscalls/syscall_32.tbl | 1 + > arch/x86/syscalls/syscall_64.tbl | 1 + > fs/namei.c| 38 > ++-

[PATCH 2/2] cxl: Fail AFU initialisation if an invalid configuration record is found

2015-02-04 Thread Ian Munsie
From: Ian Munsie If an AFU claims to have a configuration record but doesn't actually contain a vendor and device ID, fail the AFU initialisation. Right now this is just a way of politely letting AFU developers know that they need to fix their config space, but later on we may expose the AFUs as

[PATCH 1/2] cxl: Export optional AFU configuration record in sysfs

2015-02-04 Thread Ian Munsie
From: Ian Munsie An AFU may optionally contain one or more PCIe like configuration records, which can be used to identify the AFU. This patch adds support for exposing the raw config space and the vendor, device and class code under sysfs. These will appear in a subdirectory of the AFU device co

[PATCH] cxl: Add missing return statement after handling AFU errror

2015-02-04 Thread Ian Munsie
From: Ian Munsie We were missing a return statement in the PSL interrupt handler in the case of an AFU error, which would trigger an "Unhandled CXL PSL IRQ" warning. We do actually handle these type of errors (by notifying userspace), so add the missing return IRQ_HANDLED so we don't throw uneces

[PATCH 2/3] wireless: orinoco: orinoco_pci use msecs_to_jiffies for conversion

2015-02-04 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Converting milliseconds to jiffies by "val * HZ / 1000" is technically ok but msecs_to_jiffies(val) is the cleaner solution and handle

[PATCH 3/3] wireless: orinoco: orinoco_tmd use msecs_to_jiffies for conversion

2015-02-04 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Converting milliseconds to jiffies by "val * HZ / 1000" is technically ok but msecs_to_jiffies(val) is the cleaner solution and handle

[PATCH 1/3] wireless: orinoco: orinoco_plx use msecs_to_jiffies for conversion

2015-02-04 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Converting milliseconds to jiffies by "val * HZ / 1000" is technically ok but msecs_to_jiffies(val) is the cleaner solution and handle

RE: [PATCH 1/4] Drivers: hv: vmbus: implement get/put usage workflow for vmbus channels

2015-02-04 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, February 4, 2015 1:01 AM > To: KY Srinivasan; de...@linuxdriverproject.org > Cc: Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui; Jason Wang > Subject: [PATCH 1/4] Drivers: hv: vmbus: imple

Re: [PATCH V2 00/12] POWER DSCR fixes, improvements, docs and tests

2015-02-04 Thread Anshuman Khandual
On 01/13/2015 03:52 PM, Anshuman Khandual wrote: > This patch series has patches for POWER DSCR fixes, improvements, > in code documentaion, kernel support user documentation and selftest based > test cases. It has got five test cases which are derived from Anton's DSCR > test bucket which ca

Re: Re: [PATCH] gpio: mmp: add GPIO driver for Marvell MMP series

2015-02-04 Thread Linus Walleij
On Wed, Feb 4, 2015 at 3:10 AM, Chao Xie wrote: > At 2015-02-03 21:21:43, "Linus Walleij" wrote: >>Since this looks like a basic MMIO driver I think >>you should also use: >> >>select GPIO_GENERIC >> > > I think the gpio-mmp is not same as gpio-generic. > gpio-mmp need control the level/directio

[PATCH v3] mailbox: Add Altera mailbox driver

2015-02-04 Thread Ley Foon Tan
The Altera mailbox allows for interprocessor communication. It supports only one channel and work as either sender or receiver. Signed-off-by: Ley Foon Tan --- v3: - s/readl/readl_relaxed and s/writel/writel_relaxed - Change polling interval to 5ms - Change to use polling mode if request_irq()

[Patch v3] x86/PCI: Refine the way to release PCI IRQ resources

2015-02-04 Thread Jiang Liu
Some PCI device drivers assume that pci_dev->irq won't change after calling pci_disable_device() and pci_enable_device() during suspend and resume. Commit c03b3b0738a5 ("x86, irq, mpparse: Release IOAPIC pin when PCI device is disabled") frees PCI IRQ resources when pci_disable_device() is called

linux-next: Tree for Feb 4

2015-02-04 Thread Stephen Rothwell
Hi all, The next release I will be making will be next-20150209 - which will probably be after the v3.19 release. Changes since 20150203: The sound-asoc tree gained a conflict against the sound tree. The scsi tree gained a build failure caused by an interaction with the driver-core tree. I app

Re: [PATCH V2 00/12] POWER DSCR fixes, improvements, docs and tests

2015-02-04 Thread Anshuman Khandual
On 02/04/2015 01:51 PM, Anshuman Khandual wrote: > On 01/13/2015 03:52 PM, Anshuman Khandual wrote: >> >This patch series has patches for POWER DSCR fixes, improvements, >> > in code documentaion, kernel support user documentation and selftest based >> > test cases. It has got five test cases w

Re: [RFC/PATCH] pinctrl: sh-pfc: Accept standard function, pins and groups properties

2015-02-04 Thread Linus Walleij
On Tue, Jan 27, 2015 at 9:31 PM, Laurent Pinchart wrote: > The "function", "pins" and "groups" pinmux and pinctrl properties have > been standardized. Support them in addition to the custom "renesas,*" > properties. New-style and old-style properties can't be mixed in DT. > > Signed-off-by: Laure

Re: [PATCH] sh-pfc: emev2 - Fix mangled author name

2015-02-04 Thread Linus Walleij
On Thu, Jan 29, 2015 at 11:12 AM, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Fixes: 1e7d5d849cf4f0c5 ("sh-pfc: Add emev2 pinmux support") > --- > Looks like the original UTF-8 was interpreted as ISO-8859-1, and the > resulting characters being converted to UTF-8 again. > > B

Re: [PATCH] ARM: berlin: add a defconfig

2015-02-04 Thread Antoine Tenart
Hi Sebastian, On Tue, Feb 03, 2015 at 11:26:46PM +0100, Sebastian Hesselbarth wrote: > On 03.02.2015 13:54, Arnd Bergmann wrote: > >On Tuesday 03 February 2015 12:28:52 Antoine Tenart wrote: > >>Marvell Berlin SoCs did not have a custom defconfig and were only > >>supported in multi_v7_defconfig.

Re: [PATCH] pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs

2015-02-04 Thread Linus Walleij
On Thu, Jan 29, 2015 at 11:44 AM, Mika Westerberg wrote: > If the pin is in HiZ mode when it is requested as GPIO its value cannot be > read (it always returns 0). In order to cope with the Linux GPIO subsystem > where we do not have such state at all, turn the pin to be input instead. > > Report

Re: [PATCH] sh-pfc: emev2 - Fix mangled author name

2015-02-04 Thread Geert Uytterhoeven
Hi Linus, On Wed, Feb 4, 2015 at 9:54 AM, Linus Walleij wrote: > On Thu, Jan 29, 2015 at 11:12 AM, Geert Uytterhoeven > wrote: > >> Signed-off-by: Geert Uytterhoeven >> Fixes: 1e7d5d849cf4f0c5 ("sh-pfc: Add emev2 pinmux support") >> --- >> Looks like the original UTF-8 was interpreted as ISO-88

Re: Backport of spi-fsl-spi bugfix to 3.14.y

2015-02-04 Thread Esben Haabendal
On Sun, 2015-01-25 at 14:07 -0800, Greg Kroah-Hartman wrote: > On Sun, Jan 25, 2015 at 08:12:54PM +, Mark Brown wrote: > > On Sun, Jan 25, 2015 at 09:38:53AM -0800, Greg Kroah-Hartman wrote: > > > On Fri, Jan 23, 2015 at 12:45:29PM +, Mark Brown wrote: > > > > > > So, I now see this has ac

Re: [PATCH v8 13/21] ARM64 / ACPI: Parse MADT for SMP initialization

2015-02-04 Thread Hanjun Guo
On 2015年02月03日 21:53, Mark Rutland wrote: On Mon, Feb 02, 2015 at 12:45:41PM +, Hanjun Guo wrote: MADT contains the information for MPIDR which is essential for SMP initialization, parse the GIC cpu interface structures to get the MPIDR value and map it to cpu_logical_map(), and add enabled

Re: [PATCH v8 06/21] ARM64 / ACPI: Introduce PCI stub functions for ACPI

2015-02-04 Thread Hanjun Guo
On 2015年02月03日 22:55, Rafael J. Wysocki wrote: On Tuesday, February 03, 2015 09:30:00 PM Hanjun Guo wrote: On 2015年02月03日 20:15, Catalin Marinas wrote: On Mon, Feb 02, 2015 at 12:45:34PM +, Hanjun Guo wrote: diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c index ce5836c..c17e

[PATCH] sched/dl: Do update_rq_clock() in yield_task_dl()

2015-02-04 Thread Kirill Tkhai
update_curr_dl() needs actual rq clock. Signed-off-by: Kirill Tkhai --- kernel/sched/deadline.c |1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index e7b2722..f4dbedd 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -

Re: [PATCH 3.4 000/177] 3.4.106-rc1 review

2015-02-04 Thread Zefan Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2015/1/29 0:30, Ben Hutchings wrote: > On Wed, 2015-01-28 at 12:07 +0800, l...@kernel.org wrote: >> From: Zefan Li >> >> This is the start of the stable review cycle for the 3.4.106 release. >> There are 177 patches in this series, all will be post

Linux 3.4.106

2015-02-04 Thread Zefan Li
I'm announcing the release of the 3.4.106 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 3.4 000/177] 3.4.106-rc1 review

2015-02-04 Thread Zefan Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2015/1/29 0:30, Ben Hutchings wrote: > On Wed, 2015-01-28 at 12:07 +0800, l...@kernel.org wrote: >> From: Zefan Li >> >> This is the start of the stable review cycle for the 3.4.106 release. >> There are 177 patches in this series, all will be post

Re: [PATCH v3 01/10] ARM: tegra: Set the sound card model that alsaucm expects

2015-02-04 Thread Tomeu Vizoso
On 02/03/2015 05:35 PM, Stephen Warren wrote: > On 02/03/2015 06:13 AM, Tomeu Vizoso wrote: >> On 2 February 2015 at 22:08, Stephen Warren wrote: >>> On 01/28/2015 03:50 AM, Tomeu Vizoso wrote: Patches are on its way to add a config file to alsaucm for the Nyan boards. Use the same

Re: [PATCH 1/4] Drivers: hv: vmbus: implement get/put usage workflow for vmbus channels

2015-02-04 Thread Jason Wang
On Wed, Feb 4, 2015 at 1:00 AM, Vitaly Kuznetsov wrote: free_channel() function frees the channel unconditionally so we need to make sure nobody has any link to it. This is not trivial and there are several examples of races we have: 1) In vmbus_onoffer_rescind() we check for channel exist

Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-04 Thread Maxime Ripard
Hi Brian, On Mon, Jan 26, 2015 at 03:56:03PM +0100, Maxime Ripard wrote: > The NDDB register holds the data that are needed by the read and write > commands. > > However, during a read PIO access, the datasheet specifies that after each 32 > bits read in that register, when BCH is enabled, we hav

[PATCH RESEND] mmc: sdhci-s3c: solve problem with sleeping in atomic context

2015-02-04 Thread Paul Osmialowski
This change addresses following problem: [2.560726] [ cut here ] [2.565341] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:2744 lockdep_trace_alloc+0xec/0x118() [2.574439] DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags)) [2.579821] Modules linked in: [

Re: [PATCH v2] spi: atmel: cleanup wait_for_completion return handling

2015-02-04 Thread Nicolas Ferre
Le 02/02/2015 16:43, Nicholas Mc Guire a écrit : > return type of wait_for_completion_timeout is unsigned long not int, this > patch adds an appropriate variable and fixes up the assignment. It removes > the else branch as the only thing it was doing is assigning ret = 0; - but > ret is never use

Re: [PATCH v4] gpio: lib-sysfs: Add 'wakeup' attribute

2015-02-04 Thread Linus Walleij
On Thu, Jan 29, 2015 at 6:23 PM, Sören Brinkmann wrote: > On Mon, 2015-01-19 at 09:54AM +0100, Linus Walleij wrote: >> On Mon, Jan 19, 2015 at 5:20 AM, Alexandre Courbot wrote: >> > On Sat, Jan 17, 2015 at 1:49 AM, Sören Brinkmann >> > wrote: >> >> On Fri, 2015-01-16 at 12:11PM +0100, Johan Hov

Re: [PATCH 1/4] Drivers: hv: vmbus: implement get/put usage workflow for vmbus channels

2015-02-04 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Wednesday, February 4, 2015 1:01 AM >> To: KY Srinivasan; de...@linuxdriverproject.org >> Cc: Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui; Jason Wang >> Subject: [PATCH 1/4

Re: [PATCH 4/5] i8042: Prepare i8042 driver for DT support

2015-02-04 Thread Roman Volkov
В Tue, 3 Feb 2015 11:38:35 -0800 Dmitry Torokhov пишет: > On Tue, Feb 03, 2015 at 12:48:49AM +0300, Roman Volkov wrote: > > Use platform_device_probe() instead of platform_create_bundle() when > > compiled with DT support, since the latter function is not suitable > > for handling the OF device t

[PATCH] mtd: nand: omap: conditions with no effect

2015-02-04 Thread Nicholas Mc Guire
The if and the else branch code are identical - so the condition has no effect on the effective code - this patch removes the condition and the duplicated code. Signed-off-by: Nicholas Mc Guire --- The conditions in the OMAP_ECC_BCH8_CODE_HW_DETECTION_SW and OMAP_ECC_BCH4_CODE_HW_DETECTION_SW ca

Re: [PATCH 1/4] Drivers: hv: vmbus: implement get/put usage workflow for vmbus channels

2015-02-04 Thread Vitaly Kuznetsov
Jason Wang writes: > On Wed, Feb 4, 2015 at 1:00 AM, Vitaly Kuznetsov > wrote: >> free_channel() function frees the channel unconditionally so we need >> to make >> sure nobody has any link to it. This is not trivial and there are >> several >> examples of races we have: >> >> 1) In vmbus_onoffe

Re: [PATCH v8 09/21] ARM64 / ACPI: Disable ACPI if FADT revision is less than 5.1

2015-02-04 Thread Hanjun Guo
On 2015年02月04日 01:20, Catalin Marinas wrote: On Mon, Feb 02, 2015 at 12:45:37PM +, Hanjun Guo wrote: diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c index afe10b4..b9f64ec 100644 --- a/arch/arm64/kernel/acpi.c +++ b/arch/arm64/kernel/acpi.c @@ -13,6 +13,8 @@ * published

Re: [PATCH v5 0/3] dmaengine: APM X-Gene SoC DMA engine driver support

2015-02-04 Thread Rameshwar Sahu
Hi Vinod, Can you please review this patch set. Thanks, with regards, Ram On Tue, Feb 3, 2015 at 6:25 PM, Rameshwar Prasad Sahu wrote: > This patch set implements the APM X-Gene SoC DMA driver > support to offload the DMA operations such as memory copy(memcpy), > scatter gathering. > > v5 cha

Re: [Linaro-acpi] [PATCH v8 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-04 Thread Hanjun Guo
On 2015年02月04日 01:43, Al Stone wrote: On 02/03/2015 09:47 AM, Mark Rutland wrote: On Mon, Feb 02, 2015 at 12:45:28PM +, Hanjun Guo wrote: Hi, This is the v8 of ACPI core patches for ARM64 based on ACPI 5.1, there are some updates since v7: - Add two more documantation to explain why we

Re: [PATCH v8 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-02-04 Thread Hanjun Guo
On 2015年02月04日 04:09, Catalin Marinas wrote: On Tue, Feb 03, 2015 at 02:17:49PM +, Mark Rutland wrote: On Mon, Feb 02, 2015 at 12:45:42PM +, Hanjun Guo wrote: Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. MPIDR

[PATCH] Documentation: add description for FTRACE probe status

2015-02-04 Thread Wang Long
Now kprobe status have four flags, so kprobes.txt should reflect all of them. Signed-off-by: Wang Long --- Documentation/kprobes.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt index 4227ec2..1488b65 100644 --- a/Doc

[PATCH] kernel.h: Remove ancient __FUNCTION__ hack

2015-02-04 Thread Rasmus Villemoes
__FUNCTION__ hasn't been treated as a string literal since gcc 3.4, so this only helps people who only test-compile using 3.3 (compiler-gcc3.h barks at anything older than that). Besides, there are almost no occurrences of __FUNCTION__ left in the tree. Signed-off-by: Rasmus Villemoes --- includ

Re: [PATCH] gfs2: use __vmalloc GFP_NOFS for fs-related allocations.

2015-02-04 Thread Steven Whitehouse
Hi, On 04/02/15 07:13, Oleg Drokin wrote: Hello! On Feb 3, 2015, at 5:33 PM, Dave Chinner wrote: I also wonder if vmalloc is still very slow? That was the case some time ago when I noticed a problem in directory access times in gfs2, which made us change to use kmalloc with a vmalloc fallback

Re: sequential I/O on SSD disk varies from 20 to 300 MBytes/s every week

2015-02-04 Thread Siim Vahtre
Since you mentioned problem does not happen on Windows, what do you use to emulate the workload (iometer ?) CrystalDiskMark, HD Tune, ATTO Disk Benchmark Tested for 2-3 hours, but got stable results. Directly afterwards booted Live CD with Linux and immediately got poor results. and did you

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-04 Thread Linus Walleij
On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki wrote: > On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote: >> So you could detect one by making a checksum of the binary or something. >> >> And then you'd know that the table with this checksum needs patching? > > At a single table le

Re: [PATCH RESEND] mmc: sdhci-s3c: solve problem with sleeping in atomic context

2015-02-04 Thread Jaehoon Chung
Hi. Tested-by: Jaehoon Chung (with exynos4 board) Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 02/04/2015 06:16 PM, Paul Osmialowski wrote: > This change addresses following problem: > > [2.560726] [ cut here ] > [2.565341] WARNING: CPU: 0 PID: 1 at k

Re: [RFC/PATCH] pinctrl: sh-pfc: Accept standard function, pins and groups properties

2015-02-04 Thread Laurent Pinchart
Hi Linus, On Wednesday 04 February 2015 09:40:48 Linus Walleij wrote: > On Tue, Jan 27, 2015 at 9:31 PM, Laurent Pinchart wrote: > > The "function", "pins" and "groups" pinmux and pinctrl properties have > > been standardized. Support them in addition to the custom "renesas,*" > > properties. New-

Re: [PATCH] net: sched: One function call less in em_meta_change() after error detection

2015-02-04 Thread SF Markus Elfring
>> The meta_delete() function could be called in four cases by the >> em_meta_change() function during error handling even if the passed >> variable "meta" contained still a null pointer. >> >> * This implementation detail could be improved by adjustments for jump >> labels. >> >> * Let us return

Re: ARC: DW_APB_GPIO_INTC?

2015-02-04 Thread Paul Bolle
On Wed, 2015-02-04 at 04:52 +, Vineet Gupta wrote: > On Wednesday 04 February 2015 01:46 AM, Paul Bolle wrote: > > Mischa's address bounced. It was used last week! What's going on? > > sorry folks, snafu on my part. > > Mischa left SNPS about an year ago. Now I notice the commit is actually

Re: [PATCH] media: i2c: ADV7604: Rename adv7604 prefixes.

2015-02-04 Thread Hans Verkuil
On 02/03/15 18:13, Pablo Anton wrote: > It is confusing which parts of the driver are adv7604 specific, adv7611 > specific or common for both. > This patch renames any adv7604 prefixes (both for functions and defines) to > adv76xx whenever they are common. > > Signed-off-by: Pablo Anton > Signe

[WARNING] CPU: 27 PID: 6295 at kernel/sched/core.c:7300 __might_sleep+0xbd/0xd0()

2015-02-04 Thread Jinpu Wang
Hi, I hit WARNING below after update to 3.19-rc6, when I running fio with libaio. Any one see this warning before, or maybe know how to fix it? >From the call trace: (gdb) list *read_events+0x1e8 0x81225ad8 is in read_events (fs/aio.c:1259). 1254 * something to be aware of when to

Re: [PATCH 3/3] pinctrl: qcom: handle input-enable pinconf property

2015-02-04 Thread Linus Walleij
On Fri, Jan 30, 2015 at 5:20 PM, Bjorn Andersson wrote: > On Fri 30 Jan 02:27 PST 2015, Stanimir Varbanov wrote: > >> + case PIN_CONFIG_INPUT_ENABLE: >> + /* Pin is output */ >> + if (arg) >> + return -EINVAL; >> + arg = 1; >> +

Re: [PATCH] media: i2c: ADV7604: Rename adv7604 prefixes.

2015-02-04 Thread Jean-Michel Hautbois
Hi Hans, and thanks for reviewing. 2015-02-04 10:55 GMT+01:00 Hans Verkuil : > On 02/03/15 18:13, Pablo Anton wrote: >> It is confusing which parts of the driver are adv7604 specific, adv7611 >> specific or common for both. >> This patch renames any adv7604 prefixes (both for functions and define

RE: [PATCH 1/4] Drivers: hv: vmbus: implement get/put usage workflow for vmbus channels

2015-02-04 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, February 4, 2015 17:32 PM > To: Dexuan Cui > Cc: KY Srinivasan; de...@linuxdriverproject.org; Haiyang Zhang; linux- > ker...@vger.kernel.org; Jason Wang > Subject: Re: [PATCH 1/4] Drivers: hv: vmbu

Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-04 Thread Boris Brezillon
Hi Maxime, On Mon, 26 Jan 2015 15:56:03 +0100 Maxime Ripard wrote: > The NDDB register holds the data that are needed by the read and write > commands. > > However, during a read PIO access, the datasheet specifies that after each 32 > bits read in that register, when BCH is enabled, we have to

watchdog: SOC_MT7621?

2015-02-04 Thread Paul Bolle
John Crispin's commit 576c618cf659 ("watchdog: add MT7621 watchdog support") was included in today's linux-next (ie, next 20150204). I noticed because a script I use to check linux-next spotted a problem with it. That commit adds an (optional) dependency on the Kconfig sy

Re: [PATCH] rc: img-ir: Add and enable sys clock for IR

2015-02-04 Thread James Hogan
Hi Sifan, On 03/02/15 17:30, Sifan Naeem wrote: > Gets a handle to the system clock, already described in the binding > document, and calls the appropriate common clock > framework functions to mark it prepared/enabled, the common clock > framework initially enables the clock and doesn't disable i

Re: [PATCH 1/5] WIP: Add syscall unlinkat_s (currently x86* only)

2015-02-04 Thread Alexander Holler
Am 04.02.2015 um 00:33 schrieb Al Viro: On Tue, Feb 03, 2015 at 07:01:50PM +0100, Alexander Holler wrote: Yeah, as I've already admitted in the bug, I never should have use the word secure, because everyone nowadays seems to end up in panic when reading that word. So, if I would be able to use

[PATCH] block: Simplify bsg complete all

2015-02-04 Thread Peter Zijlstra
On Tue, Feb 03, 2015 at 04:24:55PM -0700, Jens Axboe wrote: > > Yes, from a cursory look, that seems fine to me. Though I will hold the fact > that you label my code as 'seriously obtuse' against you. Some day. Hehe, fair enough. I'm sure I've written my fair share of it too, we've all got our 'b

Re: watchdog: SOC_MT7621?

2015-02-04 Thread John Crispin
On 04/02/2015 11:13, Paul Bolle wrote: > messages. Since I haven't received replies on other, more serious > issues in over three months I assume John has disappeared.) into thin air, *pooff* > Is SOC_MT7621 still being worked on? yes we dropped the series as it collided with the gic rework th

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-04 Thread Josh Wu
Hi, Boris Thanks a lot for your explanation, check my reply for more description for my suggestion. On 2/3/2015 5:37 PM, Boris Brezillon wrote: On Tue, 3 Feb 2015 16:46:15 +0800 Josh Wu wrote: Hi, Boris, Brian On 2/2/2015 5:42 PM, Boris Brezillon wrote: Hi Brian, On Sun, 1 Feb 2015 23:5

Re: [PATCH] ARM: berlin: add a defconfig

2015-02-04 Thread Arnd Bergmann
On Wednesday 04 February 2015 09:54:04 Antoine Tenart wrote: > Hi Sebastian, > > On Tue, Feb 03, 2015 at 11:26:46PM +0100, Sebastian Hesselbarth wrote: > > On 03.02.2015 13:54, Arnd Bergmann wrote: > > >On Tuesday 03 February 2015 12:28:52 Antoine Tenart wrote: > > >>Marvell Berlin SoCs did not ha

Re: [RFC PATCH] fork: report pid reservation failure properly

2015-02-04 Thread Michal Hocko
On Tue 03-02-15 14:44:31, Eric W. Biederman wrote: > Michal Hocko writes: > > > On Tue 03-02-15 16:33:03, Michael Kerrisk wrote: > >> Hi Michal, > >> > >> > >> On 3 February 2015 at 16:05, Michal Hocko wrote: > >> > Hi, > >> > while debugging an unexpected ENOMEM from fork (there was no memory

[PATCH] ARM: EXYNOS: cpuidle: Fix build breakage on !SMP

2015-02-04 Thread Krzysztof Kozlowski
The Exynos cpuidle driver has coupled cpuidle built-in so it cannot be built without SMP: arch/arm/mach-exynos/pm.c: In function ‘exynos_cpu0_enter_aftr’: arch/arm/mach-exynos/pm.c:246:4: error: implicit declaration of function ‘arch_send_wakeup_ipi_mask’ [-Werror=implicit-function-declaration] a

Re: [PATCH] livepatch: rename config to CONFIG_LIVEPATCH

2015-02-04 Thread Jiri Kosina
On Tue, 3 Feb 2015, Josh Poimboeuf wrote: > Rename CONFIG_LIVE_PATCHING to CONFIG_LIVEPATCH to make the naming of > the config and the code more consistent. > > Signed-off-by: Josh Poimboeuf Makes sense. Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line

Re: [PATCH v8 13/21] ARM64 / ACPI: Parse MADT for SMP initialization

2015-02-04 Thread Mark Rutland
On Wed, Feb 04, 2015 at 09:05:13AM +, Hanjun Guo wrote: > On 2015年02月03日 21:53, Mark Rutland wrote: > > On Mon, Feb 02, 2015 at 12:45:41PM +, Hanjun Guo wrote: > >> MADT contains the information for MPIDR which is essential for > >> SMP initialization, parse the GIC cpu interface structures

[PATCH 1/2] staging: rtl8188eu: odm: condition with no effect

2015-02-04 Thread Nicholas Mc Guire
needs a check by someone who knows the details of the driver as it could be that the two branches actually should be different. Patch was only compile-tested for x86_64_defconfig + CONFIG_STAGING=y CONFIG_R8188EU=m Patch is against 3.19.0-rc7 (localversion-next is -next-20150204) drivers/staging

[PATCH 2/2] staging: rtl8188eu: odm: conditional setting with no effect

2015-02-04 Thread Nicholas Mc Guire
the comments it seems that an effect is actually intended so this may be a bug. The comment was updated to reflect the changes Patch was only compile-tested for x86_64_defconfig + CONFIG_STAGING=y CONFIG_R8188EU=m Patch is against 3.19.0-rc7 (localversion-next is -next-20150204) drivers/stag

Re: [PATCH] samples: Fix `echo 1 > /proc/int-fifo` never return error

2015-02-04 Thread long.wanglong
On 2015/2/4 18:18, Stefani Seibold wrote: > The example is intended for int types, not for strings. So it is not a > bug, it's a feature ;-) But anyway, if you prefer to handle with strings > your are okay by me. > hi,Stefani Seibold Thanks you for your reply. another question? This example expo

Re: [PATCH 5/5] MIPS: LLVMLinux: Silence unicode warnings when preprocessing assembly.

2015-02-04 Thread Maciej W. Rozycki
On Tue, 3 Feb 2015, Daniel Sanders wrote: > From: Toma Tabacu > > Differentiate the 'u' GAS .macro argument from the '\u' C preprocessor unicode > escape sequence by renaming it to '_u'. > > When the 'u' argument is evaluated, we end up writing '\u', which causes > clang to emit -Wunicode warni

Re: [PATCH] samples: Fix `echo 1 > /proc/int-fifo` never return error

2015-02-04 Thread Stefani Seibold
The example is intended for int types, not for strings. So it is not a bug, it's a feature ;-) But anyway, if you prefer to handle with strings your are okay by me. Am Dienstag, den 03.02.2015, 11:51 + schrieb Wang Long: > echo 99 > /proc/int-fifo > Never return > echo 1000 >

[PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Fam Zheng
Changes from v1 (https://lkml.org/lkml/2015/1/20/189): - As discussed in previous thread [1], split the call to epoll_ctl_batch and epoll_pwait. [Michael] - Fix memory leaks. [Omar] - Add a short comment about the ignored copy_to_user failure. [Omar] - Cover letter rewritten. This

[PATCH RFC v2 1/7] epoll: Extract epoll_wait_do and epoll_pwait_do

2015-02-04 Thread Fam Zheng
In preparation of new epoll syscalls, this patch allows reusing the code from epoll_pwait implementation. The new functions uses ktime_t for more accuracy. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 130 ++--- 1 file changed, 59 insertions(+

[PATCH RFC v2 2/7] epoll: Specify clockid explicitly

2015-02-04 Thread Fam Zheng
Later we will add clockid in the interface, so let's start using explicit clockid internally. Now we specify CLOCK_MONOTONIC, which is the same as before. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a

[PATCH RFC v2 5/7] x86: Hook up epoll_ctl_batch syscall

2015-02-04 Thread Fam Zheng
Signed-off-by: Fam Zheng --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index b3560ec..fe809f6 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++

[PATCH RFC v2 4/7] epoll: Add implementation for epoll_ctl_batch

2015-02-04 Thread Fam Zheng
This new syscall is a batched version of epoll_ctl. It will execute each command as specified in cmds in given order, and stop at first failure or upon completion of all commands. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 48 ++ include

[PATCH] cxgb4: Delete an unnecessary check before the function call "release_firmware"

2015-02-04 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 4 Feb 2015 11:28:43 +0100 The release_firmware() 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 --- d

[PATCH RFC v2 6/7] epoll: Add implementation for epoll_pwait1

2015-02-04 Thread Fam Zheng
This is the new implementation for poll which uses timespec as timeout, and has a flags parameter. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 34 ++ include/linux/syscalls.h | 5 + 2 files changed, 39 insertions(+) diff --git a/fs/eventpoll.c b/

[PATCH 1/1] iommu/amd: Convert non-returned local variable to boolean when relevant

2015-02-04 Thread Quentin Lambert
This patch was produced using Coccinelle. A simplified version of the semantic patch is: @r exists@ identifier f; local idexpression u8 x; identifier xname; @@ f(...) { ...when any ( x@xname = 1; | x@xname = 0; ) ...when any } @bad exists@ identifier r.f; local idexpression u8 r.x expression

[PATCH RFC v2 7/7] x86: Hook up epoll_pwait1 syscall

2015-02-04 Thread Fam Zheng
Signed-off-by: Fam Zheng --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index fe809f6..bf912d8 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++

[PATCH RFC v2 3/7] epoll: Extract ep_ctl_do

2015-02-04 Thread Fam Zheng
This is a common part from epoll_ctl implementation which will be shared with the coming epoll_ctl_wait. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 01f469a..a1c3

Re: [PATCH] Documentation: add description for FTRACE probe status

2015-02-04 Thread Masami Hiramatsu
(2015/02/04 18:43), Wang Long wrote: > Now kprobe status have four flags, so kprobes.txt > should reflect all of them. Yes, it has been introduced by commit ae6aa16fdc163afe6b04b6c073ad4ddd4663c03b > > Signed-off-by: Wang Long Acked-by: Masami Hiramatsu Thank you! > --- > Documentation/kpr

Re: [PATCH v2 2/2] powerpc: add running_clock for powerpc to prevent spurious softlockup warnings

2015-02-04 Thread Paul Bolle
h local_clock it was used originally in > the softlockup detector. >Added #ifdef CONFIG_PPC_PSERIES and optimised the non lpar + vtb cases. This became commit 3e5aba51e929 ("powerpc: add running_clock for powerpc to prevent spurious softlockup warnings") in today's linux-n

[PATCH] fork: report pid reservation failure properly

2015-02-04 Thread Michal Hocko
copy_process will report any failure in alloc_pid as ENOMEM currently which is misleading because the pid allocation might fail not only when the memory is short but also when the pid space is consumed already. The current man page even mentions this case: " EAGAIN A system-imposed limit on

[PATCH] regulator: Fix build breakage on !REGULATOR

2015-02-04 Thread Krzysztof Kozlowski
Add missing stubs for regulator_suspend_prepare() and regulator_suspend_finish() to fix exynos_defconfig build without REGULATOR: arch/arm/mach-exynos/built-in.o: In function `exynos_suspend_finish': arch/arm/mach-exynos/suspend.c:537: undefined reference to `regulator_suspend_finish' arch/arm/ma

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-04 Thread Boris Brezillon
Hi Josh, On Wed, 4 Feb 2015 18:06:37 +0800 Josh Wu wrote: > Hi, Boris > > Thanks a lot for your explanation, check my reply for more description > for my suggestion. > > On 2/3/2015 5:37 PM, Boris Brezillon wrote: > > On Tue, 3 Feb 2015 16:46:15 +0800 > > Josh Wu wrote: > > > >> Hi, Boris, B

Re: [PATCH 1/1] futex: check PF_KTHREAD rather than !p->mm to filter out kthreads

2015-02-04 Thread Peter Zijlstra
On Mon, Feb 02, 2015 at 03:05:36PM +0100, Oleg Nesterov wrote: > attach_to_pi_owner() checks p->mm to prevent attaching to kthreads and > this looks doubly wrong: > > 1. It should actually check PF_KTHREAD, kthread can do use_mm(). > > 2. If this task is not kthread and it is actually the lock ow

[PATCH 4/8] EDAC: i7core: Return proper error codes for kzalloc() errors

2015-02-04 Thread Takashi Iwai
Signed-off-by: Takashi Iwai --- drivers/edac/i7core_edac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index 9cd0b301f81b..5da90ded54b6 100644 --- a/drivers/edac/i7core_edac.c +++ b/drivers/edac/i7core_edac.c @@ -

[PATCH 8/8] EDAC: highbank: Use static attribute groups for sysfs entries

2015-02-04 Thread Takashi Iwai
... instead of manual device_create_file() and device_remove_file() calls. Signed-off-by: Takashi Iwai --- drivers/edac/highbank_mc_edac.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/edac/highbank_mc_edac.c b/drivers/edac/highbank_mc_edac.c index f784

Re: [RFC] Making memcg track ownership per address_space or anon_vma

2015-02-04 Thread Konstantin Khlebnikov
On 04.02.2015 02:30, Greg Thelen wrote: On Mon, Feb 2, 2015 at 11:46 AM, Tejun Heo wrote: Hey, On Mon, Feb 02, 2015 at 10:26:44PM +0300, Konstantin Khlebnikov wrote: Keeping shared inodes in common ancestor is reasonable. We could schedule asynchronous moving when somebody opens or mmaps ino

[PATCH 5/8] EDAC: i7core: Use static attribute groups for sysfs entries

2015-02-04 Thread Takashi Iwai
... instead of manual device_create_file() and device_remove_file() calls. Signed-off-by: Takashi Iwai --- drivers/edac/i7core_edac.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index

Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Fam Zheng
On Wed, 02/04 18:36, Fam Zheng wrote: > >Not that this call isn't atomic in terms of updating the epoll s/Not/Note/ >descriptor, which means a second epoll_ctl or epoll_ctl_batch call >during the first epoll_ctl_batch may make the operation sequence >interleaved.

[PATCH 1/8] EDAC: core: Use static attribute groups for managing sysfs entries

2015-02-04 Thread Takashi Iwai
Instead of manual calls of device_create_file() and device_remove_file(), use static attribute groups with proper is_visible callbacks for managing the sysfs entries. This simplifies the code a lot and avoids the possible races. Signed-off-by: Takashi Iwai --- drivers/edac/edac_mc_sysfs.c | 158

<    3   4   5   6   7   8   9   10   >