eeh-ioda.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * The file intends to implement the functions needed by EEH, which is
  3. * built on IODA compliant chip. Actually, lots of functions related
  4. * to EEH would be built based on the OPAL APIs.
  5. *
  6. * Copyright Benjamin Herrenschmidt & Gavin Shan, IBM Corporation 2013.
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. */
  13. #include <linux/bootmem.h>
  14. #include <linux/delay.h>
  15. #include <linux/init.h>
  16. #include <linux/io.h>
  17. #include <linux/irq.h>
  18. #include <linux/kernel.h>
  19. #include <linux/msi.h>
  20. #include <linux/pci.h>
  21. #include <linux/string.h>
  22. #include <asm/eeh.h>
  23. #include <asm/eeh_event.h>
  24. #include <asm/io.h>
  25. #include <asm/iommu.h>
  26. #include <asm/msi_bitmap.h>
  27. #include <asm/opal.h>
  28. #include <asm/pci-bridge.h>
  29. #include <asm/ppc-pci.h>
  30. #include <asm/tce.h>
  31. #include "powernv.h"
  32. #include "pci.h"
  33. struct pnv_eeh_ops ioda_eeh_ops = {
  34. .post_init = NULL,
  35. .set_option = NULL,
  36. .get_state = NULL,
  37. .reset = NULL,
  38. .get_log = NULL,
  39. .configure_bridge = NULL,
  40. .next_error = NULL
  41. };