Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3906158pxy; Mon, 26 Apr 2021 12:39:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaKoDzkuy7H4miGw5kNEydavhYUC7gPFD6IV7b8P2Z0K4++cOB8S1MynvJPzZKKlw+Auhn X-Received: by 2002:a63:f34e:: with SMTP id t14mr18196723pgj.205.1619465982820; Mon, 26 Apr 2021 12:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619465982; cv=none; d=google.com; s=arc-20160816; b=e89vaOWDnsGf4q8UyjKBeaH0MQHooHMdeWnyqZAVAHu5NzsdTTk1jD3gd847IwJkPx tGzHtDH4D0+yGjFKhV2MO4BeUlCeuyBiUTjFnaf7qEjZZ2mHKzg5iUgd1inmC3G2xwhP d+4pArZVQy8q1tAergbSJuT84U/andLWn4NnVBoVMk4h2/dRvi5UgX31YNETmGwZj8k1 FXt5+mq1ymRTdbdMiJbXfaD2L1t7zAwgpoEFR2e08V5c+DXwS8e48fRCl7GEK0XAA6A3 dpAwpaRQPPDU3yxkDJgv9PVcN7nZe+ccNxQ+9oB+TQhrztl4ke/EF4Ecoh5kM2Gl7h4G 17lA== 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=EHv0fIxmz1Q+mf+5JqjbH8u/oeuUq3vqULPyyQz5N/U=; b=JIobB0/lCFtySckDdNnCS6Bt+6odzVARQFflAEIlDD//SVjpvZgNoC/gQldB703N34 EcIUI+bTbtf+CbsUbJ527B+vKjBxi0kfE3s3RiT91+U9G8w38f8MoI1L5lFi+458C5cI PSv/GgJGCrIa3r1+MqZ92tFpFUBeqXPHDIULLA69TNEwZLHjU6ZlQ1Q3bnnxUfrXbqFd 9NYfZczndSvPfcfFDj75bmeS7vS4UliJsVX8j8lnqeM6Hu0t/OPWbWgXSKu7PSc3f/+w KGvMO67QGynRFc0x5UqMLInyu99rrP2qXyi5i7EunTbStUlECsVP64ekLmyFkM6T09+6 1LZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BOumx68e; 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 b184si690551pfg.138.2021.04.26.12.39.30; Mon, 26 Apr 2021 12:39:42 -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=BOumx68e; 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 S240135AbhDZTQb (ORCPT + 99 others); Mon, 26 Apr 2021 15:16:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:49782 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238085AbhDZTQ3 (ORCPT ); Mon, 26 Apr 2021 15:16:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619464547; 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=EHv0fIxmz1Q+mf+5JqjbH8u/oeuUq3vqULPyyQz5N/U=; b=BOumx68eAQlg2ckOjYO4F4ackgnNDhmY6qfDpW0t5+QfifFX+uHiTDe0d9R3l+vf8YxmDI KWWbS9iP2KE3Hd2jhzLGq1hcXFAlGN0KVtk9gk+1y5U+QnxmvPFbEcNi9eHKG5UOUkL+5R SMqx7r96VHDT8349MJDmGho5ypt8Km4= 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-236-goOPhWKlOaWoyOe6agTp1A-1; Mon, 26 Apr 2021 15:15:41 -0400 X-MC-Unique: goOPhWKlOaWoyOe6agTp1A-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 29369CC625; Mon, 26 Apr 2021 19:15:40 +0000 (UTC) Received: from redhat.com (ovpn-113-225.phx2.redhat.com [10.3.113.225]) by smtp.corp.redhat.com (Postfix) with ESMTP id 95A2219C78; Mon, 26 Apr 2021 19:15:39 +0000 (UTC) Date: Mon, 26 Apr 2021 13:15:38 -0600 From: Alex Williamson To: Christoph Hellwig Cc: Shanker R Donthineni , Sinan Kaya , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Vikram Sethi Subject: Re: [PATCH 1/1] PCI: Add pci reset quirk for Nvidia GPUs Message-ID: <20210426131538.0b69c69b@redhat.com> In-Reply-To: <20210426181943.GA1418150@infradead.org> References: <20210423145402.14559-1-sdonthineni@nvidia.com> <20210423093701.594efd86@redhat.com> <20210426181943.GA1418150@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Apr 2021 19:19:43 +0100 Christoph Hellwig wrote: > On Fri, Apr 23, 2021 at 04:45:15PM -0500, Shanker R Donthineni wrote: > > > specific platforms (embedded device?), and the failure mode of the SBR. > > These are not plug-in PCIe GPU cards, will exist on upcoming > > server baseboards. Triggering SBR without firmware notification > > Please submit the quirks together with the actual support for the GPUs > in the nouveau driver, as they are completely useless without that. My default assumption would be that this resolves an issue with assigning this device to a userspace or VM driver through vfio-pci, as most in-kernel drivers don't make use of this interface themselves; they often know more device specific ways to re-initialize hardware. This reset path is also trivially accessible through pci-sysfs. I don't expect nouveau would have much use for this even if it did include support for these devices. Thanks, Alex