Re: [PATCH v2 2/4] KVM: s390: vsie: Fix length of facility list shadowed

From: Heiko Carstens
Date: Wed Nov 08 2023 - 10:52:15 EST


On Wed, Nov 08, 2023 at 12:49:21PM +0100, Nina Schoetterl-Glausch wrote:
> On Wed, 2023-11-08 at 12:23 +0100, Claudio Imbrenda wrote:
> > On Tue, 7 Nov 2023 13:31:16 +0100
> > Nina Schoetterl-Glausch <nsg@xxxxxxxxxxxxx> wrote:
> >
> > [...]
> > > +unsigned int stfle_size(void)
> > > +{
> > > + static unsigned int size;
> > > + u64 dummy;
> > > + unsigned int r;
> >
> > reverse Christmas tree please :)
>
> Might be an opportunity to clear that up for me.
> AFAIK reverse christmas tree isn't universally enforced in the kernel.
> Do we do it in generic s390 code? I know we do for s390 kvm.
> Personally I don't quite get the rational, but I don't care much either :)
> Heiko?

We do that for _new_ code in s390 code, yes.