From patchwork Tue Sep 27 18:05:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 77063 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp18407qgf; Tue, 27 Sep 2016 11:11:33 -0700 (PDT) X-Received: by 10.98.200.206 with SMTP id i75mr49880115pfk.172.1474999893533; Tue, 27 Sep 2016 11:11:33 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id xp2si3680621pab.175.2016.09.27.11.11.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Sep 2016 11:11:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bowph-0000hh-0h; Tue, 27 Sep 2016 18:10:21 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bowlj-0005P9-1n for linux-arm-kernel@lists.infradead.org; Tue, 27 Sep 2016 18:06:19 +0000 Received: by mail-wm0-x22e.google.com with SMTP id b130so27051615wmc.0 for ; Tue, 27 Sep 2016 11:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MJaPjmz6cJnDj9LYnDCNBo0Ap39sLIz3wY6MbzsFH+A=; b=hKBAzh/Ce8CbnAonVuDcEgITFPG66RNvFMYPrqqINpyx1nbsbSpiLG59JR9KzaKoED Rq+ffNFI8H7hVLI+7iftAM8LFj0E6OYHhpDoVHcJIR7NWAHkZqz0nhyUScP5o+j41c9X /TvJmBWH6w+MhMsoyHMeL56ruZ01V2TMZjJMM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MJaPjmz6cJnDj9LYnDCNBo0Ap39sLIz3wY6MbzsFH+A=; b=jK6+RP8bb6n+CNFsfleuhHAE35FpDGZlIhkz5AwRzfG3o5znRwmzswWq+qytYxOf7L gatmE+S/zpORXLZaNU5l7pkjassp+gCGAlyd+pmX976tFYoWWq/fhQhO90c+nbKWruzp H6c16+UMZ9F+mphtLJs3tYFVUjVtR5p+34Klu0Ll7EcjKyU/HeJmOyS1n4vMl8eTOSyO UxonVDTpFwEUTd4i89Xs4oyYR+nhopXvpksFQjZbsBPyHxA66bKF3VkAnlETup7yos7g gtHAyAJ2sk2fQWJbuVZMNfHu6EPXuHD54mMg1jj6+afNjGDyCvX0bu06eqEYjx+NbtxU bmHw== X-Gm-Message-State: AA6/9RkHulz43gaKY/ZaJ3sGbwpcjxJSMZYH9WCiCzcd6EOFkST2Cq1YRs8dn/7PVwl7yhwR X-Received: by 10.28.20.12 with SMTP id 12mr4367954wmu.78.1474999553245; Tue, 27 Sep 2016 11:05:53 -0700 (PDT) Received: from localhost.localdomain ([94.18.191.146]) by smtp.gmail.com with ESMTPSA id k2sm17932539wmg.23.2016.09.27.11.05.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Sep 2016 11:05:52 -0700 (PDT) From: Christoffer Dall To: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Subject: [PULL 07/50] arm64/kvm: remove unused stub functions Date: Tue, 27 Sep 2016 20:05:15 +0200 Message-Id: <20160927180558.14699-8-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160927180558.14699-1-christoffer.dall@linaro.org> References: <20160927180558.14699-1-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160927_110615_447084_AC8DCE79 X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:22e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , kvm@vger.kernel.org, Marc Zyngier , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, Christoffer Dall MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org From: Mark Rutland Now that 32-bit KVM no longer performs cache maintenance for page table updates, we no longer need empty stubs for arm64. Remove them. Signed-off-by: Mark Rutland Cc: Christoffer Dall Cc: Marc Zyngier Cc: kvmarm@lists.cs.columbia.edu Signed-off-by: Christoffer Dall --- arch/arm64/include/asm/kvm_mmu.h | 6 ------ 1 file changed, 6 deletions(-) -- 2.9.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm64/include/asm/kvm_mmu.h b/arch/arm64/include/asm/kvm_mmu.h index b6bb834..8f99ab6 100644 --- a/arch/arm64/include/asm/kvm_mmu.h +++ b/arch/arm64/include/asm/kvm_mmu.h @@ -166,12 +166,6 @@ void kvm_clear_hyp_idmap(void); #define kvm_set_pte(ptep, pte) set_pte(ptep, pte) #define kvm_set_pmd(pmdp, pmd) set_pmd(pmdp, pmd) -static inline void kvm_clean_pgd(pgd_t *pgd) {} -static inline void kvm_clean_pmd(pmd_t *pmd) {} -static inline void kvm_clean_pmd_entry(pmd_t *pmd) {} -static inline void kvm_clean_pte(pte_t *pte) {} -static inline void kvm_clean_pte_entry(pte_t *pte) {} - static inline pte_t kvm_s2pte_mkwrite(pte_t pte) { pte_val(pte) |= PTE_S2_RDWR;