From patchwork Thu Dec 7 17:19:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 121033 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8631200qgn; Thu, 7 Dec 2017 09:21:35 -0800 (PST) X-Google-Smtp-Source: AGs4zMZi7SO/4Y8/bTUUTQwNLnLuDHjA0bdVjL407a7tIt2XCwr+zYtOcyigilINHqdTTfCV+tXK X-Received: by 10.107.136.167 with SMTP id s39mr37357389ioi.169.1512667295293; Thu, 07 Dec 2017 09:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512667295; cv=none; d=google.com; s=arc-20160816; b=r9cUukP4qad/UafM+E4r201fGBwutOk3tdCa9LkCv5rk3N4D9sM3Kd3hco79RhbTDW 16mnx5ejZpx35vN8iwcRwHlZHXhOHcLbCHOD1xafVhR0jg1nqVExK2YtIMlVr9v6f8VW hdJHkKdMQSLa37wqI/m135PaVcf5xtZOHSxXPEpPinkrDKjOGE9aZnit/Q999QrQBsQy SxTFWIHmeeRq1E90EH5JviWcM53IplAw7Sh03G/0giVuxuyOFo5umPW5FSRzhd4GeA53 6cu6yLlmR58syB3qmeoguy1mR8TcnjnK64dDiKmfvs67Mo/C4f2+wfUSxcv9BAtdfvcJ lP+Q== 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:message-id:date:to:from:dkim-signature :arc-authentication-results; bh=1/PJtU6InWUk24irTmZto9fmAG+eha4rP4+BrLdh8sM=; b=nBcMpjpj91tp/T51BoNRWijZyr+GUerDUUrfMNBZTR6MrOJoCMrH1Xjte+qW2n8eQt xi1tWFgYzS3Qsp+LXBh6zgeB6y8P3kcK+6IfQs9EGz53afRDrGMM1oJ82ieLs2fJTGR8 DWbkRWQwJrx7vV7UVmda+vt4cpICVAtHWbU+xs0jhjuuX0/M/zi2X9QEWzwROIClmMX6 O6W+4ur4Y53O5pfVXuGArP/yPDqaJMC7Z8aXHCjarHgklfdO1FyXCZTUdBdslL6P8slf pjjHmFACjzU83CxyqL0PpRHC/HIVE9mKU4NPiVQ5erJjxdGNWzWMlZm39Tn9vnh67UFq fzAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z70yCbgF; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id i190si4053896itg.66.2017.12.07.09.21.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 09:21:35 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z70yCbgF; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.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 1eMzpO-000830-3y; Thu, 07 Dec 2017 17:19:18 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMzpM-00082s-Vh for xen-devel@lists.xen.org; Thu, 07 Dec 2017 17:19:17 +0000 X-Inumbo-ID: b21157b3-db72-11e7-b4a6-bc764e045a96 Received: from mail-wm0-x243.google.com (unknown [2a00:1450:400c:c09::243]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id b21157b3-db72-11e7-b4a6-bc764e045a96; Thu, 07 Dec 2017 18:18:52 +0100 (CET) Received: by mail-wm0-x243.google.com with SMTP id b76so14306043wmg.1 for ; Thu, 07 Dec 2017 09:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ypYiuZcmTU6ZkhNdktuLie8fiHJs2aMxHrXd+NT9kas=; b=Z70yCbgF7sHvvb5NImI3SJXkvP14oYmcnEhzkWGhcyJfbWEQueydpJQ1H0mX0Ni5Ni ININcrYDDdrftAbUabOHQhLkxaYWUEQb0UMXvrBvJRfcqCdJ7CKf9gYkODYrHCj9alJk wo3ewWEh6RkqmGqYItzgNf0whITFVoI6Y8Syc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ypYiuZcmTU6ZkhNdktuLie8fiHJs2aMxHrXd+NT9kas=; b=eiUY2KDbSqffjFVa50SWWWSgJyAJEKVMjUhL1tDR9p2nfUD1JDqZ+xRmV9schNux5n QUWSboWvzVjJLL8rq3T0vbSF4Hj5edVnwcTv3DaA7cBLWl9LAXFG/lu8cPydHlQwg27X Km2a8DCCPboAViOzhkzttAYZF+BbLErNI8aV/TmVcTHFYUvueACC0UX5ySAUYoFGdHLZ kpXS7GqYbcrp80jxAgEh3V7ZOJ5UtOr4eLEBi8XhJaHnTZfbFg6tq8FcfMbYYpEzThT7 bdRzQGs/yEq5XYg1JgwK9jHAc8+aMudyIROvtLdhSCSYt0dBj0dhHXZEL+QGEDJOcgN/ SwCQ== X-Gm-Message-State: AKGB3mL6/oben8VmkEQWkfREMLotMwGZKDUrwgOVyI908WRS8TbRIkCq wYwrlkP3shGg78ibXTm8991LpUQbeI8= X-Received: by 10.28.54.207 with SMTP id y76mr1912207wmh.94.1512667154729; Thu, 07 Dec 2017 09:19:14 -0800 (PST) Received: from e108454-lin.cambridge.arm.com ([2001:41d0:1:6c23::1]) by smtp.gmail.com with ESMTPSA id 30sm5868459wrl.22.2017.12.07.09.19.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 09:19:14 -0800 (PST) From: Julien Grall To: xen-devel@lists.xen.org Date: Thu, 7 Dec 2017 17:19:11 +0000 Message-Id: <20171207171911.9504-1-julien.grall@linaro.org> X-Mailer: git-send-email 2.11.0 Cc: sstabellini@kernel.org, Julien Grall , andre.przywara@linaro.org Subject: [Xen-devel] [PATCH] xen/arm: Remove unused fixmap slots 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" There are quite a few fixmap slots that have not been used for a while. Remove them. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- xen/include/asm-arm/config.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index 45f472f2fd..cdae8f64ff 100644 --- a/xen/include/asm-arm/config.h +++ b/xen/include/asm-arm/config.h @@ -172,13 +172,8 @@ /* Fixmap slots */ #define FIXMAP_CONSOLE 0 /* The primary UART */ -#define FIXMAP_PT 1 /* Temporary mappings of pagetable pages */ -#define FIXMAP_MISC 2 /* Ephemeral mappings of hardware */ -#define FIXMAP_GICD 3 /* Interrupt controller: distributor registers */ -#define FIXMAP_GICC1 4 /* Interrupt controller: CPU registers (first page) */ -#define FIXMAP_GICC2 5 /* Interrupt controller: CPU registers (second page) */ -#define FIXMAP_GICH 6 /* Interrupt controller: virtual interface control registers */ -#define FIXMAP_ACPI_BEGIN 7 /* Start mappings of ACPI tables */ +#define FIXMAP_MISC 1 /* Ephemeral mappings of hardware */ +#define FIXMAP_ACPI_BEGIN 2 /* Start mappings of ACPI tables */ #define FIXMAP_ACPI_END (FIXMAP_ACPI_BEGIN + NUM_FIXMAP_ACPI_PAGES - 1) /* End mappings of ACPI tables */ #define PAGE_SHIFT 12