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 25AB3C4345F for ; Fri, 12 Apr 2024 10:36:26 +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: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QQ808mE5QRgOfUrXJVfB8RFmZPrCd9dFH4RSzC1gNdI=; b=drCeLCveMk+Q20 NV3xVQC1ABN5Qunb9Fc4mtYlyvt6ZFoFDHcnKb8kWhLs0eVZYuUxafCxx/X3iQDzwtHQy2ZVKEsPu l1zTvy6khE0rsDLUqRLKDdKQWALYI/VIiZORePhHABGKjNNTqUWhHjBGcQQuxlcSI25iMiJ+pJuAE mCRTgX+LqYQLcWQpyiMz6sG9M8Bs1vrJ47hQ4W96VMcVOXUIVetr6ncvitIi/T6CICL9E5RuEiqR7 xpXEa9vWe0MKS/IEilq/sXYbp3c/VGkz9ijgBBazD5Dm0gUrV5LmLZk7WSX3Ux5GOoNQAsoLPDNx+ 2UUZpUeGuJiuUJDf49NA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvEGT-0000000GhcN-49Bg; Fri, 12 Apr 2024 10:36:14 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvEF9-0000000Ggdr-3OgD for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 10:34:54 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7C18D1596; Fri, 12 Apr 2024 03:35:20 -0700 (PDT) Received: from ewhatever.cambridge.arm.com (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7C66B3F64C; Fri, 12 Apr 2024 03:34:49 -0700 (PDT) From: Suzuki K Poulose To: kvmarm@lists.linux.dev Cc: kvm@vger.kernel.org, linux-coco@lists.linux.dev, linux-arm-kernel@lists.infradead.org, maz@kernel.org, alexandru.elisei@arm.com, joey.gouly@arm.com, steven.price@arm.com, james.morse@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com, andrew.jones@linux.dev, eric.auger@redhat.com, Suzuki K Poulose Subject: [kvm-unit-tests PATCH 16/33] arm64: add ESR_ELx EC.SVE Date: Fri, 12 Apr 2024 11:33:51 +0100 Message-Id: <20240412103408.2706058-17-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412103408.2706058-1-suzuki.poulose@arm.com> References: <20240412103408.2706058-1-suzuki.poulose@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240412_033452_226093_40EFB3EF X-CRM114-Status: UNSURE ( 8.30 ) X-CRM114-Notice: Please train this message. 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 From: Joey Gouly Add the SVE exception class, so that SVE exceptions are not printed as 'unknown' exceptions. Signed-off-by: Joey Gouly Signed-off-by: Suzuki K Poulose --- lib/arm64/asm/esr.h | 1 + lib/arm64/processor.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/arm64/asm/esr.h b/lib/arm64/asm/esr.h index 8c351631..335343c5 100644 --- a/lib/arm64/asm/esr.h +++ b/lib/arm64/asm/esr.h @@ -26,6 +26,7 @@ #define ESR_EL1_EC_SVC32 (0x11) #define ESR_EL1_EC_SVC64 (0x15) #define ESR_EL1_EC_SYS64 (0x18) +#define ESR_EL1_EC_SVE (0x19) #define ESR_EL1_EC_IABT_EL0 (0x20) #define ESR_EL1_EC_IABT_EL1 (0x21) #define ESR_EL1_EC_PC_ALIGN (0x22) diff --git a/lib/arm64/processor.c b/lib/arm64/processor.c index 06fd7cfc..eb93fd7c 100644 --- a/lib/arm64/processor.c +++ b/lib/arm64/processor.c @@ -43,6 +43,7 @@ static const char *ec_names[EC_MAX] = { [ESR_EL1_EC_SVC32] = "SVC32", [ESR_EL1_EC_SVC64] = "SVC64", [ESR_EL1_EC_SYS64] = "SYS64", + [ESR_EL1_EC_SVE] = "SVE", [ESR_EL1_EC_IABT_EL0] = "IABT_EL0", [ESR_EL1_EC_IABT_EL1] = "IABT_EL1", [ESR_EL1_EC_PC_ALIGN] = "PC_ALIGN", -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel