Re: [PATCH v2 10/20] KVM: s390: KVM page table management functions: walks

Heiko Carstens
2025-09-17T13:24:28Z

On Wed, Sep 17, 2025 at 03:13:44PM +0200, Claudio Imbrenda wrote:
> Heiko Carstens <hca@linux.ibm.com> wrote:
> > > + if (continue_anyway && !entry.pmd.h.fc && !entry.h.i) {
> > > + walk_level = LEVEL_PTE;
> >
> > Hm, ok, there is no TABLE_TYPE for this level. Invention required :)
>
> yes, this is why I have the LEVEL_* macros :)
>
> do you think I should instead #define TABLE_TYPE_PAGE_TABLE -1 ?

Yes, I think we can go with this, plus a comment what this
(impossible) TABLE_TYPE is good for.