From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BCE26A0553 for ; Mon, 17 Feb 2020 18:46:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B78991DAA7; Mon, 17 Feb 2020 18:46:16 +0100 (CET) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 02F831DAB9 for ; Mon, 17 Feb 2020 18:46:15 +0100 (CET) Received: by mail-wr1-f65.google.com with SMTP id k11so20771564wrd.9 for ; Mon, 17 Feb 2020 09:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZlJT68J388FN6YgrjlgrbdGyOQGRdaVh15+LB2odsVM=; b=O7xhPh8nvKXadjGpBYtTK3BLRGURagMYsXNG1WPq+IScYjmP8527mrNTUS1+4QK8A4 oq+Y1sU4OMd7X/ZUm1obKGcQlbv7EmalUAs+FTKFXmzj/DxWoXWHpS2BGMJe9dQBtpej EgCx2PdHAutyp/wSFZ3ktatVAh0BreSh3y8IdvWdE8n4sPnOMrdnicrJ3RTlwzirL/Nu quEqGDzo0Uncvf3jAvXHoK8M5b2tg9m9gmpKwa63H6bnYvPN8JhObiqrLHQzHeVqEKd+ 5fK9/Yb7eM7nRFdIGrIpiWz/a//cA7HzwmBmJ9GKTUzCX7NSaDPCD0Y+xkrw941fHnQB kICw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZlJT68J388FN6YgrjlgrbdGyOQGRdaVh15+LB2odsVM=; b=HKefwZCZuZwr9B6w88EFgXRgR+Aw1LtQftZyBpDR8ELYsp0QTHUVbqXxhG5JQ3ZNWG N3e6va7u4WohmjwjK90WqU+cWzjRFOFvdyyxv/1ZIuRusvUj2FuqkYsG7lchNeHzbF4g l2ynx6fx9EmYhhkR6k/Zpb5mDScnCo7eiDvd8qBISxt1FrDeRVO7ZZo8VyQBa+5XTbFI gk6f+Gq/VjOuGfjKtAMElvApeE0BoqeD7LOzenwCXj2gyRvaFjotOtVjFXfTeECXGd8I v0/XF9q1PgacQZioB1aCczdT2tff7V7wJpkL80GO7exg1koBl2c+rwlS9/30mbeZ8UP1 Zydg== X-Gm-Message-State: APjAAAVbB6s57gn16oa7pK3LXljB90rGddHTE0/sb+G9HW9Bzy5aTnHR 7NlduA9DiP04J9zVQIXBMFE= X-Google-Smtp-Source: APXvYqyHs698+SvLQNq6hFSB5Zxy8/klesYENDIoQL93vtjIZNuA9NGvpi94opKQgj1mw7coNGRM0Q== X-Received: by 2002:adf:ea48:: with SMTP id j8mr24589991wrn.363.1581961574688; Mon, 17 Feb 2020 09:46:14 -0800 (PST) Received: from localhost (userh634.uk.uudial.com. [194.69.103.7]) by smtp.gmail.com with ESMTPSA id x132sm573882wmg.0.2020.02.17.09.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2020 09:46:14 -0800 (PST) From: luca.boccassi@gmail.com To: David Marchand Cc: dpdk stable Date: Mon, 17 Feb 2020 17:45:07 +0000 Message-Id: <20200217174546.25334-15-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200217174546.25334-1-luca.boccassi@gmail.com> References: <20200211112216.3929-190-luca.boccassi@gmail.com> <20200217174546.25334-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'crypto/ccp: fix queue alignment' has been queued to stable release 19.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/19/20. 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. Thanks. Luca Boccassi --- >From b61416ddb28ac9cf91a251b75657e106fedf4cbc Mon Sep 17 00:00:00 2001 From: David Marchand Date: Fri, 7 Feb 2020 15:06:00 +0100 Subject: [PATCH] crypto/ccp: fix queue alignment [ upstream commit b3bf2367d0edc11cae26572a7b13133840bf2184 ] Caught by compiling with -fno-common. A ____cacheline_aligned symbol can be found in the crypto/ccp driver object files. Looking at this driver source, the ____cacheline_aligned (kernel?) alignment macro is undefined. The compiler treats this as a symbol definition and generates a global symbol. Fixes: ef4b04f87fa6 ("crypto/ccp: support device init") Signed-off-by: David Marchand --- drivers/crypto/ccp/ccp_dev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/ccp/ccp_dev.h b/drivers/crypto/ccp/ccp_dev.h index f4ad9eafd5..37e04218ce 100644 --- a/drivers/crypto/ccp/ccp_dev.h +++ b/drivers/crypto/ccp/ccp_dev.h @@ -220,7 +220,7 @@ struct ccp_queue { /**< lsb assigned for sha ctx */ uint32_t sb_hmac; /**< lsb assigned for hmac ctx */ -} ____cacheline_aligned; +} __rte_cache_aligned; /** * A structure describing a CCP device. -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-17 17:00:15.750834790 +0000 +++ 0015-crypto-ccp-fix-queue-alignment.patch 2020-02-17 17:00:15.283950115 +0000 @@ -1,8 +1,10 @@ -From b3bf2367d0edc11cae26572a7b13133840bf2184 Mon Sep 17 00:00:00 2001 +From b61416ddb28ac9cf91a251b75657e106fedf4cbc Mon Sep 17 00:00:00 2001 From: David Marchand Date: Fri, 7 Feb 2020 15:06:00 +0100 Subject: [PATCH] crypto/ccp: fix queue alignment +[ upstream commit b3bf2367d0edc11cae26572a7b13133840bf2184 ] + Caught by compiling with -fno-common. A ____cacheline_aligned symbol can be found in the crypto/ccp driver object files. @@ -13,7 +15,6 @@ symbol. Fixes: ef4b04f87fa6 ("crypto/ccp: support device init") -Cc: stable@dpdk.org Signed-off-by: David Marchand ---