Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp464390imu; Wed, 16 Jan 2019 02:01:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN4+GMsbYg6CEJ4fVGBNyAk7+BYh9rpw8F8VbMDoX0PwcYeFBGoUQaAinaIOzNdgO9bqR7XL X-Received: by 2002:a17:902:15a8:: with SMTP id m37mr9076358pla.129.1547632914069; Wed, 16 Jan 2019 02:01:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547632914; cv=none; d=google.com; s=arc-20160816; b=vtGsmBOhQv9zmHRolF14x2mCEZJlv+Jayljk0ffswAg3ffJsr5aYWm/tc07uouKsjj oDe6odP8bJ50UYkYRMm8iSyNZXDdY5uNmFYijnQOvrxUp5ZlSEf/5SVAvxjPJ0g6ZhK1 KZJBC/cDs8kZ+xq6K9J16go/mty8CC/9oddymXRJrXlv7REB6D1abxHtC4uz8/sLmr4X IhGG/r1DrnjBb7pGByeCfz46nGJgiUmot+Hu2jXpK1GBtBLG/MFo64QbCs1U7STZDrwd j8NVrXwk1Kx57cYAmbkZbRFilT9ZclER20WWRMhUYt4BWA+NtK5e6VtVOq06u67jqeTx BKUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=Ng31HX/O+aab8Jnz6+NFCQ//rBtWYdEVcap9BXWqXeo=; b=zlWuhL8+Y8moSFDTD3WT+Q/xaSpcaQKag+txRB86cCQBPxd833o35EtY6SDMtY7gP+ /7dnBLX2wpTvBcN+IoBeJLsyr0S1ssOqcui9yCzHOB1PpNfbS0Q8VUySpa+Q6T0JUJtk SxeGbSE/5Ct/d1xfiM0sbBPudNg6coonxs2xQrGNCQqJSmtDXeBP4JEprWawNVZjUJeV 1k/4ehIs6KIUaFzz38AHUiqiyROgUWCHlUWxp8II+phxnK1rO2My8/iI5SlV5mEw/jcM +BraoGp1RVi9OJpLVGVT+p79yFJCgim8At5TzwQ1Nh83oIlelc78H4JdStTmmQSg5Lbq Dt6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6si5742887pll.384.2019.01.16.02.01.38; Wed, 16 Jan 2019 02:01:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389362AbfAOTfk (ORCPT + 99 others); Tue, 15 Jan 2019 14:35:40 -0500 Received: from g9t1613g.houston.hpe.com ([15.241.32.99]:58160 "EHLO g9t1613g.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731673AbfAOTfk (ORCPT ); Tue, 15 Jan 2019 14:35:40 -0500 Received: from g9t5010.houston.hpe.com (g9t5010.houston.hpe.com [15.241.48.74]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g9t1613g.houston.hpe.com (Postfix) with ESMTPS id E280162424; Tue, 15 Jan 2019 19:35:46 +0000 (UTC) Received: from sarge.linuxathome.me (unknown [16.214.81.200]) by g9t5010.houston.hpe.com (Postfix) with SMTP id D4F934A; Tue, 15 Jan 2019 19:35:35 +0000 (UTC) Date: Tue, 15 Jan 2019 19:35:34 +0000 From: Hedi Berriche To: Thomas Gleixner Cc: Ard Biesheuvel , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Russ Anderson , Mike Travis , Dimitri Sivanich , Steve Wahl Subject: Re: [PATCH 1/3] efi/x86: turn EFI runtime semaphore into a global lock Message-ID: <20190115193534.GK12284@sarge.linuxathome.me> Mail-Followup-To: Thomas Gleixner , Ard Biesheuvel , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Russ Anderson , Mike Travis , Dimitri Sivanich , Steve Wahl References: <20190109104541.25733-1-hedi.berriche@hpe.com> <20190109104541.25733-2-hedi.berriche@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 18:55 Thomas Gleixner wrote: >On Wed, 9 Jan 2019, Hedi Berriche wrote: > >> Make efi_runtime_lock semaphore global so that it can be used by EFI >> runtime callers that may be defined outside efi/runtime-wrappers.c. > >The changelog should mention why the lock is renamed. OK; will add to V2 that it was renamed so that it doesn't clash with the efi_runtime_lock spinlock defined by CONFIG_EFI_MIXED. >I have no strong opinion, but to apply that I need an Ack from Ard. OK; thanks for the feedback. Cheers, Hedi. -- Be careful of reading health books, you might die of a misprint. -- Mark Twain