239 break;
240 }
241
242 if (errata.piix4.bmisx)
243 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
244 "Bus master activity detection (BM-IDE) erratum enabled\n"));
245 if (errata.piix4.fdma)
246 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
247 "Type-F DMA livelock erratum (C3 disabled)\n"));
248
249 return 0;
250}
251
252static int acpi_processor_errata(struct acpi_processor *pr)
253{
254 int result = 0;
255 struct pci_dev *dev = NULL;
256
257
258 if (!pr)
259 return -EINVAL;
260
261
262
263
264 dev = pci_get_subsys(PCI_VENDOR_ID_INTEL,
265 PCI_DEVICE_ID_INTEL_82371AB_3, PCI_ANY_ID,
266 PCI_ANY_ID, NULL);
267 if (dev) {
268 result = acpi_processor_errata_piix4(dev);
269 pci_dev_put(dev);
270 }
271
272 return result;
273}
274
275
276
277
278
279