msm_rtb_idx should be contiguous location instead of percpu
to reduce the no of minidump table entries. Use msm_rtb_ptr
variable from tools side instead of msm_rtb variable to find
RTB index design change.
Change-Id: Ie59f42674d4cec37e9d4f76796cdf1090971e844
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Refactor msm_rtb driver to use mmiorw tracepoints for logging read/write
events into uncached log buffer. Register trace probes with
irq_handler_entry and sched_switch tracepoints for logging irq logging
and sched switch events logging.
Currently no_log variants apis are not technically supported but client
drivers are still using no_log apis. Add dummy no_log apis to msm_rtb.h
file till a good solution is figured out and include msm_rtb.h file to
all the client drivers.
Change-Id: I123b22942b9f529db97d9d05a610578dbdeb0e9e
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Add support to update client's entry physical/virtual addresses,
which is useful for DLKM, dynamic address changing clients.
Currently, msm_minidump_add_region() returns 0 on success, instead
of that, return 'region number' of the entry in the minidump table.
So clients who wants to update their address in future, needs to
book keep their entry in minidump table.
Change-Id: I03abbbd87bf6d2e11cf637525412d352772821cf
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Add snapshot of msm_rtb.c and related configuration from
msm-4.19 commit <e56fe938419e> (Merge "uapi: Introduce
V4L2_FLAG_CVPMETADATA_SKIP flag").
Change-Id: Ibce114b5ec3b778a4c89543a7411bb432df79bca
[eberman@codeaurora.org: Add support for removing msm-rtb driver.]
Signed-off-by: Elliot Berman <eberman@codeaurora.org>