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 F3F5BEB64D9 for ; Mon, 10 Jul 2023 09:38:27 +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=+x8GkZiB47T5LXve57dKxYBJUobVRXX3oY+K5I9ZcjQ=; b=o7owTVHxziQ/Db AAuee3kt41Yp0QbEP1O6npb5Y4ljgkZuva6vvaJBiHASB7FRbMUtDkbr5LeK73Wh25NmlRVJPODeW nGj39V0dHt27mnrAfx+gnjFeJrrM7oH0Fd71FH4cCFTMmi0k19z24N9urBAsYmiTDXhKBZmYWRAED zlo+33iIcKRL/eAEi3YyuDT3OKNlh2MpAypF3Nd69LTctUFB8G4A95wh9WzOQVhTLqEHF3QymuMCV LP84CQDH8w5i3EQ95T3WHtVJVAgNfg3vbzsL+U+TL340IjQtRH8JYcDSB6jNgSjGGdVg9qoA4pQ8D kAb1MXZqLEeFfM39+M4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qInLF-00B3er-1T; Mon, 10 Jul 2023 09:38:01 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qInLD-00B3di-2X for linux-arm-kernel@lists.infradead.org; Mon, 10 Jul 2023 09:38:00 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9C13160F53; Mon, 10 Jul 2023 09:37:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAD20C433C7; Mon, 10 Jul 2023 09:37:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688981878; bh=5Va+D1vw5krsXXAHovHsEdN5okJNaHBciX0Ka1Bh8LI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d6ONynozQ5yTBS3WIdfoSmySH1DMQUcdlpG87TnWQ/PJ+obKufkZgO3RmSMsbcrAi zBwni1vClKRr6CI8ZxlAA6QtTrrAZqs7elCyzW04nLbF13gDk0t6YtuCjDlyXzoxat DjS0rTX9Y2rHrkkTs8xigbT5sF/U+odpM8JZ8nXKlMEX7Wd7R2BfzAyn5oi09tOlUg OyZeeBpjq95SqZO5pHYdeSKUogtXzvxubYPdyc6yAKLuu6yVSf5ZzoHYADa9G0QxDi HQhrA31+iFzk/tPKy64/KjMRIZ3qUgSwx0NIcgEaWEajdWwlIMXSZTH/HOtZwRlNEg OHdM1WBmoBhZQ== Date: Mon, 10 Jul 2023 10:37:52 +0100 From: Will Deacon To: Maria Yu Cc: corbet@lwn.net, catalin.marinas@arm.com, maz@kernel.org, quic_pkondeti@quicinc.com, quic_kaushalk@quicinc.com, quic_satyap@quicinc.com, quic_shashim@quicinc.com, quic_songxue@quicinc.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: Add the arm64.nolse_atomics command line option Message-ID: <20230710093751.GC32673@willie-the-truck> References: <20230710055955.36551-1-quic_aiquny@quicinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230710055955.36551-1-quic_aiquny@quicinc.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230710_023759_870602_1B2A8A54 X-CRM114-Status: GOOD ( 12.66 ) 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, Jul 10, 2023 at 01:59:55PM +0800, Maria Yu wrote: > In order to be able to disable lse_atomic even if cpu > support it, most likely because of memory controller > cannot deal with the lse atomic instructions, use a > new idreg override to deal with it. This should not be a problem for cacheable memory though, right? Given that Linux does not issue atomic operations to non-cacheable mappings, I'm struggling to see why there's a problem here. Please can you explain the problem that you are trying to solve? Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel