Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2771800imc; Sat, 23 Feb 2019 10:39:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IYVN6D3x+ut3a6ApYz+8bh0RyZPWWX2BcsdifNUSxQowsiI9lwX42ZSp8v0fNTyw9ruY8NM X-Received: by 2002:a17:902:5a42:: with SMTP id f2mr10594431plm.157.1550947188885; Sat, 23 Feb 2019 10:39:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550947188; cv=none; d=google.com; s=arc-20160816; b=bGigRGmjFAw9of8yRI8WeEfIzsTUym8rELxkTijwsrgr6YZCWmNtmIYZdvlXcINV/j YxWEyQGH5zg+ZjhjF9i0GjLGc6nKNjXfluram/ebDnLIG202ySK8prLL15CHuoZOCKJc Km2zRJt78kVwjt9JGB30n+VlHJuZbseUCLrGgNYhC2rPZ5yB/erJtFFnVeP6Szleb8Bb gviZNQcu+stnKE1vnw8FFsGtjhH7VW0rr9hcIVNDteH8lNMozjwzUqzBZSwkmgvjtnHK Iua6MRgQXlhUyI1bb1RrzuW/EtrjIoqRKkJk7x7ijj+CY2uEK1/a87Sa8VHb1H8YwCm/ 5TNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:user-agent :references:in-reply-to:subject:cc:to:from:message-id:date; bh=qQJVQEUkH7B7WViLTudz2nedzmTjibNrLL2xM+fYF/M=; b=wdeZSbIj3vwV8zjmReCEUhXab4HLMo/16fsscQhbi3yO0aCG37Q9ihCuTB1WrgcgFO Qbf+oqWt+5dugtrdkcXHQcIyvn9ZhACIwBRE0aIzNPfQW7bUV7QGGYhTuZQYbk2JP2t5 n+3QIRfionNihk7BzH6EyN8vNGvuNWeiV3m9JgWZ/FRe5GilJcit7SI28RNSUUTI25aF 7oRem106jVlZ6u6nDF1oum9t3Z1NU1AJ8FzfmZeZOQbCP6dmcxJhLF1pmSkPTEssE4hE 6Ww3C2/nH2U1X7NCn3NVzeunX8ZUmgVQ6aOxjC3E9InrZnP2ijhRT1TDa/+ST40s0/D6 8IrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si4519186pfm.26.2019.02.23.10.39.19; Sat, 23 Feb 2019 10:39:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726968AbfBWSiG (ORCPT + 99 others); Sat, 23 Feb 2019 13:38:06 -0500 Received: from foss.arm.com ([217.140.101.70]:48022 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbfBWSiF (ORCPT ); Sat, 23 Feb 2019 13:38:05 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 10184A78; Sat, 23 Feb 2019 10:38:05 -0800 (PST) Received: from big-swifty.misterjones.org (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B943F3F575; Sat, 23 Feb 2019 10:38:02 -0800 (PST) Date: Sat, 23 Feb 2019 18:37:46 +0000 Message-ID: <86zhqm8i6d.wl-marc.zyngier@arm.com> From: Marc Zyngier To: Bjorn Andersson Cc: AngeloGioacchino Del Regno , Will Deacon , Jens Axboe , Catalin Marinas , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Robin Murphy Subject: Re: [PATCH] arm64/io: Don't use WZR in writel In-Reply-To: <20190223181254.GC572@tuxbook-pro> References: <68b71c15f32341468a868f6418e4fcb375bc49ba.camel@gmail.com> <20190211105755.GB30880@fuggles.cambridge.arm.com> <38d8965a-cd41-17cf-1b95-8dd58c079be4@arm.com> <874c702b8af760aa8fae38d478c79e3ecba00515.camel@gmail.com> <235d20ef-3054-69d9-975d-25aebf32aad3@arm.com> <20190223181254.GC572@tuxbook-pro> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: ARM Ltd MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 23 Feb 2019 18:12:54 +0000, Bjorn Andersson wrote: > > On Mon 11 Feb 06:59 PST 2019, Marc Zyngier wrote: > > > On 11/02/2019 14:29, AngeloGioacchino Del Regno wrote: > > > > [...] > > > > > Also, just one more thing: yes this thing is going ARM64-wide and > > > - from my findings - it's targeting certain Qualcomm SoCs, but... > > > I'm not sure that only QC is affected by that, others may as well > > > have the same stupid bug. > > > > > > > At the moment, only QC SoCs seem to be affected, probably because > > everyone else has debugged their hypervisor (or most likely doesn't > > bother with shipping one). > > > > In all honesty, we need some information from QC here: which SoCs are > > affected, what is the exact nature of the bug, can it be triggered from > > EL0. Randomly papering over symptoms is not something I really like > > doing, and is likely to generate problems on unaffected systems. > > > > The bug at hand is that the XZR is not deemed a valid source in the > virtualization of the SMMU registers. It was identified and fixed for > all platforms that are shipping kernels based on v4.9 or later. When you say "fixed": Do you mean fixed in the firmware? Or by adding a workaround in the shipped kernel? If the former, is this part of an official QC statement, with an associated erratum number? Is this really limited to the SMMU accesses? > As such Angelo's list of affected platforms covers the high-profile > ones. In particular MSM8996 and MSM8998 is getting pretty good support > upstream, if we can figure out a way around this issue. We'd need an exhaustive list of the affected SoCs, and work out if we can limit the hack to the SMMU driver (cc'ing Robin, who's the one who'd know about it). Thanks, M. -- Jazz is not dead, it just smell funny.