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 4A6F5455AD for ; Mon, 15 Jul 2024 17:28:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 44B8740B8F; Mon, 15 Jul 2024 17:28:54 +0200 (CEST) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mails.dpdk.org (Postfix) with ESMTP id 6D57240B9F for ; Mon, 15 Jul 2024 17:28:53 +0200 (CEST) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3678f36f154so2661595f8f.2 for ; Mon, 15 Jul 2024 08:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721057333; x=1721662133; 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=GmcrMMTeuMPr6S4UbcChm+zWQQFFKPGQGtmgJsypnws=; b=LPSluA5D4nfJeS0ekyQgL4SDts3drMJpJvHYdbeuDu43BNApbnXIko0yQLW39B5BF4 YrqbmhS94m45GFPESbW4/SANsj1/b8hAp9sa0BMB+ml9nngJ1F0RqvOdYWiKAru/S/k9 himijA0Aa2bbUgYt2dX5LK/OYLBwiIfCLgYr6GkNXEM5s0pST0gJ3msaZh8VnBNsRc1c edRZY/PC2SgjT/yBnEnPOtkSCdzVAs6AHmOBs5GZ2q/b6De19q6Epcqgf9SQeJHsBEJ1 tYeFnGXQWkJqDtVQaw2wRcby7ulmVkw7pOsF9BogcfWlUEerjHkYGCSKr2V4w3Tpj5sK dCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721057333; x=1721662133; 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=GmcrMMTeuMPr6S4UbcChm+zWQQFFKPGQGtmgJsypnws=; b=U1GkWgLSBM0bIJcsZMafZDVJYuydtC8+HYKJ4Z2lYERSn3eInXXFGDXd7eocqrv9FO 1lwCSggsQQegdznevQT9k7tsy4EJDQDaS1H/HA7SRfq2YKOPUsCBM05Uj9fxEwvyVA85 T9xxnkrhtA5HdXv8X7uEmfNAuh5mTZOENNSZzqv+PDZEQR6hHLi/nd+AFLOz2QHF4REB XJ3u4xEAMxAIjJGZozsdXITjw8CnqdxenrgE5h0LOagM/QqORcCWB5Fh+0Qq0+KKrYA7 gv19tDe4vEdVpc8bsC444YWWiZ0WcN5+1PtTNcpiDb7Gylt7Xpqar2WhhU0wngDGHTAU pnxg== X-Forwarded-Encrypted: i=1; AJvYcCX10Of8keJXJZpuuVHhCS+JaKXhnrLKcDb2NU1thgBJxEZe/1990U1H5s9N2JzRfxHn4/uBhMAIxpk694hCtPU= X-Gm-Message-State: AOJu0Yyd4NsVIL2ScKpIhMIdQSseUeu9MkRC4uOQSG6zwF8LoY7zmWf+ j6fkfzuP6pmMUdF3gLpKsbiyqaswXBDlAM3vhLtQL6HxeQwsIvuWF5xx//vC X-Google-Smtp-Source: AGHT+IEqXzX+2WfTNnehHJ1m4qntaC+W7W24BWaBHRShrk2ngX4Wr7VxfuR64FSWB8MtsK5ryRqY9g== X-Received: by 2002:a5d:424a:0:b0:367:f054:7a94 with SMTP id ffacd0b85a97d-36824080376mr70014f8f.5.1721057333091; Mon, 15 Jul 2024 08:28:53 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:7aef:1aaa:3dff:d546]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3680db0492asm6682655f8f.103.2024.07.15.08.28.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 08:28:52 -0700 (PDT) From: luca.boccassi@gmail.com To: Gagandeep Singh Cc: Vanshika Shukla , dpdk stable Subject: patch 'bus/dpaa: fix bus scan for DMA devices' has been queued to stable release 22.11.6 Date: Mon, 15 Jul 2024 16:26:13 +0100 Message-Id: <20240715152704.2229503-35-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240715152704.2229503-1-luca.boccassi@gmail.com> References: <20240624235907.885628-81-luca.boccassi@gmail.com> <20240715152704.2229503-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 22.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/17/24. 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/b82122e2ab8e7baf6516e68a917399107d333b48 Thanks. Luca Boccassi --- >From b82122e2ab8e7baf6516e68a917399107d333b48 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Wed, 10 Jul 2024 14:25:27 +0530 Subject: [PATCH] bus/dpaa: fix bus scan for DMA devices [ upstream commit bf62ec7f0c99e861b65f550191b98377ac9dd2f9 ] If there is no sec device available, code is not scanning QDMA dev. This patch fixes this problem by adding a goto statement instead of return in case no sec device available. Fixes: 583f3732974f ("dma/dpaa: introduce DPAA DMA driver skeleton") Signed-off-by: Gagandeep Singh Signed-off-by: Vanshika Shukla --- drivers/bus/dpaa/dpaa_bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c index a67f5c9ab5..0823553398 100644 --- a/drivers/bus/dpaa/dpaa_bus.c +++ b/drivers/bus/dpaa/dpaa_bus.c @@ -220,7 +220,7 @@ dpaa_create_device_list(void) if (dpaa_sec_available()) { DPAA_BUS_LOG(INFO, "DPAA SEC devices are not available"); - return 0; + goto qdma_dpaa; } /* Creating SEC Devices */ @@ -259,6 +259,7 @@ dpaa_create_device_list(void) rte_dpaa_bus.device_count += i; +qdma_dpaa: /* Creating QDMA Device */ for (i = 0; i < RTE_DPAA_QDMA_DEVICES; i++) { dev = calloc(1, sizeof(struct rte_dpaa_device)); -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-07-15 16:19:36.449684955 +0100 +++ 0035-bus-dpaa-fix-bus-scan-for-DMA-devices.patch 2024-07-15 16:19:34.532205695 +0100 @@ -1 +1 @@ -From bf62ec7f0c99e861b65f550191b98377ac9dd2f9 Mon Sep 17 00:00:00 2001 +From b82122e2ab8e7baf6516e68a917399107d333b48 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit bf62ec7f0c99e861b65f550191b98377ac9dd2f9 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 64b748626b..b8f41ec069 100644 +index a67f5c9ab5..0823553398 100644 @@ -23 +24 @@ -@@ -221,7 +221,7 @@ dpaa_create_device_list(void) +@@ -220,7 +220,7 @@ dpaa_create_device_list(void) @@ -32 +33 @@ -@@ -260,6 +260,7 @@ dpaa_create_device_list(void) +@@ -259,6 +259,7 @@ dpaa_create_device_list(void)