Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp375486iol; Thu, 9 Jun 2022 05:45:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuolTRqfTWV8oC3WYcOjg7GU4Ks+3sXxs6IDFXajVytsqqU/CQ1YQnGidyhWaxjUKzYwmI X-Received: by 2002:a17:902:cf05:b0:156:2aa:6e13 with SMTP id i5-20020a170902cf0500b0015602aa6e13mr39190191plg.137.1654778731135; Thu, 09 Jun 2022 05:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654778731; cv=none; d=google.com; s=arc-20160816; b=DVVQH3aAQ6qYZZuiaxNjULeHasYfFxfeO8VUUAimqs31apnbaYgWCkz+SaTttSVLB5 7Sbo0oYUg7/VoAJJ8Uqi2MLyPIxljjJYxwYX8A9xw1G0Bwo906ETs8uvg2uruLIb4bT0 7y+jZWsN2E6n/PrdAULUJUxB6xuV5cadKI7+MabRriBoPk+ivVqzwhUa0vmLb77aICAS oOdDCb6vUHA6capfxpWFhiJbEQJhR0au1mFEOkmeS/mSaL/xIh9QrMvjZ4SqcsWvAvve 8TuGipu7meZh0OnHH9yQp3QHxFHeAhqlDOcEfcGhxw6yZSch5MHWr8qSeTWiQyMankTL Q4Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IU6GpYw5iMQrFyVkh4mOQyeFbdiutNJSrB5BUGLEVtI=; b=CuUdvLh9e0OxKInprZ8aYceLBhqV5waqTDnJ9n+Wsa5UE8jWgQrh2WVgy6Lnw4eN4C /gg0VJUcB75lzobPKTS+yJUSIXlHUbeA1Oeed2mmKSr7HEP99PYqIeNCgp0tNXrygpDZ zvtsFzt+fcxweVjJDa1lDCDcptlCH7juEKesndss0Pvnj+oItZmAzQeOjiN1sWZ2W/tL lTG2/ma3LLoZFhQJ8l4ktVUCa4wHKoTU3N0qviH4sJ2NGQMadV6bFHSqkmseIOUyTPqU UJzPWJY66DpCNmQocei7Xk8IFJSm5lxhylv4pbFPSLowCdKTxbh6yrpWdgvJUEYAvdNV MsmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c8nKB7Pj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j2-20020aa78d02000000b00512e59d9bf9si29730761pfe.296.2022.06.09.05.45.18; Thu, 09 Jun 2022 05:45:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c8nKB7Pj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242482AbiFILr6 (ORCPT + 99 others); Thu, 9 Jun 2022 07:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244613AbiFILro (ORCPT ); Thu, 9 Jun 2022 07:47:44 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 943099CF0D; Thu, 9 Jun 2022 04:46:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 41BA7B82D2A; Thu, 9 Jun 2022 11:46:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AA83C3411D; Thu, 9 Jun 2022 11:46:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654775210; bh=/yxLzqAjj2ZrsiJ7/7VVT2f9u68+1KplA0iIvcfew/s=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=c8nKB7Pjyhf7T+iNcXR1vZsGr9vjU2ODmpnedAgMBbo+h8zI8MdhgL3sk9jU/ng9w vK6RaFT7p/PLaE7wtvvixE0+KtTThplqB45qjQCaiDL2hEP0rK1ZKYSlPyAaVMvVkE 6NBjM8ZTNGPq+WZn16esfNS4vLlU/qsJyTiS5Yo/KnRRrhqvm3ln/yOmmdi0rz8JGC DojrATrdFQ5xkUxkDqMLjD0HbaGmyQw4rh6aTcQ1+AU6UugHcl+7wGdeFMYApFmh4F 6Q/6fCeKPBurR7mXLR7K+q/pmQamNDHGdHGzggzlNGxRuobvUXBvxnNOwSvQ3za9k7 Gs6ZZmylo8tjg== Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-f2cbceefb8so30622963fac.11; Thu, 09 Jun 2022 04:46:49 -0700 (PDT) X-Gm-Message-State: AOAM530GpQhdo46aykCNI3A8zFALo9bIO2cH9WJgsdHyhqym5aCgNVg4 lJWItbIuFtR7VgVvlzo4l9dY2M94N7W3wVgkkfs= X-Received: by 2002:a05:6871:5c8:b0:f3:3c1c:126f with SMTP id v8-20020a05687105c800b000f33c1c126fmr1470910oan.126.1654775209137; Thu, 09 Jun 2022 04:46:49 -0700 (PDT) MIME-Version: 1.0 References: <20220609113730.32062-1-baskov@ispras.ru> In-Reply-To: <20220609113730.32062-1-baskov@ispras.ru> From: Ard Biesheuvel Date: Thu, 9 Jun 2022 13:46:36 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] efi/x86: libstub: Fix typo in __efi64_argmap* name To: Evgeniy Baskov Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Jun 2022 at 13:39, Evgeniy Baskov wrote: > > The actual name of the DXE services function used > is set_memory_space_attributes(), not set_memory_space_descriptor(). > > Change EFI mixed mode helper macro name to match the function name. > > Fixes: 31f1a0edff78 ("efi/x86: libstub: Make DXE calls mixed mode safe") > Signed-off-by: Evgeniy Baskov Thanks for the fix! I'll queue this up in efi/urgent > --- > arch/x86/include/asm/efi.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h > index 71943dce691e..9636742a80f2 100644 > --- a/arch/x86/include/asm/efi.h > +++ b/arch/x86/include/asm/efi.h > @@ -323,7 +323,7 @@ static inline u32 efi64_convert_status(efi_status_t status) > #define __efi64_argmap_get_memory_space_descriptor(phys, desc) \ > (__efi64_split(phys), (desc)) > > -#define __efi64_argmap_set_memory_space_descriptor(phys, size, flags) \ > +#define __efi64_argmap_set_memory_space_attributes(phys, size, flags) \ > (__efi64_split(phys), __efi64_split(size), __efi64_split(flags)) > > /* > -- > 2.36.1 >