• [PATCH] Fix Debian bug #990279 on ppc64le systems

    From Timothy Pearson@21:1/5 to All on Wed Feb 9 20:20:01 2022
    Provided to fix stable Bullseye kernels

    Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
    ---
    .../debian/fix-ppc64-amdgpu-page-size.patch | 22 +++++++++++++++++++
    debian/patches/series | 1 +
    2 files changed, 23 insertions(+)
    create mode 100644 debian/patches/debian/fix-ppc64-amdgpu-page-size.patch

    diff --git a/debian/patches/debian/fix-ppc64-amdgpu-page-size.patch b/debian/patches/debian/fix-ppc64-amdgpu-page-size.patch
    new file mode 100644
    index 000000000..1eaeca0d0
    --- /dev/null
    +++ b/debian/patches/debian/fix-ppc64-amdgpu-page-size.patch
    @@ -0,0 +1,22 @@
    +Description: Fix amdgpu ppc64le page size
    + Apply fix from Debian bug #990279#47
    + Tested to work on multiple RCS Talos II systems
    +
    +Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990279#47 +Bug-Debian: https://bugs.debian.org/990279
    +Reviewed-By: Timothy Pearson <tpearson@raptorengineering.com>
    +
    +--- linux-5.10.92.orig/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
    ++++ linux-5.10.92/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
    +@@ -766,9 +766,9 @@ static int amdgpu_info_ioctl(struct drm_
  • From Timothy Pearson@21:1/5 to All on Wed Feb 9 20:30:02 2022
    Provided to fix stable Bullseye kernels

    Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
    ---
    .../debian/fix-ppc64-amdgpu-page-size.patch | 22 +++++++++++++++++++
    debian/patches/series | 1 +
    2 files changed, 23 insertions(+)
    create mode 100644 debian/patches/debian/fix-ppc64-amdgpu-page-size.patch

    diff --git a/debian/patches/debian/fix-ppc64-amdgpu-page-size.patch b/debian/patches/debian/fix-ppc64-amdgpu-page-size.patch
    new file mode 100644
    index 000000000..1eaeca0d0
    --- /dev/null
    +++ b/debian/patches/debian/fix-ppc64-amdgpu-page-size.patch
    @@ -0,0 +1,22 @@
    +Description: Fix amdgpu ppc64le page size
    + Apply fix from Debian bug #990279#47
    + Tested to work on multiple RCS Talos II systems
    +
    +Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990279#47 +Bug-Debian: https://bugs.debian.org/990279
    +Reviewed-By: Timothy Pearson <tpearson@raptorengineering.com>
    +
    +--- linux-5.10.92.orig/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
    ++++ linux-5.10.92/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
    +@@ -766,9 +766,9 @@ static int amdgpu_info_ioctl(struct drm_