]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Fixes for all trees based on RC review feedback
authorSasha Levin <sashal@kernel.org>
Sun, 9 Aug 2026 15:00:11 +0000 (11:00 -0400)
committerSasha Levin <sashal@kernel.org>
Sun, 9 Aug 2026 15:06:29 +0000 (11:06 -0400)
Dropped patches:

- "Bluetooth: hci_sync: remove unnecessary hci_conn_get in create_conn_sync"
  Queues: 6.18, 6.12, 6.6
  Reason: prerequisite 2f5d635ad5906 ("Bluetooth: hci_sync: hold conn in
    hci_connect_acl/le_sync() callbacks") is not present in these trees, so
    removing the worker-side hci_conn_get()/hci_conn_put() leaves the queued
    hci_sync work without a reference. Kept in 7.1, where that series is
    queued ahead of it.
  Report: https://lore.kernel.org/stable/5fcf1911-1284-4791-a678-c54c544aba27@oracle.com/

Fixed in place:

- "pinctrl: microchip-sgpio: add missing select REGMAP_MMIO"
  Queues: 6.18, 6.12, 6.6, 6.1
  Reason: the backported hunk fuzzed onto config PINCTRL_EQUILIBRIUM instead
    of config PINCTRL_MICROCHIP_SGPIO, so the build fix upstream 25cb6e9a1312
    intends had no effect. Re-anchored the hunk at PINCTRL_MICROCHIP_SGPIO
    (@@ -414 / -366 / -326 / -315). 7.1 was already correct and is unchanged.
  Report: https://lore.kernel.org/stable/3dfbd05b-7af9-4fdc-850a-91f93eb397aa@oracle.com/

- "tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions"
  Queues: 6.12
  Reason: the 6.12 backport was context-adjusted to keep the unused
    struct trace_array_cpu *data argument, so mmio_trace_rw() still
    dereferenced a NULL mmio_trace_array before reaching the new check.
    Per Steven Rostedt, take the upstream prerequisite instead: added
    6936298393d8 ("tracing/mmiotrace: Remove reference to unused per CPU
    data pointer") and replaced the 12b80cdbc54c backport with its pristine
    upstream diff. The resulting kernel/trace/trace_mmiotrace.c is now
    byte-identical to the 6.18 and 7.1 result. 6.18 and 7.1 already contain
    6936298393d8 and need no change.
  Report: https://lore.kernel.org/stable/20260808182247.39dc80fc@robin/

Signed-off-by: Sasha Levin <sashal@kernel.org>
12 files changed:
queue-6.1/pinctrl-microchip-sgpio-add-missing-select-regmap_mmio.patch
queue-6.12/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch [deleted file]
queue-6.12/pinctrl-microchip-sgpio-add-missing-select-regmap_mmio.patch
queue-6.12/series
queue-6.12/tracing-mmiotrace-add-null-check-for-mmio_trace_arra.patch
queue-6.12/tracing-mmiotrace-remove-reference-to-unused-per-cpu.patch [new file with mode: 0644]
queue-6.18/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch [deleted file]
queue-6.18/pinctrl-microchip-sgpio-add-missing-select-regmap_mmio.patch
queue-6.18/series
queue-6.6/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch [deleted file]
queue-6.6/pinctrl-microchip-sgpio-add-missing-select-regmap_mmio.patch
queue-6.6/series

index 76f47af6f6433fa3698e05d35531b856c00cce18..7925693a4126c557dc2c6d75c24a21498c251b08 100644 (file)
@@ -28,11 +28,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/drivers/pinctrl/Kconfig
 +++ b/drivers/pinctrl/Kconfig
-@@ -188,6 +188,7 @@ config PINCTRL_EQUILIBRIUM
-       select GENERIC_PINCONF
+@@ -315,6 +315,7 @@ config PINCTRL_MICROCHIP_SGPIO
        select GENERIC_PINCTRL_GROUPS
        select GENERIC_PINMUX_FUNCTIONS
+       select OF_GPIO
 +      select REGMAP_MMIO
        help
-         Equilibrium driver is a pinctrl and GPIO driver for Intel Lightning
-         Mountain network processor SoC that supports both the GPIO and pin
+         Support for the serial GPIO interface used on Microsemi and
+         Microchip SoCs. By using a serial interface, the SIO
diff --git a/queue-6.12/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch b/queue-6.12/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch
deleted file mode 100644 (file)
index 2260403..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-From bf0aa0cc8c7feb530fd50e157eec3f0a361bafbd Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Sat, 25 Jul 2026 12:59:23 +0300
-Subject: Bluetooth: hci_sync: remove unnecessary hci_conn_get in
- create_conn_sync
-
-From: Pauli Virtanen <pav@iki.fi>
-
-[ Upstream commit c0a9dcd2be398eee505d4b254ec3a845aa8ab189 ]
-
-hci_conn_get() without already held reference is data race against
-concurrent deletion.
-
-In previous patches, the refcount has been changed to be taken before
-starting the hci_sync task, so remove these extra get() + put() as they
-are not needed.
-
-Fixes: 12917f591cea ("Bluetooth: hci_conn: Fix null ptr deref in hci_abort_conn()")
-Signed-off-by: Pauli Virtanen <pav@iki.fi>
-Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- net/bluetooth/hci_sync.c | 13 -------------
- 1 file changed, 13 deletions(-)
-
-diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
-index 8c48d459a5415..03bbf4c1d6e5a 100644
---- a/net/bluetooth/hci_sync.c
-+++ b/net/bluetooth/hci_sync.c
-@@ -6577,11 +6577,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-       bt_dev_dbg(hdev, "conn %p", conn);
--      /* Hold a reference so conn stays valid for the HCI_CONN_CREATE
--       * clear_bit() at done.
--       */
--      hci_conn_get(conn);
--
-       clear_bit(HCI_CONN_SCANNING, &conn->flags);
-       conn->state = BT_CONNECT;
-@@ -6596,7 +6591,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-                       conn->state = BT_OPEN;
-                       hci_abort_conn_sync(hdev, conn,
-                                           HCI_ERROR_REJ_LIMITED_RESOURCES);
--                      hci_conn_put(conn);
-                       return -EBUSY;
-               }
-@@ -6690,7 +6684,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-       /* Re-enable advertising after the connection attempt is finished. */
-       hci_resume_advertising_sync(hdev);
--      hci_conn_put(conn);
-       return err;
- }
-@@ -6965,11 +6958,6 @@ static int hci_acl_create_conn_sync(struct hci_dev *hdev, void *data)
-       else
-               cp.role_switch = 0x00;
--      /* Hold a reference so conn stays valid for the HCI_CONN_CREATE
--       * clear_bit() below.
--       */
--      hci_conn_get(conn);
--
-       /* Mark create connection in flight so hci_cancel_connect_sync() can
-        * cancel it while blocking on the connection complete event.
-        */
-@@ -6981,7 +6969,6 @@ static int hci_acl_create_conn_sync(struct hci_dev *hdev, void *data)
-                                      conn->conn_timeout, NULL);
-       clear_bit(HCI_CONN_CREATE, &conn->flags);
--      hci_conn_put(conn);
-       return err;
- }
--- 
-2.53.0
-
index 17ebec19078082aa7a9b4fa664457b83f1ad1ef3..ee6e0b7c9aebed43f8987ffecae7fff5d7ed6648 100644 (file)
@@ -28,11 +28,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/drivers/pinctrl/Kconfig
 +++ b/drivers/pinctrl/Kconfig
-@@ -213,6 +213,7 @@ config PINCTRL_EQUILIBRIUM
-       select GENERIC_PINCONF
+@@ -366,6 +366,7 @@ config PINCTRL_MICROCHIP_SGPIO
        select GENERIC_PINCTRL_GROUPS
        select GENERIC_PINMUX_FUNCTIONS
+       select OF_GPIO
 +      select REGMAP_MMIO
        help
-         Equilibrium driver is a pinctrl and GPIO driver for Intel Lightning
-         Mountain network processor SoC that supports both the GPIO and pin
+         Support for the serial GPIO interface used on Microsemi and
+         Microchip SoCs. By using a serial interface, the SIO
index b18e9905585f5075f5b12ccf8b42d195a0250c0d..297295e05f928caad27a1638b48487735f5ab585 100644 (file)
@@ -103,7 +103,6 @@ bluetooth-btintel-validate-length-before-parsing-dia.patch
 bluetooth-hci_sync-make-hci_cmd_sync_run_once-return.patch
 bluetooth-hci_conn-hold-conn-reference-in-abort_conn.patch
 bluetooth-hci_sync-fix-hci_conn_del-use-in-hci_le_cr.patch
-bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch
 net-phylink-put-link_gpio-if-phylink_create-fails.patch
 scsi-target-iblock-fix-wrong-pr-ops-null-check-for-p.patch
 scsi-ufs-core-cancel-rtc-work-in-active-active-suspe.patch
@@ -114,6 +113,7 @@ net-sxgbe-check-descriptor-ring-allocation-failures.patch
 can-isotp-check-register_netdevice_notifier-error-in.patch
 tracing-mmiotrace-reset-dropped_count-in-mmio_reset_.patch
 tracing-remove-trace_event_fl_filtered-logic.patch
+tracing-mmiotrace-remove-reference-to-unused-per-cpu.patch
 tracing-mmiotrace-add-null-check-for-mmio_trace_arra.patch
 accel-qaic-use-sizeof-trans_hdr-for-transaction-leng.patch
 riscv-mm-fix-out-of-bounds-page-table-walk-during-me.patch
index 501c826bd20b0527987cb54a65922241846349c9..9a262a696a4134e424b8705e1968691a0e4710c1 100644 (file)
@@ -28,11 +28,11 @@ Signed-off-by: Sasha Levin <sashal@kernel.org>
  1 file changed, 10 insertions(+), 2 deletions(-)
 
 diff --git a/kernel/trace/trace_mmiotrace.c b/kernel/trace/trace_mmiotrace.c
-index 6b964471265e1..251ed7051e409 100644
+index e16b15d7c84aa..32b7e1d972a47 100644
 --- a/kernel/trace/trace_mmiotrace.c
 +++ b/kernel/trace/trace_mmiotrace.c
-@@ -295,11 +295,15 @@ static void __trace_mmiotrace_rw(struct trace_array *tr,
                              struct trace_array_cpu *data,
+@@ -294,11 +294,15 @@ device_initcall(init_mmio_trace);
static void __trace_mmiotrace_rw(struct trace_array *tr,
                                struct mmiotrace_rw *rw)
  {
 -      struct trace_buffer *buffer = tr->array_buffer.buffer;
@@ -48,8 +48,8 @@ index 6b964471265e1..251ed7051e409 100644
        trace_ctx = tracing_gen_ctx_flags(0);
        event = trace_buffer_lock_reserve(buffer, TRACE_MMIO_RW,
                                          sizeof(*entry), trace_ctx);
-@@ -324,11 +328,15 @@ static void __trace_mmiotrace_map(struct trace_array *tr,
                              struct trace_array_cpu *data,
+@@ -321,11 +325,15 @@ void mmio_trace_rw(struct mmiotrace_rw *rw)
static void __trace_mmiotrace_map(struct trace_array *tr,
                                struct mmiotrace_map *map)
  {
 -      struct trace_buffer *buffer = tr->array_buffer.buffer;
diff --git a/queue-6.12/tracing-mmiotrace-remove-reference-to-unused-per-cpu.patch b/queue-6.12/tracing-mmiotrace-remove-reference-to-unused-per-cpu.patch
new file mode 100644 (file)
index 0000000..b846b47
--- /dev/null
@@ -0,0 +1,67 @@
+From da99b5a09c9597b09b6c1553e63bc56bf18140d4 Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
+Date: Mon, 5 May 2025 17:21:05 -0400
+Subject: tracing/mmiotrace: Remove reference to unused per CPU data pointer
+
+From: Steven Rostedt <rostedt@goodmis.org>
+
+[ Upstream commit 6936298393d8d8bc3cec6b704f6a774162cf9bd3 ]
+
+The mmiotracer referenced the per CPU array_buffer->data descriptor but
+never actually used it. Remove the references to it.
+
+Cc: Masami Hiramatsu <mhiramat@kernel.org>
+Cc: Mark Rutland <mark.rutland@arm.com>
+Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+Cc: Andrew Morton <akpm@linux-foundation.org>
+Link: https://lore.kernel.org/20250505212234.696945463@goodmis.org
+Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
+Stable-dep-of: 12b80cdbc54c ("tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions")
+Signed-off-by: Sasha Levin <sashal@kernel.org>
+---
+ kernel/trace/trace_mmiotrace.c | 12 ++----------
+ 1 file changed, 2 insertions(+), 10 deletions(-)
+
+diff --git a/kernel/trace/trace_mmiotrace.c b/kernel/trace/trace_mmiotrace.c
+index 6b964471265e1..e16b15d7c84aa 100644
+--- a/kernel/trace/trace_mmiotrace.c
++++ b/kernel/trace/trace_mmiotrace.c
+@@ -292,7 +292,6 @@ __init static int init_mmio_trace(void)
+ device_initcall(init_mmio_trace);
+ static void __trace_mmiotrace_rw(struct trace_array *tr,
+-                              struct trace_array_cpu *data,
+                               struct mmiotrace_rw *rw)
+ {
+       struct trace_buffer *buffer = tr->array_buffer.buffer;
+@@ -316,12 +315,10 @@ static void __trace_mmiotrace_rw(struct trace_array *tr,
+ void mmio_trace_rw(struct mmiotrace_rw *rw)
+ {
+       struct trace_array *tr = mmio_trace_array;
+-      struct trace_array_cpu *data = per_cpu_ptr(tr->array_buffer.data, smp_processor_id());
+-      __trace_mmiotrace_rw(tr, data, rw);
++      __trace_mmiotrace_rw(tr, rw);
+ }
+ static void __trace_mmiotrace_map(struct trace_array *tr,
+-                              struct trace_array_cpu *data,
+                               struct mmiotrace_map *map)
+ {
+       struct trace_buffer *buffer = tr->array_buffer.buffer;
+@@ -345,12 +342,7 @@ static void __trace_mmiotrace_map(struct trace_array *tr,
+ void mmio_trace_mapping(struct mmiotrace_map *map)
+ {
+       struct trace_array *tr = mmio_trace_array;
+-      struct trace_array_cpu *data;
+-
+-      preempt_disable();
+-      data = per_cpu_ptr(tr->array_buffer.data, smp_processor_id());
+-      __trace_mmiotrace_map(tr, data, map);
+-      preempt_enable();
++      __trace_mmiotrace_map(tr, map);
+ }
+ int mmio_trace_printk(const char *fmt, va_list args)
+-- 
+2.53.0
+
diff --git a/queue-6.18/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch b/queue-6.18/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch
deleted file mode 100644 (file)
index 6494bb3..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-From d2824fa429d31c0fe8d1ceb8d348496cc4bd95da Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Sat, 25 Jul 2026 12:59:23 +0300
-Subject: Bluetooth: hci_sync: remove unnecessary hci_conn_get in
- create_conn_sync
-
-From: Pauli Virtanen <pav@iki.fi>
-
-[ Upstream commit c0a9dcd2be398eee505d4b254ec3a845aa8ab189 ]
-
-hci_conn_get() without already held reference is data race against
-concurrent deletion.
-
-In previous patches, the refcount has been changed to be taken before
-starting the hci_sync task, so remove these extra get() + put() as they
-are not needed.
-
-Fixes: 12917f591cea ("Bluetooth: hci_conn: Fix null ptr deref in hci_abort_conn()")
-Signed-off-by: Pauli Virtanen <pav@iki.fi>
-Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- net/bluetooth/hci_sync.c | 13 -------------
- 1 file changed, 13 deletions(-)
-
-diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
-index 27c5cc1457e65..1ba41e82c406e 100644
---- a/net/bluetooth/hci_sync.c
-+++ b/net/bluetooth/hci_sync.c
-@@ -6604,11 +6604,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-       bt_dev_dbg(hdev, "conn %p", conn);
--      /* Hold a reference so conn stays valid for the HCI_CONN_CREATE
--       * clear_bit() at done.
--       */
--      hci_conn_get(conn);
--
-       clear_bit(HCI_CONN_SCANNING, &conn->flags);
-       conn->state = BT_CONNECT;
-@@ -6623,7 +6618,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-                       conn->state = BT_OPEN;
-                       hci_abort_conn_sync(hdev, conn,
-                                           HCI_ERROR_REJ_LIMITED_RESOURCES);
--                      hci_conn_put(conn);
-                       return -EBUSY;
-               }
-@@ -6717,7 +6711,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-       /* Re-enable advertising after the connection attempt is finished. */
-       hci_resume_advertising_sync(hdev);
--      hci_conn_put(conn);
-       return err;
- }
-@@ -6992,11 +6985,6 @@ static int hci_acl_create_conn_sync(struct hci_dev *hdev, void *data)
-       else
-               cp.role_switch = 0x00;
--      /* Hold a reference so conn stays valid for the HCI_CONN_CREATE
--       * clear_bit() below.
--       */
--      hci_conn_get(conn);
--
-       /* Mark create connection in flight so hci_cancel_connect_sync() can
-        * cancel it while blocking on the connection complete event.
-        */
-@@ -7008,7 +6996,6 @@ static int hci_acl_create_conn_sync(struct hci_dev *hdev, void *data)
-                                      conn->conn_timeout, NULL);
-       clear_bit(HCI_CONN_CREATE, &conn->flags);
--      hci_conn_put(conn);
-       return err;
- }
--- 
-2.53.0
-
index 6897cca55f76cde03986d66222d4ad59f8c420d6..3e689ed5bba9b5d26de723913800e3d66cc7f800 100644 (file)
@@ -28,11 +28,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/drivers/pinctrl/Kconfig
 +++ b/drivers/pinctrl/Kconfig
-@@ -238,6 +238,7 @@ config PINCTRL_EQUILIBRIUM
-       select GENERIC_PINCONF
+@@ -414,6 +414,7 @@ config PINCTRL_MICROCHIP_SGPIO
        select GENERIC_PINCTRL_GROUPS
        select GENERIC_PINMUX_FUNCTIONS
+       select OF_GPIO
 +      select REGMAP_MMIO
        help
-         Equilibrium driver is a pinctrl and GPIO driver for Intel Lightning
-         Mountain network processor SoC that supports both the GPIO and pin
+         Support for the serial GPIO interface used on Microsemi and
+         Microchip SoCs. By using a serial interface, the SIO
index e71917d92e3492c3b6098a6c43b93cc9139ee5a4..d0e6aee710376500a810a4dea27fad5cfe2c73a9 100644 (file)
@@ -122,7 +122,6 @@ bluetooth-btintel-validate-length-before-parsing-dia.patch
 bluetooth-hci_sync-make-hci_cmd_sync_run_once-return.patch
 bluetooth-hci_conn-hold-conn-reference-in-abort_conn.patch
 bluetooth-hci_sync-fix-hci_conn_del-use-in-hci_le_cr.patch
-bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch
 x86-boot-add-volatile-clobbers-and-zero-length-test-.patch
 net-phylink-put-link_gpio-if-phylink_create-fails.patch
 scsi-target-iblock-fix-wrong-pr-ops-null-check-for-p.patch
diff --git a/queue-6.6/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch b/queue-6.6/bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch
deleted file mode 100644 (file)
index 2091373..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-From 3d33c799bf91a0c2937cfcb3b384c76745a9159c Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Sat, 25 Jul 2026 12:59:23 +0300
-Subject: Bluetooth: hci_sync: remove unnecessary hci_conn_get in
- create_conn_sync
-
-From: Pauli Virtanen <pav@iki.fi>
-
-[ Upstream commit c0a9dcd2be398eee505d4b254ec3a845aa8ab189 ]
-
-hci_conn_get() without already held reference is data race against
-concurrent deletion.
-
-In previous patches, the refcount has been changed to be taken before
-starting the hci_sync task, so remove these extra get() + put() as they
-are not needed.
-
-Fixes: 12917f591cea ("Bluetooth: hci_conn: Fix null ptr deref in hci_abort_conn()")
-Signed-off-by: Pauli Virtanen <pav@iki.fi>
-Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- net/bluetooth/hci_sync.c | 13 -------------
- 1 file changed, 13 deletions(-)
-
-diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
-index 6a5ec74eaf25a..9dec36467fead 100644
---- a/net/bluetooth/hci_sync.c
-+++ b/net/bluetooth/hci_sync.c
-@@ -6566,11 +6566,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-       bt_dev_dbg(hdev, "conn %p", conn);
--      /* Hold a reference so conn stays valid for the HCI_CONN_CREATE
--       * clear_bit() at done.
--       */
--      hci_conn_get(conn);
--
-       clear_bit(HCI_CONN_SCANNING, &conn->flags);
-       conn->state = BT_CONNECT;
-@@ -6585,7 +6580,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-                       conn->state = BT_OPEN;
-                       hci_abort_conn_sync(hdev, conn,
-                                           HCI_ERROR_REJ_LIMITED_RESOURCES);
--                      hci_conn_put(conn);
-                       return -EBUSY;
-               }
-@@ -6679,7 +6673,6 @@ static int hci_le_create_conn_sync(struct hci_dev *hdev, void *data)
-       /* Re-enable advertising after the connection attempt is finished. */
-       hci_resume_advertising_sync(hdev);
--      hci_conn_put(conn);
-       return err;
- }
-@@ -6958,11 +6951,6 @@ static int hci_acl_create_conn_sync(struct hci_dev *hdev, void *data)
-       else
-               cp.role_switch = 0x00;
--      /* Hold a reference so conn stays valid for the HCI_CONN_CREATE
--       * clear_bit() below.
--       */
--      hci_conn_get(conn);
--
-       /* Mark create connection in flight so hci_cancel_connect_sync() can
-        * cancel it while blocking on the connection complete event.
-        */
-@@ -6974,7 +6962,6 @@ static int hci_acl_create_conn_sync(struct hci_dev *hdev, void *data)
-                                      conn->conn_timeout, NULL);
-       clear_bit(HCI_CONN_CREATE, &conn->flags);
--      hci_conn_put(conn);
-       return err;
- }
--- 
-2.53.0
-
index 76f47af6f6433fa3698e05d35531b856c00cce18..f1054b8f9d0a9965e7fbe7f2b9379cef62822938 100644 (file)
@@ -28,11 +28,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/drivers/pinctrl/Kconfig
 +++ b/drivers/pinctrl/Kconfig
-@@ -188,6 +188,7 @@ config PINCTRL_EQUILIBRIUM
-       select GENERIC_PINCONF
+@@ -326,6 +326,7 @@ config PINCTRL_MICROCHIP_SGPIO
        select GENERIC_PINCTRL_GROUPS
        select GENERIC_PINMUX_FUNCTIONS
+       select OF_GPIO
 +      select REGMAP_MMIO
        help
-         Equilibrium driver is a pinctrl and GPIO driver for Intel Lightning
-         Mountain network processor SoC that supports both the GPIO and pin
+         Support for the serial GPIO interface used on Microsemi and
+         Microchip SoCs. By using a serial interface, the SIO
index 222305de89caa774af5edcd60552d76abc75974a..4a8271a92d2afa9d4f14ed1d2f5a34c182fbfe8c 100644 (file)
@@ -67,7 +67,6 @@ bluetooth-btintel-validate-length-before-parsing-dia.patch
 bluetooth-hci_sync-make-hci_cmd_sync_run_once-return.patch
 bluetooth-hci_conn-hold-conn-reference-in-abort_conn.patch
 bluetooth-hci_sync-fix-hci_conn_del-use-in-hci_le_cr.patch
-bluetooth-hci_sync-remove-unnecessary-hci_conn_get-i.patch
 net-phylink-put-link_gpio-if-phylink_create-fails.patch
 scsi-target-iblock-fix-wrong-pr-ops-null-check-for-p.patch
 scsi-ufs-core-cancel-rtc-work-in-active-active-suspe.patch