Commit Graph

2 Commits

Author SHA1 Message Date
Mark Langsdorf 5f55a574e6 platform/x86: intel: int0002_vgpio: Pass IRQF_ONESHOT to request_irq()
JIRA: https://issues.redhat.com/browse/RHEL-54149

commit 8f812373d195810c68e1beeabe2317f8c6a31012
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Sat Feb 10 12:01:49 2024 +0100

Since commit 7a36b901a6eb ("ACPI: OSL: Use a threaded interrupt handler
for SCI") the ACPI OSL code passes IRQF_ONESHOT when requesting the SCI.

Since the INT0002 GPIO is typically shared with the ACPI SCI the INT0002
driver must pass the same flags.

This fixes the INT0002 driver failing to probe due to following error +
as well as removing the backtrace that follows this error:

"genirq: Flags mismatch irq 9. 00000084 (INT0002) vs. 00002080 (acpi)"

Fixes: 7a36b901a6eb ("ACPI: OSL: Use a threaded interrupt handler for SCI")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240210110149.12803-1-hdegoede@redhat.com
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
2024-08-22 11:21:42 -04:00
Prarit Bhargava 3798108d13 platform/x86: intel_int0002_vgpio: Move to intel sub-directory
JIRA: https://issues.redhat.com/browse/RHEL-25415

Conflicts: Minor drift issues.

commit daef4c5a042302a047e56e8985f8d50d85f45802
Author: Kate Hsuan <hpa@redhat.com>
Date:   Fri Aug 20 14:04:54 2021 +0300

    platform/x86: intel_int0002_vgpio: Move to intel sub-directory

    Move Intel vGPIO (INT0002) driver to intel sub-directory
    to improve readability.

    Signed-off-by: Kate Hsuan <hpa@redhat.com>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Link: https://lore.kernel.org/r/20210820110458.73018-17-andriy.shevchenko@linux.intel.com
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
2024-03-20 09:42:49 -04:00