[PATCH] Android / binder: Fix broken walk in binder_node_release()

2014-02-20 Thread Compostella, Jeremy
Hi, I've found a bug in the binder driver and I propose the attached patch to fix it. This bug could manifest itself in several situations, here is the one that made me hunt it last week. When an Android device is encrypted, Android starts all the init services of core and main levels, then it a

[PATCH] Android / binder: Fix broken walk in binder_node_release()

2014-02-20 Thread Compostella, Jeremy
From: "Compostella, Jeremy" This bug can manifest itself in several situations, here is the one that made me hunt it last week: When an Android device is encrypted, Android starts all the init services of core and main levels, then it asks for the password and checks it trying to m

[PATCH] x86: add the X86_FEATURE_NONSTOP_TSC_S3 cpu capability to new cpu

2014-10-23 Thread Compostella, Jeremy
New Intel Atom processors (Baytrail and Cherryview), have a TSC that won't stop in S3 state, say the TSC value won't be reset to 0 after resume. This feature makes TSC a more reliable clocksource and could benefit the timekeeping code during system suspend/resume cycle. Signed-off-by: Jeremy Comp

Re: [tip:efi/core] efibc: Add EFI Bootloader Control module

2016-04-29 Thread Compostella, Jeremy
Matt Fleming writes: > On Fri, 29 Apr, at 11:53:56AM, Ingo Molnar wrote: >> >> * tip-bot for Compostella, Jeremy wrote: >> >> > Commit-ID: 06f7d4a1618dbb086e738c93cd1ef416ab01027d >> > Gitweb: >> > http://git.kernel.org/tip/06f7

Re: [tip:efi/core] efibc: Add EFI Bootloader Control module

2016-04-29 Thread Compostella, Jeremy
Matt Fleming writes: > On Fri, 29 Apr, at 01:36:01PM, Jeremy Compostella wrote: >> I would go for this last proposal because it fixes the issue, it works >> with the potential race condition you mentioned and it is a simple >> solution. Yet, it means that if we really run into a race condition,

Re: [tip:efi/core] efibc: Add EFI Bootloader Control module

2016-04-30 Thread Compostella, Jeremy
Ingo Molnar writes: > * Compostella, Jeremy wrote: > >> -static void efibc_set_variable(const char *name, const char *value) >> +static int efibc_set_variable(const char *name, const char *value) >> { >> int ret; >> efi_guid_t guid = LINUX_E

Re: [tip:efi/core] efibc: Add EFI Bootloader Control module

2016-05-02 Thread Compostella, Jeremy
Matt Fleming writes: > On Fri, 29 Apr, at 03:53:39PM, Jeremy Compostella wrote: >> From ef3a2941769e59b11d1ec36117209dc4c90c7cf9 Mon Sep 17 00:00:00 2001 >> From: Jeremy Compostella >> Date: Fri, 29 Apr 2016 15:29:59 +0200 >> Subject: [PATCH] efibc: fix excessive stack footprint warning >> >> U

Re: [PATCH 2/5] efibc: Fix excessive stack footprint warning

2016-05-10 Thread Compostella, Jeremy
Why not. See patch as attachment. Thanks, Jérémy >From 8a9b07e2d7242fa8a36157f1025202a96c3c7c9a Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Tue, 10 May 2016 10:34:21 +0200 Subject: [PATCH] efibc: report the EFI variable name in the error messages Report the name of the EFI variabl

[PATCH] x86: tsc: Add missing Cherrytrail frequency to the table

2016-05-11 Thread Compostella, Jeremy
Intel Cherrytrail is based on Airmont core so MSR_FSB_FREQ[2:0] = 4 means that the CPU reference clock runs at 80MHz. Add this missing frequency to the table. Signed-off-by: Jeremy Compostella --- arch/x86/kernel/tsc_msr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/t

Re: [PATCH] x86: tsc: Add missing Cherrytrail frequency to the table

2016-05-11 Thread Compostella, Jeremy
Intel Cherrytrail is based on Airmont core so MSR_FSB_FREQ[2:0] = 4 means that the CPU reference clock runs at 80MHz. Add this missing frequency to the table. Signed-off-by: Jeremy Compostella --- arch/x86/kernel/tsc_msr.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/kernel/

Re: [PATCH 2/5] efibc: Fix excessive stack footprint warning

2016-05-11 Thread Compostella, Jeremy
You're right. Here is the new patch. Thanks, Jérémy >From 3a54e6872e220e1ac4db0eae126a20b5383dae3e Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Tue, 10 May 2016 10:34:21 +0200 Subject: [PATCH] efibc: report more information in the error messages Report the name of the EFI variable

[tip:efi/core] efibc: Add EFI Bootloader Control module

2016-04-28 Thread tip-bot for Compostella, Jeremy
Commit-ID: 06f7d4a1618dbb086e738c93cd1ef416ab01027d Gitweb: http://git.kernel.org/tip/06f7d4a1618dbb086e738c93cd1ef416ab01027d Author: Compostella, Jeremy AuthorDate: Mon, 25 Apr 2016 21:06:57 +0100 Committer: Ingo Molnar CommitDate: Thu, 28 Apr 2016 11:34:02 +0200 efibc: Add EFI

[tip:efi/core] efibc: Report more information in the error messages

2016-06-27 Thread tip-bot for Compostella, Jeremy
Commit-ID: 5356c32742bd51c8c57065d2389a2c4bc036adcd Gitweb: http://git.kernel.org/tip/5356c32742bd51c8c57065d2389a2c4bc036adcd Author: Compostella, Jeremy AuthorDate: Sat, 25 Jun 2016 08:20:24 +0100 Committer: Ingo Molnar CommitDate: Mon, 27 Jun 2016 13:06:54 +0200 efibc: Report more