Skip to content

Commit eacdd8e

Browse files
committed
Merge tag 'icc-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc into char-misc-next
Georgi writes: interconnect changes for 6.10 This pull request contains the interconnect changes for the 6.10-rc1 merge window. It contains some small driver changes listed below: Driver changes: - Cleanup sm6115 QoS port numbering. - Fix incorrect port value in qcm2290 driver. Signed-off-by: Georgi Djakov <[email protected]> * tag 'icc-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc: interconnect: qcom: qcm2290: Fix mas_snoc_bimc QoS port assignment interconnect: qcom: sm6115: Unspaghettify SNoC QoS port numbering
2 parents 8003f00 + 230d05b commit eacdd8e

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

drivers/interconnect/qcom/qcm2290.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static struct qcom_icc_node mas_snoc_bimc = {
164164
.name = "mas_snoc_bimc",
165165
.buswidth = 16,
166166
.qos.ap_owned = true,
167-
.qos.qos_port = 2,
167+
.qos.qos_port = 6,
168168
.qos.qos_mode = NOC_QOS_MODE_BYPASS,
169169
.mas_rpm_id = 164,
170170
.slv_rpm_id = -1,

drivers/interconnect/qcom/sm6115.c

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ static struct qcom_icc_node crypto_c0 = {
242242
.id = SM6115_MASTER_CRYPTO_CORE0,
243243
.channels = 1,
244244
.buswidth = 8,
245-
.qos.qos_port = 43,
245+
.qos.qos_port = 22,
246246
.qos.qos_mode = NOC_QOS_MODE_FIXED,
247247
.qos.areq_prio = 2,
248248
.mas_rpm_id = 23,
@@ -332,7 +332,7 @@ static struct qcom_icc_node qnm_camera_nrt = {
332332
.id = SM6115_MASTER_CAMNOC_SF,
333333
.channels = 1,
334334
.buswidth = 32,
335-
.qos.qos_port = 25,
335+
.qos.qos_port = 4,
336336
.qos.qos_mode = NOC_QOS_MODE_FIXED,
337337
.qos.areq_prio = 3,
338338
.mas_rpm_id = -1,
@@ -346,7 +346,7 @@ static struct qcom_icc_node qxm_venus0 = {
346346
.id = SM6115_MASTER_VIDEO_P0,
347347
.channels = 1,
348348
.buswidth = 16,
349-
.qos.qos_port = 30,
349+
.qos.qos_port = 9,
350350
.qos.qos_mode = NOC_QOS_MODE_FIXED,
351351
.qos.areq_prio = 3,
352352
.qos.urg_fwd_en = true,
@@ -361,7 +361,7 @@ static struct qcom_icc_node qxm_venus_cpu = {
361361
.id = SM6115_MASTER_VIDEO_PROC,
362362
.channels = 1,
363363
.buswidth = 8,
364-
.qos.qos_port = 34,
364+
.qos.qos_port = 13,
365365
.qos.qos_mode = NOC_QOS_MODE_FIXED,
366366
.qos.areq_prio = 4,
367367
.mas_rpm_id = -1,
@@ -379,7 +379,7 @@ static struct qcom_icc_node qnm_camera_rt = {
379379
.id = SM6115_MASTER_CAMNOC_HF,
380380
.channels = 1,
381381
.buswidth = 32,
382-
.qos.qos_port = 31,
382+
.qos.qos_port = 10,
383383
.qos.qos_mode = NOC_QOS_MODE_FIXED,
384384
.qos.areq_prio = 3,
385385
.qos.urg_fwd_en = true,
@@ -394,7 +394,7 @@ static struct qcom_icc_node qxm_mdp0 = {
394394
.id = SM6115_MASTER_MDP_PORT0,
395395
.channels = 1,
396396
.buswidth = 16,
397-
.qos.qos_port = 26,
397+
.qos.qos_port = 5,
398398
.qos.qos_mode = NOC_QOS_MODE_FIXED,
399399
.qos.areq_prio = 3,
400400
.qos.urg_fwd_en = true,
@@ -434,7 +434,7 @@ static struct qcom_icc_node qhm_tic = {
434434
.id = SM6115_MASTER_TIC,
435435
.channels = 1,
436436
.buswidth = 4,
437-
.qos.qos_port = 29,
437+
.qos.qos_port = 8,
438438
.qos.qos_mode = NOC_QOS_MODE_FIXED,
439439
.qos.areq_prio = 2,
440440
.mas_rpm_id = -1,
@@ -484,7 +484,7 @@ static struct qcom_icc_node qxm_pimem = {
484484
.id = SM6115_MASTER_PIMEM,
485485
.channels = 1,
486486
.buswidth = 8,
487-
.qos.qos_port = 41,
487+
.qos.qos_port = 20,
488488
.qos.qos_mode = NOC_QOS_MODE_FIXED,
489489
.qos.areq_prio = 2,
490490
.mas_rpm_id = -1,
@@ -498,7 +498,7 @@ static struct qcom_icc_node qhm_qdss_bam = {
498498
.id = SM6115_MASTER_QDSS_BAM,
499499
.channels = 1,
500500
.buswidth = 4,
501-
.qos.qos_port = 23,
501+
.qos.qos_port = 2,
502502
.qos.qos_mode = NOC_QOS_MODE_FIXED,
503503
.qos.areq_prio = 2,
504504
.mas_rpm_id = -1,
@@ -523,7 +523,7 @@ static struct qcom_icc_node qhm_qup0 = {
523523
.id = SM6115_MASTER_QUP_0,
524524
.channels = 1,
525525
.buswidth = 4,
526-
.qos.qos_port = 21,
526+
.qos.qos_port = 0,
527527
.qos.qos_mode = NOC_QOS_MODE_FIXED,
528528
.qos.areq_prio = 2,
529529
.mas_rpm_id = 166,
@@ -537,7 +537,7 @@ static struct qcom_icc_node qxm_ipa = {
537537
.id = SM6115_MASTER_IPA,
538538
.channels = 1,
539539
.buswidth = 8,
540-
.qos.qos_port = 24,
540+
.qos.qos_port = 3,
541541
.qos.qos_mode = NOC_QOS_MODE_FIXED,
542542
.qos.areq_prio = 2,
543543
.mas_rpm_id = 59,
@@ -551,7 +551,7 @@ static struct qcom_icc_node xm_qdss_etr = {
551551
.id = SM6115_MASTER_QDSS_ETR,
552552
.channels = 1,
553553
.buswidth = 8,
554-
.qos.qos_port = 33,
554+
.qos.qos_port = 12,
555555
.qos.qos_mode = NOC_QOS_MODE_FIXED,
556556
.qos.areq_prio = 2,
557557
.mas_rpm_id = -1,
@@ -565,7 +565,7 @@ static struct qcom_icc_node xm_sdc1 = {
565565
.id = SM6115_MASTER_SDCC_1,
566566
.channels = 1,
567567
.buswidth = 8,
568-
.qos.qos_port = 38,
568+
.qos.qos_port = 17,
569569
.qos.qos_mode = NOC_QOS_MODE_FIXED,
570570
.qos.areq_prio = 2,
571571
.mas_rpm_id = 33,
@@ -579,7 +579,7 @@ static struct qcom_icc_node xm_sdc2 = {
579579
.id = SM6115_MASTER_SDCC_2,
580580
.channels = 1,
581581
.buswidth = 8,
582-
.qos.qos_port = 44,
582+
.qos.qos_port = 23,
583583
.qos.qos_mode = NOC_QOS_MODE_FIXED,
584584
.qos.areq_prio = 2,
585585
.mas_rpm_id = 35,
@@ -593,7 +593,7 @@ static struct qcom_icc_node xm_usb3_0 = {
593593
.id = SM6115_MASTER_USB3,
594594
.channels = 1,
595595
.buswidth = 8,
596-
.qos.qos_port = 45,
596+
.qos.qos_port = 24,
597597
.qos.qos_mode = NOC_QOS_MODE_FIXED,
598598
.qos.areq_prio = 2,
599599
.mas_rpm_id = -1,
@@ -1336,6 +1336,7 @@ static const struct qcom_icc_desc sm6115_sys_noc = {
13361336
.intf_clocks = snoc_intf_clocks,
13371337
.num_intf_clocks = ARRAY_SIZE(snoc_intf_clocks),
13381338
.bus_clk_desc = &bus_2_clk,
1339+
.qos_offset = 0x15000,
13391340
.keep_alive = true,
13401341
};
13411342

@@ -1367,6 +1368,7 @@ static const struct qcom_icc_desc sm6115_mmnrt_virt = {
13671368
.regmap_cfg = &sys_noc_regmap_config,
13681369
.bus_clk_desc = &mmaxi_0_clk,
13691370
.keep_alive = true,
1371+
.qos_offset = 0x15000,
13701372
.ab_coeff = 142,
13711373
};
13721374

@@ -1383,6 +1385,7 @@ static const struct qcom_icc_desc sm6115_mmrt_virt = {
13831385
.regmap_cfg = &sys_noc_regmap_config,
13841386
.bus_clk_desc = &mmaxi_1_clk,
13851387
.keep_alive = true,
1388+
.qos_offset = 0x15000,
13861389
.ab_coeff = 139,
13871390
};
13881391

0 commit comments

Comments
 (0)