Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2719511imm; Wed, 3 Oct 2018 08:11:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Ehom9qIoTWNZiRiYxdvc0OCNdnUtfhxqG+twAXCg9ZunPe4yATIUZ56N6NspcuWCzYF08 X-Received: by 2002:a63:1b61:: with SMTP id b33-v6mr1530871pgm.303.1538579460183; Wed, 03 Oct 2018 08:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538579460; cv=none; d=google.com; s=arc-20160816; b=BdkT78mYztGQhQcyLd4ffykYfJyR855whbn/zNTYv9xKNBqbXy2ei4mn1X0XxBcKL/ E9c+rPwcJ2+3AQfOIiaUO7uaxYze4ZvtbcHuy/xqIzIEtxYYdGFJvfBAiWGNqnocs7QS eyFfAJdnB0N6LglxI+Ly7USunO5iRyehuapbmbbHCiTRxS4Vjk6x5iIca7XGnlOaTkmb MQ/83o92XMdZ3/jKOqfOUDHyDMqBNUJPAn6lxsfvZiA+2WBVHpn2BC18HoapPvnxfB4D DZC4Ff+TbG9UjuSWal1KogT1qMSY77RDZlY9/YJFAhpt5GSz4w0hkUJ0sFy/uk3E86nF djkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GFP/IrejA8nB13l3v1Ox/ZXOX5B6PVUoThjPuKGHIlA=; b=Knp0P0Q/JDYZIISK9m6v4qz+spZbcZrhO6KUOx4ZONu0kkJIbkMFNXZ7W6lsK7fhEK wP94U3bDbLjz841rX2gvf4KalYb0pH2Ur+YDbYugstuvMcb8HR9VEr5ezvZa+QN3X5F/ nvsnQrIAvKgt7qlPrdmCDEB9ZgyexcGry8nosGmgdmnCcnwsqaskOlYVWQku62/d7i+p t98bF4MsZiGqVK24wfNLugeLz+B5orCMkwrBILhDJWnM4ujZ0nkvQ2w09kgZOBcv3YZ3 K6BCIUws9ANPbifOYwSQi810SgAXfTPX+i9EjEXFfJvFuaVdXH2R/TGxFD2NOkb/IaHA n2Fw== ARC-Authentication-Results: i=1; mx.google.com; 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 n62-v6si1859598pfg.127.2018.10.03.08.10.45; Wed, 03 Oct 2018 08:11:00 -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; 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 S1727132AbeJCV6C (ORCPT + 99 others); Wed, 3 Oct 2018 17:58:02 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:52684 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726797AbeJCV6C (ORCPT ); Wed, 3 Oct 2018 17:58:02 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D0D327A9; Wed, 3 Oct 2018 08:09:14 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.emea.arm.com [10.4.12.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E740E3F5A0; Wed, 3 Oct 2018 08:09:12 -0700 (PDT) Date: Wed, 3 Oct 2018 16:09:10 +0100 From: Catalin Marinas To: Julien Thierry Cc: linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com, daniel.thompson@linaro.org, marc.zyngier@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, christoffer.dall@arm.com, james.morse@arm.com, joel@joelfernandes.org Subject: Re: [PATCH v5 04/27] arm64: daifflags: Use irqflags functions for daifflags Message-ID: <20181003150909.GD12998@arrakis.emea.arm.com> References: <1535471497-38854-1-git-send-email-julien.thierry@arm.com> <1535471497-38854-5-git-send-email-julien.thierry@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1535471497-38854-5-git-send-email-julien.thierry@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 28, 2018 at 04:51:14PM +0100, Julien Thierry wrote: > Some of the work done in daifflags save/restore is already provided > by irqflags functions. Daifflags should always be a superset of irqflags > (it handles irq status + status of other flags). Modifying behaviour of > irqflags should alter the behaviour of daifflags. > > Use irqflags_save/restore functions for the corresponding daifflags > operation. > > Signed-off-by: Julien Thierry > Cc: Catalin Marinas > Cc: Will Deacon > Cc: James Morse Queued for 4.20. Thanks. -- Catalin