net-mlx5e-fix-wrong-return-value-on-ioctl-eeprom-query-failure.patch
configfs-fix-a-race-in-configfs_-un-register_subsyst.patch
rdma-ib_srp-fix-a-deadlock.patch
-tracing-dump-stacktrace-trigger-to-the-corresponding-instance.patch
iio-adc-men_z188_adc-fix-a-resource-leak-in-an-error-handling-path.patch
ata-pata_hpt37x-disable-primary-channel-on-hpt371.patch
revert-usb-serial-ch341-add-new-product-id-for-ch341a.patch
+++ /dev/null
-From ce33c845b030c9cf768370c951bc699470b09fa7 Mon Sep 17 00:00:00 2001
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-Date: Sun, 20 Feb 2022 23:49:57 +0100
-Subject: tracing: Dump stacktrace trigger to the corresponding instance
-
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-
-commit ce33c845b030c9cf768370c951bc699470b09fa7 upstream.
-
-The stacktrace event trigger is not dumping the stacktrace to the instance
-where it was enabled, but to the global "instance."
-
-Use the private_data, pointing to the trigger file, to figure out the
-corresponding trace instance, and use it in the trigger action, like
-snapshot_trigger does.
-
-Link: https://lkml.kernel.org/r/afbb0b4f18ba92c276865bc97204d438473f4ebc.1645396236.git.bristot@kernel.org
-
-Cc: stable@vger.kernel.org
-Fixes: ae63b31e4d0e2 ("tracing: Separate out trace events from global variables")
-Reviewed-by: Tom Zanussi <zanussi@kernel.org>
-Tested-by: Tom Zanussi <zanussi@kernel.org>
-Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
-Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- kernel/trace/trace_events_trigger.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
---- a/kernel/trace/trace_events_trigger.c
-+++ b/kernel/trace/trace_events_trigger.c
-@@ -1156,7 +1156,12 @@ static __init int register_trigger_snaps
- static void
- stacktrace_trigger(struct event_trigger_data *data, void *rec)
- {
-- trace_dump_stack(STACK_SKIP);
-+ struct trace_event_file *file = data->private_data;
-+
-+ if (file)
-+ __trace_stack(file->tr, tracing_gen_ctx(), STACK_SKIP);
-+ else
-+ trace_dump_stack(STACK_SKIP);
- }
-
- static void
net-mlx5e-fix-wrong-return-value-on-ioctl-eeprom-query-failure.patch
configfs-fix-a-race-in-configfs_-un-register_subsyst.patch
rdma-ib_srp-fix-a-deadlock.patch
-tracing-dump-stacktrace-trigger-to-the-corresponding-instance.patch
tracing-have-traceon-and-traceoff-trigger-honor-the-instance.patch
iio-adc-men_z188_adc-fix-a-resource-leak-in-an-error-handling-path.patch
ata-pata_hpt37x-disable-primary-channel-on-hpt371.patch
+++ /dev/null
-From ce33c845b030c9cf768370c951bc699470b09fa7 Mon Sep 17 00:00:00 2001
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-Date: Sun, 20 Feb 2022 23:49:57 +0100
-Subject: tracing: Dump stacktrace trigger to the corresponding instance
-
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-
-commit ce33c845b030c9cf768370c951bc699470b09fa7 upstream.
-
-The stacktrace event trigger is not dumping the stacktrace to the instance
-where it was enabled, but to the global "instance."
-
-Use the private_data, pointing to the trigger file, to figure out the
-corresponding trace instance, and use it in the trigger action, like
-snapshot_trigger does.
-
-Link: https://lkml.kernel.org/r/afbb0b4f18ba92c276865bc97204d438473f4ebc.1645396236.git.bristot@kernel.org
-
-Cc: stable@vger.kernel.org
-Fixes: ae63b31e4d0e2 ("tracing: Separate out trace events from global variables")
-Reviewed-by: Tom Zanussi <zanussi@kernel.org>
-Tested-by: Tom Zanussi <zanussi@kernel.org>
-Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
-Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- kernel/trace/trace_events_trigger.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
---- a/kernel/trace/trace_events_trigger.c
-+++ b/kernel/trace/trace_events_trigger.c
-@@ -1172,7 +1172,12 @@ static void
- stacktrace_trigger(struct event_trigger_data *data, void *rec,
- struct ring_buffer_event *event)
- {
-- trace_dump_stack(STACK_SKIP);
-+ struct trace_event_file *file = data->private_data;
-+
-+ if (file)
-+ __trace_stack(file->tr, tracing_gen_ctx(), STACK_SKIP);
-+ else
-+ trace_dump_stack(STACK_SKIP);
- }
-
- static void
net-mlx5e-fix-wrong-return-value-on-ioctl-eeprom-query-failure.patch
configfs-fix-a-race-in-configfs_-un-register_subsyst.patch
rdma-ib_srp-fix-a-deadlock.patch
-tracing-dump-stacktrace-trigger-to-the-corresponding-instance.patch
iio-adc-men_z188_adc-fix-a-resource-leak-in-an-error-handling-path.patch
ata-pata_hpt37x-disable-primary-channel-on-hpt371.patch
revert-usb-serial-ch341-add-new-product-id-for-ch341a.patch
+++ /dev/null
-From ce33c845b030c9cf768370c951bc699470b09fa7 Mon Sep 17 00:00:00 2001
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-Date: Sun, 20 Feb 2022 23:49:57 +0100
-Subject: tracing: Dump stacktrace trigger to the corresponding instance
-
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-
-commit ce33c845b030c9cf768370c951bc699470b09fa7 upstream.
-
-The stacktrace event trigger is not dumping the stacktrace to the instance
-where it was enabled, but to the global "instance."
-
-Use the private_data, pointing to the trigger file, to figure out the
-corresponding trace instance, and use it in the trigger action, like
-snapshot_trigger does.
-
-Link: https://lkml.kernel.org/r/afbb0b4f18ba92c276865bc97204d438473f4ebc.1645396236.git.bristot@kernel.org
-
-Cc: stable@vger.kernel.org
-Fixes: ae63b31e4d0e2 ("tracing: Separate out trace events from global variables")
-Reviewed-by: Tom Zanussi <zanussi@kernel.org>
-Tested-by: Tom Zanussi <zanussi@kernel.org>
-Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
-Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- kernel/trace/trace_events_trigger.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
---- a/kernel/trace/trace_events_trigger.c
-+++ b/kernel/trace/trace_events_trigger.c
-@@ -1149,7 +1149,12 @@ static __init int register_trigger_snaps
- static void
- stacktrace_trigger(struct event_trigger_data *data, void *rec)
- {
-- trace_dump_stack(STACK_SKIP);
-+ struct trace_event_file *file = data->private_data;
-+
-+ if (file)
-+ __trace_stack(file->tr, tracing_gen_ctx(), STACK_SKIP);
-+ else
-+ trace_dump_stack(STACK_SKIP);
- }
-
- static void
rdma-rtrs-clt-move-free_permit-from-free_clt-to-rtrs.patch
configfs-fix-a-race-in-configfs_-un-register_subsyst.patch
rdma-ib_srp-fix-a-deadlock.patch
-tracing-dump-stacktrace-trigger-to-the-corresponding-instance.patch
tracing-have-traceon-and-traceoff-trigger-honor-the-instance.patch
iio-adc-men_z188_adc-fix-a-resource-leak-in-an-error-handling-path.patch
iio-adc-ad7124-fix-mask-used-for-setting-ain_bufp-ain_bufm-bits.patch
thermal-int340x-fix-memory-leak-in-int3400_notify.patch
riscv-fix-oops-caused-by-irqsoff-latency-tracer.patch
tty-n_gsm-fix-encoding-of-control-signal-octet-bit-dv.patch
-tps6598x-clear-int-mask-on-probe-failure.patch
+++ /dev/null
-From aba2081e0a9c977396124aa6df93b55ed5912b19 Mon Sep 17 00:00:00 2001
-From: Jens Axboe <axboe@kernel.dk>
-Date: Tue, 15 Feb 2022 11:22:04 -0700
-Subject: tps6598x: clear int mask on probe failure
-
-From: Jens Axboe <axboe@kernel.dk>
-
-commit aba2081e0a9c977396124aa6df93b55ed5912b19 upstream.
-
-The interrupt mask is enabled before any potential failure points in
-the driver, which can leave a failure path where we exit with
-interrupts enabled but the device not live. This causes an infinite
-stream of interrupts on an Apple M1 Pro laptop on USB-C.
-
-Add a failure label that's used post enabling interrupts, where we
-mask them again before returning an error.
-
-Suggested-by: Sven Peter <sven@svenpeter.dev>
-Cc: stable <stable@vger.kernel.org>
-Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
-Signed-off-by: Jens Axboe <axboe@kernel.dk>
-Link: https://lore.kernel.org/r/e6b80669-20f3-06e7-9ed5-8951a9c6db6f@kernel.dk
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/typec/tipd/core.c | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/drivers/usb/typec/tipd/core.c b/drivers/usb/typec/tipd/core.c
-index 6d27a5b5e3ca..7ffcda94d323 100644
---- a/drivers/usb/typec/tipd/core.c
-+++ b/drivers/usb/typec/tipd/core.c
-@@ -761,12 +761,12 @@ static int tps6598x_probe(struct i2c_client *client)
-
- ret = tps6598x_read32(tps, TPS_REG_STATUS, &status);
- if (ret < 0)
-- return ret;
-+ goto err_clear_mask;
- trace_tps6598x_status(status);
-
- ret = tps6598x_read32(tps, TPS_REG_SYSTEM_CONF, &conf);
- if (ret < 0)
-- return ret;
-+ goto err_clear_mask;
-
- /*
- * This fwnode has a "compatible" property, but is never populated as a
-@@ -855,7 +855,8 @@ static int tps6598x_probe(struct i2c_client *client)
- usb_role_switch_put(tps->role_sw);
- err_fwnode_put:
- fwnode_handle_put(fwnode);
--
-+err_clear_mask:
-+ tps6598x_write64(tps, TPS_REG_INT_MASK1, 0);
- return ret;
- }
-
---
-2.35.1
-
+++ /dev/null
-From ce33c845b030c9cf768370c951bc699470b09fa7 Mon Sep 17 00:00:00 2001
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-Date: Sun, 20 Feb 2022 23:49:57 +0100
-Subject: tracing: Dump stacktrace trigger to the corresponding instance
-
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-
-commit ce33c845b030c9cf768370c951bc699470b09fa7 upstream.
-
-The stacktrace event trigger is not dumping the stacktrace to the instance
-where it was enabled, but to the global "instance."
-
-Use the private_data, pointing to the trigger file, to figure out the
-corresponding trace instance, and use it in the trigger action, like
-snapshot_trigger does.
-
-Link: https://lkml.kernel.org/r/afbb0b4f18ba92c276865bc97204d438473f4ebc.1645396236.git.bristot@kernel.org
-
-Cc: stable@vger.kernel.org
-Fixes: ae63b31e4d0e2 ("tracing: Separate out trace events from global variables")
-Reviewed-by: Tom Zanussi <zanussi@kernel.org>
-Tested-by: Tom Zanussi <zanussi@kernel.org>
-Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
-Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- kernel/trace/trace_events_trigger.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
---- a/kernel/trace/trace_events_trigger.c
-+++ b/kernel/trace/trace_events_trigger.c
-@@ -1179,7 +1179,12 @@ static void
- stacktrace_trigger(struct event_trigger_data *data, void *rec,
- struct ring_buffer_event *event)
- {
-- trace_dump_stack(STACK_SKIP);
-+ struct trace_event_file *file = data->private_data;
-+
-+ if (file)
-+ __trace_stack(file->tr, tracing_gen_ctx(), STACK_SKIP);
-+ else
-+ trace_dump_stack(STACK_SKIP);
- }
-
- static void
spi-spi-zynq-qspi-fix-a-null-pointer-dereference-in-.patch
configfs-fix-a-race-in-configfs_-un-register_subsyst.patch
rdma-ib_srp-fix-a-deadlock.patch
-tracing-dump-stacktrace-trigger-to-the-corresponding-instance.patch
tracing-have-traceon-and-traceoff-trigger-honor-the-instance.patch
iio-adc-men_z188_adc-fix-a-resource-leak-in-an-error-handling-path.patch
iio-adc-ad7124-fix-mask-used-for-setting-ain_bufp-ain_bufm-bits.patch
xhci-re-initialize-the-hc-during-resume-if-hce-was-set.patch
xhci-prevent-futile-urb-re-submissions-due-to-incorrect-return-value.patch
tty-n_gsm-fix-encoding-of-control-signal-octet-bit-dv.patch
-tps6598x-clear-int-mask-on-probe-failure.patch
+++ /dev/null
-From aba2081e0a9c977396124aa6df93b55ed5912b19 Mon Sep 17 00:00:00 2001
-From: Jens Axboe <axboe@kernel.dk>
-Date: Tue, 15 Feb 2022 11:22:04 -0700
-Subject: tps6598x: clear int mask on probe failure
-
-From: Jens Axboe <axboe@kernel.dk>
-
-commit aba2081e0a9c977396124aa6df93b55ed5912b19 upstream.
-
-The interrupt mask is enabled before any potential failure points in
-the driver, which can leave a failure path where we exit with
-interrupts enabled but the device not live. This causes an infinite
-stream of interrupts on an Apple M1 Pro laptop on USB-C.
-
-Add a failure label that's used post enabling interrupts, where we
-mask them again before returning an error.
-
-Suggested-by: Sven Peter <sven@svenpeter.dev>
-Cc: stable <stable@vger.kernel.org>
-Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
-Signed-off-by: Jens Axboe <axboe@kernel.dk>
-Link: https://lore.kernel.org/r/e6b80669-20f3-06e7-9ed5-8951a9c6db6f@kernel.dk
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/typec/tipd/core.c | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/drivers/usb/typec/tipd/core.c b/drivers/usb/typec/tipd/core.c
-index 6d27a5b5e3ca..7ffcda94d323 100644
---- a/drivers/usb/typec/tipd/core.c
-+++ b/drivers/usb/typec/tipd/core.c
-@@ -761,12 +761,12 @@ static int tps6598x_probe(struct i2c_client *client)
-
- ret = tps6598x_read32(tps, TPS_REG_STATUS, &status);
- if (ret < 0)
-- return ret;
-+ goto err_clear_mask;
- trace_tps6598x_status(status);
-
- ret = tps6598x_read32(tps, TPS_REG_SYSTEM_CONF, &conf);
- if (ret < 0)
-- return ret;
-+ goto err_clear_mask;
-
- /*
- * This fwnode has a "compatible" property, but is never populated as a
-@@ -855,7 +855,8 @@ static int tps6598x_probe(struct i2c_client *client)
- usb_role_switch_put(tps->role_sw);
- err_fwnode_put:
- fwnode_handle_put(fwnode);
--
-+err_clear_mask:
-+ tps6598x_write64(tps, TPS_REG_INT_MASK1, 0);
- return ret;
- }
-
---
-2.35.1
-
+++ /dev/null
-From ce33c845b030c9cf768370c951bc699470b09fa7 Mon Sep 17 00:00:00 2001
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-Date: Sun, 20 Feb 2022 23:49:57 +0100
-Subject: tracing: Dump stacktrace trigger to the corresponding instance
-
-From: Daniel Bristot de Oliveira <bristot@kernel.org>
-
-commit ce33c845b030c9cf768370c951bc699470b09fa7 upstream.
-
-The stacktrace event trigger is not dumping the stacktrace to the instance
-where it was enabled, but to the global "instance."
-
-Use the private_data, pointing to the trigger file, to figure out the
-corresponding trace instance, and use it in the trigger action, like
-snapshot_trigger does.
-
-Link: https://lkml.kernel.org/r/afbb0b4f18ba92c276865bc97204d438473f4ebc.1645396236.git.bristot@kernel.org
-
-Cc: stable@vger.kernel.org
-Fixes: ae63b31e4d0e2 ("tracing: Separate out trace events from global variables")
-Reviewed-by: Tom Zanussi <zanussi@kernel.org>
-Tested-by: Tom Zanussi <zanussi@kernel.org>
-Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
-Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- kernel/trace/trace_events_trigger.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
---- a/kernel/trace/trace_events_trigger.c
-+++ b/kernel/trace/trace_events_trigger.c
-@@ -1179,7 +1179,12 @@ static void
- stacktrace_trigger(struct event_trigger_data *data, void *rec,
- struct ring_buffer_event *event)
- {
-- trace_dump_stack(STACK_SKIP);
-+ struct trace_event_file *file = data->private_data;
-+
-+ if (file)
-+ __trace_stack(file->tr, tracing_gen_ctx(), STACK_SKIP);
-+ else
-+ trace_dump_stack(STACK_SKIP);
- }
-
- static void