[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a1=-rhiMyAh6=6EwhxSmNnYaXR9NWhh+ZGh4Hh=U_gEuA@mail.gmail.com>
Date: Mon, 6 Apr 2020 15:15:20 +0200
From: Arnd Bergmann <arnd@...db.de>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Ard Biesheuvel <ardb@...nel.org>,
"richard.henderson@...aro.org" <richard.henderson@...aro.org>,
"christophe.lyon@...com" <christophe.lyon@...com>,
kbuild test robot <lkp@...el.com>,
"daniel.santos@...ox.com" <daniel.santos@...ox.com>,
Jason Wang <jasowang@...hat.com>,
"kbuild-all@...ts.01.org" <kbuild-all@...ts.01.org>,
Russell King <rmk+kernel@...linux.org.uk>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Richard Earnshaw <Richard.Earnshaw@....com>,
Sudeep Dutt <sudeep.dutt@...el.com>,
Ashutosh Dixit <ashutosh.dixit@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"David S. Miller" <davem@...emloft.net>,
Networking <netdev@...r.kernel.org>,
virtualization@...ts.linux-foundation.org,
kvm list <kvm@...r.kernel.org>
Subject: Re: [PATCH v2 2/2] vhost: disable for OABI
On Mon, Apr 6, 2020 at 3:02 PM Michael S. Tsirkin <mst@...hat.com> wrote:
>
> On Mon, Apr 06, 2020 at 02:50:32PM +0200, Arnd Bergmann wrote:
> > On Mon, Apr 6, 2020 at 2:12 PM Michael S. Tsirkin <mst@...hat.com> wrote:
> >
> > >
> > > +config VHOST_DPN
> > > + bool "VHOST dependencies"
> > > + depends on !ARM || AEABI
> > > + default y
> > > + help
> > > + Anything selecting VHOST or VHOST_RING must depend on VHOST_DPN.
> > > + This excludes the deprecated ARM ABI since that forces a 4 byte
> > > + alignment on all structs - incompatible with virtio spec requirements.
> > > +
> >
> > This should not be a user-visible option, so just make this 'def_bool
> > !ARM || AEABI'
> >
>
> I like keeping some kind of hint around for when one tries to understand
> why is a specific symbol visible.
I meant you should remove the "VHOST dependencies" prompt, not the
help text, which is certainly useful here. You can also use the three lines
bool
depends on !ARM || AEABI
default y
in front of the help text, but those are equivalent to the one-line version
I suggested.
Arnd
Powered by blists - more mailing lists