Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support

2013-09-18 Thread Zubair Lutfullah :
On Thu, Sep 19, 2013 at 06:41:22AM +0100, Jonathan Cameron wrote: > > > >... > >> > > >> > struct tiadc_device { > >> > struct ti_tscadc_dev *mfd_tscadc; > >> > int channels; > >> > u8 channel_line[8]; > >> > u8 channel_step[8]; > >> >+ int

Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support

2013-09-18 Thread Jonathan Cameron
"Zubair Lutfullah :" wrote: >On Wed, Sep 18, 2013 at 02:58:47PM +0100, Jonathan Cameron wrote: >> On 18/09/13 12:23, Zubair Lutfullah wrote: >> >Previously the driver had only one-shot reading functionality. >> >This patch adds continuous sampling support to the driver. >> > >... >> >> Very

Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support

2013-09-18 Thread Jonathan Cameron
"Zubair Lutfullah :" wrote: >On Wed, Sep 18, 2013 at 06:05:12PM +0100, Jonathan Cameron wrote: >> >> >> >However in this case such conversion us dangerous. With all but >IRQ >> >> >resource managed by the traditional methods they will be released >> >first >> >> >with IRQ handler deregistered

Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support

2013-09-18 Thread Zubair Lutfullah :
On Wed, Sep 18, 2013 at 02:58:47PM +0100, Jonathan Cameron wrote: > On 18/09/13 12:23, Zubair Lutfullah wrote: > >Previously the driver had only one-shot reading functionality. > >This patch adds continuous sampling support to the driver. > > ... > > Very very nearly there. Couple of suggestions

Letter of Intent

2013-09-18 Thread Mr,Tep
Dear Friend It is my interest to contact you in respect of our client from your country, who share almost the same name with your name . I shall explain in details when I read your reply.You are my first contact, I shall wait for days and if I do not hear from you. I shall continue with my

Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support

2013-09-18 Thread Zubair Lutfullah :
On Wed, Sep 18, 2013 at 06:05:12PM +0100, Jonathan Cameron wrote: > > >> >However in this case such conversion us dangerous. With all but IRQ > >> >resource managed by the traditional methods they will be released > >first > >> >with IRQ handler deregistered very last. Therefore if device is not

Re: [PATCH 09/17] Move unicode to ASCII conversion to shared function.

2013-09-18 Thread Roy Franz
On Wed, Sep 18, 2013 at 8:44 PM, Adam Borowski wrote: > On Mon, Sep 16, 2013 at 09:11:25PM -0700, Roy Franz wrote: >> +/* Convert the unicode UEFI command line to ASCII to pass to kernel. >> + * Size of memory allocated return in *cmd_line_len. >> + * Returns NULL on error. >> + */ >> +static

Re: [PATCH] mtd: nand: fix memory leak in ONFI extended parameter page

2013-09-18 Thread Brian Norris
On Tue, Sep 17, 2013 at 10:12:57AM +0800, Huang Shijie wrote: > 于 2013年09月17日 09:31, Brian Norris 写道: > > This fixes a memory leak in the ONFI support code for detecting the > > required ECC levels from this commit: > > > > commit 6dcbe0cdd83fb5f77be4f44c9e06c535281c375a > > Author: Huang

Re: [PATCH] cpufreq: return EEXIST instead of EBUSY for second registering

2013-09-18 Thread Viresh Kumar
On 19 September 2013 09:35, Yinghai Lu wrote: > System that cpu support intel_pstate, acpi_cpufreq fail to > load, and udev keep trying until trace get filled up and > kernel crash. > > The root cause is driver return ret from cpufreq_register_driver > and when some other driver take over before,

[PATCH] cpufreq: return EEXIST instead of EBUSY for second registering

2013-09-18 Thread Yinghai Lu
System that cpu support intel_pstate, acpi_cpufreq fail to load, and udev keep trying until trace get filled up and kernel crash. The root cause is driver return ret from cpufreq_register_driver and when some other driver take over before, it would return EBUSY, then udev will keep trying...

linux-next: Tree for Sep 19

2013-09-18 Thread Stephen Rothwell
Hi all, Changes since 20130918: The gpio tree lost its build failure. I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git (patches at http://www.kernel.org/pub

Re: [PATCH 09/17] Move unicode to ASCII conversion to shared function.

2013-09-18 Thread H. Peter Anvin
On 09/18/2013 10:44 PM, Adam Borowski wrote: > > In fact, these days it's 8-bit encodings that are more likely to be Unicode > than 16-bit ones: UTF-8 is ubiquitous, while you usually get UCS2 at most. > In either case, though, we have here is a 7-bit charset encoded as either > 8-bit or 16-bit

Re: [PATCH 09/17] Move unicode to ASCII conversion to shared function.

2013-09-18 Thread Adam Borowski
On Mon, Sep 16, 2013 at 09:11:25PM -0700, Roy Franz wrote: > +/* Convert the unicode UEFI command line to ASCII to pass to kernel. > + * Size of memory allocated return in *cmd_line_len. > + * Returns NULL on error. > + */ > +static char *efi_convert_cmdline_to_ascii(efi_system_table_t

Re: [git pull] drm radeon/nouveau/core fixes

2013-09-18 Thread Dave Airlie
On Thu, Sep 19, 2013 at 12:20 PM, Linus Torvalds wrote: > On Wed, Sep 18, 2013 at 9:07 PM, Dave Airlie wrote: >> >> mostly radeon fixes, with some nouveau bios parser, ttm fix and a fix >> for AST driver. > > Ugh. I hope things calm down from here. It shouldn't be that bad, this stuff was a bit

Re: Regression: bisected: commit 7c510133d93 breaks video

2013-09-18 Thread Dave Airlie
On Thu, Sep 19, 2013 at 12:02 PM, Paul Zimmerman wrote: > I have an ASUS P6X58D-Premium mobo with a GeForce 9400GT PCIe video card. > With kernel 3.12-rc1, I get scrambled video on boot. Kernel 3.11 works > fine. > > Bisecting this, I found 7c510133d93dd6f15ca040733ba7b2891ed61fd1 "drm: > mark

Re: [git pull] drm radeon/nouveau/core fixes

2013-09-18 Thread Linus Torvalds
On Wed, Sep 18, 2013 at 9:07 PM, Dave Airlie wrote: > > mostly radeon fixes, with some nouveau bios parser, ttm fix and a fix > for AST driver. Ugh. I hope things calm down from here. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 0/2] vsprintf: ignore %n again

2013-09-18 Thread Tetsuo Handa
Kees Cook wrote: > > -- output start -- > > const : literal > > not const : const char * > > not const : const char [] > > const : const char * const > > What version of gcc did you use? I don't get the last as const, for > some reason. And as Dan mentions, shouldn't const char[]

[git pull] drm radeon/nouveau/core fixes

2013-09-18 Thread Dave Airlie
Hi Linus, mostly radeon fixes, with some nouveau bios parser, ttm fix and a fix for AST driver. Dave. The following changes since commit 01172772c7c973debf5b4881fcb9463891ea97ec: drm/nouveau: fix oops on runtime suspend/resume (2013-09-10 12:38:53 +1000) are available in the git repository

Regression: bisected: commit 7c510133d93 breaks video

2013-09-18 Thread Paul Zimmerman
I have an ASUS P6X58D-Premium mobo with a GeForce 9400GT PCIe video card. With kernel 3.12-rc1, I get scrambled video on boot. Kernel 3.11 works fine. Bisecting this, I found 7c510133d93dd6f15ca040733ba7b2891ed61fd1 "drm: mark context support as a legacy subsystem" is the guilty commit. If I

Re: "memory" binding issues

2013-09-18 Thread David Gibson
On Wed, Sep 18, 2013 at 10:28:44AM -0600, Stephen Warren wrote: > On 09/17/2013 03:15 PM, Olof Johansson wrote: > > On Tue, Sep 17, 2013 at 2:08 PM, Frank Rowand > > wrote: > >> On 9/17/2013 9:43 AM, Olof Johansson wrote: > >>> On Tue, Sep 17, 2013 at 09:56:39AM +0200, Tomasz Figa wrote: >

Re: [PATCH 5/5] lib: Add error string support to printks

2013-09-18 Thread Daniel Santos
On 09/18/2013 06:04 AM, David Howells wrote: Joe Perches wrote: On Tue, 2013-09-17 at 18:08 -0500, danielfsan...@att.net wrote: This adds an extension for the integral format specifier suffix of 'e', so that the format %[duxXo]e will result in printing an number (as before) in addition to a

unsupported usb bluetooth device

2013-09-18 Thread Ken O'Brien
Hi, I've acquired a Belkin "Mini Bluetooth v4.0 Adapter" F8T065bf 8830bf12557 Rev. A01. I'm running Linux 3.7.10-1.16 (openSUSE 12.3) and this device is not detecting beyond what I can see in lsusb. What steps can I take to aid in patching the kernel to support this device? I am a proficient

Re: nouveau: remove pointless assignment

2013-09-18 Thread Ben Skeggs
- Original Message - > From: "Dave Jones" > To: "Linux Kernel" > Cc: bske...@redhat.com, airl...@redhat.com > Sent: Wednesday, 18 September, 2013 7:26:34 AM > Subject: nouveau: remove pointless assignment > > self-assignment of a variable doesn't make a lot of sense. Thanks,

Re: [RESEND PATCH] mm/mempolicy: use NUMA_NO_NODE

2013-09-18 Thread David Rientjes
On Tue, 17 Sep 2013, Jianguo Wu wrote: > Use more appropriate NUMA_NO_NODE instead of -1 > > Signed-off-by: Jianguo Wu > Acked-by: KOSAKI Motohiro Acked-by: David Rientjes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[no subject]

2013-09-18 Thread Loan Offer
-- Are You In Need Of money to pay your bills or to start any kind of Business? If Yes; Contact us via: richard.fast.loancompa...@gmail.com Full Name: Amount Needed: Duration: Country: Cell No: Sex: Age: Noted that all email should been send to Mr Richard Fast on this email:

[PATCH tty-next] tty: Remove unused drop() method from tty_port interface

2013-09-18 Thread Peter Hurley
Although originally conceived as a hook for port drivers to know when a port reference is dropped, no driver uses this method. Signed-off-by: Peter Hurley --- drivers/tty/tty_port.c | 6 +- include/linux/tty.h| 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git

[PATCH tty-next 0/1] premature tty_port destruction diagnostic

2013-09-18 Thread Peter Hurley
Hi Greg, Now that the bluetooth rfcomm tty refcounting is fixed in linux-next, I'd like to add this patch which aborts tty_port destruction if the tty has not yet been released. At least this problem won't show up as some random memory corruption (as was happening with rfcomm). Even though this

[PATCH tty-next 1/1] tty: Prevent tty_port destruction if tty not released

2013-09-18 Thread Peter Hurley
If the tty driver mistakenly drops the last port reference before the tty has been released, issue a diagnostic and abort the port destruction. This will leak memory and may zombify the port, but might otherwise keep the machine in runnable state. Signed-off-by: Peter Hurley ---

Re: [PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Guenter Roeck
On Wed, Sep 18, 2013 at 04:32:59PM -0700, Sören Brinkmann wrote: > On Wed, Sep 18, 2013 at 04:18:56PM -0700, Joe Perches wrote: > > On Wed, 2013-09-18 at 16:09 -0700, Sören Brinkmann wrote: > > > On Wed, Sep 18, 2013 at 04:02:41PM -0700, Joe Perches wrote: > > > > On Wed, 2013-09-18 at 15:43

Re: [Intel-gfx] [PATCH] [RFC] mm/shrinker: Add a shrinker flag to always shrink a bit

2013-09-18 Thread Dave Chinner
[my keyboard my be on the fritz - it's not typing what I'm thinking...] On Thu, Sep 19, 2013 at 06:38:22AM +1000, Dave Chinner wrote: > On Wed, Sep 18, 2013 at 12:38:23PM +0200, Knut Petersen wrote: > > On 18.09.2013 11:10, Daniel Vetter wrote: > > > > Just now I prepared a patch changing the

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-18 Thread Ryan Mallon
On 19/09/13 01:56, Michal Simek wrote: > This new subsystem should unify all fpga drivers which > do the same things. Load configuration data to fpga > or another programmable logic through common interface. > It doesn't matter if it is MMIO device, gpio bitbanging, > etc. connection. The point is

Re: [PATCH v3] ARM: pxa: sharpsl_param.c: fix invalid memory access

2013-09-18 Thread Russell King - ARM Linux
On Thu, Sep 19, 2013 at 01:18:39AM +0200, Andrea Adami wrote: > After commit 72662e01088394577be4a3f14da94cf87bea2591 > ARM: head.S: only include __turn_mmu_on in the initial identity mapping > > Zaurus PXA devices call sharpsl_save_param() during fixup and hang on > boot because memcpy refers to

Re: [PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Sören Brinkmann
On Wed, Sep 18, 2013 at 04:18:56PM -0700, Joe Perches wrote: > On Wed, 2013-09-18 at 16:09 -0700, Sören Brinkmann wrote: > > On Wed, Sep 18, 2013 at 04:02:41PM -0700, Joe Perches wrote: > > > On Wed, 2013-09-18 at 15:43 -0700, Soren Brinkmann wrote: > > > > Add a driver for SILabs 570, 571, 598,

Re: [PATCH 4/7] perf completion: modernize style

2013-09-18 Thread Ramkumar Ramachandra
Hi Arnaldo, Arnaldo Carvalho de Melo wrote: > Can you check how is this in the current perf/core branch so that we can > move forward while I process some other patches? perf/completion is now 3 months old, and my more recent patches have already been merged into Linus' tree. Why is

[PATCH v3 RFT 2/2] PM / Hibernate: use name_to_dev_t to parse resume

2013-09-18 Thread Sebastian Capella
Use the name_to_dev_t call to parse the device name echo'd to to /sys/power/resume. This imitates the method used in hibernate.c in software_resume, and allows the resume partition to be specified using other equivalent device formats as well. By allowing /sys/debug/resume to accept the same

[PATCH v3 RFT 1/2] init/do_mounts.c: ignore final \n in name_to_dev_t

2013-09-18 Thread Sebastian Capella
Enhance name_to_dev_t to handle trailing newline characters on device paths. Some inputs to name_to_dev_t may come from userspace where oftentimes a '\n' is appended to the path. Added const to the name buffer in both the function declaration and the prototype to reflect input buffer handling.

[PATCH v3 RFT 0/2] PM / Hibernate: sysfs resume

2013-09-18 Thread Sebastian Capella
Patchset related to hibernation resume: one enhancement to make the use of an existing resume file more general and one enhances name_to_dev_t to ignore the trailing newlines coming from userspace. Both patches are based on the 3.11 tag. This was tested on a Pandaboard with partial hibernation

RE: [PATCH V2 1/1] Drivers: input: serio: New driver to support Hyper-V synthetic keyboard

2013-09-18 Thread KY Srinivasan
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: Wednesday, September 18, 2013 2:01 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >

[PATCH] tools lib lk: Uninclude linux/magic.h in debugfs.c.

2013-09-18 Thread Vinson Lee
From: Vinson Lee The compilation only looks for linux/magic.h from the default include paths, which does not include the source tree. This results in a build error if linux/magic.h is not available or not installed. For example, this build error occurs on CentOS 5. $ make -C tools/lib/lk V=1

Re: [PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 16:09 -0700, Sören Brinkmann wrote: > On Wed, Sep 18, 2013 at 04:02:41PM -0700, Joe Perches wrote: > > On Wed, 2013-09-18 at 15:43 -0700, Soren Brinkmann wrote: > > > Add a driver for SILabs 570, 571, 598, 599 programmable oscillators. > > > The devices generate low-jitter

[PATCH v3] ARM: pxa: sharpsl_param.c: fix invalid memory access

2013-09-18 Thread Andrea Adami
After commit 72662e01088394577be4a3f14da94cf87bea2591 ARM: head.S: only include __turn_mmu_on in the initial identity mapping Zaurus PXA devices call sharpsl_save_param() during fixup and hang on boot because memcpy refers to physical addresses no longer valid if the MMU is setup. Zaurus collie

Re: [PATCH 2/2] x86_64: Add safe check in a.out loaders and some coding style

2013-09-18 Thread Geyslan Gregório Bem
Now it's ok. Geyslan Gregório Bem hackingbits.com 2013/9/18 Geyslan G. Bem : > ia32_aout had no safe checks concerning the mmap and f_op in this module. > It's not necessary to verify f_op in the load_aout_library, since the > prior kernel_read/vfs_read function already does. > Coding style and

[PATCH 2/2] x86_64: Add safe check in a.out loaders and some coding style

2013-09-18 Thread Geyslan G. Bem
ia32_aout had no safe checks concerning the mmap and f_op in this module. It's not necessary to verify f_op in the load_aout_library, since the prior kernel_read/vfs_read function already does. Coding style and printks fixes. Tested using qemu, a handcrafted a.out binary and a a.out linked with a

Re: [PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Sören Brinkmann
On Wed, Sep 18, 2013 at 04:02:41PM -0700, Joe Perches wrote: > On Wed, 2013-09-18 at 15:43 -0700, Soren Brinkmann wrote: > > Add a driver for SILabs 570, 571, 598, 599 programmable oscillators. > > The devices generate low-jitter clock signals and are reprogrammable via > > an I2C interface. > []

Re: [PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 15:43 -0700, Soren Brinkmann wrote: > Add a driver for SILabs 570, 571, 598, 599 programmable oscillators. > The devices generate low-jitter clock signals and are reprogrammable via > an I2C interface. [] > v2: [] > - use 1 as MIN and MAX value in usleep_range [] > diff

Re: [dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-18 Thread Stephen Warren
On 09/18/2013 02:41 PM, Olof Johansson wrote: > On Wed, Sep 18, 2013 at 1:23 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any >> node that has a reg property must include a unit address in its name >> with value

Re: RFC vmstat: On demand vmstat threads

2013-09-18 Thread Thomas Gleixner
On Wed, 18 Sep 2013, Andrew Morton wrote: > On Tue, 10 Sep 2013 21:13:34 + Christoph Lameter wrote: > > + cpumask_copy(monitored_cpus, cpu_online_mask); > > + cpumask_clear_cpu(tick_do_timer_cpu, monitored_cpus); > > What on earth are we using tick_do_timer_cpu for anyway? >

Vážení E-mail užívateľa;

2013-09-18 Thread webmail update
Pre všetky e-mailového konta užívateľa. Vezmite prosím na vedomie, že váš e-mailový účet prekročil skladovacie kapacity. Nebudete môcť odosielať a prijímať e-maily a vaše e-mailové konto, budú odstránené z nášho servera. Ak sa chcete tomuto problému vyhnúť, Kliknite na odkaz nižšie pre

[git pull] vfs and fs fixes

2013-09-18 Thread Al Viro
atomic_open-related fixes (Miklos' series, with EEXIST-related parts replaced with fix in fs/namei.c:atomic_open() instead of messing with the instances) + race fix in autofs + leak on failure exit in 9p. Please, pull from the usual place -

Re: Dependency bug in the uvcvideo Kconfig

2013-09-18 Thread Randy Dunlap
On 09/18/13 08:37, Peter Senna Tschudin wrote: > Hi Randy, > > I've tried to download the .config file from the link on the forum, > but it tries to install something in my browser and the file is not > downloadable for me. Can you provide it over an simpler interface such > as pastebin.com? > >

Re: [PATCH 06/22] ARM: dts: bcm281xx: Remove '0x's from BCM11351 DTS file

2013-09-18 Thread Christian Daudt
On 13-08-12 06:54 AM, Lee Jones wrote: On Thu, 08 Aug 2013, Christian Daudt wrote: Hi Lee, I had to change some of the lines in the dts files you modified, so I've added your mods. This patch: https://lkml.org/lkml/2013/8/8/477 includes your changes to bcm11351.dtsi and bcm11351-brt.dts.

Re: [PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Sören Brinkmann
I accidentally sent this out twice, sorry. Please ignore the second mail of this thread. Sören -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 0/5] Preliminary: Add error names & descrptions to printks

2013-09-18 Thread Daniel Santos
On 09/18/2013 06:08 AM, David Howells wrote: danielfsan...@att.net wrote: Typically, we don't care about error messages or names in the kernel because userspace will manage that. But sometimes we need to output an error number to printks and that creates a situation where a user, system

[PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Soren Brinkmann
Add a driver for SILabs 570, 571, 598, 599 programmable oscillators. The devices generate low-jitter clock signals and are reprogrammable via an I2C interface. Cc: Guenter Roeck Signed-off-by: Soren Brinkmann --- v2: - document clock-output-names in bindings documentation - don't use

[PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Soren Brinkmann
Add a driver for SILabs 570, 571, 598, 599 programmable oscillators. The devices generate low-jitter clock signals and are reprogrammable via an I2C interface. Cc: Guenter Roeck Signed-off-by: Soren Brinkmann --- v2: - document clock-output-names in bindings documentation - don't use

Re: [PATCH 1/5] scripts: Add mkstrerror.sh

2013-09-18 Thread Daniel Santos
On 09/18/2013 06:38 AM, David Howells wrote: danielfsan...@att.net wrote: This is a simple bash script that parses our errno*.h files and formats them into the error_strings.h header that our strerror and strerror_name functions will use later. I presume you haven't tried building with a

Re: [PATCH 02/02] x86_64: Add safe check in a.out loaders and some coding style

2013-09-18 Thread Geyslan Gregório Bem
Please, disregard this due to problems reversing the commit. I'll send the entire one soon. Geyslan Gregório Bem hackingbits.com 2013/9/18 Geyslan G. Bem : > ia32_aout had no safe checks concerning the mmap and f_op in this module. > It's not necessary to verify f_op in the load_aout_library,

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-18 Thread Thomas Gleixner
On Wed, 18 Sep 2013, Santosh Shilimkar wrote: > On Friday 13 September 2013 10:55 AM, Santosh Shilimkar wrote: > > On Friday 13 September 2013 10:24 AM, Thomas Gleixner wrote: > > [...] > > >> Before you dig into MSI, lets talk about irq domains first. > >> > >> GIC implements a legacy irq

Re: Regression on cpufreq in v3.12-rc1

2013-09-18 Thread Rafael J. Wysocki
On Wednesday, September 18, 2013 11:21:45 PM Linus Walleij wrote: > Hi Rafael, Viresh, > > I'm seeing this problem and maybe you can help me out fixing it > properly: > > On some machines like the StrongARM SA1100 it seems that > cpufreq_get() can be called before the cpufreq driver and thus the

Re: [PATCH] RX-51: Add missing max_current to rx51_lp5523_led_config

2013-09-18 Thread Tony Lindgren
* Pali Rohár [130918 15:02]: > Without max_current data in board file lp5523 driver does not change current. Hmm is this a regression or are there other reasons to merge this during the -rc cycle? Regards, Tony > Signed-off-by: Pali Rohár > --- >

Re: [PATCH 1/5] scripts: Add mkstrerror.sh

2013-09-18 Thread Daniel Santos
On 09/18/2013 06:55 AM, David Howells wrote: David Howells wrote: (1) Why are you double-NUL'ing all your strings? (see the \0 in the strings) Ah... I see what you're doing. I missed the fact that you don't have a comma after each string. Yeah, I was trying to format the code so that

Re: [PATCH 2/2] uinput: Support injecting multiple events in one write() call

2013-09-18 Thread Dmitry Torokhov
Ryan Mallon wrote: >On 19/09/13 05:48, Dmitry Torokhov wrote: > >> Hi Ryan, >> >> On Wed, Sep 18, 2013 at 08:55:44AM +1000, Ryan Mallon wrote: >>> Rework the code in uinput_inject_event so that it matches the code >in >>> evdev_write and allows injecting more than one event, or zero >events. >>

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-18 Thread Thomas Gleixner
On Wed, 18 Sep 2013, Sricharan R wrote: > On Wednesday 18 September 2013 07:22 PM, Sricharan R wrote: > > Hi Thomas, > > > > On Tuesday 17 September 2013 05:56 PM, Linus Walleij wrote: > >> On Fri, Sep 13, 2013 at 4:24 PM, Thomas Gleixner > >> wrote: > >> > >>> So why can't you make use of irq

Re: [BUG] 3.7-rc regression bisected: s2disk fails to resume image: Processes could not be frozen, cannot continue resuming

2013-09-18 Thread Andrew Savchenko
On Wed, 18 Sep 2013 20:16:07 +0100 Al Viro wrote: > On Wed, Sep 18, 2013 at 10:40:32PM +0400, Andrew Savchenko wrote: > > > And from suspend_ioctls.h: > > #define SNAPSHOT_IOC_MAGIC '3' > > #define SNAPSHOT_FREEZE _IO(SNAPSHOT_IOC_MAGIC, 1) > > > > My mistake, should be '3'

Re: [REGRESSION][BISECTED] skge: add dma_mapping check

2013-09-18 Thread Francois Romieu
Igor Gnatenko : > Since 136d8f377e1575463b47840bc5f1b22d94bf8f63 commit we have kernel > panic on: > 01:05.0 Ethernet controller [0200]: Marvell Technology Group Ltd. > > Screen: https://www.dropbox.com/s/mu3t3wxpxbn4ou5/IMAG0507.jpg > > RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1008323

Re: RFC vmstat: On demand vmstat threads

2013-09-18 Thread Andrew Morton
On Tue, 10 Sep 2013 21:13:34 + Christoph Lameter wrote: > Subject: vmstat: On demand vmstat workers V2 grumbles. > vmstat threads are used for folding counter differentials into the > zone, per node and global counters at certain time intervals. These are not "threads". Let's please use

Re: Build failures due to commit 416161db (btrfs: offline dedupe)

2013-09-18 Thread Mark Fasheh
On Wed, Sep 18, 2013 at 11:40:07AM -0700, Guenter Roeck wrote: > On Tue, Sep 17, 2013 at 03:43:54PM -0700, Mark Fasheh wrote: > > On Fri, Sep 13, 2013 at 03:33:34PM -0400, Chris Mason wrote: > > > Mark, could you please send a patch for the whole-struct option until > > > the unaligned put is

Re: [PATCH] clockevents: Sanitize ticks to nsec conversion

2013-09-18 Thread Thomas Gleixner
On Wed, 18 Sep 2013, Uwe Kleine-König wrote: > On Wed, Sep 18, 2013 at 11:38:07AM +0200, Thomas Gleixner wrote: > > On Wed, 18 Sep 2013, Uwe Kleine-König wrote: > > > Another doubt I have is: You changed clockevent_delta2ns to round up now > > > unconditionally. For the numbers on at91 that

[PATCH] RX-51: Add missing max_current to rx51_lp5523_led_config

2013-09-18 Thread Pali Rohár
Without max_current data in board file lp5523 driver does not change current. Signed-off-by: Pali Rohár --- arch/arm/mach-omap2/board-rx51-peripherals.c |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c

[PATCHv6 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
This patch introduces a device tree bindings for describing the hardware thermal behavior and limits. Also a parser to read and interpret the data and feed it in the thermal framework is presented. This patch introduces a thermal data parser for device tree. The parsed data is used to build

Re: [PATCH 2/2] uinput: Support injecting multiple events in one write() call

2013-09-18 Thread Ryan Mallon
On 19/09/13 05:48, Dmitry Torokhov wrote: > Hi Ryan, > > On Wed, Sep 18, 2013 at 08:55:44AM +1000, Ryan Mallon wrote: >> Rework the code in uinput_inject_event so that it matches the code in >> evdev_write and allows injecting more than one event, or zero events. > > After some thinking I went

[PATCH] Fixed typo in word 'implementations' in reboot.h

2013-09-18 Thread Anoop Thomas Mathew
Signed-off-by: Anoop Thomas Mathew --- include/linux/reboot.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/reboot.h b/include/linux/reboot.h index 8e00f9f..0ff569d 100644 --- a/include/linux/reboot.h +++ b/include/linux/reboot.h @@ -52,7 +52,7 @@ struct

Re: [PATCH v2 2/4] gcov: add support for gcc 4.7 gcov format

2013-09-18 Thread Andrew Morton
On Wed, 18 Sep 2013 14:27:05 -0700 Joe Perches wrote: > On Wed, 2013-09-18 at 14:22 -0700, Andrew Morton wrote: > > On Wed, 4 Sep 2013 16:42:54 +0200 Frantisek Hrbata > > wrote: > > > The gcov in-memory format changed in gcc 4.7. The biggest change, which > > > requires this special

[PATCH 4/4] sysfs: introduce [__]sysfs_remove()

2013-09-18 Thread Tejun Heo
Given a sysfs_dirent, there is no reason to have multiple versions of removal functions. A function which removes the specified sysfs_dirent and its descendants is enough. This patch intorduces [__}sysfs_remove() which replaces all internal variations of removal functions. This will be the only

[PATCH 01/02] x86: Useless inode var, printks and coding style fixes

2013-09-18 Thread Geyslan G. Bem
file size read only one time: useless prior value allocation. It's not necessary to verify f_op in the load_aout_library, since the prior kernel_read/vfs_read function already does. Coding style fixes and printk replacements. Tested using qemu, a handcrafted a.out binary and a a.out linked with a

[PATCH 02/02] x86_64: Add safe check in a.out loaders and some coding style

2013-09-18 Thread Geyslan G. Bem
ia32_aout had no safe checks concerning the mmap and f_op in this module. It's not necessary to verify f_op in the load_aout_library, since the prior kernel_read/vfs_read function already does. Coding style and printks fixes. Tested using qemu, a handcrafted a.out binary and a a.out linked with a

Re: [PATCH v2 2/4] gcov: add support for gcc 4.7 gcov format

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 14:22 -0700, Andrew Morton wrote: > On Wed, 4 Sep 2013 16:42:54 +0200 Frantisek Hrbata > wrote: > > The gcov in-memory format changed in gcc 4.7. The biggest change, which > > requires this special implementation, is that gcov_info no longer contains > > array of counters

Re: [PATCHv5 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 17:04, Joe Perches wrote: > On Wed, 2013-09-18 at 16:57 -0400, Eduardo Valentin wrote: >> This patch introduces a device tree bindings for >> describing the hardware thermal behavior and limits. >> Also a parser to read and interpret the data and feed >> it in the thermal framework

Re: [PATCH v2 2/4] gcov: add support for gcc 4.7 gcov format

2013-09-18 Thread Andrew Morton
On Wed, 4 Sep 2013 16:42:54 +0200 Frantisek Hrbata wrote: > The gcov in-memory format changed in gcc 4.7. The biggest change, which > requires this special implementation, is that gcov_info no longer contains > array of counters for each counter type for all functions and gcov_fn_info is > not

Regression on cpufreq in v3.12-rc1

2013-09-18 Thread Linus Walleij
Hi Rafael, Viresh, I'm seeing this problem and maybe you can help me out fixing it properly: On some machines like the StrongARM SA1100 it seems that cpufreq_get() can be called before the cpufreq driver and thus the policy is set, resulting in a crash like this: [ cut here

[PATCH 3/4] sysfs: make __sysfs_remove_dir() recursive

2013-09-18 Thread Tejun Heo
Currently, sysfs directory removal is inconsistent in that it would remove any files directly under it but wouldn't recurse into directories. Thanks to group subdirectories, this doesn't even match with kobject boundaries. sysfs is in the process of being separated out so that it can be used by

[PATCH 1/4] sysfs: remove sysfs_addrm_cxt->parent_sd

2013-09-18 Thread Tejun Heo
sysfs_addrm_start/finish() enclose sysfs_dirent additions and deletions and sysfs_addrm_cxt is used to record information necessary to finish the operations. Currently, sysfs_addrm_start() takes @parent_sd, records it in sysfs_addrm_cxt, and assumes that all operations in the block are performed

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-18 Thread Alan Tull
On Wed, 2013-09-18 at 14:32 -0600, Jason Gunthorpe wrote: > On Wed, Sep 18, 2013 at 03:15:17PM -0400, Jason Cooper wrote: > > > + Jason Gunthorpe > > Thanks, looks interesting, we could possibly use this interface if it > met our needs.. > > > On Wed, Sep 18, 2013 at 05:56:39PM +0200, Michal

[PATCHSET] sysfs: implement sysfs_remove()

2013-09-18 Thread Tejun Heo
Hello, Currently, there are multiple variants of internal sysfs removal functions and the directory removal behavior is a bit weird in that while it does remove the files contained immediately in the directory it wouldn't recurse into its subdirectories, even the group ones which belong to the

[PATCH 2/4] kobject: grab an extra reference on kobject->sd to allow duplicate deletes

2013-09-18 Thread Tejun Heo
sysfs currently has a rather weird behavior regarding removals. A directory removal would delete all files directly under it but wouldn't recurse into subdirectories, which, while a bit inconsistent, seems to make sense at the first glance as each directory is supposedly associated with a kobject

Re: [PATCHv4 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 17:00, Joe Perches wrote: > On Wed, 2013-09-18 at 16:52 -0400, Eduardo Valentin wrote: >> On 18-09-2013 16:44, Joe Perches wrote: >>> On Wed, 2013-09-18 at 16:31 -0400, Eduardo Valentin wrote: >>> +/** + * of_parse_thermal_zones - parse device tree thermal data + *

Re: [PATCHv5 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 16:57 -0400, Eduardo Valentin wrote: > This patch introduces a device tree bindings for > describing the hardware thermal behavior and limits. > Also a parser to read and interpret the data and feed > it in the thermal framework is presented. [] > +int __init

Re: [PATCH 00/26] ARM: provide common arch init for DT clocks

2013-09-18 Thread Sebastian Hesselbarth
On 09/18/2013 10:48 PM, Olof Johansson wrote: On Wed, Sep 18, 2013 at 12:52 PM, Sebastian Hesselbarth wrote: On 09/18/2013 09:47 PM, Jason Cooper wrote: On Wed, Sep 18, 2013 at 07:53:33PM +0200, Sebastian Hesselbarth wrote: ... Sebastian Hesselbarth (26): ARM: nomadik: move mtu setup

[PATCH] Fixed typo on word accounting in kprobes.c in mutliple architectures

2013-09-18 Thread Anoop Thomas Mathew
Signed-off-by: Anoop Thomas Mathew --- arch/arc/kernel/kprobes.c |2 +- arch/ia64/kernel/kprobes.c|2 +- arch/powerpc/kernel/kprobes.c |2 +- arch/s390/kernel/kprobes.c|2 +- arch/sparc/kernel/kprobes.c |2 +- 5 files changed, 5 insertions(+), 5 deletions(-)

Re: [PATCH V2 1/1] Drivers: input: serio: New driver to support Hyper-V synthetic keyboard

2013-09-18 Thread Dmitry Torokhov
Hi K.Y., On Tue, Sep 17, 2013 at 04:26:58PM -0700, K. Y. Srinivasan wrote: > Add a new driver to support synthetic keyboard. On the next generation > Hyper-V guest firmware, many legacy devices will not be emulated and this > driver will be required. > > I would like to thank Vojtech Pavlik for

Re: [PATCHv4 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 16:52 -0400, Eduardo Valentin wrote: > On 18-09-2013 16:44, Joe Perches wrote: > > On Wed, 2013-09-18 at 16:31 -0400, Eduardo Valentin wrote: > > > >> +/** > >> + * of_parse_thermal_zones - parse device tree thermal data > >> + * > >> + * Initialization function that can be

[PATCHv5 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
This patch introduces a device tree bindings for describing the hardware thermal behavior and limits. Also a parser to read and interpret the data and feed it in the thermal framework is presented. This patch introduces a thermal data parser for device tree. The parsed data is used to build

Re: [PATCHv4 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 16:44, Joe Perches wrote: > On Wed, 2013-09-18 at 16:31 -0400, Eduardo Valentin wrote: > >> +/** >> + * of_parse_thermal_zones - parse device tree thermal data >> + * >> + * Initialization function that can be called by machine initialization >> + * code to parse thermal data and

Re: [PATCH 8/8] audit: add audit_backlog_wait_time configuration option

2013-09-18 Thread Eric Paris
On Wed, 2013-09-18 at 16:49 -0400, Richard Guy Briggs wrote: > On Wed, Sep 18, 2013 at 04:33:25PM -0400, Eric Paris wrote: > > On Wed, 2013-09-18 at 15:06 -0400, Richard Guy Briggs wrote: > > > reaahead-collector abuses the audit logging facility to discover which > > > files > > > are accessed

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread azurIt
> CC: "Michal Hocko" , "Andrew Morton" > , "David Rientjes" , > "KAMEZAWA Hiroyuki" , "KOSAKI Motohiro" > , linux...@kvack.org, > cgro...@vger.kernel.org, x...@kernel.org, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org >On Wed, Sep 18, 2013 at 02:19:46PM -0400, Johannes Weiner

Re: [PATCH 1/2] hwrng: OMAP3 ROM Random Number Generator support

2013-09-18 Thread Aaro Koskinen
Hi, On Wed, Sep 18, 2013 at 10:05:56PM +0200, Pali Rohár wrote: > + if (IS_ERR(rng_clk)) { > + printk(KERN_ERR "%s: unable to get RNG clock\n", > +omap3_rom_rng_name); > + return IS_ERR(rng_clk); This should be PTR_ERR(). A. -- To unsubscribe from

Re: [PATCH 8/8] audit: add audit_backlog_wait_time configuration option

2013-09-18 Thread Richard Guy Briggs
On Wed, Sep 18, 2013 at 04:33:25PM -0400, Eric Paris wrote: > On Wed, 2013-09-18 at 15:06 -0400, Richard Guy Briggs wrote: > > reaahead-collector abuses the audit logging facility to discover which files > > are accessed at boot time to make a pre-load list > > > > Add a tuning option to

Re: [PATCH 00/26] ARM: provide common arch init for DT clocks

2013-09-18 Thread Olof Johansson
On Wed, Sep 18, 2013 at 12:52 PM, Sebastian Hesselbarth wrote: > On 09/18/2013 09:47 PM, Jason Cooper wrote: >> >> On Wed, Sep 18, 2013 at 07:53:33PM +0200, Sebastian Hesselbarth wrote: >> ... >>> >>> Sebastian Hesselbarth (26): >>>ARM: nomadik: move mtu setup to clocksource init >>>clk:

Re: [PATCH 00/26] ARM: provide common arch init for DT clocks

2013-09-18 Thread Stephen Warren
On 09/18/2013 01:52 PM, Sebastian Hesselbarth wrote: > On 09/18/2013 09:47 PM, Jason Cooper wrote: >> On Wed, Sep 18, 2013 at 07:53:33PM +0200, Sebastian Hesselbarth wrote: >> ... >>> Sebastian Hesselbarth (26): >>>ARM: nomadik: move mtu setup to clocksource init ... >> >> How would you like

Re: [PATCHv4 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 16:31 -0400, Eduardo Valentin wrote: > +/** > + * of_parse_thermal_zones - parse device tree thermal data > + * > + * Initialization function that can be called by machine initialization > + * code to parse thermal data and populate the thermal framework > + * with hardware

  1   2   3   4   5   6   7   8   9   10   >