Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp733435pxu; Wed, 7 Oct 2020 14:36:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJaidtOo6uNNh/QsWrs32g1aoIYkDtHVYZ8H2bbCQJURctYPZASKmyHopLimJMSwKqhPCj X-Received: by 2002:a17:906:26c6:: with SMTP id u6mr4022227ejc.349.1602106589693; Wed, 07 Oct 2020 14:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602106589; cv=none; d=google.com; s=arc-20160816; b=z13DzF1rYPIC5Nzyhzo2QRYeP/AuxCnLSE/nCN+08XugWGvtRdh8MeG/lJzpKpUdPL z0hdVlVwXmc935dReLuEY6fw7QgNPo2AWtZUEduPD3HQ9wRD6DlE9CZGT1sNV7PPKMC5 LZKAgmgednzk1KZb4+oO4wGVT5df8+8J5Iea7oMadZnDKWgjM3c0Ukio1FEY7mXWrjKy /HTDbjWZstcrr3dsPbMmylOXpWApCDZ54UuCgMvPrWKuCsXSCT474HcyAi76y1XZ9fil KYCIDOsyU4S63C+8LemZA8/rUpFJBGTPHNn6fqM9NFQ6SuJwJVYWGI6iwv+DeFO4fDqZ rsBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+H8s1EQ6O3e5JqW+svymMSt2jDcQMGfdx1WqAcR8t3Y=; b=Pr0Hzn1u/OLO6g3NkYEHnn6DygAQKLJ6GbvBr0NFuCNOSeAbbQqOHL1eXpMvByRz9b ge/Exe+vEIIt+JnvqHvZkQq/5zVqhASmNMNyK914Zf+yc8q4nnPST98VBHKv8FtPQBmz KW83IP30AMZxwqZI0LpHAfbCFGCg1Q1s2Om6a0V01SY6CP6E/YJliL2jNwafooMbZGhP +z3NgLTlowk73JNR+ujbGJQ1cOdbjh6vveitMgGjJHczh9iZpLpZSb9s7HvQuOxbPTTo i+JfwZ2LQaugJbXV/m3OEf1CH9AYYXtugjt1L8ohvlXvPzwu3egSvntsDXeoULXFazB+ sWGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QB959QQW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr3si2801601ejb.744.2020.10.07.14.36.06; Wed, 07 Oct 2020 14:36:29 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QB959QQW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728864AbgJGVdH (ORCPT + 99 others); Wed, 7 Oct 2020 17:33:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:37580 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728868AbgJGVdD (ORCPT ); Wed, 7 Oct 2020 17:33:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602106382; 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=+H8s1EQ6O3e5JqW+svymMSt2jDcQMGfdx1WqAcR8t3Y=; b=QB959QQWdmYLpEaCWWYvMy5ez1bO4N7R5GZIHRRpWqpwPr8OgfTr4W4m9sdsgphFd9HLo3 YnUArgZfWhx+qnGTs8/uJqjCceiFz5BA+1GHFIbkcgiunrz1CLftdA9OF+2APDNpGNDvG2 s4qoJZ1Nv+jW3cQtcOHebKk1bhCYl1k= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-45-RrCG4nC5OESMjf9688Axwg-1; Wed, 07 Oct 2020 17:32:58 -0400 X-MC-Unique: RrCG4nC5OESMjf9688Axwg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6F0C21007464; Wed, 7 Oct 2020 21:32:56 +0000 (UTC) Received: from w520.home (ovpn-113-244.phx2.redhat.com [10.3.113.244]) by smtp.corp.redhat.com (Postfix) with ESMTP id BA8BC55761; Wed, 7 Oct 2020 21:32:55 +0000 (UTC) Date: Wed, 7 Oct 2020 15:32:55 -0600 From: Alex Williamson To: Matthew Rosato Cc: cohuck@redhat.com, schnelle@linux.ibm.com, pmorel@linux.ibm.com, borntraeger@de.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, gerald.schaefer@linux.ibm.com, linux-s390@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/5] vfio-pci/zdev: Add zPCI capabilities to VFIO_DEVICE_GET_INFO Message-ID: <20201007153255.41d2a102@w520.home> In-Reply-To: <1602096984-13703-5-git-send-email-mjrosato@linux.ibm.com> References: <1602096984-13703-1-git-send-email-mjrosato@linux.ibm.com> <1602096984-13703-5-git-send-email-mjrosato@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Oct 2020 14:56:23 -0400 Matthew Rosato wrote: > diff --git a/drivers/vfio/pci/vfio_pci_private.h b/drivers/vfio/pci/vfio_pci_private.h > index 61ca8ab..9d28484 100644 > --- a/drivers/vfio/pci/vfio_pci_private.h > +++ b/drivers/vfio/pci/vfio_pci_private.h > @@ -213,4 +213,16 @@ static inline int vfio_pci_ibm_npu2_init(struct vfio_pci_device *vdev) > return -ENODEV; > } > #endif > + > +#ifdef CONFIG_VFIO_PCI_ZDEV > +extern int vfio_pci_info_zdev_add_caps(struct vfio_pci_device *vdev, > + struct vfio_info_cap *caps); > +#else > +static inline int vfio_pci_info_zdev_add_caps(struct vfio_pci_device *vdev, > + struct vfio_info_cap *caps); Ooops......................................................................^ Fixed. Thanks, Alex