From patchwork Wed Jan 11 16:13:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cornelia Huck X-Patchwork-Id: 13096905 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 D7FEBC46467 for ; Wed, 11 Jan 2023 16:14:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233325AbjAKQO1 (ORCPT ); Wed, 11 Jan 2023 11:14:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233270AbjAKQOP (ORCPT ); Wed, 11 Jan 2023 11:14:15 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D43C91400C for ; Wed, 11 Jan 2023 08:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673453608; 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: content-transfer-encoding:content-transfer-encoding; bh=2O5r+h1JPk+X/war6I5vcdeRlO1354IkopAVvOAyb6g=; b=Te+RDyY5NJv1MyFdlJugCVzVEskbtwXvdqTCSfLbv/eL52zQdLkERG8uh9iT7E7DATkUS3 7EH7GorgEZ7DXnfBiHp5giegTWDW3jII0EKKdr5GkQRL4B2b7+6ak4SxYDGO5LNNOdhfQn Wx0vdPYI74NF/nKqzbsfoaB4flPuNag= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-410-LfMzgFZCNfqmoCbz9En3Jw-1; Wed, 11 Jan 2023 11:13:24 -0500 X-MC-Unique: LfMzgFZCNfqmoCbz9En3Jw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6E9A9280482A; Wed, 11 Jan 2023 16:13:24 +0000 (UTC) Received: from gondolin.redhat.com (unknown [10.39.195.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id BEF7A2026D68; Wed, 11 Jan 2023 16:13:21 +0000 (UTC) From: Cornelia Huck To: Peter Maydell , Thomas Huth , Laurent Vivier Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, kvm@vger.kernel.org, Eric Auger , "Dr. David Alan Gilbert" , Juan Quintela , Gavin Shan , Cornelia Huck Subject: [PATCH v4 0/2] arm: enable MTE for QEMU + kvm Date: Wed, 11 Jan 2023 17:13:15 +0100 Message-Id: <20230111161317.52250-1-cohuck@redhat.com> MIME-Version: 1.0 Content-type: text/plain X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Here's another repost of my kvm/mte series; no substantial changes. Changes v3->v4: - rebase to current master - tweak message when specifying "mte=on" for the virt machine for non-tcg - added Thomas' ack for the qtests patch Cornelia Huck (2): arm/kvm: add support for MTE qtests/arm: add some mte tests docs/system/arm/cpu-features.rst | 21 +++++ hw/arm/virt.c | 2 +- target/arm/cpu.c | 18 ++--- target/arm/cpu.h | 1 + target/arm/cpu64.c | 133 +++++++++++++++++++++++++++++++ target/arm/internals.h | 1 + target/arm/kvm64.c | 5 ++ target/arm/kvm_arm.h | 12 +++ target/arm/monitor.c | 1 + tests/qtest/arm-cpu-features.c | 76 ++++++++++++++++++ 10 files changed, 257 insertions(+), 13 deletions(-)