Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3659567pxp; Tue, 15 Mar 2022 03:44:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeHtDEhOkiFrEFMyl8W1qn1aaRaXvjntkkqiTugsDkQfhnCqBYdQNXstSwJUMkaxY3OVQO X-Received: by 2002:a05:6402:5144:b0:416:3513:8c1f with SMTP id n4-20020a056402514400b0041635138c1fmr24341848edd.355.1647341098508; Tue, 15 Mar 2022 03:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647341098; cv=none; d=google.com; s=arc-20160816; b=VLt+vXwM6olv7rNw2eXm/V1TNDNc4VaCDNeyiGhdjwr4w5mqGsw2tsFm0lqvc5g17J 5Eu+uPI/8nTJ0RNY6TTPKNuc03CAc5d0xfwNATKDY90g9SUyvnShwrz616ldyvlcZa48 j6wDgnBz3cSvWNzr7bii9KgNRgII1fZhN7Ur49rsmAkvycCrteEs20okqgh1nOhJXAon V2FapGzdc0vfJ6Q5qZ1X7rcG8QnljCk5+9xOOEw9hgmnreHXAJHXSwP8ykjd/69K/CfM 5kqOPIhsg7A2EAwsFd5JhEb4xPhX02iXUMhHxHQUA3K0KClbbsglz0+T5/Wy+wUuMU5N e8QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GfiN+GrdfJAqDRXFMA47LUQYee4/5+AqVgayOxLAH0k=; b=VIxuQImBO82PhbAk5g0lR1iUPYTUJB8cKX/8rIiy2dqHhOE3C/SLnnMo1zLij3vOpr hnairFR0MNWbQzp/sh0QEtJcnpahfTGUFZOrTFJjKxWEflRt0b5A8PsmYc2gCxw3AFU7 lmTaMNLBsmm/mwWkDZqkKX3wRCXD52Le0VJAmwgdu6r8jHre2sNzUuYML92CRen8dqp5 7NQM1S0pGZ3r7weI83o8iEmPkQXns177CG1IFT9YmHLbkv716jHiAQIl4fJUuJjJRLqY SnX7kImq6Luqgmqe+tahE8jXEcQ/9r6zvaz8wiRGKc/HuV9zXCaUFroCU+ws5nWuKOh2 vPvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q3wWq1wn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jv16-20020a170907769000b006db62b71688si9887717ejc.349.2022.03.15.03.44.33; Tue, 15 Mar 2022 03:44:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q3wWq1wn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243581AbiCNMbD (ORCPT + 99 others); Mon, 14 Mar 2022 08:31:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241775AbiCNMSX (ORCPT ); Mon, 14 Mar 2022 08:18:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44197FD22; Mon, 14 Mar 2022 05:12:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7482F61380; Mon, 14 Mar 2022 12:12:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DD21C340E9; Mon, 14 Mar 2022 12:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647259977; bh=P9K/h8KMbQZRQi1PXI9ISur1J4HQLQ4E1D9sSKqTb14=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q3wWq1wnHrThv3GOt8n8bz0LEYNbaIrNsbF/eip9NuWBwBskyIL9hK6rdL0XYy9cS WwLm4vEaDQoZhizmfF9HcAE9VACEH1dg2XzHJtJwXRRxi8gXEwCGBkrOqejGEixL/a zb+BU1HkBFBe6+snk1Uv6dF4VdS1AAcQ9NKrbjVg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maxime Ripard , Stefan Wahren , Florian Fainelli , Sasha Levin Subject: [PATCH 5.16 005/121] ARM: boot: dts: bcm2711: Fix HVS register range Date: Mon, 14 Mar 2022 12:53:08 +0100 Message-Id: <20220314112744.275113530@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220314112744.120491875@linuxfoundation.org> References: <20220314112744.120491875@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Ripard [ Upstream commit 515415d316168c6521d74ea8280287e28d7303e6 ] While the HVS has the same context memory size in the BCM2711 than in the previous SoCs, the range allocated to the registers doubled and it now takes 16k + 16k, compared to 8k + 16k before. The KMS driver will use the whole context RAM though, eventually resulting in a pointer dereference error when we access the higher half of the context memory since it hasn't been mapped. Fixes: 4564363351e2 ("ARM: dts: bcm2711: Enable the display pipeline") Signed-off-by: Maxime Ripard Signed-off-by: Stefan Wahren Signed-off-by: Florian Fainelli Signed-off-by: Sasha Levin --- arch/arm/boot/dts/bcm2711.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi index dff18fc9a906..21294f775a20 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -290,6 +290,7 @@ pixelvalve4: pixelvalve@7e216000 { hvs: hvs@7e400000 { compatible = "brcm,bcm2711-hvs"; + reg = <0x7e400000 0x8000>; interrupts = ; }; -- 2.34.1