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=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 9DAA9C433E0 for ; Tue, 23 Jun 2020 18:05:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67A1F2072E for ; Tue, 23 Jun 2020 18:05:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rEBKHwpi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733182AbgFWSFV (ORCPT ); Tue, 23 Jun 2020 14:05:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728916AbgFWSFU (ORCPT ); Tue, 23 Jun 2020 14:05:20 -0400 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92DEEC061573 for ; Tue, 23 Jun 2020 11:05:20 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id k15so17563743otp.8 for ; Tue, 23 Jun 2020 11:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9GN+8WTXztbPfYorYujs4eOD7e69NJjv7MfYuASwATI=; b=rEBKHwpizm7Ptg3MSiXYR8mzHuu8RnTRZP8VL1dAlWFQOKnDktMPA1IyFJQjPiGpVV pZtSkYGqqTynz7BB9YYOfux0/mCdLQUUuL5D9URSyWPmiAQdidnZGAXkNAHLusVZml+h tdXMNHUpXyFOBTzoS9rjOpikizamG9FpjxatFwZwfaDFHVhMa3Eod+t4ZoSJ6N2uSboN 8uMmhJGzX/7JhY6Mz70d0UIlj4Gont7X2CTkAkBjeqYQPjIzrH6E7TrHR0q0OkU3Xolg jAjVBE6d7j++wjpVoK0Thw4OCHr1pU6jLh/0Xw3gcuvhucCis9iZ/0yiIYW2TpdRTu/z 1DvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9GN+8WTXztbPfYorYujs4eOD7e69NJjv7MfYuASwATI=; b=EFnboJYJj9ZJj2UOUUnamjYbp+856lTWFkzV5em07TJkr2J9dy0unkjvl7aaVoYzZG kZgyxHJjBzJ1C68ZKHVcd5vJnbXvtqUzEQdlPkeYtZsvgF8+6NsNe4N4r0uTBbsWa2FE jDIgIO74iQocufX4qsC8ihjsdVq7847sFc7hcQ6Gl3YYiqdiFvSG2eqnkQQlrBPMpWAQ WyTb80hY2knlFOKYmO/1ZCh0dBARuy2sA6X9z0+SURgDrFlve3QEWSaqmKjO/qqGH+su osWvtZvI6QKyy0o0803b0poTtmp2UAUJodJZlz1YaRZuiIKLlkqJkpVDmgQpEr2Fgijg LS2Q== X-Gm-Message-State: AOAM532zMm9dSLYtUUP3XOLZ/Ddw2y6OLyawtEuE49kxLWNPgz3d3Bno s+h+OR7fIptYr9tOo0GrX4EBom6q71VUvwB9ShgEaA== X-Google-Smtp-Source: ABdhPJx+g/sUUdsTYxZOwpinRxMoNVeLqgTGnTNLSG5BjKxv4gWdiz5xp9V6RR8ykHO/RAqJZw++35u6gPTMVvxts0c= X-Received: by 2002:a05:6830:8d:: with SMTP id a13mr19304773oto.91.1592935518913; Tue, 23 Jun 2020 11:05:18 -0700 (PDT) MIME-Version: 1.0 References: <20200617123844.29960-1-steven.price@arm.com> In-Reply-To: <20200617123844.29960-1-steven.price@arm.com> From: Peter Maydell Date: Tue, 23 Jun 2020 19:05:07 +0100 Message-ID: Subject: Re: [RFC PATCH 0/2] MTE support for KVM guest To: Steven Price Cc: Catalin Marinas , Marc Zyngier , Will Deacon , Dave Martin , lkml - Kernel Mailing List , Thomas Gleixner , kvmarm@lists.cs.columbia.edu, arm-mail-list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Jun 2020 at 13:39, Steven Price wrote: > > These patches add support to KVM to enable MTE within a guest. It is > based on Catalin's v4 MTE user space series[1]. > > [1] http://lkml.kernel.org/r/20200515171612.1020-1-catalin.marinas%40arm.com > > Posting as an RFC as I'd like feedback on the approach taken. What's your plan for handling tags across VM migration? Will the kernel expose the tag ram to userspace so we can copy it from the source machine to the destination at the same time as we copy the actual ram contents ? thanks -- PMM 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=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 21BBAC433DF for ; Tue, 23 Jun 2020 18:05:24 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 9D2852072E for ; Tue, 23 Jun 2020 18:05:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rEBKHwpi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D2852072E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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 356324B177; Tue, 23 Jun 2020 14:05:23 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@linaro.org 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 Z0nirE7HfHZP; Tue, 23 Jun 2020 14:05:22 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 3B3514B16C; Tue, 23 Jun 2020 14:05:22 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id AED1C4B16A for ; Tue, 23 Jun 2020 14:05:21 -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 BgSAhDa4JPHF for ; Tue, 23 Jun 2020 14:05:20 -0400 (EDT) Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id B37834B169 for ; Tue, 23 Jun 2020 14:05:20 -0400 (EDT) Received: by mail-ot1-f65.google.com with SMTP id s13so17573056otd.7 for ; Tue, 23 Jun 2020 11:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9GN+8WTXztbPfYorYujs4eOD7e69NJjv7MfYuASwATI=; b=rEBKHwpizm7Ptg3MSiXYR8mzHuu8RnTRZP8VL1dAlWFQOKnDktMPA1IyFJQjPiGpVV pZtSkYGqqTynz7BB9YYOfux0/mCdLQUUuL5D9URSyWPmiAQdidnZGAXkNAHLusVZml+h tdXMNHUpXyFOBTzoS9rjOpikizamG9FpjxatFwZwfaDFHVhMa3Eod+t4ZoSJ6N2uSboN 8uMmhJGzX/7JhY6Mz70d0UIlj4Gont7X2CTkAkBjeqYQPjIzrH6E7TrHR0q0OkU3Xolg jAjVBE6d7j++wjpVoK0Thw4OCHr1pU6jLh/0Xw3gcuvhucCis9iZ/0yiIYW2TpdRTu/z 1DvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9GN+8WTXztbPfYorYujs4eOD7e69NJjv7MfYuASwATI=; b=GaqgW1OXs4mdNpNhpxBWxBFZ+XNEVmgW24vidMWE4B2EeidcsQ0KbPN44vOZ+MO9RZ 4Pm5msAjRLcsWihn84LSM1XXfCjDumSsg8O+eAmQmVCBgCGkyH5shzxiOliDcfAniq3s IPP49GkyM7Y/RzvPlEDkY2mN/y/LcFHZyM0j4HX+kfp4Qph8Pt5nYh9MS5iqnYX+hnXP VMkqQIYvW/nUFIO48Rn+TGR3Q2R+/3CyWtTReUG6YMTk+XyUGFBG+tFORlDdPc2UaCyk cbiIwh1OavQ9V4Nltf6KKYaLPjz2DZuAPe4fVOZlulzKInbFQsvz386Z8n9eTSvNJ/kQ u0iA== X-Gm-Message-State: AOAM533FZZLtNXozYzHUbSZ1E39y9ys3nMsV3/FUKNGcboqFFnQ/qF0T ++ELN1w/EkdxEwupXsCUZiJh4114kFF/g2cmK0IEAw== X-Google-Smtp-Source: ABdhPJx+g/sUUdsTYxZOwpinRxMoNVeLqgTGnTNLSG5BjKxv4gWdiz5xp9V6RR8ykHO/RAqJZw++35u6gPTMVvxts0c= X-Received: by 2002:a05:6830:8d:: with SMTP id a13mr19304773oto.91.1592935518913; Tue, 23 Jun 2020 11:05:18 -0700 (PDT) MIME-Version: 1.0 References: <20200617123844.29960-1-steven.price@arm.com> In-Reply-To: <20200617123844.29960-1-steven.price@arm.com> From: Peter Maydell Date: Tue, 23 Jun 2020 19:05:07 +0100 Message-ID: Subject: Re: [RFC PATCH 0/2] MTE support for KVM guest To: Steven Price Cc: Catalin Marinas , lkml - Kernel Mailing List , kvmarm@lists.cs.columbia.edu, Marc Zyngier , Thomas Gleixner , Will Deacon , Dave Martin , arm-mail-list 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, 17 Jun 2020 at 13:39, Steven Price wrote: > > These patches add support to KVM to enable MTE within a guest. It is > based on Catalin's v4 MTE user space series[1]. > > [1] http://lkml.kernel.org/r/20200515171612.1020-1-catalin.marinas%40arm.com > > Posting as an RFC as I'd like feedback on the approach taken. What's your plan for handling tags across VM migration? Will the kernel expose the tag ram to userspace so we can copy it from the source machine to the destination at the same time as we copy the actual ram contents ? thanks -- PMM _______________________________________________ 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=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 B1F32C433E0 for ; Tue, 23 Jun 2020 18:07:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 803EC2072E for ; Tue, 23 Jun 2020 18:07:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1p9x4ks2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rEBKHwpi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 803EC2072E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NYUPgAlmrWyM6JJH0zvqXT7OgoXJJ25s91sWtzSPcEI=; b=1p9x4ks20qIVmb3YVxZpigQhe M0/B4Y/je+EybRM6mqmOfIl8Yub/QtMRS/LwBU9evwd2s2y7NDI99YRLhdbRvMMDsxQnTFyiclYfv y7h/iL1gNL26WTwL2HYWaDt+iByILOtR1XdAzywbmXZZuGf9gTrcfNlvwUGU5pF/grfCYkTum1tjH c1gHajaTo38jRcNWscrR5JhjXfBfPKO1zsrFGtXmQ0tgjNbT5krbUu4YdLLfnQc3pTTWFTmlyH1Yj sr5MRBF7dxqQAG1hAY2vZ/TXYj/rKdT/Fp3Wb3uFWLehRtOpxemUgbYPBleC/fpOOEnIG1I9qWHwH 3ZpnId3rg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnnIU-0004Df-PM; Tue, 23 Jun 2020 18:05:26 +0000 Received: from mail-ot1-x342.google.com ([2607:f8b0:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnnIR-0004CK-Ar for linux-arm-kernel@lists.infradead.org; Tue, 23 Jun 2020 18:05:24 +0000 Received: by mail-ot1-x342.google.com with SMTP id e5so17535143ote.11 for ; Tue, 23 Jun 2020 11:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9GN+8WTXztbPfYorYujs4eOD7e69NJjv7MfYuASwATI=; b=rEBKHwpizm7Ptg3MSiXYR8mzHuu8RnTRZP8VL1dAlWFQOKnDktMPA1IyFJQjPiGpVV pZtSkYGqqTynz7BB9YYOfux0/mCdLQUUuL5D9URSyWPmiAQdidnZGAXkNAHLusVZml+h tdXMNHUpXyFOBTzoS9rjOpikizamG9FpjxatFwZwfaDFHVhMa3Eod+t4ZoSJ6N2uSboN 8uMmhJGzX/7JhY6Mz70d0UIlj4Gont7X2CTkAkBjeqYQPjIzrH6E7TrHR0q0OkU3Xolg jAjVBE6d7j++wjpVoK0Thw4OCHr1pU6jLh/0Xw3gcuvhucCis9iZ/0yiIYW2TpdRTu/z 1DvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9GN+8WTXztbPfYorYujs4eOD7e69NJjv7MfYuASwATI=; b=ePEWthIsLfsd7/84kdJ+hj0jb0eKuPcVWACz85aDG9V7thVqSgOYX9wHmfVwjNgAkN qQY/EEq8R3qAxFk5ZivuscRnwWwa06g+aQfsrXFv2QANNd4Vl2O76nSPV/1LFRVXOGhY 3+PajQVypF62Q6d/T+ONWbbg05muqLu6nb5DqLSOrvelViaijcZfVAU1/cEZ3qik48Lw yNVhfSB17h3AcU8tU415XIU6yisrsNPUUWlKbIWaOCLla1yMUebu4G3gKa4dQqTJoBDT Pwc19CCfP/bkdTbUnHJFamrBzaxnUQbBTgcJtLelEXGV2kg7ePyBv60s/6z/3CBPX/qd sSxw== X-Gm-Message-State: AOAM533Gsss32ZPyOKKsHnSIf/TiuWOpG9wQcfl2hsL0g2AVU4oGjVlB G9atqyObZjUBgw8QYYcN7rC/Vg9jkSLwzNlNggXCtkYJgmQ= X-Google-Smtp-Source: ABdhPJx+g/sUUdsTYxZOwpinRxMoNVeLqgTGnTNLSG5BjKxv4gWdiz5xp9V6RR8ykHO/RAqJZw++35u6gPTMVvxts0c= X-Received: by 2002:a05:6830:8d:: with SMTP id a13mr19304773oto.91.1592935518913; Tue, 23 Jun 2020 11:05:18 -0700 (PDT) MIME-Version: 1.0 References: <20200617123844.29960-1-steven.price@arm.com> In-Reply-To: <20200617123844.29960-1-steven.price@arm.com> From: Peter Maydell Date: Tue, 23 Jun 2020 19:05:07 +0100 Message-ID: Subject: Re: [RFC PATCH 0/2] MTE support for KVM guest To: Steven Price X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , lkml - Kernel Mailing List , kvmarm@lists.cs.columbia.edu, Marc Zyngier , Thomas Gleixner , Will Deacon , Dave Martin , arm-mail-list 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, 17 Jun 2020 at 13:39, Steven Price wrote: > > These patches add support to KVM to enable MTE within a guest. It is > based on Catalin's v4 MTE user space series[1]. > > [1] http://lkml.kernel.org/r/20200515171612.1020-1-catalin.marinas%40arm.com > > Posting as an RFC as I'd like feedback on the approach taken. What's your plan for handling tags across VM migration? Will the kernel expose the tag ram to userspace so we can copy it from the source machine to the destination at the same time as we copy the actual ram contents ? thanks -- PMM _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel