linux_dsm_epyc7002/arch/powerpc/platforms/powernv
Michael Neuling 035ed26fb0 powerpc/powernv: Check OPAL RTC calls exists before using
Check that the OPAL_RTC_READ token exists before we use the OPAL RTC.

Refactors the code a little to merge error paths.

This avoids littering the OPAL console with:
  "OPAL: Called with bad token 3".

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-09-25 23:14:35 +10:00
..
eeh-ioda.c powerpc/powernv: Handle compound PE for EEH 2014-08-05 16:33:34 +10:00
eeh-powernv.c powerpc/eeh: Aux PE data for error log 2014-08-05 15:41:43 +10:00
Kconfig powerpc/powernv: Enable POWER8 doorbell IPIs 2014-06-11 17:05:12 +10:00
Makefile powerpc/powernv: Invoke opal call to handle hmi. 2014-08-05 16:33:52 +10:00
opal-async.c powerpc/powernv: Switch powernv drivers to use machine_xxx_initcall() 2014-07-28 14:11:26 +10:00
opal-dump.c powerpc/powernv: Improve error messages in dump code 2014-09-25 23:14:34 +10:00
opal-elog.c This finally applies the stricter sysfs perms checking we pulled out 2014-08-10 21:31:58 -07:00
opal-flash.c powerpc/powernv: Pass buffer size to OPAL validate flash call 2014-06-05 14:54:04 +10:00
opal-hmi.c powerpc: use machine_subsys_initcall() for opal_hmi_handler_init() 2014-09-09 19:02:46 +10:00
opal-lpc.c powerpc/powernv: Switch powernv drivers to use machine_xxx_initcall() 2014-07-28 14:11:26 +10:00
opal-memory-errors.c powerpc/powernv: Switch powernv drivers to use machine_xxx_initcall() 2014-07-28 14:11:26 +10:00
opal-msglog.c powerpc/powernv: Fix reading of OPAL msglog 2014-06-11 17:03:36 +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: Check OPAL RTC calls exists before using 2014-09-25 23:14:35 +10:00
opal-sensor.c powerpc/powernv: Fix endian issues with sensor code 2014-04-09 12:52:49 +10:00
opal-sysparam.c powernv: Fix permissions on sysparam sysfs entries 2014-06-11 17:03:15 +10:00
opal-tracepoints.c powernv: Add OPAL tracepoints 2014-07-11 16:06:08 +10:00
opal-wrappers.S powerpc/powernv: Add OPAL check token call 2014-09-25 23:14:35 +10:00
opal-xscom.c powerpc/powernv: Switch powernv drivers to use machine_xxx_initcall() 2014-07-28 14:11:26 +10:00
opal.c powerpc/powernv: Interface to register/unregister opal dump region 2014-08-13 15:13:45 +10:00
pci-ioda.c powerpc/powernv: Fix IOMMU group lost 2014-08-13 15:13:42 +10:00
pci-p5ioc2.c powerpc/powernv: Add a page size parameter to pnv_pci_setup_iommu_table() 2014-07-11 16:05:53 +10:00
pci.c powerpc/powernv: Handle compound PE in config accessors 2014-08-05 16:33:39 +10:00
pci.h powerpc/powernv: Handle compound PE 2014-08-05 16:33:30 +10:00
powernv.h powerpc/powernv: Add support for POWER8 split core on powernv 2014-05-28 13:35:37 +10:00
rng.c powerpc/powernv: Switch powernv drivers to use machine_xxx_initcall() 2014-07-28 14:11:26 +10:00
setup.c powerpc/book3s: Add basic infrastructure to handle HMI in Linux. 2014-08-05 16:33:48 +10:00
smp.c powerpc/powernv: Enable POWER8 doorbell IPIs 2014-06-11 17:05:12 +10:00
subcore-asm.S powerpc/powernv: Add support for POWER8 split core on powernv 2014-05-28 13:35:37 +10:00
subcore.c powerpc/powernv: Add support for POWER8 split core on powernv 2014-05-28 13:35:37 +10:00
subcore.h powerpc/powernv: Add support for POWER8 split core on powernv 2014-05-28 13:35:37 +10:00