Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp420219pxy; Wed, 21 Apr 2021 06:17:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXhErYjSjjrzrSN5aiklHVT/C/VB0zJclSbXjmX8R092ktUhMaoRnkvdW6VlIMzrKX4NEw X-Received: by 2002:a63:f451:: with SMTP id p17mr21605652pgk.150.1619011069465; Wed, 21 Apr 2021 06:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619011069; cv=none; d=google.com; s=arc-20160816; b=WAhMny+AV1Cyv9ztgALHCxVh3Xn8Ye/Z6ts5nu6VZp8A6pRqM6r3Lz5KGo59nTbLhU tu4D4OktLGi9fhDwPAjCAkEkfa/J0x0ubUy5RXcbnm9BUai5zRFSVvMqN/+j1ipEicXr rXcAsukE/L+Prrl8uGJoLUilzdCsBfafbMb/kAYOHzXrl9rUG2xQ45QH8in3lk8cp3O/ AZ5FeBnyZYjCdC/fg5YaFU8W8d7nE4Vbo1mB5aKX+jziGGQPs/WLDLE2rZHZDk7k7hzF AiyCOhoOupjg7MTj3k7FQxfz+YDBwupEs2vh+p8FiHqyDLG1qopDTFruRwzMIiAMP/sy OzxA== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=ammcL17xQG323GUpgIfJ1rC4S9lOmeX72km7gG37kWA=; b=ZRz9E7dWAnC4f7s8XeYBJHhkeZgTmgc5tYUhdCPfmu0GkvuYB3nsEO/FZKlUrF9uc1 QTj/gI/IdvmRbUpgpgyZn6Cx/iK07PCJWLYg8E7cyDA5XwjMbSp6xmg7dNRtLFlOlH4n jpl7dKj0XEsZJwmzgkYZcj3qkcOFboODa3XaAvNRXKH4F65q3PnHL3tNO21Rt0RoK43l PXPUKSHZivG534nVhYS1TGVq9uAHc7zqQMM/ps6TL29xcavQqw5FO2IW0rlR62tt8caL BdjNLDHFLmDOjFYu5CA9dfPGo600oLkJ8BDjg/Mmy8hR9fceBbpXw0VgHVJOFyCjbDGO aEtw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si2459451plg.52.2021.04.21.06.17.36; Wed, 21 Apr 2021 06:17:49 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242743AbhDUNPr (ORCPT + 99 others); Wed, 21 Apr 2021 09:15:47 -0400 Received: from ozlabs.org ([203.11.71.1]:49019 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242222AbhDUNJ4 (ORCPT ); Wed, 21 Apr 2021 09:09:56 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4FQLVV2DJpz9vFw; Wed, 21 Apr 2021 23:09:22 +1000 (AEST) From: Michael Ellerman To: Tyrel Datwyler , mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20210402001325.939668-1-tyreld@linux.ibm.com> References: <20210402001325.939668-1-tyreld@linux.ibm.com> Subject: Re: [PATCH] powerpc/pseries: Add shutdown() to vio_driver and vio_bus Message-Id: <161901050031.1961279.6886013508565602654.b4-ty@ellerman.id.au> Date: Wed, 21 Apr 2021 23:08:20 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Apr 2021 18:13:25 -0600, Tyrel Datwyler wrote: > Currently, neither the vio_bus or vio_driver structures provide support > for a shutdown() routine. > > Add support for shutdown() by allowing drivers to provide a > implementation via function pointer in their vio_driver struct and > provide a proper implementation in the driver template for the vio_bus > that calls a vio drivers shutdown() if defined. > > [...] Applied to powerpc/next. [1/1] powerpc/pseries: Add shutdown() to vio_driver and vio_bus https://git.kernel.org/powerpc/c/39d0099f94390eb7a677e1a5c9bb56a4daa242a1 cheers