Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4436128pxf; Tue, 16 Mar 2021 13:28:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySBSbubsSjGcc6S0OQUdy5ozHQdKDEBf40cr45iIqQedCjt5od2MET4doXBcMu8+xtHbLD X-Received: by 2002:a05:6402:4309:: with SMTP id m9mr39443838edc.25.1615926484243; Tue, 16 Mar 2021 13:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615926484; cv=none; d=google.com; s=arc-20160816; b=Fgt/hovJFWIp1oZtM3ZSQZMYKLynmEhs1JMfds/VWx0RTlHC8QfFX2Wt0LA4KAlsl7 qmgDeRWOUnI9V0IkuAlSleIA6oS4JeImdjLEIh6cPNjAftBVmhduKHn3WBbkQoW/8oqJ wWdj6t8V/59T47eXZNAu4rLA9SvTonl2UsSd2a8YvjJ5m1E5EXXtMNz2JanMlWR0zFNz rStTLFL3j6DPit6yQanylo4MQylyIcWX2GwqF7aLmPbGiLtbmTt03QappY69ALx7mLHQ 21XDpPDZsm/MGu//heqDvup7Ivx/MmQ5hOd3down1CvGxb6XZTpWRxVFF6sqfUu0qM9g R4YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=D+lnUGF17rQlXhw8QBdMX+JI6ZG617qDOwzBf0bfAk8=; b=GNXcQ3KuBRX6dZ/L2TE5fBkpMObcL8CIhLm+Jp0+syjsdUbqv9gXDRCfY7Ebz2yylx G+I+oEGa/iCoyhnHUgpJk31yrdhuzmvwmfQkFFtpA6lcAdcryAP24q1vE3ws3wnDzl7v hhZPMWhsTt0dKf2SLINnrolWtDv9/jO31ZXmkdQT1JraknbhokArlh/JH4ghduk1OKyC db0zmU4JCJj8TqXtbLBfTBI3+V0bSxmpKpd3uWlkvRP96EAhO+n10jYyAbyTLzcCXdhI W/rwq6aBSPm0JcaW0xLUtY/hs8/DjwkQCFyCy76iwLymSChPTNOMuspiAzhZ12B9Bs7G zsSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jp24si14868665ejb.512.2021.03.16.13.27.41; Tue, 16 Mar 2021 13:28:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235409AbhCPNoE (ORCPT + 99 others); Tue, 16 Mar 2021 09:44:04 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:13968 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235421AbhCPNoA (ORCPT ); Tue, 16 Mar 2021 09:44:00 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F0Dwq1PWlzrXLl; Tue, 16 Mar 2021 21:42:03 +0800 (CST) Received: from DESKTOP-5IS4806.china.huawei.com (10.174.184.42) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Tue, 16 Mar 2021 21:43:49 +0800 From: Keqian Zhu To: , , , , Will Deacon , Marc Zyngier CC: Catalin Marinas , Mark Rutland , James Morse , Suzuki K Poulose , Julien Thierry , , , , Subject: [RFC PATCH v2 0/2] kvm/arm64: Try stage2 block mapping for host device MMIO Date: Tue, 16 Mar 2021 21:43:36 +0800 Message-ID: <20210316134338.18052-1-zhukeqian1@huawei.com> X-Mailer: git-send-email 2.8.4.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.184.42] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, We have two pathes to build stage2 mapping for MMIO regions. Create time's path and stage2 fault path. Patch#1 removes the creation time's mapping of MMIO regions Patch#2 tries stage2 block mapping for host device MMIO at fault path Thanks, Keqian Keqian Zhu (2): kvm/arm64: Remove the creation time's mapping of MMIO regions kvm/arm64: Try stage2 block mapping for host device MMIO arch/arm64/kvm/mmu.c | 80 +++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 39 deletions(-) -- 2.19.1