Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp899125pxb; Tue, 1 Feb 2022 12:44:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJx71lg7j3e7QiU+viTO82itl44ktkAHC1VVaHktWyMyX86zQaVI0KBJqPSZ/jcRfX1qR2xq X-Received: by 2002:a17:902:e849:: with SMTP id t9mr27381118plg.106.1643748283385; Tue, 01 Feb 2022 12:44:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748283; cv=none; d=google.com; s=arc-20160816; b=jQRaEPYFxFJUpfjghljJaY5P0Ez1dH9VqqFP5Nm3wbf8EtC4dCTU7fJPg/oKWnESm3 sfbsBjtyVtX32LwRLa7pqH5sP1dwy8Du2gC7bVGcXvwcLZAApEwlHzgIFmzUGh5y5fH2 YKI6ooDU5Z6JIjMDBDn/by7kDjAuyZFdWc+9WkNxnwfhotHJtw5wv3tWfDQbFr5L6yT1 0VQ+91cDfxcLV/p+pTQEQCM4bXT/U7yeElKXqRUl+S8qIiyj46SjIsj+C8M6hQhasujP LPh0CLaniY+zGKsLYHqRzzYXc0uEechcmcKX2u3Gk882ONRiNvTBh1nG1nN/MOh55aos 7eoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=wUc2GpQMIxhq9g4LSw+q0haypTIznu66K6y6ZsynywU=; b=KldLrrcdrkPIlFDQmIL945jOCpbi6RIUV5KZ+kDNXvaqPSceg+2aM/1ilkyeuTDVZw DLAnz2BR4CnV8Vx9TG3Ts5UBs+YOGulUmVGmPsT0cFNJOFXDhTHMthlLuRZzj/pIzpx1 kvAjmozv8t82ihpdV80EOzxwRLVWveLin365Xz02Fw+Zu5iQ16xEz5W1QTagodKFRKt8 uu/PfE60kA9lNG9om0MYwChLV4aZI5V15ITTLIhHRfPc6qUVYCI2FVaA9t8uw592zpG+ 7gw3Ep4PZF6lj4iffWRugKT5dp+tQdwowRvoQdBYng4SgQkmq7vTZZWurN404A7723qe OgkQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si21210745plh.441.2022.02.01.12.44.31; Tue, 01 Feb 2022 12:44:43 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380348AbiAaQlb (ORCPT + 99 others); Mon, 31 Jan 2022 11:41:31 -0500 Received: from elvis.franken.de ([193.175.24.41]:49232 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379067AbiAaQla (ORCPT ); Mon, 31 Jan 2022 11:41:30 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1nEZk7-000514-00; Mon, 31 Jan 2022 17:41:27 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 5D8BDC1F70; Mon, 31 Jan 2022 17:41:05 +0100 (CET) Date: Mon, 31 Jan 2022 17:41:05 +0100 From: Thomas Bogendoerfer To: "Neftin, Sasha" Cc: Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Jakub Kicinski , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Fuxbrumer, Devora" , "Ruinskiy, Dima" Subject: Re: [PATCH net] net: e1000e: Recover at least in-memory copy of NVM checksum Message-ID: <20220131164105.GA29636@alpha.franken.de> References: <20220127150807.26448-1-tbogendoerfer@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 31, 2022 at 12:51:07PM +0200, Neftin, Sasha wrote: > Hello Thomas, > For security reasons starting from the TGL platform SPI controller will be > locked for SW access. I've double-checked with our HW architect, not from > SPT, from TGP. So, first, we can change the mac type e1000_pch_cnp to > e1000_pch_tgp (as fix for initial patch) ok, that would fix the mentioned bug. Are you sending a patch for that ? > Do we want (second) to allow HW initialization with the "wrong" NVM > checksum? It could cause unexpected (HW) behavior in the future. Even if you > will "recover" check in shadow RAM - there is no guarantee that NVM is good. sure. Out of curiosity why is the NVM fixup there in the first place ? Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]