Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp3094087imc; Sat, 23 Feb 2019 19:55:39 -0800 (PST) X-Google-Smtp-Source: AHgI3IY1v1zzBqHGLnNdc2+5w5o2pqF/rCUn6Y+APCePF4CMY4HEXIPj2ev0z5+20S2B7xf33UnC X-Received: by 2002:a65:60c2:: with SMTP id r2mr11655220pgv.319.1550980539155; Sat, 23 Feb 2019 19:55:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550980539; cv=none; d=google.com; s=arc-20160816; b=h3Iwz7RlKjYPKv/cGNxrQ1zFZrbKSFYpSFUdIpCb05sCdXzjsIHek50itgWO5kuUj7 6ic7EESZFFeuW3udNmhAOsw5a4zJmWyR7/6Fp06UHQ7TRrblO7oJoYi4N91u+YfVA2YV ygo3c13/CFmPBAl5NRH2zDXG9z4KRrHlENYk8HuP9ooejia2ak/u6JV75XeP4Wrwh5a6 MZ8SX6cxnpiN1OyHLyP/yvls0Z4kLt3xAa7/1MFWhpCRFMQT78E2FCD22jgv7yRu17i/ 5rk7cawI/1IhWcdsGCzrv213qErh9o7hokYoAWqFBzGRF2CaZSF0bvwwKedavxVhMhL4 PUVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vEFJj8f8aJJKNog+h5E3CItg2WjBd6JxcRZBrrmKL3Q=; b=QxYSVq1qxIA6hcnQrPRn8hSN9lE0dsFWPEdzYQb8QcUJd7TBQ75+xMxDTIJt67Xynu 5RhXVq7cY22xl419N/MU89+DxZsPahMuWJ++mr49kXiyxEhKF6516ZcFOzA8jG5avzKY ijnZCEbHn9Lf76nfwcG1pHax6BCbmBXA9WQ81PWYAU+22A+YBJg2URjxBKty8pOlqze6 zUyhWh48MXbwUn3RPTICeniXeyOOdI9fd//4uwMB+7Abfs/YXahAbDNAyHrQwm2qUTqt 3j/ioq+QAZPbIcivWjiDg13yGEE1zXnSk0e/Dk4jF+/F0iTVaTHeBneT60eWqNRpGUh0 G9vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o8uRTkxY; 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 k1si3771087pgg.215.2019.02.23.19.54.52; Sat, 23 Feb 2019 19:55:39 -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; dkim=pass header.i=@linaro.org header.s=google header.b=o8uRTkxY; 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 S1728073AbfBXDyB (ORCPT + 99 others); Sat, 23 Feb 2019 22:54:01 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36837 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727634AbfBXDyB (ORCPT ); Sat, 23 Feb 2019 22:54:01 -0500 Received: by mail-pg1-f195.google.com with SMTP id r124so2926609pgr.3 for ; Sat, 23 Feb 2019 19:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vEFJj8f8aJJKNog+h5E3CItg2WjBd6JxcRZBrrmKL3Q=; b=o8uRTkxYYxNxx9gCDsBgGLu9asQE2kEcKC3WWxLciu1WMLFHflUHM9FP2KUuoEntpq kJW/FLFZIkm2eVjHb+pjjn9pCd8piQXJWbi5UcrgITrUcjjKN07iTL4/yT7r1DLcYyFd uFIsoC1uEc351KV3I/AeT3itvL6Z1HLdee9KlG8SP6V/mm/u+fdgDPGcNV16ksuw9IQL Pwn/X1gFSRxFfSfoEwfasMjoiQ+fQf4+ankGV4W/AyuM6HPUskcFCs8bUqTljbjWd2u3 6xuTrnG7gZE3dz7b/4ZpHsf1MOrWu9KP6TPQIrj6bSWawk378ffbkJlCM5QNkRuehCYG Tc2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vEFJj8f8aJJKNog+h5E3CItg2WjBd6JxcRZBrrmKL3Q=; b=o0Aql7+wLZoVVP04LB9AwHlMuiAVLPodytlbDgOXzwHaLUXxdDcVojmOJKpfxqk8Lc FoW2/Y1DSRzEbGambRduEXYx5xgN4+XYSYmrzxp6qYIgmbetX/jyzUspsYWoggiVVk7Q dyXLQxdbMiaVHnqFKWMY/3CjWD+r95Chd/J7EkVeRC7lsOOqXvbwHO/8H2uBeZ+/SfBo EDfVz84KQp+0WBr6FQ8v+PwO4/wj2dmkvXqkPZeHq8QUt6eDHndz6nIF2rgHUVoFKZxO qTvIORIFCGCG22jKHEmj7IVJOxyYb75IuGtMCt9FRuoxxMdtFApi3eNnJTWiNnr4IDgy dTJQ== X-Gm-Message-State: AHQUAubnq4CO75tOahE3f3H29puACB00Vu4LQBuD91oNj3UwGebqvxwy g4FJ065s+ZDgvhCO8SRnQWonng== X-Received: by 2002:a62:e204:: with SMTP id a4mr11200228pfi.225.1550980439873; Sat, 23 Feb 2019 19:53:59 -0800 (PST) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id v26sm7362953pgn.46.2019.02.23.19.53.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 23 Feb 2019 19:53:58 -0800 (PST) Date: Sat, 23 Feb 2019 19:53:56 -0800 From: Bjorn Andersson To: Marc Zyngier 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 Message-ID: <20190224035356.GD572@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> <86zhqm8i6d.wl-marc.zyngier@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86zhqm8i6d.wl-marc.zyngier@arm.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 23 Feb 10:37 PST 2019, Marc Zyngier wrote: > 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? I mean that it's fixed in the firmware. > If the former, is this part of an official QC statement, with an > associated erratum number? I don't know, will get back to you on this one. > Is this really limited to the SMMU accesses? > Yes. > > 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). > I will try to compose a list. Regards, Bjorn