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 59ED7C433FE for ; Thu, 20 Oct 2022 19:11:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbiJTTLX (ORCPT ); Thu, 20 Oct 2022 15:11:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiJTTLU (ORCPT ); Thu, 20 Oct 2022 15:11:20 -0400 Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 869691F9A20 for ; Thu, 20 Oct 2022 12:11:19 -0700 (PDT) Date: Thu, 20 Oct 2022 22:11:15 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1666293078; 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=o0ijBOoIwkeAC+4P2wSY2PPVmhiuBD8dwNZ6MmnDsjw=; b=rkksVbp2MoNLbNuE2/VH9H075rIDlpGXjs4yiOuHdJDveZrAbGEYF5AS26zLrp3NRwv4u+ 94xaNFW6xx4HxzHn+cRlF3fToiKFMRzIXvqY3SmkCJLTOpLFPMwcGr1GeI1UsJb3pllEAg zGKYDZ90o5X6aygpHMn4zGhO2692KZk= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Reiji Watanabe Cc: Marc Zyngier , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Alexandru Elisei , Suzuki K Poulose , Paolo Bonzini , Andrew Jones , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata Subject: Re: [PATCH v2 3/9] KVM: arm64: selftests: Remove the hard-coded {b,w}pn#0 from debug-exceptions Message-ID: References: <20221020054202.2119018-1-reijiw@google.com> <20221020054202.2119018-4-reijiw@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221020054202.2119018-4-reijiw@google.com> X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Wed, Oct 19, 2022 at 10:41:56PM -0700, Reiji Watanabe wrote: > Remove the hard-coded {break,watch}point #0 from the guest_code() in > debug-exceptions to allow {break,watch}point number to be specified. > Change reset_debug_state() to zeroing all dbg{b,w}{c,v}r_el0 registers > so that guest_code() can use the function to reset those registers > even when non-zero {break,watch}points are specified for guest_code(). > Subsequent patches will add test cases for non-zero {break,watch}points. > > Signed-off-by: Reiji Watanabe > Reviewed-by: Ricardo Koller Reviewed-by: Oliver Upton -- Thanks, Oliver