From patchwork Fri Mar 15 08:18:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kardashevskiy X-Patchwork-Id: 1056897 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=kvm-ppc-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.ru Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44LJPY2dFHz9s6w for ; Fri, 15 Mar 2019 19:18:41 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728488AbfCOISk (ORCPT ); Fri, 15 Mar 2019 04:18:40 -0400 Received: from ozlabs.ru ([107.173.13.209]:55929 "EHLO ozlabs.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727476AbfCOISk (ORCPT ); Fri, 15 Mar 2019 04:18:40 -0400 Received: from fstn1-p1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id A157DAE80014; Fri, 15 Mar 2019 04:18:37 -0400 (EDT) From: Alexey Kardashevskiy To: linuxppc-dev@lists.ozlabs.org Cc: Alexey Kardashevskiy , David Gibson , kvm-ppc@vger.kernel.org, Piotr Jaroszynski , =?utf-8?q?Leonardo_Augusto_Guimar=C3=A3es_?= =?utf-8?q?Garcia?= , Jose Ricardo Ziviani , Daniel Henrique Barboza , Alex Williamson Subject: [PATCH kernel RFC 0/2] vfio, powerpc/powernv: Isolate GV100GL Date: Fri, 15 Mar 2019 19:18:33 +1100 Message-Id: <20190315081835.14083-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.17.1 Sender: kvm-ppc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm-ppc@vger.kernel.org Here is an attempt to isolate NVLink interconnects between GPU to let them be passed through individually. At the moment I mostly wonder about the sanity of the appoach. Please comment. Thanks. Alexey Kardashevskiy (2): vfio_pci: Allow device specific error handlers vfio-pci-nvlink2: Implement interconnect isolation drivers/vfio/pci/vfio_pci_private.h | 5 ++ arch/powerpc/platforms/powernv/npu-dma.c | 24 +++++- drivers/vfio/pci/vfio_pci.c | 17 ++++ drivers/vfio/pci/vfio_pci_nvlink2.c | 98 ++++++++++++++++++++++++ 4 files changed, 142 insertions(+), 2 deletions(-)