public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RFC: Using regmap in ARM64 for EL3 register access
@ 2018-03-29 23:00 Thor Thayer
  2018-04-04 10:47 ` Sudeep Holla
  0 siblings, 1 reply; 3+ messages in thread
From: Thor Thayer @ 2018-03-29 23:00 UTC (permalink / raw)
  To: Mark Brown, linux-arm-kernel@lists.infradead.org
  Cc: linux-kernel@vger.kernel.org

Hi,

I'm working on an ARM64 architecture that needs to manipulate some 
protected registers that are only accessible in EL3. Linux is running at 
EL1 which doesn't have the proper permissions for these registers.

Since U-Boot is running at the higher EL3, we communicate to the U-Boot 
functions through a SMC mechanism.

The regmap framework seems like a good match for accessing these 
registers. We need the same functionality as I2C and SPI regmaps - read, 
write, and update registers.

Any comments or suggestions about using regmap for this purpose? Is 
there a better method?

Thanks,

Thor

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

end of thread, other threads:[~2018-04-04 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-29 23:00 RFC: Using regmap in ARM64 for EL3 register access Thor Thayer
2018-04-04 10:47 ` Sudeep Holla
2018-04-04 18:18   ` Thor Thayer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox