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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9CE98C48260 for ; Thu, 8 Feb 2024 11:41:07 +0000 (UTC) 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=SDk6Y1xytqQVXkKKbETnB+/gG6oFG96tUedST9XlU/w=; b=U/O9vNePZEoo8Z xMJWKUZLie5I2xzU4vT/82wR71mPvI8+CnnEtsHeC+5CpWdP5YRjcIx2i+nb2IfIXD1vJOer0nBi8 mYHqpoINsFoAS2gJaLjQifjsrQi05nC8PnkkO6O1tLntID5kCfeCgU297sxr0laHwke/ennwS4Y9V onYqD9Rkj0dAUiAauzGy2VGoFOzts+9RKiK32UM40UYWOo1GxtRCxy3dZERP7IA9WalSg28Lu9FKY GsAHark/ct0UeJXTkfNkTenWpeGxE0MoBnqMbtTlRiqmXuK2UpGWpvBJtSZnT/vLupPQ6kerUQjkB sb1fyZSty6QoibsSfwkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY2lx-0000000DbZb-0zMe; Thu, 08 Feb 2024 11:40:53 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY2lt-0000000DbYn-39Zc for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 11:40:50 +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 9629D1FB; Thu, 8 Feb 2024 03:41:25 -0800 (PST) Received: from arm.com (RQ4T19M611.cambridge.arm.com [10.1.31.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 25F3B3F762; Thu, 8 Feb 2024 03:40:42 -0800 (PST) Date: Thu, 8 Feb 2024 11:40:39 +0000 From: Catalin Marinas To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Will Deacon , Mark Rutland , Suzuki K Poulose , Ard Biesheuvel , James Morse , Oliver Upton , Zenghui Yu Subject: Re: [PATCH v4 01/10] arm64: Add macro to compose a sysreg field value Message-ID: References: <20240122181344.258974-1-maz@kernel.org> <20240122181344.258974-2-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240122181344.258974-2-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240208_034049_864113_35E202B2 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. 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 Mon, Jan 22, 2024 at 06:13:35PM +0000, Marc Zyngier wrote: > A common idiom is to compose a tupple (reg, field, val) into > a symbol matching an autogenerated definition. > > Add a help performing the concatenation and replace it when > open-coded implementations exist. > > Suggested-by: Oliver Upton > Signed-off-by: Marc Zyngier Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel