Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2490223pxj; Mon, 10 May 2021 04:21:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuQ06jDVJLPtYQWfaQNnzHc/WhmTMJQ1zipY7oro5aaqNhE989T7NEmIH39QBCfWTsDU3p X-Received: by 2002:a17:906:4098:: with SMTP id u24mr24485397ejj.228.1620645702944; Mon, 10 May 2021 04:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620645702; cv=none; d=google.com; s=arc-20160816; b=h661lTwRcHvl4b+XKLKqE2bfkIKvPvF3OMzd1WzE7M7PZ2rz7UgRnLE1+J1JesaQUY jPAESer3bhuGNMKs8pFd/uZ4WZiZW43GFhp6jcaV9UQ8I/87MfgUANKBBhmOuuyF74DY dK+oKweX8rw24Jz1WCLRk15ygJVzxyM0ETQrY39mhyAmNyR9xY61fKdYnOMvh1ISa/XO ptmK9Hc+zKPjRS/o+2HnVelQAbEX9+ZcTgeJYWlDErwAMWx3yQpfqk6rHTkw8Jc6lHM+ nmLaPS/+9W7zsIIKwHk2SlCRvYjJOeH1z4AGX9FLy/JWMDcoIh7ZfAP4yyqg1LysShrx IEsQ== 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=DjslOABjYa95Lzak90pKh2nXeoXBIKEoi7To1331eIc=; b=vb2aIqcesyPuOihdRKSo/yh4Y986izihQLjxgsILXENSoHhmgjYrde8A0xNVIPq3yN rwM89bIQK817bzJ4N29ltL6ccZ3a4Go2Zux7rhNHjf3BpPkakWGcVLASb3GNvJJAaKJY BjUuwhcDirVzCNqmK/QTbiaXIX3o+6KA+7dVFHzohlmrfcdNDZFfXZAElJ2Ef3AvL+hg O9A2GmFLQr1Dg23OoOhbElQUG0Q9PWNbTid+nMqqUQDghJLfwJoiRcHFujB1YkNcSHhh Wp5ES3VJ4bs5WHbjgMCQFkk5kEaKWJFW7mar2uKmlp2179+j68PRGogujqwRxpwySBR3 L07A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jXEIGWHn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si12040661edm.540.2021.05.10.04.21.18; Mon, 10 May 2021 04:21:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jXEIGWHn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S237836AbhEJLQS (ORCPT + 99 others); Mon, 10 May 2021 07:16:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:42174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232917AbhEJKvR (ORCPT ); Mon, 10 May 2021 06:51:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D23761968; Mon, 10 May 2021 10:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620643237; bh=ggxB9eYHTx5PlDK587b1NbYHM3IB0oeVv/BkvcWM0LU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jXEIGWHnbnqCKdcinJLqViYcLsFcq/j87sBKpFpk5cBAZ63CImWS242y8RfxGPScC x1D19htLT238sJTC2lUogdsew7mi4jTPAayLohXkPvEKP+hk5IHn0j96fAs1Fk5tp6 o0b3E9FAtFCggKhLXlsQboIAYqZ+MrXrmkagzh9Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Xu Yilun , Tom Rix , Lee Jones , Sasha Levin Subject: [PATCH 5.10 199/299] mfd: intel-m10-bmc: Fix the register access range Date: Mon, 10 May 2021 12:19:56 +0200 Message-Id: <20210510102011.520278947@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210510102004.821838356@linuxfoundation.org> References: <20210510102004.821838356@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xu Yilun [ Upstream commit d9b326b2c3673f939941806146aee38e5c635fd0 ] This patch fixes the max register address of MAX 10 BMC. The range 0x20000000 ~ 0x200000fc are for control registers of the QSPI flash controller, which are not accessible to host. Signed-off-by: Xu Yilun Reviewed-by: Tom Rix Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- include/linux/mfd/intel-m10-bmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/intel-m10-bmc.h b/include/linux/mfd/intel-m10-bmc.h index c8ef2f1654a4..06da62c25234 100644 --- a/include/linux/mfd/intel-m10-bmc.h +++ b/include/linux/mfd/intel-m10-bmc.h @@ -11,7 +11,7 @@ #define M10BMC_LEGACY_SYS_BASE 0x300400 #define M10BMC_SYS_BASE 0x300800 -#define M10BMC_MEM_END 0x200000fc +#define M10BMC_MEM_END 0x1fffffff /* Register offset of system registers */ #define NIOS2_FW_VERSION 0x0 -- 2.30.2