Skip to content

ACPI: resource: Fix regressions from "Remove "Zen" specific match and quirks"

Hans de Goede linux-acpi regressions stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 11 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v11 patch 16 repliesSuperseded

Changes in v3 from the cover letter

- 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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ACPI: resource: revert "Remove "Zen" specific match and quirks"drivers/acpi/resource.c+60 -00 replies
2/3ACPI: resource: Always use MADT override IRQ settings for all legacy non i8042 IRQsdrivers/acpi/resource.c+8 -200 replies
3/3ACPI: resource: Honor MADT INT_SRC_OVR settings for IRQ1 on AMD Zenarch/x86/include/asm/acpi.h arch/x86/kernel/acpi/boot.c drivers/acpi/resource.c+10 -010 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchAugust Wikerfors
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] ACPI: resource: Fix regressions from "Remove "Zen" specific match and quirks"

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/[email protected]/

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(+)
Signature · 1 line
2.41.0