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 47AFBC5AD4C for ; Thu, 23 Nov 2023 19:25:26 +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=IowFKhM9EIyckPmHolDr8ClNlB0979A5t3oOgmnm1uw=; b=sz8Rfyoq4sdl12 6atreVPXFZ23a/Ts4q6h8oPPRkSrw0zfYZxB87k1pxPN5T5QCwe5fYGtRFusCpHMuNcCK7E7ycCoE Rmy7XC0xLTd03/GKVWpxvEi+CvidBZ0NvLOzBvzxYKB4aDIaNYz6zL9DOyXSdsYNWonYG310hzGpd 9byHw3eKnyHEk75hxAgDbc8nulgqkes5rUIGpdNah/OHttoeb4Mjz8111Ih1XkjJ2SW4a8TpftvdA koearYvRWn/wwLNhje5cQ49QhiwOYdRcBVkfgoEGAaJ/WvkqyrGvJ1l4411FakqQx828JshVN/loL HQUpSvedY8M6/ezHU/zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r6FJt-005acp-0y; Thu, 23 Nov 2023 19:25:01 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r6FJq-005acJ-1G for linux-arm-kernel@lists.infradead.org; Thu, 23 Nov 2023 19:24:59 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 91CEF624B4; Thu, 23 Nov 2023 19:24:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63CBDC433C8; Thu, 23 Nov 2023 19:24:55 +0000 (UTC) Date: Thu, 23 Nov 2023 19:24:53 +0000 From: Catalin Marinas To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Mark Rutland Subject: Re: [PATCH] arm64: Get rid of ARM64_HAS_NO_HW_PREFETCH Message-ID: References: <20231122133754.1240687-1-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231122133754.1240687-1-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231123_112458_495248_7A7D7D7D X-CRM114-Status: GOOD ( 12.17 ) 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, Nov 22, 2023 at 01:37:54PM +0000, Marc Zyngier wrote: > Back in 2016, it was argued that implementations lacking a HW > prefetcher could be helped by sprinkling a number of PRFM > instructions in strategic locations. > > In 2023, the one platform that presumably needed this hack is no > longer in active use (let alone maintained), and an quick > experiment shows dropping this hack only leads to a 0.4% drop > on a full kernel compilation (tested on a MT30-GS0 48 CPU system). > > Given that this is pretty much in the noise department and that > it may give odd ideas to other implementers, drop the hack for > good. > > Suggested-by: Will Deacon > Suggested-by: Mark Rutland > Signed-off-by: Marc Zyngier Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel