Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2268463rwo; Thu, 3 Aug 2023 07:10:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFwbUsXb9xuL/Ul7KRPWh5tmRSPCRJ31au46XfdniFdAvSzO5vbnzk2NZ0FkR/7f98XBwTF X-Received: by 2002:a05:6a20:3c8c:b0:13f:68fd:6ae8 with SMTP id b12-20020a056a203c8c00b0013f68fd6ae8mr2423350pzj.57.1691071833825; Thu, 03 Aug 2023 07:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691071833; cv=none; d=google.com; s=arc-20160816; b=Z4bItPQAdU6whpWBUX8U+JmEHhw0lmdMIsvpNl1mcgXvpWj0G0LNGYyzeqEZKCHVKg zZYSaQRpOMEISdnwHFWZNw7WekcFLWKE4p8xdC8TjwD853au19UHobp5EmechlZapl6F SJI1I1CXybjFZddnSN1lpqE1sraPry/kDlTBaYF7qpj8C8Omgvd5YZ60ajWZ1nhPOEA0 PSS29tuYVoHxUC+5PsN/cWWAlDWVBqOsD7jZeJHlSN3k/ZB+gIR3RhFTascLS0tUxpkJ uiWRAIMLAnkahJ8PvAwn5h49t+7C/1f/xQBAbd2eQK8he8p5eU1jXhBn4mgpPh2qd2PL WFRQ== 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=PBRsHgyXhT2QOvVCVOEZNZ+PcA8fC4F8OgeFQLmGEuM=; fh=6hr2FG5H8TMXj/pu1Y4lT9D3i3QYBFr36c4itZYL1vE=; b=W8aKe9e2PzNlPNjjetKUjmuXgqjhrvXgUioWcbzmjJKWOteBwSsQkiAUokOFg06AKL Kv6yIw6HLkgoZRPBJygw6jGb20K6aqDzuMoBzVdDYEFAB3UmbH/RvmBgSOM6Mo4ghZWI 6+Z6haLW0oS6FzYX494m+M2ig7kiIoNXg7V5Dq6Mqn1X93xm6tPiHT5uAdEitE6AxBZ3 STQ2nlAGuUQEYvhaRW+QynhVRFSJv8TNtKlb8pMsrm1yyz7sG4q/jNQ2PZmqDEiJ9N5T rb+FFGOoyb4gUsHkqJeI41UN8/Vu9rXpY40dm61S29mPVAoMLNCNH9oyXsxKVvj3dWal K3UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HZ1l5Ayx; 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 dw19-20020a056a00369300b00686bb182af7si3223798pfb.46.2023.08.03.07.10.20; Thu, 03 Aug 2023 07:10:33 -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=HZ1l5Ayx; 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 S236537AbjHCNox (ORCPT + 99 others); Thu, 3 Aug 2023 09:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236491AbjHCNoe (ORCPT ); Thu, 3 Aug 2023 09:44:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26DEA44B5; Thu, 3 Aug 2023 06:42:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B673761DA6; Thu, 3 Aug 2023 13:42:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 132EBC433AB; Thu, 3 Aug 2023 13:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691070122; bh=r4s3ur9QdCGpsgh3oEwBZT6hFanHdwrcpg4wERGLJmQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HZ1l5Ayx8C7Zp/tulDNSVBYkZJWqK57C3x6l59CjA3yonV/xGx38ic7sMk0FEbL1I 7r+FAQR3CkGmag1uOdZJupMitc5su95trmpQq+hg4gOWYcLn7aG45g7fcQv9DiNlFc b/VYhdSnihf/wX9znQuY2PwkJDBsdy54DsTcrExL4JSslp9PDasgfhMSyLwbO/jfRk ePcLdGiZ0IFcpZvNUboF4S48ZQnvT7uP/WO4smdysBrHfDkzCnPJBWe3B77Cwiji8H wADXLQkVWoPA0PcsdSlZwSD4/GXAUlgYC6snnw/FOSRpfrfiJLJMTtb9hUnPJP9VO9 D9UTD9IQM6Khg== Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2b9b50be31aso14645251fa.3; Thu, 03 Aug 2023 06:42:01 -0700 (PDT) X-Gm-Message-State: ABy/qLb+mjKgdeaB2aUuHDEYFqYDAzbUNF53IYhFVUcUmqSH87EXjO0C aT6SjTzxlkbDXro1GdDPanuDjRMfdNUaCNW7ggI= X-Received: by 2002:a05:651c:106:b0:2b6:ded8:6fc1 with SMTP id a6-20020a05651c010600b002b6ded86fc1mr7321871ljb.25.1691070119999; Thu, 03 Aug 2023 06:41:59 -0700 (PDT) MIME-Version: 1.0 References: <20230803055611.2343011-1-xiao.w.wang@intel.com> In-Reply-To: <20230803055611.2343011-1-xiao.w.wang@intel.com> From: Ard Biesheuvel Date: Thu, 3 Aug 2023 15:41:48 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] efi/riscv: libstub: Fix comment about absolute relocation To: Xiao Wang Cc: linux-riscv@lists.infradead.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 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, 3 Aug 2023 at 07:48, Xiao Wang wrote: > > We don't want absolute symbols references in the stub, so fix the double > negation in the comment. > > Fixes: d7071743db31 ("RISC-V: Add EFI stub support.") > Cc: stable@vger.kernel.org > Signed-off-by: Xiao Wang Queued up in efi/next (without the cc stable) Thanks, > --- > drivers/firmware/efi/libstub/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile > index b0f8c495c10f..ed6e8ebd89b4 100644 > --- a/drivers/firmware/efi/libstub/Makefile > +++ b/drivers/firmware/efi/libstub/Makefile > @@ -146,7 +146,7 @@ STUBCOPY_RELOC-$(CONFIG_ARM64) := R_AARCH64_ABS > > # For RISC-V, we don't need anything special other than arm64. Keep all the > # symbols in .init section and make sure that no absolute symbols references > -# doesn't exist. > +# exist. > STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \ > --prefix-symbols=__efistub_ > STUBCOPY_RELOC-$(CONFIG_RISCV) := R_RISCV_HI20 > -- > 2.25.1 >