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 D8C9CEDE9AB for ; Tue, 10 Sep 2024 19:04:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AhXSU6BJkFQOkeL9f5BsAiOpSyYtezRmBEiIPviGWUg=; b=kZEpvY8FyzyOm73o1T6vv1g+gt 1n+biFsntTv89bEZvG/zk4jNSKVxbSxnGNj1xXaP4u345MVSimUuYhvaZPzU28IU9mp6SwMisX9iy smgbdnthGqmf06Spk2rdXjSYS6r7HOmFF5FhQox4RL9MobnRtmNsQe4EWpny6ocjknI2k2wxkbbmo n89lsKR92i7C9i4sYxAyEeQ1QpAi++7QLvLwzK4bI/Fv2AvMLCqSw9hFBeAyeNz39Lh6R1MRyGhtd u8oNuDWITpPWM81Ezug/jl+yKyZqU8yi9MW602tUloBF0HzrebHj+KKJ0s1A/X9qASIwa3v2NS+Em Qi+G3sng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1so6AS-00000006pie-0k1q; Tue, 10 Sep 2024 19:04:48 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1so69Q-00000006pc2-0SsG for linux-arm-kernel@lists.infradead.org; Tue, 10 Sep 2024 19:03:45 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 143455C0531; Tue, 10 Sep 2024 19:03:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B85F2C4CEC3; Tue, 10 Sep 2024 19:03:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725995022; bh=Co4ADdsEjs85AzGRn11Whp1E96utgCJRRG663qhSJP8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a75+01pd/CaDbfq5OPrILQnUgG6cibFEbjYI2zPFNmPOEUrWazVjwgNuBczakThkU FqHA3xTMyF8zd1A4sMOq4JEZ9klWWXLJ0IWfUv4OUkz1Xp2mJZE39Zf876ZMNUlXWy 9FYD5R5D3Rxpt58GFDojbmgFui+U7DmUtjVRZo0aMrNWNKCa5oGHDOPpH6W4AnYUKT mL83V5XKOnCYW9yzj48Av8cSyDSttSk/QT0HfwZGIeF7+8NrIPSVf5BL2SeVqR89jy Zyis4mh7IIFMuuSDwvJ8Ux7gI1DosJtvPAgbYaYFiVy9nv5k1i8zBngUoUjHWBXDYp RCVvB+5fttVvg== From: Will Deacon To: Marc Zyngier , Anastasia Belova Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org, stable@vger.kernel.org Subject: Re: [PATCH v2] arm64: KVM: define ESR_ELx_EC_* constants as UL Date: Tue, 10 Sep 2024 20:03:34 +0100 Message-Id: <172598897949.2321375.16307784891758642562.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20240910085016.32120-1-abelova@astralinux.ru> References: <20240910085016.32120-1-abelova@astralinux.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240910_120344_238354_C2C136A2 X-CRM114-Status: UNSURE ( 7.74 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 10 Sep 2024 11:50:16 +0300, Anastasia Belova wrote: > Add explicit casting to prevent expantion of 32th bit of > u32 into highest half of u64 in several places. > > For example, in inject_abt64: > ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT = 0x24 << 26. > This operation's result is int with 1 in 32th bit. > While casting this value into u64 (esr is u64) 1 > fills 32 highest bits. > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64: KVM: define ESR_ELx_EC_* constants as UL https://git.kernel.org/arm64/c/b6db3eb6c373 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev