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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BFCD1C54EE9 for ; Mon, 19 Sep 2022 09:38:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=O9n7Dujz13YTZjsTONKXGSDGvGsVxD/XCkYeoEJ6VNk=; b=EBAuR18TzvskLf nEKrgDnBjpT/iVD3ux6tZO6vC8ndbVrmrpo71ICw6gafYDUt0E2iuvUirOBjEsu98Zwwa41XXSiIx FZW+cAhVWCDTUf4aQbCh/RsQBkcFbHXzlR0ZN47XBOmCPjoMVtXzMrNkTKvEErRd1at/hkxpWPNCw akWOpPROU7E7eTszttA9THBUnpDznhOB6/JYgipBkpicWEGljkmHjUN25Zhhhzg2D0//bpiEIwWwc qQsr9x8JONoaIRSvfD7ydu4eluhXM+nPDPdqtxdA0f03oaQFB3nalqG/J8I7d4sWjqRUB1xZvWahP HHfRl9e1LF3r62/c986A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaDD8-00AqFv-06; Mon, 19 Sep 2022 09:37:07 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaDCp-00Aq5R-Qi for linux-arm-kernel@lists.infradead.org; Mon, 19 Sep 2022 09:37:02 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DB7C660EA5; Mon, 19 Sep 2022 09:36:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48EC1C433D6; Mon, 19 Sep 2022 09:36:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663580206; bh=gHaHELOcgDC33nJSx8H/UYvtibzcoOuoxqqzCmth6cw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dhGr/CeP7Oh6y7j98PxpsrujeFhZ6MKDylijKD7i1dx6LIBncP5rT+LC/mIdlzwfe SPzFUtuixMiSE31X/B+4fV2CcUkKLOSEaSx3PBN0Klr3b/4g8eQGfylWMlugrXqqLi UAhd4Z9p/xEfeADk4wTKeN5Jid/yBHphOu0wTb4CLF6Op772J2qU6CxYU2yNYT9Lxi Vj6KszWldc0vHsD3kNUCgqdgTxFAW/wDMOuEpAtyttkwBSsEWPBjk3SUjlJfCAMX/E 3mTlcP8U/WXl8r0Il5M5kNjE2rSfLZ7c6W1xgMiwHJ+4h9UHaXGBNbAYKQ99Zlrqka HBbWFQvc1b9Ng== Received: from 185-176-101-241.host.sccbroadband.ie ([185.176.101.241] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oaDCm-00B3zn-0M; Mon, 19 Sep 2022 10:36:44 +0100 Date: Mon, 19 Sep 2022 10:36:43 +0100 Message-ID: <87bkrbln84.wl-maz@kernel.org> From: Marc Zyngier To: Reiji Watanabe Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Alexandru Elisei , Suzuki K Poulose , Paolo Bonzini , Ricardo Koller , Oliver Upton , Jing Zhang , Raghavendra Rao Anata Subject: Re: [PATCH v2 4/4] KVM: arm64: selftests: Add a test case for KVM_GUESTDBG_SINGLESTEP In-Reply-To: <20220917010600.532642-5-reijiw@google.com> References: <20220917010600.532642-1-reijiw@google.com> <20220917010600.532642-5-reijiw@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.176.101.241 X-SA-Exim-Rcpt-To: reijiw@google.com, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, pbonzini@redhat.com, ricarkol@google.com, oliver.upton@linux.dev, jingzhangos@google.com, rananta@google.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220919_023649_720117_B3CA253B X-CRM114-Status: GOOD ( 19.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, 17 Sep 2022 02:06:00 +0100, Reiji Watanabe wrote: > > Add a test case for KVM_GUESTDBG_SINGLESTEP to the debug-exceptions test. > The test enables single-step execution from userspace, and check if the > exit to userspace occurs for each instruction that is stepped. > Set the default number of the test iterations to a number of iterations > sufficient to always reproduce the problem that the previous patch fixes > on an Ampere Altra machine. A possibly more aggressive version of this test would be to force a (short lived) timer to fire on the same CPU, forcing an exit. This should hopefully result in a more predictable way to trigger the issue. But that's a reasonable test as a start. Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel