Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 460f325d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight-tmc: increase qdss pcie sw path throughput"

parents 32365ca0 931dbd1b
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -1129,9 +1129,11 @@ tmc_etr_setup_sysfs_buf(struct tmc_drvdata *drvdata)
			&& drvdata->byte_cntr->sw_usb)
			&& drvdata->byte_cntr->sw_usb)
			new_buf = tmc_alloc_etr_buf(drvdata, TMC_ETR_SW_USB_BUF_SIZE,
			new_buf = tmc_alloc_etr_buf(drvdata, TMC_ETR_SW_USB_BUF_SIZE,
					 0, cpu_to_node(0), NULL);
					 0, cpu_to_node(0), NULL);
		else if (drvdata->out_mode == TMC_ETR_OUT_MODE_PCIE)
		else if (drvdata->out_mode == TMC_ETR_OUT_MODE_PCIE) {
			new_buf = tmc_alloc_etr_buf(drvdata, TMC_ETR_PCIE_MEM_SIZE,
			new_buf = tmc_alloc_etr_buf(drvdata, TMC_ETR_PCIE_MEM_SIZE,
					 0, cpu_to_node(0), NULL);
					 0, cpu_to_node(0), NULL);
			drvdata->size = TMC_ETR_PCIE_MEM_SIZE;
		}
		else
		else
			new_buf = tmc_alloc_etr_buf(drvdata, drvdata->size,
			new_buf = tmc_alloc_etr_buf(drvdata, drvdata->size,
					 0, cpu_to_node(0), NULL);
					 0, cpu_to_node(0), NULL);
+1 −1
Original line number Original line Diff line number Diff line
@@ -104,7 +104,7 @@
#define TMC_ETR_BAM_PIPE_INDEX	0
#define TMC_ETR_BAM_PIPE_INDEX	0
#define TMC_ETR_BAM_NR_PIPES	2
#define TMC_ETR_BAM_NR_PIPES	2


#define TMC_ETR_PCIE_MEM_SIZE	0x400000
#define TMC_ETR_PCIE_MEM_SIZE	0x2000000


#define TMC_AUTH_NSID_MASK	GENMASK(1, 0)
#define TMC_AUTH_NSID_MASK	GENMASK(1, 0)