Re: [PATCH net-next 1/1] net: stmmac: enable platform specific safety features
From: Andrew Lunn
Date: Tue Jun 01 2021 - 22:28:33 EST
On Wed, Jun 02, 2021 at 06:53:32AM +0800, Wong Vee Khee wrote:
> On Wed, Jun 02, 2021 at 12:11:57AM +0200, Andrew Lunn wrote:
> > On Tue, Jun 01, 2021 at 09:52:35PM +0800, Wong Vee Khee wrote:
> > > On Intel platforms, not all safety features are enabled on the hardware.
> >
> > Is it possible to read a register is determine what safety features
> > have been synthesised?
> >
>
> No. The value of these registers after reset are 0x0. We need to set it
> manually.
That is not what i asked. Sometimes with IP you synthesise from VHDL
or Verilog, there are registers which describe which features you have
actually enabled/disabled in the synthesis. Maybe the stmmac has such
a register describing which safety features are actually available in
your specific version of the IP? You could go ask your ASIC engineers.
Or maybe Synopsys can say that there are no such registers.
Andrew