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 X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C8D0C4338F for ; Thu, 19 Aug 2021 09:06:41 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 09A7460EFE for ; Thu, 19 Aug 2021 09:06:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 09A7460EFE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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: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=HVI/yHkucj3OMm2r3ZrWwmhlSJU6fjqJvzJNup4LMVw=; b=sbO5zWhpFMYp2p IosWg/ag4eJa4kaTFGTrw6HIotT6pEmNkFsCCfmvzqRurP435bbl3D5QN6yRMGDgNH6wqJwabntiP evABauU9+eSRW14FuWim1XypbqX+YjNm4sZdM/zvCflMyRVbjAftR66Hr4L4EWA1WZLg9JL7I87LD n4inV6y3aZ2WEs45u5c7H1ilRysARZRa77/ISUcWwITUXVrj9lCATlADCpYX2bsJTQkB/22z3kKiw GM4Ls1pdOBMvnbYpQ6NWqkDFtfpv8GDAGdY76sXnlk5fwRpsNGRAsoivUOIhlg2N6WRA2tkbxWZRG fRfiTraicP3lbYtwzX3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGdyh-007oi3-6B; Thu, 19 Aug 2021 09:04:47 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGdya-007oh4-IT for linux-arm-kernel@lists.infradead.org; Thu, 19 Aug 2021 09:04:44 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id D982E610CB; Thu, 19 Aug 2021 09:04:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629363880; bh=MG5hc/OhLZvh/hcfAz64ZLVogxGKnA+0WG6jLowciDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YjVx/xNmfBnBzg+XFCDiJ8izQ11ZrrBb99OYdqgoOCsUIwXOEziwGWpJGYxdteYs4 bEctlqYmBszUyMpHvPp51/bLgI4dIOWnwpWQROsI5Ud8xNJ0DccLbogJfJvQKO1iws sSwTcT2o8lCBbiq3ZCyHPZqq9xYU3WQpE/CedDBevi4UrKgP2Q4gchX30qkljQcT9Y kE+J1y2dZHLApJgdanq3uDheJ+avNh29mAMwVIXR6UHH/FmCOg+hj59JOOoZcVZyNf ho2JbBnT1gThj62cHiyTFEyS+RFzYythJ5K0owhF6Ol0vSHpovuN3XvOf65smTFfTl vkOFzAqAu53mA== From: Will Deacon To: Mark Rutland , linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , oupton@google.com, maz@kernel.org Subject: Re: [PATCH] arm64: initialize all of CNTHCTL_EL2 Date: Thu, 19 Aug 2021 10:04:35 +0100 Message-Id: <162936373134.1479808.3089909665812193636.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210818161535.52786-1-mark.rutland@arm.com> References: <20210818161535.52786-1-mark.rutland@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210819_020440_671198_D4DF1C6B X-CRM114-Status: UNSURE ( 9.24 ) 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 Wed, 18 Aug 2021 17:15:35 +0100, Mark Rutland wrote: > In __init_el2_timers we initialize CNTHCTL_EL2.{EL1PCEN,EL1PCTEN} with a > RMW sequence, leaving all other bits UNKNOWN. > > In general, we should initialize all bits in a register rather than > using an RMW sequence, since most bits are UNKNOWN out of reset, and as > new bits are added to the reigster their reset value might not result in > expected behaviour. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: initialize all of CNTHCTL_EL2 https://git.kernel.org/arm64/c/bde8fff82e4a Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel