Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1288252pxb; Fri, 21 Jan 2022 14:26:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/C4WobTAFMUIGVFvIUldK4WXPRUet1G0u11eszebUhQNNg9CHMRIkek8tGqD+jkBeQA2k X-Received: by 2002:a17:902:c406:b0:14a:52e4:3e5e with SMTP id k6-20020a170902c40600b0014a52e43e5emr5901788plk.4.1642804003997; Fri, 21 Jan 2022 14:26:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642804003; cv=none; d=google.com; s=arc-20160816; b=ThvRadxFNAvvXxoGG7CtwndadAEjtCYfELgSztdFHIHXwtB7RwkgdsQ66QLcBZxAIB DUr2NianxLtDJ+4JfprELWPL20M+C6JkuSNK3W9eDVa/OAfvqI93ICNJehKWeX578KAR +T2yiUbsXbv6iIlvEc4oEMT35y9p2eZHtkMbR6DT+H5KAStv9j1O316j+Puv7UgchhPU VMYnuL9gazjS0RV5+SjWNMUkCzXWte+qAdWgL6y50RIAiEGcuCBkTa2dBmoVF9AbRRZj 0CBLKbW0cmTZyZE7Mb7sC24+o78SWOtcLc2gVbxEbiRZHwAepvTeLhfjo41RcYJBjlPa LRcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=itZYF4kduuCL3uDid4zM5TZEvDzEk2ZCskJ3bklCOp8=; b=JvXpNzDm6aZe2CuvIMeahuVYYMYsGKYpB/H6vl2tb0f6hhNeZvuPljBOOm8ObtdGEF eQos7YbH4BIPJbfXjPjCfeqx2tNu+GMaZcw6/J1lkyTGNpyqOIJm+kgdH/UAUynQ/x8W EPRknF79UuKJJfUoZrbEFFcei+XUnxpq88GBUev7gUtC429csAviVk82eL0++msvHgA8 c+Rk3mQzGdo9sVdzty1QOaq06pWCIkjTFfqXNLSA44lOut2E/bUT+tn1hlTxz3LSUM5M /VUMVSbYYkviNZ+dfUtScl4t/Xce/ZdeOpbwaQay2cPyI7JJRZZI4wH1GkqMhuDDuowb tUog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=LKQ1zDYP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z17si8417379plg.253.2022.01.21.14.26.30; Fri, 21 Jan 2022 14:26:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=LKQ1zDYP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377289AbiATRRy (ORCPT + 99 others); Thu, 20 Jan 2022 12:17:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243820AbiATRRx (ORCPT ); Thu, 20 Jan 2022 12:17:53 -0500 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C28DC061574 for ; Thu, 20 Jan 2022 09:17:53 -0800 (PST) Received: by mail-pg1-x52d.google.com with SMTP id f8so5848246pgf.8 for ; Thu, 20 Jan 2022 09:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=itZYF4kduuCL3uDid4zM5TZEvDzEk2ZCskJ3bklCOp8=; b=LKQ1zDYPDSWBGKGDo5GbHqAT8/+6t5G4H9Hz1UVPjamPQwy02QR1wuW6kIfsDlwyCM v7mOFDIWlCYwZPOC1ZqNR0bWw8LodLvLtYvOYlf+6BoH8PhhphhBkEe3gWBLr/dEKCit V8WX+LyzL4QTyqRFung+MQyjN0pk3u5UDB6TOlRY5u5Qa3HRyFqxMt3tKrON4H89hdxa 1acQHvFM9+x4pqH9Uhb0PElMOn9VIoviZ9/bjI83cm5vGoLiNGyTc/LtaZqh29O9w6P6 l0C1OGAZo3KoGqAI7syomsn+3yYD1onNOI/5EZdT0r4x4Q6fxh1eJeBoGR1JhLpRd/4U dIZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=itZYF4kduuCL3uDid4zM5TZEvDzEk2ZCskJ3bklCOp8=; b=sReT216nYQgVdutBAmMY9ry6ovTZxKWrX4ok7EScpovCuzc6Bt+KtzwLWhSZgcMlU8 /51ES7v2Q6ynCBLeJvVDAN/31Xob599/E2+1qEWM0B4W6GZ7G1Ya4w++mhAgEZsqSQ7+ H1O10UfzU+Byr7HXvqKEB8shrxZQnm2W2BvBH5bxlBfiSvzvT3ObrYtz/mlu7rQn48fo vLCjjCPs1aT6nQwPulhEayG8hizv7D4zhmeifh3xRDechwYQQq3lOUhuigVt0E/qfEjp O0tHyaTwzRZjc5UzsGk1M+pDuAFdvEYqGgTQ4pQSY0l5hGRLM5x43oTxDTUyWyr2Asep TYbQ== X-Gm-Message-State: AOAM532t5JlYXzUH20yI5d//sWwI9xI4Upvz/8fCe4heHn+huPtDpsKQ 1CL61MEPG5i2oFTd9Cgvvbf8OC9am4d1Cw== X-Received: by 2002:aa7:8642:0:b0:4be:9b5a:d4db with SMTP id a2-20020aa78642000000b004be9b5ad4dbmr36804055pfo.64.1642699072713; Thu, 20 Jan 2022 09:17:52 -0800 (PST) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id u20sm3967354pfi.96.2022.01.20.09.17.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 09:17:52 -0800 (PST) Date: Thu, 20 Jan 2022 17:17:48 +0000 From: Sean Christopherson To: Mark Rutland Cc: Paolo Bonzini , linux-kernel@vger.kernel.org, aleksandar.qemu.devel@gmail.com, alexandru.elisei@arm.com, anup.patel@wdc.com, aou@eecs.berkeley.edu, atish.patra@wdc.com, borntraeger@linux.ibm.com, bp@alien8.de, catalin.marinas@arm.com, chenhuacai@kernel.org, dave.hansen@linux.intel.com, frankja@linux.ibm.com, frederic@kernel.org, gor@linux.ibm.com, hca@linux.ibm.com, james.morse@arm.com, jmattson@google.com, joro@8bytes.org, luto@kernel.org, maz@kernel.org, mingo@redhat.com, mpe@ellerman.id.au, nsaenzju@redhat.com, palmer@dabbelt.com, paulmck@kernel.org, paul.walmsley@sifive.com, peterz@infradead.org, suzuki.poulose@arm.com, svens@linux.ibm.com, tglx@linutronix.de, tsbogend@alpha.franken.de, vkuznets@redhat.com, wanpengli@tencent.com, will@kernel.org Subject: Re: [PATCH v2 4/7] kvm/mips: rework guest entry logic Message-ID: References: <20220119105854.3160683-1-mark.rutland@arm.com> <20220119105854.3160683-5-mark.rutland@arm.com> <20220120164455.GA15464@C02TD0UTHF1T.local> <20220120171551.GB15464@C02TD0UTHF1T.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220120171551.GB15464@C02TD0UTHF1T.local> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 20, 2022, Mark Rutland wrote: > Longer-term MIPS should move to a loop like everyone else has: > > for (;;) { > status = kvm_mips_enter_exit_vcpu(); > > if (handle_exit(status)) > break; > > ... > } > > ... which is far easier to manage. I don't suppose we can just remove MIPS "support"? And PPC while we're at it? :-D