From: Andreas Schwab <schwab@suse.de>
To: u-boot@lists.denx.de
Subject: [PATCH] efi_loader: Enable run-time variable support for tee based variables
Date: Fri, 15 Jan 2021 17:34:04 +0100 [thread overview]
Message-ID: <87v9by6txf.fsf@igel.home> (raw)
In-Reply-To: <CAOnJCU+J8_4vTFZHFqyK-j4dCPv4booj0g1uV+d41T4dHfiNEQ@mail.gmail.com> (Atish Patra's message of "Thu, 14 Jan 2021 13:31:05 -0800")
On Jan 14 2021, Atish Patra wrote:
> I am a bit confused how this will work. This means it will reside in GOT
> which is not mapped in virtual address for Linux. Whenever we try to
> invoke get_variable service, it will panic.
> Did we miss a trick in RISC-V ?
I think the problem really is that RISC-V use -fpic for compiling. If I
change that to -fpie, there is no longer a GOT reference.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2021-01-15 16:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-23 7:53 [PATCH] efi_loader: Enable run-time variable support for tee based variables Ilias Apalodimas
2020-07-23 10:32 ` Heinrich Schuchardt
2020-07-23 11:10 ` ilias.apalodimas at linaro.org
2021-01-14 21:31 ` Atish Patra
2021-01-15 0:01 ` Ilias Apalodimas
2021-01-15 16:34 ` Andreas Schwab [this message]
2021-01-15 17:42 ` Ilias Apalodimas
2021-01-15 19:46 ` Andreas Schwab
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=87v9by6txf.fsf@igel.home \
--to=schwab@suse.de \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.