Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4969629iog; Wed, 22 Jun 2022 09:15:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vgK8Tfb/5x5JHRswcbMrL/N4KyS/ll3rPdtOSZu5WPik3glBZjFmBX6Fszza/SpHaI4Z29 X-Received: by 2002:aa7:82ca:0:b0:51b:cf43:d00a with SMTP id f10-20020aa782ca000000b0051bcf43d00amr36405813pfn.58.1655914555511; Wed, 22 Jun 2022 09:15:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655914555; cv=none; d=google.com; s=arc-20160816; b=axOO17BDnvdXS/0WdGiguxNI98DwjSfslwJOAJOQl/Xc2Ag1lVF2obHGJH8OlNYeF0 3H6SA1CVR51Eypn0bElh6Yls/XCRgeHx3YGxLny6nimrlJjD+y8BeKwPbVOvj3JOTSwB 2GWjzOHTRHDeteREO4sfj5nSuepB9U5QusAxI1AXm7Gkx4t5h8NW1QieNUn86ZxZm8H+ msX2UTvNtlzjgogYz8C6X/llXFVRGxKtU8KiPLSqR965wZlTa0yRQEWfyDL1uh18yFuD p+YmCahZ1kd9yUkIUw0GTEThf88+QpD+867yd0MYqH+6GZ/16t8ETzw4sNvzaZtboIQj 0GBg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=dLNCSuzgjE1irfejW+XQU6PJClEFaQlN1EssbDqEWZE=; b=Sl8rwLBASBFknxLFkM6WABkT/gEqtW8upDNwuXsjCyqqzJ5/uQ53InIOiwzDinjNwL ZFmgkr9pKIdKiDMtfv6SpnBrGMTZAaV/aWBKamynmUwJK/c8KoUKKR4SGPH2AZydCMUr wGGO/O82MkZ/SgCEbRd+NT+sPRo+n9KuVFMQ5zw4PAgLKMP8ykOahx9RrzTuZCHaUSjJ fTFmVwCmIH4N0lAzAwQgoVCbLVT6fIRaH/rwVx+0V/Wm8ZKEhUArx6oS+lvyTyb3GJX4 AbDT7Z0zZ5VPelKZqaAFW8iJLOweBHO42DCmLE4wFyV9+TDnt4rNf6UxF7F+geDSSR25 LIEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ddEJwwo5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020a17090a6b0300b001ecc09d84bbsi7539292pjj.102.2022.06.22.09.15.43; Wed, 22 Jun 2022 09:15:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ddEJwwo5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359157AbiFVQKz (ORCPT + 99 others); Wed, 22 Jun 2022 12:10:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359220AbiFVQKx (ORCPT ); Wed, 22 Jun 2022 12:10:53 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADAE33C71A for ; Wed, 22 Jun 2022 09:10:52 -0700 (PDT) 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-out1.suse.de (Postfix) with ESMTPS id 66ACA21B8F; Wed, 22 Jun 2022 16:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1655914251; 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; bh=dLNCSuzgjE1irfejW+XQU6PJClEFaQlN1EssbDqEWZE=; b=ddEJwwo53MebTNELEsUYrQtqkyRVDUa9qirmRSQ4fMI0zQojNEw4VWpDeZecZb11hNRvVz szP8D2+RV5mAugoe6drgBCliA41Ra1zyUftEEF/LYW/i4DzLfS4ALbuxif7BKRZDyEAV/S QNKJCamoAb+V8Y0uQ/67w9VaTL3WuBU= 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 1187E134A9; Wed, 22 Jun 2022 16:10:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FVLyAgs/s2JzCwAAMHmgww (envelope-from ); Wed, 22 Jun 2022 16:10:51 +0000 From: Juergen Gross To: xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Boris Ostrovsky Subject: [PATCH 0/2] x86: fix brk area initialization Date: Wed, 22 Jun 2022 18:10:46 +0200 Message-Id: <20220622161048.4483-1-jgross@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The brk area needs to be zeroed initially, like the .bss section. Juergen Gross (2): x86/xen: use clear_bss() for Xen PV guests x86: fix setup of brk area arch/x86/include/asm/setup.h | 3 +++ arch/x86/kernel/head64.c | 4 +++- arch/x86/xen/enlighten_pv.c | 8 ++++++-- arch/x86/xen/xen-head.S | 10 +--------- 4 files changed, 13 insertions(+), 12 deletions(-) -- 2.35.3