Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1119424ybg; Wed, 29 Jul 2020 06:23:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylyrTiAJMjTCq4BtfBjjUlaeKzO7+/xUDyb0cwqwADrAVrMEYQ2qhQijTqS1pln8UZCMPu X-Received: by 2002:a05:6402:1f8:: with SMTP id i24mr10829854edy.251.1596029024105; Wed, 29 Jul 2020 06:23:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596029024; cv=none; d=google.com; s=arc-20160816; b=X+peKXH4P3W8jC/mpU+MsmkCwXK6ruNNJYuAwXTE14MCq47P0z66VlnE/dQ5iXMZgL /eKIqt2KyFuCkHFDAB7qzjFf2WRgs9hgCeaa/j1mefXPXVPhIPTfJIkbLJbIgkoYwAli Z+P6nGHn40R8ZaxFUiIMvgNaPRaHEU2NkeL5d3ojDc/bdvTjR0IdCbAiSXrvZuloK5vJ pHFY6/Izhek9uYLJ8CxN4FJA83F7a5cgBHsBA2Ehk+vKn7iWW42avFr/so5+Gfekzu22 +1s8QWoOoRszCS0ntmGD1CkyRl58xcxn6wzRFgKy2cWRos1mxlCsms9fEgKm1ioNtJhH nfmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dZVkEmQto56AmO9M+KODR9+FXiNg4THi2B1DDl0qH74=; b=nrUTNnwK8VCwV8f7bPJ7u9RlCxzuyJAXlkYiHiOfPr6DosRAqX7+S2kbAfkVj1G0hy EpzjpMNng/2sv5HpdjQoG/2VblBeh5eUY0/0zV8IUIjFbZMwMmo0vtY26tksC0nlHB6Z lbgVLm/0KN6OsXX6lqbruLDxe9kQ4rYYYSm7/hQ5OakGP3TRRwvlk74dTe9njcGE4V99 zq6VuarTQUZZoT23lmKa5iiBUcn9TQL2zcz1Lhw/P1LITxUZ6et+gIB5bJIMlvT+w/4T dC/zFf49TEq12l37NVP161hOIOlUvn4cAP0v29wINoKVnjsWg/kcxOqePkOAJz0o1CZq 970w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RWKI0VB4; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s10si1202628edy.451.2020.07.29.06.23.22; Wed, 29 Jul 2020 06:23:44 -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=@gmail.com header.s=20161025 header.b=RWKI0VB4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727816AbgG2NWz (ORCPT + 99 others); Wed, 29 Jul 2020 09:22:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727121AbgG2NWu (ORCPT ); Wed, 29 Jul 2020 09:22:50 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFB0DC061794; Wed, 29 Jul 2020 06:22:49 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id k4so11777109pld.12; Wed, 29 Jul 2020 06:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=dZVkEmQto56AmO9M+KODR9+FXiNg4THi2B1DDl0qH74=; b=RWKI0VB42RHJGqcMkvesW4CLvXoeicTe46yk22J3WanwTaBUL4YtE8IKorU9KiKCNN vJyYbYPBBOokZboD5Trd8uT2uAFLLebivVHhMI9pdWYgfa/ZNExmBQZqLPT/MZhfm2eX 8uRX8wOQqTPALEFZ1e2rCkbcL5HlR3XEGfJC+BVImp39oPZkbPhABKXht8aaOH93iTdB zxgjEKDcTx9bV2MXWc0cwek+1catpwycUsTk1AUN294kBGM46lfAgtCYe9ejGQYyVLR6 ZvCx6XwQehErsZMxDhgDmCECRU4V/QF5yEC8ncrzKpweoK5P/HtJDd8MXfrMiTzUytpC Bm5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dZVkEmQto56AmO9M+KODR9+FXiNg4THi2B1DDl0qH74=; b=lg7Q2cVXIeM3tCEWyRfN3nj+5Y5z1LQCYCaR6k5GfRiSQ6ncb4BqnQCa045wmlfcM6 wEtU14h37RJgcyAOn1xO2CfTmsn26tJ1TLpUruTYwFxkDPhsveM/+GG7lr+Rg42iekIa s18lNYSbB7plfL8LKVsSnSgsgEpBfZg4TemCEI7J2P8WfONLWVYr6Sh9610SjrsNNZqN VFUYKzYcc2fR7RyXSZbOaDiP37bADT+jXBqUrobwGmncJKK87t0Js6Ln7LY68dDHNX1W OuhxmENCGIGvRZslN27eCHjQhVHgvsjcqjKNa+0TXz/+f/VQqoJGG0c4Y4kAEQDAY0MW dC1A== X-Gm-Message-State: AOAM533uC64hEO7t2ABLZN+4N7CUIy+YH19fywOMjKzYwNRznM2PXbGu FM+PTyu4MNmBUtflPUZtYmM= X-Received: by 2002:a17:902:b20a:: with SMTP id t10mr26885947plr.185.1596028969400; Wed, 29 Jul 2020 06:22:49 -0700 (PDT) Received: from gmail.com ([103.105.152.86]) by smtp.gmail.com with ESMTPSA id r25sm2244428pgv.88.2020.07.29.06.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 06:22:48 -0700 (PDT) Date: Wed, 29 Jul 2020 18:51:10 +0530 From: Vaibhav Gupta To: Bjorn Helgaas Cc: Bjorn Helgaas , Bjorn Helgaas , Vaibhav Gupta , "David S. Miller" , Jakub Kicinski , Kevin Curtis , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan Subject: Re: [PATCH v1] farsync: use generic power management Message-ID: <20200729132110.GA605@gmail.com> References: <20200729101730.GA215923@gmail.com> <20200729122954.GA1920458@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200729122954.GA1920458@bjorn-Precision-5520> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 29, 2020 at 07:29:54AM -0500, Bjorn Helgaas wrote: > On Wed, Jul 29, 2020 at 03:47:30PM +0530, Vaibhav Gupta wrote: > > > > Agreed. Actually, as their presence only causes PCI core to call > > pci_legacy_suspend/resume() for them, I thought that after removing > > the binding from "struct pci_driver", this driver qualifies to be > > grouped under genric framework, so used "use generic power > > management" for the heading. > > > > I should have written "remove legacy bindning". > > This removed the *mention* of fst_driver.suspend and fst_driver.resume, > which is important because we want to eventually remove those members > completely from struct pci_driver. > > But fst_driver.suspend and fst_driver.resume *exist* before and after > this patch, and they're initialized to zero before and after this > patch. > > Since they were zero before, and they're still zero after this patch, > the PCI core doesn't call pci_legacy_suspend/resume(). This patch > doesn't change that at all. > Got it. Thanks :) > > But David has applied the patch, should I send a v2 or fix to update > > message? > > No, I don't think David updates patches after he's applied them. But > if the situation comes up again, you'll know how to describe it :) > Thanks a lot. :D Vaibhav Gupta > Bjorn