public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] ACPI: resource: Fix regressions from "Remove "Zen" specific match and quirks"
@ 2023-08-09  8:55 Hans de Goede
  2023-08-09  8:55 ` [PATCH v3 1/3] ACPI: resource: revert " Hans de Goede
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Hans de Goede @ 2023-08-09  8:55 UTC (permalink / raw)
  To: Rafael J . Wysocki, Mario Limonciello, August Wikerfors
  Cc: Hans de Goede, Linux regressions mailing list, stable, linux-acpi,
	x86

Hi All,

Here is v3 of my series to address the regressions wrt PS/2 IRQs
not working on AMD zen models.

Changes in v3:
- Add links to more bug reports caused by a9c4a912b7dc to the commitmsg
- Also do the ZEN check for IRQ 12 (Reported-by August Wikerfors)
- Move the gsi != 1 && gsi != 12 check to inside the #ifdef CONFIG_X86,
  these being the i8042 IRQs is X86 specific and the "return true;" is
  always done for #ifndef CONFIG_X86 already
- Make acpi_int_src_ovr an array which keep track of the status
  of all legacy IRQs and not just IRQ 1

Changes in v2:
- Add 2 patches on top of the revert to avoid the revert causing
  other models which are known to need the override to regress.

As discussed in the v1 thread:
https://lore.kernel.org/linux-acpi/20230806151453.10690-1-hdegoede@redhat.com/

This series adds a few fixes on top of the revert to avoid the revert
causing regressions on other AMD Zen systems where dropping the special
Zen behavior was known to fix things.

As also mentioned in the thread this is intended as a short term fix
for 6.4.y >= 6.4.7 and 6.5 to get all the systems which were working
fine before commit a9c4a912b7dc ("ACPI: resource: Remove "Zen"
specific match and quirks") to work again.

The long term plan is to see if we can read back what the BIOS
has actually programmed as IRQ trigger-type / polarity into
the IOAPIC.

Regards,

Hans

Hans de Goede (3):
  ACPI: resource: revert "Remove "Zen" specific match and quirks"
  ACPI: resource: Always use MADT override IRQ settings for all legacy
    non i8042 IRQs
  ACPI: resource: Honor MADT INT_SRC_OVR settings for IRQ1 on AMD Zen

 arch/x86/include/asm/acpi.h |  2 ++
 arch/x86/kernel/acpi/boot.c |  4 +++
 drivers/acpi/resource.c     | 52 +++++++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-08-10  9:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09  8:55 [PATCH v3 0/3] ACPI: resource: Fix regressions from "Remove "Zen" specific match and quirks" Hans de Goede
2023-08-09  8:55 ` [PATCH v3 1/3] ACPI: resource: revert " Hans de Goede
2023-08-09  8:55 ` [PATCH v3 2/3] ACPI: resource: Always use MADT override IRQ settings for all legacy non i8042 IRQs Hans de Goede
2023-08-09  8:55 ` [PATCH v3 3/3] ACPI: resource: Honor MADT INT_SRC_OVR settings for IRQ1 on AMD Zen Hans de Goede
2023-08-09  9:20   ` Jiri Slaby
2023-08-09 14:39     ` Hans de Goede
2023-08-09 14:57       ` Rafael J. Wysocki
2023-08-09 15:00         ` Hans de Goede
2023-08-09 19:24           ` Rafael J. Wysocki
2023-08-09 15:58   ` August Wikerfors
2023-08-09 19:20     ` Hans de Goede
2023-08-09 19:25       ` Rafael J. Wysocki
2023-08-09 19:41         ` Hans de Goede
2023-08-10  9:07           ` Hans de Goede
2023-08-09 16:23 ` [PATCH v3 0/3] ACPI: resource: Fix regressions from "Remove "Zen" specific match and quirks" August Wikerfors

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox