Re: [PATCH 13/15] octeontx2-af: Add support for CGX link management

2018-09-28 Thread Arnd Bergmann
On Fri, Sep 28, 2018 at 11:31 AM Sunil Kovvuri wrote: > On Fri, Sep 28, 2018 at 1:49 PM Arnd Bergmann wrote: > > On Fri, Sep 28, 2018 at 8:09 AM wrote: > This communication between firmware and kernel driver is done using couple of > scratch registers. With limited space available we had to res

Re: [PATCH 13/15] octeontx2-af: Add support for CGX link management

2018-09-28 Thread Sunil Kovvuri
On Fri, Sep 28, 2018 at 1:49 PM Arnd Bergmann wrote: > > On Fri, Sep 28, 2018 at 8:09 AM wrote: > > > > +/* scratchx(0) CSR used for ATF->non-secure SW communication. > > + * This acts as the status register > > + * Provides details on command ack/status, link status, error details > > + */ > > +

Re: [PATCH 13/15] octeontx2-af: Add support for CGX link management

2018-09-28 Thread Arnd Bergmann
On Fri, Sep 28, 2018 at 8:09 AM wrote: > > +/* scratchx(0) CSR used for ATF->non-secure SW communication. > + * This acts as the status register > + * Provides details on command ack/status, link status, error details > + */ > +struct cgx_evt_sts { > + uint64_t ack:1; > + uint64_t evt_

[PATCH 13/15] octeontx2-af: Add support for CGX link management

2018-09-27 Thread sunil . kovvuri
From: Linu Cherian CGX LMAC initialization, link status polling etc is done by low level secure firmware. For link management this patch adds a interface or communication mechanism between firmware and this kernel CGX driver. - Firmware interface specification is defined in cgx_fw_if.h. - Suppor