From patchwork Thu Mar 1 18:45:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Machado X-Patchwork-Id: 880000 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-474106-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="XBIQjINX"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zshG70DQpz9s3p for ; Fri, 2 Mar 2018 05:45:48 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=EQrcNO2FEhhN /YVx+/0g3oXe9r0ePSlqyPtSHgg/7r2uB3h88HjsmewbN0feigU0yXsDUGBP0XtW KvNcIT4Z+FMz1NNjWDMMFjD11J2svGDdIUztFIABE2zBQlItznkitFKHVRbdQL93 gYsb7KCpmk0HZh1kGZ4bDgd0J4+GIlM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; s=default; bh=Fc/2p7evvGwNpMzEw6 loqc3eI2E=; b=XBIQjINX0eZSU3sWFrB0oGixAyvPQk06JRWRQ8XtoKiHSRaIPF sVGfEXthddfOv1NtCYNH7VBND4/PAJSaa5NKeTQ0MxIdweZgwTn/Pugn6L4QnJC3 dda8q+1Ox7mMJvkaImR9tUR0s7f9c6O7b/xeiJgS49OfJfNIlymuMgCjk= Received: (qmail 75164 invoked by alias); 1 Mar 2018 18:45:41 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 75152 invoked by uid 89); 1 Mar 2018 18:45:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=carries X-HELO: mail-qt0-f195.google.com Received: from mail-qt0-f195.google.com (HELO mail-qt0-f195.google.com) (209.85.216.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Mar 2018 18:45:39 +0000 Received: by mail-qt0-f195.google.com with SMTP id a23so8871547qtn.0 for ; Thu, 01 Mar 2018 10:45:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=G9M6yze2VieuItbVkLb08PsBvAgIBrQaCkl2jCJlIvk=; b=Xba+8RqC37GumxPvxHzbk10F/G6dLYQipSvvZdpMJ4DpHimwMLNuG775lyZAzy6D2F dCW4xNTTdc5uMZ5oDINkKJCWMfpYkWye3BAVNey/lifDiJAQv7iHykBWpLTzNKTtlnEg oWPFeb3D/Ts3Px6i+qRvI4FqEdZL0xFbBXG4t1Y5oRlqO6LavbGukfglGA4wXBOrdFYL CrOaqsZ79SNCjev/2tQYU6GiSrKfFycLWcE4EQb8DsW5wknYndA9iOZDiotu3/gDPtg3 iO66axJaf7W9NmvWdHMrXlkxGxNyFKAKWLgo+VtoEM9jIr9PMBCwB1j+9Tln2OqVG7IT 4Phg== X-Gm-Message-State: AElRT7GpiMdgaQ8Jt25PqMusRqA4bq3nSIOF4Dl1gzlKzmwxhI6KROJ2 4DOx6pUo/xQ/YpCjGacy9bkyrFRttGg= X-Google-Smtp-Source: AG47ELspSSDCkJfKTkm/OJE1O8KWtOi+sFE6ADjohQGXRsAXKTD67ItlhFYHCo418GzUM2cFpzs12A== X-Received: by 10.200.66.129 with SMTP id o1mr4673722qtl.12.1519929937177; Thu, 01 Mar 2018 10:45:37 -0800 (PST) Received: from localhost.localdomain ([177.180.105.91]) by smtp.gmail.com with ESMTPSA id d184sm3323744qka.68.2018.03.01.10.45.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 10:45:36 -0800 (PST) From: Luis Machado To: gcc-patches@gcc.gnu.org Cc: james.greenhalgh@arm.com, Richard.Earnshaw@arm.com Subject: [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure. Date: Thu, 1 Mar 2018 15:45:21 -0300 Message-Id: <1519929921-1344-1-git-send-email-luis.machado@linaro.org> X-IsSubscribed: yes Falkor's prefetch tuning structure still carries the L2 cache size value from early support code. This patch updates it to match the specifications. Even though the prefetcher is currently disabled for Falkor, we have a patch waiting for GCC development to reopen that re-enables it, so i take it this update should be trivial enough to go in before development reopens? Thanks, Luis 2018-03-01 Luis Machado * config/aarch64/aarch64.c (qdf24xx_prefetch_tune) : Set to 512. --- gcc/config/aarch64/aarch64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 2f98a21..5a732b1 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -564,7 +564,7 @@ static const cpu_prefetch_tune qdf24xx_prefetch_tune = 4, /* num_slots */ 32, /* l1_cache_size */ 64, /* l1_cache_line_size */ - 1024, /* l2_cache_size */ + 512, /* l2_cache_size */ -1 /* default_opt_level */ };