Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1535774ybl; Wed, 28 Aug 2019 16:40:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIL0DPw3CHg5krDFpmo2LbFnPs1K8Aqdh+T6HaKEVTU1Qpm5T2VulswULVVi/nV5MXDXOC X-Received: by 2002:a63:7205:: with SMTP id n5mr5596571pgc.443.1567035612006; Wed, 28 Aug 2019 16:40:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567035611; cv=none; d=google.com; s=arc-20160816; b=bgAKwgoFGJtOdEGQ1A+9yRlO7wbkhSD+wNv1zbycO7rMIV0IkSH/yOKScXCb66ceFR JEhuV0cszvSgG011+cjpx8ZygBN2FJXWyLO1GXwGMG+KJRPRDUw4G2d6W3kSegfef/Hw qg/gSbRP4P72Y2ZQrEVWMB1MZfyl/kHXHpfUPOMVO6Hu3UgWqGkzFgLIHmSDxPM6SL3v ZdlMtE0EaetGVG4Cxhm+XLQgbNp9QS+GdZAwP28dT1gBH1eZcDq8Sx1ZYkAg6bl6KqyN zThX0N6OgspCWN/OOfRu+F4dN46Xod4mKKnMzLjql29InHYv7wXPw3gJPc5s5XAZVIpM NNWQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=GhdPiCSY9MkVGCnGCBcOj7hNHDN3GuDPlSlaUmyDeaA=; b=khaTeU2XXiejs5VPuckYJnWaZaILcvYsggigU6Onc/aGNJW0Q6plF013rlOELyZkmI 7wAq08JR0fFXHQK2J8VGdhn2LrCYQA1FJniWVARfggYJp0C3loggP9esYLIvTM1o/sZF aunkwz62pWX65o62ajBX+tiCK2laVMsvv8U79rMdPcE6YwlSM6CVpJB9hMjDkEJnfE2t vuwD6P5ZwirdumNQGWOWmSgh9GwY1jXOdr8mb2ever+UiWmoZBEyRtAfKn6K8E87e/U3 dk+4LXbGhJ5v4tL3UFeb+3Idje3R11MpaMD4dCmJwKX+w/xe1pCl7Vg35+VggNnZd/ZV dbkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=mrdP4VYF; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si346805plv.180.2019.08.28.16.39.49; Wed, 28 Aug 2019 16:40:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=@oracle.com header.s=corp-2019-08-05 header.b=mrdP4VYF; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726928AbfH1XjA (ORCPT + 99 others); Wed, 28 Aug 2019 19:39:00 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:44904 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726926AbfH1XjA (ORCPT ); Wed, 28 Aug 2019 19:39:00 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7SNYPiU177339; Wed, 28 Aug 2019 23:38:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=corp-2019-08-05; bh=GhdPiCSY9MkVGCnGCBcOj7hNHDN3GuDPlSlaUmyDeaA=; b=mrdP4VYFIrZ7wKh/BPHh4lSBwfF2lL+RgLlZ49TRtLNel2CxpcCIR6W4ZPcm2UzX6M92 aMTm1hTbtLxcfUfjeyco8ePZ3R9+badhp/75jqHFYX92PFRlnLp3XT4WU0Af5VHre3cq J1sqJZXrqZuqm93cxB3IK6GjwckSemYKyv817WehRTrfo3Pw3+3SCQA4I5qyuHv0y4cM gMvWjqwFiuvpdQxmag3tWZ99Ap1XcEpAz87FbFQt0D4I8IG30OwaDaPWyiiphWryvcUx u+od6gxEfxLmyy77eW/PhdhsPTJmQE7A2VyJqp9x4uVzS10pqMVRPFUEZ2TuVRiLmABu 8g== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 2up3d5g0g5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Aug 2019 23:38:41 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7SMEVCV043222; Wed, 28 Aug 2019 22:16:31 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 2undw7xt84-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Aug 2019 22:16:31 +0000 Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x7SMGUwp010166; Wed, 28 Aug 2019 22:16:30 GMT Received: from zissou.us.oracle.com (/10.152.34.58) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 28 Aug 2019 15:16:29 -0700 From: Daniel Jordan To: Herbert Xu , Steffen Klassert Cc: Sebastian Andrzej Siewior , Thomas Gleixner , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Jordan Subject: [PATCH v2 0/5] padata flushing and CPU hotplug fixes Date: Wed, 28 Aug 2019 18:14:20 -0400 Message-Id: <20190828221425.22701-1-daniel.m.jordan@oracle.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9363 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908280214 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9363 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908280219 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi, Here are some miscellaneous padata fixes, mostly to do with CPU hotplug. This time around there's a new hotplug state to make the CPU remove path cleaner, and the CC list grew a bit. Daniel v2: - patches 1-3 are new; 4-5 have changed since v1[*] - attempted to fix padata flushing as requested (Herbert) - changed hotplug state in which __padata_remove_cpu() is called (Herbert) - purged cpumask_clear_cpu() calls from same function (Herbert) - dropped v1's patch 3/2 (Herbert) - after more thought, left the Fixes: tag on the last patch the same testing: - testcase was tcrypt mode=215 sec=1 throughout - ran all cpumask combos among parallel cpumasks, serial cpumasks, and CPU hotplug in a 3-CPU VM - lockdep to check patch 4 - tested at each patch in this set with and without CONFIG_CRYPTO_PCRYPT Series based on recent mainline plus all padata patches in cryptodev: git://oss.oracle.com/git/linux-dmjordan.git padata-cpuhp-v2 [*] https://lore.kernel.org/linux-crypto/20190809192857.26585-1-daniel.m.jordan@oracle.com/ Daniel Jordan (5): padata: make flushing work with async users padata: remove reorder_objects padata: get rid of padata_remove_cpu() for real padata: always acquire cpu_hotplug_lock before pinst->lock padata: validate cpumask without removed CPU during offline Documentation/padata.txt | 18 ++------ include/linux/cpuhotplug.h | 1 + include/linux/padata.h | 5 +- kernel/padata.c | 95 +++++++++++--------------------------- 4 files changed, 36 insertions(+), 83 deletions(-) base-commit: d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1 prerequisite-patch-id: a5bfed8ea60d5a784b8b3e21ccb5657ced2aa1e3 prerequisite-patch-id: 96d53aecccb5af242ba5ee342d75810ecd9bfb84 prerequisite-patch-id: 965d8a63c1461f00219aec2d817f2ca85d49cfb3 prerequisite-patch-id: 8e6c2988331b46c9467ac568157c6c575cbe6578 -- 2.23.0