From mboxrd@z Thu Jan 1 00:00:00 1970 From: bjorn.andersson@linaro.org (Bjorn Andersson) Date: Tue, 7 Jun 2016 12:56:17 -0700 Subject: [PATCH v5 01/18] remoteproc: make rsc table support optional In-Reply-To: <1465316352-20691-2-git-send-email-peter.griffin@linaro.org> References: <1465316352-20691-1-git-send-email-peter.griffin@linaro.org> <1465316352-20691-2-git-send-email-peter.griffin@linaro.org> Message-ID: <20160607195617.GI1256@tuxbot> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue 07 Jun 09:18 PDT 2016, Peter Griffin wrote: > Some firmware and rproc drivers such as slim core don't have a > resource table. To avoid having to fudge an empty table > in the rproc driver this patch introduces a new has_rsctable > flag. rproc drivers which don't require a rsc table can set > this flag to false, and it avoids doing the initial async > firmware load in rproc_add_virtio_devices() to parse the > rsc table during rproc_add(), and also optimises rproc_fw_boot() > code path to avoid unnecessary rsc table processing of an > empty table. > > Signed-off-by: Peter Griffin Hi Peter, Thanks for the patch. I do however dislike the amount of conditionals already in these code paths, so I'm not in favour of adding more. Please revert back to providing a dummy table from your driver and let's handle this topic separate of this series. Regards, Bjorn