Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3411472pxp; Mon, 14 Mar 2022 19:25:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIg5bxcG0Xsb0baH1/stLUf0PWE19n7ycVQ6EQkO3nl+TAh5djvT0bohiVgUEtrx/WdZ10 X-Received: by 2002:a17:907:7e8f:b0:6da:6352:a7be with SMTP id qb15-20020a1709077e8f00b006da6352a7bemr20315525ejc.612.1647311137365; Mon, 14 Mar 2022 19:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647311137; cv=none; d=google.com; s=arc-20160816; b=FCrxI7yim/Z4KezLc2Zp2Kcq+UKHjp6ojIUdANL29cYAjlXV2od8wsh4oXNEt4rCNc y4zCk7jmcsO7m9t8CnNag72hZqL/TEmSxf/f4TCzBDIpD6tWhCzRXICU2dcEEInLJlUs SbOVEtxGfRIDPzFjAiOsIOYCtxysNZxky+TXmO7jpKMJY8rI0q30UldL3+MjnhJwDxKL B9e2deOmk7R7MCqXP4wL6x7bp3yCym/xRjfItaYWZ6wlOu8hxC4IUW/l4pgSvBYnjaU+ gV+5aiNEikTRlhzQYOl5TCHbVZkMNT7a+2HuzWv+BgauHlFpwgj3vDM3+ArtfvVWASHi VdsA== 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=XS2k0CUCUfazvu5cJWxiGI2eElprR7gHUptG84XF6j3XteGh6ZmJBM2iVOmGQvyaF7 5PPgdZ4RaPWZ/y+s58Z5KoiWGkZn0T4gBG636U1n0Z6W9CzESkFXOcF/Quz610jgzd60 TeJ6vmZraJrSL6iFMMWuGMz3vDOCpnrvRYQjPfF49YkSBwHZZ+H/92CEMFkiEeXZKzo/ PAN4dC9vJtT41Ow1lo0U1KeVawsI/x00BnLgf25+Mj4inl7943G7nmpx8618yPYIYLkT bNDxWOyzxER+/uMrHuVCrMnR75ltbWDva439W24fTZAqAR2UZ3xZ1JmSratMZNqmU0RB 94kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NMYCc8+b; 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 gn38-20020a1709070d2600b006da971a77easi10057344ejc.862.2022.03.14.19.25.12; Mon, 14 Mar 2022 19:25:37 -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=NMYCc8+b; 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 S240957AbiCNMQT (ORCPT + 99 others); Mon, 14 Mar 2022 08:16:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241845AbiCNMJS (ORCPT ); Mon, 14 Mar 2022 08:09:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E81E91FCD0; Mon, 14 Mar 2022 05:06:06 -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 A4653612FC; Mon, 14 Mar 2022 12:05:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64017C340E9; Mon, 14 Mar 2022 12:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647259557; bh=P9K/h8KMbQZRQi1PXI9ISur1J4HQLQ4E1D9sSKqTb14=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NMYCc8+b+ou5vWiT9C9YjwAsfT0avEhp6e/FaQtDtW2Zr7MtTdj1frdVquZsUBwK3 G28n0mpUKRI3OECUQJSkzHTvq+tHYfkbiFi2fUAu48hT9bACtKxDi49HeFkcGes0jz Jb2XJuYW/stCHnyj1SQKwFgYy2QwapoYRpKNiJnA= 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.15 005/110] ARM: boot: dts: bcm2711: Fix HVS register range Date: Mon, 14 Mar 2022 12:53:07 +0100 Message-Id: <20220314112743.182335808@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220314112743.029192918@linuxfoundation.org> References: <20220314112743.029192918@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