Search Linux Wireless

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]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux