From nobody Thu Apr 25 10:46:33 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; 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 ARC-Seal: i=1; a=rsa-sha256; t=1570150134; cv=none; d=zoho.com; s=zohoarc; b=PR3YiVPMkWmBqsKgh3hTIcr8G96V3z1QfUwoRKt+irbKIqck8ZWHeQI7n6nWK7uP3Js/K8wVvjjiMTorOJowPFvoy+wCFj4vmMoQ5fCIUphWk0c8dtIiMHSZDe0SrJeuGpADgqVemCKo0ODE9G5gq3oJkjIV+F4ebOCHjoU/dYs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570150134; 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=iTBBTo8XMnxuQtDdoDzlFWYfO7xq/9xtcS4HmpZ69CU=; b=NGJbDtF1a4pe9+VjkgURpILzohQNNMAhHsuBPKKmBBbfs9P4dV6w3UIK6ZiX/5BYfz3q9aMu7s5GWJdXm+gS+lvtHEXm55CPPxX+ifNBQ78bukz5/AqMPSjKNqFJ36Z0SbLZFRv29FEEYiWvzLzup6jOnLyQTXiJVGf27Jk+qpQ= ARC-Authentication-Results: i=1; mx.zoho.com; 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 Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1570150134369872.9480732972827; Thu, 3 Oct 2019 17:48:54 -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 1iGBlG-0006nw-FR; Fri, 04 Oct 2019 00:47:58 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iGBlF-0006no-KJ for xen-devel@lists.xenproject.org; Fri, 04 Oct 2019 00:47:57 +0000 Received: from webmail.dornerworks.com (unknown [12.207.209.150]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id 97c34892-e640-11e9-973b-12813bfff9fa; Fri, 04 Oct 2019 00:47:53 +0000 (UTC) X-Inumbo-ID: 97c34892-e640-11e9-973b-12813bfff9fa From: Stewart Hildebrand To: Date: Thu, 3 Oct 2019 20:47:45 -0400 Message-ID: <20191004004745.26522-1-stewart.hildebrand@dornerworks.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Originating-IP: [172.27.13.130] X-ClientProxiedBy: Mcbain.dw.local (172.27.1.45) To Mcbain.dw.local (172.27.1.45) X-spam-status: No, score=-2.9 required=4.3 tests=ALL_TRUSTED, BAYES_00, MAILSHELL_SCORE_0_4 X-Spam-Flag: NO Subject: [Xen-devel] [PATCH v2] xen/arm: platform: fix Raspberry Pi compatible string 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: Volodymyr Babchuk , Stefano Stabellini , Julien Grall Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Both upstream [1] and downstream [2] Linux kernels use "brcm,bcm2711" as the compatible string for Raspberry Pi 4. Add this string to our platform compatible list. The brcm,bcm2838 convention is abandoned. Remove it. Rename the variables within the file to a rpi4_* prefix since the file is meant to cover the Raspberry Pi 4 platform. [1] https://patchwork.kernel.org/patch/11165407/ [2] https://github.com/raspberrypi/linux/commit/53fdd7b8c8cb9c87190caab4fd4= 59f89e1b4a7f8 Signed-off-by: Stewart Hildebrand --- xen/arch/arm/platforms/brcm-raspberry-pi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xen/arch/arm/platforms/brcm-raspberry-pi.c b/xen/arch/arm/plat= forms/brcm-raspberry-pi.c index e22d2b3184..b697fa2c6c 100644 --- a/xen/arch/arm/platforms/brcm-raspberry-pi.c +++ b/xen/arch/arm/platforms/brcm-raspberry-pi.c @@ -19,13 +19,13 @@ =20 #include =20 -static const char *const brcm_bcm2838_dt_compat[] __initconst =3D +static const char *const rpi4_dt_compat[] __initconst =3D { - "brcm,bcm2838", + "brcm,bcm2711", NULL }; =20 -static const struct dt_device_match brcm_bcm2838_blacklist_dev[] __initcon= st =3D +static const struct dt_device_match rpi4_blacklist_dev[] __initconst =3D { /* * The aux SPIs share an IRQ and a page with the aux UART. @@ -40,9 +40,9 @@ static const struct dt_device_match brcm_bcm2838_blacklis= t_dev[] __initconst =3D { /* sentinel */ }, }; =20 -PLATFORM_START(brcm_bcm2838, "Raspberry Pi 4") - .compatible =3D brcm_bcm2838_dt_compat, - .blacklist_dev =3D brcm_bcm2838_blacklist_dev, +PLATFORM_START(rpi4, "Raspberry Pi 4") + .compatible =3D rpi4_dt_compat, + .blacklist_dev =3D rpi4_blacklist_dev, PLATFORM_END =20 /* --=20 2.23.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel