Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm64/arm64/gicv3_its.c
Show First 20 Lines • Show All 268 Lines • ▼ Show 20 Lines | |||||
static const struct { | static const struct { | ||||
const char *desc; | const char *desc; | ||||
uint32_t iidr; | uint32_t iidr; | ||||
uint32_t iidr_mask; | uint32_t iidr_mask; | ||||
its_quirk_func_t *func; | its_quirk_func_t *func; | ||||
} its_quirks[] = { | } its_quirks[] = { | ||||
{ | { | ||||
/* Cavium ThunderX Pass 1.x */ | /* Cavium ThunderX Pass 1.x */ | ||||
.desc = "Cavoum ThunderX errata: 22375, 24313", | .desc = "Cavium ThunderX errata: 22375, 24313", | ||||
.iidr = GITS_IIDR_RAW(GITS_IIDR_IMPL_CAVIUM, | .iidr = GITS_IIDR_RAW(GITS_IIDR_IMPL_CAVIUM, | ||||
GITS_IIDR_PROD_THUNDER, GITS_IIDR_VAR_THUNDER_1, 0), | GITS_IIDR_PROD_THUNDER, GITS_IIDR_VAR_THUNDER_1, 0), | ||||
.iidr_mask = ~GITS_IIDR_REVISION_MASK, | .iidr_mask = ~GITS_IIDR_REVISION_MASK, | ||||
.func = its_quirk_cavium_22375, | .func = its_quirk_cavium_22375, | ||||
}, | }, | ||||
}; | }; | ||||
#define gic_its_read_4(sc, reg) \ | #define gic_its_read_4(sc, reg) \ | ||||
▲ Show 20 Lines • Show All 1,478 Lines • Show Last 20 Lines |