From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43847C433DF for ; Wed, 24 Jun 2020 12:52:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 13B8720663 for ; Wed, 24 Jun 2020 12:52:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LxulAwUu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390775AbgFXMwM (ORCPT ); Wed, 24 Jun 2020 08:52:12 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:55670 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388942AbgFXMwM (ORCPT ); Wed, 24 Jun 2020 08:52:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593003132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QUzO0qEqu9arcmCuZtUfpn6KlJSu5wBZTCa9jOa4Guk=; b=LxulAwUuG0K2lPZuG8sOCRifMSroUmW1ockCXOOFiHMrMCqQb6314nUpWcwDgBwKdtiWdu 47KTr/2Py/SyaLEHMX1+W9OVtjoutS+4joq/+MO0VPzDuBIjDtcsHHzB4R2rMQSwXhrTx3 J9/lqZRw3fOC29AdYlZyhJofsp1CiKM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-278-Pw4DkEHOPyijq7vu6OSxUg-1; Wed, 24 Jun 2020 08:52:07 -0400 X-MC-Unique: Pw4DkEHOPyijq7vu6OSxUg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C6AFD464; Wed, 24 Jun 2020 12:52:06 +0000 (UTC) Received: from thuth.remote.csb (ovpn-114-35.ams2.redhat.com [10.36.114.35]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 18B032B47C; Wed, 24 Jun 2020 12:52:05 +0000 (UTC) Subject: Re: [kvm-unit-tests PATCH] x86: Initialize segment selectors To: Nadav Amit , Paolo Bonzini Cc: kvm@vger.kernel.org References: <20200623084132.36213-1-namit@vmware.com> From: Thomas Huth Message-ID: <40203296-7f31-16c7-bebb-e1f1cd478a19@redhat.com> Date: Wed, 24 Jun 2020 14:52:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200623084132.36213-1-namit@vmware.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 23/06/2020 10.41, Nadav Amit wrote: > Currently, the BSP's segment selectors are not initialized in 32-bit > (cstart.S). As a result the tests implicitly rely on the segment > selector values that are set by the BIOS. If this assumption is not > kept, the task-switch test fails. > > Fix it by initializing them. > > Signed-off-by: Nadav Amit > --- > x86/cstart.S | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) I'm sorry to be the bearer of bad news again, but this commit broke another set of tests in the Travis CI: https://travis-ci.com/github/huth/kvm-unit-tests/jobs/353103187#L796 smptest, smptest3, kvmclock_test, hyperv_synic and hyperv_stimer are failing now in the 32-bit kvm-unit-tests :-( Thomas