From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E735E431A0 for ; Thu, 19 Oct 2023 02:00:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E115740A8B; Thu, 19 Oct 2023 02:00:46 +0200 (CEST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mails.dpdk.org (Postfix) with ESMTP id 8EC8D40291 for ; Thu, 19 Oct 2023 02:00:45 +0200 (CEST) Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2c515527310so65425981fa.2 for ; Wed, 18 Oct 2023 17:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697673645; x=1698278445; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ja4d3n2jwAIv9jmJxyHR97RnDj6iumP5Y6CNbM+H07s=; b=gnXjzcwFRw5EVeKH4W0qMFrnUS84ab4yrWjanaC0JKtviljRaUMc04ifpFfLq+6MSE b/uRM2/WPGN1WUYjQqFLTVPN614FEgGqyRow1bylxGS0Kx0Zq6WRdZHuYn56FdF+rdoO quP2WTngyGxO7u3lNuC4mJW/94ivL3u/X8Eqq6HLfWLGTIfciGwaZxbf307K3l3JDS6O WnGtu+WWmPy5UaavouzwByyNB1hpBf8opGP1zpf36jlkGBUQsD8oZIAYYrzPkbXfnpAa PeV+UasTfrPRC7iaGcnEC425GTO5LFHGk4vhdIJBdVakPvURZoYlIRddQT+POIqmejz7 qmOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697673645; x=1698278445; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ja4d3n2jwAIv9jmJxyHR97RnDj6iumP5Y6CNbM+H07s=; b=WJlpMncuzKnDhWZo+mCipuRizJ0Nt08eXHRh5Fsr6XDH61zL5RLWIxyMyLBOyw3nrx OfqmGpmG9LoVPfAR+fghWZRYdlBT+RqABywrIooy0N8MrG9bNY8HuzTWozQCqN683ZEM 6PYZR506ES9MUy/xuM7Ldmnw7+RwYDcoO6bg9gg0xjwBod8nfq6a+KMYccGElqnb/ZeU B5qB65JIoW0/ZifFW0r/kPg7olzWbCI85WMkvL2UzAItqQzL83AXT6P9UsKg3Ep0fIHB 03e4z/icF8YahXfm3UqgMkg/aknvNzfhOg7hqyzMfWJgJ4kvYtxW1bb7ZF9KSfWYEO57 I1ZQ== X-Gm-Message-State: AOJu0YxRDbd3NsEJVHNcDlXgMRn3/BKo2Qo2a+kNa5udY6iEfgmxofFF IRfyhsY3hef4mX/CgpeizGY= X-Google-Smtp-Source: AGHT+IGYq80T2O4owbgLeL/AVvtDktjkv0GPHYC4AJPTTHmFp0EZTJmGJ+qGRTkX350Pk6ykJZv65g== X-Received: by 2002:a2e:2e10:0:b0:2c1:8a24:7afb with SMTP id u16-20020a2e2e10000000b002c18a247afbmr284278lju.7.1697673644929; Wed, 18 Oct 2023 17:00:44 -0700 (PDT) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id g14-20020a05600c310e00b0040813e14b49sm2913428wmo.30.2023.10.18.17.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 17:00:44 -0700 (PDT) From: luca.boccassi@gmail.com To: Qiming Yang Cc: dpdk stable Subject: patch 'bus/pci: fix device ID log' has been queued to stable release 20.11.10 Date: Thu, 19 Oct 2023 00:59:13 +0100 Message-Id: <20231018235930.3144-24-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231018235930.3144-1-luca.boccassi@gmail.com> References: <20231018235930.3144-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/21/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/106aa13dce8ae3ecfdc02e4903576941a930f691 Thanks. Luca Boccassi --- >From 106aa13dce8ae3ecfdc02e4903576941a930f691 Mon Sep 17 00:00:00 2001 From: Qiming Yang Date: Wed, 13 Sep 2023 08:23:33 +0000 Subject: [PATCH] bus/pci: fix device ID log [ upstream commit 5019f6c856fbd9663dd83465c11be423c3424e94 ] This patch fixes the issue where device ID first 0 does not print. Fixes: e4f27af0f448 ("bus/pci: reduce boot-up logs to absolute minimum") Signed-off-by: Qiming Yang --- drivers/bus/pci/pci_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/pci/pci_common.c b/drivers/bus/pci/pci_common.c index fa887de11b..12b4b420f6 100644 --- a/drivers/bus/pci/pci_common.c +++ b/drivers/bus/pci/pci_common.c @@ -238,7 +238,7 @@ rte_pci_probe_one_driver(struct rte_pci_driver *dr, } } - RTE_LOG(INFO, EAL, "Probe PCI driver: %s (%x:%x) device: "PCI_PRI_FMT" (socket %i)\n", + RTE_LOG(INFO, EAL, "Probe PCI driver: %s (%x:%04x) device: "PCI_PRI_FMT" (socket %i)\n", dr->driver.name, dev->id.vendor_id, dev->id.device_id, loc->domain, loc->bus, loc->devid, loc->function, dev->device.numa_node); -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-10-19 00:28:57.459092738 +0100 +++ 0024-bus-pci-fix-device-ID-log.patch 2023-10-19 00:28:56.265805790 +0100 @@ -1 +1 @@ -From 5019f6c856fbd9663dd83465c11be423c3424e94 Mon Sep 17 00:00:00 2001 +From 106aa13dce8ae3ecfdc02e4903576941a930f691 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5019f6c856fbd9663dd83465c11be423c3424e94 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ -index f149963364..921d957bf6 100644 +index fa887de11b..12b4b420f6 100644 @@ -20 +21 @@ -@@ -304,7 +304,7 @@ rte_pci_probe_one_driver(struct rte_pci_driver *dr, +@@ -238,7 +238,7 @@ rte_pci_probe_one_driver(struct rte_pci_driver *dr,