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 Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 32B61C77B73 for ; Fri, 26 May 2023 14:08:16 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id E22F73CD180 for ; Fri, 26 May 2023 16:08:13 +0200 (CEST) Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [IPv6:2001:4b78:1:20::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 1ADA33C995F for ; Fri, 26 May 2023 16:08:02 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 38C7E6010F5 for ; Fri, 26 May 2023 16:08:01 +0200 (CEST) Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (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 20B8A1FD76; Fri, 26 May 2023 14:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1685110081; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CjBpSx4JpVO9gqYeqF3TPc+4IaY/zPuNd5eyF9uHPaE=; b=MmCUjnTb/PfNyYOYvO0Vc7wiKK1ZWVUpp/gVNvyBL/SMX+eyQvERFl8ZD4MZPJc30MzzIF f1dBiPPj+O6lHEiuqblIk3iePPC29Yh3ynj8Ct4pr3GAI505bS8YErjJ4pCoUi0P0N2pOD AuQALA+OmSPxtSKe0GEzobcUwt+CXxo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1685110081; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CjBpSx4JpVO9gqYeqF3TPc+4IaY/zPuNd5eyF9uHPaE=; b=xs54p9MELugW2dtcEbXKCzYmU5dy5eeAsOBJN9kauJtHDWNC8Nhru/QebcvrWwFMLrytPH O0w+cV7wa42R4UCw== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (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 imap1.suse-dmz.suse.de (Postfix) with ESMTPS id E5126134AB; Fri, 26 May 2023 14:08:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id PS3uNUC9cGTNcwAAGKfGzw (envelope-from ); Fri, 26 May 2023 14:08:00 +0000 Date: Fri, 26 May 2023 16:07:59 +0200 From: Petr Vorel To: Martin Doucha Message-ID: <20230526140759.GA805411@pevik> References: <20230526133435.7369-1-mdoucha@suse.cz> <20230526133435.7369-3-mdoucha@suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230526133435.7369-3-mdoucha@suse.cz> X-Virus-Scanned: clamav-milter 1.0.1 at in-2.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH v2 2/7] Add test for CVE 2021-3656 X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Petr Vorel Cc: Nicolai Stange , ltp@lists.linux.it Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hi Martin, ... > --- /dev/null > +++ b/testcases/kernel/kvm/kvm_svm02.c ... > +/* Load FS, GS, TR and LDTR state from vmsave_buf */ > +static int guest_vmload(void) > +{ > + asm ( > + "vmload\n" Unfortunately, it fails on Debian oldstable [1]. kvm_svm02.c:37:3: error: too few operands for instruction "vmload\n" ^ :1:2: note: instantiated into assembly here vmload ^ kvm_svm02.c:48:3: error: too few operands for instruction "vmsave\n" ^ :1:2: note: instantiated into assembly here vmsave ^ 2 errors generated. make[3]: *** [/__w/ltp/ltp/testcases/kernel/kvm/Makefile:63: kvm_svm02-payload.o] Error 1 I wonder if there is an easy fix or reasonable simple way how to detect unsupported toolchain. Kind regards, Petr [1] https://github.com/pevik/ltp/actions/runs/5091551272/jobs/9151721119 -- Mailing list info: https://lists.linux.it/listinfo/ltp