Re: [PATCH] gpio: pl061: Fix the issue failed to register the ACPI interruption
From: Wei Xu <xuwei5@hisilicon.com>
Date: 2019-08-16 08:41:53
Also in:
linux-gpio, lkml
Hi Linus, On 2019/8/14 17:04, Linus Walleij wrote:
Hi Wei, thanks for your patch! This doesn't apply for my "devel" branch, can you rebase on this: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/log/?h=devel We have moved some ACPI headers around recently.
Thanks to review! I just sent out the v2 based on that.
On Mon, Aug 12, 2019 at 1:28 PM Wei Xu [off-list ref] wrote:quoted
Invoke acpi_gpiochip_request_interrupts after the acpi data has been attached to the pl061 acpi node to register interruption.Makes sense.quoted
Fixes: 04ce935c6b2a ("gpio: pl061: Pass irqchip when adding gpiochip")I doubt this is a regression since I haven't seen anyone use this gpiochip with ACPI before. Please rename the patch "gpio: pl061: Add ACPI support" unless you can convince me it worked without changes before.
In the v2, I attached the log on QEMU v3.0.0 and Linux kernel v5.2.0-rc7 and the pl061 driver can register ACPI interruption. Based on that, I did not rename the patch but I am OK to rename it if you have any doubt.
Please include some ACPI people on review of this. From MAINTAINERS: ACPI M: "Rafael J. Wysocki" [off-list ref] M: Len Brown [off-list ref] L: linux-acpi@vger.kernel.org I would also include Andy Shevchenko and Mika Westerberg for the GPIO aspects.
Copied to all of them in the v2. Thanks! Best Regards, Wei
Thanks! Linus Walleij .
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel