Re: [PATCH v4 03/22] MIPS: spaces: Define a couple of handy macros

From: Sergey Shtylyov
Date: Fri Dec 08 2023 - 12:25:11 EST


On 12/8/23 7:12 PM, Gregory CLEMENT wrote:

> KSEGX_SIZE is defined to size of each KSEG segment.

To the size?

> TO_CAC and TO_UNCAC are defined for 32bits builds and point to KSEG 0

KSEG0.

> and KSEG1.
> TO_PHYS remains to be 64bits only as we want people to
> use __pa to avoid mixup compat address space.

Mixing up?

> Co-developed-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>
[...]

MBR, Sergey