[PATCH 1/2] regulator: ti-abb: skip optional parameter for ldo-address

2013-09-27 Thread Nishanth Menon
On platforms like OMAP4460, LDO override is never used. Even though efuse determines the ABB bias mode to operate at, ABB voltage is preconfigured in internal efuse registers without the need for LDO override for bias voltage. So skip optional parameter if property is not present. Signed-off-by:

[PATCH 2/2] regulator: ti-abb: Fix bias voltage glitch in transition to bypass mode with ldo voltage override

2013-09-27 Thread Nishanth Menon
As documented in Application Note SWPA117 v2.1(NDA), LDO override has a requirement that when switching from Bias active + override active mode(FBB/RBB) to Bypass(nominal) mode, LDO reset must be performed *after* LDO transitions to Bypass(nominal) mode. The same rule in reverse applies when

Re: [Patch V2] spi/tegra114: Correct support for cs_change

2013-09-27 Thread Mark Brown
On Thu, Sep 26, 2013 at 01:01:43PM -0400, Rhyland Klein wrote: > The tegra114 driver wasn't currently handling the cs_change > functionality. cs_change is meant to invert the decisions of whether > or not to deactivate CS after each transfer. Without cs_change, after > every transfer (other than

[PATCH 0/2] regulator: ti-abb: misc fixes

2013-09-27 Thread Nishanth Menon
The following are a couple of fixes for ti-abb regulator based on updated I documentation and tests. Based on v3.12-rc2 tag. These fixes could be punted to 3.13-rc1 as the current OMAP support in master is not ready for use yet. Nishanth Menon (2): regulator: ti-abb: skip optional parameter

[PATCH] RFC: Introduce FW_INFO* functions

2013-09-27 Thread Prarit Bhargava
Logging and tracking firmware bugs in the kernel has long been an issue for system administrators. The current kernel does not have a good uniform method of reporting firmware bugs and the code in the kernel is a mix of printk's and WARN_ONs. This causes problems for both system administrators

Re: [PATCHv4 11/18] arm: dts: add omap4430 thermal data

2013-09-27 Thread Eduardo Valentin
On 27-09-2013 08:24, Nishanth Menon wrote: > On 23:13-20130926, Eduardo Valentin wrote: >> This patch changes the dtsi entry on omap4430 to contain >> the thermal data. This data will enable the passive >> cooling with CPUfreq cooling device at 100C and the >> system will do a thermal shutdown at

Re: [PATCH] UBI: fastmap: fix backward compatibility with image_seq

2013-09-27 Thread Richard Weinberger
Am 27.09.2013 15:16, schrieb Richard Genoud: > 2013/9/27 Richard Weinberger : >> Am 27.09.2013 14:51, schrieb Richard Genoud: >>> Some old UBI implementations (e.g. U-Boot) have not implemented the image >>> sequence feature. >>> So, when erase blocks are written, the image sequence in the ec

Re: [RFT PATCH v1 2/7] arm64: restore FPSIMD to default state for kernel and signal contexts

2013-09-27 Thread Jiang Liu
On 09/27/2013 07:35 PM, Catalin Marinas wrote: > On Fri, Sep 27, 2013 at 09:04:42AM +0100, Jiang Liu wrote: >> diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c >> index bb785d2..12a25e5 100644 >> --- a/arch/arm64/kernel/fpsimd.c >> +++ b/arch/arm64/kernel/fpsimd.c >> @@ -80,9

[PATCHv4 09/10] mm: implement split page table lock for PMD level

2013-09-27 Thread Kirill A. Shutemov
The basic idea is the same as with PTE level: the lock is embedded into struct page of table's page. We can't use mm->pmd_huge_pte to store pgtables for THP, since we don't take mm->page_table_lock anymore. Let's reuse page->lru of table's page for that. pgtable_pmd_page_ctor() returns true, if

[PATCHv4 05/10] mm, thp: move ptl taking inside page_check_address_pmd()

2013-09-27 Thread Kirill A. Shutemov
With split page table lock we can't know which lock we need to take before we find the relevant pmd. Let's move lock taking inside the function. Signed-off-by: Naoya Horiguchi Signed-off-by: Kirill A. Shutemov Tested-by: Alex Thorlton --- include/linux/huge_mm.h | 3 ++- mm/huge_memory.c

[PATCHv4 06/10] mm, thp: do not access mm->pmd_huge_pte directly

2013-09-27 Thread Kirill A. Shutemov
Currently mm->pmd_huge_pte protected by page table lock. It will not work with split lock. We have to have per-pmd pmd_huge_pte for proper access serialization. For now, let's just introduce wrapper to access mm->pmd_huge_pte. Signed-off-by: Kirill A. Shutemov Tested-by: Alex Thorlton ---

[PATCHv4 01/10] mm: rename USE_SPLIT_PTLOCKS to USE_SPLIT_PTE_PTLOCKS

2013-09-27 Thread Kirill A. Shutemov
We're going to introduce split page table lock for PMD level. Let's rename existing split ptlock for PTE level to avoid confusion. Signed-off-by: Kirill A. Shutemov Tested-by: Alex Thorlton --- arch/arm/mm/fault-armv.c | 6 +++--- arch/x86/xen/mmu.c | 6 +++--- include/linux/mm.h |

[PATCHv4 02/10] mm: convert mm->nr_ptes to atomic_t

2013-09-27 Thread Kirill A. Shutemov
With split page table lock for PMD level we can't hold mm->page_table_lock while updating nr_ptes. Let's convert it to atomic_t to avoid races. Signed-off-by: Kirill A. Shutemov Tested-by: Alex Thorlton --- fs/proc/task_mmu.c | 3 ++- include/linux/mm_types.h | 2 +- kernel/fork.c

[PATCHv4 04/10] mm, thp: change pmd_trans_huge_lock() to return taken lock

2013-09-27 Thread Kirill A. Shutemov
With split ptlock it's important to know which lock pmd_trans_huge_lock() took. This patch adds one more parameter to the function to return the lock. In most places migration to new api is trivial. Exception is move_huge_pmd(): we need to take two locks if pmd tables are different.

[PATCHv4 03/10] mm: introduce api for split page table lock for PMD level

2013-09-27 Thread Kirill A. Shutemov
Basic api, backed by mm->page_table_lock for now. Actual implementation will be added later. Signed-off-by: Naoya Horiguchi Signed-off-by: Kirill A. Shutemov Tested-by: Alex Thorlton --- include/linux/mm.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/linux/mm.h

Re: [PATCH] UBI: fastmap: fix backward compatibility with image_seq

2013-09-27 Thread Richard Genoud
2013/9/27 Richard Weinberger : > Am 27.09.2013 14:51, schrieb Richard Genoud: >> Some old UBI implementations (e.g. U-Boot) have not implemented the image >> sequence feature. >> So, when erase blocks are written, the image sequence in the ec header >> is lost (set to zero). >> UBI scan_all()

[PATCHv4 07/10] mm, hugetlb: convert hugetlbfs to use split pmd lock

2013-09-27 Thread Kirill A. Shutemov
Hugetlb supports multiple page sizes. We use split lock only for PMD level, but not for PUD. Signed-off-by: Naoya Horiguchi Signed-off-by: Kirill A. Shutemov Tested-by: Alex Thorlton --- fs/proc/meminfo.c | 2 +- include/linux/hugetlb.h | 25 +++ include/linux/swapops.h | 7

[PATCHv4 00/10] split page table lock for PMD tables

2013-09-27 Thread Kirill A. Shutemov
Alex Thorlton noticed that some massively threaded workloads work poorly, if THP enabled. This patchset fixes this by introducing split page table lock for PMD tables. hugetlbfs is not covered yet. This patchset is based on work by Naoya Horiguchi. Please review and consider applying. Changes:

[PATCHv4 10/10] x86, mm: enable split page table lock for PMD level

2013-09-27 Thread Kirill A. Shutemov
Enable PMD split page table lock for X86_64 and PAE. Signed-off-by: Kirill A. Shutemov Tested-by: Alex Thorlton --- arch/x86/Kconfig | 4 arch/x86/include/asm/pgalloc.h | 11 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig

[PATCHv4 08/10] mm: convent the rest to new page table lock api

2013-09-27 Thread Kirill A. Shutemov
Only trivial cases left. Let's convert them altogether. Signed-off-by: Naoya Horiguchi Signed-off-by: Kirill A. Shutemov Tested-by: Alex Thorlton --- mm/huge_memory.c | 108 --- mm/memory.c | 17 mm/migrate.c | 7

Re: Crash of 3.12-rc2 BUG: unable to handle kernel NULL pointer dereference

2013-09-27 Thread Zdenek Kabelac
Dne 27.9.2013 13:57, Zdenek Kabelac napsal(a): Hi I'm trying to use -rc2 kernel however I'm getting quite often regular kernel panic: Here is a BUG trace from kvm running this kernel: (I'm building kernel with some kernel debug checks) (Kernel is used in 64bit qemu and running 32bit Debian

Re: [PATCH] UBI: fastmap: fix backward compatibility with image_seq

2013-09-27 Thread Richard Weinberger
Am 27.09.2013 14:51, schrieb Richard Genoud: > Some old UBI implementations (e.g. U-Boot) have not implemented the image > sequence feature. > So, when erase blocks are written, the image sequence in the ec header > is lost (set to zero). > UBI scan_all() takes this case into account (commits >

Re: [PATCH 2/3] clk: samsung: Add clock driver for s5pc100

2013-09-27 Thread Yadwinder Singh Brar
Hi Tomasz, On Thu, Sep 26, 2013 at 7:30 PM, Tomasz Figa wrote: > Hi Yadwinder, > > I haven't reviewed this series yet, but let me clarify some things from > your comments. > > On Thursday 26 of September 2013 17:38:58 Yadwinder Singh Brar wrote: >> > + >> > +/* Helper macros to define clock

Re: [PATCH 1/2] pinctrl: palmas: do not abort pin configuration for BIAS_DEFAULT

2013-09-27 Thread Laxman Dewangan
On Thursday 26 September 2013 09:08 PM, Stephen Warren wrote: On 09/26/2013 06:48 AM, Laxman Dewangan wrote: Recent movement of all configurations of pin in the single call of pin_config_set(), it is aborting configuration if BIAS_PULL_PIN_DEFAULT is selected as return of configuration. The

Re: [PATCH] ext4: avoid exposure of stale data in ext4_punch_hole()

2013-09-27 Thread Maxim Patlasov
Hi Jan, On 09/26/2013 10:53 PM, Jan Kara wrote: Hello, On Thu 26-09-13 21:32:07, Maxim Patlasov wrote: While handling punch-hole fallocate, it's useless to truncate page cache before removing the range from extent tree (or block map in indirect case) because page cache can be re-populated

[PATCH 1/1] fs/binfmt_elf.c: fill_note_info: Reduce scope of a variable

2013-09-27 Thread Geyslan G. Bem
The *t variable in the fill_note_info function is only used if siginfo->si_signo isn't 0. Moving "t" pointer to that inner scope. Tested. Signed-off-by: Geyslan G. Bem --- fs/binfmt_elf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c

[ANNOUNCE] util-linux v2.24-rc1

2013-09-27 Thread Karel Zak
The util-linux release v2.24-rc1 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.24 Feedback and bug reports, as always, are welcomed. Karel Util-linux 2.24 Release Notes = Release highlights -- fdisk(8): - the code has

Re: [PATCH V4 2/3] pincntrl: add support for AMS AS3722 pin control driver

2013-09-27 Thread Laxman Dewangan
On Friday 27 September 2013 06:10 PM, Linus Walleij wrote: On Tue, Sep 24, 2013 at 7:47 PM, Laxman Dewangan wrote: function which just return not supported. - Nit cleanups. This is getting a lot better quickly. I'd like someone from devicet...@vger.kernel.org to say something about the DT

[PATCH] UBI: fastmap: fix backward compatibility with image_seq

2013-09-27 Thread Richard Genoud
Some old UBI implementations (e.g. U-Boot) have not implemented the image sequence feature. So, when erase blocks are written, the image sequence in the ec header is lost (set to zero). UBI scan_all() takes this case into account (commits 32bc4820287a1a03982979515949e8ea56eac641 and

[PATCH] UBI: simplify image sequence test

2013-09-27 Thread Richard Genoud
The test: if (!a && b) a = b; can be symplified in: if (!a) a = b; And there's no need to test if ubi->image_seq is not null, because if it is, it is set to image_seq. So, we just test if image_seq is not null. Signed-off-by: Richard Genoud --- drivers/mtd/ubi/attach.c |5 ++--- 1 file

Re: Fedora Kernel Patch Report

2013-09-27 Thread Jiri Kosina
On Fri, 13 Sep 2013, H. Peter Anvin wrote: > > crash-driver.patch > > - The patch to add /dev/crash. Dave Anderson keeps making this work > > (mostly). > > > > It is also a security hole. More than /dev/[k]mem? How so? -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the

Re: [tip:x86/urgent] x86/smpboot: Fix announce_cpu() to printk() the last "OK" properly

2013-09-27 Thread Borislav Petkov
On Fri, Sep 27, 2013 at 08:51:15AM +0200, Ingo Molnar wrote: > That message was cool and interesting back in the days when we wrote > lockdep ('hey, look ma, it really works!!'), but there hasn't been > any breakage in that area for a long time and it definitely does not > deserve one line of log

Re: [PATCH 17/20] regulator: tps6105x: use devm_regulator_register()

2013-09-27 Thread Linus Walleij
On Wed, Sep 25, 2013 at 10:12 AM, Jingoo Han wrote: > Use devm_regulator_register() to make cleanup paths simpler, > and remove unnecessary remove(). > > Signed-off-by: Jingoo Han Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] OMAP/serial: Fix division by zero exception on 3M+ baud rates

2013-09-27 Thread Alexey Pelykh
Sorry for HTML mail, resend On Fri, Sep 27, 2013 at 3:37 PM, Alexey Pelykh wrote: > Hi Russel, > > Probably then it would be great if you could summarize that in a patch to > replace mine, since basically mine is totally improper. > > Thanks, > Alexey > > > > On Sat, Sep 21, 2013 at 1:42 PM,

Re: [PATCH 01/20] regulator: ab3100: use devm_regulator_register()

2013-09-27 Thread Linus Walleij
On Wed, Sep 25, 2013 at 9:48 AM, Jingoo Han wrote: > Use devm_regulator_register() to make cleanup paths simpler. > > Signed-off-by: Jingoo Han Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH V4 2/3] pincntrl: add support for AMS AS3722 pin control driver

2013-09-27 Thread Linus Walleij
On Tue, Sep 24, 2013 at 7:47 PM, Laxman Dewangan wrote: > The AS3722 is a compact system PMU suitable for mobile phones, tablets etc. > > Add a driver to support accessing the GPIO, pinmux and pin configuration > of 8 GPIO pins found on the AMS AS3722 through pin control driver and > gpiolib. >

[PATCH] [TRIVIAL] Correct some typos

2013-09-27 Thread LABBE Corentin
Signed-off-by: LABBE Corentin --- drivers/hwmon/abituguru.c| 6 +++--- drivers/hwmon/abituguru3.c | 2 +- drivers/hwmon/asus_atk0110.c | 2 +- drivers/hwmon/max6650.c | 2 +- drivers/hwmon/pmbus/pmbus_core.c | 2 +- drivers/hwmon/w83791d.c | 2 +-

[PATCH v4 Repost 2/2] block: modify __bio_add_page check to accept pages, that don't start a new segment

2013-09-27 Thread Tomas Henzl
From: Jan Vesely The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their buffers to potentially require exactly max segments and multiple pages in the last segment. This patch modifies the check to allow

Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: > @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) > > /* init SEQ register SR30 - SR75 */ > for (i = 0; i < SIZE_SR30_SR75; i++) > -

Re: [PATCHv4 11/18] arm: dts: add omap4430 thermal data

2013-09-27 Thread Nishanth Menon
On 23:13-20130926, Eduardo Valentin wrote: > This patch changes the dtsi entry on omap4430 to contain > the thermal data. This data will enable the passive > cooling with CPUfreq cooling device at 100C and the > system will do a thermal shutdown at 125C. > > Cc: "Benoît Cousson" > Cc: Tony

[PATCH v4 Repost 1/2] block: factor out vector mergeable decision to a, helper function

2013-09-27 Thread Tomas Henzl
From: Jan Vesely Export the function so it can be used to predict segment counts without calling the recalc function. This will be used in the next patch. Signed-off-by: Jan Vesely Signed-off-by: Tomas Henzl --- block/blk-merge.c | 52 +++-

Re: [PATCH] pinctrl: pinctrl-adi2: Remove nested lock+irqsave that resue flags.

2013-09-27 Thread Linus Walleij
On Mon, Sep 23, 2013 at 11:29 AM, Sonic Zhang wrote: > From: Sonic Zhang > > Also avoid use NULL pointer in error message. > > Signed-off-by: Sonic Zhang Sonic are you respinning this with fixes to Dan's remarks? You may need to rebase the patch on my devel branch as Axel fixed one of the

Re: [PATCH] kernel/groups.c: consider about NULL for 'group_info' in all related extern functions

2013-09-27 Thread Chen Gang
On 09/27/2013 07:53 PM, Tejun Heo wrote: > Hello, > > On Fri, Sep 27, 2013 at 03:16:59PM +0800, Chen Gang wrote: >> Hmm... do you mean: "can not evaluate an interface before implement(or >> read details) them all"? > > No, I'm saying there are a lot more steps necessary between > recognizing

Re: [PATCH 2/2] pinctrl: adi2: Fix dead lock in adi_gpio_direction_output

2013-09-27 Thread Linus Walleij
On Tue, Sep 24, 2013 at 9:47 AM, Axel Lin wrote: > Current code hold port->lock spinlock and then try to grab the lock again > in adi_gpio_set_value(). Fix it. > > Signed-off-by: Axel Lin Patch applied, thanks Axel. Sonic, when you see patches like this please look at and ACK them. Yours,

Re: [PATCH 1/2] pinctrl: adi2: Convert to devm_ioremap_resource

2013-09-27 Thread Linus Walleij
On Tue, Sep 24, 2013 at 9:46 AM, Axel Lin wrote: > Signed-off-by: Axel Lin Patch applied, thanks Axel. I should have caught this in review :-( Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Lieber E-Mail-Benutzer;

2013-09-27 Thread agrobak
-- Lieber E-Mail-Benutzer; Sie haben 23.432 überschritten Boxen setzen ihre Web Service / Admin, und du wirst haben Probleme beim Senden und E-Mails empfangen, während erneut überprüfen. Sie müssen aktualisieren klicken verknüpfen und füllen Sie die Informationen weiter unten, um Ihr Konto zu

Re: [PATCH] ARM: at91/at91-pinctrl documentation: add missing sam9x5 compatible string

2013-09-27 Thread Linus Walleij
On Tue, Aug 27, 2013 at 3:26 PM, Boris BREZILLON wrote: > Add missing "atmel,at91sam9x5-pinctrl" compatible string to the > documentation. > > Signed-off-by: Boris BREZILLON Patch applied with Nicolas' ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Martin Berglund
Fixed coding style issues. Signed-off-by: Martin Berglund --- drivers/staging/sm7xxfb/sm7xxfb.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 8add64b..57d8145 100644 ---

Re: [PATCH 3/6] cpuidle: calxeda: add ecx-2000 support

2013-09-27 Thread Rob Herring
On Fri, Sep 27, 2013 at 3:47 AM, Daniel Lezcano wrote: > On 09/27/2013 04:24 AM, Rob Herring wrote: >> >> From: Rob Herring >> >> Add cpuidle support for Calxeda ecx-2000 SoC. >> >> Signed-off-by: Rob Herring >> Cc: "Rafael J. Wysocki" >> Cc: Daniel Lezcano >> Cc: linux...@vger.kernel.org > >

Re: [RFC PATCH 2/4] pinctrl: at91: fix sam9x5 debounce/deglitch functions

2013-09-27 Thread Linus Walleij
On Fri, Sep 13, 2013 at 9:47 AM, Boris BREZILLON wrote: > Replace at91_mux_get_deglitch with at91_mux_pio3_get_deglitch when using > sam9x5 (pio3) IP. > at91_mux_get_deglitch only test the activation of the "Input Filter" which > may be overloaded by the activation of the "Input Filter Slow

Re: [RFC PATCH 1/4] pinctrl: at91: fix typos

2013-09-27 Thread Linus Walleij
On Fri, Sep 13, 2013 at 9:45 AM, Boris BREZILLON wrote: > Fix AT91_PINCTRL_DEBOUNCE_VAL dt macro typo. > Fix at91_pinctrl_mux_ops callback typos. > > Signed-off-by: Boris BREZILLON Patch applied with Jean-Christophe's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH 0/3] New descriptor-based GPIO interface

2013-09-27 Thread Linus Walleij
On Thu, Sep 26, 2013 at 9:14 AM, Alexandre Courbot wrote: > Here is a proper patch series for the descriptor-based GPIO interface to be > merged into -next. It is rebased on your for-next branch and only slightly > changed with respect to the RFC I posted earlier, only more thoroughly tested. >

Crash of 3.12-rc2 BUG: unable to handle kernel NULL pointer dereference

2013-09-27 Thread Zdenek Kabelac
Hi I'm trying to use -rc2 kernel however I'm getting quite often regular kernel panic: Here is a BUG trace from kvm running this kernel: (I'm building kernel with some kernel debug checks) (Kernel is used in 64bit qemu and running 32bit Debian environment) linux-vanilla git:

Re: [tip:sched/core] sched: Add NEED_RESCHED to the preempt_count

2013-09-27 Thread Peter Zijlstra
On Fri, Sep 27, 2013 at 05:14:27PM +0800, Yuanhan Liu wrote: > On Wed, Sep 25, 2013 at 09:38:38AM -0700, tip-bot for Peter Zijlstra wrote: > > Commit-ID: f27dde8deef33c9e58027df11ceab2198601d6a6 > > Gitweb: > > http://git.kernel.org/tip/f27dde8deef33c9e58027df11ceab2198601d6a6 > > Author:

Re: [PATCH] kernel/groups.c: consider about NULL for 'group_info' in all related extern functions

2013-09-27 Thread Tejun Heo
Hello, On Fri, Sep 27, 2013 at 03:16:59PM +0800, Chen Gang wrote: > Hmm... do you mean: "can not evaluate an interface before implement(or > read details) them all"? No, I'm saying there are a lot more steps necessary between recognizing that an interface needs an improvement and actually

Re: [RFT PATCH v1 2/7] arm64: restore FPSIMD to default state for kernel and signal contexts

2013-09-27 Thread Catalin Marinas
On Fri, Sep 27, 2013 at 09:04:42AM +0100, Jiang Liu wrote: > diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c > index bb785d2..12a25e5 100644 > --- a/arch/arm64/kernel/fpsimd.c > +++ b/arch/arm64/kernel/fpsimd.c > @@ -80,9 +80,14 @@ void fpsimd_thread_switch(struct task_struct

Re: [PATCH RFC] media: rc: OF: Add Generic bindings for remote-control

2013-09-27 Thread Mark Rutland
On Fri, Sep 27, 2013 at 10:33:11AM +0100, Srinivas KANDAGATLA wrote: > From: Srinivas Kandagatla > > This patch attempts to collate generic bindings which can be used by > the remote control hardwares. Currently the list is not long as there > are only 2 drivers which are device tree'd. > >

RE: [block:for-next 5/6] drivers/block/skd_main.c:441:3: error: implicit declaration of function 'readq'

2013-09-27 Thread Akhil Bhansali
Hello Jens, There are few improvements suggested by community for driver: 1. Replacement of custom macros for debug printing. (DPRINTK / VPRINTK). 2. Reformatting of "skd_request_fn" which is too long. Kindly let us know if you see any other changes required before it can be moved to mainline

[PATCH] ll_temac: Reset dma descriptors on ndo_open

2013-09-27 Thread Ricardo Ribalda Delgado
The dma descriptors are only initialized on the probe function. If a packet is on the buffer when temac_stop is called, the dma descriptors can be left on a incorrect status where no other package can be sent. So an interface could be left in an usable state after ifdow/ifup. This patch makes

Re: [PATCH v6 5/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file

2013-09-27 Thread Peter Zijlstra
On Fri, Sep 27, 2013 at 08:02:13AM +0200, Ingo Molnar wrote: > Would be nice to have this as a separate, add-on patch. Every single > instruction removal that has no downside is an upside! > > You can add a comment that explains it. If someone is going to do add-on patches to the mcslock.h

Re: [RFT PATCH v1 0/7] enable FPSIMD lazy save and restore for arm64

2013-09-27 Thread Will Deacon
On Fri, Sep 27, 2013 at 11:50:46AM +0100, Catalin Marinas wrote: > On Fri, Sep 27, 2013 at 09:04:40AM +0100, Jiang Liu wrote: > > From: Jiang Liu > > > > This patchset enables FPSIMD lazy save and restore for ARM64, you could > > apply it against v3.12-rc2. > > > > We have done basic functional

Re: [PATCH 1/2] UBI: Fix error path in scan_pool()

2013-09-27 Thread Richard Genoud
2013/9/27 Richard Weinberger : > Am 26.09.2013 11:25, schrieb Richard Genoud: >> I added some traces and I found that : (dumping ec_header after >> "ubi_io_read_ec_hdr(ubi, pnum, ech, 0); " in ubi_scan_fastmap()) >> [0.812500] UBI: default fastmap pool size: 95 >> [0.820312] UBI: default

Re: [PATCH 1/2] UBI: Fix error path in scan_pool()

2013-09-27 Thread Richard Weinberger
Am 26.09.2013 11:25, schrieb Richard Genoud: > I added some traces and I found that : (dumping ec_header after > "ubi_io_read_ec_hdr(ubi, pnum, ech, 0); " in ubi_scan_fastmap()) > [0.812500] UBI: default fastmap pool size: 95 > [0.820312] UBI: default fastmap WL pool size: 25 > [

[tip:x86/urgent] x86/microcode/AMD: Fix patch level reporting for family 15h

2013-09-27 Thread tip-bot for Suravee Suthikulpanit
Commit-ID: accd1e823ed1d5980106dd522a4c535084400830 Gitweb: http://git.kernel.org/tip/accd1e823ed1d5980106dd522a4c535084400830 Author: Suravee Suthikulpanit AuthorDate: Wed, 29 Sep 2010 19:27:12 -0500 Committer: Ingo Molnar CommitDate: Fri, 27 Sep 2013 09:29:27 +0200

Re: [RFT PATCH v1 1/7] arm64: fix possible invalid FPSIMD initialization state

2013-09-27 Thread Catalin Marinas
On Fri, Sep 27, 2013 at 09:04:41AM +0100, Jiang Liu wrote: > From: Jiang Liu > > If context switching happens during executing fpsimd_flush_thread(), > stale value in FPSIMD registers will be saved into current thread's > fpsimd_state by fpsimd_thread_switch(). That may cause invalid >

Re: [RFT PATCH v1 6/7] amd64: avoid saving and restoring FPSIMD registers until threads access them

2013-09-27 Thread Will Deacon
On Fri, Sep 27, 2013 at 09:04:46AM +0100, Jiang Liu wrote: > From: Jiang Liu > > Use PF_USED_MATH flag to mark whether the thread has accessed any FPSIMD > registers, so we could avoid saving and restroing FPSIMD registers until > threads access them. This may improve performance when lazy

Re: [GIT PULL] ARM: SoC fixes for 3.12-rc

2013-09-27 Thread Woodhouse, David
On Thu, 2013-09-19 at 17:44 -0700, Brian Norris wrote: > > Does that m25p80 'fix 4 byte addressing' fix for Micron not also want to > > go in? > > I suppose the m25p80 one can go in as well. It's not so much a bugfix > as augmenting my original patch to support more devices. But it is > safe

[PATCH 0/4] ARC fixes for 3.12-rc3

2013-09-27 Thread Vineet Gupta
ARC fixes for 3.12-rc3. Thx, -Vineet Mischa Jonker (1): ARC: Handle zero-overhead-loop in unaligned access handler Uwe Kleine-König (1): ARC: Use clockevents_config_and_register over clockevents_register_device Vineet Gupta (2): ARC: Fix 32-bit wrap around in access_ok() ARC:

Re: [PATCH] IPv6: Allow the MTU of ipip6 tunnel to be set below 1280

2013-09-27 Thread Hannes Frederic Sowa
On Fri, Sep 27, 2013 at 11:45:48AM +0100, Oussama Ghorbel wrote: > The ip6_tunnel.c module would be then dependent on ip_tunnel.c and may > be it would not be good thing? It could just be a static inline in some shared header. So there would be no compile-time dependency. > As I have check in

[PATCH 3/4] ARC: Workaround spinlock livelock in SMP SystemC simulation

2013-09-27 Thread Vineet Gupta
Some ARC SMP systems lack native atomic R-M-W (LLOCK/SCOND) insns and can only use atomic EX insn (reg with mem) to build higher level R-M-W primitives. This includes a SystemC based SMP simulation model. So rwlocks need to use a protecting spinlock for atomic cmp-n-exchange operation to update

[PATCH 4/4] ARC: Use clockevents_config_and_register over clockevents_register_device

2013-09-27 Thread Vineet Gupta
From: Uwe Kleine-König clockevents_config_and_register is more clever and correct than doing it by hand; so use it. [vgupta: fixed build failure due to missing ; in patch] Signed-off-by: Uwe Kleine-König Signed-off-by: Vineet Gupta --- arch/arc/kernel/time.c | 7 ++- 1 file changed, 2

[PATCH 1/4] ARC: Handle zero-overhead-loop in unaligned access handler

2013-09-27 Thread Vineet Gupta
From: Mischa Jonker If a load or store is the last instruction in a zero-overhead-loop, and it's misaligned, the loop would execute only once. This fixes that problem. Signed-off-by: Mischa Jonker Signed-off-by: Vineet Gupta --- arch/arc/kernel/unaligned.c | 6 ++ 1 file changed, 6

[PATCH 2/4] ARC: Fix 32-bit wrap around in access_ok()

2013-09-27 Thread Vineet Gupta
Anton reported | LTP tests syscalls/process_vm_readv01 and process_vm_writev01 fail | similarly in one testcase test_iov_invalid -> lvec->iov_base. | Testcase expects errno EFAULT and return code -1, | but it gets return code 1 and ERRNO is 0 what means success. Essentially test case was

Re: [PATCH v3 0/4] Fix Win8 backlight issue

2013-09-27 Thread Mika Westerberg
On Tue, Sep 24, 2013 at 05:47:28PM +0800, Aaron Lu wrote: > v3: > 1 Add a new patch 4/4 to fix some problems in thinkpad-acpi module; > 2 Remove unnecessary function acpi_video_unregister introduced in > patch 2/3 as pointed out by Jani Nikula. > > v2: > v1 has the subject of "Rework ACPI video

[PATCH] tick: make sleep length calculation more accurate

2013-09-27 Thread Daniel Lezcano
The sleep_length is computed in the tick_nohz_stop_sched_tick function but it is used later in the code with in between the local irq enabled. cpu_idle_loop tick_nohz_idle_enter [ exits with local irq enabled ] __tick_nohz_idle_enter tick_nohz_stop_sched_tick ...

Re: [RFT PATCH v1 0/7] enable FPSIMD lazy save and restore for arm64

2013-09-27 Thread Catalin Marinas
On Fri, Sep 27, 2013 at 09:04:40AM +0100, Jiang Liu wrote: > From: Jiang Liu > > This patchset enables FPSIMD lazy save and restore for ARM64, you could > apply it against v3.12-rc2. > > We have done basic functional tests on ARM fast model, but still lack > of detail performance benchmark on

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-09-27 Thread Jiri Kosina
On Wed, 25 Sep 2013, Joseph Salisbury wrote: > After further testing reverting the following commit does in fact > resolve the bug: > > commit b1a1442a23776756b254b69786848a94d92445ba > Author: Jiri Kosina > Date: Mon Jun 3 11:27:48 2013 +0200 > > HID: core: fix reporting of raw events >

Re: [PATCH] IPv6: Allow the MTU of ipip6 tunnel to be set below 1280

2013-09-27 Thread Oussama Ghorbel
The ip6_tunnel.c module would be then dependent on ip_tunnel.c and may be it would not be good thing? As I have check in v3.10 there is no call from ip6_tunnel to ip_tunnel... For information, there is no check for the maximum MTU for ipv4 in the patch as this is not done for ipv6. Regards,

Re: [tip:x86/urgent] x86/smpboot: Fix announce_cpu() to printk() the last "OK" properly

2013-09-27 Thread Borislav Petkov
On Fri, Sep 27, 2013 at 08:51:15AM +0200, Ingo Molnar wrote: > (and I hope you learned the lesson about sending improvement patches > against long-bitrotten code, as the new x86 CPU bootup printout format > code maintainer!) Oh shit, what did I get into!? I only wanted to do a quick fix and

[PATCH] USB: gadget: s3c-hsotg: fix maxpacket size

2013-09-27 Thread Robert Baldyga
This patch changes ep maxpacket value from 512 to 1024, becouse it's needed to handle interupt and isochronous endpoints in high-speed mode. This change doesn't affect on driver functioning, becouse fifo size (3072) is still enough for the maximum transaction payload (3*1024 for high-speed

[PATCH] USB: gadget: f_fs: fix error handling

2013-09-27 Thread Robert Baldyga
This patch add missing error check in ffs_func_bind() function, after ffs_do_descs() funcion call for hs descriptors. Without this check it's possible that the module will try dereference incorrect pointer. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/f_fs.c |3 +++ 1 file changed,

[PATCH] USB: gadget: epautoconf: fix ep maxpacket check

2013-09-27 Thread Robert Baldyga
This patch fixes validation of maxpacket value given in endpoint descriptor. Added check of maxpacket for bulk endpoints. Correct maxpacket value is: FULL-SPEED HIGH-SPEED BULK 64 512 INTERRUPT64 1024 ISOCHRONOUS 10231024 Signed-off-by: Robert

Re: [PATCH v5] media: st-rc: Add ST remote control driver

2013-09-27 Thread Srinivas KANDAGATLA
Thanks Prabhakar, >> +config RC_ST >> + tristate "ST remote control receiver" >> + depends on ARCH_STI && RC_CORE >> + help >> +Say Y here if you want support for ST remote control driver >> +which allows both IR and UHF RX. >> +The driver passes raw pluse

Re: thinkpad x60: critical thermal shutdown does not work (and ethernet overheats)

2013-09-27 Thread Pavel Machek
On Mon 2013-09-23 09:02:56, Henrique de Moraes Holschuh wrote: > On Mon, 23 Sep 2013, Pavel Machek wrote: > > > I have rather old thinkpad x60 here. Long time ago, I noticed that on > > > high continuous ethernet load, it shuts itself down in regular > > > way. I traced it down to overheat,

Re: [PATCH v2 0/5] mm: migrate zbud pages

2013-09-27 Thread Tomasz Stanislawski
On 09/25/2013 11:57 PM, Seth Jennings wrote: > On Wed, Sep 25, 2013 at 07:09:50PM +0200, Tomasz Stanislawski wrote: >>> I just had an idea this afternoon to potentially kill both these birds with >>> one >>> stone: Replace the rbtree in zswap with an address_space. >>> >>> Each swap type would

[f2fs-dev][PATCH V2] f2fs: use rw_sem instead of fs_lock(locks mutex)

2013-09-27 Thread Gu Zheng
The fs_locks is used to block other ops(ex, recovery) when doing checkpoint. And each other operate routine(besides checkpoint) needs to acquire a fs_lock, there is a terrible problem here, if these are too many concurrency threads acquiring fs_lock, so that they will block each other and may

Re: [PATCHv2] ipvs: improved SH fallback strategy

2013-09-27 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin -- diff --git

Re: [PATCH] ASoC: wm8993: drop regulator_bulk_free of devm_ allocated data

2013-09-27 Thread Mark Brown
On Fri, Sep 27, 2013 at 04:15:54PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > It's not necessary to free regulator consumers allocated with > devm_regulator_bulk_get. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] gma500: define do_gma_backlight_set only when used

2013-09-27 Thread Jani Nikula
On Fri, 27 Sep 2013, Patrik Jakobsson wrote: >> +#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE Hi, while at it, you should probably let backlight be built as module: #if IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE) Cheers, Jani. -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe

[PATCH RFC] media: rc: OF: Add Generic bindings for remote-control

2013-09-27 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla This patch attempts to collate generic bindings which can be used by the remote control hardwares. Currently the list is not long as there are only 2 drivers which are device tree'd. Mainly this patch tries to document few bindings used by ST IRB driver which can be

Re: [PATCH v5] media: st-rc: Add ST remote control driver

2013-09-27 Thread Prabhakar Lad
Hi Srinivas, Thanks for the patch. Several nits below. On Fri, Sep 27, 2013 at 2:32 PM, Srinivas KANDAGATLA wrote: > From: Srinivas Kandagatla > > This patch adds support to ST RC driver, which is basically a IR/UHF > receiver and transmitter. This IP (IRB) is common across all the ST > parts

Re: [PATCH 1/8] um: Create defconfigs for i386 and x86_64

2013-09-27 Thread Richard Weinberger
Am 27.09.2013 11:22, schrieb Toralf Förster: > On 09/26/2013 12:35 PM, Richard Weinberger wrote: >> Am 26.09.2013 12:20, schrieb Ramkumar Ramachandra: >>> Richard Weinberger wrote: This patch is based on: https://lkml.org/lkml/2013/7/4/396 Cc: Ramkumar Ramachandra

Re: [PATCH 1/8] um: Create defconfigs for i386 and x86_64

2013-09-27 Thread Toralf Förster
On 09/26/2013 12:35 PM, Richard Weinberger wrote: > Am 26.09.2013 12:20, schrieb Ramkumar Ramachandra: >> Richard Weinberger wrote: >>> This patch is based on: https://lkml.org/lkml/2013/7/4/396 >>> >>> Cc: Ramkumar Ramachandra >>> Signed-off-by: Richard Weinberger >>> --- >>>

Re: [PATCH 1/4] [RFC] net: Explicitly initialize u64_stats_sync structures for lockdep

2013-09-27 Thread Eric Dumazet
On Fri, 2013-09-27 at 07:44 +0200, Ingo Molnar wrote: > C cannot pass along symbolic names, unfortunately, so we are stuck with > 1970's tech and the C preprocessor. > Yes, I realized that a bit too late. > There's a way to make such macros look a tiny bit more structured and thus > be more

[PATCH] gcov: MAINTAINERS: Add an entry for gcov

2013-09-27 Thread Peter Oberparleiter
Signed-off-by: Peter Oberparleiter --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3605,6 +3605,12 @@ S: Odd Fixes (e.g., new signatures) F: drivers/scsi/fdomain.* +GCOV BASED KERNEL PROFILING +M: Peter Oberparleiter +S:

[PATCH] fs/debugfs: add declaration for no CONFIG_DEBUG_FS

2013-09-27 Thread Weijie Yang
Two function declarations are absence if not define CONFIG_DEBUG_FS in include/linux/debugfs.h Signed-off-by: Weijie Yang --- include/linux/debugfs.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 263489d..4d0b4d1

Re: [PATCH] PCI: add quirk for 3ware 9650SE controller

2013-09-27 Thread Jiri Kosina
On Fri, 6 Sep 2013, Bjorn Helgaas wrote: > >> >> > Commit d5dea7d95 ("PCI: msi: Disable msi interrupts when we > >> >> > initialize a > >> >> > pci device") makes MSIs be forcibly disabled at boot time. > >> >> > > >> >> > It turns out that this breaks 3ware controller -- if MSIs are disabled >

[GIT PULL] fbdev fixes for 3.12

2013-09-27 Thread Tomi Valkeinen
Hi Linus, The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: Linux 3.12-rc1 (2013-09-16 16:17:51 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/fbdev-fixes-3.12 for you to fetch changes up to

[PATCH v5] media: st-rc: Add ST remote control driver

2013-09-27 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla This patch adds support to ST RC driver, which is basically a IR/UHF receiver and transmitter. This IP (IRB) is common across all the ST parts for settop box platforms. IRB is embedded in ST COMMS IP block. It supports both Rx & Tx functionality. This driver adds only

linux-next: Tree for Sep 27

2013-09-27 Thread Stephen Rothwell
Hi all, Heads up: I will be having a 3 week break leading up to the kernel summit. This means that next-20130927 (today) will be the last linux-next release until next-20131028 (or maybe 29). I presume that Linus will be up to v3.12-rc7 by then and -rc7 is often the last before a release

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