From patchwork Tue Jul 20 14:57:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael Kelley (LINUX)" X-Patchwork-Id: 12388483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48787C07E9B for ; Tue, 20 Jul 2021 15:01:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 14AB1610CC for ; Tue, 20 Jul 2021 15:01:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14AB1610CC Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=microsoft.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4NcOoPpZ0PQG+fxqBqj0/A71Y0TMmye0DSnJ+9nkP1A=; b=dEf1OxTfKsQq5h SufnwfIPhhbFMzWdRofXc8ZdudCmD79E9IuOc1XSNSldKJz6pV1E/1Ou8vNiRmx5O+DLTGDSlCBiX Wkh6MCOKIgvNtqrzylRVpfupbGothzGSAAhuu6T2SQP7eI+f9ZmLyBAsMATsXI2BRJT5yvAnsLO3L FV+vm5cEaDD9UdY/HVtFBo5HvM90+gqEt5dESppRan86MZ6imOTjHZZTrF70rYaszwk5dvoBZKhg3 JV5hTlRdG6CsjC5tyI0qac7FpR5tnGM0ZZFIHmyi1Vs73i0uBTNHj6DfFYiVLTVKmHP+3LMkItUCC jhjVm8TRmy8PqYJagWqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5rCi-00DItn-Cu; Tue, 20 Jul 2021 14:58:41 +0000 Received: from mail-dm3nam07on2129.outbound.protection.outlook.com ([40.107.95.129] helo=NAM02-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5rBd-00DIXK-S8 for linux-arm-kernel@lists.infradead.org; Tue, 20 Jul 2021 14:57:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nbgJiCE7HU//XoLTdsPR2cNCetlAIr5CKF2s/LH2beAPKGa8dU0oIAKAIMkehAwFWiokI1QM7JhLWTv6q3LeJO8DoGzp5jQJj9JRVUR6G8qYa2gTWpkiLM7lkRdYW4W2U2vngBMIMsIrkd7WzF/pJGqa4D3bsT382nAu55jd3UEZt8TOQda8m5zD2P1yEaIJYyM/zvKyd2PCAGXp5aHL7GRkEIQeCZDMSMKbRH7WKM176YizTgMe7tPR/UMDDSi4R0lu5aG/qix+4fwERJYWt09+lBNQpwVUh3op7oWyB/YHqwUlHW4VOKPbDjulX4VtB1Jz7OF4aRkSR7n4Lg/l5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pSKE7KsZhel89WAklbG+zH0DgO9IbVC7ODkZQ2KYEmI=; b=GDXO9P1UKDF22Hu+oIUL4TFxLAvRfSsPEZAPiFMMp+pUE0aqMTRzunNDd8UvnJSBg7MRNIClnR95k6hPiaVyaGslKU8nBP80wp4h0T1w14ygOq9c1qXhv5mJS5iqX0k1DW1g/jp5rQMhw5Qw9lkAHZUV0SXFRgjxGyDmj7pfxKcUwRM63azudjZaRTDMKi/3GORJWIWyh88YURTqK1gpX6fXMG5Iih9wDhYCJDpQQB/DysHMqSWXFJ1O3YMS0vKFHxQwqbyyd/fnwETYOTc1yP4UAZhomtl46VptCzhTShcmd84C++hCIgu1pRLG/27lRd/P+0ggubsuQcPPiBVrKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pSKE7KsZhel89WAklbG+zH0DgO9IbVC7ODkZQ2KYEmI=; b=Vig4/rQdUXx53t34qmoOt8Mb9pX/d/0jYrBGgbJhJvfcqocp0qIG9IOqY8PXsM2JOZExLcg99U7C9A4q42Bf++tuy7WUsRvfZ6Al7nCTJJV71lg6+R5Y4JRpa8r00edIV8UU58zjhJX/jorj3HSSr4wH/6Be6GQ6R3mGEyJhmLA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; Received: from DM6PR21MB1514.namprd21.prod.outlook.com (2603:10b6:5:22d::11) by DM5PR2101MB0981.namprd21.prod.outlook.com (2603:10b6:4:a8::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.4; Tue, 20 Jul 2021 14:57:26 +0000 Received: from DM6PR21MB1514.namprd21.prod.outlook.com ([fe80::3505:fa47:39d0:6dc5]) by DM6PR21MB1514.namprd21.prod.outlook.com ([fe80::3505:fa47:39d0:6dc5%9]) with mapi id 15.20.4373.005; Tue, 20 Jul 2021 14:57:26 +0000 From: Michael Kelley To: will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-efi@vger.kernel.org, wei.liu@kernel.org, kys@microsoft.com, sthemmin@microsoft.com, ardb@kernel.org Cc: mikelley@microsoft.com Subject: [PATCH v11 4/5] arm64: efi: Export screen_info Date: Tue, 20 Jul 2021 07:57:02 -0700 Message-Id: <1626793023-13830-5-git-send-email-mikelley@microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1626793023-13830-1-git-send-email-mikelley@microsoft.com> References: <1626793023-13830-1-git-send-email-mikelley@microsoft.com> X-ClientProxiedBy: MWHPR07CA0023.namprd07.prod.outlook.com (2603:10b6:300:116::33) To DM6PR21MB1514.namprd21.prod.outlook.com (2603:10b6:5:22d::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mhkdev.corp.microsoft.com (167.220.2.16) by MWHPR07CA0023.namprd07.prod.outlook.com (2603:10b6:300:116::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Tue, 20 Jul 2021 14:57:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b101a304-ee10-450d-0461-08d94b8eb022 X-MS-TrafficTypeDiagnostic: DM5PR2101MB0981: X-MS-Exchange-Transport-Forked: True X-LD-Processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o++JZ8PyuVEZo0u2gABep08UbPY1OOqGJ0BslIsBop7VhXRm0YBUrwG/cqCv0aMw6kjAMxEORjp8RWMd/rlZKsiQu3PwDHJIYX8LD1lhx2fTPQdLJF08jeGl7Z9dtvQBzN0PhS2XaE0cSU5WjGYYHhzBFm1K3qeDQgA3/uszweE1n1mieysjuVpwLUTFkwnEWAVO46lLKUSCxaNm+X4wGPxnbGMhRf+r1igQSXdfOwmWtkJWEg0XQYhbod2yumFyyiMNufwrtW/NWP0WWfoWLBLKb5Sx+cUF+ve4MD4hBNpXS1wbE2MQnlfEWVDQcoepmUDOmSecURrxl5ML/3OPsHwyudL0RZw+gAnPaF+79eMIBOtOS9hiTkW2ai5KXs+MyFvh8IqRzr/h0KV5OQmWGRa5sEStmAhCvzfs2tZ+dB5I51U4Rgny0ZDI2o1gMo+70RdhSEjClLK1QjiJNMNwTw8+8JeGhDSHHYeGZ/ptsgv9EPdm1jpCcrltN7kXIGc9I7gV/4MquAjsVWWqqW9fBwoXcq5qgSr6mDC3KbAH5mYs37kvvzYqLG8R1NUukOZy3HTqssK/cwer2qglPR0DTtkIGmXGomPg93j3fThU9JE54jFFta6SRReoe9Vw0+yTzJEOM50+r3essfKeBQEmkm35gidTr7SPEkiLDPF51Z+odNapVIH4x41NWDXBU+A83Y24bPZcV+vr8jtkHTArxT3r7PKqIKn8j399Ot+t8T0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR21MB1514.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(83380400001)(26005)(6666004)(36756003)(508600001)(956004)(10290500003)(66476007)(5660300002)(38350700002)(4326008)(8676002)(38100700002)(66946007)(2616005)(82950400001)(186003)(52116002)(7696005)(107886003)(6486002)(8936002)(82960400001)(4744005)(316002)(921005)(66556008)(86362001)(2906002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /kFzve2X3W3orUMoFqKTYzQz1TCuc2HIT1RVyT+MZZ/WkN1S3Emu7EniEk5cmOp1hWmxr6YSohZGSmQdLM/2KYPdV5EVYEdtGXSNnX9vrSeGGnghbVm8K7Idf6nvrG+30UnWNPNc7x9EwLbdD0//LRREIWeulli0bY/dYMSo+u9+y41oboyS6xt8kMhwWirHEmLUnMLsJyt0GzeuH5Qz02xaEdsQZ4fYG1DgWzFhjuVIOHcbtNobNECUGayEjtwr0ODKsOC3H15j1V1DwD8p/tTezJPmNn5/jcEgz+A5ddMWt4HGuEfOhCV5ZJHxMDQRXbDqR8KwmRr0N4KeuFsW3bJvE+w1xD5eldCqo4aGrc2+eB5aiOf25nGHSMlaPgLgTC5hVVKjdgupNJdTxIEjPM40nf6zqvaJj099Kpze/0v8im/ZSpCMIDLVCxuEF6CaG8HmFNrTGSd12EA3hIACP7QLSaygEeWZ2p/9/KmcYziwFz8/dMb3IriTIR9Jm0e5Fc4FSgiAJu6YrVBhJ7icQJcUVJrZBzDkJN/wsF09dqhEZa2PEbqGA9lwCvf1MzRLUew7NcxXuKD/7fr6/Rk1pN2vdzcjI6u1wjtpM2pF0HnOOlqQPem4NOExm3R4NwxNPrU0e7d21sJt2E8PVngTf+28TPj7Nbi9iryYKy/Bw8dwhzX3C05crnBrBcNK+2sGsciQTr3VogKuWaZiRPCqmqcDHDCxJ2eV99Ml0dxHpn4xdKe5M05CcpwYlX+S/InSzO+aKLsAg1DUzrZtvIWcLpwwTJS7h3Ml7NqSMs3jDQmfvG7RqJLPMKbzNulNxhDKV4ehNJ2LafvbuzrObU7t+rFh6Iq+82K64snc3zKDpRP0cI5aD5wLA90u7HRphobTLLKzMhBVEYvluAOWyUrM38ncdDIe4LbSbKzdnnMymu/taNnqhiIpSh2OFl6hX9eto68mN/C9ovB5mtr2llzz7r62W5YWBEaHR25w0AwCNLpY1yJSQf2+WnQvq03QAHzLx0Hw0W0vxhBAz6l2VJiP3pHUmliePznss6+K2wDzFUhxI4+v6IWuHejGXAKOEFC2jUImMofGXDkd5W3cK/n+NNRdWRQ44jnoDlpgjInehujfc5+UIXUS9HK4puxBM13irctQMO+tSDVtRY9OsNOL4OqGiXdfeOqMIIj7ei2FBwehHQE9MuzcKAuniTUURhEekv7k/cpEFq7W8zB9VndhB1+/KgVFaqUUH1F9X75aVg4MIrMNyBPeVE0j47mMPw3usZDUoXzzKstcBJhJslAntpckyKzxwR+5LXW2QOB8ZrPFalbbkgxmyvmMw/jwqfZN X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: b101a304-ee10-450d-0461-08d94b8eb022 X-MS-Exchange-CrossTenant-AuthSource: DM6PR21MB1514.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2021 14:57:26.3438 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: x9WUHnXrSSIzIWHCmzUgSr7BhRwQejQMsQXHNmYua/NkMqLxMDxlubzaOv0b7POZ+roK1/vQC342+9ERHGZNSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0981 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210720_075733_937937_71644F52 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Hyper-V frame buffer driver may be built as a module, and it needs access to screen_info. So export screen_info. Signed-off-by: Michael Kelley Acked-by: Ard Biesheuvel --- arch/arm64/kernel/efi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c index fa02efb..e1be6c4 100644 --- a/arch/arm64/kernel/efi.c +++ b/arch/arm64/kernel/efi.c @@ -55,6 +55,7 @@ static __init pteval_t create_mapping_protection(efi_memory_desc_t *md) /* we will fill this structure from the stub, so don't put it in .bss */ struct screen_info screen_info __section(".data"); +EXPORT_SYMBOL(screen_info); int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md) {