From nobody Wed Dec 4 08:19:44 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1730202151; cv=none; d=zohomail.com; s=zohoarc; b=fkbjgvn98WPo+5g7qM2Hpz5BWdULHIam+noKGril6ntlyHJJVqRJ/s+TOClcXlT0pllnMRri/dVTv55zIbbBK1YTRhhiGgl9xJf0tfAdVVfpnGT7V63WsIT59d/BNVe6e14dKDvwVWSullGvlKbgokdLrMkcUtGv4mqFcrAXB9Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730202151; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=2eMJHLt456vECrCu/l8OxKrENcFTh4cA6cpXQSAO0YE=; b=f/EadqDKxY0i6OZ6QbZO/wrR61zFE+we4y2U3fn6Rm5x2Vk3APRMVRZ4cGDifK+Phg8hRtAycCuXGZ/q4BWFLxPnyTdft3ihIxtAmN2MtG1oWxW+JHFZKBPEEYARcQNHltDhA2VjuM51ByY5VXFAm9dtwGgwMbZGhMSOU8Hu+30= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1730202151948320.71895321768284; Tue, 29 Oct 2024 04:42:31 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.827285.1241863 (Exim 4.92) (envelope-from ) id 1t5kbx-0008Ia-J0; Tue, 29 Oct 2024 11:42:09 +0000 Received: by outflank-mailman (output) from mailman id 827285.1241863; Tue, 29 Oct 2024 11:42:09 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t5kbx-0008IT-Fz; Tue, 29 Oct 2024 11:42:09 +0000 Received: by outflank-mailman (input) for mailman id 827285; Tue, 29 Oct 2024 11:42:08 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t5kbw-0008Gd-7b for xen-devel@lists.xenproject.org; Tue, 29 Oct 2024 11:42:08 +0000 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id cfe1a429-95ea-11ef-a0c3-8be0dac302b0; Tue, 29 Oct 2024 12:42:02 +0100 (CET) Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D0F4B1FB55; Tue, 29 Oct 2024 11:42:00 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 9DD65136A5; Tue, 29 Oct 2024 11:42:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id adwYJQjKIGfKSQAAD6G6ig (envelope-from ); Tue, 29 Oct 2024 11:42:00 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: cfe1a429-95ea-11ef-a0c3-8be0dac302b0 X-Custom-Connection: eyJyZW1vdGVpcCI6IjE5NS4xMzUuMjIzLjEzMSIsImhlbG8iOiJzbXRwLW91dDIuc3VzZS5kZSJ9 X-Custom-Transaction: eyJpZCI6ImNmZTFhNDI5LTk1ZWEtMTFlZi1hMGMzLThiZTBkYWMzMDJiMCIsInRzIjoxNzMwMjAyMTI1LjMwNjg3MSwic2VuZGVyIjoiamdyb3NzQHN1c2UuY29tIiwicmVjaXBpZW50IjoieGVuLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnIn0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1730202121; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2eMJHLt456vECrCu/l8OxKrENcFTh4cA6cpXQSAO0YE=; b=LG9N2mVREj2xU/47DbXEzCQTWLSc4diLosoB3R2BQy789XlPHGVQCGiOaIHaS3cOjim0LY bO8gC7SnYI2DA/DsCbDDXxdRNDFCs4sSGahf6gSt8DrUgmTKVf7X6S6E0dizwUHAaQ0/2P CPPnuhkmm/1XJL1xc/hzQIY4JMscjwg= Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1730202120; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2eMJHLt456vECrCu/l8OxKrENcFTh4cA6cpXQSAO0YE=; b=gzmY9s0ZFTK2YUCSvJNni/KstZ2hKCsmdBfo3tpRmXWk3IQ2aRl52Z1NJ984GI8Jhufs6b 2ju/VVJ1gaDa5k9gTBe/NzlYxSmxWODHBA63MpS/TSujWjlK28XsxE0uAKc0ZxJTrjv9P9 xvjvY1FLcoMTQXysdIKOzKMJVDZFf5E= From: Juergen Gross To: minios-devel@lists.xenproject.org, xen-devel@lists.xenproject.org Cc: samuel.thibault@ens-lyon.org, Juergen Gross , Natanael Copa Subject: [Mini-OS PATCH] Add missing symbol exports for grub-pv Date: Tue, 29 Oct 2024 12:41:58 +0100 Message-ID: <20241029114158.17231-1-jgross@suse.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.80 X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.com:mid,suse.com:email]; RCVD_TLS_ALL(0.00)[] X-Spam-Flag: NO X-Spam-Level: X-ZohoMail-DKIM: pass (identity @suse.com) (identity @suse.com) X-ZM-MESSAGEID: 1730202206323116600 Content-Type: text/plain; charset="utf-8" Grub-pv needs start_info_union and phys_to_machine_mapping to be accessible. Export both symbols. Fixes: 33411a11f848 ("Mini-OS: hide all symbols not exported via EXPORT_SYM= BOLS()") Reported-by: Natanael Copa Signed-off-by: Juergen Gross Reviewed-by: Samuel Thibault --- arch/x86/mm.c | 1 + arch/x86/setup.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/mm.c b/arch/x86/mm.c index 572e762e..3ba6d917 100644 --- a/arch/x86/mm.c +++ b/arch/x86/mm.c @@ -55,6 +55,7 @@ #endif =20 unsigned long *phys_to_machine_mapping; +EXPORT_SYMBOL(phys_to_machine_mapping); unsigned long mfn_zero; pgentry_t *pt_base; EXPORT_SYMBOL(pt_base); diff --git a/arch/x86/setup.c b/arch/x86/setup.c index b27bbed7..b613083b 100644 --- a/arch/x86/setup.c +++ b/arch/x86/setup.c @@ -41,6 +41,7 @@ * address of the shared_info structure, and things like that. */ union start_info_union start_info_union; +EXPORT_SYMBOL(start_info_union); #endif =20 /* --=20 2.43.0