Re: [PATCH 1/4] SGI Altix cross partition functionality

From: Dean Nelson <dcn_at_sgi.com>
Date: 2004-08-13 01:10:28
On Tue, Aug 10, 2004 at 02:54:00PM -0500, Dean Nelson wrote:
>
> Tony,
> 
> I'm interested in your response to what Robin wrote. Care to comment?
> 
> And just another data point: we no longer need the sal_lock exported,
> just ia64_sal, does this affect your thoughts on this matter?

Just wanted to add a couple of additional data points to the
discussion of whether or not to export the SAL call itself.

It was pointed out to me that the PAL call is exported. You
can find PAL_CALL() in include/asm-ia64/pal.h and its export
in arch/ia64/kernel/ia64_ksyms.c, where the necessary symbols
are exported:
                                                                                
        ia64_pal_call_static
        ia64_load_scratch_fpregs
        ia64_save_scratch_fpregs
                                                                                
(The latter two are needed by SAL_CALL(), which also requires
the exporting of ia64_sal and sal_lock.)
                                                                                
Is there a fundamental difference between PAL and SAL that would
justify exporting one and not the other?
                                                                                
Also, what makes it okay for 'CONFIG_IA64_SGI_SN_XPC=y' to make a
SAL_CALL() and not okay for 'CONFIG_IA64_SGI_SN_XPC=m'? It's the
same code, either compiled into the kernel or into a kernel module.
What makes the first one 'trustworthy' and the second one not?

Thanks,
Dean

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Aug 12 11:11:39 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:29 EST