public inbox for stable@vger.kernel.org
 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,
	Dikshita Agarwal <dikshita@codeaurora.org>,
	Bryan ODonoghue <bryan.odonoghue@linaro.org>,
	Stanimir Varbanov <stanimir.varbanov@linaro.org>,
	Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.10 071/226] media: venus: hfi,pm,firmware: Convert to block relative addressing
Date: Mon,  9 Oct 2023 15:00:32 +0200	[thread overview]
Message-ID: <20231009130128.640591787@linuxfoundation.org> (raw)
In-Reply-To: <20231009130126.697995596@linuxfoundation.org>

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

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

From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

[ Upstream commit ff2a7013b3e6a3d34d2b5c7786b8a73093d25319 ]

An upcoming silicon change places a number of existing blocks within the
Venus at different relative offsets to the base address of IO region.

In order to handle this difference this patch changes the address offsets
of the registers to function as offsets relative to the relevant sub-block
of registers within the IO region not the base address of the IO region.

As a result of this change venus_readl() and venus_writel() are deleted.

Co-developed-by: Dikshita Agarwal <dikshita@codeaurora.org>
Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Stable-dep-of: d74e48160980 ("media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/media/platform/qcom/venus/firmware.c  | 28 +++----
 drivers/media/platform/qcom/venus/hfi_venus.c | 82 ++++++++++---------
 .../media/platform/qcom/venus/hfi_venus_io.h  | 80 +++++++++---------
 .../media/platform/qcom/venus/pm_helpers.c    | 12 +--
 4 files changed, 105 insertions(+), 97 deletions(-)

diff --git a/drivers/media/platform/qcom/venus/firmware.c b/drivers/media/platform/qcom/venus/firmware.c
index 1db64a854b88b..67b9138a7c5fb 100644
--- a/drivers/media/platform/qcom/venus/firmware.c
+++ b/drivers/media/platform/qcom/venus/firmware.c
@@ -27,19 +27,19 @@
 static void venus_reset_cpu(struct venus_core *core)
 {
 	u32 fw_size = core->fw.mapped_mem_size;
-	void __iomem *base = core->base;
+	void __iomem *wrapper_base = core->wrapper_base;
 
-	writel(0, base + WRAPPER_FW_START_ADDR);
-	writel(fw_size, base + WRAPPER_FW_END_ADDR);
-	writel(0, base + WRAPPER_CPA_START_ADDR);
-	writel(fw_size, base + WRAPPER_CPA_END_ADDR);
-	writel(fw_size, base + WRAPPER_NONPIX_START_ADDR);
-	writel(fw_size, base + WRAPPER_NONPIX_END_ADDR);
-	writel(0x0, base + WRAPPER_CPU_CGC_DIS);
-	writel(0x0, base + WRAPPER_CPU_CLOCK_CONFIG);
+	writel(0, wrapper_base + WRAPPER_FW_START_ADDR);
+	writel(fw_size, wrapper_base + WRAPPER_FW_END_ADDR);
+	writel(0, wrapper_base + WRAPPER_CPA_START_ADDR);
+	writel(fw_size, wrapper_base + WRAPPER_CPA_END_ADDR);
+	writel(fw_size, wrapper_base + WRAPPER_NONPIX_START_ADDR);
+	writel(fw_size, wrapper_base + WRAPPER_NONPIX_END_ADDR);
+	writel(0x0, wrapper_base + WRAPPER_CPU_CGC_DIS);
+	writel(0x0, wrapper_base + WRAPPER_CPU_CLOCK_CONFIG);
 
 	/* Bring ARM9 out of reset */
-	writel(0, base + WRAPPER_A9SS_SW_RESET);
+	writel(0, wrapper_base + WRAPPER_A9SS_SW_RESET);
 }
 
 int venus_set_hw_state(struct venus_core *core, bool resume)
@@ -56,7 +56,7 @@ int venus_set_hw_state(struct venus_core *core, bool resume)
 	if (resume)
 		venus_reset_cpu(core);
 	else
-		writel(1, core->base + WRAPPER_A9SS_SW_RESET);
+		writel(1, core->wrapper_base + WRAPPER_A9SS_SW_RESET);
 
 	return 0;
 }
@@ -159,12 +159,12 @@ static int venus_shutdown_no_tz(struct venus_core *core)
 	size_t unmapped;
 	u32 reg;
 	struct device *dev = core->fw.dev;
-	void __iomem *base = core->base;
+	void __iomem *wrapper_base = core->wrapper_base;
 
 	/* Assert the reset to ARM9 */
-	reg = readl_relaxed(base + WRAPPER_A9SS_SW_RESET);
+	reg = readl_relaxed(wrapper_base + WRAPPER_A9SS_SW_RESET);
 	reg |= WRAPPER_A9SS_SW_RESET_BIT;
-	writel_relaxed(reg, base + WRAPPER_A9SS_SW_RESET);
+	writel_relaxed(reg, wrapper_base + WRAPPER_A9SS_SW_RESET);
 
 	/* Make sure reset is asserted before the mapping is removed */
 	mb();
diff --git a/drivers/media/platform/qcom/venus/hfi_venus.c b/drivers/media/platform/qcom/venus/hfi_venus.c
index 4be4a75ddcb6e..3d705fc5e1093 100644
--- a/drivers/media/platform/qcom/venus/hfi_venus.c
+++ b/drivers/media/platform/qcom/venus/hfi_venus.c
@@ -345,16 +345,6 @@ static void venus_free(struct venus_hfi_device *hdev, struct mem_desc *mem)
 	dma_free_attrs(dev, mem->size, mem->kva, mem->da, mem->attrs);
 }
 
-static void venus_writel(struct venus_hfi_device *hdev, u32 reg, u32 value)
-{
-	writel(value, hdev->core->base + reg);
-}
-
-static u32 venus_readl(struct venus_hfi_device *hdev, u32 reg)
-{
-	return readl(hdev->core->base + reg);
-}
-
 static void venus_set_registers(struct venus_hfi_device *hdev)
 {
 	const struct venus_resources *res = hdev->core->res;
@@ -363,12 +353,14 @@ static void venus_set_registers(struct venus_hfi_device *hdev)
 	unsigned int i;
 
 	for (i = 0; i < count; i++)
-		venus_writel(hdev, tbl[i].reg, tbl[i].value);
+		writel(tbl[i].value, hdev->core->base + tbl[i].reg);
 }
 
 static void venus_soft_int(struct venus_hfi_device *hdev)
 {
-	venus_writel(hdev, CPU_IC_SOFTINT, BIT(CPU_IC_SOFTINT_H2A_SHIFT));
+	void __iomem *cpu_ic_base = hdev->core->cpu_ic_base;
+
+	writel(BIT(CPU_IC_SOFTINT_H2A_SHIFT), cpu_ic_base + CPU_IC_SOFTINT);
 }
 
 static int venus_iface_cmdq_write_nolock(struct venus_hfi_device *hdev,
@@ -441,14 +433,16 @@ static int venus_boot_core(struct venus_hfi_device *hdev)
 	static const unsigned int max_tries = 100;
 	u32 ctrl_status = 0;
 	unsigned int count = 0;
+	void __iomem *cpu_cs_base = hdev->core->cpu_cs_base;
+	void __iomem *wrapper_base = hdev->core->wrapper_base;
 	int ret = 0;
 
-	venus_writel(hdev, VIDC_CTRL_INIT, BIT(VIDC_CTRL_INIT_CTRL_SHIFT));
-	venus_writel(hdev, WRAPPER_INTR_MASK, WRAPPER_INTR_MASK_A2HVCODEC_MASK);
-	venus_writel(hdev, CPU_CS_SCIACMDARG3, 1);
+	writel(BIT(VIDC_CTRL_INIT_CTRL_SHIFT), cpu_cs_base + VIDC_CTRL_INIT);
+	writel(WRAPPER_INTR_MASK_A2HVCODEC_MASK, wrapper_base + WRAPPER_INTR_MASK);
+	writel(1, cpu_cs_base + CPU_CS_SCIACMDARG3);
 
 	while (!ctrl_status && count < max_tries) {
-		ctrl_status = venus_readl(hdev, CPU_CS_SCIACMDARG0);
+		ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0);
 		if ((ctrl_status & CPU_CS_SCIACMDARG0_ERROR_STATUS_MASK) == 4) {
 			dev_err(dev, "invalid setting for UC_REGION\n");
 			ret = -EINVAL;
@@ -468,9 +462,11 @@ static int venus_boot_core(struct venus_hfi_device *hdev)
 static u32 venus_hwversion(struct venus_hfi_device *hdev)
 {
 	struct device *dev = hdev->core->dev;
-	u32 ver = venus_readl(hdev, WRAPPER_HW_VERSION);
+	void __iomem *wrapper_base = hdev->core->wrapper_base;
+	u32 ver;
 	u32 major, minor, step;
 
+	ver = readl(wrapper_base + WRAPPER_HW_VERSION);
 	major = ver & WRAPPER_HW_VERSION_MAJOR_VERSION_MASK;
 	major = major >> WRAPPER_HW_VERSION_MAJOR_VERSION_SHIFT;
 	minor = ver & WRAPPER_HW_VERSION_MINOR_VERSION_MASK;
@@ -485,6 +481,7 @@ static u32 venus_hwversion(struct venus_hfi_device *hdev)
 static int venus_run(struct venus_hfi_device *hdev)
 {
 	struct device *dev = hdev->core->dev;
+	void __iomem *cpu_cs_base = hdev->core->cpu_cs_base;
 	int ret;
 
 	/*
@@ -493,12 +490,12 @@ static int venus_run(struct venus_hfi_device *hdev)
 	 */
 	venus_set_registers(hdev);
 
-	venus_writel(hdev, UC_REGION_ADDR, hdev->ifaceq_table.da);
-	venus_writel(hdev, UC_REGION_SIZE, SHARED_QSIZE);
-	venus_writel(hdev, CPU_CS_SCIACMDARG2, hdev->ifaceq_table.da);
-	venus_writel(hdev, CPU_CS_SCIACMDARG1, 0x01);
+	writel(hdev->ifaceq_table.da, cpu_cs_base + UC_REGION_ADDR);
+	writel(SHARED_QSIZE, cpu_cs_base + UC_REGION_SIZE);
+	writel(hdev->ifaceq_table.da, cpu_cs_base + CPU_CS_SCIACMDARG2);
+	writel(0x01, cpu_cs_base + CPU_CS_SCIACMDARG1);
 	if (hdev->sfr.da)
-		venus_writel(hdev, SFR_ADDR, hdev->sfr.da);
+		writel(hdev->sfr.da, cpu_cs_base + SFR_ADDR);
 
 	ret = venus_boot_core(hdev);
 	if (ret) {
@@ -513,17 +510,18 @@ static int venus_run(struct venus_hfi_device *hdev)
 
 static int venus_halt_axi(struct venus_hfi_device *hdev)
 {
-	void __iomem *base = hdev->core->base;
+	void __iomem *wrapper_base = hdev->core->wrapper_base;
+	void __iomem *vbif_base = hdev->core->vbif_base;
 	struct device *dev = hdev->core->dev;
 	u32 val;
 	int ret;
 
 	if (IS_V4(hdev->core)) {
-		val = venus_readl(hdev, WRAPPER_CPU_AXI_HALT);
+		val = readl(wrapper_base + WRAPPER_CPU_AXI_HALT);
 		val |= WRAPPER_CPU_AXI_HALT_HALT;
-		venus_writel(hdev, WRAPPER_CPU_AXI_HALT, val);
+		writel(val, wrapper_base + WRAPPER_CPU_AXI_HALT);
 
-		ret = readl_poll_timeout(base + WRAPPER_CPU_AXI_HALT_STATUS,
+		ret = readl_poll_timeout(wrapper_base + WRAPPER_CPU_AXI_HALT_STATUS,
 					 val,
 					 val & WRAPPER_CPU_AXI_HALT_STATUS_IDLE,
 					 POLL_INTERVAL_US,
@@ -537,12 +535,12 @@ static int venus_halt_axi(struct venus_hfi_device *hdev)
 	}
 
 	/* Halt AXI and AXI IMEM VBIF Access */
-	val = venus_readl(hdev, VBIF_AXI_HALT_CTRL0);
+	val = readl(vbif_base + VBIF_AXI_HALT_CTRL0);
 	val |= VBIF_AXI_HALT_CTRL0_HALT_REQ;
-	venus_writel(hdev, VBIF_AXI_HALT_CTRL0, val);
+	writel(val, vbif_base + VBIF_AXI_HALT_CTRL0);
 
 	/* Request for AXI bus port halt */
-	ret = readl_poll_timeout(base + VBIF_AXI_HALT_CTRL1, val,
+	ret = readl_poll_timeout(vbif_base + VBIF_AXI_HALT_CTRL1, val,
 				 val & VBIF_AXI_HALT_CTRL1_HALT_ACK,
 				 POLL_INTERVAL_US,
 				 VBIF_AXI_HALT_ACK_TIMEOUT_US);
@@ -1035,19 +1033,21 @@ static irqreturn_t venus_isr(struct venus_core *core)
 {
 	struct venus_hfi_device *hdev = to_hfi_priv(core);
 	u32 status;
+	void __iomem *cpu_cs_base = hdev->core->cpu_cs_base;
+	void __iomem *wrapper_base = hdev->core->wrapper_base;
 
 	if (!hdev)
 		return IRQ_NONE;
 
-	status = venus_readl(hdev, WRAPPER_INTR_STATUS);
+	status = readl(wrapper_base + WRAPPER_INTR_STATUS);
 
 	if (status & WRAPPER_INTR_STATUS_A2H_MASK ||
 	    status & WRAPPER_INTR_STATUS_A2HWD_MASK ||
 	    status & CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK)
 		hdev->irq_status = status;
 
-	venus_writel(hdev, CPU_CS_A2HSOFTINTCLR, 1);
-	venus_writel(hdev, WRAPPER_INTR_CLEAR, status);
+	writel(1, cpu_cs_base + CPU_CS_A2HSOFTINTCLR);
+	writel(status, wrapper_base + WRAPPER_INTR_CLEAR);
 
 	return IRQ_WAKE_THREAD;
 }
@@ -1380,6 +1380,7 @@ static int venus_suspend_1xx(struct venus_core *core)
 {
 	struct venus_hfi_device *hdev = to_hfi_priv(core);
 	struct device *dev = core->dev;
+	void __iomem *cpu_cs_base = hdev->core->cpu_cs_base;
 	u32 ctrl_status;
 	int ret;
 
@@ -1414,7 +1415,7 @@ static int venus_suspend_1xx(struct venus_core *core)
 		return -EINVAL;
 	}
 
-	ctrl_status = venus_readl(hdev, CPU_CS_SCIACMDARG0);
+	ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0);
 	if (!(ctrl_status & CPU_CS_SCIACMDARG0_PC_READY)) {
 		mutex_unlock(&hdev->lock);
 		return -EINVAL;
@@ -1435,10 +1436,12 @@ static int venus_suspend_1xx(struct venus_core *core)
 
 static bool venus_cpu_and_video_core_idle(struct venus_hfi_device *hdev)
 {
+	void __iomem *wrapper_base = hdev->core->wrapper_base;
+	void __iomem *cpu_cs_base = hdev->core->cpu_cs_base;
 	u32 ctrl_status, cpu_status;
 
-	cpu_status = venus_readl(hdev, WRAPPER_CPU_STATUS);
-	ctrl_status = venus_readl(hdev, CPU_CS_SCIACMDARG0);
+	cpu_status = readl(wrapper_base + WRAPPER_CPU_STATUS);
+	ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0);
 
 	if (cpu_status & WRAPPER_CPU_STATUS_WFI &&
 	    ctrl_status & CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK)
@@ -1449,10 +1452,12 @@ static bool venus_cpu_and_video_core_idle(struct venus_hfi_device *hdev)
 
 static bool venus_cpu_idle_and_pc_ready(struct venus_hfi_device *hdev)
 {
+	void __iomem *wrapper_base = hdev->core->wrapper_base;
+	void __iomem *cpu_cs_base = hdev->core->cpu_cs_base;
 	u32 ctrl_status, cpu_status;
 
-	cpu_status = venus_readl(hdev, WRAPPER_CPU_STATUS);
-	ctrl_status = venus_readl(hdev, CPU_CS_SCIACMDARG0);
+	cpu_status = readl(wrapper_base + WRAPPER_CPU_STATUS);
+	ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0);
 
 	if (cpu_status & WRAPPER_CPU_STATUS_WFI &&
 	    ctrl_status & CPU_CS_SCIACMDARG0_PC_READY)
@@ -1465,6 +1470,7 @@ static int venus_suspend_3xx(struct venus_core *core)
 {
 	struct venus_hfi_device *hdev = to_hfi_priv(core);
 	struct device *dev = core->dev;
+	void __iomem *cpu_cs_base = hdev->core->cpu_cs_base;
 	u32 ctrl_status;
 	bool val;
 	int ret;
@@ -1481,7 +1487,7 @@ static int venus_suspend_3xx(struct venus_core *core)
 		return -EINVAL;
 	}
 
-	ctrl_status = venus_readl(hdev, CPU_CS_SCIACMDARG0);
+	ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0);
 	if (ctrl_status & CPU_CS_SCIACMDARG0_PC_READY)
 		goto power_off;
 
diff --git a/drivers/media/platform/qcom/venus/hfi_venus_io.h b/drivers/media/platform/qcom/venus/hfi_venus_io.h
index 3b52f98478db0..4c392b67252c2 100644
--- a/drivers/media/platform/qcom/venus/hfi_venus_io.h
+++ b/drivers/media/platform/qcom/venus/hfi_venus_io.h
@@ -8,27 +8,28 @@
 
 #define VBIF_BASE				0x80000
 
-#define VBIF_AXI_HALT_CTRL0			(VBIF_BASE + 0x208)
-#define VBIF_AXI_HALT_CTRL1			(VBIF_BASE + 0x20c)
+#define VBIF_AXI_HALT_CTRL0			0x208
+#define VBIF_AXI_HALT_CTRL1			0x20c
 
 #define VBIF_AXI_HALT_CTRL0_HALT_REQ		BIT(0)
 #define VBIF_AXI_HALT_CTRL1_HALT_ACK		BIT(0)
 #define VBIF_AXI_HALT_ACK_TIMEOUT_US		500000
 
 #define CPU_BASE				0xc0000
+
 #define CPU_CS_BASE				(CPU_BASE + 0x12000)
 #define CPU_IC_BASE				(CPU_BASE + 0x1f000)
 
-#define CPU_CS_A2HSOFTINTCLR			(CPU_CS_BASE + 0x1c)
+#define CPU_CS_A2HSOFTINTCLR			0x1c
 
-#define VIDC_CTRL_INIT				(CPU_CS_BASE + 0x48)
+#define VIDC_CTRL_INIT				0x48
 #define VIDC_CTRL_INIT_RESERVED_BITS31_1_MASK	0xfffffffe
 #define VIDC_CTRL_INIT_RESERVED_BITS31_1_SHIFT	1
 #define VIDC_CTRL_INIT_CTRL_MASK		0x1
 #define VIDC_CTRL_INIT_CTRL_SHIFT		0
 
 /* HFI control status */
-#define CPU_CS_SCIACMDARG0			(CPU_CS_BASE + 0x4c)
+#define CPU_CS_SCIACMDARG0			0x4c
 #define CPU_CS_SCIACMDARG0_MASK			0xff
 #define CPU_CS_SCIACMDARG0_SHIFT		0x0
 #define CPU_CS_SCIACMDARG0_ERROR_STATUS_MASK	0xfe
@@ -39,42 +40,43 @@
 #define CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK	BIT(30)
 
 /* HFI queue table info */
-#define CPU_CS_SCIACMDARG1			(CPU_CS_BASE + 0x50)
+#define CPU_CS_SCIACMDARG1			0x50
 
 /* HFI queue table address */
-#define CPU_CS_SCIACMDARG2			(CPU_CS_BASE + 0x54)
+#define CPU_CS_SCIACMDARG2			0x54
 
 /* Venus cpu */
-#define CPU_CS_SCIACMDARG3			(CPU_CS_BASE + 0x58)
+#define CPU_CS_SCIACMDARG3			0x58
 
-#define SFR_ADDR				(CPU_CS_BASE + 0x5c)
-#define MMAP_ADDR				(CPU_CS_BASE + 0x60)
-#define UC_REGION_ADDR				(CPU_CS_BASE + 0x64)
-#define UC_REGION_SIZE				(CPU_CS_BASE + 0x68)
+#define SFR_ADDR				0x5c
+#define MMAP_ADDR				0x60
+#define UC_REGION_ADDR				0x64
+#define UC_REGION_SIZE				0x68
 
-#define CPU_IC_SOFTINT				(CPU_IC_BASE + 0x18)
+/* Relative to CPU_IC_BASE */
+#define CPU_IC_SOFTINT				0x18
 #define CPU_IC_SOFTINT_H2A_MASK			0x8000
 #define CPU_IC_SOFTINT_H2A_SHIFT		0xf
 
 /* Venus wrapper */
 #define WRAPPER_BASE				0x000e0000
 
-#define WRAPPER_HW_VERSION			(WRAPPER_BASE + 0x00)
+#define WRAPPER_HW_VERSION			0x00
 #define WRAPPER_HW_VERSION_MAJOR_VERSION_MASK	0x78000000
 #define WRAPPER_HW_VERSION_MAJOR_VERSION_SHIFT	28
 #define WRAPPER_HW_VERSION_MINOR_VERSION_MASK	0xfff0000
 #define WRAPPER_HW_VERSION_MINOR_VERSION_SHIFT	16
 #define WRAPPER_HW_VERSION_STEP_VERSION_MASK	0xffff
 
-#define WRAPPER_CLOCK_CONFIG			(WRAPPER_BASE + 0x04)
+#define WRAPPER_CLOCK_CONFIG			0x04
 
-#define WRAPPER_INTR_STATUS			(WRAPPER_BASE + 0x0c)
+#define WRAPPER_INTR_STATUS			0x0c
 #define WRAPPER_INTR_STATUS_A2HWD_MASK		0x10
 #define WRAPPER_INTR_STATUS_A2HWD_SHIFT		0x4
 #define WRAPPER_INTR_STATUS_A2H_MASK		0x4
 #define WRAPPER_INTR_STATUS_A2H_SHIFT		0x2
 
-#define WRAPPER_INTR_MASK			(WRAPPER_BASE + 0x10)
+#define WRAPPER_INTR_MASK			0x10
 #define WRAPPER_INTR_MASK_A2HWD_BASK		0x10
 #define WRAPPER_INTR_MASK_A2HWD_SHIFT		0x4
 #define WRAPPER_INTR_MASK_A2HVCODEC_MASK	0x8
@@ -82,41 +84,41 @@
 #define WRAPPER_INTR_MASK_A2HCPU_MASK		0x4
 #define WRAPPER_INTR_MASK_A2HCPU_SHIFT		0x2
 
-#define WRAPPER_INTR_CLEAR			(WRAPPER_BASE + 0x14)
+#define WRAPPER_INTR_CLEAR			0x14
 #define WRAPPER_INTR_CLEAR_A2HWD_MASK		0x10
 #define WRAPPER_INTR_CLEAR_A2HWD_SHIFT		0x4
 #define WRAPPER_INTR_CLEAR_A2H_MASK		0x4
 #define WRAPPER_INTR_CLEAR_A2H_SHIFT		0x2
 
-#define WRAPPER_POWER_STATUS			(WRAPPER_BASE + 0x44)
-#define WRAPPER_VDEC_VCODEC_POWER_CONTROL	(WRAPPER_BASE + 0x48)
-#define WRAPPER_VENC_VCODEC_POWER_CONTROL	(WRAPPER_BASE + 0x4c)
-#define WRAPPER_VDEC_VENC_AHB_BRIDGE_SYNC_RESET	(WRAPPER_BASE + 0x64)
+#define WRAPPER_POWER_STATUS			0x44
+#define WRAPPER_VDEC_VCODEC_POWER_CONTROL	0x48
+#define WRAPPER_VENC_VCODEC_POWER_CONTROL	0x4c
+#define WRAPPER_VDEC_VENC_AHB_BRIDGE_SYNC_RESET	0x64
 
-#define WRAPPER_CPU_CLOCK_CONFIG		(WRAPPER_BASE + 0x2000)
-#define WRAPPER_CPU_AXI_HALT			(WRAPPER_BASE + 0x2008)
+#define WRAPPER_CPU_CLOCK_CONFIG		0x2000
+#define WRAPPER_CPU_AXI_HALT			0x2008
 #define WRAPPER_CPU_AXI_HALT_HALT		BIT(16)
-#define WRAPPER_CPU_AXI_HALT_STATUS		(WRAPPER_BASE + 0x200c)
+#define WRAPPER_CPU_AXI_HALT_STATUS		0x200c
 #define WRAPPER_CPU_AXI_HALT_STATUS_IDLE	BIT(24)
 
-#define WRAPPER_CPU_CGC_DIS			(WRAPPER_BASE + 0x2010)
-#define WRAPPER_CPU_STATUS			(WRAPPER_BASE + 0x2014)
+#define WRAPPER_CPU_CGC_DIS			0x2010
+#define WRAPPER_CPU_STATUS			0x2014
 #define WRAPPER_CPU_STATUS_WFI			BIT(0)
-#define WRAPPER_SW_RESET			(WRAPPER_BASE + 0x3000)
-#define WRAPPER_CPA_START_ADDR			(WRAPPER_BASE + 0x1020)
-#define WRAPPER_CPA_END_ADDR			(WRAPPER_BASE + 0x1024)
-#define WRAPPER_FW_START_ADDR			(WRAPPER_BASE + 0x1028)
-#define WRAPPER_FW_END_ADDR			(WRAPPER_BASE + 0x102C)
-#define WRAPPER_NONPIX_START_ADDR		(WRAPPER_BASE + 0x1030)
-#define WRAPPER_NONPIX_END_ADDR			(WRAPPER_BASE + 0x1034)
-#define WRAPPER_A9SS_SW_RESET			(WRAPPER_BASE + 0x3000)
+#define WRAPPER_SW_RESET			0x3000
+#define WRAPPER_CPA_START_ADDR			0x1020
+#define WRAPPER_CPA_END_ADDR			0x1024
+#define WRAPPER_FW_START_ADDR			0x1028
+#define WRAPPER_FW_END_ADDR			0x102C
+#define WRAPPER_NONPIX_START_ADDR		0x1030
+#define WRAPPER_NONPIX_END_ADDR			0x1034
+#define WRAPPER_A9SS_SW_RESET			0x3000
 #define WRAPPER_A9SS_SW_RESET_BIT		BIT(4)
 
 /* Venus 4xx */
-#define WRAPPER_VCODEC0_MMCC_POWER_STATUS	(WRAPPER_BASE + 0x90)
-#define WRAPPER_VCODEC0_MMCC_POWER_CONTROL	(WRAPPER_BASE + 0x94)
+#define WRAPPER_VCODEC0_MMCC_POWER_STATUS	0x90
+#define WRAPPER_VCODEC0_MMCC_POWER_CONTROL	0x94
 
-#define WRAPPER_VCODEC1_MMCC_POWER_STATUS	(WRAPPER_BASE + 0x110)
-#define WRAPPER_VCODEC1_MMCC_POWER_CONTROL	(WRAPPER_BASE + 0x114)
+#define WRAPPER_VCODEC1_MMCC_POWER_STATUS	0x110
+#define WRAPPER_VCODEC1_MMCC_POWER_CONTROL	0x114
 
 #endif
diff --git a/drivers/media/platform/qcom/venus/pm_helpers.c b/drivers/media/platform/qcom/venus/pm_helpers.c
index f7de02352f1b0..6bf9c5c319de7 100644
--- a/drivers/media/platform/qcom/venus/pm_helpers.c
+++ b/drivers/media/platform/qcom/venus/pm_helpers.c
@@ -304,9 +304,9 @@ vcodec_control_v3(struct venus_core *core, u32 session_type, bool enable)
 	void __iomem *ctrl;
 
 	if (session_type == VIDC_SESSION_TYPE_DEC)
-		ctrl = core->base + WRAPPER_VDEC_VCODEC_POWER_CONTROL;
+		ctrl = core->wrapper_base + WRAPPER_VDEC_VCODEC_POWER_CONTROL;
 	else
-		ctrl = core->base + WRAPPER_VENC_VCODEC_POWER_CONTROL;
+		ctrl = core->wrapper_base + WRAPPER_VENC_VCODEC_POWER_CONTROL;
 
 	if (enable)
 		writel(0, ctrl);
@@ -381,11 +381,11 @@ static int vcodec_control_v4(struct venus_core *core, u32 coreid, bool enable)
 	int ret;
 
 	if (coreid == VIDC_CORE_ID_1) {
-		ctrl = core->base + WRAPPER_VCODEC0_MMCC_POWER_CONTROL;
-		stat = core->base + WRAPPER_VCODEC0_MMCC_POWER_STATUS;
+		ctrl = core->wrapper_base + WRAPPER_VCODEC0_MMCC_POWER_CONTROL;
+		stat = core->wrapper_base + WRAPPER_VCODEC0_MMCC_POWER_STATUS;
 	} else {
-		ctrl = core->base + WRAPPER_VCODEC1_MMCC_POWER_CONTROL;
-		stat = core->base + WRAPPER_VCODEC1_MMCC_POWER_STATUS;
+		ctrl = core->wrapper_base + WRAPPER_VCODEC1_MMCC_POWER_CONTROL;
+		stat = core->wrapper_base + WRAPPER_VCODEC1_MMCC_POWER_STATUS;
 	}
 
 	if (enable) {
-- 
2.40.1




  parent reply	other threads:[~2023-10-09 13:38 UTC|newest]

Thread overview: 253+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-09 12:59 [PATCH 5.10 000/226] 5.10.198-rc1 review Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 001/226] NFS: Use the correct commit info in nfs_join_page_group() Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 002/226] NFS/pNFS: Report EINVAL errors from connect() to the server Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 003/226] SUNRPC: Mark the cred for revalidation if the server rejects it Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 004/226] tracing: Increase trace array ref count on enable and filter files Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 005/226] ata: ahci: Drop pointless VPRINTK() calls and convert the remaining ones Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 006/226] ata: libahci: clear pending interrupt status Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 007/226] ext4: remove the group parameter of ext4_trim_extent Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 008/226] ext4: add new helper interface ext4_try_to_trim_range() Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 009/226] ext4: scope ret locally in ext4_try_to_trim_range() Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 010/226] ext4: change s_last_trim_minblks type to unsigned long Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 011/226] ext4: mark group as trimmed only if it was fully scanned Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 012/226] ext4: replace the traditional ternary conditional operator with with max()/min() Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 013/226] ext4: move setting of trimmed bit into ext4_try_to_trim_range() Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 014/226] ext4: do not let fstrim block system suspend Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 015/226] tracing: Have event inject files inc the trace array ref count Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 016/226] netfilter: nf_tables: integrate pipapo into commit protocol Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 017/226] netfilter: nf_tables: dont skip expired elements during walk Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 018/226] netfilter: nf_tables: GC transaction API to avoid race with control plane Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 019/226] netfilter: nf_tables: adapt set backend to use GC transaction API Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 020/226] netfilter: nft_set_hash: mark set element as dead when deleting from packet path Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 021/226] netfilter: nf_tables: remove busy mark and gc batch API Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 022/226] netfilter: nf_tables: dont fail inserts if duplicate has expired Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 023/226] netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 024/226] netfilter: nf_tables: GC transaction race with netns dismantle Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 025/226] netfilter: nf_tables: GC transaction race with abort path Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 026/226] netfilter: nf_tables: use correct lock to protect gc_list Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 027/226] netfilter: nf_tables: defer gc run if previous batch is still pending Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 028/226] netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 029/226] netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 030/226] netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 031/226] netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 032/226] netfilter: nf_tables: fix memleak when more than 255 elements expired Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 033/226] ASoC: meson: spdifin: start hw on dai probe Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 034/226] netfilter: nf_tables: disallow element removal on anonymous sets Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 035/226] bpf: Avoid deadlock when using queue and stack maps from NMI Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 036/226] selftests/tls: Add {} to avoid static checker warning Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 037/226] selftests: tls: swap the TX and RX sockets in some tests Greg Kroah-Hartman
2023-10-09 12:59 ` [PATCH 5.10 038/226] ASoC: imx-audmix: Fix return error with devm_clk_get() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 039/226] i40e: Fix VF VLAN offloading when port VLAN is configured Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 040/226] ipv4: fix null-deref in ipv4_link_failure Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 041/226] powerpc/perf/hv-24x7: Update domain value check Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 042/226] dccp: fix dccp_v4_err()/dccp_v6_err() again Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 043/226] platform/x86: intel_scu_ipc: Check status after timeout in busy_loop() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 044/226] platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 045/226] platform/x86: intel_scu_ipc: Dont override scu in intel_scu_ipc_dev_simple_command() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 046/226] platform/x86: intel_scu_ipc: Fail IPC send if still busy Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 047/226] x86/srso: Fix srso_show_state() side effect Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 048/226] x86/srso: Fix SBPB enablement for spec_rstack_overflow=off Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 049/226] net: hns3: only enable unicast promisc when mac table full Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 050/226] net: hns3: add 5ms delay before clear firmware reset irq source Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 051/226] net: bridge: use DEV_STATS_INC() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 052/226] team: fix null-ptr-deref when team device type is changed Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 053/226] netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 054/226] seqlock: avoid -Wshadow warnings Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 055/226] seqlock: Rename __seqprop() users Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 056/226] seqlock: Prefix internal seqcount_t-only macros with a "do_" Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 057/226] locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 058/226] bnxt_en: Flush XDP for bnxt_poll_nitroa0()s NAPI Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 059/226] net: rds: Fix possible NULL-pointer dereference Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 060/226] gpio: tb10x: Fix an error handling path in tb10x_gpio_probe() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 061/226] i2c: mux: demux-pinctrl: check the return value of devm_kstrdup() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 062/226] netfilter: nf_tables: unregister flowtable hooks on netns exit Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 063/226] netfilter: nf_tables: double hook unregistration in netns path Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 064/226] Input: i8042 - rename i8042-x86ia64io.h to i8042-acpipnpio.h Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 065/226] Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 066/226] mmc: renesas_sdhi: probe into TMIO after SCC parameters have been setup Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 067/226] mmc: renesas_sdhi: populate SCC pointer at the proper place Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 068/226] mmc: tmio: support custom irq masks Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 069/226] mmc: renesas_sdhi: register irqs before registering controller Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 070/226] media: venus: core: Add io base variables for each block Greg Kroah-Hartman
2023-10-09 13:00 ` Greg Kroah-Hartman [this message]
2023-10-09 13:00 ` [PATCH 5.10 072/226] media: venus: hfi: Define additional 6xx registers Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 073/226] media: venus: core: Add differentiator IS_V6(core) Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 074/226] media: venus: hfi: Add a 6xx boot logic Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 075/226] media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 076/226] netfilter: use actual socket sk for REJECT action Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 077/226] netfilter: nft_exthdr: Support SCTP chunks Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 078/226] netfilter: nf_tables: add and use nft_sk helper Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 079/226] netfilter: nf_tables: add and use nft_thoff helper Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 080/226] netfilter: nft_exthdr: break evaluation if setting TCP option fails Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 081/226] netfilter: exthdr: add support for tcp option removal Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 082/226] netfilter: nft_exthdr: Fix non-linear header modification Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 083/226] ata: libata: Rename link flag ATA_LFLAG_NO_DB_DELAY Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 084/226] ata: ahci: Add support for AMD A85 FCH (Hudson D4) Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 085/226] ata: ahci: Rename board_ahci_mobile Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 086/226] ata: ahci: Add Elkhart Lake AHCI controller Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 087/226] btrfs: reset destination buffer when read_extent_buffer() gets invalid range Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 088/226] MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 089/226] bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset() Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 090/226] bus: ti-sysc: Fix missing AM35xx SoC matching Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 091/226] clk: tegra: fix error return case for recalc_rate Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 092/226] ARM: dts: omap: correct indentation Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 093/226] ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4 Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 094/226] ARM: dts: motorola-mapphone: Configure lower temperature passive cooling Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 095/226] ARM: dts: motorola-mapphone: Add 1.2GHz OPP Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 096/226] ARM: dts: motorola-mapphone: Drop second ti,wlcore compatible value Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 097/226] ARM: dts: am335x: Guardian: Update beeper label Greg Kroah-Hartman
2023-10-09 13:00 ` [PATCH 5.10 098/226] ARM: dts: Unify pwm-omap-dmtimer node names Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 099/226] ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 100/226] bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 101/226] power: supply: ucs1002: fix error code in ucs1002_get_property() Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 102/226] xtensa: add default definition for XCHAL_HAVE_DIV32 Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 103/226] xtensa: iss/network: make functions static Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 104/226] xtensa: boot: dont add include-dirs Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 105/226] xtensa: boot/lib: fix function prototypes Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 106/226] gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 107/226] i2c: npcm7xx: Fix callback completion ordering Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 108/226] dma-debug: dont call __dma_entry_alloc_check_leak() under free_entries_lock Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 109/226] parisc: sba: Fix compile warning wrt list of SBA devices Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 110/226] parisc: iosapic.c: Fix sparse warnings Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 111/226] parisc: drivers: Fix sparse warning Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 112/226] parisc: irq: Make irq_stack_union static to avoid " Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 113/226] scsi: qedf: Add synchronization between I/O completions and abort Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 114/226] selftests/ftrace: Correctly enable event in instance-event.tc Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 115/226] ring-buffer: Avoid softlockup in ring_buffer_resize() Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 116/226] selftests: fix dependency checker script Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 117/226] ring-buffer: Do not attempt to read past "commit" Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 118/226] platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 119/226] scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 120/226] scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 121/226] ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset() Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 122/226] spi: nxp-fspi: reset the FLSHxCR1 registers Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 123/226] bpf: Clarify error expectations from bpf_clone_redirect Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 124/226] media: vb2: frame_vector.c: replace WARN_ONCE with a comment Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 125/226] powerpc/watchpoints: Disable preemption in thread_change_pc() Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 126/226] ncsi: Propagate carrier gain/loss events to the NCSI controller Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 127/226] fbdev/sh7760fb: Depend on FB=y Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 128/226] perf build: Define YYNOMEM as YYNOABORT for bison < 3.81 Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 129/226] sched/cpuacct: Fix user/system in shown cpuacct.usage* Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 130/226] sched/cpuacct: Fix charge percpu cpuusage Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 131/226] sched/cpuacct: Optimize away RCU read lock Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 132/226] cgroup: Fix suspicious rcu_dereference_check() usage warning Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 133/226] ACPI: Check StorageD3Enable _DSD property in ACPI code Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 134/226] nvme-pci: factor the iod mempool creation into a helper Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 135/226] nvme-pci: factor out a nvme_pci_alloc_dev helper Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 136/226] nvme-pci: do not set the NUMA node of device if it has none Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 137/226] watchdog: iTCO_wdt: No need to stop the timer in probe Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 138/226] watchdog: iTCO_wdt: Set NO_REBOOT if the watchdog is not already running Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 139/226] netfilter: nft_exthdr: Search chunks in SCTP packets only Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 140/226] netfilter: nft_exthdr: Fix for unsafe packet data read Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 141/226] nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 142/226] smack: Record transmuting in smk_transmuted Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 143/226] smack: Retrieve transmuting information in smack_inode_getsecurity() Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 144/226] Smack:- Use overlay inode label in smack_inode_copy_up() Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 145/226] Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux" Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 146/226] serial: 8250_port: Check IRQ data before use Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 147/226] nilfs2: fix potential use after free in nilfs_gccache_submit_read_data() Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 148/226] netfilter: nf_tables: disallow rule removal from chain binding Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 149/226] ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 150/226] ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 151/226] i2c: i801: unregister tco_pdev in i801_probe() error path Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 152/226] Revert "SUNRPC dont update timeout value on connection reset" Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 153/226] proc: nommu: /proc/<pid>/maps: release mmap read lock Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 154/226] ring-buffer: Update "shortest_full" in polling Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 155/226] btrfs: properly report 0 avail for very full file systems Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 156/226] bpf: Fix BTF_ID symbol generation collision Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 157/226] bpf: Fix BTF_ID symbol generation collision in tools/ Greg Kroah-Hartman
2023-10-09 13:01 ` [PATCH 5.10 158/226] net: thunderbolt: Fix TCPv6 GSO checksum calculation Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 159/226] ata: libata-core: Fix ata_port_request_pm() locking Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 160/226] ata: libata-core: Fix port and device removal Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 161/226] ata: libata-core: Do not register PM operations for SAS ports Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 162/226] ata: libata-sata: increase PMP SRST timeout to 10s Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 163/226] fs: binfmt_elf_efpic: fix personality for ELF-FDPIC Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 164/226] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 165/226] spi: zynqmp-gqspi: fix clock imbalance on probe failure Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 166/226] NFS: Cleanup unused rpc_clnt variable Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 167/226] NFS: rename nfs_client_kset to nfs_kset Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 168/226] NFSv4: Fix a state manager thread deadlock regression Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 169/226] ring-buffer: remove obsolete comment for free_buffer_page() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 170/226] ring-buffer: Fix bytes info in per_cpu buffer stats Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 171/226] drm/mediatek: Fix backport issue in mtk_drm_gem_prime_vmap() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 172/226] rbd: move rbd_dev_refresh() definition Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 173/226] rbd: decouple header read-in from updating rbd_dev->header Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 174/226] rbd: decouple parent info read-in from updating rbd_dev Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 175/226] rbd: take header_rwsem in rbd_dev_refresh() only when updating Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 176/226] block: fix use-after-free of q->q_usage_counter Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 177/226] Revert "clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz" Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 178/226] Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3" Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 179/226] scsi: zfcp: Fix a double put in zfcp_port_enqueue() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 180/226] qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 181/226] wifi: mwifiex: Fix tlv_buf_left calculation Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 182/226] net: replace calls to sock->ops->connect() with kernel_connect() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 183/226] btrfs: reject unknown mount options early Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 184/226] net: prevent rewrite of msg_name in sock_sendmsg() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 185/226] arm64: Add Cortex-A520 CPU part definition Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 186/226] ubi: Refuse attaching if mtds erasesize is 0 Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 187/226] wifi: iwlwifi: dbg_ini: fix structure packing Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 188/226] wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 189/226] bpf: Fix tr dereferencing Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 190/226] drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 191/226] wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 192/226] regmap: rbtree: Fix wrong register marked as in-cache when creating new node Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 193/226] ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 194/226] scsi: target: core: Fix deadlock due to recursive locking Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 195/226] ima: rework CONFIG_IMA dependency block Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 196/226] NFSv4: Fix a nfs4_state_manager() race Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 197/226] modpost: add missing else to the "of" check Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 198/226] net: fix possible store tearing in neigh_periodic_work() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 199/226] ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 200/226] net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 201/226] net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 202/226] net: nfc: llcp: Add lock when modifying device list Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 203/226] net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 204/226] netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 205/226] netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 206/226] net: stmmac: dwmac-stm32: fix resume on STM32 MCU Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 207/226] tipc: fix a potential deadlock on &tx->lock Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 208/226] tcp: fix quick-ack counting to count actual ACKs of new data Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 209/226] tcp: fix delayed ACKs for MSS boundary condition Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 210/226] sctp: update transport state when processing a dupcook packet Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 211/226] sctp: update hb timer immediately after users change hb_interval Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 212/226] cpupower: add Makefile dependencies for install targets Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 213/226] dm zoned: free dmz->ddev array in dmz_put_zoned_devices Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 214/226] RDMA/core: Require admin capabilities to set system parameters Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 215/226] of: dynamic: Fix potential memory leak in of_changeset_action() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 216/226] IB/mlx4: Fix the size of a buffer in add_port_entries() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 217/226] gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config() Greg Kroah-Hartman
2023-10-09 13:02 ` [PATCH 5.10 218/226] gpio: pxa: disable pinctrl calls for MMP_GPIO Greg Kroah-Hartman
2023-10-09 13:03 ` [PATCH 5.10 219/226] RDMA/cma: Initialize ib_sa_multicast structure to 0 when join Greg Kroah-Hartman
2023-10-09 13:03 ` [PATCH 5.10 220/226] RDMA/cma: Fix truncation compilation warning in make_cma_ports Greg Kroah-Hartman
2023-10-09 13:03 ` [PATCH 5.10 221/226] RDMA/uverbs: Fix typo of sizeof argument Greg Kroah-Hartman
2023-10-09 13:03 ` [PATCH 5.10 222/226] RDMA/siw: Fix connection failure handling Greg Kroah-Hartman
2023-10-09 13:03 ` [PATCH 5.10 223/226] RDMA/mlx5: Fix NULL string error Greg Kroah-Hartman
2023-10-09 13:03 ` [PATCH 5.10 224/226] parisc: Restore __ldcw_align for PA-RISC 2.0 processors Greg Kroah-Hartman
2023-10-09 13:03 ` [PATCH 5.10 225/226] netfilter: nf_tables: fix kdoc warnings after gc rework Greg Kroah-Hartman
2023-10-09 13:03 ` [PATCH 5.10 226/226] netfilter: nftables: exthdr: fix 4-byte stack OOB write Greg Kroah-Hartman
2023-10-09 19:33 ` [PATCH 5.10 000/226] 5.10.198-rc1 review Pavel Machek
2023-10-09 20:13   ` renesas_sdhi problems in 5.10-stable was " Pavel Machek
2023-10-10 11:18     ` Pavel Machek
2023-10-10 12:05       ` Pavel Machek
2023-10-10 19:07         ` Wolfram Sang
2023-10-10 19:14           ` Greg Kroah-Hartman
2023-10-24 19:22             ` Pavel Machek
2023-10-25 10:47               ` Geert Uytterhoeven
2023-10-25 10:53                 ` Geert Uytterhoeven
2023-10-25 12:35                   ` Geert Uytterhoeven
2023-10-25 17:05                     ` Geert Uytterhoeven
2023-10-25 18:39                       ` Guenter Roeck
2023-10-25 19:53                         ` Geert Uytterhoeven
2023-10-25 21:26                           ` Geert Uytterhoeven
2023-10-26 12:08                             ` Geert Uytterhoeven
2023-10-26 12:20                               ` Geert Uytterhoeven
2023-10-25 22:00                       ` Pavel Machek
2023-10-26  1:23                         ` Guenter Roeck
2023-10-09 20:24 ` Florian Fainelli
2023-10-09 22:57 ` Shuah Khan
2023-10-10  9:57 ` Jon Hunter
2023-10-10 18:18 ` Guenter Roeck
2023-10-11  1:40 ` Naresh Kamboju
2023-10-11  6:47 ` luomeng
2023-10-11  9:18   ` Pavel Machek
2023-10-11  9:38 ` Pavel Machek

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=20231009130128.640591787@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=dikshita@codeaurora.org \
    --cc=mchehab+huawei@kernel.org \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=stanimir.varbanov@linaro.org \
    /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