From: Greg KH <gregkh@linuxfoundation.org>
To: Matt Fleming <matt.fleming@intel.com>
Cc: Jeremy Kerr <jeremy.kerr@canonical.com>,
linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org,
Andy Whitcroft <apw@canonical.com>,
Matthew Garrett <mjg@redhat.com>
Subject: Re: [PATCH] efivarfs: Implement exclusive access for {get,set}_variable
Date: Fri, 12 Oct 2012 13:49:01 +0900 [thread overview]
Message-ID: <20121012044901.GA17913@kroah.com> (raw)
In-Reply-To: <1349962956.15966.521.camel@mfleming-mobl1.ger.corp.intel.com>
On Thu, Oct 11, 2012 at 02:42:36PM +0100, Matt Fleming wrote:
> On Thu, 2012-10-11 at 21:19 +0800, Jeremy Kerr wrote:
> > Currently, efivarfs does not enforce exclusion over the get_variable and
> > set_variable operations. Section 7.1 of UEFI requires us to only allow a
> > single processor to enter {get,set}_variable services at once.
> >
> > This change acquires the efivars->lock over calls to these operations
> > from the efivarfs paths.
> >
> > Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
> >
> > ---
> > drivers/firmware/efivars.c | 68 +++++++++++++++++++++++--------------
> > 1 file changed, 43 insertions(+), 25 deletions(-)
>
> Thanks, applied to 'next'.
Should this be backported to the stable kernels?
thanks,
greg k-h
next parent reply other threads:[~2012-10-12 4:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1349961551.174484.910885224391.1.gpush@pecola>
[not found] ` <1349962956.15966.521.camel@mfleming-mobl1.ger.corp.intel.com>
2012-10-12 4:49 ` Greg KH [this message]
[not found] ` <20121012044901.GA17913-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2012-10-12 5:04 ` [PATCH] efivarfs: Implement exclusive access for {get,set}_variable Jeremy Kerr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121012044901.GA17913@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=apw@canonical.com \
--cc=jeremy.kerr@canonical.com \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=mjg@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox