Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2018885ybg; Fri, 5 Jun 2020 03:33:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznRWRO4id1eZD0c5Bg4KkWBLEQUXC5xqws+7G2klAzS0KHMBKNeLGAS6ifiq4/rBvpUdHw X-Received: by 2002:a17:906:2e55:: with SMTP id r21mr7903460eji.338.1591353184676; Fri, 05 Jun 2020 03:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591353184; cv=none; d=google.com; s=arc-20160816; b=uNT/+5enLSJRQJ/h3UKql3mrSBOGeEzHaeh9wLd5HbDU2i8qcX5MpPHL8xdi9aKBm9 O/oIv2SHPFsvVjhRQjqWyStojSkpiDucEl+Dgagq2XJLWlX/qj+/mTysPefosq3Y04P7 2x+RiFSd0h7y9xeJCQcY+b+VoStIi6rYmoMnD1SLJtkwwbdZr+6kKQh7mwj1iajtz/4S dYykBGttxfQj5qHIcVE98UOHk/pycByMjvlO7R+EWtYPXZlPP3Mo/1dDzvUCF6h+a7zQ 6bCdsDf6vruF6iNazzbxsisbQQS9mC/Hwe3kTE8VuDclxnJXGJe1kGNt72KqywmoGrid KIZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=xDZIpi+AmkQY9P+jTRmjsx3wnXT24u85HVjxAIrQYPI=; b=p8JkXj6i0V15rIvGkoT+LZAk4acIXQON+81eWL9aNBDVfjes9V9xOSMZgOgvRPWxU7 T3IXtZD5ER0PwonFKAVyvhMSnsxTfD4kjrFUxNjIXKot7HNJQZnmeT6yGJO0QpKO19Ey x2QyEGqC9Dcqqmv4Gn5YoaWehjHJTOFiRxMbeE1BEPBVYl81Of3hAv1WC1vQ4hhIs3ml 9Bg5YtblDUWvsKm6eLWjd1ddWN4c0BdIam3ik7TN1V7fS4mGa5ALIxS3w+xDbj/r8sCn MAfHfRqXlcJX0wx33Vmb5Eqv0gwQPGmlJzWNHdlmRapLCo2XolRxE8kqgm+MKtLhZ1+7 Z53A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gl8si2888364ejb.327.2020.06.05.03.32.40; Fri, 05 Jun 2020 03:33:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726565AbgFEKa5 (ORCPT + 99 others); Fri, 5 Jun 2020 06:30:57 -0400 Received: from mga18.intel.com ([134.134.136.126]:57119 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbgFEKa4 (ORCPT ); Fri, 5 Jun 2020 06:30:56 -0400 IronPort-SDR: HgTTl5rFinaru+pbSwF02zgyHaVdHfYMXjjn49YOUmQ+dfDQECEPALgZn13V0PspPGIFP35E0c lC8/tccTpqaw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2020 03:30:56 -0700 IronPort-SDR: f0WJCG+GZdUy4Koqo1sSzDk+cHeA6vF5M5kG1b6BlzQ4AajHHlbMjNeO6wofs1ElSQw9XHE6dI /i9r6KU9wbRg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,476,1583222400"; d="scan'208";a="305024833" Received: from unknown (HELO localhost.localdomain.bj.intel.com) ([10.240.192.131]) by fmsmga002.fm.intel.com with ESMTP; 05 Jun 2020 03:30:53 -0700 From: Zhu Lingshan To: mst@redhat.com, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, jasowang@redhat.com Cc: lulu@redhat.com, dan.daly@intel.com, cunming.liang@intel.com, Zhu Lingshan Subject: [PATCH RESEND 0/5] vDPA:config interrupt support and IRQ improvements Date: Fri, 5 Jun 2020 18:27:10 +0800 Message-Id: <1591352835-22441-1-git-send-email-lingshan.zhu@intel.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series intends to introduce: (1) config interrupt in vhost_vdpa and IFCVF. (2) handle datapath and IRQ managent in the status handler, so that it would comply to virtio spec, and more reliable Most patches already got ACKed, excepted for ifcvf: ignore continuous setting same staus value Please help review Zhu Lingshan (5): ifcvf: move IRQ request/free to status change handlers ifcvf: ignore continuous setting same staus value vhost_vdpa: Support config interrupt in vhost_vdpa vhost: replace -1 with VHOST_FILE_UNBIND in iotcls ifcvf: implement config interrupt in IFCVF drivers/vdpa/ifcvf/ifcvf_base.c | 3 + drivers/vdpa/ifcvf/ifcvf_base.h | 4 ++ drivers/vdpa/ifcvf/ifcvf_main.c | 146 +++++++++++++++++++++++++++------------- drivers/vhost/vdpa.c | 47 +++++++++++++ drivers/vhost/vhost.c | 8 +-- include/uapi/linux/vhost.h | 4 ++ 6 files changed, 160 insertions(+), 52 deletions(-) -- 1.8.3.1