* Why is psr.ic off for ia64_pal_cache_flush?
@ 2005-12-26 5:44 Tian, Kevin
2006-01-05 15:25 ` Dean Roe
2006-01-05 19:59 ` Magenheimer, Dan (HP Labs Fort Collins)
0 siblings, 2 replies; 3+ messages in thread
From: Tian, Kevin @ 2005-12-26 5:44 UTC (permalink / raw)
To: linux-ia64
I know that currently there's no such invocation to ia64_pal_cache_flush
within ia64 linux kernel, but like to know why it's the only instance to
call PAL_CALL_IC_OFF under virtual mode? Since there's no DTR setup for
pal area, it can only work if DTC entry exists just before off psr.ic,
or pal procedure for this type doesn't issue any data access. Or else
nested dtlb miss may happen and it seems not to be handled by current
linux code.
Currently this stub is invoked by XEN (an open source VMM with code
derived from linux) to sync I/D cache after management tool loads kernel
image and initrd of another domain (guest OS). Though we may take place
of it by fc.i, I'm still curious to know historical background for this
design.
Thanks in advance,
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why is psr.ic off for ia64_pal_cache_flush?
2005-12-26 5:44 Why is psr.ic off for ia64_pal_cache_flush? Tian, Kevin
@ 2006-01-05 15:25 ` Dean Roe
2006-01-05 19:59 ` Magenheimer, Dan (HP Labs Fort Collins)
1 sibling, 0 replies; 3+ messages in thread
From: Dean Roe @ 2006-01-05 15:25 UTC (permalink / raw)
To: linux-ia64
On Mon, Dec 26, 2005 at 01:44:55PM +0800, Tian, Kevin wrote:
> I know that currently there's no such invocation to ia64_pal_cache_flush
> within ia64 linux kernel, but like to know why it's the only instance to
> call PAL_CALL_IC_OFF under virtual mode? Since there's no DTR setup for
> pal area, it can only work if DTC entry exists just before off psr.ic,
> or pal procedure for this type doesn't issue any data access. Or else
> nested dtlb miss may happen and it seems not to be handled by current
> linux code.
>
> Currently this stub is invoked by XEN (an open source VMM with code
> derived from linux) to sync I/D cache after management tool loads kernel
> image and initrd of another domain (guest OS). Though we may take place
> of it by fc.i, I'm still curious to know historical background for this
> design.
>
> Thanks in advance,
> Kevin
Did you get any responses to this? I played with ia64_pal_cache_flush
on an Altix (over a year ago) and couldn't get it to work without
converting it to use PAL_CALL. Are you having a similar problem when
you use it for XEN?
Dean
--
Dean Roe
Silicon Graphics, Inc.
roe@sgi.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Why is psr.ic off for ia64_pal_cache_flush?
2005-12-26 5:44 Why is psr.ic off for ia64_pal_cache_flush? Tian, Kevin
2006-01-05 15:25 ` Dean Roe
@ 2006-01-05 19:59 ` Magenheimer, Dan (HP Labs Fort Collins)
1 sibling, 0 replies; 3+ messages in thread
From: Magenheimer, Dan (HP Labs Fort Collins) @ 2006-01-05 19:59 UTC (permalink / raw)
To: linux-ia64
> Did you get any responses to this? I played with ia64_pal_cache_flush
> on an Altix (over a year ago) and couldn't get it to work without
> converting it to use PAL_CALL. Are you having a similar problem when
> you use it for XEN?
The PAL spec has changed so that PAL_CALL is correct and PAL_CALL_IC_OFF
is incorrect. So this is a bug in Linux/ia64, though currently
harmless since ia64_pal_cache_flush is unused.
I think Kevin was going to submit a patch to the linux-ia64 list
so that others don't run into this problem in the future.
Dan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-05 19:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26 5:44 Why is psr.ic off for ia64_pal_cache_flush? Tian, Kevin
2006-01-05 15:25 ` Dean Roe
2006-01-05 19:59 ` Magenheimer, Dan (HP Labs Fort Collins)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox