From patchwork Tue Aug 5 09:25:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 34899 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7B3C620523 for ; Tue, 5 Aug 2014 09:27:46 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id eu11sf4571534pac.7 for ; Tue, 05 Aug 2014 02:27:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=ZrnOiyYUYl26A5CUenU1fYUn4bo2hsiPWDHGDb4j5fM=; b=KZGHDo/+pD/lw5hGsj/zXIDW6Yns5JztBShAaIiiUGz5VhCrO3OlsqOzEimx7fnIXM zTnzTiqCEI1K1msKNGUSDPBz+Cg7mnb6YFDCU44nfvtNrhxKY2uoR/U2P4cRzajQLLMH i536QxknHMNlsaU7Pr3RBp6aAgC6IH8uZLKUpyZK3JML7wQ8gkcup0ioiwzmgOuHWakt 88OgGtZfqDleUaeWw0V8NaAtL5XfspJ31UfXPPziYylU9eEk67Wein05NWcsLQuABVPu SkQWlhKiz07cByIkfHoJPr1c22bYBH0jHAluQN8UGofgmuQf+1LG/od+SN0hJxelhuTr ltSw== X-Gm-Message-State: ALoCoQlYnQgZWkaZnPcv5iLTi4OiJxNK/ISDYCNqMYxgB0MKS+1EfA71zFJKwOhOvOBS4fSeJQvQ X-Received: by 10.66.148.199 with SMTP id tu7mr1324443pab.5.1407230865794; Tue, 05 Aug 2014 02:27:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.179 with SMTP id 48ls168533qgb.10.gmail; Tue, 05 Aug 2014 02:27:45 -0700 (PDT) X-Received: by 10.52.0.209 with SMTP id 17mr590239vdg.60.1407230865679; Tue, 05 Aug 2014 02:27:45 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id p18si679863vcf.70.2014.08.05.02.27.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Aug 2014 02:27:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so1002453vcb.1 for ; Tue, 05 Aug 2014 02:27:45 -0700 (PDT) X-Received: by 10.220.118.136 with SMTP id v8mr697338vcq.50.1407230865617; Tue, 05 Aug 2014 02:27:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp369544vcb; Tue, 5 Aug 2014 02:27:45 -0700 (PDT) X-Received: by 10.66.162.130 with SMTP id ya2mr2821784pab.26.1407230864735; Tue, 05 Aug 2014 02:27:44 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id cl13si653083pdb.194.2014.08.05.02.27.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Aug 2014 02:27:44 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XEb0z-0003K2-3n; Tue, 05 Aug 2014 09:26:41 +0000 Received: from mail-wg0-f50.google.com ([74.125.82.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XEb0m-0002jO-4r for linux-arm-kernel@lists.infradead.org; Tue, 05 Aug 2014 09:26:31 +0000 Received: by mail-wg0-f50.google.com with SMTP id n12so673913wgh.33 for ; Tue, 05 Aug 2014 02:26:02 -0700 (PDT) X-Received: by 10.180.189.234 with SMTP id gl10mr4825772wic.56.1407230762182; Tue, 05 Aug 2014 02:26:02 -0700 (PDT) Received: from ards-macbook-pro.local ([188.252.229.85]) by mx.google.com with ESMTPSA id ex4sm5941037wic.2.2014.08.05.02.26.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Aug 2014 02:26:01 -0700 (PDT) From: Ard Biesheuvel To: will.deacon@arm.com, mark.rutland@arm.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/3] arm64: fix typo in I-cache policy detection Date: Tue, 5 Aug 2014 11:25:55 +0200 Message-Id: <1407230757-15305-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140805_022628_340652_5D649B62 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.50 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.50 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Ard Biesheuvel X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This removes an unfortunately placed semi-colon resulting in all instruction caches being classified as AIVIVT. Signed-off-by: Ard Biesheuvel Acked-by: Mark Rutland --- v2: add ack arch/arm64/kernel/cpuinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index f798f66634af..177169623026 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -49,7 +49,7 @@ static void cpuinfo_detect_icache_policy(struct cpuinfo_arm64 *info) if (l1ip != ICACHE_POLICY_PIPT) set_bit(ICACHEF_ALIASING, &__icache_flags); - if (l1ip == ICACHE_POLICY_AIVIVT); + if (l1ip == ICACHE_POLICY_AIVIVT) set_bit(ICACHEF_AIVIVT, &__icache_flags); pr_info("Detected %s I-cache on CPU%d\n", icache_policy_str[l1ip], cpu);