From patchwork Thu Jul 23 11:02:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 11680611 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 9E3FD13B4 for ; Thu, 23 Jul 2020 11:04:10 +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 75D5B2080D for ; Thu, 23 Jul 2020 11:04:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GTzPSyY+"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="1XgwXX1k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 75D5B2080D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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: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:In-Reply-To:References:List-Owner; bh=xmDJkd4Iizu0vstchC/FmB4bo/GD0NrgaONIUmDXppY=; b=GTzPSyY+nRczLXY92g5uMm4Ozj xG0Ro7nLCDlrg/c986uFMtkw9ciZ7NKHlt5QhhSvSf7b7Rlp1P/kg//TEqgFTX/7xS6oXpsa2HCbA vzGo3q0zgLdu4VMb3HdiAts/Yw3W5NxHAmjcu1giXhQ/QpbJs5FdIsJc0VdcRvmQ2XoZOfUVC4IYV dQ7IFcEYIYf4oMmaU7C8kc8qlrUFp/8/euQ2+IFLM2h247scf5+F0qmRR9xK6Q0zVUIYVamrHt+1L Whh4+9Z8iGwnRAwxs2TWEywAE3DFgsR6sV2GxADakF4EqCwsdqXN5K8isqh8PjHx0xZ6EIwKm0sDd jbEdpHvg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyYzw-0004aM-Iq; Thu, 23 Jul 2020 11:02:48 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyYzu-0004Zi-MH for linux-arm-kernel@lists.infradead.org; Thu, 23 Jul 2020 11:02:47 +0000 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 910B42080D; Thu, 23 Jul 2020 11:02:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595502165; bh=7BS3tGlUSdMKnll9WlvmP5t8lhtC1LVjE2eQrR2WVKk=; h=From:To:Cc:Subject:Date:From; b=1XgwXX1ksp94++hKQkvh1//ockWr1w0JQf31mqbNyL/M86H2yvLh5VP6631zafeMy ybtKuXJxj12Lr+9wVRVuC1ySJhYGD+n4T71DGqonR7M8BUTK+1XGes0K8XkFI92orh EfAcsV+ccqA+eWvCvAIi74rkckjH81Vqb9b80R5U= From: Will Deacon To: kvmarm@lists.cs.columbia.edu Subject: [PATCH 0/3] KVM: arm64: Clean up memcache usage for page-table pages Date: Thu, 23 Jul 2020 12:02:24 +0100 Message-Id: <20200723110227.16001-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200723_070246_830753_F18729B1 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.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: Will Deacon , suzuki.poulose@arm.com, maz@kernel.org, qperret@google.com, james.morse@arm.com, kernel-team@android.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi all, Here are some small cleanups I made to the memcache logic while hacking on the page-table code. The ioremap() behaviour looks like a bug to me, although it's just a performance thing so nothing urgent. Cheers, Will --->8 Will Deacon (3): KVM: arm64: Don't free memcache pages in kvm_phys_addr_ioremap() KVM: arm64: Simplify mmu_topup_memory_cache() KVM: arm64: Remove mmu_free_memory_cache() arch/arm64/kvm/mmu.c | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-)