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

Claudio Imbrenda
2025-09-17T14:01:49Z

On Wed, 17 Sep 2025 15:24:19 +0200
Heiko Carstens <hca@linux.ibm.com> wrote:

> 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.

ok