Skip to content

Topics/for peripherals#83

Merged
mukesh-savaliya merged 1 commit intoqualcomm-linux:tech/bus/peripheralsfrom
vdadhani:topics/for-peripherals
Jul 8, 2025
Merged

Topics/for peripherals#83
mukesh-savaliya merged 1 commit intoqualcomm-linux:tech/bus/peripheralsfrom
vdadhani:topics/for-peripherals

Conversation

@vdadhani
Copy link

@vdadhani vdadhani commented Jul 8, 2025

No description provided.

@vdadhani vdadhani changed the base branch from main to tech/bus/peripherals July 8, 2025 08:25
I2C driver currently reports "DMA txn failed" error even though it's
NACK OR BUS_PROTO OR ARB_LOST. Detect NACK error when no device ACKs
on the bus instead of generic transfer failure which doesn't give any
specific clue.

Make Changes inside i2c driver callback handler function
i2c_gpi_cb_result() to parse these errors and make sure GSI driver
stores the error status during error interrupt.

Co-developed-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
@vdadhani vdadhani force-pushed the topics/for-peripherals branch from 204b8bc to b230239 Compare July 8, 2025 08:42
@mukesh-savaliya mukesh-savaliya merged commit 6faf7f6 into qualcomm-linux:tech/bus/peripherals Jul 8, 2025
1 check passed
sgaud-quic pushed a commit that referenced this pull request Oct 15, 2025
For 8-bit and 16-bit sign-extention mov instructions, it can use the
native instructions ext.w.b and ext.w.h directly, no need to use the
temporary t1 register, just remove the redundant operations.

Here are the test results:

  # modprobe test_bpf test_range=81,84
  # dmesg -t | tail -5
  test_bpf: #81 ALU_MOVSX | BPF_B jited:1 5 PASS
  test_bpf: #82 ALU_MOVSX | BPF_H jited:1 5 PASS
  test_bpf: #83 ALU64_MOVSX | BPF_B jited:1 5 PASS
  test_bpf: #84 ALU64_MOVSX | BPF_H jited:1 5 PASS
  test_bpf: Summary: 4 PASSED, 0 FAILED, [4/4 JIT'ed]

Acked-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants