linux_old1/arch/powerpc/platforms/powernv
Vasant Hegde 50bd6153d1 powerpc/powernv: Code update interface
Code update interface for powernv platform. This provides
sysfs interface to pass new image, validate, update and
commit images.

This patch includes:
  - Below OPAL APIs for code update
    - opal_validate_flash()
    - opal_manage_flash()
    - opal_update_flash()

  - Create below sysfs files under /sys/firmware/opal
    - image		: Interface to pass new FW image
    - validate_flash	: Validate candidate image
    - manage_flash	: Commit/Reject operations
    - update_flash	: Flash new candidate image

Updating Image:
  "update_flash" is an interface to indicate flash new FW.
It just passes image SG list to FW. Actual flashing is done
during system reboot time.

Note:
  - SG entry format:
    I have kept version number to keep this list similar to what
    PAPR is defined.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-10-30 16:12:02 +11:00
..
Kconfig powerpc/powernv: Add scom support under OPALv3 2013-10-11 16:53:45 +11:00
Makefile powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
eeh-ioda.c powerpc/eeh: Output PHB3 diag-data 2013-10-11 16:54:12 +11:00
eeh-powernv.c powerpc/powernv: Enable EEH for PHB3 2013-10-11 16:53:56 +11:00
opal-flash.c powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
opal-lpc.c powerpc/powernv: Add PIO accessors for Power8 LPC bus 2013-08-14 14:58:08 +10:00
opal-nvram.c powerpc/powernv: Make OPAL NVRAM device tree accesses endian safe 2013-10-11 16:48:47 +11:00
opal-rtc.c powerpc/powernv: More little endian issues in OPAL RTC driver 2013-10-11 16:48:51 +11:00
opal-takeover.S powerpc: Merge STK_REG/PARAM/FRAMESIZE 2012-07-10 19:18:03 +10:00
opal-wrappers.S powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
opal-xscom.c powerpc/powernv: Add scom support under OPALv3 2013-10-11 16:53:45 +11:00
opal.c powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
pci-ioda.c Merge branch 'for-kvm' into next 2013-10-11 18:23:53 +11:00
pci-p5ioc2.c powerpc: Little endian fix for arch/powerpc/platforms/powernv/pci-p5ioc2.c 2013-10-11 16:48:43 +11:00
pci.c Merge branch 'for-kvm' into next 2013-10-11 18:23:53 +11:00
pci.h Merge branch 'for-kvm' into next 2013-10-11 18:23:53 +11:00
powernv.h powerpc/powernv: Add PIO accessors for Power8 LPC bus 2013-08-14 14:58:08 +10:00
rng.c powerpc: Add includes to fix powernv/rng.c build 2013-10-30 15:59:04 +11:00
setup.c powerpc/powernv: Return secondary CPUs to firmware on kexec 2013-08-27 17:43:50 +10:00
smp.c powerpc: Convert platforms to smp_generic_cpu_bootable 2013-08-14 14:56:57 +10:00