Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1317258pxb; Thu, 28 Oct 2021 01:14:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7Yb3eQ3gcWKI2Xhc6Bo7R0LZCzk9U/79bvhc2YlC697Daz5hs0w/Yrjz3JdjWHaxlzuuL X-Received: by 2002:a17:90b:1c0a:: with SMTP id oc10mr11270538pjb.67.1635408864290; Thu, 28 Oct 2021 01:14:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635408864; cv=none; d=google.com; s=arc-20160816; b=ECq99+WI7pW+oJxJRsk9BXy2bYzXbdG90+B/1iI9pzwhLL8A0cnNLj4ldNWPlDfBQk Kc6QSsk4idACKqeJMtkDCYRkAsy4bEVcr6/4J/m1XRfd3k51stHApHwaNUlGf6LvNBeE KY4yjdyi/stI1mqdoe+Bx+0eHtpcivgh77FMQQDeWCzFd9EzvlOhyIZVrMqJ219f0xvv R/Zvx6LE4cgfkydChxWKGGb4NWQUkbbF1c5GfOYxVD+bHmFYK5QaboyPi/GNFs5h3/G8 s7ElTCO6K3CbOF2SYYtDa2kqX8Ua6KcvjeUC0LWBRWSxYI6ftwfcB4cTfMWvuYaM7JkE SNMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dqnayNM2vGd2Nrg8Q8qI72d6PyZbBY3HiH0gFXYcd+Y=; b=bQrf5+tLaP24UvnN55JQHHga8lcfEh3PFMtaLbdpwwx/273kXpFQru3ZluBYhCP8gV b/OH3asxC27cEweUbDtK/sLnrgbAVEDxlEmel9zCi8fHe7P8OtVCczf8EkJIEdpFrY0e VXwVib6WY5spzu7ltvYd3jmOQX61ksWd9Oir+Nj7PeLmMSZLTnv64OvRYQLoJfFKGTsZ X8IDTIw1TbjhYsgjwm09LHBZrF2ELblm4ywRtpdG9c9ydJMtsvnX3/3bJQsGWdQ3/UpA MdQUyX9NnDtL1v9kGImeszyoWCf4KYFxjKQNBFOSK6jIQUNdOn86W8NHUGK3hREpQckT 3tzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=BXb9x2kW; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d23si2503983pgv.55.2021.10.28.01.14.10; Thu, 28 Oct 2021 01:14:24 -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; dkim=pass header.i=@suse.com header.s=susede1 header.b=BXb9x2kW; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230179AbhJ1IPB (ORCPT + 99 others); Thu, 28 Oct 2021 04:15:01 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:40214 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbhJ1IOw (ORCPT ); Thu, 28 Oct 2021 04:14:52 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 07CF41FD4F; Thu, 28 Oct 2021 08:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1635408745; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dqnayNM2vGd2Nrg8Q8qI72d6PyZbBY3HiH0gFXYcd+Y=; b=BXb9x2kWX32ZD+ibkO+u1SI6k7/MiU42TziCvwCnK6bY2CW2BUuJTmX90k2dYpTMlzNZz/ 7i6vxJGKz8/7y1Hwj4C5OncMAvmb+xf06mYWq6vciW1LQPlr0Eic5whbcU6Kl6gEERsQQ4 YOp9GpFxlPrjYfE4Z+5OPdo6fsWubzg= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B678814083; Thu, 28 Oct 2021 08:12:24 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id CK1RK2hbemE/MQAAMHmgww (envelope-from ); Thu, 28 Oct 2021 08:12:24 +0000 From: Juergen Gross To: xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Boris Ostrovsky , Stefano Stabellini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Subject: [PATCH 3/4] xen: remove highmem remnants Date: Thu, 28 Oct 2021 10:12:20 +0200 Message-Id: <20211028081221.2475-4-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211028081221.2475-1-jgross@suse.com> References: <20211028081221.2475-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are some references to highmem left in Xen pv specific code which can be removed. Signed-off-by: Juergen Gross --- arch/x86/xen/enlighten_pv.c | 7 ------- arch/x86/xen/mmu_pv.c | 1 - 2 files changed, 8 deletions(-) diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c index a7b7d674f500..fe19a398bc00 100644 --- a/arch/x86/xen/enlighten_pv.c +++ b/arch/x86/xen/enlighten_pv.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include @@ -1245,12 +1244,6 @@ asmlinkage __visible void __init xen_start_kernel(void) __supported_pte_mask &= ~_PAGE_GLOBAL; __default_kernel_pte_mask &= ~_PAGE_GLOBAL; - /* - * Prevent page tables from being allocated in highmem, even - * if CONFIG_HIGHPTE is enabled. - */ - __userpte_alloc_gfp &= ~__GFP_HIGHMEM; - /* Get mfn list */ xen_build_dynamic_phys_to_machine(); diff --git a/arch/x86/xen/mmu_pv.c b/arch/x86/xen/mmu_pv.c index 3359c23573c5..793870fb942a 100644 --- a/arch/x86/xen/mmu_pv.c +++ b/arch/x86/xen/mmu_pv.c @@ -41,7 +41,6 @@ * Jeremy Fitzhardinge , XenSource Inc, 2007 */ #include -#include #include #include #include -- 2.26.2