Bug 26839 - [devel-6.6] Add platform-specific quirks for ZX-200 device
Summary: [devel-6.6] Add platform-specific quirks for ZX-200 device
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-30 14:27 UTC by LeoLiu-oc
Modified: 2025-10-30 14:29 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LeoLiu-oc zhaoxin_group 2025-10-30 14:27:39 UTC
Adds platform-specific handling for Zhaoxin ZX-200 in both AHCI and xHCI
drivers.

For non-Zhaoxin CPU platforms, it applies the following quirks:
1. In AHCI driver (ahci.c):
   - Sets AHCI_HFLAG_32BIT_ONLY flag to restrict DMA operations to 32-bit
     addressing

2. In xHCI driver (xhci-pci.c):
   - Sets XHCI_RESET_ON_RESUME quirk to handle device resume issues
   - Sets XHCI_NO_64BIT_SUPPORT quirk to disable 64-bit DMA addressing

These changes ensure proper functionality and compatibility of Zhaoxin
ZX-200 on third-party platforms.
Comment 1 小龙 admin 2025-10-30 14:29:48 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5950