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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 6D028C433ED for ; Wed, 12 May 2021 13:00:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2AD0C61104 for ; Wed, 12 May 2021 13:00:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231295AbhELNBT (ORCPT ); Wed, 12 May 2021 09:01:19 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2717 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbhELNBS (ORCPT ); Wed, 12 May 2021 09:01:18 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FgFF34cb2z1BLCm; Wed, 12 May 2021 20:57:27 +0800 (CST) Received: from [10.174.185.179] (10.174.185.179) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Wed, 12 May 2021 20:59:59 +0800 Subject: Re: [PATCH v2 4/5] KVM: selftests: Add exception handling support for aarch64 To: Auger Eric CC: Ricardo Koller , Marc Zyngier , , , , , References: <20210430232408.2707420-1-ricarkol@google.com> <20210430232408.2707420-5-ricarkol@google.com> <87a6pcumyg.wl-maz@kernel.org> <20915a2f-d07c-2e61-3cce-ff385e98e796@redhat.com> From: Zenghui Yu Message-ID: <4f7f81f9-8da0-b4ef-49e2-7d87b5c23b15@huawei.com> Date: Wed, 12 May 2021 20:59:59 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20915a2f-d07c-2e61-3cce-ff385e98e796@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.185.179] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Eric, On 2021/5/6 20:30, Auger Eric wrote: > running the test on 5.12 I get > > ==== Test Assertion Failure ==== > aarch64/debug-exceptions.c:232: false > pid=6477 tid=6477 errno=4 - Interrupted system call > 1 0x000000000040147b: main at debug-exceptions.c:230 > 2 0x000003ff8aa60de3: ?? ??:0 > 3 0x0000000000401517: _start at :? > Failed guest assert: hw_bp_addr == PC(hw_bp) at > aarch64/debug-exceptions.c:105 > values: 0, 0x401794 FYI I can also reproduce it on my VHE box. And Drew's suggestion [*] seemed to work for me. Is the ISB a requirement of architecture? [*] https://lore.kernel.org/kvm/20210503124925.wxdcyzharpyzeu4v@gator.home/ Thanks, Zenghui