Remoteproc core dump support
Subsystems (9)
v2 cover Remoteproc core dump support
Picking up Sarangdhar's original patches for adding core dump support to remoteproc.
Based on the recently proposed "load resources" hook this registers segments of the Qualcomm MDT file as dump segments which are used to build an ELF file representing the various memory segments in the case of a crash of the remote processor.
Bjorn Andersson (2):
remoteproc: Rename "load_rsc_table" to "parse_fw"
soc: qcom: mdt-loader: Return relocation base
Sarangdhar Joshi (2):
remoteproc: Add remote processor coredump support
remoteproc: qcom: Register segments for core dump
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 4 +- drivers/media/platform/qcom/venus/firmware.c | 2 +- drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/qcom_adsp_pil.c | 5 +- drivers/remoteproc/qcom_common.c | 44 +++++++++ drivers/remoteproc/qcom_common.h | 2 + drivers/remoteproc/qcom_wcnss.c | 4 +- drivers/remoteproc/remoteproc_core.c | 134 ++++++++++++++++++++++++++- drivers/remoteproc/remoteproc_internal.h | 7 +- drivers/soc/qcom/mdt_loader.c | 7 +- include/linux/remoteproc.h | 20 +++- include/linux/soc/qcom/mdt_loader.h | 3 +- 12 files changed, 218 insertions(+), 15 deletions(-)
Signature · 1 line
2.15.0
PATCH v2 1/4 remoteproc: Add remote processor coredump support
From: Sarangdhar Joshi <[email protected]>
As the remoteproc framework restarts the remote processor after a fatal event, it's useful to be able to acquire a coredump of the remote processor's state, for post mortem debugging.
This patch introduces a mechanism for extracting the memory contents after the remote has stopped and before the restart sequence has begun in the recovery path. The remoteproc framework builds the core dump in memory and use devcoredump to expose this to user space.
---
Changes since v1:
- vmalloc() memory to build ELF file before registering devcoredump
- life cycle of segment list is from boot to shutdown (not start/shutdown)
- add WANT_DEV_COREDUMP select
- use dma_addr_t to denote device addresses
drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/remoteproc_core.c | 128 +++++++++++++++++++++++++++++++++++ include/linux/remoteproc.h | 18 +++++ 3 files changed, 147 insertions(+)
drivers/remoteproc/Kconfig +1 -0
@@ -6,6 +6,7 @@ config REMOTEPROC select CRC32 select FW_LOADER select VIRTIO + select WANT_DEV_COREDUMP help Support for remote processors (such as DSP coprocessors). These are mainly used on embedded systems.
drivers/remoteproc/remoteproc_core.c +128 -0
164 lines not on this page · raw message
include/linux/remoteproc.h +18 -0
@@ -393,6 +393,21 @@ enum rproc_crash_type { RPROC_FATAL_ERROR, }; +/** +* struct rproc_dump_segment - segment info from ELF header +* @node: list node related to the rproc segment list +* @da: device address of the segment +* @size: size of the segment +*/ +struct rproc_dump_segment { +struct list_head node; + +dma_addr_t da; +size_t size; + +loff_t offset; +}; +/** * struct rproc - represents a physical remote processor device * @node: list node of this rproc object
@@ -423,6 +438,7 @@ enum rproc_crash_type {* @cached_table: copy of the resource table * @table_sz: size of @cached_table * @has_iommu: flag to indicate if remote processor is behind an MMU +* @dump_segments: list of segments in the firmware */ struct rproc {struct list_head node;
@@ -454,6 +470,7 @@ struct rproc {size_t table_sz;bool has_iommu;bool auto_boot; +struct list_head dump_segments; };/**
@@ -533,6 +550,7 @@ void rproc_free(struct rproc *rproc);int rproc_boot (struct rproc *rproc);void rproc_shutdown (struct rproc *rproc);void rproc_report_crash (struct rproc *rproc,enum rproc_crash_type type); +int rproc_coredump_add_segment (struct rproc *rproc,dma_addr_t da,size_t size);static inline struct rproc_vdev *vdev_to_rvdev (struct virtio_device *vdev) {
Signature · 1 line
2.15.0
PATCH v2 2/4 remoteproc: Rename "load_rsc_table" to "parse_fw"
In reply to Bjorn AnderssonThe resource table is just one possible source of information that can be extracted from the firmware file. Generalize this interface to allow drivers to override this with parsers of other types of information.
---
Changes since v1:
- New patch
drivers/remoteproc/remoteproc_core.c | 6 +++--- drivers/remoteproc/remoteproc_internal.h | 7 +++---- include/linux/remoteproc.h | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-)
drivers/remoteproc/remoteproc_core.c +3 -3
@@ -944,8 +944,8 @@ static int rproc_fw_boot(struct rproc *rproc, const struct firmware *fw) rproc->bootaddr =rproc_get_boot_addr (rproc, fw); -/* load resource table */ - ret =rproc_load_rsc_table (rproc, fw); +/* parse firmware resources */ + ret =rproc_parse_fw (rproc, fw);if (ret) goto disable_iommu;
@@ -1555,7 +1555,7 @@ struct rproc *rproc_alloc(struct device *dev, const char *name,/* Default to ELF loader if no load function is specified */ if (!rproc->ops->load) { rproc->ops->load = rproc_elf_load_segments; - rproc->ops->load_rsc_table = rproc_elf_load_rsc_table; + rproc->ops->parse_fw = rproc_elf_load_rsc_table; rproc->ops->find_loaded_rsc_table = rproc_elf_find_loaded_rsc_table; rproc->ops->sanity_check = rproc_elf_sanity_check; rproc->ops->get_boot_addr = rproc_elf_get_boot_addr;
drivers/remoteproc/remoteproc_internal.h +3 -4
@@ -88,11 +88,10 @@ int rproc_load_segments(struct rproc *rproc, const struct firmware *fw)return -EINVAL ; } -static inline int rproc_load_rsc_table (struct rproc *rproc, -const struct firmware *fw) +static inline int rproc_parse_fw (struct rproc *rproc,const struct firmware *fw) { -if (rproc->ops->load_rsc_table) -return rproc->ops->load_rsc_table (rproc, fw); +if (rproc->ops->parse_fw) +return rproc->ops->parse_fw (rproc, fw);return 0 ; }
include/linux/remoteproc.h +1 -1
@@ -343,7 +343,7 @@ struct rproc_ops {int (*stop)(struct rproc *rproc);void (*kick)(struct rproc *rproc,int vqid);void * (*da_to_va)(struct rproc *rproc,u64 da,int len); -int (*load_rsc_table)(struct rproc *rproc,const struct firmware *fw); +int (*parse_fw)(struct rproc *rproc,const struct firmware *fw);struct resource_table *(*find_loaded_rsc_table)(struct rproc *rproc,const struct firmware *fw);int (*load)(struct rproc *rproc,const struct firmware *fw);
Signature · 1 line
2.15.0
RE: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:linux-remoteproc- [email protected]] On Behalf Of Bjorn Andersson
Sent: Tuesday, December 26, 2017 9:39 PM
To: Ohad Ben-Cohen <[email protected]>; Bjorn Andersson <[email protected]>
Cc: [email protected]; [email protected]; linux- [email protected]; [email protected]; Suman Anna <s- [email protected]>; Avaneesh Kumar Dwivedi <[email protected]>
Subject: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"The resource table is just one possible source of information that can be extracted from the firmware file. Generalize this interface to allow drivers to override this with parsers of other types of information.
Signed-off-by Bjorn Andersson <[email protected]>---
Changes since v1:
- New patchdrivers/remoteproc/remoteproc_core.c | 6 +++--- drivers/remoteproc/remoteproc_internal.h | 7 +++---- include/linux/remoteproc.h | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-)drivers/remoteproc/remoteproc_core.c +0
-0
drivers/remoteproc/remoteproc_core.c static int rproc_fw_boot(struct rproc *rproc, const · line 949
Quoted 8 lines
drivers/remoteproc/remoteproc_core.c +2
-2@@ -944,8 +944,8 @@ static int rproc_fw_boot(struct rproc *rproc, const struct firmware *fw) rproc->bootaddr = rproc_get_boot_addr(rproc, fw); -/* load resource table */ - ret =rproc_load_rsc_table (rproc, fw); +/* parse firmware resources */ + ret =rproc_parse_fw (rproc, fw);
Hi Bjorn,
I think it will be good to keep resource (aka rsc) in function name. only "parse_fw" is not enough explicit and we don't know why rproc should parse firmware.
Regards,
Loic
Quoted 57 lines
drivers/remoteproc/remoteproc_core.c +1
-1if (ret) goto disable_iommu;@@ -1555,7 +1555,7 @@ struct rproc *rproc_alloc(struct device *dev, const char *name, /* Default to ELF loader if no load function is specified */ if (!rproc->ops->load) { rproc->ops->load = rproc_elf_load_segments; - rproc->ops->load_rsc_table = rproc_elf_load_rsc_table; + rproc->ops->parse_fw = rproc_elf_load_rsc_table; rproc->ops->find_loaded_rsc_table = rproc_elf_find_loaded_rsc_table;drivers/remoteproc/remoteproc_core.c +0
-0rproc->ops->sanity_check = rproc_elf_sanity_check; rproc->ops->get_boot_addr = rproc_elf_get_boot_addr;drivers/remoteproc/remoteproc_internal.h +3
-4@@ -88,11 +88,10 @@ int rproc_load_segments(struct rproc *rproc, const struct firmware *fw)return -EINVAL ; } -static inline int rproc_load_rsc_table (struct rproc *rproc, -const struct firmware *fw) +static inline int rproc_parse_fw (struct rproc *rproc,const struct firmware *fw) { -if (rproc->ops->load_rsc_table) -return rproc->ops->load_rsc_table (rproc, fw); +if (rproc->ops->parse_fw) +return rproc->ops->parse_fw (rproc, fw);drivers/remoteproc/remoteproc_internal.h +0
-0return 0 ; }include/linux/remoteproc.h +1
-1@@ -343,7 +343,7 @@ struct rproc_ops {int (*stop)(struct rproc *rproc);void (*kick)(struct rproc *rproc,int vqid);void * (*da_to_va)(struct rproc *rproc,u64 da,int len); -int (*load_rsc_table)(struct rproc *rproc,const struct firmware *fw); +int (*parse_fw)(struct rproc *rproc,const struct firmware *fw);struct resource_table *(*find_loaded_rsc_table)(struct rproc *rproc,const struct firmware *fw);int (*load)(struct rproc *rproc, const struct firmware *fw);
--
2.15.0--
To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"
Quoted 61 lines
-----Original Message-----
From: [email protected] [mailto:linux-remoteproc- [email protected]] On Behalf Of Loic PALLARDY
Sent: Wednesday, January 03, 2018 11:27 AM
To: Bjorn Andersson <[email protected]>; Ohad Ben-Cohen <[email protected]>
Cc: [email protected]; [email protected]; linux- [email protected]; [email protected]; Suman Anna <s- [email protected]>; Avaneesh Kumar Dwivedi <[email protected]>
Subject: RE: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:linux-remoteproc-
Quoted 5 lines
[email protected]] On Behalf Of Bjorn Andersson
Sent: Tuesday, December 26, 2017 9:39 PM
To: Ohad Ben-Cohen <[email protected]>; Bjorn Andersson <[email protected]>
Cc: [email protected]; [email protected];linux-
Quoted 26 lines
[email protected]; [email protected]; Suman Anna <s- [email protected]>; Avaneesh Kumar Dwivedi <[email protected]>
Subject: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"The resource table is just one possible source of information that can be extracted from the firmware file. Generalize this interface to allow drivers to override this with parsers of other types of information.
Signed-off-by Bjorn Andersson <[email protected]>---
Changes since v1:
- New patchdrivers/remoteproc/remoteproc_core.c | 6 +++--- drivers/remoteproc/remoteproc_internal.h | 7 +++---- include/linux/remoteproc.h | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-)drivers/remoteproc/remoteproc_core.c +0
-0drivers/remoteproc/remoteproc_core.c static int rproc_fw_boot(struct rproc *rproc, const · line 949
Quoted 8 lines
drivers/remoteproc/remoteproc_core.c +2
-2@@ -944,8 +944,8 @@ static int rproc_fw_boot(struct rproc *rproc, const struct firmware *fw) rproc->bootaddr = rproc_get_boot_addr(rproc, fw); -/* load resource table */ - ret =rproc_load_rsc_table (rproc, fw); +/* parse firmware resources */ + ret =rproc_parse_fw (rproc, fw);Hi Bjorn,
Quoted 6 lines
I think it will be good to keep resource (aka rsc) in function name. only "
parse_fw" is not enough explicit and we don't know why rproc should parse firmware.Regards,
Loic
Forgot my previous remark, better understanding thanks to the rest of the series.
Anyway, will be nice to have a comment here as it is not only parsing the firmware, you collect some information like copy of the resource table, list of elf segment to dump... I think it is important to be clear about resource table management as it is a key element of the remoteproc core, where it is loaded, where it is copied back in memory...
Regards,
Loic
Quoted 64 lines
drivers/remoteproc/remoteproc_core.c struct rproc *rproc_alloc(struct device *dev,
Quoted 5 lines
drivers/remoteproc/remoteproc_core.c +0
-0if (ret) goto disable_iommu;@@ -1555,7 +1555,7 @@ struct rproc *rproc_alloc(struct device *dev,const
Quoted 49 lines
drivers/remoteproc/remoteproc_core.c +1
-1char *name, /* Default to ELF loader if no load function is specified */ if (!rproc->ops->load) { rproc->ops->load = rproc_elf_load_segments; - rproc->ops->load_rsc_table = rproc_elf_load_rsc_table; + rproc->ops->parse_fw = rproc_elf_load_rsc_table; rproc->ops->find_loaded_rsc_table = rproc_elf_find_loaded_rsc_table;drivers/remoteproc/remoteproc_core.c +0
-0rproc->ops->sanity_check = rproc_elf_sanity_check; rproc->ops->get_boot_addr = rproc_elf_get_boot_addr;drivers/remoteproc/remoteproc_internal.h +3
-4@@ -88,11 +88,10 @@ int rproc_load_segments(struct rproc *rproc, const struct firmware *fw)return -EINVAL ; } -static inline int rproc_load_rsc_table (struct rproc *rproc, -const struct firmware *fw) +static inline int rproc_parse_fw (struct rproc *rproc,const struct firmware *fw) { -if (rproc->ops->load_rsc_table) -return rproc->ops->load_rsc_table (rproc, fw); +if (rproc->ops->parse_fw) +return rproc->ops->parse_fw (rproc, fw);drivers/remoteproc/remoteproc_internal.h +0
-0return 0 ; }include/linux/remoteproc.h +1
-1@@ -343,7 +343,7 @@ struct rproc_ops {int (*stop)(struct rproc *rproc);void (*kick)(struct rproc *rproc,int vqid);void * (*da_to_va)(struct rproc *rproc,u64 da,int len); -int (*load_rsc_table)(struct rproc *rproc,const struct firmware *fw); +int (*parse_fw)(struct rproc *rproc,const struct firmware *fw);struct resource_table *(*find_loaded_rsc_table)(struct rproc *rproc,const struct firmware *fw);int (*load)(struct rproc *rproc, const struct firmware *fw);
--
2.15.0Quoted 2 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-remoteproc"in
Quoted 2 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"
Quoted 15 lines · Loic PALLARDY
Quoted 15 lines
-----Original Message-----
From: [email protected] [mailto:linux-remoteproc- [email protected]] On Behalf Of Loic PALLARDY
Sent: Wednesday, January 03, 2018 11:27 AM
To: Bjorn Andersson <[email protected]>; Ohad Ben-Cohen <[email protected]>
Cc: [email protected]; [email protected]; linux- [email protected]; [email protected]; Suman Anna <s- [email protected]>; Avaneesh Kumar Dwivedi <[email protected]>
Subject: RE: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:linux-remoteproc-
Quoted 1 line
[email protected]] On Behalf Of Bjorn Andersson
[..]
Quoted 12 lines
Quoted 6 lines
drivers/remoteproc/remoteproc_core.c static int rproc_fw_boot(struct rproc *rproc, const struct firmware *fw) · line 948
Quoted 4 lines
drivers/remoteproc/remoteproc_core.c +2
-2-/* load resource table */ - ret =rproc_load_rsc_table (rproc, fw); +/* parse firmware resources */ + ret =rproc_parse_fw (rproc, fw);Hi Bjorn,
Quoted 6 lines
I think it will be good to keep resource (aka rsc) in function name. only "
parse_fw" is not enough explicit and we don't know why rproc should parse firmware.Regards,
Loic
Quoted 8 lines
Forgot my previous remark, better understanding thanks to the rest of the series.
Anyway, will be nice to have a comment here as it is not only parsing the firmware, you collect some information like copy of the resource table, list of elf segment to dump...
I think it is important to be clear about resource table management as it is a key element of the remoteproc core, where it is loaded, where it is copied back in memory...
I didn't manage to come up with a better name, but adding a comment to capture this makes a lot of sense. I will respin this patch!
Thanks for reviewing this!
Regards,
Bjorn
PATCH v2 3/4 soc: qcom: mdt-loader: Return relocation base
In reply to Bjorn AnderssonIn order to implement support for grabbing core dumps in remoteproc it's necessary to know the relocated base of the image, as the offsets from the virtual memory base might not be based on the physical address.
Return the adjusted physical base address to the caller.
---
Changes since v1:
- New patch
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 4 ++-- drivers/media/platform/qcom/venus/firmware.c | 2 +- drivers/remoteproc/qcom_adsp_pil.c | 4 +++- drivers/remoteproc/qcom_wcnss.c | 3 ++- drivers/soc/qcom/mdt_loader.c | 7 ++++++- include/linux/soc/qcom/mdt_loader.h | 3 ++- 6 files changed, 16 insertions(+), 7 deletions(-)
drivers/gpu/drm/msm/adreno/a5xx_gpu.c +2 -2
@@ -87,14 +87,14 @@ static int zap_shader_load_mdt(struct msm_gpu *gpu, const char *fwname)*/ if (to_adreno_gpu (gpu)->fwloc ==FW_LOCATION_LEGACY ) { ret =qcom_mdt_load (dev, fw, fwname,GPU_PAS_ID , - mem_region, mem_phys, mem_size); + mem_region, mem_phys, mem_size,NULL ); }else {char newname[strlen ("qcom/" ) +strlen (fwname) +1 ];sprintf (newname,"qcom/%s" , fwname); ret =qcom_mdt_load (dev, fw, newname,GPU_PAS_ID , - mem_region, mem_phys, mem_size); + mem_region, mem_phys, mem_size,NULL ); }if (ret) goto out;
drivers/media/platform/qcom/venus/firmware.c +1 -1
@@ -76,7 +76,7 @@ int venus_boot(struct device *dev, const char *fwname) } ret =qcom_mdt_load (dev, mdt, fwname,VENUS_PAS_ID , mem_va, mem_phys, - mem_size); + mem_size,NULL );release_firmware (mdt);
drivers/remoteproc/qcom_adsp_pil.c +3 -1
@@ -82,7 +82,9 @@ static int adsp_load(struct rproc *rproc, const struct firmware *fw)struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv;return qcom_mdt_load (adsp->dev, fw, rproc->firmware, adsp->pas_id, - adsp->mem_region, adsp->mem_phys, adsp->mem_size); + adsp->mem_region, adsp->mem_phys, adsp->mem_size, + &adsp->mem_reloc); + }static int adsp_start (struct rproc *rproc)
drivers/remoteproc/qcom_wcnss.c +2 -1
@@ -153,7 +153,8 @@ static int wcnss_load(struct rproc *rproc, const struct firmware *fw)struct qcom_wcnss *wcnss = (struct qcom_wcnss *)rproc->priv;return qcom_mdt_load (wcnss->dev, fw, rproc->firmware,WCNSS_PAS_ID , - wcnss->mem_region, wcnss->mem_phys, wcnss->mem_size); + wcnss->mem_region, wcnss->mem_phys, + wcnss->mem_size, &wcnss->mem_reloc); }static void wcnss_indicate_nv_download (struct qcom_wcnss *wcnss)
drivers/soc/qcom/mdt_loader.c +6 -1
@@ -83,12 +83,14 @@ EXPORT_SYMBOL_GPL(qcom_mdt_get_size);* @mem_region: allocated memory region to load firmware into * @mem_phys: physical address of allocated memory region * @mem_size: size of the allocated memory region +* @reloc_base: adjusted physical address after relocation * * Returns 0 on success, negative errno otherwise. */ int qcom_mdt_load (struct device *dev,const struct firmware *fw,const char *firmware,int pas_id,void *mem_region, -phys_addr_t mem_phys,size_t mem_size) +phys_addr_t mem_phys,size_t mem_size, +phys_addr_t *reloc_base) {const struct elf32_phdr *phdrs;const struct elf32_phdr *phdr;
@@ -192,6 +194,9 @@ int qcom_mdt_load(struct device *dev, const struct firmware *fw,memset (ptr + phdr->p_filesz,0 , phdr->p_memsz - phdr->p_filesz); } +if (reloc_base) + *reloc_base = mem_reloc; + out:kfree (fw_name);
include/linux/soc/qcom/mdt_loader.h +2 -1
@@ -14,6 +14,7 @@ struct firmware;ssize_t qcom_mdt_get_size (const struct firmware *fw);int qcom_mdt_load (struct device *dev,const struct firmware *fw,const char *fw_name,int pas_id,void *mem_region, -phys_addr_t mem_phys,size_t mem_size); +phys_addr_t mem_phys,size_t mem_size, +phys_addr_t *reloc_base);#endif
Signature · 1 line
2.15.0
PATCH v2 4/4 remoteproc: qcom: Register segments for core dump
In reply to Bjorn AnderssonFrom: Sarangdhar Joshi <[email protected]>
Register MDT segments with the remoteproc core dump functionality in order to include them in a core dump, in case of a recovery of the remote processor.
--- drivers/remoteproc/qcom_adsp_pil.c | 1 + drivers/remoteproc/qcom_common.c | 44 ++++++++++++++++++++++++++++++++++++++ drivers/remoteproc/qcom_common.h | 2 ++ drivers/remoteproc/qcom_wcnss.c | 1 + 4 files changed, 48 insertions(+)
drivers/remoteproc/qcom_adsp_pil.c +1 -0
@@ -179,6 +179,7 @@ static const struct rproc_ops adsp_ops = { .start = adsp_start, .stop = adsp_stop, .da_to_va = adsp_da_to_va, + .parse_fw = qcom_register_dump_segments, .load = adsp_load, };
drivers/remoteproc/qcom_common.c +44 -0
56 lines not on this page · raw message
drivers/remoteproc/qcom_common.h +2 -0
@@ -30,6 +30,8 @@ struct qcom_rproc_ssr {void qcom_add_glink_subdev (struct rproc *rproc,struct qcom_rproc_glink *glink);void qcom_remove_glink_subdev (struct rproc *rproc,struct qcom_rproc_glink *glink); +int qcom_register_dump_segments (struct rproc *rproc,const struct firmware *fw); +void qcom_add_smd_subdev (struct rproc *rproc,struct qcom_rproc_subdev *smd);void qcom_remove_smd_subdev (struct rproc *rproc,struct qcom_rproc_subdev *smd);
drivers/remoteproc/qcom_wcnss.c +1 -0
@@ -309,6 +309,7 @@ static const struct rproc_ops wcnss_ops = { .start = wcnss_start, .stop = wcnss_stop, .da_to_va = wcnss_da_to_va, + .parse_fw = qcom_register_dump_segments, .load = wcnss_load, };
Signature · 1 line
2.15.0