On 20/05/2020 23:48, Doug Anderson wrote:
Is this only applicable for corrected address space?
I guess I was proposing a two dts-node / two drive approach here.
dts node #1:just covers the memory range for accessing the FEC-corrected data
driver #1: read-only and reads the FEC-corrected data
dts node #2: covers the memory range that's_not_ the FEC-corrected
memory range.
driver #2: read-write. reading reads uncorrected data
Does that seem sane?
I see your point but it does not make sense to have two node for same thing.
Isn't the raw address space reads used to for blowing and checking the
fuses if they are blown correctly or not and software usage of these
fuses should only be done from correct address space?
the read interface to user should be always from corrected address space
and write interface should be to raw address space.
--srini