Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp856533rwl; Thu, 10 Aug 2023 02:43:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGyvncMvlhI4s9BsdFWHTu7KxWr7a4jDS0I3foaagTo9+vmdx2cMOpkRwvctgn8Eif7Fhmf X-Received: by 2002:a17:902:c106:b0:1bc:4f04:1803 with SMTP id 6-20020a170902c10600b001bc4f041803mr1495174pli.29.1691660628196; Thu, 10 Aug 2023 02:43:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691660628; cv=none; d=google.com; s=arc-20160816; b=yloHzQHOxIwrZ8NOMWuJjj+KUjfVQF0C1YjMKC6Tfl8Msxu4w4hezJWuaGK57SAVcW MNNjK90nxNG0jAbWq/O7IkbsikGrhxQehpGb/o3CJaVILAEREM0P3O67YIgtd/yDTlWX LZV4sAjYCxessxKa8x3Nbh4en8xurJ2GIx7T9cUdfZb5QeKrxViG3kz0t2atc4N9NzEu DTqGJe9Lxl//QEuSi37cD411Y9E6SBT4bGl3bpVyjsiuHcKQ8RJSUdpY9Ys+G06q93lv sYEfM5SEEDU8AkI6gK6PK6D2ACDE/SGGhBvCMUSHnFEAwQBjtm7VJKTqUHuQ0PubbYwX HmZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=syF1yE0Uo9LWT8K9qVuNApPlR5YgTqMfG6lKK6clKkQ=; fh=+e1BJ5Kc+iBTKoeK7NiuDbcIVqNko4UPK8P6J7XWA98=; b=GrEBTVm/jwqyltDwl7pg5oo6LTZ9DAXmW9EceMJhd3eT8cAy/yKK08ucHTzQ6ZJ3un EkJLv56faeOZYNovy0ViJ0aprCywVoTZ4rjs2SqOjUq1fkZ6oXQAEoYx8zvA7ItMTMFl 03Ynnz2raS5B56fZ8r30g3AM9Scr1HRrssgYQWmQVUZ7k49Dyzt+z+K9kwwkRKuv1x+c lTvyLfTyFhwzFe21fyggVJMazrysedMAeNhDzyBqjL0rMpmkoOLmPnQDS0oWQc4ny9Ul b/9AEH8OyiKpIwI2NJk3EO+JHSjWJLBRPFzmpddCVFGwF4FDOs8IXTg7BCXkpAUpmaRv 3mqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I1Vs3e2J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a170902c40300b001aaf1734d1dsi1207784plk.241.2023.08.10.02.43.36; Thu, 10 Aug 2023 02:43:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I1Vs3e2J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233407AbjHJIzK (ORCPT + 99 others); Thu, 10 Aug 2023 04:55:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbjHJIzJ (ORCPT ); Thu, 10 Aug 2023 04:55:09 -0400 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 76C3010E7 for ; Thu, 10 Aug 2023 01:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691657666; 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: in-reply-to:in-reply-to:references:references; bh=syF1yE0Uo9LWT8K9qVuNApPlR5YgTqMfG6lKK6clKkQ=; b=I1Vs3e2JxYmR1gGl+CH9IP2RPfrvHRVA52dgAYB17U69wrUUvPYmya1tH8PeVVPnNxqR4t CbLGkLp9jv2w8UlivEgNpJJJD5ngO68aLXkracFPnGpbsUon6dRFmSolhjl4AN8HuUuQGL RbfmoeQpUVzim9HTkQcZp1x4jz6lbak= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-646-4lJsANtkNxiqmgQ_R7py-Q-1; Thu, 10 Aug 2023 04:54:25 -0400 X-MC-Unique: 4lJsANtkNxiqmgQ_R7py-Q-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-99c01c680beso54377566b.2 for ; Thu, 10 Aug 2023 01:54:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691657664; x=1692262464; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=syF1yE0Uo9LWT8K9qVuNApPlR5YgTqMfG6lKK6clKkQ=; b=AbhBkONE1RwoAdWOOGLesqergI2zET1u/c+80n2SM+jnHuQU14xPW7afH1jxHTVRjU pqpwvGbM+WI+G7vOVjN+u+epxVR9jqbSn7St0NZs2EmJlQ3OgPhw93Nkb4yyCb+JfA8X WAp5ne/KrtCSPEX4nGtsQTIm9RHE7gujv30UW79GInrDlymfVG5EfK+JvhNNFZO5vOn0 YsQxaNeWakpA0yYJ9aWrK17rmMLWjmgR8oZztsHuNWPBigAFaYXOyoSjdIHAsN5smy02 x1GLmmR0FWgn7aluqBpma8vkt/JT8WqaBc9dIg/eTKo9CS9QJ9TXD2rugTOznuk++znW xzcg== X-Gm-Message-State: AOJu0YwVT75EZCSieT/uB3ghEictdBOzTTITbWarsLG65AF8chGHyFO3 NChU5dPIZuuUaI2stjuz29iqhGIhP5QApintqQVuV60Be35GMZjSyLI/y76p95gAcpD9OzTyI++ DK/BqA/fJKyWScENgPtpYVa0V X-Received: by 2002:a17:907:761b:b0:99b:eca2:47a8 with SMTP id jx27-20020a170907761b00b0099beca247a8mr1511608ejc.38.1691657664382; Thu, 10 Aug 2023 01:54:24 -0700 (PDT) X-Received: by 2002:a17:907:761b:b0:99b:eca2:47a8 with SMTP id jx27-20020a170907761b00b0099beca247a8mr1511585ejc.38.1691657663865; Thu, 10 Aug 2023 01:54:23 -0700 (PDT) Received: from redhat.com ([2.52.137.93]) by smtp.gmail.com with ESMTPSA id p18-20020a17090635d200b0099d0a8ccb5fsm627267ejb.152.2023.08.10.01.54.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 01:54:23 -0700 (PDT) Date: Thu, 10 Aug 2023 04:54:19 -0400 From: "Michael S. Tsirkin" To: Dragos Tatulea Cc: Jason Wang , Xuan Zhuo , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH 0/2] vdpa/mlx5: Fixes for ASID handling Message-ID: <20230810045328-mutt-send-email-mst@kernel.org> References: <20230802171231.11001-1-dtatulea@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230802171231.11001-1-dtatulea@nvidia.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 02, 2023 at 08:12:16PM +0300, Dragos Tatulea wrote: > This patch series is based on Eugenio's fix for handling CVQs in > a different ASID [0]. > > The first patch is the actual fix. > > The next 2 patches are fixing a possible issue that I found while > implementing patch 1. The patches are ordered like this for clarity. > > [0] https://lore.kernel.org/lkml/20230112142218.725622-1-eperezma@redhat.com/ So what are we doing with this patchset? If we are merging anything for this release it has to happen now. > Dragos Tatulea (1): > vdpa/mlx5: Fix mr->initialized semantics > > Eugenio P?rez (1): > vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary > > drivers/vdpa/mlx5/core/mlx5_vdpa.h | 2 + > drivers/vdpa/mlx5/core/mr.c | 97 +++++++++++++++++++++--------- > drivers/vdpa/mlx5/net/mlx5_vnet.c | 4 +- > 3 files changed, 74 insertions(+), 29 deletions(-) > > -- > 2.41.0