Linux-EFI Archive mirror
 help / color / mirror / Atom feed
From: Yunhui Cui <cuiyunhui@bytedance.com>
To: paul.walmsley@sifive.com, palmer@dabbelt.com,
	aou@eecs.berkeley.edu, ardb@kernel.org, cuiyunhui@bytedance.com,
	xuzhipeng.1973@bytedance.com, alexghiti@rivosinc.com,
	samitolvanen@google.com, bp@alien8.de, xiao.w.wang@intel.com,
	jan.kiszka@siemens.com, kirill.shutemov@linux.intel.com,
	nathan@kernel.org, linux-riscv@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org
Subject: [PATCH 1/3] Revert "riscv/efistub: Ensure GP-relative addressing is not used"
Date: Wed,  6 Mar 2024 16:56:20 +0800	[thread overview]
Message-ID: <20240306085622.87248-1-cuiyunhui@bytedance.com> (raw)

This reverts commit afb2a4fb84555ef9e61061f6ea63ed7087b295d5.

Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
---
 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 31eb1e287ce1..475f37796779 100644
--- a/drivers/firmware/efi/libstub/Makefile
+++ b/drivers/firmware/efi/libstub/Makefile
@@ -28,7 +28,7 @@ cflags-$(CONFIG_ARM)		+= -DEFI_HAVE_STRLEN -DEFI_HAVE_STRNLEN \
 				   -DEFI_HAVE_MEMCHR -DEFI_HAVE_STRRCHR \
 				   -DEFI_HAVE_STRCMP -fno-builtin -fpic \
 				   $(call cc-option,-mno-single-pic-base)
-cflags-$(CONFIG_RISCV)		+= -fpic -DNO_ALTERNATIVE -mno-relax
+cflags-$(CONFIG_RISCV)		+= -fpic -DNO_ALTERNATIVE
 cflags-$(CONFIG_LOONGARCH)	+= -fpie
 
 cflags-$(CONFIG_EFI_PARAMS_FROM_FDT)	+= -I$(srctree)/scripts/dtc/libfdt
-- 
2.20.1


             reply	other threads:[~2024-03-06  8:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06  8:56 Yunhui Cui [this message]
2024-03-06  8:56 ` [PATCH 2/3] Revert "riscv/efistub: Tighten ELF relocation check" Yunhui Cui
2024-03-06  8:56 ` [PATCH 3/3] efistub: fix missed the initialization of gp Yunhui Cui
2024-03-06  9:36   ` Ard Biesheuvel
2024-03-06 12:34     ` [External] " yunhui cui
2024-03-06 13:02       ` Ard Biesheuvel
2024-03-06 13:09         ` Ard Biesheuvel
2024-03-06 13:30           ` yunhui cui
2024-03-06 15:21           ` Palmer Dabbelt
2024-03-06 15:44             ` Ard Biesheuvel
2024-03-06 16:15               ` Ard Biesheuvel
2024-03-06 17:11                 ` Ard Biesheuvel
2024-03-07  3:19                 ` yunhui cui
2024-03-07 16:48                   ` Ard Biesheuvel
2024-03-08  7:09                     ` yunhui cui
2024-03-08  8:16                       ` Ard Biesheuvel
2024-03-06  9:02 ` [PATCH 1/3] Revert "riscv/efistub: Ensure GP-relative addressing is not used" Conor Dooley
2024-03-06  9:38   ` Ard Biesheuvel
2024-03-06 12:37     ` [External] " yunhui cui
2024-03-06 12:52 ` Jan Kiszka
2024-03-06 13:07   ` [External] " yunhui cui
2024-03-06 13:11     ` Ard Biesheuvel
2024-03-06 13:26       ` yunhui cui
2024-03-06 13:46         ` Ard Biesheuvel

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=20240306085622.87248-1-cuiyunhui@bytedance.com \
    --to=cuiyunhui@bytedance.com \
    --cc=alexghiti@rivosinc.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=ardb@kernel.org \
    --cc=bp@alien8.de \
    --cc=jan.kiszka@siemens.com \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=nathan@kernel.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=samitolvanen@google.com \
    --cc=xiao.w.wang@intel.com \
    --cc=xuzhipeng.1973@bytedance.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).