From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v4 07/10] arm: add a tiny kconfig configuration Date: Fri, 1 Jun 2018 03:39:01 +0100 Message-ID: References: <1527803317-31750-7-git-send-email-sstabellini@kernel.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8865595329073210280==" Return-path: In-Reply-To: <1527803317-31750-7-git-send-email-sstabellini@kernel.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" To: Stefano Stabellini Cc: artem_mygaiev@epam.com, lars.kurth@citrix.com, andrii_anisov@epam.com, xen-devel@lists.xen.org, julien.grall@arm.com, dfaggioli@suse.com List-Id: xen-devel@lists.xenproject.org --===============8865595329073210280== Content-Type: multipart/alternative; boundary="0000000000003e3bc9056d8b7d93" --0000000000003e3bc9056d8b7d93 Content-Type: text/plain; charset="UTF-8" Hi, Sorry for the formatting. On Thu, 31 May 2018, 22:50 Stefano Stabellini, wrote: > Add a tiny kconfig configuration. Enabled NULL and Credit schedulers. > Support only 8 cpus. It only carries non-default options (use make > olddefconfig to produce a complete .config file). > > Signed-off-by: Stefano Stabellini > > --- > Note that this approach has a limitation: it is not possible to "select > a range". In other words, using tiny.config NR_CPUS is set to 4. It is > not possible to increase it to 8 from config RCAR3. > Is that still true? I thought we discussed a solution to do it yesterday. By that, I mean the platform would be selected at olddefconfig. Cheers, --- > xen/arch/arm/configs/tiny.conf | 43 > ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 xen/arch/arm/configs/tiny.conf > > diff --git a/xen/arch/arm/configs/tiny.conf > b/xen/arch/arm/configs/tiny.conf > new file mode 100644 > index 0000000..e9a5e65 > --- /dev/null > +++ b/xen/arch/arm/configs/tiny.conf > @@ -0,0 +1,43 @@ > +CONFIG_ARM_64=y > +CONFIG_ARM=y > + > +# > +# Architecture Features > +# > +# CONFIG_GICV3 is not set > +# CONFIG_MEM_ACCESS is not set > +# CONFIG_SBSA_VUART_CONSOLE is not set > + > +# > +# Common Features > +# > +# CONFIG_TMEM is not set > + > +# > +# Schedulers > +# > +# CONFIG_SCHED_CREDIT2 is not set > +# CONFIG_SCHED_RTDS is not set > +# CONFIG_SCHED_ARINC653 is not set > +CONFIG_SCHED_NULL=y > +CONFIG_SCHED_NULL_DEFAULT=y > +CONFIG_SCHED_DEFAULT="null" > +# CONFIG_SUPPRESS_DUPLICATE_SYMBOL_WARNINGS is not set > + > +# > +# Device Drivers > +# > +# CONFIG_HAS_NS16550 is not set > +# CONFIG_HAS_CADENCE_UART is not set > +# CONFIG_HAS_MVEBU is not set > +# CONFIG_HAS_PL011 is not set > +# CONFIG_HAS_SCIF is not set > +# CONFIG_ARM_SMMU is not set > + > +# > +# Debugging Options > +# > +# CONFIG_DEBUG is not set > +# CONFIG_FRAME_POINTER is not set > +# CONFIG_VERBOSE_DEBUG is not set > +# CONFIG_SCRUB_DEBUG is not set > -- > 1.9.1 > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xenproject.org > https://lists.xenproject.org/mailman/listinfo/xen-devel --0000000000003e3bc9056d8b7d93 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,

Sorry for the formatting.

On Thu, 31 May 2018, 22:50 Stefano Stabellini, <= ;sstabellini@kernel.org> w= rote:
Add a tiny kconfig configurat= ion. Enabled NULL and Credit schedulers.
Support only 8 cpus. It only carries non-default options (use make
olddefconfig to produce a complete .config file).

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>

---
Note that this approach has a limitation: it is not possible to "selec= t
a range". In other words, using tiny.config NR_CPUS is set to 4. It is=
not possible to increase it to 8 from config RCAR3.
<= /div>

Is that still true? I thought we discussed a solut= ion to do it yesterday.

By that, I mean the platfo= rm would be selected at olddefconfig.

Cheers,

---
=C2=A0xen/arch/arm/configs/tiny.conf | 43 +++++++++++++++++++++++++++++++++= +++++++++
=C2=A01 file changed, 43 insertions(+)
=C2=A0create mode 100644 xen/arch/arm/configs/tiny.conf

diff --git a/xen/arch/arm/configs/tiny.conf b/xen/arch/arm/configs/tiny.con= f
new file mode 100644
index 0000000..e9a5e65
--- /dev/null
+++ b/xen/arch/arm/configs/tiny.conf
@@ -0,0 +1,43 @@
+CONFIG_ARM_64=3Dy
+CONFIG_ARM=3Dy
+
+#
+# Architecture Features
+#
+# CONFIG_GICV3 is not set
+# CONFIG_MEM_ACCESS is not set
+# CONFIG_SBSA_VUART_CONSOLE is not set
+
+#
+# Common Features
+#
+# CONFIG_TMEM is not set
+
+#
+# Schedulers
+#
+# CONFIG_SCHED_CREDIT2 is not set
+# CONFIG_SCHED_RTDS is not set
+# CONFIG_SCHED_ARINC653 is not set
+CONFIG_SCHED_NULL=3Dy
+CONFIG_SCHED_NULL_DEFAULT=3Dy
+CONFIG_SCHED_DEFAULT=3D"null"
+# CONFIG_SUPPRESS_DUPLICATE_SYMBOL_WARNINGS is not set
+
+#
+# Device Drivers
+#
+# CONFIG_HAS_NS16550 is not set
+# CONFIG_HAS_CADENCE_UART is not set
+# CONFIG_HAS_MVEBU is not set
+# CONFIG_HAS_PL011 is not set
+# CONFIG_HAS_SCIF is not set
+# CONFIG_ARM_SMMU is not set
+
+#
+# Debugging Options
+#
+# CONFIG_DEBUG is not set
+# CONFIG_FRAME_POINTER is not set
+# CONFIG_VERBOSE_DEBUG is not set
+# CONFIG_SCRUB_DEBUG is not set
--
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-dev= el@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo= /xen-devel
--0000000000003e3bc9056d8b7d93-- --===============8865595329073210280== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============8865595329073210280==--