From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF24367C6C for ; Thu, 8 Feb 2024 11:40:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707392452; cv=none; b=SZO3MfA8JCFSyZD/POZ1VrOw3a2G8YWirtxAHFcp87CdTAiXaH+YHxgPmqWYz7/sUpq4lwM31Bb0dcpv4AS7eSv/2Z+LHHn+6LuSNeQQ8o9wbcUCRuuMeNxxcymtm5COGqvPftuL16/ZHznuh4S+dT5TesRZsOcpYzXkm9Qz8ZE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707392452; c=relaxed/simple; bh=AmxpeQ3IdBZwfe9pwURlbMP3NC8Y/9Gr04Ds/4zS4hQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=juis63gKjKqpgRAaPyl1mG5If0GRzm6uAlqAbE4BMJzgUKlfbtA63yYB681QEzISbLcTdaVmVsFSIsjJRMiEY5Liw/CtJ27h00y756gzn7O/gyTX6D+2HeHj9gJZZO6zSGg2Egnw+SrvuZPzYywgZ7OVMCVeNJm32seeJ83XPT0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240122181344.258974-2-maz@kernel.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