From: Greg Kroah-Hartman Date: Fri, 16 Sep 2022 10:00:52 +0000 (+0200) Subject: 5.19-stable patches X-Git-Tag: v4.9.329~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c54bf2a96ecc349f4a6ae7cca5f62d7424564cd5;p=thirdparty%2Fkernel%2Fstable-queue.git 5.19-stable patches added patches: input-goodix-add-compatible-string-for-gt1158.patch rdma-irdma-use-s-g-array-in-post-send-only-when-its-valid.patch --- diff --git a/queue-5.19/input-goodix-add-compatible-string-for-gt1158.patch b/queue-5.19/input-goodix-add-compatible-string-for-gt1158.patch new file mode 100644 index 00000000000..57613311560 --- /dev/null +++ b/queue-5.19/input-goodix-add-compatible-string-for-gt1158.patch @@ -0,0 +1,30 @@ +From 80b9ebd3e478cd41526cbf84f80c3e0eb885d1d3 Mon Sep 17 00:00:00 2001 +From: Jarrah Gosbell +Date: Tue, 23 Aug 2022 10:00:37 -0700 +Subject: Input: goodix - add compatible string for GT1158 + +From: Jarrah Gosbell + +commit 80b9ebd3e478cd41526cbf84f80c3e0eb885d1d3 upstream. + +Add compatible string for GT1158 missing from the previous patch. + +Fixes: 425fe4709c76 ("Input: goodix - add support for GT1158") +Signed-off-by: Jarrah Gosbell +Link: https://lore.kernel.org/r/20220813043821.9981-1-kernel@undef.tools +Signed-off-by: Dmitry Torokhov +Signed-off-by: Greg Kroah-Hartman +--- + drivers/input/touchscreen/goodix.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/input/touchscreen/goodix.c ++++ b/drivers/input/touchscreen/goodix.c +@@ -1515,6 +1515,7 @@ MODULE_DEVICE_TABLE(acpi, goodix_acpi_ma + #ifdef CONFIG_OF + static const struct of_device_id goodix_of_match[] = { + { .compatible = "goodix,gt1151" }, ++ { .compatible = "goodix,gt1158" }, + { .compatible = "goodix,gt5663" }, + { .compatible = "goodix,gt5688" }, + { .compatible = "goodix,gt911" }, diff --git a/queue-5.19/rdma-irdma-use-s-g-array-in-post-send-only-when-its-valid.patch b/queue-5.19/rdma-irdma-use-s-g-array-in-post-send-only-when-its-valid.patch new file mode 100644 index 00000000000..ba4e3a145d9 --- /dev/null +++ b/queue-5.19/rdma-irdma-use-s-g-array-in-post-send-only-when-its-valid.patch @@ -0,0 +1,39 @@ +From 2c8844431d065ae15a6b442f5769b60aeaaa07af Mon Sep 17 00:00:00 2001 +From: Sindhu-Devale +Date: Tue, 6 Sep 2022 17:32:43 -0500 +Subject: RDMA/irdma: Use s/g array in post send only when its valid + +From: Sindhu-Devale + +commit 2c8844431d065ae15a6b442f5769b60aeaaa07af upstream. + +Send with invalidate verb call can pass in an +uninitialized s/g array with 0 sge's which is +filled into irdma WQE and causes a HW asynchronous +event. + +Fix this by using the s/g array in irdma post send +only when its valid. + +Fixes: 551c46e ("RDMA/irdma: Add user/kernel shared libraries") +Signed-off-by: Sindhu-Devale +Signed-off-by: Shiraz Saleem +Link: https://lore.kernel.org/r/20220906223244.1119-5-shiraz.saleem@intel.com +Signed-off-by: Leon Romanovsky +Signed-off-by: Greg Kroah-Hartman +--- + drivers/infiniband/hw/irdma/uk.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/drivers/infiniband/hw/irdma/uk.c ++++ b/drivers/infiniband/hw/irdma/uk.c +@@ -497,7 +497,8 @@ int irdma_uk_send(struct irdma_qp_uk *qp + FIELD_PREP(IRDMAQPSQ_IMMDATA, info->imm_data)); + i = 0; + } else { +- qp->wqe_ops.iw_set_fragment(wqe, 0, op_info->sg_list, ++ qp->wqe_ops.iw_set_fragment(wqe, 0, ++ frag_cnt ? op_info->sg_list : NULL, + qp->swqe_polarity); + i = 1; + } diff --git a/queue-5.19/series b/queue-5.19/series index 33d85fae9e1..50711e5cfae 100644 --- a/queue-5.19/series +++ b/queue-5.19/series @@ -34,3 +34,5 @@ loongarch-fix-section-mismatch-due-to-acpi_os_iorema.patch loongarch-fix-arch_remove_memory-undefined-build-err.patch gpio-104-dio-48e-make-irq_chip-immutable.patch gpio-104-idio-16-make-irq_chip-immutable.patch +rdma-irdma-use-s-g-array-in-post-send-only-when-its-valid.patch +input-goodix-add-compatible-string-for-gt1158.patch