From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH kvm-unit-tests] x86: clean up GDTs Date: Wed, 14 Jun 2017 20:52:35 +0200 Message-ID: <20170614185234.GA2224@potion> References: <20170607121912.13595-1-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37438 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbdFNSwi (ORCPT ); Wed, 14 Jun 2017 14:52:38 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DE80EC0587D6 for ; Wed, 14 Jun 2017 18:52:37 +0000 (UTC) Content-Disposition: inline In-Reply-To: <20170607121912.13595-1-pbonzini@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 2017-06-07 14:19+0200, Paolo Bonzini: > - Add a 16-bit code and data segment to cstart.S. > - Move ring 3 segment descriptors at the end of the GDT, and lay them out > as required by syscall/sysret in cstart64.S. > - Only define TSS_INTR for 32-bit, and place it where cstart64.S puts the > 32-bit ring 0 segment. > - Document that the same data segment can be used for 32 and 64-bit code. > - Mark all descriptors as accessed. > > Signed-off-by: Paolo Bonzini > --- Applied, thanks.