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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux