Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9938373ybi; Wed, 24 Jul 2019 12:40:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnuNQ/ZzULeAqQZuzCZMLDKzsblbzSWe1Vs6d9w+jlBftNZMubndIhmv4h7n9+4H67FLcC X-Received: by 2002:a17:902:848b:: with SMTP id c11mr86862622plo.217.1563997244420; Wed, 24 Jul 2019 12:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563997244; cv=none; d=google.com; s=arc-20160816; b=WJaQhPpqUST3/VvwD0Adm0jVwc5TBCt+eJ0qGBzJxkVeT+BMLHEwOviw9OLQ8bqdia 6/e6VTbZd//hO8o9HF4oxU08/akDyRraj8Zax4qRidXmN/83TFXXtOBiSVDBHsmBr2CJ xvxlT/nnpzG+rDUGjgGhedGZJ4suttTXBkZY88NTgCapZfzZ6741vfPxot7z1eHV/btr 1gEA/YWgo575tLhact+LKCmWzvv8wC0teNJqL3/IYOR9snsuBx7qIprAefoiSvTKc42H SumYGO/0dNotcV5saDRuQD01voIpDIeQUGyXhQ6GONBS0Ne6Dklaxk/LoEnmP0zSpeBZ mI1g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZGkXCjkJmUXXsGCnGqfvivDHfUJnScJQnuKu0FlAnDs=; b=QTkCf946QFbS20j6XAfgPsjRtebkPu94xahJqxh4xC/06un4w2XJN27KQSSxnFw3Nu +N1zBu2/tQRlI1RhMR0rdOE5BCycNrJkM7xjI0g9Kv8vn5mxVDmgJ6H/+HbZA5llyA5a BxkR7MqT6oWbYWtLjtcc9ic7eS60bYBlbl2IW5epKGj74mltnhY5OqPRumMQdQU22EqY tWE8ClPtD92OxkzIRhz9i41voZxJfR46C3A1Fx4+v829QlBHZ5dVbbONuFiHa+1AmCrc cj4tIHbV4rjRRFDdTFhtPedRyxslmVlPMBDj127ho+0FaO/BB89SUuMfG1zSJpmzdI9C MrsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o4uXz3LO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v61si12882770plb.191.2019.07.24.12.40.29; Wed, 24 Jul 2019 12:40:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@kernel.org header.s=default header.b=o4uXz3LO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389883AbfGXTjQ (ORCPT + 99 others); Wed, 24 Jul 2019 15:39:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:40188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389419AbfGXTjO (ORCPT ); Wed, 24 Jul 2019 15:39:14 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DE7B322ADA; Wed, 24 Jul 2019 19:39:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563997153; bh=FQ1efTMIR9YJ2eou7CCmelxBInYOQMC+ETv6l+wCXSs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o4uXz3LORYVcYZySF0NtXt2JAzqVZie656zmz8dAqmkq97OVhqPKYa7mzmFPrjUSH CrG3KBbisXCq33dNSPlMdYhfILeZVmFEbL5IpegtaFMo/uh33D/6InrvxbE7mJ1gD6 +Vl7KK1i29NDlAchs9ajPtN6shoD5m7gW/bcUrBA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marc Zyngier , Will Deacon , Mark Rutland , Julien Thierry , Catalin Marinas Subject: [PATCH 5.2 337/413] arm64: irqflags: Add condition flags to inline asm clobber list Date: Wed, 24 Jul 2019 21:20:28 +0200 Message-Id: <20190724191759.928890805@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191735.096702571@linuxfoundation.org> References: <20190724191735.096702571@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Julien Thierry commit f57065782f245ca96f1472209a485073bbc11247 upstream. Some of the inline assembly instruction use the condition flags and need to include "cc" in the clobber list. Fixes: 4a503217ce37 ("arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking") Cc: # 5.1.x- Suggested-by: Marc Zyngier Cc: Will Deacon Reviewed-by: Marc Zyngier Acked-by: Mark Rutland Signed-off-by: Julien Thierry Signed-off-by: Catalin Marinas Signed-off-by: Greg Kroah-Hartman --- arch/arm64/include/asm/irqflags.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm64/include/asm/irqflags.h +++ b/arch/arm64/include/asm/irqflags.h @@ -81,7 +81,7 @@ static inline unsigned long arch_local_s ARM64_HAS_IRQ_PRIO_MASKING) : "=&r" (flags), "+r" (daif_bits) : "r" ((unsigned long) GIC_PRIO_IRQOFF) - : "memory"); + : "cc", "memory"); return flags; } @@ -125,7 +125,7 @@ static inline int arch_irqs_disabled_fla ARM64_HAS_IRQ_PRIO_MASKING) : "=&r" (res) : "r" ((int) flags) - : "memory"); + : "cc", "memory"); return res; }