From 1ea21ce9c19d0875a23594543ee23a7b86d54a64 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 23 May 2023 09:42:06 -0500 Subject: Remove BLE freed storage access fix --- recipes-kernel/linux/linux-at91_5.4.199.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-at91_5.4.199.bb b/recipes-kernel/linux/linux-at91_5.4.199.bb index 8647ed4..bcd58bb 100644 --- a/recipes-kernel/linux/linux-at91_5.4.199.bb +++ b/recipes-kernel/linux/linux-at91_5.4.199.bb @@ -17,7 +17,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:" SRCREV = "ae7a63c21ca8d85578db1acef1dae5a5c803a8a3" SRCREV_sama7g5ek = "d67f0979dcc377863060e803a2280b7a7e1a22c0" -PR = "r2" +PR = "r3" KERNEL_VERSION = "${PV}" KERNEL_REVISION = "${PR}" EXTRAVERSION = "" @@ -36,6 +36,11 @@ SRC_URI_remove_sama7g5ek = "file://${DEFCONFIG}" KERNEL_MODULE_PACKAGE_SUFFIX="" +# Suspected patch in causing long term bluetooth connection issues. +# In older kernels, without this patch, in a multiple connection +# scenario, when connections are lost, the kernel accesses freed +# storage and will take stack dumps. This was happening with BLE. +# file://linux-5.4-bluetooth-connections.patch COMMON_PATCHES = " \ file://${DEFCONFIG} \ file://linux-5.4-at91sam9_wdt-10second-timeout.patch \ @@ -49,7 +54,6 @@ COMMON_PATCHES = " \ file://linux-5.4-revert-net-macb-Properly-handle-phylink-on-at91rm9200.patch \ file://linux-5.4-bring-back-PAE-bit-and-fix-NCFGR-values-applicable-f.patch \ file://linux-5.4-quiet-overlay.patch \ - file://linux-5.4-bluetooth-connections.patch \ file://mt-at91.h \ " -- cgit v1.2.3