linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC v1 PATCH] ARM64: KGDB: Add FPSIMD debug support
@ 2013-11-07 12:38 vijay.kilari at gmail.com
  2013-11-07 12:38 ` [RFC v1 PATCH] ARM64: KGDB: Add FP/SIMD " vijay.kilari at gmail.com
  0 siblings, 1 reply; 5+ messages in thread
From: vijay.kilari at gmail.com @ 2013-11-07 12:38 UTC (permalink / raw)
  To: linux-arm-kernel

From: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>

Based on ARM64 KGDB support patches, KGDB support for
FPSIMD is added. Only debugging of FPSIMD is kernel context
is supported.

This patch also requires Ard's patches where in kernel support
for NEON is added. So CONFIG_KERNEL_MODE_NEON should  be enabled.
with this, FPSIMD registers can be viewed or set from gdb tool.

Unlike CPU registers, the FPSIMD registers are not saved on 
exception entry. With the known restriction that FPSIMD  should not be
touched in interrupt/exception context, in this patch the FPSIMD
registers are directly read/written on gdb tool request

Here, the FPSIMD registers are read and restored for every FPSIMD
register read and write by GDB tool. So this has impact on 
gdb tool response which is neglible. Other architectures like
mips are also implemented similarly

Tested on ARM64 simulator

Vijaya Kumar K (1):
  ARM64: KGDB: Add FP/SIMD debug support

 arch/arm64/kernel/kgdb.c |   98 ++++++++++++++++++++++++++++------------------
 1 file changed, 60 insertions(+), 38 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-11  8:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 12:38 [RFC v1 PATCH] ARM64: KGDB: Add FPSIMD debug support vijay.kilari at gmail.com
2013-11-07 12:38 ` [RFC v1 PATCH] ARM64: KGDB: Add FP/SIMD " vijay.kilari at gmail.com
2013-11-08 15:06   ` Will Deacon
2013-11-11  8:47     ` Vijay Kilari
2013-11-11  8:53       ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).