Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp81990pxb; Tue, 7 Sep 2021 18:21:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwonAMFD5HWBjoO1vMcLdTzvFHshy080mzflGvPPfga+yp2/JrUxgCamUJovPUu+XS7fsCJ X-Received: by 2002:a05:6e02:1ca6:: with SMTP id x6mr878331ill.86.1631064088744; Tue, 07 Sep 2021 18:21:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631064088; cv=none; d=google.com; s=arc-20160816; b=wLRC6FCANcYSeJqlK+07zNGbLLlqYFTIbVKykcSBMctNrbrFZXlT6uckkwqfZtoDpv gtiS6inpV9Lq92AGhdFCX5KdQ8ggHPiGgDhJou9sWNH0OltpWanCVKVNu2VPwKSMqMiF ALmjqbruOJMgYhM5rO2v1gtNSHd10W2/qdUwO1sARFpXewM+CPZVwMT2K9VE3xZogfEw EaiMAot+0930Ojhm+DqHMPnSO45XVEHnJ3YsdteJeRnfBCpA5eLJMr+jkYKRe9iYlsoy cEZBqKzKeYJw8KJoxMDKEeGB3cMTk9qHciXAWxq2jgn85JLbzr9mObiBpQRM0ZUHHPbZ GYFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=wbd8rsMLrYrpEtJOkDt9a8PqITCrGt8qKV/A3pxn/Us=; b=dhUfZEbhwlFkfFG07f2GzmLxjDm8OVMoW9CLHMhjPKSqDbZKK7EhMBKEQ1acNmZp6N HU1/LDnsO/wK8htMujGfZF6QaUeZILbh4voE8YBJXnSGK9GlNVg27iq1uYK8Jf8ejfuT f/Ud+QKtneK6Tainh6Pqi1+y8d2FvnKdNEhT3lIC7m0kxcZ3FRE9B46RAxAYXJFGoN45 93CJLeOGIXZJb18e/DNOpRyPG51EyHo7UOFdvLumFUt3CwbUvA4as9dV0IY6u+shB7Ce swnlJGvsJt7+P06fk6RZV8ewoPY80K4v28d5u1H8HVNB6tzzdbdjeoDdHG84IytytNr0 nf+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=loxhqFx2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r6si660758ilb.145.2021.09.07.18.21.00; Tue, 07 Sep 2021 18:21:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=loxhqFx2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244867AbhIHAuc (ORCPT + 99 others); Tue, 7 Sep 2021 20:50:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:54288 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243920AbhIHAua (ORCPT ); Tue, 7 Sep 2021 20:50:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C8EFC60F92; Wed, 8 Sep 2021 00:49:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631062163; bh=7Wrz7jbq4ZQpZbwmyQgxeFbh9DIedMdFxmZ4tupnR8g=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=loxhqFx2E6wvRf5U+77Vgq/G4KD4QYGjNxv/XXwguJR7h+SGcMNdeCalOVlWBVmlv XpxOnyIjCYt9iNy/57iu/a55l7C51KbUdnvtZqrf8owUP8ymQHDG5/8v6I9y/iqKNY 2Rf/pUzL1rOqvX0AVjQX0rz4UvQ4jlhnBPXO5zEVnwSZezdW8uLbTh9tv9pXTXtqam 5CbGn/QNfcrdITpjLzz71QHXWDUfIXt98Ln6hHjz9PJdrlzA8yokvcxNB1M37+gZzx YdyMRfDizU/B1oCc1Vg/7S3x3J97fGgH9rBTDpNXNERBLNINInx5C4/DFrzXpKGjTK yMstLYGXAQWIA== Date: Tue, 7 Sep 2021 17:49:21 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Jan Beulich cc: Juergen Gross , Boris Ostrovsky , Stefano Stabellini , lkml , "xen-devel@lists.xenproject.org" Subject: Re: [PATCH] xen/pvcalls: backend can be a module In-Reply-To: <54a6070c-92bb-36a3-2fc0-de9ccca438c5@suse.com> Message-ID: References: <54a6070c-92bb-36a3-2fc0-de9ccca438c5@suse.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Sep 2021, Jan Beulich wrote: > It's not clear to me why only the frontend has been tristate. Switch the > backend to be, too. > > Signed-off-by: Jan Beulich Actually although the frontend is a tristate, it cannot really work as a module. Specifically see pvcalls_stream_ops in the enabling patch (still not upstream): https://github.com/lf-edge/runx/blob/master/kernel/patches/0001-patch-pvcalls_enable.patch So I had to change tristate to bool for XEN_PVCALLS_FRONTEND in our internal kernel tree. That said, the PVCalls backend could very well be a module and technically I don't see any reasons why not. So: Acked-by: Stefano Stabellini > --- a/drivers/xen/Kconfig > +++ b/drivers/xen/Kconfig > @@ -214,7 +214,7 @@ config XEN_PVCALLS_FRONTEND > implements them. > > config XEN_PVCALLS_BACKEND > - bool "XEN PV Calls backend driver" > + tristate "XEN PV Calls backend driver" > depends on INET && XEN && XEN_BACKEND > help > Experimental backend for the Xen PV Calls protocol >