Re: aarch64 bus_space

Robert Swindells <[email protected]> Tue, 07 Oct 2025 12:51:37 +0100
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Tobias Nygren <[email protected]> wrote:
> On Sat, 04 Oct 2025 20:43:33 +0100
> Robert Swindells <[email protected]> wrote:
>
>> Is there any restriction on physical addresses of devices that can
>> be mapped?
>> 
>> One register block of the RK3588 PCIe controller is above the 4G line.
>> 
>> Reading or writing using the bus_space_handle_t setup for it just
>> locks up the machine.
>> 
>> Have tried both with and without BUS_SPACE_MAP_NONPOSTED.
>
> The Ampere Altra has devices that reside much higher, in the terabytes
> region. If it locks up when reading I'm leaning towards some required
> clock gate not being enabled.

Thanks,

I had clocks, didn't have all the resets.