From nobody Fri May 3 10:55:07 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=1571621374; cv=none; d=zoho.com; s=zohoarc; b=c4Dsbsz9LOglH/pR7UuUsTOlSLWVtoskPErk/PVvKxehZ3NcGbI9HtgpyMIbBssp4Ch0pFWDJgab24ZTCghN4cn/ueUrqTMpyfBKMdqVlHq7243NCpMFgEZSTl0nAH4vDozorszdT/kbBX/JbVWePteywdisr81T1IKRVivUfm0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571621374; 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; bh=WVD0J6SN9TXIN/1v61EEgIo6hjvwSAIY8utrIglXBX8=; b=mDaHfLVqVh7Vo1eRxW7tE9z3VBnjB0C62IMLHMxdFKhgf3WAufig3Ku5lnzi4QR0s7BiW4iab6cIrp3dvMUx+yhARBIGJ+iFCqLotueGLKZXfYVA8tpnI0fcXbWOzO0zji0LHFXz+kq6nR40QUXCNTHov2nrCQ+Hxb9IRzSOcsc= 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 1571621373909929.8626052330559; Sun, 20 Oct 2019 18:29:33 -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 1iMMUR-0000OU-Jq; Mon, 21 Oct 2019 01:28:07 +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 1iMMUQ-0000OP-FR for xen-devel@lists.xenproject.org; Mon, 21 Oct 2019 01:28:06 +0000 Received: from webmail.dornerworks.com (unknown [12.207.209.150]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id 06ba41c3-f3a2-11e9-943a-12813bfff9fa; Mon, 21 Oct 2019 01:28:04 +0000 (UTC) X-Inumbo-ID: 06ba41c3-f3a2-11e9-943a-12813bfff9fa From: Stewart Hildebrand To: Date: Sun, 20 Oct 2019 21:27:55 -0400 Message-ID: <20191021012755.2671-1-stewart.hildebrand@dornerworks.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Originating-IP: [172.27.14.1] 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=3.5 tests=ALL_TRUSTED, BAYES_00, MAILSHELL_SCORE_0_4 X-Spam-Flag: NO Subject: [Xen-devel] [XEN PATCH for-4.13 v3] 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: Juergen Gross , Volodymyr Babchuk , Julien Grall , 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. If you are using a device tree with the old compatible string brcm,bcm2838, you will need to upgrade your device tree to one that has the new brcm,bcm2711 compatible string. [1] https://patchwork.kernel.org/patch/11165407/ [2] https://github.com/raspberrypi/linux/commit/53fdd7b8c8cb9c87190caab4fd4= 59f89e1b4a7f8 Signed-off-by: Stewart Hildebrand Acked-by: Julien Grall --- v2: * Remove abandoned bcm2838 convention * Rename variables within file with rpi4_* prefix v3: * Add note to commit message * CC Juergen --- 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