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=-7.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 64D42C433B4 for ; Wed, 7 Apr 2021 15:59:00 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id BFED961279 for ; Wed, 7 Apr 2021 15:58:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFED961279 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 5C62B4B703; Wed, 7 Apr 2021 11:58:59 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YJDXABqiteLB; Wed, 7 Apr 2021 11:58:58 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 5DAB54B8DE; Wed, 7 Apr 2021 11:58:58 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 7BE3D4B8DE for ; Wed, 7 Apr 2021 11:58:57 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l-k6iYxMB8Z2 for ; Wed, 7 Apr 2021 11:58:56 -0400 (EDT) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 876E04B703 for ; Wed, 7 Apr 2021 11:58:56 -0400 (EDT) Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B179861154; Wed, 7 Apr 2021 15:58:53 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=hot-poop.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lUAZv-0066z6-PJ; Wed, 07 Apr 2021 16:58:51 +0100 From: Marc Zyngier To: Alexandru Elisei , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu Subject: Re: [PATCH v3 0/2] KVM: arm64: Debug fixes Date: Wed, 7 Apr 2021 16:58:48 +0100 Message-Id: <161781112106.1984801.2208066478824922199.b4-ty@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210407144857.199746-1-alexandru.elisei@arm.com> References: <20210407144857.199746-1-alexandru.elisei@arm.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: alexandru.elisei@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Wed, 7 Apr 2021 15:48:55 +0100, Alexandru Elisei wrote: > v2 can be found at [1]. Patch #1 in this series is new. > > Tested on an odroid-c4 with VHE. vcpu->arch.mdcr_el2 is calculated to be > 0x84e66. Without this patch, reading MDCR_EL2 after the first vcpu_load() in > kvm_arch_vcpu_ioctl_run() returns 0, subsequent reads return 0xe66 > (FEAT_TFF and FEAT_SPE are not implemented by the PE). With this patch, all > reads, including the first time the VCPU is run, return 0xe66. > > [...] Applied to kvm-arm64/debug-5.13, thanks! [1/2] Documentation: KVM: Document KVM_GUESTDBG_USE_HW control flag for arm64 commit: feb5dc3de03711d846f0b729cb12fc05cbe49ccb [2/2] KVM: arm64: Initialize VCPU mdcr_el2 before loading it commit: 263d6287da1433aba11c5b4046388f2cdf49675c Cheers, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm 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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT 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 9E360C433B4 for ; Wed, 7 Apr 2021 16:00:38 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 380E8613D0 for ; Wed, 7 Apr 2021 16:00:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 380E8613D0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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:Message-Id:Date: Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Vnx9IusQsX/bWJHTvdCdOKBMkBvv90H19vYccjUfuu8=; b=WYcvSuL7NxNGKsq1rPzsCoswc L3GvNIelZL2AKGBKVWUvx3Vsq4hdRyKTdI1vNsd13znwiCw4MLpD5RE0+1CHalN3iyB+Nhc0jZPQU IjEU6Oqqz63E43A7nJBtjL48nSet8bN0hKOv2HBvpL7lGebsGIKcBTORbIBo79jE5FmmiYwNcc7u8 QkzyR1evlNzpgvav2Eu+bXqFJ2kAaLBKKmxbvZQAk82tWJv4/lHF1TjAoqljpa5gKjltgvDGCH6bj 77oqSxSK45k4yBwBCRQiVG4HlbkV3y6b2RfhFBADhj9jIv7MseYtMptjMFqSkymsiwzIIZc8unMN6 flcUnpIEQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUAa5-005Mpz-HO; Wed, 07 Apr 2021 15:59:02 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUAZz-005Mnw-5S for linux-arm-kernel@lists.infradead.org; Wed, 07 Apr 2021 15:58:57 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B179861154; Wed, 7 Apr 2021 15:58:53 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=hot-poop.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lUAZv-0066z6-PJ; Wed, 07 Apr 2021 16:58:51 +0100 From: Marc Zyngier To: Alexandru Elisei , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu Subject: Re: [PATCH v3 0/2] KVM: arm64: Debug fixes Date: Wed, 7 Apr 2021 16:58:48 +0100 Message-Id: <161781112106.1984801.2208066478824922199.b4-ty@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210407144857.199746-1-alexandru.elisei@arm.com> References: <20210407144857.199746-1-alexandru.elisei@arm.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: alexandru.elisei@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu 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-20210407_165855_623604_0DB05783 X-CRM114-Status: GOOD ( 13.09 ) 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 Wed, 7 Apr 2021 15:48:55 +0100, Alexandru Elisei wrote: > v2 can be found at [1]. Patch #1 in this series is new. > > Tested on an odroid-c4 with VHE. vcpu->arch.mdcr_el2 is calculated to be > 0x84e66. Without this patch, reading MDCR_EL2 after the first vcpu_load() in > kvm_arch_vcpu_ioctl_run() returns 0, subsequent reads return 0xe66 > (FEAT_TFF and FEAT_SPE are not implemented by the PE). With this patch, all > reads, including the first time the VCPU is run, return 0xe66. > > [...] Applied to kvm-arm64/debug-5.13, thanks! [1/2] Documentation: KVM: Document KVM_GUESTDBG_USE_HW control flag for arm64 commit: feb5dc3de03711d846f0b729cb12fc05cbe49ccb [2/2] KVM: arm64: Initialize VCPU mdcr_el2 before loading it commit: 263d6287da1433aba11c5b4046388f2cdf49675c Cheers, 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