public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] x86: UV runtime bios calls
@ 2008-08-22 21:50 Russ Anderson
  0 siblings, 0 replies; 6+ messages in thread
From: Russ Anderson @ 2008-08-22 21:50 UTC (permalink / raw)
  To: linux-kernel, mingo, tglx; +Cc: Russ Anderson, Jack Steiner

[PATCH 0/4] x86: UV runtime bios calls

Purpose: 
	Create an interface to allow calls into bios to return platform
	specific information.  The interface uses EFI SAL table entry.
	EFI provides a mechanism for defining function pointers to 
	firmware routines.  This patchset builds on the EFI mechanism
	to provide access to those firmware routines.

Patches:
	uv_efi_bios:	Look for SAL entry in EFI tables.

	uv_bios_common:	Add the EFI callback function using the EFI table
			entry.  Create associated wrapper code.  Initialize
			SAL system table entry info at boot time.

	uv_bios_call_partition: Add call to get partitioning related info.

	uv_sysfs:	Create sysfs entrys in /sys/firmware/sgi_uv/ for
			partitioning related information.

Implementation comments:

	This patch uses sal_systab.  sal_systab is used on ia64, but was
	not used on x86.  An alternative would be to create a new
	EFI entry type (uv_systab), though that would require adding 
	to struct efi.

	The location in sysfs (/sys/firmware/sgi_uv/) is based on
	community feedback.

	If EFI is not configured (CONFIG_EFI), the calls will return -ENOSYS.
	If run on a system with a bios that does not supportes EFI SAL, the
	calls will return -ENOSYS.

	Paul Jackson assisted in the development of this code.
	
-- 
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          rja@sgi.com

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

* [PATCH 0/4] x86: UV runtime bios calls
@ 2008-09-22 21:06 Russ Anderson
  2008-09-24  2:49 ` Huang Ying
  2008-09-24  3:09 ` Huang Ying
  0 siblings, 2 replies; 6+ messages in thread
From: Russ Anderson @ 2008-09-22 21:06 UTC (permalink / raw)
  To: linux-kernel, mingo, tglx; +Cc: H. Peter Anvin, Jack Steiner, Russ Anderson

[PATCH 0/4] x86: UV runtime bios calls

Purpose: 
	Create an interface to allow calls into bios to return platform
	specific information.  The interface uses EFI SAL table entry.
	EFI provides a mechanism for defining function pointers to 
	firmware routines.  This patchset builds on the EFI mechanism
	to provide access to those firmware routines.

Patches:
	uv_efi_bios:	Look for SAL entry in EFI tables.

	uv_bios_common:	Add the EFI callback function using the EFI table
			entry.  Create associated wrapper code.  Initialize
			SAL system table entry info at boot time.

	uv_bios_call_partition: Add call to get partitioning related info.

	uv_sysfs:	Create sysfs entrys in /sys/firmware/sgi_uv/ for
			partitioning related information.

Implementation comments:

	This patch uses sal_systab.  sal_systab is used on ia64, but was
	not used on x86.  An alternative would be to create a new
	EFI entry type (uv_systab), though that would require adding 
	to struct efi.

	The location in sysfs (/sys/firmware/sgi_uv/) is based on
	community feedback.

	If EFI is not configured (CONFIG_EFI), the calls will return -ENOSYS.
	If run on a system with a bios that does not supportes EFI SAL, the
	calls will return -ENOSYS.

	Paul Jackson assisted in the development of this code.
	
-- 
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          rja@sgi.com

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

* Re: [PATCH 0/4] x86: UV runtime bios calls
  2008-09-22 21:06 Russ Anderson
@ 2008-09-24  2:49 ` Huang Ying
  2008-09-24  3:09 ` Huang Ying
  1 sibling, 0 replies; 6+ messages in thread
From: Huang Ying @ 2008-09-24  2:49 UTC (permalink / raw)
  To: Russ Anderson; +Cc: linux-kernel, mingo, tglx, H. Peter Anvin, Jack Steiner

[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

Hi, Russ,

This seems to include a extension to EFI runtime services. Why not also
discuss that on UEFI forum? You can get some information about UEFI
forum from http://www.uefi.org/.

Best Regards,
Huang Ying

On Mon, 2008-09-22 at 16:06 -0500, Russ Anderson wrote:
> [PATCH 0/4] x86: UV runtime bios calls
> 
> Purpose: 
> 	Create an interface to allow calls into bios to return platform
> 	specific information.  The interface uses EFI SAL table entry.
> 	EFI provides a mechanism for defining function pointers to 
> 	firmware routines.  This patchset builds on the EFI mechanism
> 	to provide access to those firmware routines.
> 
> Patches:
> 	uv_efi_bios:	Look for SAL entry in EFI tables.
> 
> 	uv_bios_common:	Add the EFI callback function using the EFI table
> 			entry.  Create associated wrapper code.  Initialize
> 			SAL system table entry info at boot time.
> 
> 	uv_bios_call_partition: Add call to get partitioning related info.
> 
> 	uv_sysfs:	Create sysfs entrys in /sys/firmware/sgi_uv/ for
> 			partitioning related information.
> 
> Implementation comments:
> 
> 	This patch uses sal_systab.  sal_systab is used on ia64, but was
> 	not used on x86.  An alternative would be to create a new
> 	EFI entry type (uv_systab), though that would require adding 
> 	to struct efi.
> 
> 	The location in sysfs (/sys/firmware/sgi_uv/) is based on
> 	community feedback.
> 
> 	If EFI is not configured (CONFIG_EFI), the calls will return -ENOSYS.
> 	If run on a system with a bios that does not supportes EFI SAL, the
> 	calls will return -ENOSYS.
> 
> 	Paul Jackson assisted in the development of this code.
> 	

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [PATCH 0/4] x86: UV runtime bios calls
  2008-09-22 21:06 Russ Anderson
  2008-09-24  2:49 ` Huang Ying
@ 2008-09-24  3:09 ` Huang Ying
  2008-09-24  4:24   ` Russ Anderson
  1 sibling, 1 reply; 6+ messages in thread
From: Huang Ying @ 2008-09-24  3:09 UTC (permalink / raw)
  To: Russ Anderson; +Cc: linux-kernel, mingo, tglx, H. Peter Anvin, Jack Steiner

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

Hi, Russ,

On Mon, 2008-09-22 at 16:06 -0500, Russ Anderson wrote:
> 	This patch uses sal_systab.  sal_systab is used on ia64, but was
> 	not used on x86.  An alternative would be to create a new
> 	EFI entry type (uv_systab), though that would require adding 
> 	to struct efi.

I don't think it is a good idea to use sal_systab, if it is not a real
sal_systab. It's better to add new field such as uv_systab to struct
efi, which is not defined by UEFI standard, so can be changed.

Best Regards,
Huang Ying


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [PATCH 0/4] x86: UV runtime bios calls
  2008-09-24  3:09 ` Huang Ying
@ 2008-09-24  4:24   ` Russ Anderson
  0 siblings, 0 replies; 6+ messages in thread
From: Russ Anderson @ 2008-09-24  4:24 UTC (permalink / raw)
  To: Huang Ying
  Cc: linux-kernel, mingo, tglx, H. Peter Anvin, Jack Steiner,
	Russ Anderson

On Wed, Sep 24, 2008 at 11:09:07AM +0800, Huang Ying wrote:
> Hi, Russ,
> 
> On Mon, 2008-09-22 at 16:06 -0500, Russ Anderson wrote:
> > 	This patch uses sal_systab.  sal_systab is used on ia64, but was
> > 	not used on x86.  An alternative would be to create a new
> > 	EFI entry type (uv_systab), though that would require adding 
> > 	to struct efi.
> 
> I don't think it is a good idea to use sal_systab, if it is not a real
> sal_systab. It's better to add new field such as uv_systab to struct
> efi, which is not defined by UEFI standard, so can be changed.

OK.  My first development version took that approach, so
it I just have to put that code back in. 

Thanks,
-- 
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          rja@sgi.com

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

* [PATCH 0/4] x86: UV runtime bios calls
@ 2008-09-29 22:02 Russ Anderson
  0 siblings, 0 replies; 6+ messages in thread
From: Russ Anderson @ 2008-09-29 22:02 UTC (permalink / raw)
  To: linux-kernel, mingo, tglx, Huang Ying
  Cc: H. Peter Anvin, Jack Steiner, Russ Anderson

[PATCH 0/4] x86: UV runtime bios calls

Purpose: 
	Create an interface to allow calls into bios to return platform
	specific information.  The interface adds a new EFI runtime call
	for OEMs.  EFI provides a mechanism for defining runtime calls 
	to firmware routines.  This patchset builds on the EFI mechanism
	to provide access to those firmware routines.

Version 3 changes:
	Add function (oem) to efi_runtime_services_t, replacing uv_systab.
	Use efi_call_virt<n>.
	Remove efi_call<n> stubs.


Version 2 changes:
	Add uv_systab to efi struct.
	Define efi_call* stubs in include/asm-x86/uv/bios.h.
	Made symbols EXPORT_SYMBOL_GPL().
	Added check for failure on sysfs_create_file() calls.
	Other code style changes.


Patches:
	uv_efi_bios:	Add function (oem) to efi_runtime_services_t.

	uv_bios_common:	Add the EFI callback function using the EFI oem
			runtime function.  Create associated wrapper code.

	uv_bios_call_partition: Add call to get partitioning related info.

	uv_sysfs:	Create sysfs entrys in /sys/firmware/sgi_uv/ for
			partitioning related information.

Implementation comments:

	This patch adds a new EFI runtime function (oem).

	The location in sysfs (/sys/firmware/sgi_uv/) is based on
	community feedback.  The interface is documented in
	Documentation/ABI/testing/sysfs-firmware-sgi_uv.

	If EFI is not configured (CONFIG_EFI), the calls will return -ENOSYS.
	If run on a system with a bios that does not support EFI UV, the
	calls will return -ENOSYS.

	Paul Jackson assisted in the development of this code.
	
-- 
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          rja@sgi.com

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

end of thread, other threads:[~2008-09-29 22:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 21:50 [PATCH 0/4] x86: UV runtime bios calls Russ Anderson
  -- strict thread matches above, loose matches on Subject: below --
2008-09-22 21:06 Russ Anderson
2008-09-24  2:49 ` Huang Ying
2008-09-24  3:09 ` Huang Ying
2008-09-24  4:24   ` Russ Anderson
2008-09-29 22:02 Russ Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox