Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1039398pxb; Tue, 14 Sep 2021 14:53:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz874HKPhhKM+nKoT3gEI8qw6uF3x+Dm6dt0s2Z8T5msL2p+dgyVrF/S0V/YeUIwLaTLvA4 X-Received: by 2002:a5e:db49:: with SMTP id r9mr15722431iop.104.1631656383226; Tue, 14 Sep 2021 14:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631656383; cv=none; d=google.com; s=arc-20160816; b=IB3aV11IzscfeHjXQJ6xmJ9uiliXgUITfCmZlXuQ7/rE3jQ77esY6beqP58i8UAlGZ lo5LGf65uE5s19Wlp3x2JGqlZHOQyPp5bg8vAhh450MFOuQ4B/9dHgI2+QuSksHYiarG nSnDQSrCsfp5GkrdyXIYAIU7KlJO36LzZ/DaRHM9uOA2tifDawOgE24ionzo5e2M5VeZ hg2q8ZocNSm//YeyMJ042x5wh1REurygImpqW/x5KdJQ+bqJ0f7TkZRdZKS5FmC5zC62 gtdfANNf9wVDr6Ugw2oADmz654aExiaMi561UynqgGxN4l1J13jjqBZwF+ITX6ewYNlO 5w1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature; bh=OPJbwAqXrMsOcJb8XAwTNGK0vR2vI1IDCcn49AAPJO4=; b=DH74yHjXG3scqXD715T4MQQtn0+pHTDjeXVFIuAjfi829tY3JzJiSO+pr8PAQpzxWv 4r85TiNrCtvmg5QvsD1nzg2bS+5pcxsuRtLQgubeI1EFAHiUr1LaUTtuOYw/e4NMST1h /Qx+/nFVG8opP87oHzfD1jtwplaQPfRCyp/1opCvrTvF3nqECZFF+kI7wUp5KvMTv9V5 KSUbFk4lt0y+ChL3HpxjaBe8p9s8V6XvZSR9Iz//cJRP+GvRrCZ0+qeCjoSwMwnvSMeF 0kk7O1d5+T5TFs23z9Yhfc1kuIDrzC3w9378UORgKbPgiy7NO8UvQayUpbJU06fgFjZO 6fgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ppa4tQ0I; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si13113027iod.38.2021.09.14.14.52.47; Tue, 14 Sep 2021 14:53:03 -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=@gmail.com header.s=20210112 header.b=Ppa4tQ0I; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234431AbhINVwz (ORCPT + 99 others); Tue, 14 Sep 2021 17:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232891AbhINVwy (ORCPT ); Tue, 14 Sep 2021 17:52:54 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02FF6C061574; Tue, 14 Sep 2021 14:51:37 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id d6so511227wrc.11; Tue, 14 Sep 2021 14:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:references:from:subject:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=OPJbwAqXrMsOcJb8XAwTNGK0vR2vI1IDCcn49AAPJO4=; b=Ppa4tQ0IHeC1CBzsb5Q2dWHqx6eT4d6nrNQpswjlK/uQOfT/GzFdJQiXnl2/OIWdXm OkLOtMHuo1Ol8eNByFXSMlheJiyy4oUs19c2Fbs5xbdXZPNRGkwqMWu1SXnnF3/xwe3M v1aM3VvdgTsYjJgD0gcqDTk86wj+uS6+Rd60tc/5ZhyIpgMVIwiEZD0DSZxzOm4GOXxc fltX/85Xw8ScOlpsPiHS0wVC37TL+EnBriY5wtj9zX01CEhDETXV+kDSaIDHentrH0Xl N56QbInFtK3hXWp6iL3sDGFsGkZgpS7mvTqsLztNzIpSUy0dFEHYJPtSQxJcdnlZ6WWa cTQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OPJbwAqXrMsOcJb8XAwTNGK0vR2vI1IDCcn49AAPJO4=; b=R7PRP/RZHg3YDiRmnYXCTU8emC+ExlClBkIPdw3wovioTk3Z5nb6OIfprWxONHcLD3 PEWxbbXtrd6MBaQ+K7TbCDyfkKSh7cKo4IWp9FlafFrKvN2+hULSRhcs9w2I3lQ4ZjQG gyZr++ourSUsthI9KMRdOQGCTpYvbhyILfxjkYtPs7DhOvqbILV87sFsQ0hWeXMBbtyY nas9+TWhpVJsAg4Ow71LWw6mYt9uLJevVA3+Zz5izYZ27oSv0K3iLlxPnomb6aR4LMDM cfe2InT4wR5qB7fsdpLTL0XoX6E5VEpX7o/xGp/bTwbf1iD26++WieTIyD1LlLFok042 5jug== X-Gm-Message-State: AOAM533K/8BlGUwpUsV/ilt5PJ1AX9EoFVFDepV1veqQiecezoQ5Qmyj WpiWfkBz+1qjKPVydZxevWk= X-Received: by 2002:adf:ef48:: with SMTP id c8mr1279748wrp.349.1631656295628; Tue, 14 Sep 2021 14:51:35 -0700 (PDT) Received: from ?IPv6:2003:ea:8f08:4500:452c:df07:20dd:cf7b? (p200300ea8f084500452cdf0720ddcf7b.dip0.t-ipconnect.de. [2003:ea:8f08:4500:452c:df07:20dd:cf7b]) by smtp.googlemail.com with ESMTPSA id w14sm2861964wro.8.2021.09.14.14.51.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Sep 2021 14:51:35 -0700 (PDT) To: Hisashi T Fujinaka , Dave Jones Cc: "linux-pci@vger.kernel.org" , Linux Kernel Mailing List , intel-wired-lan , Bjorn Helgaas References: <20210913141818.GA27911@codemonkey.org.uk> <20210913201519.GA15726@codemonkey.org.uk> <20210913203234.GA6762@codemonkey.org.uk> <367cc748-d411-8cf8-ff95-07715c55e899@gmail.com> <20210914142419.GA32324@codemonkey.org.uk> From: Heiner Kallweit Subject: Re: [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue Message-ID: <80718d5e-a4d2-ff85-aa8f-cd790c951278@gmail.com> Date: Tue, 14 Sep 2021 23:51:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14.09.2021 22:00, Hisashi T Fujinaka wrote: > On Tue, 14 Sep 2021, Dave Jones wrote: > >> On Tue, Sep 14, 2021 at 07:51:22AM +0200, Heiner Kallweit wrote: >> >> > > Sorry to reply from my personal account. If I did it from my work >> > > account I'd be top-posting because of Outlook and that goes over like a >> > > lead balloon. >> > > >> > > Anyway, can you send us a dump of your eeprom using ethtool -e? You can >> > > either send it via a bug on e1000.sourceforge.net or try sending it to >> > > todd.fujinaka@intel.com >> > > >> > > The other thing is I'm wondering is what the subvendor device ID you >> > > have is referring to because it's not in the pci database. Some ODMs >> > > like getting creative with what they put in the NVM. >> > > >> > > Todd Fujinaka (todd.fujinaka@intel.com) >> > >> > Thanks for the prompt reply. Dave, could you please provide the requested >> > information? >> >> sent off-list. >> >>     Dave > > Whoops. I replied from outlook again. > > I have confirmation that this should be a valid image. The VPD is just a > series of 3's. There are changes to preboot header, flash and BAR size, > and as far as I can tell, a nonsense subdevice ID, but this should work. > > What was the original question? > "lspci -vv" complains about an invalid short tag 0x06 and the PCI VPD code resulted in a stall. So it seems the data doesn't have valid VPD format as defined in PCI specification. 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) Subsystem: Device 1dcf:030a ... Capabilities: [e0] Vital Product Data *Unknown small resource type 06, will not decode more.* Not sure which method is used by the driver to get the EEPROM content. For the issue here is relevant what is exposed via PCI VPD. The related kernel error message has been reported few times, e.g. here: https://access.redhat.com/solutions/3001451 Only due to a change in kernel code this became a more prominent issue now. You say that VPD is just a series of 3's. This may explain why kernel and tools complain about an invalid VPD format. VPD misses the tag structure. > Todd Fujinaka