From patchwork Wed Mar 14 18:19:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 131723 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp160818ljb; Wed, 14 Mar 2018 11:26:35 -0700 (PDT) X-Google-Smtp-Source: AG47ELtMT82YsVJGufYRgYUgR6Nfqm3A+TlajA46kWUI9g/cmMPkLaH9w3RVNUxMMjz4MSb8lJDh X-Received: by 10.107.137.98 with SMTP id l95mr5963051iod.179.1521051995784; Wed, 14 Mar 2018 11:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521051995; cv=none; d=google.com; s=arc-20160816; b=FrZYU/QBdvcxEL22uxgf0wCTQ4U+RuzU6H5bS5CS5LwbTTncZJQZ4HFekXNMZX6ych A76iRcNGJb96QEkB0VQc30Y9ehq69SB6VQQA8ly2rMYaJlVFgfgQEJc97Aae1prMxRAu UF2isr5yYGxpgPtuptUZKmUhqM4yXBwi71azd2MohQFv03h9nAnd0qzm83OHABxsp+dg qQBY9CajXYUBGGpcVTaf5f80ukkD+KU+3E82VIpBRaJrRxiFt+cFlRHLTHYjvrjXujs8 r+jUFRtTEtiJov6QPLmFu0kZgRZi0lkTYjt5KRYk9S3LiUWdH/4P37uWV3lbU1pbswLS 5jZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:references:in-reply-to:message-id:date:to :from:arc-authentication-results; bh=ZCCkLbCiLG/Odp4FrhNlUGzf6hLEkbHj0cAB+XJr8rE=; b=psDepfatip9HzvMF4ihtJWBTS5ZDYorUDnNXk5v+pZgHp14Ff4ISycy4rHbDG4/gNq VLh2Pd3tnXNFWpzHzPIiqCG6Qz6b+reXN6tMRyZNhZk5oCwS+mXcscuHtIs9bixELPwM jXFd/0Tz+koJhztJE2z5IV/Qa3CgCIWWHWTDeWgJsBg9SDGhWJ0Kis7lalSnMAjdBhdk O6gWVoD72Hmw1PgzUXH4db8+jSx3DjhlL6Ejs9p6ey3eqI7kDv4g4g9uSvd0tptkEI2e bGxT5sL1Grk79CPiOO9zIBBb/bS/bio+YUM06jpukHmaPMW3zCIkAXtf0V2vf6SSXTgV fvLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id k128-v6si1189836ith.170.2018.03.14.11.26.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 11:26:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewB5D-0000VW-OK; Wed, 14 Mar 2018 18:25:03 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewB5C-0000Uq-LH for xen-devel@lists.xen.org; Wed, 14 Mar 2018 18:25:02 +0000 X-Inumbo-ID: 6068f3c4-27b4-11e8-8248-2fda3a446a53 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas1.inumbo.com (Halon) with ESMTP id 6068f3c4-27b4-11e8-8248-2fda3a446a53; Wed, 14 Mar 2018 18:20:30 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B9A3A164F; Wed, 14 Mar 2018 11:20:22 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.206.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F232F3F53D; Wed, 14 Mar 2018 11:20:21 -0700 (PDT) From: julien.grall@arm.com To: xen-devel@lists.xen.org Date: Wed, 14 Mar 2018 18:19:58 +0000 Message-Id: <20180314182009.14274-6-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180314182009.14274-1-julien.grall@arm.com> References: <20180314182009.14274-1-julien.grall@arm.com> Cc: Julien Grall , Stefano Stabellini Subject: [Xen-devel] [PATCH v5 05/16] xen/arm: mm: Remove unused relinquish_shared_pages X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Julien Grall relinquish_shared_pages is never called on Arm. Signed-off-by: Julien Grall Reviewed-by: George Dunlap --- Cc: Stefano Stabellini Changes in v4: - Patch added --- xen/include/asm-arm/mm.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h index c03f4ad674..7678e29c15 100644 --- a/xen/include/asm-arm/mm.h +++ b/xen/include/asm-arm/mm.h @@ -321,10 +321,6 @@ struct page_info *get_page_from_gva(struct vcpu *v, vaddr_t va, unsigned long flags); static inline void put_gfn(struct domain *d, unsigned long gfn) {} -static inline int relinquish_shared_pages(struct domain *d) -{ - return 0; -} #define INVALID_M2P_ENTRY (~0UL) #define SHARED_M2P_ENTRY (~0UL - 1UL)