Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1317833pxb; Thu, 28 Oct 2021 01:15:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzw9kHR4BZPDME0civ/GSCUqktA/H1lVQ4Jvnx6qo73Rkbk9pNBKs36dZ+9FIm+WNvR0Ox X-Received: by 2002:a17:902:a70a:b0:140:44f9:6d75 with SMTP id w10-20020a170902a70a00b0014044f96d75mr2539575plq.58.1635408913698; Thu, 28 Oct 2021 01:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635408913; cv=none; d=google.com; s=arc-20160816; b=qmDA4Y780txmMU1E+tyRcUHinAQ49cNY+nAUJVs9gSabYkELL4WNb2Prn04ev1Xg8y JnHcLs9kzLVH8CDkYqPhwdo4EFSskao3sW+S8eVgRDrtW2OzCFJFD8r+v3/SY+Nfr5Te ojjGbAS415ZBrmdrPJFzHG0/Qf+CCCK3jPME7jD4VWP6jaY569FrYuZCyPI5p8/jFSqK q1Afo+N/rb2HaYMgGgDbqI7aY2a6f0Mjk0fl2cLG0RWlV80eQjtNdp5dLO0VeubXCPzc 8ikNwk6swvHwQWFYAsLDXsIOFjTV7WsInPoeT4dduJuEZiihZpqWn2xMfbvX97L9h+cF gKAA== 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=Xwab1206kf6LPwimd9DqBNkl2HPMyacCxBPHJc6oauA=; b=N0OAAxDGrSXpI7uwMUGsqXuWVCt7FW29oWMhTgaLQ90zJDG5iC0CB2gtzdt3jQJ13h cahw5r005fT8H4CwlkuT2CE6SqEhH7ImqCQviNSsI5LAp+lgRj5A1xEuNpsUb6P4ytYG v8qDxxm1mJhBm8Bq1geFZPEoiyT2+pdp3QKpVNEhZYPaKCqxFLSYCIavZ3y7MAewCY/E Z8F/EHTqSgJDXzhIQ2VZJAJ/DYU7sV2r0O5BDMXmkOSBeJjQ3b1gVDvC6dc10TSnt2fv hAzq38nJlsWNra1+OnzvT8N33Ocr2bRlAZ5dbIr447C4IoUq+uG7hh9vJmCBomidGlsE yeEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=lXctq1nT; 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 w184si2815946pgd.186.2021.10.28.01.15.01; Thu, 28 Oct 2021 01:15:13 -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=lXctq1nT; 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 S230153AbhJ1IPD (ORCPT + 99 others); Thu, 28 Oct 2021 04:15:03 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:40236 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230061AbhJ1IOw (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 533B81FD50; 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=Xwab1206kf6LPwimd9DqBNkl2HPMyacCxBPHJc6oauA=; b=lXctq1nTr/IrpFNo9dzqTLg+Mk1DHZaLUAO1sv3bfQ2soI/KtJHeCVSpvwoaVFIthWU0W7 JK3fBD95T9sTH3Cj0cGhOQFvUtMTlplsFlS4HSWyMKrCHMfX6hpvgOsajs2KiFqgr1ce3n S/YBqk6nsSp6iJ9uuY1NpttjHYqYmSc= 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 0D7CE13B7D; Thu, 28 Oct 2021 08:12:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6B8ZAmlbemE/MQAAMHmgww (envelope-from ); Thu, 28 Oct 2021 08:12:25 +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 4/4] x86/xen: remove 32-bit awareness from startup_xen Date: Thu, 28 Oct 2021 10:12:21 +0200 Message-Id: <20211028081221.2475-5-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 startup_xen is still 32-bit aware, even if no longer needed. Replace the register macros by the 64-bit register names for making it more readable. Signed-off-by: Juergen Gross --- arch/x86/xen/xen-head.S | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/xen/xen-head.S b/arch/x86/xen/xen-head.S index cb6538ae2fe0..38b0a3226c95 100644 --- a/arch/x86/xen/xen-head.S +++ b/arch/x86/xen/xen-head.S @@ -28,13 +28,13 @@ SYM_CODE_START(startup_xen) /* Clear .bss */ xor %eax,%eax - mov $__bss_start, %_ASM_DI - mov $__bss_stop, %_ASM_CX - sub %_ASM_DI, %_ASM_CX - shr $__ASM_SEL(2, 3), %_ASM_CX - rep __ASM_SIZE(stos) + mov $__bss_start, %rdi + mov $__bss_stop, %rcx + sub %rdi, %rcx + shr $3, %rcx + rep stosq - mov %_ASM_SI, xen_start_info + mov %rsi, xen_start_info mov initial_stack(%rip), %rsp /* Set up %gs. -- 2.26.2