Re: [PATCH 07/13] dt-bindings: media: camss: Add qcom,sm8550-camss binding

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

 



On 30/09/2024 08:26, Krzysztof Kozlowski wrote:
Please sort the list above in numerical order, this will change positions
of "vfe_lite0", "vfe_lite1" etc.

Another note, since it's not possible to map less than a page, so I believe
it might make sense to align all sizes to 0x1000.
And if Linux behavior changes then are you going to rewrite all the DTS
for new size?

No, the sizes reflect hardware register layout, not concept of pages.

I don't think that we should be coming with more nitpicky ideas, one
month after the patch was sent and reviewed.

Agree.

1. My understanding has always been:
   - Map the entire register bank extent
   - The main reason for that is today you might only use
     1/4 of the registers in a given bank but tomorrow you might
     add in new functionality - like the HardISP in which case
     you'd want the full set of registers not just the 1/4
     or the 4k aligned version of that bank.

2. Pages can be all sorts of sizes so aligning to a page
   makes no sense. 4k isn't special.
   https://en.wikipedia.org/wiki/Page_(computer_memory)#Multiple_page_sizes

---
bod




[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