[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOvdn6VNhi0O9fo7KUOV4Lrux=KBJ75hJOhhtozMPsp0FGB=Hg@mail.gmail.com>
Date: Fri, 8 Jun 2012 09:13:34 -0400
From: Ben Guthro <ben@...hro.net>
To: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Cc: xen-devel@...ts.xensource.com, linux-kernel@...r.kernel.org
Subject: Re: [Xen-devel] [PATCH] xen/hvc: Fix polling mode to work with kdb/kgdb
On Thu, Jun 7, 2012 at 4:07 PM, Ben Guthro <ben@...hro.net> wrote:
<snip>
> +#ifndef CONFIG_XEN
> /*
> * Wait for the other CPUs to be notified and be waiting for us:
> */
> while (kgdb_do_roundup && (atomic_read(&masters_in_kgdb) +
> atomic_read(&slaves_in_kgdb)) != online_cpus)
> cpu_relax();
> +#endif
>
> /*
> * At this point the primary processor is completely
The cpu roundup seems to not be working as expected here.
While I get into the kgdb exception code on the master cpu - none of
the slave cpus ever get into the code that is counting them up.
Ignoring this CPU roundup is useful to get into the kdb code, but
probably not correct.
Does you have any thoughts as to why I might not be getting into this
code under Xen?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists