All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@xilinx.com>
To: Julien Grall <julien.grall@arm.com>
Cc: xen-devel@lists.xenproject.org,
	Stefano Stabellini <sstabellini@kernel.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	infra@xenproject.org, stefanos@xilinx.com
Subject: Re: [OSSTEST PATCH] README.hardware-acquisition
Date: Tue, 30 Oct 2018 15:38:24 -0700	[thread overview]
Message-ID: <alpine.DEB.2.10.1810301528180.22840@sstabellini-ThinkPad-X260> (raw)
In-Reply-To: <18bf9618-d950-8cfa-1746-e330f3ce0e66@arm.com>

On Tue, 30 Oct 2018, Julien Grall wrote:
> Hi Ian,
> 
> On 10/30/18 4:13 PM, Ian Jackson wrote:
> > +Compatibility with Xen and Linux - requirements
> > +-----------------------------------------------
> > +
> > +(Normally these issues are not a problem for x86, except perhaps for
> > +the network and storage controllers - see MASS STORAGE and NETWORKING,
> > +above.)
> > +
> > + * [1] Xen: The CPU and other hardware must be supported by current
> > +   versions of xen-unstable, at the very least.
> > +
> > + * [2] Linux: The CPU and other hardware must be supported by existing
> > +   widely available versions of Linux.  There are two principal
> > +   requirements:
> > +
> > +   + Baremetal boot from Debian stable or stable-backports:
> > +
> > +     A suitable Linux kernel binary which can boot baremetal on the
> > +     proposed hardware must be available from Debian (at least
> > +     `stable', or, if that is not possible `stable-backports').  It is
> > +     not OK to require a patched version of Linux, or a version of
> > +     Linux built from a particular git branch, or some such.  If the
> > +     required kernel is not available in Debian, the vendor should
> > +     first work with the Debian project to ensure and validate that
> > +     the Debian stable-backports kernel binaries boot on the proposed
> > +     hardware.
> 
> While I understand this point, I think this is going to limit us a lot on the
> choice of hardware for Arm. While Debian is quite famous on the Server world,
> this is less the case on the automotive/embedded world where they tend to have
> there custom distribution.

That's right, it's a Yocto world around here. That's also what EPAM
uses.


> Most of the time, the issue to boot Debian is related to the kernel. Yet, the
> price might be too high for some of the vendors to donate the hardware.
> Furthermore, at the moment Osstest is stuck on Jessie. This version does not
> support Thunder-X (stealing power and heating data for the past year and
> half...) and hardwares that will be donated in the next few months (i.e
> Renesas R-Car, and Xilinx MPSoc).
>
> I still want to encourage vendor to work upstream but I would relax the
> requirements here to "Xen Arm kernel branch".

+1

Xilinx MPSoC support is upstream in vanilla Linux (defconfig), and the
MPSoC is fully supported in Yocto. We did issue a ticket in the Debian
system to add support for the Xilinx MPSoC in their kernel but is hasn't
happened yet. (The fact that Debian support hasn't come up as an issue
up until now tells us that embedded folks tend to use other distros.)

In general, I think vanilla Linux kernel support would be a rather
strict requirement for many embedded boards (especially the sub 100$
ones), but it would still be better than asking for Debian kernel
support.

Overall, Julien's suggestion to require "Xen Arm kernel branch" is best.



> > +
> > +   + Boot under Xen with Linux kernel built from source code.
> > +
> > +     For x86, recent Linux LTS or mainline kernel source code must be
> > +     able to boot under Xen, on the proposed hardware.
> > +
> > +     For ARM, there is a special Xen ARM kernel branch.  It must be
> > +     able to boot under Xen, on the proposed hardware.
> 
> I still want to keep that branch very close to Linux upstream. So it might be
> worth to say we have the liberty to not accept there patch...
> 
> > +
> > + * Board-specific Linux and Xen versions are not acceptable.
> 
> ... That will avoid a vendor to try to workaround this by asking to merge
> hundreds of patch in "Xen Arm kernel" branch.

Yes, good idea. We don't want to deviate the "Xen Arm kernel" branch
significantly.


> > +
> > + * Hardware vendor offering a "board support package" is a red flag.
> > +   We will not be using a "board support package".  If we are offered
> > +   one we will need explicit confirmation, and perhaps verification,
> > +   of the points above.
> > +
> > + * For ARM systems using Device Tree: xxx what to write here ?
> IIRC we are using the DT from the Linux tree. This was to workaround broken
> backward compatibility on the cubieboard. Am I correct?
> 
> I would write: "The firmware should provide a Device-Tree working for all
> version of Linux or provide a mechanisms to load a different Device-Tree at
> boot."

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2018-10-30 22:38 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-30 16:13 [OSSTEST PATCH] README.hardware-acquisition Ian Jackson
2018-10-30 16:27 ` Jan Beulich
2018-10-30 20:28 ` Julien Grall
2018-10-30 22:38   ` Stefano Stabellini [this message]
2018-10-31 15:39     ` [OSSTEST PATCH] README.hardware-acquisition [and 1 more messages] Ian Jackson
2018-10-31 18:37       ` Stefano Stabellini
2018-11-01 12:42         ` [OSSTEST PATCH] README.hardware-acquisition [and 1 more messages] [and 2 " Ian Jackson
2018-11-01 18:12           ` Stefano Stabellini
2018-11-02 10:16             ` Lars Kurth
2018-11-02 14:16               ` Wei Liu
2018-11-02 16:19               ` Stefano Stabellini
2019-02-15 11:56       ` [OSSTEST PATCH] README.hardware-acquisition [and 1 " Ian Jackson
2019-02-15 12:15         ` Juergen Gross
2019-02-15 13:47         ` Lars Kurth
2019-02-15 15:40           ` Ian Jackson
2019-02-15 16:04             ` Lars Kurth
2019-02-15 17:07               ` Ian Jackson
2018-10-31 14:44   ` [OSSTEST PATCH] README.hardware-acquisition Ian Jackson
2018-10-31 18:32     ` Julien Grall
2018-10-31 17:49 ` George Dunlap
2018-10-31 17:50   ` George Dunlap
2018-10-31 18:46     ` Stefano Stabellini
2018-11-01 11:29       ` George Dunlap
2018-11-01 11:49         ` Lars Kurth
2018-11-01 17:50           ` Stefano Stabellini
2018-11-02 11:37             ` Ian Jackson
2018-11-02 15:05   ` [OSSTEST PATCH] README.hardware-acquisition [and 1 more messages] [and 2 more messages] [and 2 more messages] Ian Jackson
2018-11-02 15:38     ` Julien Grall
2018-11-02 15:44       ` Ian Jackson
2018-11-02 16:10         ` Julien Grall
2018-11-02 16:40           ` Ian Jackson
2018-11-02 17:56     ` Stefano Stabellini
2018-11-02 18:08       ` Julien Grall
2018-11-02 23:44         ` Stefano Stabellini
2018-11-05 11:08           ` Julien Grall
2018-11-05 11:32             ` Ian Jackson
2018-11-09 19:48               ` Stefano Stabellini
2018-11-05 10:55       ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1810301528180.22840@sstabellini-ThinkPad-X260 \
    --to=stefano.stabellini@xilinx.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=infra@xenproject.org \
    --cc=julien.grall@arm.com \
    --cc=sstabellini@kernel.org \
    --cc=stefanos@xilinx.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.