stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev,
	"Umesh Nerlige Ramappa" <umesh.nerlige.ramappa@intel.com>,
	"Ashutosh Dixit" <ashutosh.dixit@intel.com>,
	"Jonathan Cavitt" <jonathan.cavitt@intel.com>,
	"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
	"Sasha Levin" <sashal@kernel.org>,
	"Matthew Brost" <matthew.brost@intel.com>
Subject: [PATCH 6.12 185/189] xe/oa: Fix query mode of operation for OAR/OAC
Date: Wed, 15 Jan 2025 11:38:01 +0100	[thread overview]
Message-ID: <20250115103613.788765277@linuxfoundation.org> (raw)
In-Reply-To: <20250115103606.357764746@linuxfoundation.org>

6.12-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>

[ Upstream commit f0ed39830e6064d62f9c5393505677a26569bb56 ]

This is a set of squashed commits to facilitate smooth applying to
stable. Each commit message is retained for reference.

1) Allow a GGTT mapped batch to be submitted to user exec queue

For a OA use case, one of the HW registers needs to be modified by
submitting an MI_LOAD_REGISTER_IMM command to the users exec queue, so
that the register is modified in the user's hardware context. In order
to do this a batch that is mapped in GGTT, needs to be submitted to the
user exec queue. Since all user submissions use q->vm and hence PPGTT,
add some plumbing to enable submission of batches mapped in GGTT.

v2: ggtt is zero-initialized, so no need to set it false (Matt Brost)

2) xe/oa: Use MI_LOAD_REGISTER_IMMEDIATE to enable OAR/OAC

To enable OAR/OAC, a bit in RING_CONTEXT_CONTROL needs to be set.
Setting this bit cause the context image size to change and if not done
correct, can cause undesired hangs.

Current code uses a separate exec_queue to modify this bit and is
error-prone. As per HW recommendation, submit MI_LOAD_REGISTER_IMM to
the target hardware context to modify the relevant bit.

In v2 version, an attempt to submit everything to the user-queue was
made, but it failed the unprivileged-single-ctx-counters test. It
appears that the OACTXCONTROL must be modified from a remote context.

In v3 version, all context specific register configurations were moved
to use LOAD_REGISTER_IMMEDIATE and that seems to work well. This is a
cleaner way, since we can now submit all configuration to user
exec_queue and the fence handling is simplified.

v2:
(Matt)
- set job->ggtt to true if create job is successful
- unlock vm on job error

(Ashutosh)
- don't wait on job submission
- use kernel exec queue where possible

v3:
(Ashutosh)
- Fix checkpatch issues
- Remove extra spaces/new-lines
- Add Fixes: and Cc: tags
- Reset context control bit when OA stream is closed
- Submit all config via MI_LOAD_REGISTER_IMMEDIATE

(Umesh)
- Update commit message for v3 experiment
- Squash patches for easier port to stable

v4:
(Ashutosh)
- No need to pass q to xe_oa_submit_bb
- Do not support exec queues with width > 1
- Fix disabling of CTX_CTRL_OAC_CONTEXT_ENABLE

v5:
(Ashutosh)
- Drop reg_lri related comments
- Use XE_OA_SUBMIT_NO_DEPS in xe_oa_load_with_lri

Fixes: 8135f1c09dd2 ("drm/xe/oa: Don't reset OAC_CONTEXT_ENABLE on OA stream close")
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com> # commit 1
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241220171919.571528-2-umesh.nerlige.ramappa@intel.com
(cherry picked from commit 55039832f98c7e05f1cf9e0d8c12b2490abd0f16)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/gpu/drm/xe/xe_oa.c              | 134 ++++++++----------------
 drivers/gpu/drm/xe/xe_ring_ops.c        |   5 +-
 drivers/gpu/drm/xe/xe_sched_job_types.h |   2 +
 3 files changed, 51 insertions(+), 90 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index fd14d62bfb54..d81f0b05b2df 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -69,12 +69,6 @@ struct xe_oa_config {
 	struct rcu_head rcu;
 };
 
-struct flex {
-	struct xe_reg reg;
-	u32 offset;
-	u32 value;
-};
-
 struct xe_oa_open_param {
 	struct xe_file *xef;
 	u32 oa_unit_id;
@@ -577,19 +571,38 @@ static __poll_t xe_oa_poll(struct file *file, poll_table *wait)
 	return ret;
 }
 
+static void xe_oa_lock_vma(struct xe_exec_queue *q)
+{
+	if (q->vm) {
+		down_read(&q->vm->lock);
+		xe_vm_lock(q->vm, false);
+	}
+}
+
+static void xe_oa_unlock_vma(struct xe_exec_queue *q)
+{
+	if (q->vm) {
+		xe_vm_unlock(q->vm);
+		up_read(&q->vm->lock);
+	}
+}
+
 static struct dma_fence *xe_oa_submit_bb(struct xe_oa_stream *stream, enum xe_oa_submit_deps deps,
 					 struct xe_bb *bb)
 {
+	struct xe_exec_queue *q = stream->exec_q ?: stream->k_exec_q;
 	struct xe_sched_job *job;
 	struct dma_fence *fence;
 	int err = 0;
 
-	/* Kernel configuration is issued on stream->k_exec_q, not stream->exec_q */
-	job = xe_bb_create_job(stream->k_exec_q, bb);
+	xe_oa_lock_vma(q);
+
+	job = xe_bb_create_job(q, bb);
 	if (IS_ERR(job)) {
 		err = PTR_ERR(job);
 		goto exit;
 	}
+	job->ggtt = true;
 
 	if (deps == XE_OA_SUBMIT_ADD_DEPS) {
 		for (int i = 0; i < stream->num_syncs && !err; i++)
@@ -604,10 +617,13 @@ static struct dma_fence *xe_oa_submit_bb(struct xe_oa_stream *stream, enum xe_oa
 	fence = dma_fence_get(&job->drm.s_fence->finished);
 	xe_sched_job_push(job);
 
+	xe_oa_unlock_vma(q);
+
 	return fence;
 err_put_job:
 	xe_sched_job_put(job);
 exit:
+	xe_oa_unlock_vma(q);
 	return ERR_PTR(err);
 }
 
@@ -655,63 +671,19 @@ static void xe_oa_free_configs(struct xe_oa_stream *stream)
 		free_oa_config_bo(oa_bo);
 }
 
-static void xe_oa_store_flex(struct xe_oa_stream *stream, struct xe_lrc *lrc,
-			     struct xe_bb *bb, const struct flex *flex, u32 count)
-{
-	u32 offset = xe_bo_ggtt_addr(lrc->bo);
-
-	do {
-		bb->cs[bb->len++] = MI_STORE_DATA_IMM | MI_SDI_GGTT | MI_SDI_NUM_DW(1);
-		bb->cs[bb->len++] = offset + flex->offset * sizeof(u32);
-		bb->cs[bb->len++] = 0;
-		bb->cs[bb->len++] = flex->value;
-
-	} while (flex++, --count);
-}
-
-static int xe_oa_modify_ctx_image(struct xe_oa_stream *stream, struct xe_lrc *lrc,
-				  const struct flex *flex, u32 count)
-{
-	struct dma_fence *fence;
-	struct xe_bb *bb;
-	int err;
-
-	bb = xe_bb_new(stream->gt, 4 * count, false);
-	if (IS_ERR(bb)) {
-		err = PTR_ERR(bb);
-		goto exit;
-	}
-
-	xe_oa_store_flex(stream, lrc, bb, flex, count);
-
-	fence = xe_oa_submit_bb(stream, XE_OA_SUBMIT_NO_DEPS, bb);
-	if (IS_ERR(fence)) {
-		err = PTR_ERR(fence);
-		goto free_bb;
-	}
-	xe_bb_free(bb, fence);
-	dma_fence_put(fence);
-
-	return 0;
-free_bb:
-	xe_bb_free(bb, NULL);
-exit:
-	return err;
-}
-
-static int xe_oa_load_with_lri(struct xe_oa_stream *stream, struct xe_oa_reg *reg_lri)
+static int xe_oa_load_with_lri(struct xe_oa_stream *stream, struct xe_oa_reg *reg_lri, u32 count)
 {
 	struct dma_fence *fence;
 	struct xe_bb *bb;
 	int err;
 
-	bb = xe_bb_new(stream->gt, 3, false);
+	bb = xe_bb_new(stream->gt, 2 * count + 1, false);
 	if (IS_ERR(bb)) {
 		err = PTR_ERR(bb);
 		goto exit;
 	}
 
-	write_cs_mi_lri(bb, reg_lri, 1);
+	write_cs_mi_lri(bb, reg_lri, count);
 
 	fence = xe_oa_submit_bb(stream, XE_OA_SUBMIT_NO_DEPS, bb);
 	if (IS_ERR(fence)) {
@@ -731,70 +703,54 @@ static int xe_oa_load_with_lri(struct xe_oa_stream *stream, struct xe_oa_reg *re
 static int xe_oa_configure_oar_context(struct xe_oa_stream *stream, bool enable)
 {
 	const struct xe_oa_format *format = stream->oa_buffer.format;
-	struct xe_lrc *lrc = stream->exec_q->lrc[0];
-	u32 regs_offset = xe_lrc_regs_offset(lrc) / sizeof(u32);
 	u32 oacontrol = __format_to_oactrl(format, OAR_OACONTROL_COUNTER_SEL_MASK) |
 		(enable ? OAR_OACONTROL_COUNTER_ENABLE : 0);
 
-	struct flex regs_context[] = {
+	struct xe_oa_reg reg_lri[] = {
 		{
 			OACTXCONTROL(stream->hwe->mmio_base),
-			stream->oa->ctx_oactxctrl_offset[stream->hwe->class] + 1,
 			enable ? OA_COUNTER_RESUME : 0,
 		},
+		{
+			OAR_OACONTROL,
+			oacontrol,
+		},
 		{
 			RING_CONTEXT_CONTROL(stream->hwe->mmio_base),
-			regs_offset + CTX_CONTEXT_CONTROL,
-			_MASKED_BIT_ENABLE(CTX_CTRL_OAC_CONTEXT_ENABLE),
+			_MASKED_FIELD(CTX_CTRL_OAC_CONTEXT_ENABLE,
+				      enable ? CTX_CTRL_OAC_CONTEXT_ENABLE : 0)
 		},
 	};
-	struct xe_oa_reg reg_lri = { OAR_OACONTROL, oacontrol };
-	int err;
-
-	/* Modify stream hwe context image with regs_context */
-	err = xe_oa_modify_ctx_image(stream, stream->exec_q->lrc[0],
-				     regs_context, ARRAY_SIZE(regs_context));
-	if (err)
-		return err;
 
-	/* Apply reg_lri using LRI */
-	return xe_oa_load_with_lri(stream, &reg_lri);
+	return xe_oa_load_with_lri(stream, reg_lri, ARRAY_SIZE(reg_lri));
 }
 
 static int xe_oa_configure_oac_context(struct xe_oa_stream *stream, bool enable)
 {
 	const struct xe_oa_format *format = stream->oa_buffer.format;
-	struct xe_lrc *lrc = stream->exec_q->lrc[0];
-	u32 regs_offset = xe_lrc_regs_offset(lrc) / sizeof(u32);
 	u32 oacontrol = __format_to_oactrl(format, OAR_OACONTROL_COUNTER_SEL_MASK) |
 		(enable ? OAR_OACONTROL_COUNTER_ENABLE : 0);
-	struct flex regs_context[] = {
+	struct xe_oa_reg reg_lri[] = {
 		{
 			OACTXCONTROL(stream->hwe->mmio_base),
-			stream->oa->ctx_oactxctrl_offset[stream->hwe->class] + 1,
 			enable ? OA_COUNTER_RESUME : 0,
 		},
+		{
+			OAC_OACONTROL,
+			oacontrol
+		},
 		{
 			RING_CONTEXT_CONTROL(stream->hwe->mmio_base),
-			regs_offset + CTX_CONTEXT_CONTROL,
-			_MASKED_BIT_ENABLE(CTX_CTRL_OAC_CONTEXT_ENABLE) |
+			_MASKED_FIELD(CTX_CTRL_OAC_CONTEXT_ENABLE,
+				      enable ? CTX_CTRL_OAC_CONTEXT_ENABLE : 0) |
 			_MASKED_FIELD(CTX_CTRL_RUN_ALONE, enable ? CTX_CTRL_RUN_ALONE : 0),
 		},
 	};
-	struct xe_oa_reg reg_lri = { OAC_OACONTROL, oacontrol };
-	int err;
 
 	/* Set ccs select to enable programming of OAC_OACONTROL */
 	xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctrl, __oa_ccs_select(stream));
 
-	/* Modify stream hwe context image with regs_context */
-	err = xe_oa_modify_ctx_image(stream, stream->exec_q->lrc[0],
-				     regs_context, ARRAY_SIZE(regs_context));
-	if (err)
-		return err;
-
-	/* Apply reg_lri using LRI */
-	return xe_oa_load_with_lri(stream, &reg_lri);
+	return xe_oa_load_with_lri(stream, reg_lri, ARRAY_SIZE(reg_lri));
 }
 
 static int xe_oa_configure_oa_context(struct xe_oa_stream *stream, bool enable)
@@ -1933,8 +1889,8 @@ int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *f
 		if (XE_IOCTL_DBG(oa->xe, !param.exec_q))
 			return -ENOENT;
 
-		if (param.exec_q->width > 1)
-			drm_dbg(&oa->xe->drm, "exec_q->width > 1, programming only exec_q->lrc[0]\n");
+		if (XE_IOCTL_DBG(oa->xe, param.exec_q->width > 1))
+			return -EOPNOTSUPP;
 	}
 
 	/*
diff --git a/drivers/gpu/drm/xe/xe_ring_ops.c b/drivers/gpu/drm/xe/xe_ring_ops.c
index 0be4f489d3e1..9f327f27c072 100644
--- a/drivers/gpu/drm/xe/xe_ring_ops.c
+++ b/drivers/gpu/drm/xe/xe_ring_ops.c
@@ -221,7 +221,10 @@ static int emit_pipe_imm_ggtt(u32 addr, u32 value, bool stall_only, u32 *dw,
 
 static u32 get_ppgtt_flag(struct xe_sched_job *job)
 {
-	return job->q->vm ? BIT(8) : 0;
+	if (job->q->vm && !job->ggtt)
+		return BIT(8);
+
+	return 0;
 }
 
 static int emit_copy_timestamp(struct xe_lrc *lrc, u32 *dw, int i)
diff --git a/drivers/gpu/drm/xe/xe_sched_job_types.h b/drivers/gpu/drm/xe/xe_sched_job_types.h
index 0d3f76fb05ce..c207361bf43e 100644
--- a/drivers/gpu/drm/xe/xe_sched_job_types.h
+++ b/drivers/gpu/drm/xe/xe_sched_job_types.h
@@ -57,6 +57,8 @@ struct xe_sched_job {
 	u32 migrate_flush_flags;
 	/** @ring_ops_flush_tlb: The ring ops need to flush TLB before payload. */
 	bool ring_ops_flush_tlb;
+	/** @ggtt: mapped in ggtt. */
+	bool ggtt;
 	/** @ptrs: per instance pointers. */
 	struct xe_job_ptrs ptrs[];
 };
-- 
2.39.5




  parent reply	other threads:[~2025-01-15 10:54 UTC|newest]

Thread overview: 203+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-15 10:34 [PATCH 6.12 000/189] 6.12.10-rc1 review Greg Kroah-Hartman
2025-01-15 10:34 ` [PATCH 6.12 001/189] jbd2: increase IO priority for writing revoke records Greg Kroah-Hartman
2025-01-15 10:34 ` [PATCH 6.12 002/189] jbd2: flush filesystem device before updating tail sequence Greg Kroah-Hartman
2025-01-15 10:34 ` [PATCH 6.12 003/189] fs/writeback: convert wbc_account_cgroup_owner to take a folio Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 004/189] iomap: pass byte granular end position to iomap_add_to_ioend Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 005/189] iomap: fix zero padding data issue in concurrent append writes Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 006/189] dm array: fix releasing a faulty array block twice in dm_array_cursor_end Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 007/189] dm array: fix unreleased btree blocks on closing a faulty array cursor Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 008/189] dm array: fix cursor index when skipping across block boundaries Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 009/189] netfs: Fix enomem handling in buffered reads Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 010/189] nfs: Fix oops in nfs_netfs_init_request() when copying to cache Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 011/189] netfs: Fix missing barriers by using clear_and_wake_up_bit() Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 012/189] netfs: Fix ceph copy to cache on write-begin Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 013/189] netfs: Fix the (non-)cancellation of copy when cache is temporarily disabled Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 014/189] netfs: Fix is-caching check in read-retry Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 015/189] exfat: fix the infinite loop in exfat_readdir() Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 016/189] exfat: fix the new buffer was not zeroed before writing Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 017/189] exfat: fix the infinite loop in __exfat_free_cluster() Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 018/189] fuse: respect FOPEN_KEEP_CACHE on opendir Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 019/189] ovl: pass realinode to ovl_encode_real_fh() instead of realdentry Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 020/189] ovl: support encoding fid from inode with no alias Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 021/189] ASoC: rt722: add delay time to wait for the calibration procedure Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 022/189] ASoC: mediatek: disable buffer pre-allocation Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 023/189] selftests/alsa: Fix circular dependency involving global-timer Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 024/189] ieee802154: ca8210: Add missing check for kfifo_alloc() in ca8210_probe() Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 025/189] net: 802: LLC+SNAP OID:PID lookup on start of skb data Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 026/189] tcp/dccp: allow a connection when sk_max_ack_backlog is zero Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 027/189] net_sched: cls_flow: validate TCA_FLOW_RSHIFT attribute Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 028/189] net: libwx: fix firmware mailbox abnormal return Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 029/189] btrfs: avoid NULL pointer dereference if no valid extent tree Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 030/189] pds_core: limit loop over fw name list Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 031/189] bnxt_en: Fix possible memory leak when hwrm_req_replace fails Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 032/189] bnxt_en: Fix DIM shutdown Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 033/189] cxgb4: Avoid removal of uninserted tid Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 034/189] net: dont dump Tx and uninitialized NAPIs Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 035/189] ice: fix max values for dpll pin phase adjust Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 036/189] ice: fix incorrect PHY settings for 100 GB/s Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 037/189] igc: return early when failing to read EECD register Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 038/189] tls: Fix tls_sw_sendmsg error handling Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 039/189] ipvlan: Fix use-after-free in ipvlan_get_iflink() Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 040/189] eth: gve: use appropriate helper to set xdp_features Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 041/189] Bluetooth: hci_sync: Fix not setting Random Address when required Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 042/189] Bluetooth: MGMT: Fix Add Device to responding before completing Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 043/189] Bluetooth: btnxpuart: Fix driver sending truncated data Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 044/189] Bluetooth: btmtk: Fix failed to send func ctrl for MediaTek devices Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 045/189] tcp: Annotate data-race around sk->sk_mark in tcp_v4_send_reset Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 046/189] net: hns3: fixed reset failure issues caused by the incorrect reset type Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 047/189] net: hns3: fix missing features due to dev->features configuration too early Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 048/189] net: hns3: Resolved the issue that the debugfs query result is inconsistent Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 049/189] net: hns3: dont auto enable misc vector Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 050/189] net: hns3: initialize reset_timer before hclgevf_misc_irq_init() Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 051/189] net: hns3: fixed hclge_fetch_pf_reg accesses bar space out of bounds issue Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 052/189] net: hns3: fix kernel crash when 1588 is sent on HIP08 devices Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 053/189] mctp i3c: fix MCTP I3C driver multi-thread issue Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 054/189] netfilter: nf_tables: imbalance in flowtable binding Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 055/189] netfilter: conntrack: clamp maximum hashtable size to INT_MAX Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 056/189] sched: sch_cake: add bounds checks to host bulk flow fairness counts Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 057/189] net: stmmac: dwmac-tegra: Read iommu stream id from device tree Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 058/189] rtase: Fix a check for error in rtase_alloc_msix() Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 059/189] net/mlx5: Fix variable not being completed when function returns Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 060/189] drm/mediatek: Set private->all_drm_private[i]->drm to NULL if mtk_drm_bind returns err Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 061/189] drm/mediatek: Move mtk_crtc_finish_page_flip() to ddp_cmdq_cb() Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 062/189] drm/mediatek: Add support for 180-degree rotation in the display driver Greg Kroah-Hartman
2025-01-15 10:35 ` [PATCH 6.12 063/189] drm/mediatek: stop selecting foreign drivers Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 064/189] drm/mediatek: Fix YCbCr422 color format issue for DP Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 065/189] drm/mediatek: Fix mode valid issue for dp Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 066/189] drm/mediatek: mtk_dsi: Add registers to pdata to fix MT8186/MT8188 Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 067/189] gpio: virtuser: fix missing lookup table cleanups Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 068/189] gpio: virtuser: fix handling of multiple conn_ids in lookup table Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 069/189] drm/mediatek: Add return value check when reading DPCD Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 070/189] ksmbd: fix a missing return value check bug Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 071/189] afs: Fix the maximum cell name length Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 072/189] platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 073/189] platform/x86: intel/pmc: Fix ioremap() of bad address Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 074/189] ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 075/189] riscv: module: remove relocation_head rel_entry member allocation Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 076/189] cpuidle: riscv-sbi: fix device node release in early exit of for_each_possible_cpu Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 077/189] riscv: mm: Fix the out of bound issue of vmemmap address Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 078/189] riscv: stacktrace: fix backtracing through exceptions Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 079/189] riscv: use local label names instead of global ones in assembly Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 080/189] drm/xe: Fix tlb invalidation when wedging Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 081/189] netfs: Fix kernel async DIO Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 082/189] netfs: Fix read-retry for fs with no ->prepare_read() Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 083/189] drivers/perf: riscv: Fix Platform firmware event data Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 084/189] drivers/perf: riscv: Return error for default case Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 085/189] dm thin: make get_first_thin use rcu-safe list first function Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 086/189] scsi: ufs: qcom: Power off the PHY if it was already powered on in ufs_qcom_power_up_sequence() Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 087/189] vfio/pci: Fallback huge faults for unaligned pfn Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 088/189] fs: relax assertions on failure to encode file handles Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 089/189] fs: fix is_mnt_ns_file() Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 090/189] dm-ebs: dont set the flag DM_TARGET_PASSES_INTEGRITY Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 091/189] dm-verity FEC: Fix RS FEC repair for roots unaligned to block size (take 2) Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 092/189] mptcp: sysctl: avail sched: remove write access Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 093/189] mptcp: sysctl: sched: avoid using current->nsproxy Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 094/189] mptcp: sysctl: blackhole timeout: " Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 095/189] sctp: sysctl: cookie_hmac_alg: " Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 096/189] sctp: sysctl: rto_min/max: " Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 097/189] sctp: sysctl: auth_enable: " Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 098/189] sctp: sysctl: udp_port: " Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 099/189] sctp: sysctl: plpmtud_probe_interval: " Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 100/189] rds: sysctl: rds_tcp_{rcv,snd}buf: " Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 101/189] ksmbd: Implement new SMB3 POSIX type Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 102/189] btrfs: zlib: fix avail_in bytes for s390 zlib HW compression path Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 103/189] Revert "drm/mediatek: dsi: Correct calculation formula of PHY Timing" Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 104/189] drm/amd/display: Remove unnecessary amdgpu_irq_get/put Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 105/189] drm/amd/display: Add check for granularity in dml ceil/floor helpers Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 106/189] cgroup/cpuset: Prevent leakage of isolated CPUs into sched domains Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 107/189] thermal: of: fix OF node leak in of_thermal_zone_find() Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 108/189] sched_ext: Replace rq_lock() to raw_spin_rq_lock() in scx_ops_bypass() Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 109/189] sched_ext: switch class when preempted by higher priority scheduler Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 110/189] cgroup/cpuset: remove kernfs active break Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 111/189] sched_ext: idle: Refresh idle masks during idle-to-idle transitions Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 112/189] arm64: dts: qcom: x1e80100: Fix up BAR space size for PCIe6a Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 113/189] arm64: dts: qcom: sa8775p: Fix the size of addr_space regions Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 114/189] smb: client: sync the root session and superblock context passwords before automounting Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 115/189] fs: kill MNT_ONRB Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 116/189] riscv: Fix sleeping in invalid context in die() Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 117/189] riscv: kprobes: Fix incorrect address calculation Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 118/189] gpio: loongson: Fix Loongson-2K2000 ACPI GPIO register offset Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 119/189] ACPI: resource: Add TongFang GM5HG0A to irq1_edge_low_force_override[] Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 120/189] ACPI: resource: Add Asus Vivobook X1504VAP to irq1_level_low_skip_override[] Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 121/189] drm/amdgpu: Add a lock when accessing the buddy trim function Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 122/189] drm/amd/pm: fix BUG: scheduling while atomic Greg Kroah-Hartman
2025-01-15 10:36 ` [PATCH 6.12 123/189] drm/amdkfd: fixed page fault when enable MES shader debugger Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 124/189] drm/amdkfd: wq_release signals dma_fence only when available Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 125/189] drm/amd/display: fix divide error in DM plane scale calcs Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 126/189] drm/amd/display: fix page fault due to max surface definition mismatch Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 127/189] drm/amd/display: increase MAX_SURFACES to the value supported by hw Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 128/189] io_uring/timeout: fix multishot updates Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 129/189] io_uring/sqpoll: zero sqd->thread on tctx errors Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 130/189] USB: serial: option: add MeiG Smart SRM815 Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 131/189] USB: serial: option: add Neoway N723-EA support Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 132/189] staging: iio: ad9834: Correct phase range check Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 133/189] staging: iio: ad9832: " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 134/189] usb-storage: Add max sectors quirk for Nokia 208 Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 135/189] USB: serial: cp210x: add Phoenix Contact UPS Device Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 136/189] usb: dwc3: gadget: fix writing NYET threshold Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 137/189] topology: Keep the cpumask unchanged when printing cpumap Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 138/189] misc: microchip: pci1xxxx: Resolve kernel panic during GPIO IRQ handling Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 139/189] misc: microchip: pci1xxxx: Resolve return code mismatch during GPIO set config Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 140/189] tty: serial: 8250: Fix another runtime PM usage counter underflow Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 141/189] serial: stm32: use port lock wrappers for break control Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 142/189] usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 143/189] x86/fpu: Ensure shadow stack is active before "getting" registers Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 144/189] usb: dwc3-am62: Disable autosuspend during remove Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 145/189] USB: usblp: return error when setting unsupported protocol Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 146/189] USB: core: Disable LPM only for non-suspended ports Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 147/189] usb: fix reference leak in usb_new_device() Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 148/189] usb: gadget: midi2: Reverse-select at the right place Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 149/189] usb: chipidea: ci_hdrc_imx: decrement devices refcount in .remove() and in the error path of .probe() Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 150/189] usb: typec: tcpci: fix NULL pointer issue on shared irq case Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 151/189] usb: gadget: f_uac2: Fix incorrect setting of bNumEndpoints Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 152/189] usb: typec: tcpm/tcpci_maxim: fix error code in max_contaminant_read_resistance_kohm() Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 153/189] usb: gadget: f_fs: Remove WARN_ON in functionfs_bind Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 154/189] usb: gadget: configfs: Ignore trailing LF for user strings to cdev Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 155/189] usb: host: xhci-plat: set skip_phy_initialization if software node has XHCI_SKIP_PHY_INIT property Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 156/189] usb: typec: fix pm usage counter imbalance in ucsi_ccg_sync_control() Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 157/189] iio: pressure: zpa2326: fix information leak in triggered buffer Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 158/189] iio: dummy: iio_simply_dummy_buffer: " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 159/189] iio: light: vcnl4035: " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 160/189] iio: light: bh1745: " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 161/189] iio: imu: kmx61: " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 162/189] iio: adc: rockchip_saradc: " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 163/189] iio: adc: ti-ads8688: " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 164/189] iio: adc: ti-ads1119: " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 165/189] iio: adc: ti-ads1119: fix sample size in scan struct for " Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 166/189] iio: gyro: fxas21002c: Fix missing data update in trigger handler Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 167/189] iio: adc: ti-ads1298: Add NULL check in ads1298_init Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 168/189] iio: imu: inv_icm42600: fix timestamps after suspend if sensor is on Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 169/189] iio: adc: ti-ads124s08: Use gpiod_set_value_cansleep() Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 170/189] iio: adc: at91: call input_free_device() on allocated iio_dev Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 171/189] iio: inkern: call iio_device_put() only on mapped devices Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 172/189] iio: adc: ad7173: fix using shared static info struct Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 173/189] iio: adc: ad7124: Disable all channels at probe time Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 174/189] io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 175/189] arm64: dts: imx95: correct the address length of netcmix_blk_ctrl Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 176/189] ARM: dts: imxrt1050: Fix clocks for mmc Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 177/189] arm64: dts: qcom: sa8775p: fix the secure device bootup issue Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 178/189] hwmon: (drivetemp) Fix driver producing garbage data when SCSI errors occur Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 179/189] block, bfq: fix waker_bfqq UAF after bfq_split_bfqq() Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 180/189] arm64: dts: rockchip: add hevc power domain clock to rk3328 Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 181/189] firewall: remove misplaced semicolon from stm32_firewall_get_firewall Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 182/189] drm/xe/oa: Separate batch submission from waiting for completion Greg Kroah-Hartman
2025-01-15 18:20   ` Dixit, Ashutosh
2025-01-17 12:21     ` Greg Kroah-Hartman
2025-01-15 10:37 ` [PATCH 6.12 183/189] drm/xe/oa/uapi: Define and parse OA sync properties Greg Kroah-Hartman
2025-01-15 10:38 ` [PATCH 6.12 184/189] drm/xe/oa: Add input fence dependencies Greg Kroah-Hartman
2025-01-15 10:38 ` Greg Kroah-Hartman [this message]
2025-01-15 10:38 ` [PATCH 6.12 186/189] drm/mediatek: Only touch DISP_REG_OVL_PITCH_MSB if AFBC is supported Greg Kroah-Hartman
2025-01-15 10:38 ` [PATCH 6.12 187/189] io_uring: dont touch sqd->thread off tw add Greg Kroah-Hartman
2025-01-15 10:38 ` [PATCH 6.12 188/189] iio: imu: inv_icm42600: fix spi burst write not supported Greg Kroah-Hartman
2025-01-15 10:38 ` [PATCH 6.12 189/189] netdev: prevent accessing NAPI instances from another namespace Greg Kroah-Hartman
2025-01-15 11:50 ` [PATCH 6.12 000/189] 6.12.10-rc1 review Luna Jernberg
2025-01-15 13:12 ` Mark Brown
2025-01-15 14:13 ` Jon Hunter
2025-01-15 21:29 ` Justin Forbes
2025-01-15 21:44 ` Takeshi Ogasawara
2025-01-15 22:27 ` Shuah Khan
2025-01-15 22:48 ` Florian Fainelli
2025-01-16  8:00 ` Ron Economos
2025-01-16 10:19 ` Naresh Kamboju
2025-01-16 16:14 ` Peter Schneider
2025-01-17  2:27 ` [PATCH 6.12] " Hardik Garg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250115103613.788765277@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=ashutosh.dixit@intel.com \
    --cc=jonathan.cavitt@intel.com \
    --cc=matthew.brost@intel.com \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=thomas.hellstrom@linux.intel.com \
    --cc=umesh.nerlige.ramappa@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).