Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1835802pxa; Sun, 2 Aug 2020 23:33:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwXxSJyOqyDRQ/0NlCUedzKXTMtieDMBrCjhLM2bJFAqa+LjGuIfb+gipHnLD2EIQQpWnl X-Received: by 2002:a17:906:b59:: with SMTP id v25mr14944476ejg.436.1596436381632; Sun, 02 Aug 2020 23:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596436381; cv=none; d=google.com; s=arc-20160816; b=F7qvSJxDHhQwAWSMi2hmhfZ5TFrLYX0sBXfAH1GgrQuZfju/kdCTnQOGC3P5ppyvIb Y39NOwdXojygEyFZ0s0JEg8LzgSJnWJCTJq0B6CsfnFUcWQr4sZwHJzH7gL73ICYQm4D ZKb3kycX4xoK6M/r9sQf2xBJvfAkq8eytklSObL1oOPNRyBXsg2TrxgpWi4K2jN5o2sG 4KLf2MW3PFenc4NrF/miESUbQC8aLuXq5D75yoZbIf6kXsmltohn+xcapZlUOq4PTG6i ZJrmxjW/rkVFSBM372qkdEnlJKdAmiU226lZ8aRB6QcFSr9OPw5aIneaI3UE6YPb5vvH OftQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=BpYf/rYRwSoazjESib40z8abHI/hlD2yRwqqwnH8gzE=; b=fJjnrcdTdFwRWJyIXar1CsjAv263Y09CF1o1FR/nzgNAA6R3dX5JjszfVP/vfUZLoT TYQLT0RUiqNs5obX0HkYy7/qp2vVV8Bg+8Ze5uimNvcW060mBx8GUsCwUAiPIW45MZo6 HJ4T9zVJNAzQRjGNl+CNOujAP6nfsknqXerC68rvki3PMH1XlRtcCeZnOs3Kz+T+QUIa +ZJDDUBRFG5iRxLLX8jD4uc+3cXBq3wfgdrw4FnIzXwyKZYNxejjJxshA5Mxjsqdagnc lmOw1VeX1RF0i1+QfJgoDDFifeAfMEVQUT/qtxz3N0vp1Kl8pJ5hUzY5/C6s/vbIYKVG 1wEg== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si8733229ejs.198.2020.08.02.23.32.39; Sun, 02 Aug 2020 23:33:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727121AbgHCGTQ (ORCPT + 99 others); Mon, 3 Aug 2020 02:19:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:60868 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbgHCGTQ (ORCPT ); Mon, 3 Aug 2020 02:19:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 4A084AF38; Mon, 3 Aug 2020 06:19:30 +0000 (UTC) Subject: Re: [PATCH v3 3/4] Revert "xen/balloon: Fix crash when ballooning on x86 32 bit PAE" To: Roger Pau Monne , linux-kernel@vger.kernel.org Cc: Boris Ostrovsky , Stefano Stabellini , xen-devel@lists.xenproject.org References: <20200727091342.52325-1-roger.pau@citrix.com> <20200727091342.52325-4-roger.pau@citrix.com> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: Date: Mon, 3 Aug 2020 08:19:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200727091342.52325-4-roger.pau@citrix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27.07.20 11:13, Roger Pau Monne wrote: > This reverts commit dfd74a1edfaba5864276a2859190a8d242d18952. > > This has been fixed by commit dca4436d1cf9e0d237c which added the out > of bounds check to __add_memory, so that trying to add blocks past > MAX_PHYSMEM_BITS will fail. > > Note the check in the Xen balloon driver was bogus anyway, as it > checked the start address of the resource, but it should instead test > the end address to assert the whole resource falls below > MAX_PHYSMEM_BITS. > > Signed-off-by: Roger Pau Monné > Reviewed-by: Juergen Gross Pushed to: xen/tip.git for-linus-5.9 Juergen