> -----Original Message-----
> From: Ellis, Duane [mailto:[email protected]]
> Sent: Wednesday, April 29, 2015 1:06 PM
> To: David Ung; 'Andreas Färber'; [email protected]
> Subject: RE: AArch64 testing (Re: [OpenOCD-devel] [PATCH]: af683cc
> aarch64: Correct target state for hardware step)
> 
> Andreas>> [64/32 cores - at the same time]
> 
> David>>  I am hoping we won't need this.  If we do, there must be a bug and
> should be fixed.
>       The 64bit builds with --enable-target64 should ideally work for
> 32bits.
> 
> One issue is if each EL level operates at a different register width, this can
> change dynamically - and is reflected in the DSCR register bits[9:8] give the
> current EL level, and bits [13:10] tells you the register width for that 
> specific
> EL level.
> 
> David,
>       As you can probably guess we might be interested in this also and
> may want to join forces in this area.
> 
> I have a two questions for you
> 
> Question #1 - what do you think the roadmap should be for mixed 32/64
> support on the same core support? This is an extension of my long list in
> yesterday's email.

Well, it may be possible without a complete rewrite.  One has to be able to 
re-examine the target periodically (or after a debug event)
Ie calling aarch64_examine and then seeing the chip has switch to 32bit and 
call aarch32_examine instead.
I have kept the idea of switching between aarch32/aarch64 mentally while I 
changed the code - eg in arm_dpm.c which does much of read/write to memory and 
registers.  arm_dpm.c is used by cortex_a targets.  I've added 64bit variants 
and conditioned it to select 32bit or 64bit functions based on register size, 
hoping that one day someone can extend the behavior to dynamically switch 
between the two.

> 
> Question #2 - I would like to know your thoughts on the general OpenOCD
> roadmap

Don't think I am the right person to comment on this.  I don't actively work on 
openocd apart from getting it to work for my own purposes.
David
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to