From: Thomas Zimmermann <tzimmermann@suse.de>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: javierm@redhat.com, linux-efi@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/2] efi: Export symbol efi_mem_desc_lookup
Date: Tue, 8 Apr 2025 13:03:38 +0200 [thread overview]
Message-ID: <b97853f6-681a-4be2-b244-83ce0d26060b@suse.de> (raw)
In-Reply-To: <CAMj1kXFTrY=8njYkbY3_skK8oJOY7-Y4wEdAPV6vUvi7hT2F7A@mail.gmail.com>
Am 08.04.25 um 11:40 schrieb Ard Biesheuvel:
> On Tue, 8 Apr 2025 at 11:22, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>> Building efidrm as module requires efi_mem_desc_lookup(). Export
>> the symbol.
>>
>> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
>> ---
>> drivers/firmware/efi/efi.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
> Acked-by: Ard Biesheuvel <ardb@kernel.org>
Thanks a lot.
>
> Feel free to take this via a DRM tree.
I'll do that.
Best regards
Thomas
>
>
>> diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
>> index 7309394b8fc98..e57bff702b5f4 100644
>> --- a/drivers/firmware/efi/efi.c
>> +++ b/drivers/firmware/efi/efi.c
>> @@ -558,6 +558,7 @@ int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md)
>>
>> extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md)
>> __weak __alias(__efi_mem_desc_lookup);
>> +EXPORT_SYMBOL_GPL(efi_mem_desc_lookup);
>>
>> /*
>> * Calculate the highest address of an efi memory descriptor.
>> --
>> 2.49.0
>>
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
next prev parent reply other threads:[~2025-04-08 11:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 9:17 [PATCH 0/2] drm,efi: Export efi_mem_desc_lookup for efidrm Thomas Zimmermann
2025-04-08 9:17 ` [PATCH 1/2] efi: Export symbol efi_mem_desc_lookup Thomas Zimmermann
2025-04-08 9:40 ` Ard Biesheuvel
2025-04-08 11:03 ` Thomas Zimmermann [this message]
2025-04-08 10:47 ` Javier Martinez Canillas
2025-04-08 9:17 ` [PATCH 2/2] drm/sysfb: efidrm: Support module builds Thomas Zimmermann
2025-04-08 10:48 ` Javier Martinez Canillas
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=b97853f6-681a-4be2-b244-83ce0d26060b@suse.de \
--to=tzimmermann@suse.de \
--cc=ardb@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=javierm@redhat.com \
--cc=linux-efi@vger.kernel.org \
/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