From patchwork Mon Aug 24 16:46:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael Kelley (LINUX)" X-Patchwork-Id: 11733805 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45F8514E5 for ; Mon, 24 Aug 2020 17:12:57 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 1F7392063A for ; Mon, 24 Aug 2020 17:12:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LkBUwIty"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="YfKUJ4F4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=microsoft.com header.i=@microsoft.com header.b="dgxFO3qZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F7392063A 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ie0qDxRvWXep0NXlgBkCfB4kZsHUIRA9yxykoj/d5UM=; b=LkBUwItyPPDpJ0++30h/X3MMm eyz5xvA9UkbDRIgPv6RwAOT+x4+K0KNeOBCBVDQKPoAKZhJAHAbPF1kPV6o8qO18BF3nGuwDn0Wq4 IZpr6mr6lpG266sq2U0mhv68D4N9XIuOs3z2SX2Th+RDmkGHHNDpsQd8zWUUshze/y4NvJRqy47Mx mKvZ6DhFrCvSAaEgd3tJ5wmJgnsduMQjodqy0EVUnPgrtpIa6X0HbnSYZLyxj77cEscMi3SFWUh+Q MNvFeZ8v4uotYAuToj4y69LNPSEtU3V8kUWRvj3KPXuhlLkHbFCBkHzCRZCbi8HK36K3rj8Y1QUYy m9cYTqDxg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAFzg-0003he-AJ; Mon, 24 Aug 2020 17:10:52 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAFzc-0003ex-3f for linux-arm-kernel@merlin.infradead.org; Mon, 24 Aug 2020 17:10:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=MIME-Version:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=zEGJ2pGVOoA/475BwOAc1zBZDs85myo5tbrBv9fk6gs=; b=YfKUJ4F4AJRxsGdSauh90Yzexs uaHyydmv4u4as5gooyfa4gvEOZcE/haXZg9wVWqgBSLU+i3ys/1iLtObocLe6uIlxe41DFJPXFMiY jKF8wVqnNxMvGiXbrZ+pcDlhNfz4mKio7kER9flA5R+N0JfpWvQHObuFGhfHFYteY0p6j4g7cEl7i 7Kn8Ez6aUKQHm8M8inTRwbnjmPhIDiDaFUSwltp5t+zRYkfWVx6PiYmsYPHH6n4udMLPhuRfA6ekA Q8T7CK8I13YMnGkmH8CFy8j2H+puuG5sXm1ELqNxrSR/RFMNLwJe6HbdjEHB7tUSqIHE5A9FE5wBD XYDWEsFQ==; Received: from mail-dm6nam12on2128.outbound.protection.outlook.com ([40.107.243.128] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAFe9-0001wk-QK for linux-arm-kernel@lists.infradead.org; Mon, 24 Aug 2020 16:48:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cmh7zPrpkdtYYlbf7EZ2TZykptLuxgUehTkwenJFZGVw/PO8P7lFFjOCpFtXEv4ZY1zO6pTQBoKLT+Z8XcrPgZZhgKJfqIwPL/XoDCtcyChmewoWwaDsBoqSf+ZMpYzmZZA2FVtdngaC9SUAFQS20hZL5V+JZKwWG5UaLxmhKJ4sFHYFnXXd93WFLb2jvnp5aRq1KHxtbk2ooUcHG8sLlIFeMnYN01i7Ke2m+qnMdT5kgxI+VEZA06P6B8qwtQeTGtJH0Gkh0bQq+K9gRy/YP+8rXWw5Kq6JQuEsacScrO7rliRWdpq1VHgTg/E4T0RprTIX7y/juGkexHB+3r1OIw== 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=zEGJ2pGVOoA/475BwOAc1zBZDs85myo5tbrBv9fk6gs=; b=VmYf1PcqSh9FP5C559ZNJVI5gWRxdZIBUt0LxuCVa/1WLVhmYUfjveXaBAKrHPG8u5fnd0dAusInPG9gBltlH8M25rtfdt/MGZh969ZKl5rMVAs22Q7xrmCV/bcRApKbbYTa4qSHEslqvITo2UPwPiIxoSggYUJ2Shyg4scrvqvMIh5TrItTxzcnz0lju7cEeg/I/pA+BZ7p876uGHlvXVq7nXOjLeFPyl0dCMusChfcg5jog7difoBHf+FjJegEOlTWZ60YCS8QH28Hvz7P4nA0BqGRo9uB4C8fPj0KzZCaL0tKlmi27dkxYxdSinj7EMuoknN2do9/Fbyc6Ce1gQ== 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=zEGJ2pGVOoA/475BwOAc1zBZDs85myo5tbrBv9fk6gs=; b=dgxFO3qZBPgZZjoKrqnRciGdmAtMRC05wxJtH9DHVnXdCAcB949fuoFDBrVYRRfIzrt6yaAo1inHz10sxDn0YMKXze0t9qmLbGzFs2TN7SqKzWmUJQCFHbF54a60VDSaMUpiuGjMzyLDqLw4OV4+pkDUgO06TdA7VmepnYDsFEU= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=microsoft.com; Received: from BN8PR21MB1281.namprd21.prod.outlook.com (2603:10b6:408:a2::19) by BN6PR21MB0753.namprd21.prod.outlook.com (2603:10b6:404:9c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.4; Mon, 24 Aug 2020 16:48:03 +0000 Received: from BN8PR21MB1281.namprd21.prod.outlook.com ([fe80::e0c9:2634:6fb1:5615]) by BN8PR21MB1281.namprd21.prod.outlook.com ([fe80::e0c9:2634:6fb1:5615%3]) with mapi id 15.20.3326.012; Mon, 24 Aug 2020 16:48:03 +0000 From: Michael Kelley To: will@kernel.org, ardb@kernel.org, arnd@arndb.de, catalin.marinas@arm.com, mark.rutland@arm.com, maz@kernel.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-efi@vger.kernel.org, linux-arch@vger.kernel.org, wei.liu@kernel.org, vkuznets@redhat.com, kys@microsoft.com Subject: [PATCH v7 09/10] arm64: efi: Export screen_info Date: Mon, 24 Aug 2020 09:46:22 -0700 Message-Id: <1598287583-71762-10-git-send-email-mikelley@microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1598287583-71762-1-git-send-email-mikelley@microsoft.com> References: <1598287583-71762-1-git-send-email-mikelley@microsoft.com> X-ClientProxiedBy: CO2PR04CA0145.namprd04.prod.outlook.com (2603:10b6:104::23) To BN8PR21MB1281.namprd21.prod.outlook.com (2603:10b6:408:a2::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from 255.255.255.255 (255.255.255.255) by CO2PR04CA0145.namprd04.prod.outlook.com (2603:10b6:104::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25 via Frontend Transport; Mon, 24 Aug 2020 16:47:57 +0000 X-Mailer: git-send-email 1.8.3.1 X-Originating-IP: [131.107.159.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b944ed7e-ea53-431e-239d-08d8484d7527 X-MS-TrafficTypeDiagnostic: BN6PR21MB0753: 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-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5eypPP52A/ERruzShY38nJwOGXshoQyh8Jc4vvaZkEItLPdEKiyzPIbzBRK+TO7t4nesnrxq2mlkmY+lKkuZPv5xBqdOPhgsrhvIllh3VBnXRmqm4uEAfmXao7AKbLCnhb4zr3OH+fzTWbton5HZESgoj8TKucWhO0j8+6Pf8LrI+cvh51TWFx3uTzsr2HT6SmicYbbfRb1bnZ0M2Qrz4VWr/CbUKatJ6f2VTbYUtsEOauBfvwbKp46ANTj2tU8djOVkpx0F2p9a/jNjSsk2bwA03aUrH5v+bWdlrjldwb6Re/TVhIqXZnTNJSPwY5dPZpCH8GuxxALBSb7uF6VlJ4gJkdYrex2Hlc5HOvX1Q2WWOrLJs5X4Rv4EgYqEkuDS X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR21MB1281.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(366004)(376002)(396003)(346002)(8676002)(86362001)(2616005)(956004)(2906002)(6486002)(8936002)(52116002)(10290500003)(5660300002)(66946007)(16576012)(66556008)(4326008)(6636002)(316002)(4744005)(36756003)(186003)(82950400001)(478600001)(26005)(6666004)(66476007)(82960400001)(83380400001)(7416002)(921003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: FjG9xMA2M72cJ656kgx19qu0AmSurrEi3ZkaAVZc+o8Vzdgtd4xWEnNDCmr4nxIvVl5SpipqsCfC0DZLAIoB6EroilhaRRNjzuKG7XZacB6zBu4fW+SIN5wjfUTgvNfY78E6i9op/tW+j9BfOYwmR3OnvHzusnCxMpliWkzu3alXlsiImnWtqnbf7yY1wQw8yG+LVxyGLJLhrtumj1vcp/sU0FOJ21vfJJZXM4ect6+J5p6Nk64shZVPlvdDEIWbxKnSsTDJvr8M1tAjabilr6Odiw9fLjxQiAcr4SqmPjTMeQI7w7HI1iyZDpXNSX9wmZY9S80imUWn2+bw1jumZOsXL5dUa12b186VF2UjlTHGw3m1fRDMt9o1cyE3M6qhMwXm5Z8asPdSnrnFKjsNO4qjl4HjPXLu7tQwg8w9mwGPN1ZZ2TPibSCqaVahc7SrmtNKQGZWsv/fwx/I1At1onwk0WmQ0uBKzQkFBd9CkyOF0BiRIc3tKKxUMvHNleAwuXYF573o+VCuGv8YmULi+kx3aaBV5J4w+4hKJl8tg50Ppri923xAue+8N0nJmYvVKGAjplwyfL7HLylygDHxKIewsW6PobOZBdYN6tV1WzA1Vp9tHITotOcqn2P9zKyNHq+m9YbkTIusv8AzN+BkNQ== X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: b944ed7e-ea53-431e-239d-08d8484d7527 X-MS-Exchange-CrossTenant-AuthSource: BN8PR21MB1281.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2020 16:47:59.0084 (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: svTdflFckd3ap9GnsidBAs11dw5dvVb8g2CuGtZcnn7a5A9Gty0n8stKeESmdxVmiZQ7jcGvY3TaX8y/NjwW2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR21MB0753 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200824_174838_028855_DFF1DA2C X-CRM114-Status: GOOD ( 10.54 ) X-Spam-Score: -1.8 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.243.128 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.243.128 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.3 RCVD_ILLEGAL_IP Received: contains illegal IP address -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay -1.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sunilmut@microsoft.com, boqun.feng@gmail.com, mikelley@microsoft.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.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 d0cf596..8ff557a 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) {