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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04DA0ECAAD3 for ; Mon, 19 Sep 2022 21:19:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229871AbiISVTR (ORCPT ); Mon, 19 Sep 2022 17:19:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbiISVTP (ORCPT ); Mon, 19 Sep 2022 17:19:15 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70B264BD3D; Mon, 19 Sep 2022 14:19:14 -0700 (PDT) Date: Mon, 19 Sep 2022 21:19:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1663622352; 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: in-reply-to:in-reply-to:references:references; bh=KOa7RfxYYgHiq7yCA5x6/8LBJiE9QBC8S2OyUS+ssZQ=; b=Qt9vt8/+rK6k9/Msyc/qYKFAzIvpE6FJI4zFWpI31/59Cnz+lQ/OVF8orhX42YvHW8e6g5 Yn8n3QFaPHINo9W7YXvNghu0mFHFqNEExoL0MFFX5SAwDZTGwnLyFINsMSZITfG3j/HRlt AuvIwhe+msav6DtlSu+I1KRsyJQEm/M= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Sean Christopherson Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Jones , Anup Patel , Atish Patra , Christian Borntraeger , Janosch Frank , Claudio Imbrenda Subject: Re: [PATCH 3/5] KVM: selftests: Remove unnecessary register shuffling in fix_hypercall_test Message-ID: References: <20220908233134.3523339-1-seanjc@google.com> <20220908233134.3523339-4-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220908233134.3523339-4-seanjc@google.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, Sep 08, 2022 at 11:31:32PM +0000, Sean Christopherson wrote: > Use input constraints to load RAX and RBX when testing that KVM correctly > does/doesn't patch the "wrong" hypercall. There's no need to manually > load RAX and RBX, and no reason to clobber them either (KVM is not > supposed to modify anything other than RAX). Too much time on 'the other architecture' where we don't have input constraints to load named registers per-se :) > Signed-off-by: Sean Christopherson Reviewed-by: Oliver Upton -- Thanks, Oliver