alistair23-linux/drivers/firmware
Bjorn Andersson 8c1b7dc9ba firmware: qcom: scm: Expose download-mode control
In order to aid post-mortem debugging the Qualcomm platforms provide a
"memory download mode", where the boot loader will provide an interface
for custom tools to "download" the content of RAM to a host machine.

The mode is triggered by writing a magic value somewhere in RAM, that is
read in the boot code path after a warm-restart. Two mechanism for
setting this magic value are supported in modern platforms; a direct SCM
call to enable the mode or through a secure io write of a magic value.

In order for a normal reboot not to trigger "download mode" the magic
must be cleared during a clean reboot.

Download mode has to be enabled by including qcom_scm.download_mode=1 on
the command line.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-10-11 23:48:27 -05:00
..
broadcom
efi Just a single conversion to the new UUID API for this merge window. 2017-09-12 13:27:21 -07:00
google dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
meson firmware: meson-sm: Allow 0 as valid return value 2017-03-23 12:22:40 -07:00
tegra firmware: tegra: set drvdata earlier 2017-08-17 13:08:08 +02:00
arm_scpi.c ARM SCPI fixes for v4.14 2017-08-24 15:51:54 +02:00
dcdbas.c firmware/dcdbas: Constify attribute_group structures 2017-08-21 09:43:51 +02:00
dcdbas.h
dell_rbu.c
dmi-id.c firmware: dmi: Fix permissions of product_family 2017-06-15 13:46:01 +02:00
dmi-sysfs.c x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap() for RAM mappings 2017-07-18 11:37:58 +02:00
dmi_scan.c firmware: dmi_scan: Check DMI structure length 2017-06-15 13:46:01 +02:00
edd.c
iscsi_ibft.c
iscsi_ibft_find.c
Kconfig firmware: qcom: scm: Expose download-mode control 2017-10-11 23:48:27 -05:00
Makefile
memmap.c
pcdp.c x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap() for RAM mappings 2017-07-18 11:37:58 +02:00
pcdp.h
psci.c firmware: Convert to using %pOF instead of full_name 2017-08-16 17:19:50 +02:00
psci_checker.c sched/headers: Prepare for new header dependencies before moving code to <uapi/linux/sched/types.h> 2017-03-02 08:42:27 +01:00
qcom_scm-32.c firmware: qcom: scm: Expose download-mode control 2017-10-11 23:48:27 -05:00
qcom_scm-64.c firmware: qcom: scm: Expose download-mode control 2017-10-11 23:48:27 -05:00
qcom_scm.c firmware: qcom: scm: Expose download-mode control 2017-10-11 23:48:27 -05:00
qcom_scm.h firmware: qcom: scm: Expose download-mode control 2017-10-11 23:48:27 -05:00
qemu_fw_cfg.c
raspberrypi.c
scpi_pm_domain.c
ti_sci.c firmware: ti_sci: fix strncat length check 2017-05-19 10:31:36 +02:00
ti_sci.h