am64x/am243x: hdsl: Fix the two most significant bytes of fast position

- Register corruption was causing loss of multi-turn data in fast position

Fixes: PINDSW-5651

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
This commit is contained in:
Dhaval Khandla 2023-08-21 11:55:52 +05:30
parent 9ce9770c05
commit 9ac1395d6e
2 changed files with 7 additions and 7 deletions

View File

@ -1593,7 +1593,7 @@ switch_clk:
;input: ;input:
; REG_FNC.b0: value ; REG_FNC.b0: value
;modifies: ;modifies:
; REG_TMP0, REG_FNC ; REG_TMP1, REG_FNC
;-------------------------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------------------------
qm_add: qm_add:
.if 1 .if 1
@ -1617,9 +1617,9 @@ qm_add_no_capping:
qble qm_add_below_not_14, QM, 14 qble qm_add_below_not_14, QM, 14
; Defer the events register update to later ; Defer the events register update to later
; Set EVENT_UPDATE_PENDING_QMLW to indicate a low QM value ; Set EVENT_UPDATE_PENDING_QMLW to indicate a low QM value
lbco &REG_TMP0.b0, MASTER_REGS_CONST, EVENT_UPDATE_PENDING, 1 lbco &REG_TMP1.b0, MASTER_REGS_CONST, EVENT_UPDATE_PENDING, 1
set REG_TMP0.b0, REG_TMP0.w0, EVENT_UPDATE_PENDING_QMLW set REG_TMP1.b0, REG_TMP1.b0, EVENT_UPDATE_PENDING_QMLW
sbco &REG_TMP0.b0, MASTER_REGS_CONST, EVENT_UPDATE_PENDING, 1 sbco &REG_TMP1.b0, MASTER_REGS_CONST, EVENT_UPDATE_PENDING, 1
qm_add_below_not_14: qm_add_below_not_14:
or QM, QM, (1<<7) or QM, QM, (1<<7)
;update MASTER_QM ;update MASTER_QM

View File

@ -659,9 +659,9 @@ const unsigned int Hiperface_DSL2_0[]= {
0x710f6602, 0x710f6602,
0x24000f66, 0x24000f66,
0x590e6604, 0x590e6604,
0x91aa1800, 0x91aa1801,
0x1f008000, 0x1f000101,
0x81aa1800, 0x81aa1801,
0x13806666, 0x13806666,
0x81031866, 0x81031866,
0x20d10000, 0x20d10000,