From patchwork Wed Apr 10 14:23:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 162025 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp6272687jan; Wed, 10 Apr 2019 07:26:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvcKNo8vpGHwZCE+I1FtUh+b1WDgknslxy9wH0qS03Xq+MSGEEWxWRnaFbFJtzaffxkudV X-Received: by 2002:a25:6649:: with SMTP id z9mr17664094ybm.368.1554906385222; Wed, 10 Apr 2019 07:26:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554906385; cv=none; d=google.com; s=arc-20160816; b=MHAqS9MPkzgL5isevSn3EyWV4nIV0KOOkL/emdmKuV6Pt8o8Ip2+JrR2UQ+i8Txyl3 Mr7DD/F9+9I6D+sBV2Kh/pEUszQoSls3RP/3FW6gj3HneRXv9HWFytmkk+6JFO5fZxxx MMfx+LRYBwz77+nJDgwIKRQqX83nFVPFDmgpi5DF5oFxQVijV4WPRK5rEg7recg+kFcz gBUSj18yw4qLUjhVbbWQO/MQdUKjmMbwxOphnJkKUxj3pw4k2QYXH3D4X6I099DS/RPU U12qvZdBtM8FA9bxAeT8o6BtUjSMtiWdoDNRHRd4EdhjOkRocCaU7dSAemkdimP4nK5m MOOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from; bh=zySiMciqfWKQyQ0Z4JBr8sc6JCsX0Y6apnN7uwAD56o=; b=cagYRjQUp9Lui3WBn358a11DYrPvn6OHND8i6zIi7M5/QA5QNm3qMCh2LewKrkiAVA F7eIM9MLQVTFGuykboYpp+ZgcUK+PICjLxV+R/FstqbKbaEiOaGZdYqKdoCedY9ZHRcp 9qomWrVrmsC6o98l9H+7yT/SuGIxksFijWbvFCLtRtFCr6wYdNM25Pw2pckwqwv2ZwPT lj5ca8ASdfwBW3+zqOqf9P04ljzaYMtJu7NysJNfUVxS5BZ0WAm3TBzysiXMV12PcNmT Hp/H5zlXI35749122BtxD813ugmnxtQhX4XckHrQqLPsGJ+m/BPno6jI1ctU/4NxL6xC Vo8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id x2si12150172yba.176.2019.04.10.07.26.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Apr 2019 07:26:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hEEAG-0006KP-TK; Wed, 10 Apr 2019 14:25:24 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hEEAE-0006F4-41 for xen-devel@lists.xenproject.org; Wed, 10 Apr 2019 14:25:22 +0000 X-Inumbo-ID: 788403be-5b9c-11e9-92d7-bc764e045a96 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 788403be-5b9c-11e9-92d7-bc764e045a96; Wed, 10 Apr 2019 14:25:20 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,332,1549929600"; d="scan'208";a="83227685" From: Ian Jackson To: Date: Wed, 10 Apr 2019 15:23:23 +0100 Message-ID: <20190410142408.22848-18-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190410142408.22848-1-ian.jackson@eu.citrix.com> References: <20190410142408.22848-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 17/62] stretch: Use chainloading when booting using GRUB on Arm64 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Julien Grall , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Julien Grall The GRUB package in stretch is not able to boot Xen on Arm64. Use chainloading as we did for jessie for the time being. Note that a bug has been filled on Debian to integrate Xen pactches for the next release (see [1]). [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884770 Signed-off-by: Julien Grall Signed-off-by: Wei Liu Acked-by: Ian Jackson --- v4: Correct suite name capitalisation in commit message and comment. --- Osstest/Debian.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 85b1890d..80b4cf37 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -435,10 +435,10 @@ sub setupboot_grub2 ($$$$) { my $rmenu= '/boot/grub/grub.cfg'; my $kernkey= (defined $xenhopt ? 'KernDom0' : 'KernOnly'); - # Grub2 on Jessie/arm* doesn't do multiboot, so we must chainload. + # Grub2 on jessie/stretch ARM* doesn't do multiboot, so we must chainload. my $need_uefi_chainload = get_host_property($ho, "firmware", "") eq "uefi" && - $ho->{Suite} =~ m/jessie/ && $r{arch} =~ m/^arm/; + $ho->{Suite} =~ m/jessie|stretch/ && $r{arch} =~ m/^arm/; my $parsemenu= sub { my $f= bl_getmenu_open($ho, $rmenu, "$stash/$ho->{Name}--grub.cfg.1"); From patchwork Wed Apr 10 14:23:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 162026 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp6272759jan; Wed, 10 Apr 2019 07:26:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTGVtUoZ9hkBlRxE+J/TkLfBnHpEkEr25Esw64wiDzqg7vej4ttI+/SH063PuOcxKCQRAq X-Received: by 2002:a81:d4:: with SMTP id 203mr34941786ywa.61.1554906388391; Wed, 10 Apr 2019 07:26:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554906388; cv=none; d=google.com; s=arc-20160816; b=ZZpTZx3xf3K560tuJTH6rymNdBce2zXVdPQIzT9kKrURDI4ZUQ1gX2chgse8Y6wMtX EIEvkg/CBTNmKARLSanqLau5J/RoKos+p0yT6SFLFiXQbUXyY6TtniBbaF0VBeKbX+iC IMH30uuwVy/wC7S5N3qv2eJJnA2L1HWRgtJuN5Y54ueVjKaAY6pp5j62FWmmqVF3HoKs DB3ZdaUHwvE8meUG01aXVJD9WXIKeMCC7uO4fl3KdTcGx+dbhF+NgCoQ0+K+nbeeDz/0 /1xDObqJkfxpQ/DcZJUD7opxNmFoCmA++kMKjXf1IFQiP1VJ3hUpxbzYOVIwSp5y4JgR 7P8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from; bh=++/Blqe8H7xHwDJ6ccU2sFzcCEZXqzPGlfwOm7bSM8U=; b=JP/mx8l6fkQWuSPSSVr/MkWYs3Sq4IbE4jMSWn1Sqn/8qqq6tJGRaFZ+UPX+Ip3yzb ZxSypuc5dBMKpj6j57YL1fWMBKSHE8mRL06dg4CDWpw+eq3Y7QmtDl5dekKVMrxrsz1m RDFVSz9nMgwcgcqqDusoRoGgj8r1q2eLkUSa+EtQNO4FJT0GpsHgR76RWIzd7oUqNBnL W9JVA/SFeGqiaWE7iSCqmNLx2BAjyRM8G+sXnMLyQ/Dhhc4a9Nxq5K/sHu7k6S3wgrAQ tBwBkwSCaG2d3p+U4odiCTeZtNsq+yGOSJqaBnzIb2wgsghHNd5BoHE73GALHDohCIBJ oosg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id j6si22964319ywb.246.2019.04.10.07.26.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Apr 2019 07:26:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hEEAQ-0006eQ-Gy; Wed, 10 Apr 2019 14:25:34 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hEEAN-0006X3-AT for xen-devel@lists.xenproject.org; Wed, 10 Apr 2019 14:25:31 +0000 X-Inumbo-ID: 7dc99734-5b9c-11e9-92d7-bc764e045a96 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 7dc99734-5b9c-11e9-92d7-bc764e045a96; Wed, 10 Apr 2019 14:25:30 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,332,1549929600"; d="scan'208";a="83227706" From: Ian Jackson To: Date: Wed, 10 Apr 2019 15:23:39 +0100 Message-ID: <20190410142408.22848-34-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190410142408.22848-1-ian.jackson@eu.citrix.com> References: <20190410142408.22848-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 33/62] ts-xen-build: Enable ITS driver in Xen X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Julien Grall Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Julien Grall The ITS driver was added in Xen 4.10 as a technical preview feature. However, it is required in order to boot Xen as Thunder-X because PCI devices don't support legacy interrupt. So enable CONFIG_ITS in our Xen build. Signed-off-by: Julien Grall --- ts-xen-build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts-xen-build b/ts-xen-build index 6ddfc533..1762cd61 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -128,6 +128,10 @@ END echo >>xen/.config CONFIG_EXPERT=y echo >>xen/.config CONFIG_HVM_FEP=y echo >>xen/.config CONFIG_VERBOSE_DEBUG=y + # ITS driver is required to boot the Hardware Domain + # on Xen. For now (Xen 4.10/4.11 at at least), + # will be not built by default and gated by expert mode + echo >>xen/.config CONFIG_HAS_ITS=y fi END );