From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 17 Jan 2017 17:23:43 +0100 (CET) Received: from localhost.localdomain ([127.0.0.1]:35310 "EHLO linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S23993893AbdAQQXgGCVhY (ORCPT ); Tue, 17 Jan 2017 17:23:36 +0100 Received: from h7.dl5rb.org.uk (localhost [127.0.0.1]) by h7.dl5rb.org.uk (8.15.2/8.14.8) with ESMTP id v0HGNTwL029330; Tue, 17 Jan 2017 17:23:29 +0100 Received: (from ralf@localhost) by h7.dl5rb.org.uk (8.15.2/8.15.2/Submit) id v0HGNTe4029329; Tue, 17 Jan 2017 17:23:29 +0100 Date: Tue, 17 Jan 2017 17:23:29 +0100 From: Ralf Baechle To: James Hogan Cc: linux-mips@linux-mips.org, linux-mm@kvack.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , kvm@vger.kernel.org Subject: Re: [PATCH 1/30] mm: Export init_mm for MIPS KVM use of pgd_alloc() Message-ID: <20170117162329.GC24215@linux-mips.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 56359 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Fri, Jan 06, 2017 at 01:32:33AM +0000, James Hogan wrote: > Export the init_mm symbol to GPL modules so that MIPS KVM can use > pgd_alloc() to create GVA page directory tables for trap & emulate mode, > which runs guest code in user mode. On MIPS pgd_alloc() is implemented > inline and refers to init_mm in order to copy kernel address space > mappings into the new page directory. Ackedy-by: Ralf Baechle Ralf