Re: [GIT PULL] kgdb regression fixes for 2.6.35-rc5

From: Frederic Weisbecker
Date: Wed Jul 28 2010 - 17:17:36 EST


On Wed, Jul 28, 2010 at 03:39:49PM -0500, Jason Wessel wrote:
> Linus, please pull the for_linus branch for 2.6.35-rc6.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git for_linus
>
> The kgdb validation tests found a regression where HW breakpoints
> stopped working with kdb / kgdb. The problem was bisected and after
> talking with Frederic Weisbecker a patch was generated to repair the
> regression.
>
> Thanks,
> Jason.
>
>
> ---
> Jason Wessel (1):
> x86,kgdb: Fix hw breakpoint regression
>
> arch/x86/kernel/kgdb.c | 12 ++++++++++--
> 1 files changed, 10 insertions(+), 2 deletions(-)



I'm sorry I spot it a bit late.
There is a little issue in this patch, irqs won't
be restored:

@@ -588,9 +588,10 @@ int kgdb_ll_trap(int cmd, const char *str,
if (!kgdb_io_module_registered)
return NOTIFY_DONE;

+ local_irq_save(flags);
return __kgdb_notify(&args, cmd);
+ local_irq_restore(flags);
}

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/