Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp83204lqj; Thu, 11 Apr 2024 10:23:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUE0+QZ8c3w83OLYd6F2FB8YLzHFYyw80JtiLpKsvUOmkRLZHc7IsOY3tttHGaNxCHUV4j7SI2bMgkiZLHKr30swZlbemF7QowIrYRgyg== X-Google-Smtp-Source: AGHT+IEQWRjEF7pW1DGkZ04PQ0lRi/F53x01ElV8YB0+GW3vPYQuObBYP0zYF+uvCSGINQ4HYaDA X-Received: by 2002:a50:8e1b:0:b0:56e:2e0:79d1 with SMTP id 27-20020a508e1b000000b0056e02e079d1mr310351edw.4.1712856228339; Thu, 11 Apr 2024 10:23:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712856228; cv=pass; d=google.com; s=arc-20160816; b=Bqp15ehWQeLsxt9ka2ltHHbUFClEdXf+nStDfe9KYw38qcNKbZGvQK17GSTqWEKuRa 0FyUiUhpC1ERVoCFJ6xmh0lXryo9W3FDwX/CfomVuHpMVDb/amKxyit7vkfmay+vY+TE WoTQSmqHQ7kk1oa4YzAsUinlva8H7cjQPzIHtmmWKZyc2mlJFLsAa4x2Dqb46JCpaBL4 lZbbhu33wUGhDPburVWAxQMpYP1HcJVD9wmr5K9HrGA4YCVmvb5CzykWplJm1ZOsCTNW mijCtQamMt+VDM0ITQT4XoiyOQUDVteYPZk6lU8qzuDSfJAjGdncl9ofcYMUbOwxmhHz d/Rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XNHhxR2yEUXBAg8LKq+Z8o1Osui+ReIZ9TcJ0n3S45A=; fh=GJpJj84Ea+xGa7A9tPMKxbTnqhEZoRkUKzM262iu+a4=; b=PMvQk5tv7F18zzVJOX8PKO/xZEa897Z85UUZybQwUamRMN7nBTk5tFAnmxKaVOalDG us/0fuAXFEvgfZFtXCY6b/Q+kOUgQpLahk1h34RcwWaVWbhb2tknPe2FseDrFqjIk6LC /gOXRcuNgY21e/FbbGw332J3YZ2xgDhzB3Nm08H/ZULSd7dtThnEQMPUeCx4XJKLAHSZ CJlnkmN4RuKBp2F7fN9flVE1iTkKt3GV/Zqo80BAqlbSBsxKYEeXncXKuKQDNx4Gwyth fXA49lL28uZbU1DqxEjgBg+uiV5zh6+xePQjRSEL4eCG3izhzynNtDvqo78E7U5DOelE QJHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k9iZ8IxS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-141230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q8-20020a50c348000000b0056e1f6bd5d5si908850edb.672.2024.04.11.10.23.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 10:23:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k9iZ8IxS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-141230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5DDE01F241B9 for ; Thu, 11 Apr 2024 17:22:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51DDA1863F; Thu, 11 Apr 2024 15:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k9iZ8IxS" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D9B71758E; Thu, 11 Apr 2024 15:50:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712850602; cv=none; b=u///ULlJ6VuHFFPcJqL9p8ZjDj3Mdvq+MCL7s6d7ndH8pG5zfHMurcdBsByYQbNrnloHjS/NEQB0VZzkjxNpV4+0977uPszbxvngQTTvyloY10i1WHraerpIBxl3GxH6CPozC4EXDJk+iBwJFsNeIcdZmrtx39CNJh/l5xw/K24= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712850602; c=relaxed/simple; bh=saAr95qwLl/VVq4r7QoO3CStQ+s/DJFXve0Mzafnytk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WtiPG1WL33LMd5cAJTSJPZyECy1XtnkHdL2CNtX/Bw3nyLbG7ScyoGjoxCTtXQ+uZBQ07MFsGxn4WX+S47yVWJmNmDGWlJDoESKtPWr41aFCtlg5lyA4a3D8YAG3E2urlM4jm48fY9JI07FBxS8qxQ/kKrkuAqQuZgCt0R24eC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k9iZ8IxS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97400C072AA; Thu, 11 Apr 2024 15:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712850602; bh=saAr95qwLl/VVq4r7QoO3CStQ+s/DJFXve0Mzafnytk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k9iZ8IxSEpgtHdoqwv9wP9tOWTzmciz1LtF+WAxXu8twLOg6gia8hCSjxZqVX+t4t hIl+GJsa/+oM0URZ2gNrfPo+HsbYAv10KAxWBTI7JyXuLz9ZlLzHV9comUIv68aN2J 6cqOe5nL5uAzrdJxo72v0hzZjvn5jE6UnNQ2Qfe9kLf+CcWDQ1Xzw+ldHRl1c//sn/ QjKp206xXBTntpenbAexONomDg+KrEJl9OCf++q7aCvIi/7Aq+QLdg3ujweI2K352K wBhTXdcSpu1OleulZIicoNrOWyvofa0AjyUwN5wDT+JNxrFwncNadtWlRd4mgCEKzH pua4+kPHETEyw== Date: Thu, 11 Apr 2024 16:49:56 +0100 From: Lee Jones To: Peter Colberg Cc: Moritz Fischer , Wu Hao , Xu Yilun , Tom Rix , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, Russ Weight , Marco Pagani , Matthew Gerlach , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Russ Weight Subject: Re: [PATCH v2] mfd: intel-m10-bmc: Change staging size to a variable Message-ID: <20240411154956.GH2399047@google.com> References: <20240402184925.1065932-1-peter.colberg@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240402184925.1065932-1-peter.colberg@intel.com> On Tue, 02 Apr 2024, Peter Colberg wrote: > From: Ilpo Järvinen > > The secure update driver does a sanity-check of the image size in > comparison to the size of the staging area in FLASH. Instead of > hard-wiring M10BMC_STAGING_SIZE, move the staging size to the > m10bmc_csr_map structure to make the size assignment more flexible. > > Co-developed-by: Russ Weight > Signed-off-by: Russ Weight > Signed-off-by: Ilpo Järvinen > Signed-off-by: Peter Colberg Xu Yilun, Peter, Do you require a pull-request from an immutable branch for this? -- Lee Jones [李琼斯]