Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3554687ybh; Tue, 17 Mar 2020 02:14:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtyjtNk4fs6Noe/Mb+m85fplscL0pjDaYNp5Q407Jmdf8pB03nmsTc86I3imUeAuvst4pcJ X-Received: by 2002:a9d:4c98:: with SMTP id m24mr2994321otf.158.1584436472238; Tue, 17 Mar 2020 02:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584436472; cv=none; d=google.com; s=arc-20160816; b=dz6p6LzqgNv6Uv3d6iAXNSoTcn3eA+uoUk4n9uyYZFRE5wB35KbbnXH2XYCggjCkqG bdMzh8cjOWISHD1xKysjnOxifyDc2wfNzd8e8uZgoibFXO13iQ5rT0iiYuVda2KqZLDj vJhdpUo8+XaiYD7pT4y3A6UoYtl3UXFtellqUFoKINiLFey9RCaSZgXFyy2sOWdq9Woz W8iTVSVWkX9NQo3kMjq5sqlyW131rpWtXzCJDAPEhdDmsCivw70KXT3a1+lX1SGXtAEk 3ouE3wBrN47YeRhgCv6G50ICnikLKVZmF60P+QWgYinclbEAWyWgZo14dlAOil0xwB9P KL8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=s5D0/X/UohmK+wLSKFvwLKEVmPm3ZmCXqouXHbp76ms=; b=jnsOZrS8eflyg6AsVGwufxJ0yfYqkY0v529zz4Z0hayBk5oMJX52s7gLDDWpGyUZri fNQXdBxLUzMi3dUuMj8pslmIPkJNHhG20mOg9O0KIvPZ6ZfaQec6XQiHqJM3aWxCROKt lVkq70EALlea6CDrr+eouWn2CjspE4IG8DWiZKS/mPVTLqmkPeql412cL7R9tZg9wJ7j ZiNstHlBEfaIA5zGc+CIRRZGZhq87BKLQHnA8aZe8/w/J8XT6SVp35yuYzy5DLbLNAet E2ohSO92JsULd4mXmMPRrfilfbbWujC3maYJmOs/lXMneXRkcmsfx6ggekqklHJslRx1 E6KA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 38si1511367otm.189.2020.03.17.02.14.20; Tue, 17 Mar 2020 02:14:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725995AbgCQJOB (ORCPT + 99 others); Tue, 17 Mar 2020 05:14:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:54498 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgCQJOB (ORCPT ); Tue, 17 Mar 2020 05:14:01 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0D09CAB7F; Tue, 17 Mar 2020 09:13:59 +0000 (UTC) Date: Tue, 17 Mar 2020 10:13:57 +0100 (CET) From: Miroslav Benes To: Boris Ostrovsky cc: jgross@suse.com, sstabellini@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, jpoimboe@redhat.com, x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, jslaby@suse.cz Subject: Re: [PATCH 1/2] x86/xen: Make the boot CPU idle task reliable In-Reply-To: <1b98d601-d9d9-879c-918c-737830d80ac5@oracle.com> Message-ID: References: <20200312142007.11488-1-mbenes@suse.cz> <20200312142007.11488-2-mbenes@suse.cz> <1b98d601-d9d9-879c-918c-737830d80ac5@oracle.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Mar 2020, Boris Ostrovsky wrote: > > > On 3/12/20 10:20 AM, Miroslav Benes wrote: > > --- a/arch/x86/xen/xen-head.S > > +++ b/arch/x86/xen/xen-head.S > > @@ -35,7 +35,7 @@ SYM_CODE_START(startup_xen) > > rep __ASM_SIZE(stos) > > > > mov %_ASM_SI, xen_start_info > > - mov $init_thread_union+THREAD_SIZE, %_ASM_SP > > + mov $init_thread_union+THREAD_SIZE-SIZEOF_PTREGS, %_ASM_SP > > This is initial_stack, isn't it? It is. I'll change it. Thanks Miroslav