From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24963C48BDF for ; Tue, 15 Jun 2021 14:17:22 +0000 (UTC) Received: from bombadil.infradead.org (unknown [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EC26D61001 for ; Tue, 15 Jun 2021 14:17:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EC26D61001 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xsFhvTUFNqmVzhdZ09o+C5nQFAc46nJfykzkyWQaf+I=; b=HrR9Iql0kHV4GV ZRYao6YAgpjSvi4jZXcrQ50qDq9bF5Zf9LaCwwjfuG2g1akEVAdEAtWPgt7GpwJn6F1f5AgZqYDAf WGcaU9KGUYqenuSwEU3MvqwlZMo3ZMoRiZ78DBB2GfknjoWCmIYNIxIQNTomyy/LhY8McdKv/bBoy zo48OmAEWVIfM1KjLMrxXgmhPid6sNIgZjtqwWSeCMBVh35IRa29rCoCBEsuYQE+nVgLgD897Pb3k kOjPMFjnb6YYt0WX05U/gxUq2BAI9BAE/IbO9rVY8f74EqsTuESOsSxNlpPdHEMJ6vsLNn8NixCUD p7wu9NRdOKs0FjaADNtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt9Bc-000CM9-3o; Tue, 15 Jun 2021 13:33:00 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt9BB-000ByJ-Ue for linux-arm-kernel@bombadil.infradead.org; Tue, 15 Jun 2021 13:32:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=raSKenLNVIY1+d2xXJEUfwFDGLLzTuABH+RshEB7WQI=; b=mr4epOqrswhsqFv5f7XKPgiJYm nfvcnVdipSNQGNkh1azMFndlT9j5lVF5cil7xw3pfFKcI76rBgdtk1cObB5LpRQtEYvK+72JDoKEV PKo7ujUrPXyLHb73MXRmGfMVM6mbIYeWVaNpIW2dItiyk1ntkJSbBxoBUJvHc9PQLLaN9Mz/GpCxN kgQ6C5htx1pI0GIgoPuS8EukhehTs79JXvQOMGMMqhry1ZASUpGQ/4ccJyvUoDBxPKB/o0SAzKUXR b45Ytk6txgJfKKZSe49cWjil2f5farA7Ad0UDnTZ8F/LJB5Z6XuvPheeiGeVKamcfb6s7wNwEmHhj LibqQg5w==; Received: from foss.arm.com ([217.140.110.172]) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt96d-007vTB-Tz for linux-arm-kernel@lists.infradead.org; Tue, 15 Jun 2021 13:28:00 +0000 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 9A82612FC; Tue, 15 Jun 2021 06:27:55 -0700 (PDT) Received: from bogus (unknown [10.57.40.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D4D7D3F719; Tue, 15 Jun 2021 06:27:53 -0700 (PDT) Date: Tue, 15 Jun 2021 14:27:34 +0100 From: Sudeep Holla To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, Lorenzo Pieralisi , Will Deacon , Catalin Marinas , Mark Rutland , Valentin Schneider , Alexandru Elisei , Russell King , kernel-team@android.com Subject: Re: [PATCH v2 3/4] PSCI: Use cpuidle context helpers in psci_cpu_suspend_enter() Message-ID: <20210615132734.ng7mr3iuiinvbaim@bogus> References: <20210615111227.2454465-1-maz@kernel.org> <20210615111227.2454465-4-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210615111227.2454465-4-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210615_142759_011587_0AAC0B63 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 15, 2021 at 12:12:26PM +0100, Marc Zyngier wrote: > The PSCI CPU suspend code isn't aware of the PMR vs DAIF game, > resulting in a system that locks up if entering CPU suspend > with GICv3 pNMI enabled. > > To save the day, teach the suspend code about our new cpuidle > context helpers, which will do everything that's required just > like the usual WFI cpuidle code. > > This fixes my Altra system, which would otherwise lock-up at > boot time when booted with irqchip.gicv3_pseudo_nmi=1. > Reviewed-by: Sudeep Holla -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel