| feat: add ubfeature-based snoop cache mode validation - SystemAdapter: add ReadUbfeatureFromSysfs() to read /sys/bus/ub/ub_feature with detailed error logging - UbseMemAdapter: cache ubfeature_ value during Initialize(), add CheckFeatureCompatibility() - ShmCreate() / ShmCreateWithProvider(): validate flags against ubfeature Bit3 before actual allocation - CC mode (CACHE/WITH_LOCK) rejected when snoop on (Bit3=0) - NC-CC mode (ONLY_IMPORT_NONCACHE) rejected when snoop off (Bit3=1) - File not found or parse error: skip validation with detailed error logging - Unit tests: 7 cases for CheckFeatureCompatibility | 2 个月前 |