Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2424220pxb; Mon, 11 Jan 2021 09:15:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1OnaG7blTUKMCgx+pvBkJPDjHX7WL+hPiPYXPI1SRcBgL9jgFm8oANQVHmjzsEYb1az8p X-Received: by 2002:a50:fd18:: with SMTP id i24mr317225eds.146.1610385350099; Mon, 11 Jan 2021 09:15:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610385350; cv=none; d=google.com; s=arc-20160816; b=yDm0XexE+OlM6vrCLMFb/oZuRaHPZ3e7hpt8B0317iFN6wIP3j3S4b/UK355WUqGd4 714CmpBajm2BiH1BCoIu4F0scorm2s+lQ94Q/flLm+owK8xoP+j6gTwAG02Sn407gBxW fH0y17TG+aazpBIVKV2bB1TZ+U9ia1uGTBttPC1WGkLrw6k1lxJSKJ86Ezm8t4VtkDDv CKx3UfmXJlqdfQj7Co86KmfRMP05tTHkDfrX22PI1pDjPVxXBD1lYqmz0Jwy87Nby2+K fbv7kYNQFI7E9O6y8lhVgE7T+mj7HQ4gLFZdpcBkkWjwIGUjO0HImne2Dvm71XPb5Qyn XcFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=MdWBdcaRvgpprWv/LjrrXmnv8kJvHGeCCxxtgwRdlXo=; b=GWPwC1SHt6Ng4UahLph9Me+0zx1d3rL/u4BKvsj7Ryr9bxHij+1eyzC/RJYWbwE03x bLWig33YLyLvMXIe0nlZv3ZNz+uGlq9ISxenYv5aAgJ21/NbXil9wmxgUCzlY2rPqnAc yhPrV2gUcrvRnoz36sR4Iw/oQIMvlRswidCrUq+6Fe0VL5O3M4OXWQ8st2Rrrd3mkNVC IJ2Ci1AcVCHm3pYHv9BH2XtZZ91sV6Z29Hvfw9LMHw5lvJygnROZUGCkzHY7qLiCbREA dpezBOHTU7sH/8Z0EXkA8SJ6Z8q7IXwX6g7Q/zEvINzOwkS9S/WSowtnkfsVW9KGsjdd kIwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si159875edr.271.2021.01.11.09.15.26; Mon, 11 Jan 2021 09:15:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389169AbhAKRMT (ORCPT + 99 others); Mon, 11 Jan 2021 12:12:19 -0500 Received: from foss.arm.com ([217.140.110.172]:33198 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730342AbhAKRMS (ORCPT ); Mon, 11 Jan 2021 12:12:18 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0ADC1101E; Mon, 11 Jan 2021 09:11:33 -0800 (PST) Received: from e120877-lin.cambridge.arm.com (e120877-lin.cambridge.arm.com [10.1.194.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 37CB43F70D; Mon, 11 Jan 2021 09:11:32 -0800 (PST) From: vincent.donnefort@arm.com To: peterz@infradead.org, tglx@linutronix.de, linux-kernel@vger.kernel.org Cc: valentin.schneider@arm.com, Vincent Donnefort Subject: [PATCH 0/4] cpu/hotplug: rollback and "fail" interface fixes Date: Mon, 11 Jan 2021 17:10:43 +0000 Message-Id: <1610385047-92151-1-git-send-email-vincent.donnefort@arm.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vincent Donnefort This patch-set intends mainly to fix HP rollback, which is currently broken, due to an inconsistent "state" usage and an issue with CPUHP_AP_ONLINE_IDLE. It also improves the "fail" interface, which can now be reset and will reject CPUHP_BRINGUP_CPU, a step that can't always fail. Vincent Donnefort (4): cpu/hotplug: Allowing to reset fail injection cpu/hotplug: CPUHP_BRINGUP_CPU exception in fail injection cpu/hotplug: Add cpuhp_invoke_callback_range() cpu/hotplug: Fix CPU down rollback kernel/cpu.c | 173 +++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 110 insertions(+), 63 deletions(-) -- 2.7.4