Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2798911imj; Mon, 11 Feb 2019 08:38:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IZyqR40gzNuhCnDwNi+iVwSmlcetBwDgTav/1RlggZFEzSY+COr5Q9A5l7Yrf6xy36hz6rE X-Received: by 2002:a17:902:5ac9:: with SMTP id g9mr18281483plm.205.1549903125511; Mon, 11 Feb 2019 08:38:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549903125; cv=none; d=google.com; s=arc-20160816; b=SQuJ1zM9ZiPQwyIM5Cm5hWhES2Ev68i1dqNG+xbAqX7jw/OL9XVjAXM5ShsLAqHmFN LGrnKXufAV5XNtLU0Iv1BSLS2iHwCXNI3ITl8Rm3s7gXkHWxKPTYTiviDGBYNhOkFEIr COgvzJzmSG7bEs2gRjdisXJUSB7WcFs+SMIiI2+Opvbbh6l66OT9udzUeKpj2v4J0JqH SVTRNzePBkrDrFMUmxOvTAk9SFUpvvRFWQjV2nksqHxlAjZECZo2EbIRsMq1u2CyZi/7 FySqA5vZB2ki/1Ev7RVaKeaDqDgmydmfT5csH7/XnfaIyFrIjZjKsT3ExJU2cbhEGX9D V6YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=bUMinCTxFEfSyJBNzB/rw1f7cNsE/ewQDlp2YJnkC4o=; b=DsoETrVkB6bgnjnht7wNT/1rjTroxy8F1ZAsxhnjjFoPT7J1lJxFPuuGwZaxR7NNXO ZX4QDPQd2DvwNYJnCCMBjIsDZ78Ou4An6tPG5Ead+PvIU4wBzhUfxrmJFePNvCFQvMLf 61n+P8dgsPFDyGAewprMt7bVKV4LYL37l/lLx58wprRZsJdbAbqRVTim+XQ6IhWu/u/G XZ/Io3w68Tw4tLjdMRyb+9XEYyOAnkfbm1m//KR8aqc7CmQl4Ziiy/rs69e/vekJFpSM aBt5ozrXwfUKfJvonELVu3Go+j3JaJRzJ6yX2EZ6fnWRq/Tymwd/Ybdap4apCUrwH6sP DtMQ== 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 d4si11343521pfa.150.2019.02.11.08.38.29; Mon, 11 Feb 2019 08:38:45 -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 S1728976AbfBKQh0 (ORCPT + 99 others); Mon, 11 Feb 2019 11:37:26 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:53774 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727247AbfBKQh0 (ORCPT ); Mon, 11 Feb 2019 11:37:26 -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 BA88F80D; Mon, 11 Feb 2019 08:37:25 -0800 (PST) Received: from [10.1.196.75] (e110467-lin.cambridge.arm.com [10.1.196.75]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3A0BA3F675; Mon, 11 Feb 2019 08:37:24 -0800 (PST) Subject: Re: [PATCH] arm64/io: Don't use WZR in writel To: Marc Zyngier , AngeloGioacchino Del Regno , Will Deacon Cc: Jens Axboe , Catalin Marinas , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org 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> From: Robin Murphy Message-ID: <0dcc636d-236f-6211-4bf4-5c20f2aeefc2@arm.com> Date: Mon, 11 Feb 2019 16:37:22 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <235d20ef-3054-69d9-975d-25aebf32aad3@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/02/2019 14:59, 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. And even if we *were* to just try papering over the observed extent of the issue, I'd still be inclined to confine it to arm-smmu.c where the impact is finite and minimal - of the 4 instances of writel(0) there, 3 of them don't care what the data is (so could just reuse the base register or similar) and the other one already has a zero in a GPR to hand by construction. Robin.