uch.
>
> So I *think* the fix might be something like the attached. Totally
> untested. It may compile, or it may not.
>
> Linus
>
Your fix is compiling, running and yielding the correct results -
apologies about that.
Acked-by: Mathieu Poirier
--
To unsubscr
ed by
Arve Hjønnevåg in the Android kernel.
Cc: a...@android.com
Cc: kernel-t...@android.com
Cc: dmitry.torok...@gmail.com
Cc: john.stu...@linaro.org
Signed-off-by: Mathieu Poirier
---
drivers/tty/sysrq.c | 161 +
include/linux/sysrq.h |8 ++
On 12-08-30 05:01 PM, Dmitry Torokhov wrote:
> Hi Matthieu,
>
> On Thu, Aug 30, 2012 at 04:30:54PM -0600, mathieu.poir...@linaro.org wrote:
>> From: "Mathieu J. Poirier"
>>
>> This patch adds keyreset functionality to the sysrq driver. It
>> allows certain button/key combinations to be used in or
On 12-08-31 04:02 PM, Alan Cox wrote:
>>> Why do we need to involve a platform device and not use, for example, a
>>> module
>>> parameter, that could be set up from userspace?
>>
>> The platform device comes from the original design and was included to
>> minimise the amount of changes in code th
On 12-08-31 04:41 PM, Dmitry Torokhov wrote:
> On Fri, Aug 31, 2012 at 11:02:27PM +0100, Alan Cox wrote:
Why do we need to involve a platform device and not use, for example, a
module
parameter, that could be set up from userspace?
>>>
>>> The platform device comes from the original
On 12-08-31 05:22 PM, Dmitry Torokhov wrote:
> On Fri, Aug 31, 2012 at 04:57:04PM -0600, Mathieu Poirier wrote:
>> On 12-08-31 04:41 PM, Dmitry Torokhov wrote:
>>> On Fri, Aug 31, 2012 at 11:02:27PM +0100, Alan Cox wrote:
>>>>>> Why do we need to involve a plat
g
Cc: a...@lxorguk.ukuu.org.uk
Signed-off-by: Mathieu Poirier
---
drivers/tty/sysrq.c | 308 +
include/linux/sysrq.h |8 ++
2 files changed, 316 insertions(+), 0 deletions(-)
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
index 05728894..c4
On 12-10-05 12:16 PM, Dmitry Torokhov wrote:
> On Fri, Oct 05, 2012 at 11:59:29AM -0600, mathieu.poir...@linaro.org wrote:
>> From: "Mathieu J. Poirier"
>>
>> Andrew,
>>
>> After requesting a number of changes that, to my understanding
>> have been implemented, I have not been able to get the atte
droid.com
Cc: kernel-t...@android.com
Cc: dmitry.torok...@gmail.com
Cc: john.stu...@linaro.org
Signed-off-by: Mathieu Poirier
---
drivers/tty/sysrq.c | 308 +
include/linux/sysrq.h |8 ++
2 files changed, 316 insertions(+), 0 deletions(-)
From: Johan Bjornstedt
There is no state machine in the AB to step up/down
the charger current to avoid dips and spikes on VBUS
and VBAT when charging is started.
Instead this is implemented in SW
Signed-off-by: Johan Bjornstedt
Signed-off-by: Mattias Wallin
Signed-off-by: Mathieu Poirier
From: Philippe Langlais
Signed-off-by: Philippe Langlais
Signed-off-by: Mathieu Poirier
---
drivers/power/ab8500_btemp.c |8 ++--
drivers/power/ab8500_charger.c|9 +++--
drivers/power/ab8500_fg.c |8 ++--
drivers/power/abx500_chargalg.c |7
From: Jonas Aaberg
Signed-off-by: Jonas ABERG
Signed-off-by: Mathieu Poirier
Reviewed-by: Johan BJORNSTEDT
---
drivers/power/ab8500_fg.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c
index 1e02b00..0db17c7
From: Daniel WILLERUD
Switchable depending on whether capacity scaling is enabled
Signed-off-by: Marcus Cooper
Signed-off-by: Daniel WILLERUD
Signed-off-by: Mathieu Poirier
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_fg.c | 57 -
1 files
: Mathieu Poirier
Reviewed-by: Jonas ABERG
Reviewed-by: Marcus COOPER
---
drivers/power/ab8500_fg.c | 44 ++--
1 files changed, 30 insertions(+), 14 deletions(-)
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c
index 7c42150..861927d 100644
From: Rajkumar Kasirajan
If battery is not identified while fg probe, mah_max_design gets
initialized with unknown battery's charge full design. Reinitialize
mah_max_design if battery is identified after fg probe.
Signed-off-by: Rajkumar Kasirajan
Signed-off-by: Mathieu Poirier
Review
From: Rikard Olsson
Add support for a power cut feature which allows user to
configure when ab8505 should shut down system due to low
battery.
Signed-off-by: Rikard Olsson
Signed-off-by: Mathieu Poirier
Reviewed-by: Martin SJOBLOM
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_fg.c
ill relevant to the well being of the driver.
Signed-off-by: Mathieu Poirier
---
drivers/power/ab8500_charger.c |2 +-
drivers/power/abx500_chargalg.c | 66 +++
2 files changed, 47 insertions(+), 21 deletions(-)
diff --git a/drivers/power/ab8500_char
From: Marcus Cooper
The newer AB's such as the AB8505, AB9540 etc include a
USBLink1 Status register which detects a larger range of
external devices. This should be used instead of the
USBLine Status register.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by:
From: Martin Bergstrom
The USB charger current is limited according to information comming
from the USB driver
Signed-off-by: Martin Bergstrom
Signed-off-by: Mathieu Poirier
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_charger.c |4
1 files changed, 4 insertions(+), 0
ned-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by: Martin SJOBLOM
Reviewed-by: Hakan BERG
Reviewed-by: Jonas ABERG
---
drivers/power/abx500_chargalg.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/power/abx500_chargalg.c b/dri
From: Marcus Cooper
Remove flag that serve no purpose from source code, Kconfig
and Makefile.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by: Hakan BERG
Reviewed-by: Mian Yousaf KAUKAB
---
drivers/power/Kconfig |7 ---
drivers/power
next code reversion and realignment
with mainline
Signed-off-by: Loic Pallardy
Signed-off-by: Mathieu Poirier
Reviewed-by: Philippe LANGLAIS
---
drivers/power/ab8500_charger.c | 166 +++---
include/linux/mfd/abx500.h | 10 ++-
include/linux/mfd/abx
hrtimers to allow CPU to be
waked up in a more optimal power saving way. A 5 minute delay to
time out timers on hours does not impact on safety.
Signed-off-by: Hakan Berg
Signed-off-by: Mathieu Poirier
Reviewed-by: Mian Yousaf KAUKAB
---
drivers/power/abx500_chargalg.c | 94
From: Marcus Cooper
When the state of USB Charge detection is changed then the calls
use a define for another register in other bank. This change
creates a new define for the correct register and removes the
magic numbers that are present.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu
From: "Mathieu J. Poirier"
Signed-off-by: Mathieu Poirier
---
drivers/power/ab8500_fg.c | 196 +--
drivers/power/ab8500_fg.h | 201 +
2 files changed, 206 insertions(+), 191 deletions(-)
create m
lt in the battery of
some kind. Hence report as POWER_SUPPLY_HEALTH_UNSPEC_FAILURE.
Signed-off-by: Hakan Berg
Signed-off-by: Mathieu Poirier
Reviewed-by: Arun MURTHY
Reviewed-by: Karl KOMIEROWSKI
---
drivers/power/abx500_chargalg.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
From: "Mathieu J. Poirier"
Signed-off-by: Mathieu Poirier
---
drivers/power/abx500_chargalg.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c
index ce58f20..4db0ef0 100644
--- a/dri
From: Rupesh Kumar
Quick re-attach charging behaviour is not required
for external ac charger. Internal AC/USB Charger removal
detection problem is due to a bug in AB8500 ASICs.
Signed-off-by: Rupesh Kumar
Signed-off-by: Mathieu Poirier
Reviewed-by: Hakan BERG
Reviewed-by: Philippe LANGLAIS
From: "Mathieu J. Poirier"
Making platform data declaration and handling similar accross all
ab8500_xyc.c battery management files. Also adding gards against
NULL platform data.
Signed-off-by: Philippe Langlais
Signed-off-by: Mathieu Poirier
---
drivers/power/ab8500_btemp.c
From: Yang QU
Add 2.7v, 2.9v, 3.0v, 3.2v and 3.3v charging voltage
for backup battery. Before that only 2.5v, 2.6v, 2.8v,
3.1v are available.
Signed-off-by: Yang QU
Signed-off-by: Mathieu Poirier
Reviewed-by: Maxime COQUELIN
Reviewed-by: Marcus COOPER
Reviewed-by: Xiao Mei ZHANG
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
Reviewed-by: Martin SJOBLOM
Reviewed-by: Philippe LANGLAIS
---
drivers/power/ab8500_btemp.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/power/ab8500_btemp.c b/drivers/power/ab8500_btemp.c
index
From: Michel JAOUEN
Add new sysfs interface to get current charge status
Signed-off-by: Michel JAOUEN
Signed-off-by: Loic Pallardy
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
Reviewed-by: Olivier CLERGEAUD
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_charger.c |3
From: Martin Bergström
When the charger is removed we need to go to INIT_RECOVERY
state instead of directly to RECOVERY state.
Signed-off-by: Martin Bergstrom
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_fg.c |2 +-
1 files
Komierowski
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
Reviewed-by: Jonas ABERG
Reviewed-by: Philippe LANGLAIS
---
drivers/power/ab8500_charger.c| 105 -
drivers/power/abx500_chargalg.c | 31 -
include/linux/mfd/abx500
From: Hakan Berg
The ab8505 does not have the same address for USB link-status
as has ab8500. Add AB8505_USB_LINK_STATUS and code to switch
to correct constant.
Signed-off-by: Hakan Berg
Signed-off-by: Mathieu Poirier
Reviewed-by: Mian Yousaf KAUKAB
Reviewed-by: Marcus COOPER
Reviewed-by
ff-by: Hakan BERG
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
Reviewed-by: Srinidhi KASAGAR
---
drivers/power/ab8500_fg.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c
index c5732e7..cf6d2b5 100644
change from previous
reported value in the direction of the new measurement.
Signed-off-by: Hakan Berg
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
Reviewed-by: Martin SJOBLOM
Reviewed-by: Rabin VINCENT
---
drivers/power/ab8500_btemp.c | 27 +--
1 files
From: Marcus Cooper
When using ABx500_ADC_THERM_BATCTRL the battery ID resistor
is combined with a NTC resistor to both identify the battery and
to measure its temperature.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by: Mian Yousaf KAUKAB
Reviewed-by: Michel JAOUEN
From: Martin Sjoblom
Do not set higher current in stepping functionality if VBUS is dropping.
After VBUS has dropped try to set current once again. If dropping again
then we have found the maximum capability of the charger.
Signed-off-by: Martin Sjoblom
Signed-off-by: Mathieu Poirier
Reviewed
From: Rupesh Kumar
Fix for: charging not getting enabled in
charge only mode by external charger.
Signed-off-by: Rupesh Kumar
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
Reviewed-by: Michel JAOUEN
Reviewed-by: Philippe LANGLAIS
Reviewed-by: Philippe LANGLAIS
---
drivers
From: Martin Bergstrom
Unscaled capacity should be reported for POWER_SUPPLY_PROP_CAPACITY.
Signed-off-by: Martin Bergstrom
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_fg.c |6 ++
1 files changed, 2 insertions(+), 4
slowly to avoid VBUS errors. The delay allows the enumeration
to have finished before charging is turned on.
Signed-off-by: Martin Sjoblom
Signed-off-by: Mathieu Poirier
Reviewed-by: Jonas ABERG
---
drivers/mfd/ab8500-core.c |6 +
drivers/power/ab8500_charger.c | 435
From: Jonas Aaberg
Do not touch the VBUSOVV in USBCHTRL2 when running on AB8505.
Signed-off-by: Jonas Aaberg
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
---
drivers/power/ab8500_charger.c| 22 --
include/linux/mfd/abx500/ab8500.h | 10 ++
2
From: Jonas Aaberg
Flush and sync all workqueues at suspend to avoid
that we suspend in the middle of a work.
Signed-off-by: Jonas Aaberg
Signed-off-by: Mathieu Poirier
Reviewed-by: Marcus COOPER
---
drivers/power/ab8500_charger.c | 11 +++
drivers/power/ab8500_fg.c |5
From: Nicolas Guion
The fallback software control register has moved in the ab8505
and ab9540.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by: Mattias WALLIN
Reviewed-by: Nicolas GUION
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_charger.c | 53
rajan
Signed-off-by: Loic Pallardy
Signed-off-by: Mathieu Poirier
Reviewed-by: Michel JAOUEN
Reviewed-by: Marcus COOPER
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_charger.c|6 ++
drivers/power/abx500_chargalg.c | 23 +--
include/linu
From: Jonas Aaberg
Do flush sync on the fg workqueue at suspend instead of
just flushing it.
Signed-off-by: Jonas Aaberg
Signed-off-by: Mathieu Poirier
Reviewed-by: Johan BJORNSTEDT
---
drivers/power/ab8500_fg.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a
From: Jonas Aaberg
Signed-off-by: Jonas Aaberg
Signed-off-by: Mathieu Poirier
---
drivers/power/ab8500_charger.c | 122 +++-
1 files changed, 121 insertions(+), 1 deletions(-)
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c
From: Hakan Berg
The Travel and Carkit adapter should be handled directly by
the charger driver.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_charger.c | 94 +-
include/linux/mfd/abx500
From: Hakan Berg
BTEMP thermal compensation factor times 10 is applied in two
places, probe and get_property. Removed from probe.
Signed-off-by: Hakan Berg
Signed-off-by: Mathieu Poirier
Reviewed-by: Karl KOMIEROWSKI
---
drivers/power/ab8500_btemp.c |4 ++--
1 files changed, 2
From: Paer-Olof Haakansson
When calculating the average current the nominator will
overflow when the charging current is high.
Signed-off-by: Henrik Sölver
Signed-off-by: Mathieu Poirier
Reviewed-by: Par-Olof HAKANSSON
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_fg.c | 15
From: Michel JAOUEN
Add AB9540 and AB8505 support to ab8500_temp
driver.
Signed-off-by: Rajkumar Kasirajan
Signed-off-by: Mathieu Poirier
Reviewed-by: Michel JAOUEN
Reviewed-by: Marcus COOPER
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_btemp.c | 71
From: Loic Pallardy
Allow to indicate wheter AC and USB charge capabilities are
supported from platform data.
Signed-off-by: Loic Pallardy
Signed-off-by: Mathieu Poirier
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/58093
Reviewed-by: Marcus COOPER
Reviewed-by: Olivier CLERGEAUD
From: Henrik Sölver
AB8500 refuses to start charging when some types of non standard
chargers are connected. This change force the AB to start charging.
Signed-off-by: Henrik Sölver
Signed-off-by: Mathieu Poirier
Reviewed-by: Yvan FILLION
Reviewed-by: Jonas ABERG
---
drivers/power
From: Marcus Cooper
A Legacy USB charger should be handled directly by the charger
driver.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by: Karl KOMIEROWSKI
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_charger.c | 66 ++-
1
From: Marcus Cooper
Cleanup of the ab8500_charger driver.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by: Karl KOMIEROWSKI
---
drivers/power/ab8500_charger.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/power/ab8500_charger.c
From: Hakan Berg
Add support for the battery over-voltage situation
Signed-off-by: Hakan Berg
Signed-off-by: Mathieu Poirier
Reviewed-by: Karl KOMIEROWSKI
---
drivers/power/ab8500_fg.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a
From: pender01
Round the capacity values for better enduser experience.
Signed-off-by: pender01
Signed-off-by: Mathieu Poirier
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_fg.c | 28 +++-
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/drivers
From: Hakan Berg
Ignore the low btemp interrupts for ab8500 3.0 and 3.3
Signed-off-by: Hakan Berg
Signed-off-by: Mathieu Poirier
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_btemp.c | 22 +++---
include/linux/mfd/abx500/ab8500.h |5 +
2 files changed, 16
From: Rickard Andersson
In case of time out error IRQ needs to be disabled
otherwise we will get unbalanced enable/disable pairs.
Signed-off-by: Rickard Andersson
Signed-off-by: Mathieu Poirier
Reviewed-by: Jonas ABERG
---
drivers/power/ab8500_fg.c |1 +
1 files changed, 1 insertions
monitor the actual battery
capacity and is able to estimate the remaining capacity. It is better to
use the remaining capacity as a limit to determine when battery should
be recharged.
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu Poirier
Reviewed-by: Hakan BERG
Reviewed-by: Jonas ABERG
From: Jonas Aaberg
Gracefully handle gpadc conversion errors.
Signed-off-by: Jonas Aaberg
Signed-off-by: Mathieu Poirier
Reviewed-by: Johan BJORNSTEDT
---
drivers/power/ab8500_charger.c | 22 ++
1 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/drivers
From: Johan Bjornstedt
When enabling the CCEOC irq we might get false interrupt
from ab8500-driver due to the latched value will be saved
and interpreted as an IRQ when enabled
Signed-off-by: Johan Bjornstedt
Signed-off-by: Henrik Solver
Signed-off-by: Mathieu Poirier
Reviewed-by: Karl
From: "Mathieu J. Poirier"
This patch set upgrades the current ux500 battery management driver
to the latest HW and functionality.
Pull request for convenience:
The following changes since commit 56d27adcb536b7430d5f8a6240df8ad261eb00bd:
Merge git://git.kernel.org/pub/scm/linux/kernel/git/cm
From: Paer-Olof Haakansson
Rename the ab8500_power_loss_handling function
to a more describing name ab8500_enable_disable_sw_fallback
Signed-off-by: Robert Marklund
Signed-off-by: Paer-Olof Haakansson
Signed-off-by: Mathieu Poirier
Reviewed-by: Par-Olof HAKANSSON
Reviewed-by: Karl
From: Jonas Aaberg
Detect battery type in work queue instead of probe.
This reduces the system boot time with 1.5s
Signed-off-by: Jonas Aaberg
Signed-off-by: Mathieu Poirier
Reviewed-by: Karl KOMIEROWSKI
---
drivers/power/ab8500_btemp.c | 15 +++
1 files changed, 11 insertions
From: Kalle Komierowski
The CCMuxOffset bit is not kept set, this will force the columb counter
of the AB8500 to use the measure offset calibration.
This should increase the accuracy of the fuel gauge.
Signed-off-by: Kalle Komierowski
Signed-off-by: Marcus Cooper
Signed-off-by: Mathieu
On 12-10-16 09:35 PM, Arve Hjønnevåg wrote:
> On Fri, Oct 5, 2012 at 12:48 PM, Mathieu Poirier
> wrote:
>> On 12-10-05 12:16 PM, Dmitry Torokhov wrote:
>>> On Fri, Oct 05, 2012 at 11:59:29AM -0600, mathieu.poir...@linaro.org wrote:
>>>> From: "
s/module/sysrq" interface.
This functionality comes from the keyreset driver submitted by
Arve Hjønnevåg in the Android kernel.
Cc: a...@android.com
Cc: kernel-t...@android.com
Cc: dmitry.torok...@gmail.com
Cc: john.stu...@linaro.org
Cc: a...@lxorguk.ukuu.org.uk
Signed-off-by: Mathieu Poi
On 13-03-28 04:34 AM, Jiri Slaby wrote:
> Guys,
>
> how is this supposed to work?
>
> #define SYSRQ_KEY_RESET_MAX 20 /* Should be plenty */
> static unsigned short sysrq_reset_seq[SYSRQ_KEY_RESET_MAX];
> ...
> unsigned short platform_sysrq_reset_seq[] __weak = { KEY_RESERVED };
> ...
> static
ed by
Arve Hjønnevåg in the Android kernel.
Cc: a...@android.com
Cc: kernel-t...@android.com
Cc: dmitry.torok...@gmail.com
Cc: john.stu...@linaro.org
Signed-off-by: Mathieu Poirier
---
drivers/tty/sysrq.c | 159 +
include/linux/sysrq.h |8 ++
uot;/sys/module/sysrq" interface.
This functionality comes from the keyreset driver submitted by
Arve Hjønnevåg in the Android kernel.
Cc: a...@android.com
Cc: kernel-t...@android.com
Cc: dmitry.torok...@gmail.com
Cc: john.stu...@linaro.org
Signed-off-by: Mathieu Poirier
---
drivers/
.
The keyreset platform data and driver name were kept intact to
minimize disruption on products that already instantiate the
keyreset driver.
Cc: a...@android.com
Cc: kernel-t...@android.com
Cc: dmitry.torok...@gmail.com
Cc: john.stu...@linaro.org
Signed-off-by: Mathieu Poirier
---
drivers/tty/s
On 12-09-26 09:38 PM, Anton Vorontsov wrote:
> On Tue, Sep 25, 2012 at 10:11:57AM -0600, mathieu.poir...@linaro.org wrote:
>> From: "Mathieu J. Poirier"
>>
>> This patch set upgrades the current ux500 battery management driver
>> to the latest HW and functionality.
>>
>> Pull request for convenien
harging is turned on.
>>
>> Signed-off-by: Martin Sjoblom
>> Signed-off-by: Mathieu Poirier
>> Reviewed-by: Jonas ABERG
>> ---
> [...]
>> @@ -264,17 +275,19 @@ struct ab8500_charger {
>> struct ab8500_charger_info usb;
>> struct regulato
On 12-09-26 09:36 PM, Anton Vorontsov wrote:
> On Tue, Sep 25, 2012 at 10:12:14AM -0600, mathieu.poir...@linaro.org wrote:
>> From: Hakan Berg
>>
>> Add support for the battery over-voltage situation
>>
>> Signed-off-by: Hakan Berg
>> Signed-off-by
gned-off-by: Daniel WILLERUD
>> Signed-off-by: Mathieu Poirier
>> Reviewed-by: Jonas ABERG
>> ---
>> drivers/power/ab8500_fg.c | 57
>> -
>> 1 files changed, 56 insertions(+), 1 deletions(-)
>>
>> diff
off-by: Loic Pallardy
>> Signed-off-by: Mathieu Poirier
>> Reviewed-by: Marcus COOPER
>> Reviewed-by: Olivier CLERGEAUD
>> Reviewed-by: Jonas ABERG
>> ---
>> drivers/power/ab8500_charger.c |3 +++
>> drivers/power/abx500_chargalg.c | 24 ++
-off-by: Jonas Aaberg
>> Signed-off-by: Mathieu Poirier
>> Reviewed-by: Marcus COOPER
>> ---
>> drivers/power/ab8500_charger.c | 11 +++
>> drivers/power/ab8500_fg.c |5 +
>> 2 files changed, 16 insertions(+), 0 deletions(-)
>>
what is this?
>
>> Signed-off-by: Rupesh Kumar
>> Signed-off-by: Mathieu Poirier
>> Reviewed-by: Marcus COOPER
>> Reviewed-by: Michel JAOUEN
>> Reviewed-by: Philippe LANGLAIS
>> Reviewed-by: Philippe LANGLAIS
>> ---
>> drivers/power/ab
to
>> time out timers on hours does not impact on safety.
>>
>> Signed-off-by: Hakan Berg
>> Signed-off-by: Mathieu Poirier
>> Reviewed-by: Mian Yousaf KAUKAB
>> ---
>> drivers/power/abx500_chargalg.c | 94
>> ++-
>&g
and user space part so that the
solution is complete and found in a single place.
Last but not least it is based on 4.7-rc7 assumes that these
patches [1] have been applied.
Thanks,
Mathieu
[1]. https://lkml.org/lkml/2016/7/14/642
Mathieu Poirier (6):
perf/core: Adding PMU driver specific configu
This patch somewhat mimics the work done on address filters to
add the infrastructure needed to pass PMU specific HW
configuration to the driver before a session starts.
Signed-off-by: Mathieu Poirier
---
include/linux/perf_event.h | 9 +
include/uapi/linux/perf_event.h | 1
Up to now function coresight_build_path() was counting on a sink to
have been selected (from sysFS) prior to being called. This patch
adds a string argument so that a sink matching the argument can be
selected.
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-etm-perf.c
can be started.
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-etm-perf.c | 101 ++-
1 file changed, 100 insertions(+), 1 deletion(-)
diff --git a/drivers/hwtracing/coresight/coresight-etm-perf.c
b/drivers/hwtracing/coresight/coresight-etm-perf.c
Now that PMU specific driver configuration are queued in
evsel::drv_config_terms, all we need to do is re-use the current
ioctl() mechanism to push down the information to the kernel
driver.
Signed-off-by: Mathieu Poirier
---
tools/perf/builtin-record.c | 9 +
tools/perf/util/evlist.c
ply
added to the list of event terms. The bulk of the work is done in
function "parse_events_add_pmu()" where driver config event terms are
added to a new list of driver config terms, which in turn spliced with
the event's new driver configuration list.
Signed-off-by: Mathieu Poi
Some information, like driver specific configuration, is found
in the hw_perf_event structure. As such pass a 'struct perf_event'
to function setup_aux() rather than just the CPU number so that
individual drivers can make the right configuration when setting
up a session.
Signed-off-b
Coresight ETMs are IP blocks used to perform HW assisted tracing
on a CPU core. This patch introduce the required auxiliary API
functions allowing the perf core to interact with a tracer.
Signed-off-by: Mathieu Poirier
Acked-by: Adrian Hunter
---
MAINTAINERS | 4
Directly accessing kernel files is not allowed anymore. As such
making file coresight-pmu.h accessible by the perf tools and complain
if this copy strays from the one found in the main kernel tree.
Signed-off-by: Mathieu Poirier
---
tools/perf/MANIFEST | 1 +
tools/perf/Makefile.perf | 3
e.
- Added Adrian Hunter's Acked-by.
- Reworked ifndef/endif in config/Makefile to avoid duplication.
- Patch 1/3, mandatory to make things compile.
Mathieu Poirier (3):
tools: Copy the header file needed by perf tools
perf tools: making coresight PMU listable
perf tools: addi
Adding the required mechanic allowing 'perf list pmu' to
discover coresight ETM/PTM tracers.
Signed-off-by: Mathieu Poirier
Acked-by: Adrian Hunter
---
MAINTAINERS| 1 +
tools/perf/arch/arm/util/Build | 2 ++
tools/perf/arch/arm/util/
This patch somewhat mimics the work done on address filters to
add the infrastructure needed to pass PMU specific HW
configuration to the driver before a session starts.
Signed-off-by: Mathieu Poirier
---
include/linux/perf_event.h| 9 +
include/uapi/linux/perf_event.h
and user space part so that the
solution is complete and found in a single place.
It is based on [1] and assumes this set [2] has been applied.
Thanks,
Mathieu
Changes for V2:
- Rebased to [1] as per Jiri's request.
[1]. git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf/core
[
ply
added to the list of event terms. The bulk of the work is done in
function "parse_events_add_pmu()" where driver config event terms are
added to a new list of driver config terms, which in turn spliced with
the event's new driver configuration list.
Signed-off-by: Mathieu Poi
Up to now function coresight_build_path() was counting on a sink to
have been selected (from sysFS) prior to being called. This patch
adds a string argument so that a sink matching the argument can be
selected.
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-etm-perf.c
Now that PMU specific driver configuration are queued in
evsel::drv_config_terms, all we need to do is re-use the current
ioctl() mechanism to push down the information to the kernel
driver.
Signed-off-by: Mathieu Poirier
---
tools/perf/builtin-record.c | 9 +
tools/perf/util/evlist.c
can be started.
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-etm-perf.c | 101 ++-
1 file changed, 100 insertions(+), 1 deletion(-)
diff --git a/drivers/hwtracing/coresight/coresight-etm-perf.c
b/drivers/hwtracing/coresight/coresight-etm-perf.c
Some information, like driver specific configuration, is found
in the hw_perf_event structure. As such pass a 'struct perf_event'
to function setup_aux() rather than just the CPU number so that
individual drivers can make the right configuration when setting
up a session.
Signed-off-b
On 21 July 2016 at 01:47, Jiri Olsa wrote:
> On Wed, Jul 20, 2016 at 02:38:17PM -0600, Mathieu Poirier wrote:
>
> SNIP
>
>> diff --git a/tools/perf/util/parse-events.h b/tools/perf/util/parse-events.h
>> index d1edbf8cc66a..8d09a976fca8 100644
>> --- a/tools/per
1 - 100 of 3588 matches
Mail list logo