Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1299494imm; Fri, 8 Jun 2018 13:35:24 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLNEno0VGIiJSdE7SI+uZGnSP4L64UDKy+rQcQXobCZURDnD0f+7qZ/5xaI5YS6b1Lmd2y0 X-Received: by 2002:a62:6cc4:: with SMTP id h187-v6mr7458818pfc.145.1528490124186; Fri, 08 Jun 2018 13:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528490124; cv=none; d=google.com; s=arc-20160816; b=VXoDIepqKVNfXSInvJs6hbzR6Se5Kx7yZoQv+HeKsI2PoD5FfmPYm0al9TzTfiTGP3 Ovr2BqZbgR9nIz+onTKtDq18QkU1BIQOwcG8g72p6E/HkppL1nPJDIo0nbe/z9AJQPJ8 DjMD1cQxgFEBJOHIepF02g/qRa+1rxqjipNFEy7XW+AxAYllCVJX59nvso68bIxmcio0 /2eeRUhRAazyEtHCELxDbYs5RBMqpHyjQH+76BRcwjwwhaMz9ChC5YQ3yfPU3GSv9qWc qY9NmhU3D4pS5SRUOcuQwcZx4x5d4ICFqEiE9AcG8DGXQAkwFhQbH/HYDzAnQD1cbaKz fPnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=3m8ohWoBAKbvq5BywwQSpl+hS95jqTTgJnUyjhLZGFA=; b=XmaTEq23tunkQpaS0SRi+HbmSIstX/pvzEV+AN/+sCHpqqnBxUkiM9g4fj+njjQ/zp f6+qZHtCuYoqb6bce9P3j4v+dO0NBlPWJ16ZLj4HhVJm03xCGCpekl+HIVPbvDXCBl8b c7XR2NmeC/31mkqHOeCQYp0KCMSOjqLw4zZd3oVX6T1mzL/R0e3bDL8kaC4q1U0Iu1O5 R/Vqa6x7xmMKAn5WdInaZyatJTMUh/Zb0T8858R67cjDL/ekwashi69YI0nrayMI5Vag RrtPeT29mSt6OSz1GM81hk2cdBs/hFzeTbAUB8PS+JOWpryw4Olov9n18sgeL6hw0lAG wxnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=I6GPDD7F; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14-v6si21069382pls.32.2018.06.08.13.35.09; Fri, 08 Jun 2018 13:35:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=I6GPDD7F; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753101AbeFHUek (ORCPT + 99 others); Fri, 8 Jun 2018 16:34:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:59452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756AbeFHUei (ORCPT ); Fri, 8 Jun 2018 16:34:38 -0400 Received: from localhost (unknown [150.199.191.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 056C22087E; Fri, 8 Jun 2018 20:34:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528490078; bh=fAmxTkNMwYqT1EFtqjJPlmE0wbZWZW24OK/SA7v3n18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I6GPDD7FQzevQKvqX0886ARgMooFIZaq1vox5wA/6LNCIgmnbfzNGSZTGdKLoLm2i CWmK8nYH8+mlkEqEOcGYxtqlQdltmMaVolZFNDXNdRqkwSwn+lCpwOToyNosT0xzLf iL/iaRF7O7bHIkZCrNoPbNNvHzLGnI8hFIhz0qNQ= Date: Fri, 8 Jun 2018 15:34:37 -0500 From: Bjorn Helgaas To: Keith Busch Cc: linux-pci@vger.kernel.org, Borislav Petkov , Oza Pawandeep , linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 09/13] PCI/AER: Move aer_irq() declaration to portdrv.h Message-ID: <20180608203437.GA17897@bhelgaas-glaptop.roam.corp.google.com> References: <152848785553.11888.12243539903985770441.stgit@bhelgaas-glaptop.roam.corp.google.com> <152848834128.11888.12263280185471104825.stgit@bhelgaas-glaptop.roam.corp.google.com> <20180608201713.GA24554@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180608201713.GA24554@localhost.localdomain> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 08, 2018 at 02:17:13PM -0600, Keith Busch wrote: > On Fri, Jun 08, 2018 at 03:05:41PM -0500, Bjorn Helgaas wrote: > > The aer_irq() declaration is the only thing needed by aer_inject.c. Move > > it to portdrv.h so we eventually get rid of aerdrv.h completely. No > > functional change intended. > > Nothing against what you're doing here, but it does seem odd that aer_irq > is required to be exported just for the error injection to directly call > it. I feel like aer-inject should route it through the irq subsystem, > like with generic_handle_irq. ? I totally agree, that's ugly, but I don't have a good idea for how to fix it yet. (And I don't want to do anything more than the simplest possible code moves at this stage, since I think restructuring like this would have to be done at the end of the merge window to avoid major disruption to people working on this code.) Thanks for taking a look over it! Bjorn