# Erratum PCIE-65 patches no longer compile / apply with current Linux kernels

**URL:** <https://community.amperecomputing.com/t/erratum-pcie-65-patches-no-longer-compile-apply-with-current-linux-kernels/764>\
**Category:** General Discussion\
**Created:** [May 28, 2024, 9:37am UTC](https://community.amperecomputing.com/t/erratum-pcie-65-patches-no-longer-compile-apply-with-current-linux-kernels/764 "2024-05-28T09:37:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pimzand](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.amperecomputing.com/pimzand/32/463_2.png) [@pimzand](https://community.amperecomputing.com/u/pimzand)\
**Post date:** [May 28, 2024, 9:37am UTC](https://community.amperecomputing.com/t/erratum-pcie-65-patches-no-longer-compile-apply-with-current-linux-kernels/764/1 "2024-05-28T09:37:29Z")

</div>

With so many of you patching your kernel to allow AMD or Intel GPU’s to run, did nobody notice the erratum PCIE-65 patches need updating? They no longer compile on 6.9.0 and do not apply on 6.10-rc1

See [Issues · AmpereComputing/linux-ampere-altra-erratum-pcie-65 · GitHub](https://github.com/AmpereComputing/linux-ampere-altra-erratum-pcie-65/issues)

---

<div class="post-metadata">

**Author:** ![hrw](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.amperecomputing.com/hrw/32/31_2.png) [@hrw](https://community.amperecomputing.com/u/hrw)\
**Post date:** [May 28, 2024, 10:10am UTC](https://community.amperecomputing.com/t/erratum-pcie-65-patches-no-longer-compile-apply-with-current-linux-kernels/764/2 "2024-05-28T10:10:42Z")

</div>

> AND AS A REMINDER, NO WARRANTIES OR SUPPORT IS PROVIDED.

Looks like you are on your own.

---

<div class="post-metadata">

**Author:** ![pimzand](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.amperecomputing.com/pimzand/32/463_2.png) [@pimzand](https://community.amperecomputing.com/u/pimzand)\
**Post date:** [May 28, 2024, 10:26am UTC](https://community.amperecomputing.com/t/erratum-pcie-65-patches-no-longer-compile-apply-with-current-linux-kernels/764/3 "2024-05-28T10:26:02Z")

</div>

No warranties or support in the formal sense. But we are not on our own here.

---

<div class="post-metadata">

**Author:** ![pimzand](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.amperecomputing.com/pimzand/32/463_2.png) [@pimzand](https://community.amperecomputing.com/u/pimzand)\
**Post date:** [May 31, 2024, 8:54am UTC](https://community.amperecomputing.com/t/erratum-pcie-65-patches-no-longer-compile-apply-with-current-linux-kernels/764/4 "2024-05-31T08:54:43Z")

</div>

The patches have just been fixed in the Github repository.  
They have been fixed in such a way, that they now apply and compile on kernel 6.9 and 6.10-rc1, yet still apply and compile on kernels 6.7 and 6.8.  
Great work!

---

<div class="post-metadata">

**Author:** ![pimzand](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.amperecomputing.com/pimzand/32/463_2.png) [@pimzand](https://community.amperecomputing.com/u/pimzand)\
**Post date:** [January 14, 2025, 6:31pm UTC](https://community.amperecomputing.com/t/erratum-pcie-65-patches-no-longer-compile-apply-with-current-linux-kernels/764/5 "2025-01-14T18:31:16Z")

</div>

It happened again:

> <https://github.com/AmpereComputing/linux-ampere-altra-erratum-pcie-65/issues/5>
>
> \`\`\`
> $ make kernelversion
> 6.13.0-rc7
> 
> $ patch -p1 \< ../patches/linux-ampere-a…ltra-erratum-pcie-65/v6.7/0002-ampere-arm64-Work-around-Ampere-Altra-erratum-82288-.patch
> patching file Documentation/arch/arm64/silicon-errata.rst
> Hunk #1 succeeded at 53 with fuzz 1 (offset 1 line).
> patching file arch/arm64/Kconfig
> Hunk #1 succeeded at 459 (offset 22 lines).
> patching file arch/arm64/include/asm/pci.h
> patching file arch/arm64/include/asm/pgtable.h
> Hunk #1 succeeded at 258 with fuzz 1 (offset 28 lines).
> Hunk #2 succeeded at 702 (offset 118 lines).
> patching file arch/arm64/mm/ioremap.c
> Hunk #1 succeeded at 14 with fuzz 2 (offset 11 lines).
> Hunk #2 FAILED at 29.
> 1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/mm/ioremap.c.rej
> patching file drivers/pci/quirks.c
> Hunk #1 succeeded at 6257 with fuzz 2 (offset 45 lines).
> 
> \`\`\`

I would love to try Xe graphics again when 6.13 is out, but most certainly these patches will still be required.

---

<div class="post-metadata">

**Author:** ![pimzand](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.amperecomputing.com/pimzand/32/463_2.png) [@pimzand](https://community.amperecomputing.com/u/pimzand)\
**Post date:** [January 30, 2025, 7:16pm UTC](https://community.amperecomputing.com/t/erratum-pcie-65-patches-no-longer-compile-apply-with-current-linux-kernels/764/6 "2025-01-30T19:16:53Z")

</div>

The good news: This just got fixed! There’s a PR that applies to both kernels 6.12 and 6.13.  
The bad news: The patches no longer compile on kernel 6.13.

I am really setting my hopes on kernel 6.13, for getting Intel Xe graphics to work.  
There have been many improvements, but quite likely, Xe will still need the PCIE-65 patches.
