[PATCH 48/50] staging: omap-thermal: remove TODO entry suggesting regmap usage

2013-03-15 Thread Eduardo Valentin
It is hard to use regmap because benefit of using regmap cache may not be applicable as there is a specific sequence to restore the bandgap context. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/TODO |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[PATCH 47/50] staging: omap-thermal: switch mutex to spinlock inside omap-bandgap

2013-03-15 Thread Eduardo Valentin
Because there is a need to lock inside IRQ handler, this patch changes the locking mechanism inside the omap-bandgap.[c,h] to spinlocks. Now this lock is used to protect omap_bandgap struct during APIs exposed (possibly used in sysfs handling functions) and inside the ALERT IRQ handler. Because

[PATCH 46/50] staging: Add a MAINTAINERS entry for TI bandgap and thermal driver

2013-03-15 Thread Eduardo Valentin
Add myself as maintainer of the TI bandgap and thermal driver. CC: Santosh Shilimkar CC: Zhang Rui Signed-off-by: Eduardo Valentin --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6672165..199bb4b 100644 ---

[PATCH 45/50] staging: omap-thermal: change Kconfig dependency method

2013-03-15 Thread Eduardo Valentin
Now arch code has to specify CONFIG_ARCH_HAS_BANDGAP. So, this driver will be selectable only if the platform reports itself as having a bandgap device. Any OMAP variant or any other OMAP version needs to select ARCH_HAS_BANDGAP so that the driver will be applicable. A part from that it

[PATCH 44/50] staging: omap-thermal: document omap_bandgap_build function

2013-03-15 Thread Eduardo Valentin
Document function to build omap_bandgap structure Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 43/50] staging: omap-thermal: document omap_bandgap_alert_init function

2013-03-15 Thread Eduardo Valentin
Document function that sets talert handling up. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 42/50] staging: omap-thermal: document omap_bandgap_tshut_init function

2013-03-15 Thread Eduardo Valentin
Add documentation for the function to setup TSHUT handling Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 41/50] staging: omap-thermal: document _omap_bandgap_read_threshold function

2013-03-15 Thread Eduardo Valentin
Add documentation of the function for reading alert thresholds Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[RFC PATCH 3/3] MCE: Enable persistent event

2013-03-15 Thread Borislav Petkov
From: Borislav Petkov ... for MCEs collection. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/mcheck/mce.c | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index

[PATCH 39/50] staging: omap-thermal: document omap_bandgap_update_alert_threshold function

2013-03-15 Thread Eduardo Valentin
Document function to program alert thresholds Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 40/50] staging: omap-thermal: document _omap_bandgap_write_threshold function

2013-03-15 Thread Eduardo Valentin
Document function to update alert thresholds. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 38/50] staging: omap-thermal: document omap_bandgap_force_single_read

2013-03-15 Thread Eduardo Valentin
Document function to initialize the conversion state machine. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 37/50] staging: omap-thermal: update omap_bandgap_set_continous_mode documentation

2013-03-15 Thread Eduardo Valentin
Simple update on function documentation. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c

[RFC PATCH 2/3] perf: Add persistent event facilities

2013-03-15 Thread Borislav Petkov
Add a barebones implementation for registering persistent events with perf. For that, we don't destroy the buffers when they're unmapped; also, we map them read-only so that multiple agents can access them. Also, we allocate the event buffers at event init time and not at mmap time so that we can

[PATCH 36/50] staging: omap-thermal: rename enable_continuous_mode

2013-03-15 Thread Eduardo Valentin
This patch names 'enable_continuous_mode' accordingly to the file standard naming. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 35/50] staging: omap-thermal: section of device driver callbacks

2013-03-15 Thread Eduardo Valentin
Section with platform device callbacks Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index

[PATCH 34/50] staging: omap-thermal: device initialization section

2013-03-15 Thread Eduardo Valentin
Section of helper functions to initilize the bandgap device Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 33/50] staging: omap-thermal: refactor APIs handling threshold values

2013-03-15 Thread Eduardo Valentin
This patch improves the code that handles threshold values by creating single functions that are usable for tcold and thot. This way we won't have duplicated functionality just because it is handling different bitfields. Now the added functions are reused in several places where it is needed to

[PATCH 32/50] staging: omap-thermal: update omap_bandgap_unmask_interrupts documentation

2013-03-15 Thread Eduardo Valentin
Proper document the function to configure the IRQ event masks. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 31/50] staging: omap-thermal: refactor temp_sensor_unmask_interrupts

2013-03-15 Thread Eduardo Valentin
This change improves temp_sensor_unmask_interrupts by: . renaming it to omap_bandgap_unmask_interrupts . making it a void function, as there is nothing really to report an error. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 14 -- 1 files

[PATCH 29/50] staging: omap-thermal: document omap_bandgap_add_hyst function

2013-03-15 Thread Eduardo Valentin
Document function to handle hysteresis. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 30/50] staging: omap-thermal: threshold manipulation section

2013-03-15 Thread Eduardo Valentin
Section of functions manipulating thresholds for Alert and Shutdown. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 28/50] staging: omap-thermal: rename add_hyst to omap_bandgap_add_hyst

2013-03-15 Thread Eduardo Valentin
This patch improves the add_hyst function by: . Renaming it to omap_bandgap_add_hyst . Moving it to the ADC conversion functions section . Changing its signature to follow the driver standard Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 42

[PATCH 27/50] staging: omap-thermal: add documentation for omap_bandgap_mcelsius_to_adc

2013-03-15 Thread Eduardo Valentin
Document the conversion function. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index

[PATCH 26/50] staging: omap-thermal: move conv table limits out of sensor data

2013-03-15 Thread Eduardo Valentin
As we have one conv table per bandgap device and not per sensor, this patch changes the data structures so that the conv table min and max values are now part of bandgap_data and not sensor_data. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 39

Re: Regression: Fixing recursive fault but reboot is needed at boot on HP 6730B - bisected

2013-03-15 Thread Roberto Oppedisano
Hi! Il 15/03/2013 10:42, Roberto Oppedisano ha scritto: Il 14/03/2013 18:27, Rafael J. Wysocki ha scritto: On Thursday, March 14, 2013 09:20:51 AM Roberto Oppedisano wrote: As Toshi said, this particular commit doesn't make any functional changes. Can you please verify if the immediately

[PATCH 25/50] staging: omap-thermal: rewrite omap_bandgap_mcelsius_to_adc on kernel coding style

2013-03-15 Thread Eduardo Valentin
Follow Documentation/CodingStyle while doing omap_bandgap_mcelsius_to_adc Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[RFC PATCH 0/3] Perf persistent events

2013-03-15 Thread Borislav Petkov
From: Borislav Petkov Yeah, here's a refresh of the persistent events deal, accessing those is much cleaner now. Here's how: So kernel code initializes and enables the event at its convenience (during boot, whenever) and userspace goes and says: sys_perf_event_open(pattr,...) with

[PATCH 24/50] staging: omap-thermal: name temp_to_adc_conversion in a better way

2013-03-15 Thread Eduardo Valentin
Rename temp_to_adc_conversion to omap_bandgap_mcelsius_to_adc. This name, though longer, describes better the function. This patch also changes this function signature so the function follows the style of this file. Signed-off-by: Eduardo Valentin ---

[PATCH 23/50] staging: omap-thermal: add documentation for omap_bandgap_adc_to_mcelsius

2013-03-15 Thread Eduardo Valentin
Document the conversion function. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index

[PATCH 22/50] staging: omap-thermal: rewrite omap_bandgap_adc_to_mcelsius on kernel coding style

2013-03-15 Thread Eduardo Valentin
Follow Documentation/CodingStyle while doing omap_bandgap_adc_to_mcelsius. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 21/50] staging: omap-thermal: name adc_to_temp_conversion in a better way

2013-03-15 Thread Eduardo Valentin
Rename adc_to_temp_conversion to omap_bandgap_adc_to_mcelsius. This name, though longer, describes better the function. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 20/50] staging: omap-thermal: ADC section

2013-03-15 Thread Eduardo Valentin
Section of ADC helpers functions Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index

Re: lgetxattr()/getxattr() return different values on a file labelled with selinux disabled

2013-03-15 Thread Stephen Smalley
On 03/15/2013 06:54 AM, Thomas COUDRAY wrote: Hi, I encounter trouble that I can't explain when labelling my files. Here are steps to reproduce (on both 3.2.37 and 3.7.3, with selinux, on an ext4 fs): 0 - have a regular file "f", with a "before_t" security.selinux attribute 1 - reboot with

[PATCH 19/50] staging: omap-thermal: IRQ handler section

2013-03-15 Thread Eduardo Valentin
Section of IRQ handlers Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index 7927c59..ded2c8c

[PATCH 18/50] staging: omap-thermal: section of basic helpers

2013-03-15 Thread Eduardo Valentin
Group of simple functions aggregating basic functionality. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 17/50] staging: omap-thermal: add a section of register manipulation

2013-03-15 Thread Eduardo Valentin
This is introduces a series of marks inside the code to better organize functions per group, aggregating their functionality. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH 16/50] staging: omap-thermal: read status only once inside alert IRQ

2013-03-15 Thread Eduardo Valentin
There is no need to re-read status register. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 15/50] staging: omap-thermal: remove duplicated code

2013-03-15 Thread Eduardo Valentin
There is no need to assign twice the same variable with the very same value. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

Re: [PATCH 0/4] mv643xx_eth: use mvmdio MDIO bus driver

2013-03-15 Thread Florian Fainelli
Le 03/15/13 14:05, David Miller a écrit : From: Florian Fainelli Date: Fri, 15 Mar 2013 13:53:10 +0100 Le 03/15/13 13:55, David Miller a écrit : From: David Miller Date: Fri, 15 Mar 2013 08:53:21 -0400 (EDT) From: Florian Fainelli Date: Thu, 14 Mar 2013 19:08:31 +0100 This patch

[RFC PATCH 1/3] perf: Add persistent events

2013-03-15 Thread Borislav Petkov
Add the needed pieces for persistent events which makes them process-agnostic. Also, make their buffers read-only when mmaping them from userspace. Signed-off-by: Borislav Petkov --- include/uapi/linux/perf_event.h | 3 ++- kernel/events/core.c| 8 +++- 2 files changed, 9

[PATCH 14/50] staging: omap-thermal: update tshut IRQ handler documentation

2013-03-15 Thread Eduardo Valentin
Documents tshut handler better. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index

[PATCH 13/50] staging: omap-thermal: update documentation for talert irq handler

2013-03-15 Thread Eduardo Valentin
Document the Talert IRQ handler. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index

[PATCH 10/50] staging: omap-thermal: add documentation for omap_bandgap_power

2013-03-15 Thread Eduardo Valentin
Document the helper function to turn a bandgap device on and off. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 12/50] staging: omap-thermal: rename talert handler

2013-03-15 Thread Eduardo Valentin
Simple rename to cope with file naming pattern. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 11/50] staging: omap-thermal: add documentation for omap_bandgap_read_temp

2013-03-15 Thread Eduardo Valentin
Document function which reads temperature register, depending on bandgap device version. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

Re: [PATCH 0/4] mv643xx_eth: use mvmdio MDIO bus driver

2013-03-15 Thread David Miller
From: Florian Fainelli Date: Fri, 15 Mar 2013 13:53:10 +0100 > Le 03/15/13 13:55, David Miller a écrit : >> From: David Miller >> Date: Fri, 15 Mar 2013 08:53:21 -0400 (EDT) >> >>> From: Florian Fainelli >>> Date: Thu, 14 Mar 2013 19:08:31 +0100 >>> This patch converts the mv643xx_eth

[PATCH 09/50] staging: omap-thermal: make a omap_bandgap_power with only one exit point

2013-03-15 Thread Eduardo Valentin
Change the way the omap_bandgap_power is written so that it has only one exit entry (Documentation/CodingStyle). Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[PATCH 08/50] staging: omap-thermal: add documentation for register access functions

2013-03-15 Thread Eduardo Valentin
Document the helper functions that manipulates registers and their bitfields. All of them work based of the io mapped area. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 23 ++- 1 files changed, 22 insertions(+), 1 deletions(-) diff

[PATCH 07/50] staging: omap-thermal: introduce RMW_BITS macro

2013-03-15 Thread Eduardo Valentin
This patch introduce a macro to read, update, write bitfields. It will be specific to bandgap data structures. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 178 +++ 1 files changed, 46 insertions(+), 132 deletions(-) diff --git

[PATCH 06/50] staging: omap-thermal: fix error checking

2013-03-15 Thread Eduardo Valentin
The omap_bandgap_get_sensor_data() function returns ERR_PTR(), but it can also return NULL, in case of initilization, so we need to use IS_ERR_OR_NULL() rather than only IS_ERR(). Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-thermal-common.c |4 ++-- 1 files

[PATCH 05/50] staging: omap-thermal: style cleanup on omap-bandgap.c

2013-03-15 Thread Eduardo Valentin
simple changes on alignments and white spaces Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c | 32 -- 1 files changed, 15 insertions(+), 17 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c

[PATCH 04/50] staging: omap-thermal: update documentation of omap-bandgap.h

2013-03-15 Thread Eduardo Valentin
This patch updates the existing data structures for omap bandgap, inside omap-bandgap.h. TODO: remove unused fields. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.h | 230 ++- 1 files changed, 189 insertions(+), 41 deletions(-) diff

[PATCH 03/50] staging: omap-thermal: create header for register, bitfields and definitions

2013-03-15 Thread Eduardo Valentin
In order to have a better code readability and organization, this patch splits omap-bandgap.h into three headers. . omap-bandgap.h will contain only the driver related data structures definitions and macros . omap4xxx-bandgap.h will contain only defines and bitfields related to OMAP4 based devices

[PATCH 02/50] staging: omap-thermal: remove unused _SHIFT macros

2013-03-15 Thread Eduardo Valentin
As these macros are not used on any part of the code, this patch removes all the *_SHIT defines. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.h | 57 --- 1 files changed, 0 insertions(+), 57 deletions(-) diff --git

[PATCH 01/50] staging: omap-thermal: use BIT() macro

2013-03-15 Thread Eduardo Valentin
For code readability, this patch changes the bit definition under omap-bandgap.h to use the BIT() macro. Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.h | 96 +- 1 files changed, 48 insertions(+), 48 deletions(-) diff --git

[PATCH 00/50] staging: omap-thermal: several code refactoring

2013-03-15 Thread Eduardo Valentin
Hello Greg, Here is a series of patches improving the way the omap-thermal driver is written. There is a mix of added documentation, with functions rewrites and cleanups regarding coding style. I am also adding myself as maintainer of this driver. Next I will be still improving the code in this

Re: [PATCH net-next] drivers:net: Remove dma_alloc_coherent OOM messages

2013-03-15 Thread David Miller
From: Joe Perches Date: Thu, 14 Mar 2013 16:07:21 -0700 > I believe these error messages are already logged > on allocation failure by warn_alloc_failed and so > get a dump_stack on OOM. > > Remove the unnecessary additional error logging. > > Around these deletions: > > o Alignment

Re: [PATCH 0/4] mv643xx_eth: use mvmdio MDIO bus driver

2013-03-15 Thread Florian Fainelli
Le 03/15/13 13:55, David Miller a écrit : From: David Miller Date: Fri, 15 Mar 2013 08:53:21 -0400 (EDT) From: Florian Fainelli Date: Thu, 14 Mar 2013 19:08:31 +0100 This patch converts the mv643xx_eth driver to use the mvmdio MDIO bus driver instead of rolling its own implementation. As a

Re: [PATCH 1/6] serial: 8250_dw: add support for clocks property when using DeviceTree

2013-03-15 Thread Heikki Krogerus
Hi, On Thu, Mar 07, 2013 at 11:14:15PM +0100, Maxime Ripard wrote: > From: Emilio López > > This commit implements support for using the "clocks" DT property, instead > of having to use clock-frequency. > > Signed-off-by: Emilio López > --- > drivers/tty/serial/8250/8250_dw.c | 32

Re: [PATCH 0/4] mv643xx_eth: use mvmdio MDIO bus driver

2013-03-15 Thread David Miller
From: David Miller Date: Fri, 15 Mar 2013 08:53:21 -0400 (EDT) > From: Florian Fainelli > Date: Thu, 14 Mar 2013 19:08:31 +0100 > >> This patch converts the mv643xx_eth driver to use the mvmdio MDIO bus driver >> instead of rolling its own implementation. As a result, all users of this >>

Re: [PATCH 0/4] mv643xx_eth: use mvmdio MDIO bus driver

2013-03-15 Thread Florian Fainelli
Le 03/15/13 13:53, David Miller a écrit : From: Florian Fainelli Date: Thu, 14 Mar 2013 19:08:31 +0100 This patch converts the mv643xx_eth driver to use the mvmdio MDIO bus driver instead of rolling its own implementation. As a result, all users of this mv643xx_eth driver are converted to

Re: [PATCH 0/4] mv643xx_eth: use mvmdio MDIO bus driver

2013-03-15 Thread David Miller
From: Florian Fainelli Date: Thu, 14 Mar 2013 19:08:31 +0100 > This patch converts the mv643xx_eth driver to use the mvmdio MDIO bus driver > instead of rolling its own implementation. As a result, all users of this > mv643xx_eth driver are converted to register an "orion-mdio" platform_device.

[PATCH] gpio: pl061: Add pl061_gpio_free()

2013-03-15 Thread Axel Lin
commit 39b70ee051 "gpio: pl061: bind pinctrl by gpio request" adds pl061_gpio_request() to request pinctrl. Thus we need to add corresponding pl061_gpio_free() to free the pin. Signed-off-by: Axel Lin --- drivers/gpio/gpio-pl061.c |8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH v2] tracing: Expose event tracing infrastructure

2013-03-15 Thread Steven Rostedt
On Fri, 2013-03-15 at 20:31 +0800, Jovi Zhang wrote: > Hi steven, > > Would you please give some comments? patch works normally on my box. Yeah, I planned on it today ;-) Actually, I've been a busy beaver lately. The last couple of weeks I have: 32 files changed, 5239 insertions(+), 1805

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-15 Thread David Miller
From: Joe Perches Date: Fri, 15 Mar 2013 05:48:49 -0700 > The phy code also uses non standard kernel style tests like > if (CONSTANT == variable) > instead of > if (variable == CONSTANT) Right, to trigger compile time errors when "=" is accidently used instead of "==". But the

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-15 Thread Joe Perches
On Fri, 2013-03-15 at 08:35 -0400, David Miller wrote: > From: Kirill Kapranov > Date: Thu, 14 Mar 2013 14:40:52 +0400 > > > @@ -867,7 +821,6 @@ void phy_state_machine(struct work_struct *work) > > netif_carrier_on(phydev->attached_dev); > > }

Re: [PATCH v3 0/7] ARM: dts: omap: Add dts data for USB

2013-03-15 Thread Benoit Cousson
+ Jon Hi Kishon, On 03/07/2013 02:35 PM, Kishon Vijay Abraham I wrote: > Hi Benoit, > > Here are the dt data patches to get usb device functional in OMAP platforms. > > All the patches deal with modifying arch/arm/boot except one which modifies > Documentation/../usb/omap-usb.txt > > Changes

Re: [RFC V1 5/8] smi2021: Add smi2021_video.c

2013-03-15 Thread Ezequiel Garcia
On Thu, Mar 14, 2013 at 03:07:01PM +0100, Jon Arne Jørgensen wrote: > This file is responsible for all communication with the video hardware > and also starting and stopping the capture. > > It also contains the setup and handling of the usb ISOCHRONOUS transfers. > > Signed-off-by: Jon Arne

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-15 Thread David Miller
From: Kirill Kapranov Date: Thu, 14 Mar 2013 14:40:52 +0400 > @@ -867,7 +821,6 @@ void phy_state_machine(struct work_struct *work) > netif_carrier_on(phydev->attached_dev); > } else { > if (0 ==

Re: [PATCH] isdn: hisax: netjet requires VIRT_TO_BUS

2013-03-15 Thread David Miller
From: Arnd Bergmann Date: Fri, 15 Mar 2013 12:29:52 + > On Friday 15 March 2013, David Miller wrote: >> I do not want to see us add such a Kconfig dependency knob. >> >> Then the real tendency will exist to make new drivers little-endian >> only, refuse to fix endian-broken old drivers,

Re: [RFC V1 4/8] smi2021: Add smi2021_v4l2.c

2013-03-15 Thread Ezequiel Garcia
On Thu, Mar 14, 2013 at 03:07:00PM +0100, Jon Arne Jørgensen wrote: > This file is responsible for registering the device with the v4l2 subsystem, > and the communication with v4l2. > Most of the v4l2 ioctls are just passed on to vidbuf2. > > Signed-off-by: Jon Arne Jørgensen > --- >

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-15 Thread Ulf Hansson
On 15 March 2013 13:06, Bill Huang wrote: > On Fri, 2013-03-15 at 18:08 +0800, Ulf Hansson wrote: >> On 15 March 2013 10:39, Peter De Schrijver wrote: >> > On Fri, Mar 15, 2013 at 06:22:47AM +0100, Stephen Warren wrote: >> >> On 03/14/2013 07:20 PM, Bill Huang wrote: >> >> > On Fri, 2013-03-15

Re: [Intel-gfx] [PATCH v3] drm/i915: bounds check execbuffer relocation count

2013-03-15 Thread Damien Lespiau
On Thu, Mar 14, 2013 at 12:32:00PM -0700, Kees Cook wrote: > On Thu, Mar 14, 2013 at 9:57 AM, Daniel Vetter wrote: > > On Wed, Mar 13, 2013 at 9:28 PM, Daniel Vetter wrote: > >> On Tue, Mar 12, 2013 at 09:07:46AM +, Chris Wilson wrote: > >>> On Mon, Mar 11, 2013 at 05:31:45PM -0700, Kees

Re: [PATCH v2] tracing: Expose event tracing infrastructure

2013-03-15 Thread Jovi Zhang
On Wed, Mar 13, 2013 at 6:41 PM, zhangwei(Jovi) wrote: > [change from v1: add missed type assignment in ftrace_event_register] > > Currently event tracing only can be use for ftrace and perf, > there don't have any mechanism to let modules(like external tracing tool) > register callback tracing

Re: [PATCH] isdn: hisax: netjet requires VIRT_TO_BUS

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, David Miller wrote: > I do not want to see us add such a Kconfig dependency knob. > > Then the real tendency will exist to make new drivers little-endian > only, refuse to fix endian-broken old drivers, etc. > > Which means that allmodconfig on my architecture will have

Re: [RFC V1 3/8] smi2021: Add smi2021_i2c.c

2013-03-15 Thread Ezequiel Garcia
On Thu, Mar 14, 2013 at 03:06:59PM +0100, Jon Arne Jørgensen wrote: > This file is responsible for registering the device > with the kernel i2c subsystem. > v4l2 talks to the saa7113 chip of the device via i2c. > > Signed-off-by: Jon Arne Jørgensen > --- >

Re: [PATCH] VSOCK: Support VM sockets connected to the hypervisor.

2013-03-15 Thread David Miller
From: Reilly Grant Date: Tue, 12 Mar 2013 12:40:19 -0700 > The resource ID used for VM socket control packets (0) is already > used for the VMCI_GET_CONTEXT_ID hypercall so a new ID (15) must be > used when the guest sends these datagrams to the hypervisor. > > The hypervisor context ID must

Re: [RFC V1 2/8] smi2021: Add smi2021_main.c

2013-03-15 Thread Ezequiel Garcia
On Thu, Mar 14, 2013 at 03:06:58PM +0100, Jon Arne Jørgensen wrote: > This is the core of the smi2021 module. > It will register the module with the kernel, and register the > usb probe function. > > Signed-off-by: Jon Arne Jørgensen > --- > drivers/media/usb/smi2021/smi2021_main.c | 339 >

Re: [PATCH] isdn: hisax: netjet requires VIRT_TO_BUS

2013-03-15 Thread David Miller
From: Arnd Bergmann Date: Fri, 15 Mar 2013 10:15:00 + > David Howells brought up the topic of endian checks recently, noting > that the way we define __BIG_ENDIAN and __LITTLE_ENDIAN in the kernel > is incompatible to how do it in user space, and not much better either. > > A few

Re: [PATCHv7 10/10] drm: tegra: Add gr2d device

2013-03-15 Thread Thierry Reding
On Wed, Mar 13, 2013 at 02:36:26PM +0200, Terje Bergstrom wrote: [...] > diff --git a/drivers/gpu/host1x/drm/drm.c b/drivers/gpu/host1x/drm/drm.c [...] > +static inline struct host1x_drm_context *tegra_drm_get_context( > + struct list_head *contexts, > +

Re: [RFC V1 1/8] smi2021: Add the header file

2013-03-15 Thread Ezequiel Garcia
On Thu, Mar 14, 2013 at 03:06:57PM +0100, Jon Arne Jørgensen wrote: > This is the header file for the smi2021 module. > > Signed-off-by: Jon Arne Jørgensen > --- > drivers/media/usb/smi2021/smi2021.h | 228 > > 1 file changed, 228 insertions(+) > create

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-15 Thread Al Viro
On Fri, Mar 15, 2013 at 08:15:18AM +, James Bottomley wrote: > It's the fact that a directory entry based whiteout limits the amount of > change to the VFS, but has to be supported by underlying filesystems. > The generic_dirent_fallthrough() mechanism is a nice way of hiding it, > but there

Re: [RFC V1 0/8] Add a driver for somagic smi2021

2013-03-15 Thread Ezequiel Garcia
On Thu, Mar 14, 2013 at 03:06:56PM +0100, Jon Arne Jørgensen wrote: > This patch-set will add a driver for the Somagic SMI2021 chip. > > This chip is found inside different usb video-capture devices. > Most of them are branded as EasyCap, but there also seems to be > some other brands selling

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-15 Thread Bill Huang
On Fri, 2013-03-15 at 18:08 +0800, Ulf Hansson wrote: > On 15 March 2013 10:39, Peter De Schrijver wrote: > > On Fri, Mar 15, 2013 at 06:22:47AM +0100, Stephen Warren wrote: > >> On 03/14/2013 07:20 PM, Bill Huang wrote: > >> > On Fri, 2013-03-15 at 01:54 +0800, Stephen Warren wrote: > >> >> On

Re: [PATCH v2 2/4] usb: otg: twl4030: use devres API for regulator get and request irq

2013-03-15 Thread Felipe Balbi
On Fri, Mar 15, 2013 at 02:00:33PM +0200, Grazvydas Ignotas wrote: > On Thu, Mar 14, 2013 at 5:48 PM, Felipe Balbi wrote: > > On Thu, Mar 14, 2013 at 11:53:57AM +0530, Kishon Vijay Abraham I wrote: > >> Used devres APIs devm_request_threaded_irq and devm_regulator_get for > >> requesting irq and

Re: [PATCH v2 2/4] usb: otg: twl4030: use devres API for regulator get and request irq

2013-03-15 Thread Grazvydas Ignotas
On Thu, Mar 14, 2013 at 5:48 PM, Felipe Balbi wrote: > On Thu, Mar 14, 2013 at 11:53:57AM +0530, Kishon Vijay Abraham I wrote: >> Used devres APIs devm_request_threaded_irq and devm_regulator_get for >> requesting irq and for getting regulator respectively. >> >> Signed-off-by: Kishon Vijay

[PATCH] [TRIVIAL] Fix typo "----help---"

2013-03-15 Thread Paul Bolle
Signed-off-by: Paul Bolle --- 0) The kconfig parsing code doesn't care about this typo. Not sure why, actually. Staring at zconf.l reveals "---" will be ignored, anywhere. But it's a mystery why one or two minuses will sometimes also be ignored. The joys of lex and yacc! Anyhow, it's a typo. 1)

Re: [PATCH v3 3/6] TTY: fix DTR being raised on hang up

2013-03-15 Thread Peter Hurley
On Fri, 2013-03-15 at 12:30 +0100, Johan Hovold wrote: > On Fri, Mar 15, 2013 at 07:03:08AM -0400, Peter Hurley wrote: > > On Fri, 2013-03-15 at 10:24 +0100, Johan Hovold wrote: > > > On Wed, Mar 13, 2013 at 03:43:43PM -0400, Peter Hurley wrote: > > > > On Thu, 2013-03-07 at 15:55 +0100, Johan

Re: [PATCH] bridge: netfilter: use PTR_RET instead of IS_ERR + PTR_ERR

2013-03-15 Thread Pablo Neira Ayuso
On Tue, Mar 12, 2013 at 08:11:33PM +0200, Silviu-Mihai Popescu wrote: > This uses PTR_RET instead of IS_ERR and PTR_ERR in order to increase > readability. Also applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] ipv4: netfilter: use PTR_RET instead of IS_ERR + PTR_ERR

2013-03-15 Thread Pablo Neira Ayuso
On Tue, Mar 12, 2013 at 08:07:55PM +0200, Silviu-Mihai Popescu wrote: > This uses PTR_RET instead of IS_ERR and PTR_ERR in order to increase > readability. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 2/4] iio: adc: Add dt support for turning on the phy in exynos-adc

2013-03-15 Thread Naveen Krishna Ch
On 14 March 2013 02:10, Doug Anderson wrote: > Without this change the exynos adc controller needed to have its phy > enabled in some out-of-driver C code. Add support for specifying the > phy enable register by listing it in the reg list. > > Signed-off-by: Doug Anderson Worked for me, Its

Re: [PATCH 4/4 v2] mv643xx_eth: convert to use the Marvell Orion MDIO driver

2013-03-15 Thread Thomas Petazzoni
Dear Florian Fainelli, On Fri, 15 Mar 2013 12:07:12 +0100, Florian Fainelli wrote: > Thanks to the help of Andrew Lunn, there is at least two known issues > with this patch version: > > - we need to move up the mvmdio line in > drivers/net/ethernet/marvell/Makefile to make sure that configs

Re: [PATCH v3 3/6] TTY: fix DTR being raised on hang up

2013-03-15 Thread Johan Hovold
On Fri, Mar 15, 2013 at 07:03:08AM -0400, Peter Hurley wrote: > On Fri, 2013-03-15 at 10:24 +0100, Johan Hovold wrote: > > On Wed, Mar 13, 2013 at 03:43:43PM -0400, Peter Hurley wrote: > > > On Thu, 2013-03-07 at 15:55 +0100, Johan Hovold wrote: > > > > Make sure to check ASYNC_INITIALISED before

Re: [Suggestion] Latest randconfig build errors for Head.S

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Chen Gang F T wrote: > excuse me, my English is not quite well. > > I guess your meaning is: > "that bug" means the toolchain's bug (need toolchain people fix it). > prefer to apply your patch, before "that bug" is fixed (we don't know > when) > > is it

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Fabio Porcedda wrote: > >> * Regarding the use of module_platform_driver_probe, I'm a little worried > >> about > >> the interactions with deferred probing. I don't think there are any > >> regressions, > >> but we should probably make people aware that one cannot

Re: linux-next: manual merge of the signal tree with the modules tree

2013-03-15 Thread Sedat Dilek
n_certificate.S" which is > NOT in the latest Linux-Next tree [2]. > So, I thought about reverting the one in -next and apply the new one > from modules-next. > This is not possible! > > $ git log --oneline -2 > d98f244 Merge tag 'next-20130315' of > git://git.kernel

Re: [PATCH] ARM: mach-moxart: platform port for MOXA ART SoC

2013-03-15 Thread Arnd Bergmann
On Wednesday 13 March 2013, Daniel Mack wrote: > On 13.03.2013 16:37, Jonas Jensen wrote: > > I ask for feedback and to submit (if possible) a new ARM SoC platform > > port. This is now near complete (I think) (tested on UC-7112-LX Plus) > > and applies to 2.6.34.14. > > First of all - thanks for

RE: [PATCH V4] i2c: davinci: update to devm_* API

2013-03-15 Thread Vishwanathrao Badarkhe, Manish
Hi Wolfram Added your updated mail id in loop. Are there any review comments on this patch? Could you please accept this patch if there are not any review comments? Thanks Manish Badarkhe On Tue, Mar 05, 2013 at 17:14:45, Vishwanathrao Badarkhe, Manish wrote: > Update the code to use devm_*

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-15 Thread Fabio Porcedda
On Thu, Mar 14, 2013 at 3:06 PM, Sascha Hauer wrote: > On Thu, Mar 14, 2013 at 01:58:05PM +, Arnd Bergmann wrote: >> On Thursday 14 March 2013, Fabio Porcedda wrote: >> > This patch converts the drivers to use the >> > module_platform_driver_probe() macro which makes the code smaller and >> >

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