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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 D1401C43457 for ; Tue, 13 Oct 2020 12:16:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 890B82227E for ; Tue, 13 Oct 2020 12:16:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726476AbgJMMQX (ORCPT ); Tue, 13 Oct 2020 08:16:23 -0400 Received: from foss.arm.com ([217.140.110.172]:59036 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727794AbgJMMQS (ORCPT ); Tue, 13 Oct 2020 08:16:18 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7F9391FB; Tue, 13 Oct 2020 05:16:17 -0700 (PDT) Received: from e107158-lin (unknown [10.1.194.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2F3B43F719; Tue, 13 Oct 2020 05:16:16 -0700 (PDT) Date: Tue, 13 Oct 2020 13:16:13 +0100 From: Qais Yousef To: Marc Zyngier Cc: James Morse , linux-arch@vger.kernel.org, Will Deacon , "Peter Zijlstra (Intel)" , Catalin Marinas , Greg Kroah-Hartman , Linus Torvalds , Morten Rasmussen , linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 1/3] arm64: kvm: Handle Asymmetric AArch32 systems Message-ID: <20201013121613.qd7l5djaguletjgv@e107158-lin> References: <20201008181641.32767-2-qais.yousef@arm.com> <7c058d22dce84ec7636863c1486b11d1@kernel.org> <20201009095857.cq3bmmobxeq3tm5z@e107158-lin.cambridge.arm.com> <63e379d1399b5c898828f6802ce3dca5@kernel.org> <20201009124817.i7u53qrntvu7l5zq@e107158-lin.cambridge.arm.com> <54379ee1-97b1-699b-9500-655164f2e083@arm.com> <8cdbcf81bae94f4b030e2906191d80af@kernel.org> <13eb5d05-9eaf-7640-cd44-cfd7f8820257@arm.com> <20201013115953.gepxn5dbzrk6x6ec@e107158-lin> <20fba6976710e00dc32164bf8af26164@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20fba6976710e00dc32164bf8af26164@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On 10/13/20 13:09, Marc Zyngier wrote: > On 2020-10-13 12:59, Qais Yousef wrote: > > Thanks both. > > > > So using the vcpu->arch.target = -1 is the best way forward. In my > > experiments > > when I did that I considered calling kvm_reset_vcpu() too, does it make > > sense > > to force the reset here too? Or too heavy handed? > > No, userspace should know about it and take action if it wants too. > Trying to fix it behind the scenes is setting expectations, which > I'd really like to avoid. Cool I thought so but I wanted to hear it directly :-) Thanks! -- Qais Yousef