[PATCH v4 2/2] ath11k: Use reserved host DDR addresses from DT for PCI devices

Anilkumar Kolli akolli at codeaurora.org
Tue Nov 23 02:39:21 PST 2021


On 2021-11-22 13:20, Sven Eckelmann wrote:
> On Monday, 22 November 2021 07:12:27 CET Anilkumar Kolli wrote:
> [...]
>> >> +			start = reg[0] + reg[1];
>> >> +			size = reg[2] + reg[3];
>> >
>> > See my messages for v2 [1] and v3 [2]
>> >
>> >
>> Thanks for the review,
>> 
>> Here addresses are always within 32-bit.
>> so I will change the API to read only 2 integers and update start
>> addresss and size.
> 
> The size of address and size depends on the reserved-memory node - not 
> the
> qcn9074 node. So please don't make such assumptions in your code.
> 

Yes, correct.

of_address_to_resource() returns start/end address properly.
I will update and send next version.

- Anil.



More information about the ath11k mailing list