From nobody Fri Mar 29 10:53:08 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1555252534; cv=none; d=zoho.com; s=zohoarc; b=cOY6uWBN46qTQ1WDtS3XKpkfPvfIKNuhhCxv1Hd1+b8c9v8i54QgWtII/BmFtY9FBojJSvipP8rv3a5DEqSdN7urMzi15+BXZueMUDSKAcUYNo+GZAkD0H/WX6z5Juwb8T8bUzuzOSkD3O+pIVGNZtbP++RGB9lI0k128JbiKXU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555252534; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=WKUPohbZn+tdtu5jTtEk6i/1RqGuZxMqcGg5L0vhQqc=; b=awfV21JIha6O5Zor20FEq8MPgBg1lsccpv5htjI7q80FC9xvoVIpEWdevVWbQuB9hxrrJsX0ylIQVNXfD1kgeuiDyJQkWtnFSbblPmP4L2TEiidRkA4LXG0FuDlPB1s3IsSSPCU2XXH8L2UQK7qEvj7Sh+Tb6Arr9ndKFbqLgmg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1555252534873918.7839149493155; Sun, 14 Apr 2019 07:35:34 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hFgCt-0002nJ-Ra; Sun, 14 Apr 2019 14:34:07 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hFgCs-0002nD-HG for xen-devel@lists.xenproject.org; Sun, 14 Apr 2019 14:34:06 +0000 Received: from mail-pl1-x643.google.com (unknown [2607:f8b0:4864:20::643]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 5ad4768f-5ec2-11e9-92d7-bc764e045a96; Sun, 14 Apr 2019 14:34:05 +0000 (UTC) Received: by mail-pl1-x643.google.com with SMTP id y6so7298324pll.13 for ; Sun, 14 Apr 2019 07:34:05 -0700 (PDT) Received: from localhost.localdomain ([106.215.44.17]) by smtp.gmail.com with ESMTPSA id q80sm91486431pfa.66.2019.04.14.07.34.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 Apr 2019 07:34:02 -0700 (PDT) X-Inumbo-ID: 5ad4768f-5ec2-11e9-92d7-bc764e045a96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=vsadhmPGMkvjoqUu6adWisTn4uP3qAbTzwFGmnFCz+E=; b=unqRINCyVoCvh3w2LKx0Eha9S+eyZhORDPuQoiDnfvUeXMKkIVQhfvfAvnHhvGVumr qqLQQHvUJTdcwT8l5R/K8D32HPUp0tApQAiY6W5JRYUFBWSLt4D5KBbYisjbbNtC5A0T z/eHHCX0ynzjrZK/okAK0c8xfKAjgWLMDINy6NQUVRPe+5SMN/gMmpcB4/Z7akQ8QL+O j6MuD9CzlkLTI17LG1NR/OW/ixsV2MTG+IJz+TVQeUi9yOkJnDKbztXTDp75iSMIdoY4 u/JZ7yU0eeOfcVt2P8XR1MCd+UzEMM7TTdnAp4PEMCiS3Ro1waGKbrC/PPWI6VVTeyHf Qwsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vsadhmPGMkvjoqUu6adWisTn4uP3qAbTzwFGmnFCz+E=; b=cKnxOB2cN7rGNqY6X7AlZ3O2n4Cpc9QnUIFr0MMS194fIOIlM/n8B2hSTC17Rmbqpj aGpTLPo+DptdjUPmMEPFhi90NMrVBa5Rn42t6OWatvfHkdsbe9IaXMgK0DhTWkR/Grwp fQs4taTr7VpW1ZcNcxOTqbA1QCEIx6dC64cCuVJC2DrTe/7rwwGur09u+aUGs8MUybrw Vrd6YWJBuuYszg1Ayopm4Q6O7pRmKKpC5A76UpyIf50Cw//UzV72YdHo0Dedp+2hduLj vM4v0ttmhCfVsnmoJDlfVEDj5vGKfoMOhcRaQl1bmGiDCWoctIMKtBUjGt/YKxJzkZDH 5GdA== X-Gm-Message-State: APjAAAXWz6RPrGllCcUcGh04NUMheFtVcmxEo5OeN/c4DHRt1h6qsz5+ m7GEAd53LvrpPrTxxxLYj07ALEht X-Google-Smtp-Source: APXvYqwYBD8xedG9CTqBZ4Okqf/qqa8RE70ubRYhqAz7Cj5TywGuFcfnkilAsG76upK9lF8VsaiK3g== X-Received: by 2002:a17:902:2:: with SMTP id 2mr70125682pla.61.1555252443572; Sun, 14 Apr 2019 07:34:03 -0700 (PDT) From: Amit Singh Tomar To: xen-devel@lists.xenproject.org Date: Sun, 14 Apr 2019 20:03:39 +0530 Message-Id: <1555252419-17121-1-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Xen-devel] [PATCH] xen/arm: Blacklist PMU with "arm, cortex-a53-pmu" 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: andre.przywara@arm.com, julien.grall@arm.com, sstabellini@kernel.org, Amit Singh Tomar MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) At the moment, we hide PMU's from domain 0 and XEN boot fails on platform[1] where DTS contains "arm,cortex-a53-pmu" as compatible string for PMU node. This patch simply adds "arm,cortex-a53-pmu" to list of blacklisted PMUs. [1]: https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/free= scale/imx8mq.dtsi#L124 Signed-off-by: Amit Singh Tomar --- xen/arch/arm/domain_build.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index d983677..b54592a 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -1334,6 +1334,7 @@ static int __init handle_node(struct domain *d, struc= t kernel_info *kinfo, DT_MATCH_COMPATIBLE("arm,cortex-a15-pmu"), DT_MATCH_COMPATIBLE("arm,cortex-a53-edac"), DT_MATCH_COMPATIBLE("arm,armv8-pmuv3"), + DT_MATCH_COMPATIBLE("arm,cortex-a53-pmu"), DT_MATCH_PATH("/cpus"), DT_MATCH_TYPE("memory"), /* The memory mapped timer is not supported by Xen. */ --=20 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel