Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934781AbcJXDtE (ORCPT ); Sun, 23 Oct 2016 23:49:04 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42544 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933883AbcJXDs5 (ORCPT ); Sun, 23 Oct 2016 23:48:57 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 0D7FD61ADC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH V4 2/3] Revert "ACPI,PCI,IRQ: remove SCI penalize function" To: Bjorn Helgaas References: <1476915664-27231-1-git-send-email-okaya@codeaurora.org> <1476915664-27231-3-git-send-email-okaya@codeaurora.org> <20161021015814.GC31044@localhost> Cc: linux-acpi@vger.kernel.org, rjw@rjwysocki.net, bhelgaas@google.com, ravikanth.nalla@hpe.com, linux@rainbow-software.org, timur@codeaurora.org, cov@codeaurora.org, jcm@redhat.com, alex.williamson@redhat.com, Len Brown , x86@kernel.org, "H. Peter Anvin" , linux-pm@vger.kernel.org, linux-pci@vger.kernel.org, agross@codeaurora.org, linux-kernel@vger.kernel.org, Ingo Molnar , Pavel Machek , linux-arm-msm@vger.kernel.org, wim@djo.tudelft.nl, Thomas Gleixner , linux-arm-kernel@lists.infradead.org From: Sinan Kaya Message-ID: <72cf5204-b6cd-d3c0-a354-c1e11dfe7331@codeaurora.org> Date: Sun, 23 Oct 2016 23:48:52 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161021015814.GC31044@localhost> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1586 Lines: 37 On 10/20/2016 9:58 PM, Bjorn Helgaas wrote: > I like this patch fine, except for the changelog. I don't think it's > useful to describe this as a revert and give all the historical > details. I think the important part is something like this: > > We previously used irq_get_trigger_type(irq) to help compute the > penalty for the SCI, but that depends on the SCI having been > registered already. Add acpi_penalize_sci_irq() so platforms can > tell us the SCI IRQ, trigger, and polarity so we can compute the > penalty even before the SCI has been registered. OK, will replace with this and also change the commit summary as "ACPI,PCI,IRQ: save SCI IRQ details for runtime penalty calculation" > > Acked-by: Bjorn Helgaas > >> > Link: https://lkml.org/lkml/2016/10/4/283 >> > Signed-off-by: Sinan Kaya >> > Fixes: commit 103544d86976 ("ACPI,PCI,IRQ: reduce resource requirements") >> > Fixes: commit 9e5ed6d1fb87 ("ACPI,PCI,IRQ: remove SCI penalize function") > "commit" is redundant; it's sufficient to say: OK. I have been fighting with checkpatch. Checkpatch doesn't like a commit summary without "commit 12 char SHA" > > Fixes: 103544d86976 ("ACPI,PCI,IRQ: reduce resource requirements") > > In fact, I don't think you really need to include "commit" in the > reference to 9e5ed6d1fb87 above either. > -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.