All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Genapic in x86_64 Dom0
@ 2005-08-19 20:25 Puthiyaparambil, Aravindh
  2005-08-20  9:45 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Puthiyaparambil, Aravindh @ 2005-08-19 20:25 UTC (permalink / raw)
  To: xen-devel; +Cc: Chris Wright

I am working on a patch on to accommodate clustered APICs in x86_64
Dom0/U Genapic. At the moment it defaults to flat. I am thinking of
splitting genapic_xen into genapic_xen_flat and genapic_xen_cluster. 

My question is that since the most of the code that checks for clustered
vs flat has been IFDEFed out what is the best way to inform the Dom that
it needs to run in clustered/flat APIC mode? Should I be thinking about
introducing a new hypercall that does this or is there another standard
way by which information is passed between Xen and Domains during boot
that I can make use of?

Thanks
Aravindh

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: [RFC] Genapic in x86_64 Dom0
@ 2005-08-22 16:14 Puthiyaparambil, Aravindh
  0 siblings, 0 replies; 6+ messages in thread
From: Puthiyaparambil, Aravindh @ 2005-08-22 16:14 UTC (permalink / raw)
  To: Keir Fraser
  Cc: Koren, Bradley J, xen-devel, Chris Wright, Magolan, John F,
	Subrahmanian, Raj, Davis, Jason, Vessey, Bruce A

> 
> Isn't flat/clustered mostly a local APIC issue? In which case domain 0
> needn't care, as local APICs are entirely maintained by Xen.

Yes you are right. The way Chris has written xen_send_IPI_shortcut()
should take care of the clustered case too.

> 
> As for IO APICs, although domain 0 writes the routing entries, Xen is
> responsible for stamping in appropriate destination fields, based on
> knowledge of physical CPU IDs and which domains are running on which
> physical CPUs. This code can be extended to handle writing
> clustering-compatible routing entries.

This sounds like a better idea and less work ;-) I will submit a patch.

Aravindh

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-22 18:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 20:25 [RFC] Genapic in x86_64 Dom0 Puthiyaparambil, Aravindh
2005-08-20  9:45 ` Keir Fraser
2005-08-22 18:20   ` Chris Wright
2005-08-22 18:48     ` Keir Fraser
2005-08-22 18:57       ` Chris Wright
  -- strict thread matches above, loose matches on Subject: below --
2005-08-22 16:14 Puthiyaparambil, Aravindh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.