Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4022717imm; Mon, 17 Sep 2018 07:04:06 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda8297X4mm8UfJ8ms7QgzgLcheij7kCnb/4sIj1F+7JG/zeF0zZgePP418PiaXIaKq1T9HG X-Received: by 2002:a63:db15:: with SMTP id e21-v6mr23798156pgg.418.1537193046362; Mon, 17 Sep 2018 07:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537193046; cv=none; d=google.com; s=arc-20160816; b=ebNvtDUdvgysKdLKMWLpXt898bB0o7rr2bn5ELDgHgE3jFNe1oXhzYUXD8G5spAYr0 KOUx5zkU5KgJkbCQHJDNVVGa9gmH+9PlA5Vq/3zju0Utsyd0FAu4PeQLp3WViYrosEV7 Jq7eAS6jXYc/tH50nJpLVCnaq/SZPzMl9SDyzVz1ENyirOtX17LF3B/cxbyCEtLiZYqH oILwY54wHYtWAUy6p7C73zAK/haYctgDmd7Zv3b69wwsahOLQG003mNtplTh3oR6breV u4XOoqyVN5/oSrfCfZtHmllCwDzTYLpnRLKbPgolaGJWe59te5eOnAG3bUdAkqbG0dmr nJyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=uIX2Rh3UCaUYz7ZnRqJgXFg1q8v1cg2ZU7VeA1RFUbk=; b=gBmJO7jpyhZ5mnfyj7N4/MU/RulnNnAaKnrYHywXNpEOS2cN75OBdm/Wc81bHc6aqb qBC3/lIw2Vq6if0ihzkZLXdWZa4d9PBHxcllVs8C3AJl08j0QyejZdOZT4Rj2FYNs0i5 o2yMX17m2X7hTsCfhGuITkcCOtEZWED37yU3Am2D92pUOF2ImGQ98t6X0uisFQ7niN/G yoqJEYLca2kff4O48EGFWNlVXLskSWBx7fFCdu5y+FSkmcKJ6lyFgoJC3jfFGRHTLDtL YU27EEwIZkl1fG4wOIE7igsL5AfsF3bGeQdwptxokFUnrAL9v5EexyYIV0zbGRk9DCJ4 9Hxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=WtpHWIvT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j8-v6si14654035plk.196.2018.09.17.07.03.34; Mon, 17 Sep 2018 07:04:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=WtpHWIvT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728380AbeIQTaw (ORCPT + 99 others); Mon, 17 Sep 2018 15:30:52 -0400 Received: from mail-qt0-f176.google.com ([209.85.216.176]:33258 "EHLO mail-qt0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727052AbeIQTaw (ORCPT ); Mon, 17 Sep 2018 15:30:52 -0400 Received: by mail-qt0-f176.google.com with SMTP id r37-v6so15368925qtc.0 for ; Mon, 17 Sep 2018 07:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=uIX2Rh3UCaUYz7ZnRqJgXFg1q8v1cg2ZU7VeA1RFUbk=; b=WtpHWIvT9xupj0e0R4baBZ6qQo6YZxa2/a85Xxuyvru1ZYFOuDlq8+OHMxbsG4uj8o QXq3HPVxenk0q9EPpDfGxbWT4raWshNTJRu6A1zy5Bsw69ITw/sk3LYQvwWe5SaWYcmC R5GCb7/uPO/2vfIQapvpQJMDOrIQLPLyqqhFSjrGuqKlmVW3/PfabQOQXRUkcG3B4ND0 HGdbEzrw5uDC2Aef5rsPYMiVwRGwwwOW6mmZHqTG0FWgRrNhAZ/1KsxUOQEsyaf88vl6 HfJce/uJ2Hi3r3dPIqabcn1VmGfz8yfiTGVe3wJ+L7uzoo0rLubUjy/oaviaWkR1+Ic0 funA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=uIX2Rh3UCaUYz7ZnRqJgXFg1q8v1cg2ZU7VeA1RFUbk=; b=C4ii1EUEBnUu7WYuJiuC3JdsXD8s4iAGpCWoA7GI4fXsPNmugO1LTth8FXiUgiYdkP LkPNIki/UseVngXCgcoR2uTzvYwbb3CiSjjv6yUUBVUwmt6Rc7N6CgAwwgQsLoTcUza+ kA9D6N4w8Ar1wvndUnQL7tZZctakM9PjfZRKX4Kb/ulht+MwQ+nr96TbGY+HKsZ4mbND UvcCiRshNu2tyqWa81HYgwfTVUefZHPDtfhtp37ZFnXLqZSIr/V1piWzpmLELsIhOcvx Cb1T6euY/tlqLfs3qDsQDsUBkndIrJ8UeC9iPwdi856AG+hnVbEhgVCwNIuxt3bIfPFk DHUQ== X-Gm-Message-State: APzg51Dj0LSLr1yH1Qo/smzj8VEOOsW/X2kEZpW7cnHW3hzShl+N2AoY Uxx7/xB3+5HBSWRE9J9uGazXMg== X-Received: by 2002:a0c:c38e:: with SMTP id o14-v6mr17821829qvi.36.1537193001990; Mon, 17 Sep 2018 07:03:21 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id u184-v6sm8936141qkc.87.2018.09.17.07.03.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Sep 2018 07:03:21 -0700 (PDT) Date: Mon, 17 Sep 2018 07:03:17 -0700 From: Jakub Kicinski To: Sasha Levin Cc: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "David S . Miller" Subject: Re: [PATCH AUTOSEL 4.14 52/87] nfp: fail probe if serial or interface id is missing Message-ID: <20180917070317.19c09e88@cakuba.netronome.com> In-Reply-To: <20180917030220.245686-52-alexander.levin@microsoft.com> References: <20180917030220.245686-1-alexander.levin@microsoft.com> <20180917030220.245686-52-alexander.levin@microsoft.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Sep 2018 03:02:55 +0000, Sasha Levin wrote: > From: Jakub Kicinski > > [ Upstream commit 18aa5b180f00a10c2f63944b4f0ab116bf8ea19b ] > > On some platforms with broken ACPI tables we may not have access > to the Serial Number PCIe capability. This capability is crucial > for us for switchdev operation as we use serial number as switch ID, > and for communication with management FW where interface ID is used. > > If we can't determine the Serial Number we have to fail device probe. > > Signed-off-by: Jakub Kicinski > Signed-off-by: David S. Miller > Signed-off-by: Sasha Levin If the problem occurs the driver would usually fail to probe anyway (e.g. due to missing SR-IOV capability), just without providing any clear message why. So the patch is not of huge importance, but I'm not opposed to back porting it. I should've put this info in the commit message, my bad.