login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
January
»
30
Re: [PATCH] EFI x86: pass firmware call parameters on the stack
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Frédéric <frederic.riss@...>, Matt Domsch <Matt_Domsch@...>
Cc: <linux-kernel@...>, <artiom.myaskouvskey@...>, <bjorn.helgaas@...>, Linus Torvalds <torvalds@...>
Subject:
Re: [PATCH] EFI x86: pass firmware call parameters on the stack
Date: Tuesday, January 30, 2007 - 3:10 pm
On Tue, 30 Jan 2007 20:01:18 +0100 Frédéric Riss <frederic.riss@gmail.com> wrote:
quoted text
> > When calling into an EFI firmware, the parameters need to be passed on > the stack. The recent change to use -mregparm=3 breaks x86 EFI support. > This patch is needed to allow the new Intel-based Macs to suspend to ram > when run in EFI mode (efi.get_time is called during the suspend phase). > > Signed-off-by: Frederic Riss <frederic.riss@gmail.com> > > --- > > [As I couldn't find an official maintainer for the linux/efi.h file and > the file header is quite old, I'm Cc:ing the last 2 commiters.]
Matt normally looks after EFI.
quoted text
> This patch fixes the issue for x86, but the file is also used by IA64. I > would have used asmlinkage to force arguments on the stack, but it has a > special meaning on IA64, thus I used a raw regparm(0) GCC attribute. > This attribute is documented only for x86, I hope it has no side effect > on other archs.
hm, this sounds like a fairly serious problem. Has this been runtime tested on ia64 and x86_64> -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] EFI x86: pass firmware call parameters on the stack
, Frédéric
, (Tue Jan 30, 3:01 pm)
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
, Bjorn Helgaas
, (Tue Jan 30, 3:17 pm)
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
, Frédéric
, (Tue Jan 30, 4:41 pm)
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
, bibo,mao
, (Wed Jan 31, 10:32 pm)
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
, Frederic Riss
, (Thu Feb 1, 4:10 am)
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
, bibo,mao
, (Thu Feb 1, 9:32 pm)
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
, Andrew Morton
, (Tue Jan 30, 3:10 pm)
Re: [PATCH] EFI x86: pass firmware call parameters on the st...
, Frédéric
, (Tue Jan 30, 3:16 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Willy Tarreau
Re: Linux 2.6.21
Jan Kundrát
kswapd high CPU usage with no swap
git
:
linux-netdev
:
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] tcp: splice as many packets as possible at once
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
505 guests
online.
Online users
olivdecka
may77santo
Syndicate