[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@xxxxxxxxxx> 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?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.