Home | History | Annotate | Download | only in acpi

Lines Matching defs:ghes

40  * XXX switch-to-polling for GHES notifications
42 * XXX error threshold for GHES notifications
84 * Hardware Error Source (GHES, not GHESv2). Return true if there
90 ACPI_HEST_GENERIC *ghes = container_of(src->as_header,
101 ghes->Header.SourceId);
103 ghes->ErrorBlockLength, ctx, &fatal);
119 * XXX The GHES(v1) protocol is unclear from the specification
204 * Error Source (GHES, not GHESv2), using Notification Type `0 -
215 ACPI_HEST_GENERIC *ghes = container_of(src->as_header,
228 MAX(1, mstohz(ghes->Notify.PollInterval)));
274 * Sources (GHES, not GHESv2) with Notification Type `4 - NMI'.
319 * apei_hest_attach_ghes(sc, ghes, i)
321 * Attach a Generic Hardware Error Source (GHES, not GHESv2) as
328 apei_hest_attach_ghes(struct apei_softc *sc, ACPI_HEST_GENERIC *ghes,
338 i, ghes->Header.SourceId);
348 switch (ghes->Enabled) {
355 aprint_error_dev(sc->sc_dev, "%s: unknown GHES Enabled state:"
356 " 0x%"PRIx8"\n", ctx, ghes->Enabled);
365 if (ghes->ErrorStatusAddress.BitWidth > 64) {
367 " %"PRIu8"\n", ctx, ghes->ErrorStatusAddress.BitWidth);
372 * Read the GHES Error Status Address. This is the physical
375 * simply stored directly in the GHES, is unclear to me.
380 rv = AcpiRead(&addr, &ghes->ErrorStatusAddress);
395 src->as_header = &ghes->Header;
396 src->as_ghes.gesb = AcpiOsMapMemory(addr, ghes->ErrorBlockLength);
401 switch (ghes->Notify.Type) {
403 if (ghes->Notify.PollInterval == 0) /* paranoia */
436 * apei_hest_detach_ghes(sc, ghes, i)
439 * (GHES, not GHESv2).
445 apei_hest_detach_ghes(struct apei_softc *sc, ACPI_HEST_GENERIC *ghes,
454 switch (ghes->Notify.Type) {
456 if (ghes->Notify.PollInterval == 0) /* paranoia */
482 AcpiOsUnmapMemory(src->as_ghes.gesb, ghes->ErrorBlockLength);
770 ACPI_HEST_GENERIC *const ghes = container_of(header,
773 if (maxlen < sizeof(*ghes))
775 apei_hest_attach_ghes(sc, ghes, i);
776 return (ACPI_HEST_HEADER *)(ghes + 1);
847 ACPI_HEST_GENERIC *ghes = container_of(header,
850 apei_hest_detach_ghes(sc, ghes, i);