Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1995688pxu; Fri, 9 Oct 2020 05:27:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb+qkuPox1UoTqL7ZbKI9Kwr65l8r93qT2AY/Npzd7pix23tWf6jPdIhn9S5U4cb6GoAr/ X-Received: by 2002:a17:906:33c8:: with SMTP id w8mr13963140eja.233.1602246441575; Fri, 09 Oct 2020 05:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602246441; cv=none; d=google.com; s=arc-20160816; b=m0hRKxuSOUEWU5km3odk06CgVUkI5YsH5Ed+PiG5UA8a+0oIqmRKTWKwFjsuim7JQS P5mTQoTb/nS++hi5ixif1mZPcD7El6M5i6vDo1kotib7PNGtFewdaUh4DSodoPYnhfRF +RWQuIvJTYF25yfW1T2hZuetWHIwYhK5FyPZPSnUsAKQGW+V/+7eg5hK8i3B2Dhi3bPY XTaExW3YpisRK51TrENPRk0tf92VrDIJFdNzViVUXCQq0AYEgWfLpUJ+Jnw8s89+z5cG dbe1hnfZN3s/63vB3tUTd9DovPjk86MdsYhu8KAsln4yBdWRr4DkB+fathgubG0qOKCQ 4esQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=6NBJSYlvfZHWze2N1l/klbUKCpQ65WesNQZgDHDHlo0=; b=SaHdSETzQMrGe/DuLBA57yBtQ6roCNLQTXI3QGpPhqR9ZxFNzOVdrv8vr9xuUWWOYw fyaNoZML7rVsUnsw/9LZs4/YxYRkFgyFfYoXRzKMwjCdYhHBgSnxLK55w4pHq9DUedOU h/yUHsLKCNgggO51uUO+OpESQw/fS21To/B6UtFOJZbFkGc9rKeXOErKV3UtSTTRauU8 oT599s3wEw+PFKMSwW7OnGVT02U0c4YP0YFI4/3SHInyF53urBBmNJaGoCseps3O82NU QlLy/9h0l8z6Pm6AVer1qn4QHwWDZ5IZGspQMZDuTXoWLVwMvofuyq9TTorT7v+eQpJe pDQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UUPhPfvO; 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 i91si5993289edi.177.2020.10.09.05.26.56; Fri, 09 Oct 2020 05:27:21 -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=UUPhPfvO; 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 S1733126AbgJIJiR (ORCPT + 99 others); Fri, 9 Oct 2020 05:38:17 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:30295 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733101AbgJIJiR (ORCPT ); Fri, 9 Oct 2020 05:38:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602236296; 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=6NBJSYlvfZHWze2N1l/klbUKCpQ65WesNQZgDHDHlo0=; b=UUPhPfvOQOiY+HA6JCKlYare8I7Pp+Ne2eKPFqemRRWj97VnqwijiIB26xCJt2FH8qJPMD 84fV16ksEszH6tOc6K7rNTzbAdRPyaQxf4yEtMf5x7cqeMwmEUhKPF1YyLvEtEonq7NuWz +g7kfItW6Vdh+bilk2Fjr1GqCK5eKKo= 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-480-H9ceGU0_O2qlXp24GhJ_7w-1; Fri, 09 Oct 2020 05:38:14 -0400 X-MC-Unique: H9ceGU0_O2qlXp24GhJ_7w-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9491085EE94; Fri, 9 Oct 2020 09:38:12 +0000 (UTC) Received: from gondolin (ovpn-113-40.ams2.redhat.com [10.36.113.40]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6983F60E1C; Fri, 9 Oct 2020 09:38:07 +0000 (UTC) Date: Fri, 9 Oct 2020 11:38:04 +0200 From: Cornelia Huck To: Matthew Rosato Cc: alex.williamson@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 3/5] vfio: Introduce capability definitions for VFIO_DEVICE_GET_INFO Message-ID: <20201009113804.6ccc9738.cohuck@redhat.com> In-Reply-To: <1602096984-13703-4-git-send-email-mjrosato@linux.ibm.com> References: <1602096984-13703-1-git-send-email-mjrosato@linux.ibm.com> <1602096984-13703-4-git-send-email-mjrosato@linux.ibm.com> Organization: Red Hat GmbH 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.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Oct 2020 14:56:22 -0400 Matthew Rosato wrote: > Allow the VFIO_DEVICE_GET_INFO ioctl to include a capability chain. > Add a flag indicating capability chain support, and introduce the > definitions for the first set of capabilities which are specified to > s390 zPCI devices. > > Signed-off-by: Matthew Rosato > --- > include/uapi/linux/vfio.h | 11 ++++++ > include/uapi/linux/vfio_zdev.h | 78 ++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 89 insertions(+) > create mode 100644 include/uapi/linux/vfio_zdev.h Reviewed-by: Cornelia Huck