Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp289263pxb; Thu, 30 Sep 2021 06:12:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNrSZmKXZCTYv8tY2dCxDgDBrGcAvyBs8sBf8GSSwG9Z3OHWwfsWk/gXiW25iHe5oFvVhL X-Received: by 2002:a17:90a:1f05:: with SMTP id u5mr6469354pja.193.1633007540574; Thu, 30 Sep 2021 06:12:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633007540; cv=pass; d=google.com; s=arc-20160816; b=FpUX807ZCp9+gaHrwP5PzFqL+6sN7kOBaS3YRUlb9IxqGGQhzsmyJbMAEMXSXMqOhD n9HieRWFdFsCdpSaOIO/mgRxaS3vYRyMQJ3FJAmk1EuLGRB7L3k0X9wX5CJVYeQQp3zW 7hSlzbQIW4nD49vlFkylWXn/0ttd5DEQWKSd8GAkr+98AjYdOKbGkCApDulbt9qhY88v YTDODmmfMkjvoTqaGZzrO3eyBc0826rkHJtcRLOVIQopF3XkNoaiwhxaCucC6+IcgXKm s65vwh4vJOlLHcs+UOpS7gjhiBqAetrlqnfPa2XCdxGaBLywDIqGwNRKUHDD3pYH78uP KScQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:references :cc:to:from:subject:dkim-signature; bh=kQLmBvAO/NkPEGuiu0F/4ldlzMcypIF4EQud5MBiHsY=; b=tLvsw+X3ZjhEKXM/rhq7AnVA17oR7tSYeNdYDVtiTynahzEQjNkPgELwfGdxj97N+g 10drxBfRiSKb1tphPcqvwlmII0SXLIQrSz59Mdvhns3FRw7sFijsWU0qLtwS5AeW4x2f 8puor1iQknsKI4PVOtXbgA2+xrqSgEKc1t0tlUbg7I7U2eO9TsIvvaGdVdCVOZg78xV8 x3LkiI2lxAYBnDhVIywUYtHh7+YHju92c2A3GmoKev3hGnwDZPLHsDwjjxiOu4dfUely YnoM7SAFSgWfeTKYvMVL1HwnnHeu4Z7eqCnfpOHB2pkZhm7987wF6w147NMyfmVC6gnC fqoQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=mimecast20200619 header.b=KPMhD+ub; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); 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 i62si3595774pfe.48.2021.09.30.06.11.48; Thu, 30 Sep 2021 06:12:20 -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=mimecast20200619 header.b=KPMhD+ub; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); 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 S1350933AbhI3Mio (ORCPT + 99 others); Thu, 30 Sep 2021 08:38:44 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.109.102]:47023 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350660AbhI3Mio (ORCPT ); Thu, 30 Sep 2021 08:38:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1633005420; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kQLmBvAO/NkPEGuiu0F/4ldlzMcypIF4EQud5MBiHsY=; b=KPMhD+ubwGcbeJ0Z2FbrprXjSue7JAAg7cG2m0GyPJ+FF4jtAEloLuVzW74wOw1nzDRigx DrwceYg5vXeKkTYgP8kP9NtGOUyOqdn/xJ6gDJ+hp1RAwwdlQJxRzuWk/1pLLb69h/OX7d Ie6o1qBwoizJS8rH2L8wai7I7wK0/FA= Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2111.outbound.protection.outlook.com [104.47.17.111]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-27-DpP6b-ieMKKti2mFjHTOAQ-1; Thu, 30 Sep 2021 14:36:59 +0200 X-MC-Unique: DpP6b-ieMKKti2mFjHTOAQ-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NLgF1NznO7aBcsrf6Z1TOlaQBeHNNiUvPb2gb58YMwWGMdmcyr53JQqCdpcreZ7Mjb/r45nbJqKRFxjSMVd2QOxHKosrUQFuTwT+EVoUjNVyMS0PnkPMXSesUtCjVATBVJxx7gfyithJ2fp/wuINmACD9+GToLPPAIuYsWgu+3sPgOBFlVp4bumGgND9EYYPXXHC3Omys6Gff0HXtaCoCX+SKwbru80+fbcMq3mUvkBoQn9Nej8YmFuUW14Z/B0hnY52aQZHLj6eH/boVdwg1uuUFBMr0cpLDBtUQwMyzvER+c6XOE9unB1CzuUQ/3nz4fhX/TZCmjUB2N/1dAscrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kQLmBvAO/NkPEGuiu0F/4ldlzMcypIF4EQud5MBiHsY=; b=WjwgnqVCBjNuQzXULQV5ichQfsGruTlopM3javsrTOXEu+Z9uY6ZPwGMPhlLJM5n2tqvRorzSHXGxZXHrF7Nmn25LCE5saLTdE2VldA3Ms6G2pzc8g5xc1HAQu4GnHedfbjHbzblLVVXm3e4zUrPBCsNTEoLjQhYwUTjqyGSIOnDInLJkqiUFfjSnBb1dxe8WxDbOw0iW2y77A4c/R7u8UMeAaKUG5jb66LenCx9nC0isclvQMvtEO7DU2bf0C3LkjqAQ8vaDIIBqAWjUgVLmtgu4B5JCtWGlwGSFt28vfOqvyc3vF7JkDMw8BKeyXO67qz7j/8a+sIDxs/mUnfVng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com; Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by VE1PR04MB6383.eurprd04.prod.outlook.com (2603:10a6:803:11b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13; Thu, 30 Sep 2021 12:36:58 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::4d37:ec64:4e90:b16b]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::4d37:ec64:4e90:b16b%7]) with mapi id 15.20.4566.014; Thu, 30 Sep 2021 12:36:58 +0000 Subject: [PATCH 5/6] xen/x86: there's no highmem anymore in PV mode From: Jan Beulich To: Juergen Gross , Boris Ostrovsky Cc: Stefano Stabellini , lkml , "xen-devel@lists.xenproject.org" References: <022b1a5e-4121-6bae-f07c-4ad5eac12481@suse.com> Message-ID: Date: Thu, 30 Sep 2021 14:36:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <022b1a5e-4121-6bae-f07c-4ad5eac12481@suse.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AS8PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:20b:310::11) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 Received: from [10.156.60.236] (37.24.206.209) by AS8PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:20b:310::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Thu, 30 Sep 2021 12:36:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0612504c-decf-405b-a082-08d9840efe61 X-MS-TrafficTypeDiagnostic: VE1PR04MB6383: X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2449; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R4UcBi46QwQHaVjkTAZQCfIupTQMqrpyBx9n7ju4hxbxhJQkdJVISVHTlCeCjp0PFqqT18cQXi5Br8YkyrctwK6p4eIjkHXb2VeOBBLWk+DVHVtVmUNLSC5t9giu8zkNZkkWUG6JQabWTd804QPntlKBrEba+0qEI9boaajzUrwVXWM+nvk1dYGj/60hq+hhxGN8XnUgbFGEicwvyedCnP+AjMnIiHywhqSBPSfK8HcH77XBaNQrMG/scSsBW7BbTLhr54CLGpqVDPB1khY1bkLtO28R/m8iVrRanDHjeTfGHh13sanFzW/cwvE2XCh+aQM+PqyqefjUBftXJmwQM3ri9hVlwqu4KOPDmQhtspyVl1iK+VB8QuyhsIEE9o91TU43LWh39uVYFaUdFTMg008Q/obFHIqvGpgCaOsJNhZWgCr+hhJAKzx7XlnRm1L/WXQANRPXGfR0s16utEEr95IPWhGB5sxlUOTPgGZ2xBybR3gjKsJ+B1QVciSRCpBZ8Opw+mgBZCltRvCAO3DPEWNjOAhQavCdMXkCdj3mepDdjeLFmwtZB19g5H9gfzKGG9AzEu0pGUOQ2i3nKkC0l19YiQmNDhTQ1BDQtHd4nD7gUBCM5mvmVbWQMFhz6fA/UKzA0KI25SJ76/kk9CxorPwfuHBng3FI5ix6dipLk1iW/OXP8D/gABOvQOINqK48t0OY1fqCKeYPEOo1S9fyQy1/FYGrM6iI7U2aAubCwoI2hx7HxILDmXIiRqZ6dIgy X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(4326008)(2616005)(186003)(956004)(508600001)(31686004)(66946007)(83380400001)(4744005)(8936002)(86362001)(2906002)(31696002)(16576012)(316002)(38100700002)(110136005)(8676002)(36756003)(6486002)(66556008)(66476007)(54906003)(26005)(5660300002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aVNIQVdJUFNvZEhPTE4zZ2Y2U2lwdnh4ampJcHA4ajB3UWtnR2JMR2hOa1FB?= =?utf-8?B?NXVJWDcwQ3pkTXliMU5jdDMyeWtmam8yV2QydHp1bURsWGhvT1cxUW96c2M2?= =?utf-8?B?dUpsKzRJb0lIRzNrSVAyVjYrcnRQSWpabnQ2WU9PMC93TVhnTkFLakdRT2lT?= =?utf-8?B?b3pEcXB5Zm9qN3E1TkV3dklqVnBLWE9QaWhORWh3MmtlbFpSMGhFcFExQTVa?= =?utf-8?B?TFVzOTcvWEJNY29NamRGRy92RXM3MzY3ejk2RWpTUzU0eWNzdC9yL1Ezanov?= =?utf-8?B?bkErZEhvQWR4VndmNlRrZEkySE5mdjZGRVNlTjZ1ZHpUTElIOWdabkRiL004?= =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3BkTTdQcmFJQmQ1?= =?utf-8?B?b0E0MnVLbkVDRSsvV09oTUJVOWQwbFgxRXVUTzhwM1lHQ2xxcTMvQlhaOUdh?= =?utf-8?B?VkIyMkc5V0pjRUkzTkpxd05NUitnTTErTVlyUjVHeDBVZXg4UWZCWGpYRjR1?= =?utf-8?B?bC9oRXQwazZoWXZIOWpJZFRtNTJVK1F0T1djMjg0a2pKZVlzb2QwWDBSMDNJ?= =?utf-8?B?NEFUVmtucVBWTEhPRnJ6eDhhMlJJbDliOXFsZGk3NEh3VVpHcm54eC8vUWhQ?= =?utf-8?B?blNQZWxBWGhHdzZGWlNHb3dyeklhSjkvc1h3MXN2QnFvSEpPdkFrdVFZaFp2?= =?utf-8?B?WElKZzlNN2poT2NSYjUrTW5NdFErSzcvbEZDNjlrTDNqWjlwdkZqZkVkWnZ0?= =?utf-8?B?cWExVlpGS1dxQ2VJWjB1YXVhUUxzTWxxQXc3dEdEUld1cVU3Q01lRHZpZDJi?= =?utf-8?B?TThyV2JoZjlmOU90enhZTEROcTRkTVBTdFczUmsxNVduZ1M5eVNuTG8zN3Ux?= =?utf-8?Q?Jg+1OiP19zLbircV4luKpuR4I3O06jn9mVVG5eH?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0612504c-decf-405b-a082-08d9840efe61 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2021 12:36:58.2824 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lorDMFZEw33I+PbNj/8V+X2Uh+khFHY8f/LF/MBUkcYTQgNai/Ztpy/5HDhjm0hmyow0lZj1JBun0R3ePZGdVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6383 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Considerations for it are a leftover from when 32-bit was still supported. Signed-off-by: Jan Beulich --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c @@ -306,10 +306,6 @@ static void __init xen_update_mem_tables BUG(); } - /* Update kernel mapping, but not for highmem. */ - if (pfn >= PFN_UP(__pa(high_memory - 1))) - return; - if (HYPERVISOR_update_va_mapping((unsigned long)__va(pfn << PAGE_SHIFT), mfn_pte(mfn, PAGE_KERNEL), 0)) { WARN(1, "Failed to update kernel mapping for mfn=%ld pfn=%ld\n",