From 66033cef649138888d31cce691a828d7eaa1a773 Mon Sep 17 00:00:00 2001 From: crashniels <39709384+crashniels@users.noreply.github.com> Date: Wed, 5 Jun 2024 22:10:52 +0200 Subject: [PATCH] Bump kernel to 5.15.110 fix linting issues using pmbootstrap lint --- ...001-feat-very-basic-platform-support.patch | 26 +++--- .../0002-feat-amdgpu-patches.patch | 66 +++++++------- .../0003-feat-radeon-patches.patch | 22 ++--- .../0004-feat-temperature-sensors.patch | 4 +- .../0005-feat-sdhci-support.patch | 14 +-- .../0006-feat-ethernet-support.patch | 4 +- .../0007-feat-usb-support.patch | 23 ++--- .../0008-feat-configuration.patch | 4 +- ...odernize-ps4-apcie-so-it-works-with-.patch | 8 +- .../0010-feat-working-state-broken-gpu.patch | 28 +++--- ...-applied-patches-and-missing-patches.patch | 8 +- .../0012-fix-radeon-drivers.patch | 4 +- .../0013-fix-amdgpu-drivers.patch | 4 +- ...4-fix-re-add-legacy-bridge-functions.patch | 4 +- ...-added-belize-ahci-support-in-a-univ.patch | 4 +- ...y-needs-to-be-the-amount-of-interrup.patch | 4 +- ...0017-Also-on-liverpool-num_crtc-is-6.patch | 4 +- ...ix-cherrypick-doubled-CHIP_LIVERPOOL.patch | 4 +- .../linux-sony-ps4/0019-Missing-break.patch | 4 +- ...0-fix-needed-for-video-codec-support.patch | 6 +- .../0021-fix-gcc-newer-than-11.patch | 31 +++---- .../0022-fix-use-upstream-values.patch | 39 ++++++++ device/testing/linux-sony-ps4/APKBUILD | 90 ++++++++++--------- 23 files changed, 217 insertions(+), 188 deletions(-) create mode 100644 device/testing/linux-sony-ps4/0022-fix-use-upstream-values.patch diff --git a/device/testing/linux-sony-ps4/0001-feat-very-basic-platform-support.patch b/device/testing/linux-sony-ps4/0001-feat-very-basic-platform-support.patch index 0f1910b0693..3b5579cdf04 100644 --- a/device/testing/linux-sony-ps4/0001-feat-very-basic-platform-support.patch +++ b/device/testing/linux-sony-ps4/0001-feat-very-basic-platform-support.patch @@ -1,7 +1,7 @@ -From 6d02e33f54b3eef38cce2615dd98d9a19e6bd9f3 Mon Sep 17 00:00:00 2001 +From a39f0b4736da33e9bee30fa890232892e73a0000 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Sun, 19 Dec 2021 18:23:28 +0100 -Subject: [PATCH 01/20] feat: very basic platform support +Subject: [PATCH 01/22] feat: very basic platform support --- arch/x86/Kconfig | 10 +- @@ -39,10 +39,10 @@ Subject: [PATCH 01/20] feat: very basic platform support create mode 100644 drivers/ps4/ps4-apcie.c diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig -index 1f96809606ac..73fe353b87e5 100644 +index a08ce6360382..c510ff611adc 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig -@@ -549,7 +549,15 @@ config X86_NUMACHIP +@@ -541,7 +541,15 @@ config X86_NUMACHIP Adds support for Numascale NumaChip large-SMP systems. Needed to enable more than ~168 cores. If you don't have one of these, you should say N here. @@ -175,10 +175,10 @@ index c92c9c774c0e..d1fb4f09d727 100644 { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F4) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M30H_DF_F4) }, diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c -index de01903c3735..08081765dc16 100644 +index 5036104d5470..ca800a2f28b3 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c -@@ -518,6 +518,9 @@ void __init x86_64_start_reservations(char *real_mode_data) +@@ -520,6 +520,9 @@ void __init x86_64_start_reservations(char *real_mode_data) case X86_SUBARCH_INTEL_MID: x86_intel_mid_early_setup(); break; @@ -422,10 +422,10 @@ index a110338c860c..6d866a189d6a 100644 obj-$(CONFIG_ATM) += atm/ obj-$(CONFIG_FUSION) += message/ diff --git a/drivers/iommu/amd/init.c b/drivers/iommu/amd/init.c -index 2a822b229bd0..d0b753e4bd31 100644 +index 50ea582be591..ea0e5dc8d88d 100644 --- a/drivers/iommu/amd/init.c +++ b/drivers/iommu/amd/init.c -@@ -2578,6 +2578,7 @@ static void __init free_iommu_resources(void) +@@ -2603,6 +2603,7 @@ static void __init free_iommu_resources(void) free_iommu_all(); } @@ -433,7 +433,7 @@ index 2a822b229bd0..d0b753e4bd31 100644 /* SB IOAPIC is always on this device in AMD systems */ #define IOAPIC_SB_DEVID ((0x00 << 8) | PCI_DEVFN(0x14, 0)) -@@ -2629,6 +2630,7 @@ static bool __init check_ioapic_information(void) +@@ -2654,6 +2655,7 @@ static bool __init check_ioapic_information(void) return ret; } @@ -441,7 +441,7 @@ index 2a822b229bd0..d0b753e4bd31 100644 static void __init free_dma_resources(void) { -@@ -2769,8 +2771,10 @@ static int __init early_amd_iommu_init(void) +@@ -2794,8 +2796,10 @@ static int __init early_amd_iommu_init(void) if (!is_kdump_kernel() || amd_iommu_disabled) disable_iommus(); @@ -2163,10 +2163,10 @@ index 000000000000..d5e87d1ee74e +}; +module_pci_driver(apcie_driver); diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h -index 011f2f1ea5bb..9639b645a907 100644 +index 8a1e26473566..9c62f14fad84 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h -@@ -549,6 +549,8 @@ +@@ -551,6 +551,8 @@ #define PCI_DEVICE_ID_AMD_16H_NB_F4 0x1534 #define PCI_DEVICE_ID_AMD_16H_M30H_NB_F3 0x1583 #define PCI_DEVICE_ID_AMD_16H_M30H_NB_F4 0x1584 @@ -2175,7 +2175,7 @@ index 011f2f1ea5bb..9639b645a907 100644 #define PCI_DEVICE_ID_AMD_17H_DF_F3 0x1463 #define PCI_DEVICE_ID_AMD_17H_M10H_DF_F3 0x15eb #define PCI_DEVICE_ID_AMD_17H_M30H_DF_F3 0x1493 -@@ -891,6 +893,30 @@ +@@ -893,6 +895,30 @@ #define PCI_DEVICE_ID_TI_DRA72x 0xb501 #define PCI_VENDOR_ID_SONY 0x104d diff --git a/device/testing/linux-sony-ps4/0002-feat-amdgpu-patches.patch b/device/testing/linux-sony-ps4/0002-feat-amdgpu-patches.patch index f1440d6ef31..48ac7021af3 100644 --- a/device/testing/linux-sony-ps4/0002-feat-amdgpu-patches.patch +++ b/device/testing/linux-sony-ps4/0002-feat-amdgpu-patches.patch @@ -1,7 +1,7 @@ -From 522659e83843e32995e008cc8c5d5de5d0509171 Mon Sep 17 00:00:00 2001 +From dc3a4684ee5dde8df325a4f94af3d2ca6a248736 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Mon, 20 Dec 2021 12:32:27 +0100 -Subject: [PATCH 02/20] feat: amdgpu patches +Subject: [PATCH 02/22] feat: amdgpu patches --- drivers/gpu/drm/amd/amdgpu/Makefile | 1 + @@ -48,7 +48,7 @@ index 8d0748184a14..bc79dc5dfaac 100644 include $(FULL_AMD_PATH)/pm/Makefile diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h -index f428f94b43c0..8f3a0c5ca344 100644 +index d90da384d185..fc3d11bbd206 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -270,6 +270,9 @@ extern int amdgpu_num_kcq; @@ -62,10 +62,10 @@ index f428f94b43c0..8f3a0c5ca344 100644 #define AMDGPU_SMARTSHIFT_MAX_BIAS (100) #define AMDGPU_SMARTSHIFT_MIN_BIAS (-100) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c -index 0de66f59adb8..4c3884d7e55d 100644 +index c777aff164b7..edceba19b54a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c -@@ -1508,6 +1508,31 @@ static const struct drm_connector_funcs amdgpu_connector_dp_funcs = { +@@ -1516,6 +1516,31 @@ static const struct drm_connector_funcs amdgpu_connector_dp_funcs = { .late_register = amdgpu_connector_late_register, }; @@ -97,7 +97,7 @@ index 0de66f59adb8..4c3884d7e55d 100644 static const struct drm_connector_funcs amdgpu_connector_edp_funcs = { .dpms = drm_helper_connector_dpms, .detect = amdgpu_connector_dp_detect, -@@ -1539,6 +1564,7 @@ amdgpu_connector_add(struct amdgpu_device *adev, +@@ -1547,6 +1572,7 @@ amdgpu_connector_add(struct amdgpu_device *adev, struct i2c_adapter *ddc = NULL; uint32_t subpixel_order = SubPixelNone; bool shared_ddc = false; @@ -105,7 +105,7 @@ index 0de66f59adb8..4c3884d7e55d 100644 bool is_dp_bridge = false; bool has_aux = false; -@@ -1587,6 +1613,18 @@ amdgpu_connector_add(struct amdgpu_device *adev, +@@ -1595,6 +1621,18 @@ amdgpu_connector_add(struct amdgpu_device *adev, if (!amdgpu_connector) return; @@ -124,7 +124,7 @@ index 0de66f59adb8..4c3884d7e55d 100644 connector = &amdgpu_connector->base; amdgpu_connector->connector_id = connector_id; -@@ -1641,12 +1679,21 @@ amdgpu_connector_add(struct amdgpu_device *adev, +@@ -1649,12 +1687,21 @@ amdgpu_connector_add(struct amdgpu_device *adev, case DRM_MODE_CONNECTOR_HDMIA: case DRM_MODE_CONNECTOR_HDMIB: case DRM_MODE_CONNECTOR_DisplayPort: @@ -149,10 +149,10 @@ index 0de66f59adb8..4c3884d7e55d 100644 adev->mode_info.underscan_property, UNDERSCAN_OFF); diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -index 1545884dc703..98e10ea8a911 100644 +index 2f51789d9818..125233cf8287 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -@@ -98,6 +98,8 @@ const char *amdgpu_asic_name[] = { +@@ -106,6 +106,8 @@ const char *amdgpu_asic_name[] = { "KAVERI", "KABINI", "HAWAII", @@ -161,7 +161,7 @@ index 1545884dc703..98e10ea8a911 100644 "MULLINS", "TOPAZ", "TONGA", -@@ -1913,6 +1915,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev) +@@ -1957,6 +1959,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev) #ifdef CONFIG_DRM_AMDGPU_CIK case CHIP_BONAIRE: case CHIP_HAWAII: @@ -170,7 +170,7 @@ index 1545884dc703..98e10ea8a911 100644 case CHIP_KAVERI: case CHIP_KABINI: case CHIP_MULLINS: -@@ -2098,6 +2102,8 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev) +@@ -2144,6 +2148,8 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev) case CHIP_KAVERI: case CHIP_KABINI: case CHIP_MULLINS: @@ -180,10 +180,10 @@ index 1545884dc703..98e10ea8a911 100644 adev->family = AMDGPU_FAMILY_KV; else diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c -index 41677f99c67b..1028b50fe858 100644 +index 4df888c7e2ff..8efd8c40762b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c -@@ -47,6 +47,10 @@ +@@ -46,6 +46,10 @@ #include "amdgpu_fdinfo.h" #include "amdgpu_amdkfd.h" @@ -194,7 +194,7 @@ index 41677f99c67b..1028b50fe858 100644 #include "amdgpu_ras.h" #include "amdgpu_xgmi.h" #include "amdgpu_reset.h" -@@ -1049,6 +1053,12 @@ static const struct pci_device_id pciidlist[] = { +@@ -1759,6 +1763,12 @@ static const struct pci_device_id pciidlist[] = { {0x1002, 0x985D, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_MULLINS|AMD_IS_MOBILITY|AMD_IS_APU}, {0x1002, 0x985E, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_MULLINS|AMD_IS_MOBILITY|AMD_IS_APU}, {0x1002, 0x985F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_MULLINS|AMD_IS_MOBILITY|AMD_IS_APU}, @@ -207,9 +207,9 @@ index 41677f99c67b..1028b50fe858 100644 #endif /* topaz */ {0x1002, 0x6900, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TOPAZ}, -@@ -1342,6 +1352,16 @@ static int amdgpu_pci_probe(struct pci_dev *pdev, - if (ret) - return ret; +@@ -2066,6 +2076,16 @@ static int amdgpu_pci_probe(struct pci_dev *pdev, + size = pci_resource_len(pdev, 0); + is_fw_fb = amdgpu_is_fw_framebuffer(base, size); + #ifdef CONFIG_X86_PS4 + /* On the PS4 (Liverpool graphics) we have a hard dependency on the @@ -280,7 +280,7 @@ index c076a6b9a5a2..486c571768d8 100644 long tmo; diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c -index abd8469380e5..b18ddd5bf89a 100644 +index 0ed0736d515a..b98296c851db 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c @@ -377,6 +377,8 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) @@ -293,10 +293,10 @@ index abd8469380e5..b18ddd5bf89a 100644 #endif case CHIP_TOPAZ: diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c -index ac9a8cd21c4b..62adda3fb3de 100644 +index 7d58bf410be0..412faeef0c96 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c -@@ -535,6 +535,8 @@ static int amdgpu_vkms_hw_init(void *handle) +@@ -536,6 +536,8 @@ static int amdgpu_vkms_hw_init(void *handle) case CHIP_KAVERI: case CHIP_KABINI: case CHIP_MULLINS: @@ -350,7 +350,7 @@ index 6134ed964027..5bd8a782feb5 100644 /* DVO is always DVO */ diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c -index 54f28c075f21..86f9daac1bf7 100644 +index de6d10390ab2..353899a95424 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik.c +++ b/drivers/gpu/drm/amd/amdgpu/cik.c @@ -788,6 +788,206 @@ static const u32 hawaii_mgcg_cgcg_init[] = @@ -595,7 +595,7 @@ index 54f28c075f21..86f9daac1bf7 100644 default: break; } -@@ -2143,6 +2371,63 @@ static int cik_common_early_init(void *handle) +@@ -2147,6 +2375,63 @@ static int cik_common_early_init(void *handle) } else adev->external_rev_id = adev->rev_id + 0xa1; break; @@ -659,7 +659,7 @@ index 54f28c075f21..86f9daac1bf7 100644 default: /* FIXME: not supported yet */ return -EINVAL; -@@ -2325,6 +2610,42 @@ int cik_set_ip_blocks(struct amdgpu_device *adev) +@@ -2329,6 +2614,42 @@ int cik_set_ip_blocks(struct amdgpu_device *adev) amdgpu_device_ip_block_add(adev, &uvd_v4_2_ip_block); amdgpu_device_ip_block_add(adev, &vce_v2_0_ip_block); break; @@ -1628,7 +1628,7 @@ index 37b4a3db6360..d81187445ebe 100644 else ao_cu_num = adev->gfx.config.max_cu_per_sh; diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c -index 0a50fdaced7e..92431f381445 100644 +index 63c47f61d0df..752b66d7d0df 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c @@ -150,6 +150,8 @@ static int gmc_v7_0_init_microcode(struct amdgpu_device *adev) @@ -1640,7 +1640,7 @@ index 0a50fdaced7e..92431f381445 100644 return 0; default: BUG(); } -@@ -401,6 +403,10 @@ static int gmc_v7_0_mc_init(struct amdgpu_device *adev) +@@ -402,6 +404,10 @@ static int gmc_v7_0_mc_init(struct amdgpu_device *adev) adev->gmc.gart_size = 256ULL << 20; break; #ifdef CONFIG_DRM_AMDGPU_CIK @@ -1651,7 +1651,7 @@ index 0a50fdaced7e..92431f381445 100644 case CHIP_BONAIRE: /* UVD, VCE do not support GPUVM */ case CHIP_HAWAII: /* UVD, VCE do not support GPUVM */ case CHIP_KAVERI: /* UVD, VCE do not support GPUVM */ -@@ -687,6 +693,19 @@ static int gmc_v7_0_gart_enable(struct amdgpu_device *adev) +@@ -688,6 +694,19 @@ static int gmc_v7_0_gart_enable(struct amdgpu_device *adev) table_addr >> 12); } @@ -2474,10 +2474,10 @@ index f6233019f042..d7d510c76e4f 100644 (struct cik_ih_ring_entry *)patched_ihre; diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c -index cfedfb1e8596..c4f2df2d5015 100644 +index e574aa32a111..5aa872cbef5e 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c -@@ -1346,6 +1346,9 @@ static int kfd_fill_gpu_cache_info(struct kfd_dev *kdev, +@@ -1349,6 +1349,9 @@ static int kfd_fill_gpu_cache_info(struct kfd_dev *kdev, num_of_cache_types = ARRAY_SIZE(kaveri_cache_info); break; case CHIP_HAWAII: @@ -2488,7 +2488,7 @@ index cfedfb1e8596..c4f2df2d5015 100644 num_of_cache_types = ARRAY_SIZE(hawaii_cache_info); break; diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c -index 88c483f69989..e5fdaa65a99a 100644 +index 660eb7097cfc..f40f9e4f3134 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c @@ -62,6 +62,8 @@ static const struct kfd2kgd_calls *kfd2kgd_funcs[] = { @@ -2559,10 +2559,10 @@ index 88c483f69989..e5fdaa65a99a 100644 [CHIP_FIJI] = {&fiji_device_info, &fiji_vf_device_info}, [CHIP_POLARIS10] = {&polaris10_device_info, &polaris10_vf_device_info}, diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c -index 4f2e0cc8a51a..0213bc5d19d1 100644 +index 442857f3bde7..d88513d0aca0 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c -@@ -293,7 +293,8 @@ static void deallocate_vmid(struct device_queue_manager *dqm, +@@ -307,7 +307,8 @@ static void deallocate_vmid(struct device_queue_manager *dqm, struct queue *q) { /* On GFX v7, CP doesn't flush TC at dequeue */ @@ -2572,7 +2572,7 @@ index 4f2e0cc8a51a..0213bc5d19d1 100644 if (flush_texture_cache_nocpsch(q->device, qpd)) pr_err("Failed to flush TC\n"); -@@ -1938,6 +1939,8 @@ struct device_queue_manager *device_queue_manager_init(struct kfd_dev *dev) +@@ -1929,6 +1930,8 @@ struct device_queue_manager *device_queue_manager_init(struct kfd_dev *dev) device_queue_manager_init_cik(&dqm->asic_ops); break; diff --git a/device/testing/linux-sony-ps4/0003-feat-radeon-patches.patch b/device/testing/linux-sony-ps4/0003-feat-radeon-patches.patch index 768e02928b2..1c94b34f232 100644 --- a/device/testing/linux-sony-ps4/0003-feat-radeon-patches.patch +++ b/device/testing/linux-sony-ps4/0003-feat-radeon-patches.patch @@ -1,7 +1,7 @@ -From dc23b796280fdd4b001818972ab3ab5a90834f6d Mon Sep 17 00:00:00 2001 +From 246294ab578bb46cdcba26ebca73246089e2043b Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Mon, 20 Dec 2021 13:59:32 +0100 -Subject: [PATCH 03/20] feat: radeon patches +Subject: [PATCH 03/22] feat: radeon patches --- drivers/gpu/drm/radeon/Makefile | 2 + @@ -28,7 +28,7 @@ Subject: [PATCH 03/20] feat: radeon patches create mode 100644 drivers/gpu/drm/radeon/ps4_bridge.c diff --git a/drivers/gpu/drm/radeon/Makefile b/drivers/gpu/drm/radeon/Makefile -index 11c97edde54d..d8572620aaa7 100644 +index 3d502f1bbfcb..9735ac7a69fa 100644 --- a/drivers/gpu/drm/radeon/Makefile +++ b/drivers/gpu/drm/radeon/Makefile @@ -53,6 +53,8 @@ radeon-y += radeon_device.o radeon_asic.o radeon_kms.o \ @@ -41,10 +41,10 @@ index 11c97edde54d..d8572620aaa7 100644 radeon-y += \ r600_dma.o \ diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu/drm/radeon/atombios_encoders.c -index 0fce73b9a646..45d72b9d740f 100644 +index 2b4491137217..12f2f35be471 100644 --- a/drivers/gpu/drm/radeon/atombios_encoders.c +++ b/drivers/gpu/drm/radeon/atombios_encoders.c -@@ -690,7 +690,8 @@ atombios_get_encoder_mode(struct drm_encoder *encoder) +@@ -691,7 +691,8 @@ atombios_get_encoder_mode(struct drm_encoder *encoder) if (radeon_encoder->is_mst_encoder || radeon_encoder->offset) return ATOM_ENCODER_MODE_DP_MST; /* dp bridges are always DP */ @@ -1851,10 +1851,10 @@ index 7c5e80d03fc9..ba877d0b73fd 100644 return 0; } diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c -index 607ad5620bd9..98a9f09a6cf6 100644 +index d157bb9072e8..984323a541ba 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c -@@ -1476,6 +1476,30 @@ static void radeon_dvi_force(struct drm_connector *connector) +@@ -1480,6 +1480,30 @@ static void radeon_dvi_force(struct drm_connector *connector) radeon_connector->use_digital = true; } @@ -1885,7 +1885,7 @@ index 607ad5620bd9..98a9f09a6cf6 100644 static enum drm_mode_status radeon_dvi_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) { -@@ -1875,6 +1899,7 @@ radeon_add_atom_connector(struct drm_device *dev, +@@ -1879,6 +1903,7 @@ radeon_add_atom_connector(struct drm_device *dev, uint32_t subpixel_order = SubPixelNone; bool shared_ddc = false; bool is_dp_bridge = false; @@ -1893,7 +1893,7 @@ index 607ad5620bd9..98a9f09a6cf6 100644 bool has_aux = false; if (connector_type == DRM_MODE_CONNECTOR_Unknown) -@@ -1926,6 +1951,18 @@ radeon_add_atom_connector(struct drm_device *dev, +@@ -1930,6 +1955,18 @@ radeon_add_atom_connector(struct drm_device *dev, if (!radeon_connector) return; @@ -1912,7 +1912,7 @@ index 607ad5620bd9..98a9f09a6cf6 100644 connector = &radeon_connector->base; radeon_connector->connector_id = connector_id; -@@ -1985,12 +2022,20 @@ radeon_add_atom_connector(struct drm_device *dev, +@@ -1989,12 +2026,20 @@ radeon_add_atom_connector(struct drm_device *dev, case DRM_MODE_CONNECTOR_HDMIA: case DRM_MODE_CONNECTOR_HDMIB: case DRM_MODE_CONNECTOR_DisplayPort: @@ -1940,7 +1940,7 @@ index 607ad5620bd9..98a9f09a6cf6 100644 rdev->mode_info.underscan_property, UNDERSCAN_OFF); diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c -index 4f0fbf667431..7536004a5b71 100644 +index 1c005e0ddd38..efa4c92762dd 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -107,6 +107,7 @@ static const char radeon_family_name[][16] = { diff --git a/device/testing/linux-sony-ps4/0004-feat-temperature-sensors.patch b/device/testing/linux-sony-ps4/0004-feat-temperature-sensors.patch index 565d4d7f533..c64dcb3bad5 100644 --- a/device/testing/linux-sony-ps4/0004-feat-temperature-sensors.patch +++ b/device/testing/linux-sony-ps4/0004-feat-temperature-sensors.patch @@ -1,7 +1,7 @@ -From 2a9f133a4d1c12db388dc6b04a379bc6c3be9c50 Mon Sep 17 00:00:00 2001 +From e9382715a310fc01a375e6e3eff7b185ce4277b4 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Mon, 20 Dec 2021 14:01:45 +0100 -Subject: [PATCH 04/20] feat: temperature sensors +Subject: [PATCH 04/22] feat: temperature sensors --- drivers/hwmon/fam15h_power.c | 1 + diff --git a/device/testing/linux-sony-ps4/0005-feat-sdhci-support.patch b/device/testing/linux-sony-ps4/0005-feat-sdhci-support.patch index 63989c9097c..0bdc1be46a6 100644 --- a/device/testing/linux-sony-ps4/0005-feat-sdhci-support.patch +++ b/device/testing/linux-sony-ps4/0005-feat-sdhci-support.patch @@ -1,7 +1,7 @@ -From 1bf15653192a3f10db28b4973278fc516f0ffd01 Mon Sep 17 00:00:00 2001 +From 0d69fe3288f2c3444a25c72847a6d670ab07c77b Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Mon, 20 Dec 2021 14:56:09 +0100 -Subject: [PATCH 05/20] feat: sdhci support +Subject: [PATCH 05/22] feat: sdhci support --- drivers/mmc/host/sdhci-pci-core.c | 67 +++++++++++++++++++++++++++++++ @@ -9,7 +9,7 @@ Subject: [PATCH 05/20] feat: sdhci support 2 files changed, 69 insertions(+) diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c -index c2b26ada104d..a4bfc2a46bb8 100644 +index 8736e04fa73c..d50a3658820d 100644 --- a/drivers/mmc/host/sdhci-pci-core.c +++ b/drivers/mmc/host/sdhci-pci-core.c @@ -37,6 +37,10 @@ @@ -78,7 +78,7 @@ index c2b26ada104d..a4bfc2a46bb8 100644 static int mrst_hc_probe_slot(struct sdhci_pci_slot *slot) { slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA; -@@ -1964,6 +2016,12 @@ static const struct pci_device_id pci_ids[] = { +@@ -1974,6 +2026,12 @@ static const struct pci_device_id pci_ids[] = { SDHCI_PCI_DEVICE(O2, SEABIRD1, o2), SDHCI_PCI_DEVICE(ARASAN, PHY_EMMC, arasan), SDHCI_PCI_DEVICE(SYNOPSYS, DWC_MSHC, snps), @@ -91,7 +91,7 @@ index c2b26ada104d..a4bfc2a46bb8 100644 SDHCI_PCI_DEVICE(GLI, 9750, gl9750), SDHCI_PCI_DEVICE(GLI, 9755, gl9755), SDHCI_PCI_DEVICE(GLI, 9763E, gl9763e), -@@ -1998,6 +2056,10 @@ int sdhci_pci_enable_dma(struct sdhci_host *host) +@@ -2008,6 +2066,10 @@ int sdhci_pci_enable_dma(struct sdhci_host *host) pci_set_master(pdev); @@ -102,7 +102,7 @@ index c2b26ada104d..a4bfc2a46bb8 100644 return 0; } -@@ -2351,6 +2413,7 @@ static int sdhci_pci_probe(struct pci_dev *pdev, +@@ -2361,6 +2423,7 @@ static int sdhci_pci_probe(struct pci_dev *pdev, chip->allow_runtime_pm = chip->fixes->allow_runtime_pm; } chip->num_slots = slots; @@ -110,7 +110,7 @@ index c2b26ada104d..a4bfc2a46bb8 100644 chip->pm_retune = true; chip->rpm_retune = true; -@@ -2365,7 +2428,11 @@ static int sdhci_pci_probe(struct pci_dev *pdev, +@@ -2375,7 +2438,11 @@ static int sdhci_pci_probe(struct pci_dev *pdev, slots = chip->num_slots; /* Quirk may have changed this */ for (i = 0; i < slots; i++) { diff --git a/device/testing/linux-sony-ps4/0006-feat-ethernet-support.patch b/device/testing/linux-sony-ps4/0006-feat-ethernet-support.patch index 324bf7f6875..20487671083 100644 --- a/device/testing/linux-sony-ps4/0006-feat-ethernet-support.patch +++ b/device/testing/linux-sony-ps4/0006-feat-ethernet-support.patch @@ -1,7 +1,7 @@ -From 75fc3459f6a992ddbd109c5f4b221131a3ed6320 Mon Sep 17 00:00:00 2001 +From 905b33761e7344f07d4b2270896ebaa298d55047 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Mon, 20 Dec 2021 15:29:54 +0100 -Subject: [PATCH 06/20] feat: ethernet support +Subject: [PATCH 06/22] feat: ethernet support --- drivers/net/ethernet/marvell/sky2.c | 164 +++++++++++++++++++++++++--- diff --git a/device/testing/linux-sony-ps4/0007-feat-usb-support.patch b/device/testing/linux-sony-ps4/0007-feat-usb-support.patch index 9e81250d635..9cf81fdd763 100644 --- a/device/testing/linux-sony-ps4/0007-feat-usb-support.patch +++ b/device/testing/linux-sony-ps4/0007-feat-usb-support.patch @@ -1,7 +1,7 @@ -From 69684808042d563c8d92e6641bff22ab5d1e2717 Mon Sep 17 00:00:00 2001 +From 915809af6ee266c1c7792a0be01ae4da02d4766f Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Mon, 20 Dec 2021 16:30:44 +0100 -Subject: [PATCH 07/20] feat: usb support +Subject: [PATCH 07/22] feat: usb support --- drivers/usb/host/Kconfig | 8 + @@ -9,8 +9,7 @@ Subject: [PATCH 07/20] feat: usb support drivers/usb/host/xhci-aeolia.c | 585 +++++++++++++++++++++++++++++++++ drivers/usb/host/xhci-aeolia.h | 14 + drivers/usb/host/xhci.c | 30 +- - drivers/usb/host/xhci.h | 1 + - 6 files changed, 625 insertions(+), 14 deletions(-) + 5 files changed, 624 insertions(+), 14 deletions(-) create mode 100644 drivers/usb/host/xhci-aeolia.c create mode 100644 drivers/usb/host/xhci-aeolia.h @@ -657,10 +656,10 @@ index 000000000000..2b711d6a92ca + +#endif /* DRIVERS_USB_HOST_XHCI_AEOLIA_H_ */ diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c -index f5b1bcc875de..86d31339e20b 100644 +index 1fd2f6a850eb..1c8fb48c7095 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c -@@ -5325,20 +5325,22 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks) +@@ -5373,20 +5373,22 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks) /* Set dma_mask and coherent_dma_mask to 64-bits, * if xHC supports 64-bit addressing */ @@ -697,18 +696,6 @@ index f5b1bcc875de..86d31339e20b 100644 } xhci_dbg(xhci, "Calling HCD init\n"); -diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h -index 5a75fe563123..1e328faf3c65 100644 ---- a/drivers/usb/host/xhci.h -+++ b/drivers/usb/host/xhci.h -@@ -1900,6 +1900,7 @@ struct xhci_hcd { - #define XHCI_NO_SOFT_RETRY BIT_ULL(40) - #define XHCI_BROKEN_D3COLD BIT_ULL(41) - #define XHCI_EP_CTX_BROKEN_DCS BIT_ULL(42) -+#define XHCI_PLAT_DMA BIT_ULL(43) - - unsigned int num_active_eps; - unsigned int limit_active_eps; -- 2.45.1 diff --git a/device/testing/linux-sony-ps4/0008-feat-configuration.patch b/device/testing/linux-sony-ps4/0008-feat-configuration.patch index d61f61514aa..dea35e50333 100644 --- a/device/testing/linux-sony-ps4/0008-feat-configuration.patch +++ b/device/testing/linux-sony-ps4/0008-feat-configuration.patch @@ -1,7 +1,7 @@ -From e7e80d1edc1a23d61956b59d7f309e92da76579c Mon Sep 17 00:00:00 2001 +From 67261e0acdbe92d67028fcae441a6284c90c0248 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Mon, 20 Dec 2021 16:54:18 +0100 -Subject: [PATCH 08/20] feat: configuration +Subject: [PATCH 08/22] feat: configuration --- config | 3989 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ diff --git a/device/testing/linux-sony-ps4/0009-feat-trying-to-modernize-ps4-apcie-so-it-works-with-.patch b/device/testing/linux-sony-ps4/0009-feat-trying-to-modernize-ps4-apcie-so-it-works-with-.patch index 4448a92fd1c..d1e8d64112f 100644 --- a/device/testing/linux-sony-ps4/0009-feat-trying-to-modernize-ps4-apcie-so-it-works-with-.patch +++ b/device/testing/linux-sony-ps4/0009-feat-trying-to-modernize-ps4-apcie-so-it-works-with-.patch @@ -1,7 +1,7 @@ -From f7410f699e589b13303a40651634ee35329c7781 Mon Sep 17 00:00:00 2001 +From 0bd681355cbd557d93a6cc62e0b816ed661095c9 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Tue, 21 Dec 2021 19:22:42 +0100 -Subject: [PATCH 09/20] feat: trying to modernize ps4-apcie so it works with +Subject: [PATCH 09/22] feat: trying to modernize ps4-apcie so it works with kernel 5.15 --- @@ -54,10 +54,10 @@ index c132daabe615..af7339aaa843 100644 static const struct irq_domain_ops x86_vector_domain_ops = { diff --git a/drivers/iommu/amd/iommu.c b/drivers/iommu/amd/iommu.c -index 1722bb161841..16b93198e1fc 100644 +index 5ceaaabb4f9d..f20dc0c7b78f 100644 --- a/drivers/iommu/amd/iommu.c +++ b/drivers/iommu/amd/iommu.c -@@ -3292,6 +3292,8 @@ static int irq_remapping_select(struct irq_domain *d, struct irq_fwspec *fwspec, +@@ -3294,6 +3294,8 @@ static int irq_remapping_select(struct irq_domain *d, struct irq_fwspec *fwspec, devid = get_ioapic_devid(fwspec->param[0]); else if (x86_fwspec_is_hpet(fwspec)) devid = get_hpet_devid(fwspec->param[0]); diff --git a/device/testing/linux-sony-ps4/0010-feat-working-state-broken-gpu.patch b/device/testing/linux-sony-ps4/0010-feat-working-state-broken-gpu.patch index 3aa8cd46bed..9ab7f79dd84 100644 --- a/device/testing/linux-sony-ps4/0010-feat-working-state-broken-gpu.patch +++ b/device/testing/linux-sony-ps4/0010-feat-working-state-broken-gpu.patch @@ -1,7 +1,7 @@ -From a29702022cc70091f32654d07e46abb71a2a76da Mon Sep 17 00:00:00 2001 +From 92a4a84d51795f0a765a0dc6b3db08ca60b74805 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Fri, 24 Dec 2021 22:40:25 +0100 -Subject: [PATCH 10/20] feat: working state, broken gpu +Subject: [PATCH 10/22] feat: working state, broken gpu --- drivers/ata/ahci.c | 289 ++++++++++++++++++++++++++ @@ -13,7 +13,7 @@ Subject: [PATCH 10/20] feat: working state, broken gpu 6 files changed, 392 insertions(+), 35 deletions(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c -index 812731e80f8e..3fda418e8db8 100644 +index 149ee16fd022..5ba41c18b295 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -34,6 +34,10 @@ @@ -27,7 +27,7 @@ index 812731e80f8e..3fda418e8db8 100644 #define DRV_NAME "ahci" #define DRV_VERSION "3.0" -@@ -604,6 +608,11 @@ static const struct pci_device_id ahci_pci_tbl[] = { +@@ -605,6 +609,11 @@ static const struct pci_device_id ahci_pci_tbl[] = { /* Enmotus */ { PCI_DEVICE(0x1c44, 0x8000), board_ahci }, @@ -39,7 +39,7 @@ index 812731e80f8e..3fda418e8db8 100644 /* Loongson */ { PCI_VDEVICE(LOONGSON, 0x7a08), board_ahci }, -@@ -934,6 +943,23 @@ static int ahci_configure_dma_masks(struct pci_dev *pdev, int using_dac) +@@ -954,6 +963,23 @@ static int ahci_configure_dma_masks(struct pci_dev *pdev, int using_dac) if (pdev->dma_mask && pdev->dma_mask < DMA_BIT_MASK(32)) return 0; @@ -63,7 +63,7 @@ index 812731e80f8e..3fda418e8db8 100644 rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(dma_bits)); if (rc) dev_err(&pdev->dev, "DMA enable failed\n"); -@@ -1554,6 +1580,12 @@ static int ahci_init_msi(struct pci_dev *pdev, unsigned int n_ports, +@@ -1574,6 +1600,12 @@ static int ahci_init_msi(struct pci_dev *pdev, unsigned int n_ports, { int nvec; @@ -76,7 +76,7 @@ index 812731e80f8e..3fda418e8db8 100644 if (hpriv->flags & AHCI_HFLAG_NO_MSI) return -ENODEV; -@@ -1680,6 +1712,13 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) +@@ -1700,6 +1732,13 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) WARN_ON((int)ATA_MAX_QUEUE > AHCI_MAX_CMDS); @@ -90,7 +90,7 @@ index 812731e80f8e..3fda418e8db8 100644 ata_print_version_once(&pdev->dev, DRV_VERSION); /* The AHCI driver can only drive the SATA ports, the PATA driver -@@ -1933,8 +1972,258 @@ static void ahci_remove_one(struct pci_dev *pdev) +@@ -1947,8 +1986,258 @@ static void ahci_remove_one(struct pci_dev *pdev) NULL); pm_runtime_get_noresume(&pdev->dev); ata_pci_remove_one(pdev); @@ -350,7 +350,7 @@ index 812731e80f8e..3fda418e8db8 100644 MODULE_AUTHOR("Jeff Garzik"); diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h -index 2e89499bd9c3..29792fdb6bef 100644 +index 60ae707a88cc..efdfac788727 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -447,4 +447,32 @@ static inline int ahci_nr_ports(u32 cap) @@ -387,10 +387,10 @@ index 2e89499bd9c3..29792fdb6bef 100644 + #endif /* _AHCI_H */ diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c -index 92431f381445..37a550f03f04 100644 +index 752b66d7d0df..5e249922a72a 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c -@@ -1067,6 +1067,10 @@ static int gmc_v7_0_sw_init(void *handle) +@@ -1068,6 +1068,10 @@ static int gmc_v7_0_sw_init(void *handle) if (r) return r; @@ -401,7 +401,7 @@ index 92431f381445..37a550f03f04 100644 /* * number of VMs * VMID 0 is reserved for System -@@ -1092,6 +1096,8 @@ static int gmc_v7_0_sw_init(void *handle) +@@ -1093,6 +1097,8 @@ static int gmc_v7_0_sw_init(void *handle) return -ENOMEM; atomic_set(&adev->gmc.vm_fault_info_updated, 0); @@ -411,10 +411,10 @@ index 92431f381445..37a550f03f04 100644 } diff --git a/drivers/iommu/amd/iommu.c b/drivers/iommu/amd/iommu.c -index 16b93198e1fc..a5bf768079a0 100644 +index f20dc0c7b78f..4d36261e88a9 100644 --- a/drivers/iommu/amd/iommu.c +++ b/drivers/iommu/amd/iommu.c -@@ -3298,6 +3298,7 @@ static int irq_remapping_select(struct irq_domain *d, struct irq_fwspec *fwspec, +@@ -3300,6 +3300,7 @@ static int irq_remapping_select(struct irq_domain *d, struct irq_fwspec *fwspec, if (devid < 0) return 0; diff --git a/device/testing/linux-sony-ps4/0011-fix-incorrectly-applied-patches-and-missing-patches.patch b/device/testing/linux-sony-ps4/0011-fix-incorrectly-applied-patches-and-missing-patches.patch index 92ec5f69221..f841971d2a1 100644 --- a/device/testing/linux-sony-ps4/0011-fix-incorrectly-applied-patches-and-missing-patches.patch +++ b/device/testing/linux-sony-ps4/0011-fix-incorrectly-applied-patches-and-missing-patches.patch @@ -1,7 +1,7 @@ -From 3232e8ab49cc10e3eae5e2975234de61a3554ba9 Mon Sep 17 00:00:00 2001 +From ed61a42f4a35bf12c7a78642f7d814f50b936f57 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Sat, 25 Dec 2021 16:13:58 +0100 -Subject: [PATCH 11/20] fix: incorrectly applied patches and missing patches +Subject: [PATCH 11/22] fix: incorrectly applied patches and missing patches --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 3 +++ @@ -30,10 +30,10 @@ index d81187445ebe..8513dd006ad5 100644 pr_err("gfx7: Failed to validate ucode firmware \"%s\"\n", fw_name); goto out; diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c -index 0213bc5d19d1..5640b941ec3a 100644 +index d88513d0aca0..0ddcd498a68b 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c -@@ -1869,6 +1869,8 @@ struct device_queue_manager *device_queue_manager_init(struct kfd_dev *dev) +@@ -1860,6 +1860,8 @@ struct device_queue_manager *device_queue_manager_init(struct kfd_dev *dev) switch (dev->device_info->asic_family) { /* HWS is not available on Hawaii. */ diff --git a/device/testing/linux-sony-ps4/0012-fix-radeon-drivers.patch b/device/testing/linux-sony-ps4/0012-fix-radeon-drivers.patch index ce233a10b4d..b1869b838ad 100644 --- a/device/testing/linux-sony-ps4/0012-fix-radeon-drivers.patch +++ b/device/testing/linux-sony-ps4/0012-fix-radeon-drivers.patch @@ -1,7 +1,7 @@ -From 7d625e36848e069c79a969a2962c686bf53ee0db Mon Sep 17 00:00:00 2001 +From b009aedae1dd07fa3c761e7ddcc92071dd792853 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Tue, 28 Dec 2021 17:53:53 +0100 -Subject: [PATCH 12/20] fix: radeon drivers +Subject: [PATCH 12/22] fix: radeon drivers --- drivers/gpu/drm/radeon/cik.c | 30 +++++++++++++-------------- diff --git a/device/testing/linux-sony-ps4/0013-fix-amdgpu-drivers.patch b/device/testing/linux-sony-ps4/0013-fix-amdgpu-drivers.patch index c177c0dc29b..d9ea4ab07b5 100644 --- a/device/testing/linux-sony-ps4/0013-fix-amdgpu-drivers.patch +++ b/device/testing/linux-sony-ps4/0013-fix-amdgpu-drivers.patch @@ -1,7 +1,7 @@ -From df622914ed990ab7359e5d71071205ce58553771 Mon Sep 17 00:00:00 2001 +From 1b9c84e8afd63df84109a717f6fe3076f2990841 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Tue, 28 Dec 2021 18:49:46 +0100 -Subject: [PATCH 13/20] fix: amdgpu drivers +Subject: [PATCH 13/22] fix: amdgpu drivers --- drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | 2 +- diff --git a/device/testing/linux-sony-ps4/0014-fix-re-add-legacy-bridge-functions.patch b/device/testing/linux-sony-ps4/0014-fix-re-add-legacy-bridge-functions.patch index 7b30d2a461b..48df40352b5 100644 --- a/device/testing/linux-sony-ps4/0014-fix-re-add-legacy-bridge-functions.patch +++ b/device/testing/linux-sony-ps4/0014-fix-re-add-legacy-bridge-functions.patch @@ -1,7 +1,7 @@ -From 8c522dba38fc041f413c9116d04a014e81e994d6 Mon Sep 17 00:00:00 2001 +From 3b2f7c502e713f75cd73793657eb58b55121d8c6 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Wed, 29 Dec 2021 14:16:57 +0100 -Subject: [PATCH 14/20] fix: re-add legacy bridge functions +Subject: [PATCH 14/22] fix: re-add legacy bridge functions --- config | 2 +- diff --git a/device/testing/linux-sony-ps4/0015-feat-potentially-added-belize-ahci-support-in-a-univ.patch b/device/testing/linux-sony-ps4/0015-feat-potentially-added-belize-ahci-support-in-a-univ.patch index afd726111cb..5841b97ae78 100644 --- a/device/testing/linux-sony-ps4/0015-feat-potentially-added-belize-ahci-support-in-a-univ.patch +++ b/device/testing/linux-sony-ps4/0015-feat-potentially-added-belize-ahci-support-in-a-univ.patch @@ -1,7 +1,7 @@ -From a8d2d73ad9165614069d3dd91f820f3bc987c0d3 Mon Sep 17 00:00:00 2001 +From 00879e27dddefbe1c062f53b4eec0e9166780a2a Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Wed, 29 Dec 2021 15:43:55 +0100 -Subject: [PATCH 15/20] feat: potentially added belize ahci support in a +Subject: [PATCH 15/22] feat: potentially added belize ahci support in a universal way --- diff --git a/device/testing/linux-sony-ps4/0016-fix-this-probably-needs-to-be-the-amount-of-interrup.patch b/device/testing/linux-sony-ps4/0016-fix-this-probably-needs-to-be-the-amount-of-interrup.patch index add54662737..6ae63275947 100644 --- a/device/testing/linux-sony-ps4/0016-fix-this-probably-needs-to-be-the-amount-of-interrup.patch +++ b/device/testing/linux-sony-ps4/0016-fix-this-probably-needs-to-be-the-amount-of-interrup.patch @@ -1,7 +1,7 @@ -From f217a0f520fdb0578d91b3ada010148f3a71e4ab Mon Sep 17 00:00:00 2001 +From f94cfdd446ab433ba0e9a0cb074372025de283eb Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Wed, 29 Dec 2021 16:15:26 +0100 -Subject: [PATCH 16/20] fix: this probably needs to be the amount of interrupts +Subject: [PATCH 16/22] fix: this probably needs to be the amount of interrupts --- drivers/ps4/ps4-apcie.c | 2 +- diff --git a/device/testing/linux-sony-ps4/0017-Also-on-liverpool-num_crtc-is-6.patch b/device/testing/linux-sony-ps4/0017-Also-on-liverpool-num_crtc-is-6.patch index ad3fcd7ae8d..c7645f8e0fb 100644 --- a/device/testing/linux-sony-ps4/0017-Also-on-liverpool-num_crtc-is-6.patch +++ b/device/testing/linux-sony-ps4/0017-Also-on-liverpool-num_crtc-is-6.patch @@ -1,7 +1,7 @@ -From aa20599e0b0fd095809bcb07a33450f0a969b133 Mon Sep 17 00:00:00 2001 +From 62b05b54178ecba3e2d42fbe78b97da94b0fec81 Mon Sep 17 00:00:00 2001 From: Ps3ita Team <ps3ita-team@ps3ita.it> Date: Wed, 13 Feb 2019 14:09:55 +0100 -Subject: [PATCH 17/20] Also on liverpool num_crtc is 6 +Subject: [PATCH 17/22] Also on liverpool num_crtc is 6 --- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 1 + diff --git a/device/testing/linux-sony-ps4/0018-fix-cherrypick-doubled-CHIP_LIVERPOOL.patch b/device/testing/linux-sony-ps4/0018-fix-cherrypick-doubled-CHIP_LIVERPOOL.patch index 6b8da19945e..30b2fc46e83 100644 --- a/device/testing/linux-sony-ps4/0018-fix-cherrypick-doubled-CHIP_LIVERPOOL.patch +++ b/device/testing/linux-sony-ps4/0018-fix-cherrypick-doubled-CHIP_LIVERPOOL.patch @@ -1,7 +1,7 @@ -From bca577d59a225eff27a7645989442fdaa7ebc792 Mon Sep 17 00:00:00 2001 +From 0bf01d7fb8556417ca16ce96b230dd2741de8d48 Mon Sep 17 00:00:00 2001 From: codedwrench <rick.04.1996@gmail.com> Date: Thu, 30 Dec 2021 15:05:26 +0100 -Subject: [PATCH 18/20] fix: cherrypick doubled CHIP_LIVERPOOL +Subject: [PATCH 18/22] fix: cherrypick doubled CHIP_LIVERPOOL --- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 1 - diff --git a/device/testing/linux-sony-ps4/0019-Missing-break.patch b/device/testing/linux-sony-ps4/0019-Missing-break.patch index bde0e61f0f6..fa6842d5d56 100644 --- a/device/testing/linux-sony-ps4/0019-Missing-break.patch +++ b/device/testing/linux-sony-ps4/0019-Missing-break.patch @@ -1,7 +1,7 @@ -From d3f46e27bf616573be8cf6a6979441d24755a4a1 Mon Sep 17 00:00:00 2001 +From 4e2075413f8a4232857f9a87905f8afc28e74267 Mon Sep 17 00:00:00 2001 From: Ps3ita Team <psxitateam@psxita.it> Date: Sat, 30 May 2020 12:04:24 +0200 -Subject: [PATCH 19/20] Missing break; +Subject: [PATCH 19/22] Missing break; --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 +- diff --git a/device/testing/linux-sony-ps4/0020-fix-needed-for-video-codec-support.patch b/device/testing/linux-sony-ps4/0020-fix-needed-for-video-codec-support.patch index 78fc53a4f49..cbb87055d67 100644 --- a/device/testing/linux-sony-ps4/0020-fix-needed-for-video-codec-support.patch +++ b/device/testing/linux-sony-ps4/0020-fix-needed-for-video-codec-support.patch @@ -1,14 +1,14 @@ -From 999e4d75141f493a417a98a831256ee49d990702 Mon Sep 17 00:00:00 2001 +From 9dbe4ba89c9f330e27257ad50b9da4cf9ff1ac9a Mon Sep 17 00:00:00 2001 From: Rick de Bondt <rick_1996@hotmail.com> Date: Fri, 31 Dec 2021 15:19:08 +0100 -Subject: [PATCH 20/20] fix: needed for video codec support +Subject: [PATCH 20/22] fix: needed for video codec support --- drivers/gpu/drm/amd/amdgpu/cik.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c -index 86f9daac1bf7..b1af875249f4 100644 +index 353899a95424..147db89444fd 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik.c +++ b/drivers/gpu/drm/amd/amdgpu/cik.c @@ -136,6 +136,8 @@ static int cik_query_video_codecs(struct amdgpu_device *adev, bool encode, diff --git a/device/testing/linux-sony-ps4/0021-fix-gcc-newer-than-11.patch b/device/testing/linux-sony-ps4/0021-fix-gcc-newer-than-11.patch index c379c7cdcea..81b3778be1a 100644 --- a/device/testing/linux-sony-ps4/0021-fix-gcc-newer-than-11.patch +++ b/device/testing/linux-sony-ps4/0021-fix-gcc-newer-than-11.patch @@ -1,35 +1,36 @@ -From 8b33742318f7f95e98374baa1ccea641b0388a45 Mon Sep 17 00:00:00 2001 +From dc139fd452cfa78583a695b0d4fc2cdec39b31da Mon Sep 17 00:00:00 2001 From: crashniels <39709384+crashniels@users.noreply.github.com> Date: Fri, 24 May 2024 19:47:37 +0200 -Subject: [PATCH 21/21] fix: gcc newer than 11 +Subject: [PATCH 21/22] fix: gcc newer than 11 https://lore.kernel.org/lkml/20220129010215.781601-1-jforbes@fedoraproject.org/t/ --- - tools/lib/subcmd/subcmd-util.h | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) + tools/lib/subcmd/subcmd-util.h | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/lib/subcmd/subcmd-util.h b/tools/lib/subcmd/subcmd-util.h -index 794a375dad36..7009fc176636 100644 +index b2aec04fce8f..7009fc176636 100644 --- a/tools/lib/subcmd/subcmd-util.h +++ b/tools/lib/subcmd/subcmd-util.h -@@ -49,13 +49,12 @@ static NORETURN inline void die(const char *err, ...) +@@ -49,9 +49,15 @@ static NORETURN inline void die(const char *err, ...) static inline void *xrealloc(void *ptr, size_t size) { - void *ret = realloc(ptr, size); -- if (!ret && !size) -- ret = realloc(ptr, 1); +- if (!ret) +- die("Out of memory, realloc failed"); + void *ret; + if (!size) + size = 1; + ret = realloc(ptr, size); - if (!ret) { - ret = realloc(ptr, size); -- if (!ret && !size) -- ret = realloc(ptr, 1); - if (!ret) - die("Out of memory, realloc failed"); - } ++ if (!ret) { ++ ret = realloc(ptr, size); ++ if (!ret) ++ die("Out of memory, realloc failed"); ++ } + return ret; + } + -- 2.45.1 diff --git a/device/testing/linux-sony-ps4/0022-fix-use-upstream-values.patch b/device/testing/linux-sony-ps4/0022-fix-use-upstream-values.patch new file mode 100644 index 00000000000..6724f980307 --- /dev/null +++ b/device/testing/linux-sony-ps4/0022-fix-use-upstream-values.patch @@ -0,0 +1,39 @@ +From 77961812e981b14669eb51cfa67181149a9bb64a Mon Sep 17 00:00:00 2001 +From: crashniels <39709384+crashniels@users.noreply.github.com> +Date: Sat, 25 May 2024 19:32:05 +0200 +Subject: [PATCH 22/22] fix: use upstream values + +--- + drivers/usb/host/xhci-aeolia.c | 2 +- + drivers/usb/host/xhci.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/usb/host/xhci-aeolia.c b/drivers/usb/host/xhci-aeolia.c +index 1401af61430c..9ab0be144f42 100644 +--- a/drivers/usb/host/xhci-aeolia.c ++++ b/drivers/usb/host/xhci-aeolia.c +@@ -43,7 +43,7 @@ static void xhci_aeolia_quirks(struct device *dev, struct xhci_hcd *xhci) + * Do not try to enable MSIs, we provide the MSIs ourselves + * Do not touch DMA mask, we need a custom one + */ +- xhci->quirks |= XHCI_PLAT | XHCI_PLAT_DMA; ++ xhci->quirks |= XHCI_PLAT | XHCI_SUSPEND_RESUME_CLKS; + } + + /* called during probe() after chip reset completes */ +diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c +index 1c8fb48c7095..a79e9dc827e4 100644 +--- a/drivers/usb/host/xhci.c ++++ b/drivers/usb/host/xhci.c +@@ -5373,7 +5373,7 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks) + + /* Set dma_mask and coherent_dma_mask to 64-bits, + * if xHC supports 64-bit addressing */ +- if (!(xhci->quirks & XHCI_PLAT_DMA)) { ++ if (!(xhci->quirks & XHCI_SUSPEND_RESUME_CLKS)) { + if (HCC_64BIT_ADDR(xhci->hcc_params) && + !dma_set_mask(dev, DMA_BIT_MASK(64))) { + xhci_dbg(xhci, "Enabling 64-bit DMA addresses.\n"); +-- +2.45.1 + diff --git a/device/testing/linux-sony-ps4/APKBUILD b/device/testing/linux-sony-ps4/APKBUILD index 8c0c8683fe7..60f71e9feed 100644 --- a/device/testing/linux-sony-ps4/APKBUILD +++ b/device/testing/linux-sony-ps4/APKBUILD @@ -1,5 +1,5 @@ pkgname=linux-sony-ps4 -pkgver=5.15.15 +pkgver=5.15.110 pkgrel=0 pkgdesc="Sony Playstation 4 kernel fork" arch="x86_64" @@ -32,30 +32,31 @@ case $pkgver in esac source=" - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/snapshot/linux-${_kernver//_/-}.tar.gz + https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/snapshot/linux-${_kernver//_/-}.tar.gz $_config - 0001-feat-very-basic-platform-support.patch + 0001-feat-very-basic-platform-support.patch 0002-feat-amdgpu-patches.patch - 0003-feat-radeon-patches.patch - 0004-feat-temperature-sensors.patch - 0005-feat-sdhci-support.patch - 0006-feat-ethernet-support.patch - 0007-feat-usb-support.patch - 0008-feat-configuration.patch - 0009-feat-trying-to-modernize-ps4-apcie-so-it-works-with-.patch - 0010-feat-working-state-broken-gpu.patch - 0011-fix-incorrectly-applied-patches-and-missing-patches.patch - 0012-fix-radeon-drivers.patch - 0013-fix-amdgpu-drivers.patch - 0014-fix-re-add-legacy-bridge-functions.patch - 0015-feat-potentially-added-belize-ahci-support-in-a-univ.patch - 0016-fix-this-probably-needs-to-be-the-amount-of-interrup.patch - 0017-Also-on-liverpool-num_crtc-is-6.patch - 0018-fix-cherrypick-doubled-CHIP_LIVERPOOL.patch - 0019-Missing-break.patch - 0020-fix-needed-for-video-codec-support.patch - 0021-fix-gcc-newer-than-11.patch + 0003-feat-radeon-patches.patch + 0004-feat-temperature-sensors.patch + 0005-feat-sdhci-support.patch + 0006-feat-ethernet-support.patch + 0007-feat-usb-support.patch + 0008-feat-configuration.patch + 0009-feat-trying-to-modernize-ps4-apcie-so-it-works-with-.patch + 0010-feat-working-state-broken-gpu.patch + 0011-fix-incorrectly-applied-patches-and-missing-patches.patch + 0012-fix-radeon-drivers.patch + 0013-fix-amdgpu-drivers.patch + 0014-fix-re-add-legacy-bridge-functions.patch + 0015-feat-potentially-added-belize-ahci-support-in-a-univ.patch + 0016-fix-this-probably-needs-to-be-the-amount-of-interrup.patch + 0017-Also-on-liverpool-num_crtc-is-6.patch + 0018-fix-cherrypick-doubled-CHIP_LIVERPOOL.patch + 0019-Missing-break.patch + 0020-fix-needed-for-video-codec-support.patch + 0021-fix-gcc-newer-than-11.patch + 0022-fix-use-upstream-values.patch " builddir="$srcdir/linux-${_kernver//_/-}" @@ -84,27 +85,28 @@ package() { } sha512sums=" -591c87d04b9687d48764a7d42a8eb95aa71dd1f5608454778b8aff22be71bea3e402123819026440dbdf97abb77755e7076397775f9af739a4f71f1d1721a190 linux-5.15.15.tar.gz +405be3edf5855e45b50fd163542e00f58fab0d80c9e93e9605100107eba79ce4b49b83d5ddda3226665bdbdd1c31ac06b4ef05cf87b31f7cf1ff8adf662f2178 linux-5.15.110.tar.gz faa59377291f647fc02f4052d0525f311233ac1741d2cdd9d19fb2d9030fb2885ade5e738e140304d062d5f8a98c8b023a944b46eec737c96b233cf38d8c2e9b config-sony-ps4.x86_64 -b6563b603ea2697621c97af981d9de05a8c5902dca577f8e470be0496659f8ead138fb2504a1484f7452dcb76658e10ae9ed2004725b0804f53cf4d347dcd960 0001-feat-very-basic-platform-support.patch -01cd8f26e54b3792052fdff9b08ecaeb569fec78523dae0773c88c8b766fc0a8d3443804b3c7ac49b84cd98ca8d302a8ef96857c1a17de3612b45f26a0b53f99 0002-feat-amdgpu-patches.patch -742639b0a156046a6520e4229a81d84c5f3bbab1f0197156a8dc104a899edb4292a1cefc9662e961bfd9225130cf4eedc6322b3e3c64970c7f144fc1efc6ae94 0003-feat-radeon-patches.patch -892ceeaaca207a9c3146300d1622fcbb50dd1f7c7f58501004699c2693dbf185c7d8e5ac18a1edb8ecc160ec98962c0c4760b5405cd53cbfada4b662ddbf6d62 0004-feat-temperature-sensors.patch -d28a87d87b0d5dce74c39faead63eaca097b87824286431dfdb5a688e43b7ce6992cdfbd8e738697671fc88dec4f7c857780b964aec021afbeaaea1f791b2953 0005-feat-sdhci-support.patch -3c952b4465daf8ee99bde54fa0e9b09b5d31919621ed6334c1dd56dce32491dcc8956c3b3f14dbeca7b6bf128d4c9ae886ce8e05974892c73ad3ac194aab853b 0006-feat-ethernet-support.patch -03a5f2230040fc07b9a6eddc91fc5b65996730a430f1c6cb82ea5eadce4bbaf0b80df823e5afb00d4e39254c019e8f44b29493f5cd9c9e54db74917ac4fa7e78 0007-feat-usb-support.patch -5ffc4ea5053c8baded13541e12723a9f29154f26a5abcb68bae754a5ce706be8ccc24f86b677dfd66fd5cbcc8eca8f724d1cbe81fb7594d5198a59b2b02a3f3e 0008-feat-configuration.patch -3cf7ec37f4d4627a45166ed259ded6fd9af70573d24ec5d6be192c575fffc96fa670f1e6d2a4b69ee55b75dc109289d2421970cf10623bfc401fc4f44084a4a7 0009-feat-trying-to-modernize-ps4-apcie-so-it-works-with-.patch -294f0ef43872fcb691057ae6dd89ea990ed76eb9d7fde041ee1957e714643e716fbfd51f1dbc2acd2d43f7bfc3f88d6918afbdc0ff7f2f721fbcaaba92eee351 0010-feat-working-state-broken-gpu.patch -71c9c2ec874c825d913646138e65024839f36359375a421655917e95051f671f112c5a0fdb56cd555c166543c71167bab26a09570e3d89465d60fd149bcf3169 0011-fix-incorrectly-applied-patches-and-missing-patches.patch -620ec0b1b6dcb5eb2efa7610211a8ebeb1ca8702e6aad2cd4bdaf3e1051cefcfa7bc841ed6c6e38a62650c3ca32d9e1c1390fbb738c1c4497ff0df1af5a26c8c 0012-fix-radeon-drivers.patch -34ba0a819cf8886833ce63ce6d9e66d24a11b82e4024828abee04435384cc7134da2e2cb818b702e654432f3d801ff283d1649ec465ad38e70ac2215104fe0a2 0013-fix-amdgpu-drivers.patch -601827897f0d54b1e597e24bcd0df50b79b1b519916e8bae76206c68d8974cea1790d1316d69354b60f9d300fd98058eeb5200ed870a1d58fed596a0e33e03e9 0014-fix-re-add-legacy-bridge-functions.patch -98936b94b76e51cffdd1e8794ca308c38862f1230cb4f3cc8bff0665ab97155edd0cbe1a6aed2238c7924c8d7d9940b7cbb4dd38743353d6a68666ab613be6e4 0015-feat-potentially-added-belize-ahci-support-in-a-univ.patch -389217a48575a8fc0b904407f991244d7c5f6aa32879384d009feac8e32ea0547d8d4dba664aedd643476949b0d36e5ca5bee6d08321f4a556329ea900fc81a4 0016-fix-this-probably-needs-to-be-the-amount-of-interrup.patch -5994e1b697936271c68322f3a3b1d0c4f3b767b8c21c0738af546f25c956ed46034e85eb5651d9b9a5f4f81c3298799291eb3b849c4031197ad58e8f4684bdbc 0017-Also-on-liverpool-num_crtc-is-6.patch -36156b23bac2a52de4dfca55f90af954dc107a8ede8477b4ced2d6c843dc1896a563ae729f664b7eab80bd214640f4589b75ef5a2fd5720f4cdc7684badaed19 0018-fix-cherrypick-doubled-CHIP_LIVERPOOL.patch -98f899200ead6debd9fbff1ec681b1352e339118e24216515671334a07aeea64868ae5d05c49c1a21ca2a0820c557ed2b7cc6a112909ab1a1a1bbe32d51c26ba 0019-Missing-break.patch -d730e2476e5bfa320aa719ef8dc12017dfcdf7542400370a4a46de6f1f2ed288090ad00725ab2d384da581970ee124bfe14ea7a167e0f68890aaf87efb1bb521 0020-fix-needed-for-video-codec-support.patch -0094930f0f0fe66ebd02beed38770fb8ebdd393ac5e4ae60c68ed740d423823f0157db004fa55dd8964b9890439da922a543d07261e093b2a65f02a184fe5c75 0021-fix-gcc-newer-than-11.patch +7d4e6ab0d273b4d121bfb485334ea949abc4466a914ac596edfae716f3f1d5dde896d27b2b29efd77115d732a0256db3b395ab7cf8d91a47d4a3c45778dc753e 0001-feat-very-basic-platform-support.patch +e69400cbc1772bc247868004f874c174289747fc36f5df6002664a6813fd24b7fe2dae3b6f6e0647466f89735454914d49316bbb996dd41863bcca1424c5191c 0002-feat-amdgpu-patches.patch +cffb257874c4e746c82a06be9b9442df9c2deb897e479c7d75a7d73883a64e0d9f00812e1468d8e3fdd15eda0bcfe92668c96bee2f7e2de57c1088f467b329b4 0003-feat-radeon-patches.patch +262b0934845d9c8bc92c6cacf8cbb1fb697830ac386380c27de586766b801c52ce0230755b62f4abd44c39fc0559446749a212d666636102c35d34299d8cf6c5 0004-feat-temperature-sensors.patch +536daa2a900ae214a2a1cde277c1ae1b9c4d5a740ddf4a8d2d23e5a4578eeb2e274d89ce917d9705495814580ceceb9cbf69ccb81e14d88ac932f84f1bb4fcad 0005-feat-sdhci-support.patch +1f960d7bcb8805f2c86e71125a73e28ba8b6b1dcf230a0994ae140f7874ed3e4d8e6ec867d4bff8fdccbfc94b432ccaf6c01e8774a702984f57bd323bf72c208 0006-feat-ethernet-support.patch +7856b33b05a090009dde83a03ec74044ae64100469ac004c94913a895ccd91c1b7c4623bcc08217e04110a79ef599018a9925c308d8f7e9e89791704675dfc0b 0007-feat-usb-support.patch +2b28e8059c6845ab3e7b64bc84469936f9d5620331b8738b335fdf11b2fc03d83a06c68b323ebe79d374b23f0264bd9a51e2fd6a323119c68d8edce0ec8fcf25 0008-feat-configuration.patch +5ce3347dabc35b419ee71fa1c29ebb1ece570c048439c8cdb43f7503863619c70c2c5af79383bbae23eb7f63e58ac1d4690bd9bced0bb103967392ca19d9f328 0009-feat-trying-to-modernize-ps4-apcie-so-it-works-with-.patch +a57142aa46e698e147f1527383006f77c2b6f62a52520dbcdc9da19782ff89252be841dfe6e2b5b9566c396ec15693a8b54c1ea98ae85d514b844642e1456d31 0010-feat-working-state-broken-gpu.patch +f922606e57a194dbde0bbf702f328b2bcc4116b7a6bf34eda6781414f5685dfad9a48e21af4c33af154c680a9093085432ccc71d3e083b1aec1c0fbfb5ef8b43 0011-fix-incorrectly-applied-patches-and-missing-patches.patch +cb22e3f401178b2801605db766f372a08322248b013f51ede908d0d1ca008c780c98cc53b8252fd473d1def043f44ab8b44530aa9a43d749480517e8e7f33226 0012-fix-radeon-drivers.patch +c8c6a9af6de9324ca66be658be59063c85e579420832e5394a778b8af0119894cc5ac2483a11d6dd1f714d6ac15f719f50de841b896b1c9f153a982dd28d307d 0013-fix-amdgpu-drivers.patch +1e8af016a999f18ca64d09a2dcf55d4dc961c9b5c78f45c5c5b09e22e97d2c76d65dcf4742c1da2dd557e8c995c23237161553946a9622adf51c4d99c59d9d2d 0014-fix-re-add-legacy-bridge-functions.patch +4de5a19976bfcfd6d290256f1ab5eb270d60e037341b8a998d8026751b2d55c911045b6b7034446258a677db668229516995585b8ce8d2ea1a1a49e333ac3164 0015-feat-potentially-added-belize-ahci-support-in-a-univ.patch +e18c4f277793181625c3769f3b5d5f264a6c7c2f562ab4e1638e7f8b3a57cc547ee5bc71f44ec182f1c9609b9d848267370fa85531ff483c9a0a5cb52db4bdcc 0016-fix-this-probably-needs-to-be-the-amount-of-interrup.patch +aa2d70a0dd8cef198d60de66446deead4b1b1a408f975bff2e733c3f554f555a99c1aca4b02ed58abbc609dc90e7711789dd396d1129bd6f96c30d569485acba 0017-Also-on-liverpool-num_crtc-is-6.patch +563b5c3cf8df1f82724b4dd0f21d5231a80c79a7cef5c93de73c6008ff7bd140313b0d7d0f92d4fd95c556ab18087967735c4eade1a98974efa2d3536f2ca01a 0018-fix-cherrypick-doubled-CHIP_LIVERPOOL.patch +38da37f52b3c1a77d80f70accc12351ee4c5e8d1302294d523741724d17a62e22cdf64c6dcbc1b472e3967b417d37754ea6faa5c8d5b4218bf731deeaef6e5e5 0019-Missing-break.patch +ada724aa09e1b29525e1c6bda38cf68fd4c72b9d6b8f45b1f9000e06e67e2c7806f81c53efce246396b5e7dc0d745dead599fce8b3c4108189fa77b40accaff0 0020-fix-needed-for-video-codec-support.patch +70d9dfd868e4da14c0b164f6a3c8450eda733c59b81d19341b54e38ba4faca7943ac3240c5872e08932ffd0b51b0884893d90bec20cd522ce5c0e4c7f37c187a 0021-fix-gcc-newer-than-11.patch +1c166aba9d18171b0a610ea8ed4798f0bb32a6f2d73f70d2fb32aa98ed93437b7bc1f264e8c50e9668e77dc85bd5b1128ead9810bfbb082f5cae919cd32e772a 0022-fix-use-upstream-values.patch " -- GitLab