Re: [PATCH 15/24] aspeed/smc: Add extra controls to request DMA

2021-04-10 Thread Cédric Le Goater
On 4/9/21 8:54 AM, Joel Stanley wrote: > On Wed, 7 Apr 2021 at 17:17, Cédric Le Goater wrote: >> >> The AST2600 SPI controllers have a set of bits to request/grant DMA >> access. Add a new SMC feature for these controllers and use it to >> check access to the DMA registers. > > Ah this is why you

Re: [PATCH 15/24] aspeed/smc: Add extra controls to request DMA

2021-04-08 Thread Joel Stanley
On Wed, 7 Apr 2021 at 17:17, Cédric Le Goater wrote: > > The AST2600 SPI controllers have a set of bits to request/grant DMA > access. Add a new SMC feature for these controllers and use it to > check access to the DMA registers. Ah this is why you added the features mask. Makes sense. Reviewed-

[PATCH 15/24] aspeed/smc: Add extra controls to request DMA

2021-04-07 Thread Cédric Le Goater
The AST2600 SPI controllers have a set of bits to request/grant DMA access. Add a new SMC feature for these controllers and use it to check access to the DMA registers. Cc: Chin-Ting Kuo Signed-off-by: Cédric Le Goater --- include/hw/ssi/aspeed_smc.h | 1 + hw/ssi/aspeed_smc.c | 74 +++