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: 130392 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp3149794edc; Thu, 1 Mar 2018 10:45:52 -0800 (PST) X-Google-Smtp-Source: AG47ELsegL2r/uqTlHQO2ZQCMNSSvU90qediAUYGN6MVpgUMLuvf8izWc4sLCbrInk695AY9V9Vw X-Received: by 2002:a17:902:424:: with SMTP id 33-v6mr2799436ple.433.1519929952655; Thu, 01 Mar 2018 10:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519929952; cv=none; d=google.com; s=arc-20160816; b=YGLmf4qmg51Ez0mVAnCyG7OH6d2NQm0julXqURYGn43ftHbY+JCSfU0DFUWteq+7cL HHXw4+9CXUupSB/C0zw12d2iyx7ceA45Hm9yXP6jJgPXS29/cM38CkIX7D+M65Uy3j0/ hbSE0Eq3j8QEN1ARairkWIKs1D2o3O66WkIimT2BfdRlhSwWAPtST4n87JfYgD4hjmcK nPGXFFH6b9PlNSPJ+DangfhJG6ChIyxdaPMqy3zbmqhLuAWlhqJW5HJu47PnGuO6k8g6 5VGA+UyyUuBsiC5dsSEcf8dc1FG7iC0wU6e3CxPgDUX2/MltkkgHB/5W4qwIxwi5nRFN VquQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:delivered-to:sender:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=G9M6yze2VieuItbVkLb08PsBvAgIBrQaCkl2jCJlIvk=; b=hof/j3sP7UaL1X8IUdhhfYAB/XfJqdOcycypAev+TDfuRAMn8ph7ULo3YxJKNo4IV/ q7d5OpgfBNdg8n/g6KAij1lm4kP3eOCddZwSceEL1kmdyxd1wssOXclIVxa0zavgQgEC hFjDsxX9uzPx6SYqQcMF0jWcp9Gaf6dyln9gIcRx8Uud4iRgD6gA7Cr32PK0xKN92+7r kkbDyuoP69r8ZxFbbrtobpUwqlLQc4GJTSzYqOMrbLuX5Kxju4+ANWbDOglx2IxL5E50 Ta0IiXImc8EU5sFDWligfxVnwrMxP78axg76eRdpVhp3nQBuLAkY3eEVIW8j5fYRZLl5 USBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=mqGKUG1W; spf=pass (google.com: domain of gcc-patches-return-474106-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-474106-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id be3-v6si397818plb.581.2018.03.01.10.45.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 10:45:52 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-474106-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=mqGKUG1W; spf=pass (google.com: domain of gcc-patches-return-474106-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-474106-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=BKuXPJw/4qPW gUIevdabRBQ+w8X14yuu2TBQGrxJvyeQeYYniSjN2qiGlLdvFoQ9bCoqMIBak0Zu UVi5nnvWyUyGHb5RAwK/rx0MhtTutFv9jv4zss9ZOKVN1hXiQ7ct2b6iY8Fxgtbf HQ7PX9LpyuygtMsTJ+KJBDkuu50G8Es= 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=mqGKUG1WNCUQtzZsglpxCASD8u64VDiKhxyuqLJRU6ZAcvIQCV y8TVpfTYRzNuhwxLD86Y/lF/I1L53Dl26lRJ7faUyx/GFXL6bqLI29kBPDgyvV+z SIrViiijZX3AWSauNogjtVM7qSkzng5/wwBc9BTVA0/2vfM3JJnEEWq0A= 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-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(-) -- 2.7.4 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 */ };