Re: [PATCH,RFC] random: make fast_mix() honor its name

2013-09-21 Thread Theodore Ts'o
BTW, just to give another example of the difference between the mixing funtions, try compiling the following with and without ORIG_MIX defined... - Ted #include stdio.h #include unistd.h #include stdlib.h #include string.h /* #define ORIG_MIX */

Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix

2013-09-21 Thread Benjamin Herrenschmidt
On Sat, 2013-09-21 at 13:58 -0500, Frederic Weisbecker wrote: Now certainly what needs to be fixed then is archs that don't have __ARCH_IRQ_EXIT_IRQS_DISABLED or archs that have any other significant opportunity to nest interrupt. Interesting. I notice we don't define it on powerpc but we

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-21 Thread Arnd Bergmann
On Saturday 21 September 2013, Kishon Vijay Abraham I wrote: { u32 val; void __iomem *val1; void __iomem *dbi_base = pp-dbi_base; /* Program viewport 0 : INBOUND : MEMORY*/ val = PCIE_ATU_REGION_INBOUND | (0 0xF); dw_pcie_writel_rc(pp, val,

[PATCH 01/19] arm: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable pll_overclock is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

[PATCH 14/19] scsi: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable success is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\) Signed-off-by:

[PATCH 19/19] net: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable fully_acked is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

[PATCH 15/19] staging: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable ownbit_flag is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

[PATCH 18/19] nilfs2: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable update_sr is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

[PATCH 17/19] staging: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable Trigger is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\) Signed-off-by:

[PATCH 08/19] net: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable ret is only assigned the values true and false. The function atl1c_read_eeprom already returns bool. Change ret type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...;

[PATCH 16/19] staging: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variables bMultiBand and bKeyTableFull are only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b =

[PATCH 07/19] mmc: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable is_rpmb is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\) Signed-off-by:

[PATCH 13/19] rtc: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable want_irq is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\) Signed-off-by:

[PATCH 06/19] media: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable frame_ready is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

[PATCH 05/19] media: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable vco_select is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

[PATCH 12/19] wireless: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable continual is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

[PATCH 04/19] isdn: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable noCh is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\) Signed-off-by:

[PATCH 03/19] infiniband: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variables found and is_uctx_pd are only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

[PATCH 11/19] wireless: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variables cancel_scan_cmd, enable_data, hs_activate and valid are only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ...

[PATCH 09/19] net: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable rc is only assigned the values true and false. The function bnx2x_prev_is_path_marked already returns bool. Change rc type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b =

[PATCH 10/19] net: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
There is the rc variable on both myri10ge_ss_lock_napi and myri10ge_ss_lock_poll functions. In both cases rc is only assigned the values true and false. Both functions already return bool. Change rc type to bool. The simplified semantic patch that find this problem is as follows

[PATCH 02/19] hv: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable execute_shutdown is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\)

Re: [PATCH 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-21 Thread Maxime Ripard
On Sun, Sep 22, 2013 at 12:49:45AM +0800, cinifr wrote: Thanks. I have modify my patch as you said. It is in attachments. Maybe I remail the new patch? Yes, remail the whole serie and change the prefix to PATCHv3 (you can use the --subject-prefix option of git format-patch to do so). Maxime

[PATCH] LSM: MntRestrict blocks mounts on symlink targets

2013-09-21 Thread Kees Cook
On systems where certain filesystem contents cannot be entirely trusted, it is beneficial to block mounts on symlinks. This makes sure that malicious filesystem contents cannot trigger the over-mounting of trusted filesystems. (For example, a bind-mounted subdirectory of /var cannot be redirected

Re: [PATCH] Documentation/kbuild/kconfig.txt: Doesn't make listnewconfig replacing yes | make oldconfig ?

2013-09-21 Thread Yann E. MORIN
Regid, All, On 2013-09-12 03:35 +0300, Regid Ichira spake thusly: Signed-off-by: Regid Ichira regi...@nt1.in --- Documentation/kbuild/kconfig.txt | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) There was a trailing whitespace. I fixed it here, and pulled it in my tree for

Re: [PATCH 15/19] staging: Change variable type to bool

2013-09-21 Thread Greg KH
On Sun, Sep 22, 2013 at 12:27:47AM +0200, Peter Senna Tschudin wrote: The variable ownbit_flag is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T;

Re: [PATCH][RFC] Fix breakage in ffs_fs_mount()

2013-09-21 Thread Greg KH
On Sat, Sep 21, 2013 at 03:51:26PM +0100, Al Viro wrote: On Sat, Sep 21, 2013 at 01:10:48AM +0200, Michal Nazarewicz wrote: On Fri, Sep 20 2013, Al Viro wrote: There's a bunch of failure exits in ffs_fs_mount() with seriously broken recovery logics. Most of that appears to stem from

Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix

2013-09-21 Thread Frederic Weisbecker
On Sun, Sep 22, 2013 at 07:45:01AM +1000, Benjamin Herrenschmidt wrote: On Sat, 2013-09-21 at 13:58 -0500, Frederic Weisbecker wrote: Now certainly what needs to be fixed then is archs that don't have __ARCH_IRQ_EXIT_IRQS_DISABLED or archs that have any other significant opportunity to

Re: [PATCHv3 05/16] hwmon: lm75: expose to thermal fw via DT nodes

2013-09-21 Thread Eduardo Valentin
On 21-09-2013 14:06, Guenter Roeck wrote: On 09/18/2013 09:21 AM, Eduardo Valentin wrote: This patch adds to lm75 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing

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

2013-09-21 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 li...@roeck-us.net Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- v5: - fix typo in bindings

Re: [PATCH RESEND] printk: report boot console names during cut-over

2013-09-21 Thread Frederic Weisbecker
On Fri, Sep 20, 2013 at 08:34:01AM -0700, Kees Cook wrote: This reports the names of boot consoles as they're being disabled to help identify which is which during cut-over. Helps answer the question which boot console actually got activated? once the regular console is running, mostly when

Re: [PATCHv3 05/16] hwmon: lm75: expose to thermal fw via DT nodes

2013-09-21 Thread Guenter Roeck
On 09/21/2013 04:30 PM, Eduardo Valentin wrote: On 21-09-2013 14:06, Guenter Roeck wrote: On 09/18/2013 09:21 AM, Eduardo Valentin wrote: This patch adds to lm75 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone

Reworking dm-writeboost [was: Re: staging: Add dm-writeboost]

2013-09-21 Thread Akira Hayakawa
Mike, We don't need to go through staging. If the dm-writeboost target is designed well and provides a tangible benefit it doesn't need wide-spread users as justification for going in. The users will come if it is implemented well. OK. The benefit of introducing writeboost will be

Re: [PATCHv3 05/16] hwmon: lm75: expose to thermal fw via DT nodes

2013-09-21 Thread Eduardo Valentin
On 21-09-2013 19:56, Guenter Roeck wrote: On 09/21/2013 04:30 PM, Eduardo Valentin wrote: On 21-09-2013 14:06, Guenter Roeck wrote: On 09/18/2013 09:21 AM, Eduardo Valentin wrote: This patch adds to lm75 temperature sensor the possibility to expose itself as thermal zone device, registered on

Re: [PATCH] mm/ksm: return NULL when doesn't get mergeable page

2013-09-21 Thread Jianguo Wu
On 2013/9/19 16:33, Petr Holasek wrote: On Mon, 16 Sep 2013, Jianguo Wu wrote: In get_mergeable_page() local variable page is not initialized, it may hold a garbage value, when find_mergeable_vma() return NULL, get_mergeable_page() may return a garbage value to the caller. So initialize

Re: [PATCH v4 2/3] Cpufreq: s5pv210 cpufreq fixes for CCF

2013-09-21 Thread Viresh Kumar
On 21 September 2013 23:12, Mateusz Krawczuk m.krawc...@partner.samsung.com wrote: Use common clock framework api to get clock. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/cpufreq/s5pv210-cpufreq.c | 6

[PATCH 02/21] cpuidle: Fix comments in cpuidle core

2013-09-21 Thread Viresh Kumar
Few comments in cpuidle core files have trivial mistakes. This patch fixes them. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/coupled.c | 2 +- drivers/cpuidle/cpuidle.c | 2 +- drivers/cpuidle/driver.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-)

[PATCH 01/21] cpuidle: fix indentation of cpumask

2013-09-21 Thread Viresh Kumar
cpumask is indented using spaces instead of tabs. Fix it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- include/linux/cpuidle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 781addc..c082425 100644 ---

nice to be your friend

2013-09-21 Thread Jane Ruba
Hello dear, I am Miss Jane Ruba. I am presently single and searching for a trusted and God fearing person. I hope you are fine in perfect condition of health. I saw your email today when I was searching for a good friend and took interest on it, if you don't mind I will like you to contact me

[PATCH 05/21] cpuidle: make __cpuidle_driver_init() return void

2013-09-21 Thread Viresh Kumar
__cpuidle_driver_init() doesn't return anything except zero and so doesn't really need a return type other than void. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/driver.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 11/21] cpuidle: replace multiline statements with single line in cpuidle_idle_call()

2013-09-21 Thread Viresh Kumar
Few statements in cpuidle_idle_call() are broken into multiple lines, whereas they can actually come in a single line. Convert those to single line. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/cpuidle.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

[PATCH 04/21] cpuidle: make __cpuidle_device_init() return void

2013-09-21 Thread Viresh Kumar
__cpuidle_device_init() doesn't return anything except zero and so doesn't really need a return type other than void. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/cpuidle.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 07/21] cpuidle: rearrange __cpuidle_register_device() to keep minimal exit points

2013-09-21 Thread Viresh Kumar
This patch rearranges __cpuidle_register_device() a bit in order to reduce the number of exit points of this function. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/cpuidle.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 09/21] cpuidle: merge two if() statements for checking error cases

2013-09-21 Thread Viresh Kumar
Both return same error message and so better write them in a single line. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/cpuidle.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index

[PATCH 03/21] cpuidle: make __cpuidle_get_cpu_driver() inline

2013-09-21 Thread Viresh Kumar
__cpuidle_get_cpu_driver() is a single line function and so deserves to be marked inline. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index

[PATCH 10/21] cpuidle: reduce code duplication inside cpuidle_idle_call()

2013-09-21 Thread Viresh Kumar
We are doing this twice in cpuidle_idle_call() routine: drv-states[next_state].flags CPUIDLE_FLAG_TIMER_STOP Would be better if we actually store this in a local variable and use that. That would remove code duplication as well as make this piece of code run fast (in case compiler wasn't

[PATCH 06/21] cpuidle: rearrange code in __cpuidle_driver_init()

2013-09-21 Thread Viresh Kumar
This is trivial patch that just reorders few statements in __cpuidle_driver_init() routine, so that we don't need both 'continue' and 'break' in the for loop. Functionally it shouldn't change anything. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/driver.c | 10

[PATCH 08/21] cpuidle: use cpuidle_disabled() instead of off

2013-09-21 Thread Viresh Kumar
We have a routine for getting value of off, better call that instead of using off directly. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/cpuidle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c

[PATCH 12/21] cpuidle: call cpuidle_get_driver() from after taking cpuidle_driver_lock

2013-09-21 Thread Viresh Kumar
cpuidle_driver_lock is taken correctly at most of the places but at few places calls to cpuidle_get_driver() are done from outside of this lock. Fix them by calling cpuidle_get_driver() after taking cpuidle_driver_lock. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 16/21] cpuidle: avoid unnecessary kzalloc/free of struct cpuidle_device_kobj

2013-09-21 Thread Viresh Kumar
We always need to allocate struct cpuidle_device_kobj for all CPUs and so there is no real need to have a pointer to it inside struct cpuidle_device. This patch makes a object instance of struct cpuidle_device_kobj inside struct cpuidle_device instead of a pointer. Signed-off-by: Viresh Kumar

[PATCH 18/21] cpuidle: don't call poll_idle_init() for every cpu

2013-09-21 Thread Viresh Kumar
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/cpuidle.c | 41 - drivers/cpuidle/driver.c | 42 ++ 2 files changed, 42 insertions(+), 41 deletions(-) diff --git a/drivers/cpuidle/cpuidle.c

[PATCH 13/21] cpuidle: use drv instead of cpuidle_driver in show_current_driver()

2013-09-21 Thread Viresh Kumar
Instances of struct cpuidle_driver * are consistently named as drv in cpuidle core. Its broken only at one place: show_current_driver(). Fix it for consistency. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/sysfs.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 20/21] cpuidle: don't calculate time-diff if entered_state == 0

2013-09-21 Thread Viresh Kumar
If entered_state == 0, we don't need to set dev-last_residency to 'diff' as we will be setting it to zero without using its new value. And so move calculation of diff also inside the if statement. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/cpuidle.c | 17

[PATCH 17/21] cpuidle: avoid unnecessary kzalloc/free of struct cpuidle_driver_kobj

2013-09-21 Thread Viresh Kumar
For CONFIG_CPU_IDLE_MULTIPLE_DRIVERS, struct cpuidle_device always needs to allocate struct cpuidle_driver_kobj for all CPUs and so there is no real need to have a pointer to it inside struct cpuidle_device. This patch makes a object instance of struct cpuidle_driver_kobj inside struct

[PATCH 21/21] cpuidle: change governor from within cpuidle_replace_governor()

2013-09-21 Thread Viresh Kumar
When I first read cpuidle_replace_governor()'s name I thought it will replace the governor (as per its name) but then found that it just returns the next best governor. And cpuidle_unregister_governor() actually replaces it. We always replace current governor with the next best and this

[PATCH 19/21] cpuidle: create list of registered drivers

2013-09-21 Thread Viresh Kumar
Currently we have multiple definitions of few routines based on following config option: CONFIG_CPU_IDLE_MULTIPLE_DRIVERS. These are present to save space by not creating per-cpu variable for platforms which need only one cpuidle driver to be registered for all CPUs. But this setup has a

[PATCH 14/21] cpuidle: coupled: don't compare cpu masks unnecessarily

2013-09-21 Thread Viresh Kumar
In cpuidle_coupled_register_device() we do following: if (WARN_ON(!cpumask_equal(dev-coupled_cpus, coupled-coupled_cpus))) coupled-prevent++; This is only required to be done when we are using 'coupled' from an existing cpuidle_device and not when we have just done this:

[PATCH 15/21] cpuidle: free all state kobjects from cpuidle_free_state_kobj()

2013-09-21 Thread Viresh Kumar
Loop for states is currently present on callers side and so is replicated at several places. It would be better to move that inside cpuidle_free_state_kobj() instead. This patch does it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpuidle/sysfs.c | 23 ---

[PATCH 00/21] CPUIdle: Minor cleanups for 3.13

2013-09-21 Thread Viresh Kumar
Hi Rafael/Daniel, This is a small cleanup patchset for CPUIdle which can go in 3.13 if it looks okay to you guys.. Mostly trivial patches but few are doing good/significant changes. Tested on my thinkpad with suspend/resume and didn't found any broken stuff with it. I a not very sure about this

Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix

2013-09-21 Thread H. Peter Anvin
On 09/21/2013 02:45 PM, Benjamin Herrenschmidt wrote: I really don't like the larger irq stack ... probably because I can't make it work easily :-) See my previous comment about how we get to thread_info on ppc. For the record, I intend to remove thread_info from the stack on x86 and

[PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-21 Thread Jia He
In commit 0a2b9d4c,the update of semaphore's sem_otime(last semop time) was removed because he wanted to move setting sem-sem_otime to one place. But after that, the initial semop() will not set the otime because its sem_op value is 0(in semtimedop,will not change otime if alter == 1). the error

Re: [PATCHv3 05/16] hwmon: lm75: expose to thermal fw via DT nodes

2013-09-21 Thread Guenter Roeck
On 09/21/2013 05:23 PM, Eduardo Valentin wrote: On 21-09-2013 19:56, Guenter Roeck wrote: On 09/21/2013 04:30 PM, Eduardo Valentin wrote: On 21-09-2013 14:06, Guenter Roeck wrote: On 09/18/2013 09:21 AM, Eduardo Valentin wrote: This patch adds to lm75 temperature sensor the possibility to

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

2013-09-21 Thread Guenter Roeck
On 09/21/2013 04:40 PM, 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. Cc: Guenter Roeck li...@roeck-us.net Signed-off-by: Soren Brinkmann

Re: [PATCH v2 3/3] ACPI / video: Do not register backlight if win8 and native interface exists

2013-09-21 Thread Aaron Lu
On 09/20/2013 04:36 PM, Jani Nikula wrote: On Tue, 17 Sep 2013, Aaron Lu aaron...@intel.com wrote: According to Matthew Garrett, Windows 8 leaves backlight control up to individual graphics drivers rather than making ACPI calls itself. There's plenty of evidence to suggest that the Intel

Re: [PATCH,RFC] random: make fast_mix() honor its name

2013-09-21 Thread Theodore Ts'o
The following fast_mix function, with the loop unrolling, is about 70% slower than your proposed version, but it's still four times faster than the original byte-based fast_mix function. This is what I'm considering using as a compromise. Any comments or objections?

[PATCH] arc: include: asm: uaccess.h: include asm-generic/uaccess-unaligned.h

2013-09-21 Thread Chen Gang
Need include the default implementation, just like another platforms (e.g. parisc, tile ...), or can not pass compiling. The related error (with allmodconfig for arc): CC [M] fs/btrfs/ioctl.o fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’: fs/btrfs/ioctl.c:2802: error:

Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix

2013-09-21 Thread Benjamin Herrenschmidt
On Sat, 2013-09-21 at 19:01 -0700, H. Peter Anvin wrote: On 09/21/2013 02:45 PM, Benjamin Herrenschmidt wrote: I really don't like the larger irq stack ... probably because I can't make it work easily :-) See my previous comment about how we get to thread_info on ppc. For the

[PATCH] arc: include: asm: add generic cmpxchg64(), cmpxchg64_local(), and cmpxchg_local() in cmpxchg.h

2013-09-21 Thread Chen Gang
Some of sub-systems may need cmpxchg64() or another cmpxchg*local() functions, need implement them, or can not pass compiling. The related error (allmodconfig for arc): CC drivers/block/blockconsole.o drivers/block/blockconsole.c: In function ‘bcon_advance_console_bytes’:

Re: [PATCH V11 0/3] iio: input: ti_am335x_adc: Add continuous sampling support

2013-09-21 Thread Zubair Lutfullah :
On Sat, Sep 21, 2013 at 11:52:21AM +0100, Jonathan Cameron wrote: Hi Zubair, Thanks for persevering with this patch set. Now this gets to be the example for dealing with hardware buffer equipped devices ;) Applied to the togreg branch of

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

2013-09-21 Thread Zubair Lutfullah :
On Sat, Sep 21, 2013 at 07:28:32PM +0100, Jonathan Cameron wrote: On 09/19/13 07:24, Zubair Lutfullah wrote: Previously the driver had only one-shot reading functionality. This patch adds continuous sampling support to the driver. ... I've added a SELECT IIO_KFIFO_BUF after the autobuilders

Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix

2013-09-21 Thread Benjamin Herrenschmidt
On Sun, 2013-09-22 at 14:39 +1000, Benjamin Herrenschmidt wrote: How do you do your per-cpu on x86 ? On powerpc we struggle because we try to dedicate a register (r13) to this PACA (the per-cpu offset hangs off it), but we constantly run into issues where gcc copies r13 to another register and

[PATCH -next] drivers: CCI: fix the error handle in cci_pmu_probe()

2013-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn This patch fix the error handle of function cci_pmu_probe(): - using IS_ERR() instead of NULL test for the return value of devm_ioremap_resource() since it nerver return NULL. - remove kfree() for devm_kzalloc allocated memory - remove dev_warn()

<    1   2   3   4