Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4513029imu; Tue, 29 Jan 2019 02:56:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN6xZxEWFUyHca4wQQJqb+XPh/BipOysniFduYD4fbM2fH+hhIRbIUOCv9Xe6RagMQm0hoXY X-Received: by 2002:a63:7d06:: with SMTP id y6mr23049051pgc.171.1548759405659; Tue, 29 Jan 2019 02:56:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548759405; cv=none; d=google.com; s=arc-20160816; b=zYYpljaMokPQDSLR2hP9/lC3DQ89SSBxpLxhfBVNe06NR04GsIhE8EFPr1+Pu0vKaC 7x2/rQPI8+3y3WYDCiggu7A6oNQrXHnIdBPunVGc4BeNGGlwi1M18ejwnWcdNhrVQmwx Rb8Y+b1vbrBav/rAQFG+UZgAzcKEk39phMCZWVjz8WEc5eF9F0CMmOgGVVMfce/JAAtR jomz27NKeLf2eQHCd2G8Ee6jgYgDpOqVi8u8nLu5o20ol+qIhVxbZdTqUP7EZJfGYozK JbOGr7/8cKEdh9X143+DQ4WPB0U5gmaQOK/pLZMQEyGy3HyGtRpATqSMvAyko5jyLQK/ 7rxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=QbouDf+s+QBjxmCI9DD8Pt5S9tPb5+VKLje9ttsoYIg=; b=zSFZhpKC0PdlGY5TATueScPgzatfthMEeFNPZcDzGZ5wGdTzcRwCfF+fB4YKhXN4hJ 6ucInMm6vfFBwrUbQsB45z+v5x0ngaeEML4LmeXRX0HLVaI91WUWfAaLcOkAvrE8ZXmS NxOLHoMSiciwXMHdSsnNYygO3SYw9DV1ytpc2RlWp4sNuOs0oSrnwBlC4W9NpFZmCVKR 4K7qCxnyZP/Y2tlOCAI+FCt2VebPfuHa7tfHpak28lxLNZ8ti+KPPDme8YEtavwBcns4 OXRr9HcmFRtKC2CoKdumVf06p1T73a0TkeT5o0NS2WruuThkxhImF/l5DzpdpcYkglDu tDXQ== 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 y27si4912859pga.459.2019.01.29.02.56.29; Tue, 29 Jan 2019 02:56: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 S1728364AbfA2Ky7 (ORCPT + 99 others); Tue, 29 Jan 2019 05:54:59 -0500 Received: from mgwym02.jp.fujitsu.com ([211.128.242.41]:12047 "EHLO mgwym02.jp.fujitsu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbfA2Ky7 (ORCPT ); Tue, 29 Jan 2019 05:54:59 -0500 Received: from yt-mxoi2.gw.nic.fujitsu.com (unknown [192.168.229.69]) by mgwym02.jp.fujitsu.com with smtp id 17e9_c2bd_78713a2e_2048_498d_b459_0dcef26d700c; Tue, 29 Jan 2019 19:54:54 +0900 Received: from g01jpfmpwkw02.exch.g01.fujitsu.local (g01jpfmpwkw02.exch.g01.fujitsu.local [10.0.193.56]) by yt-mxoi2.gw.nic.fujitsu.com (Postfix) with ESMTP id 031FBAC00D0 for ; Tue, 29 Jan 2019 19:54:54 +0900 (JST) Received: from G01JPEXCHKW14.g01.fujitsu.local (G01JPEXCHKW14.g01.fujitsu.local [10.0.194.53]) by g01jpfmpwkw02.exch.g01.fujitsu.local (Postfix) with ESMTP id CDA043286EE; Tue, 29 Jan 2019 19:54:52 +0900 (JST) Received: from G01JPEXMBKW03.g01.fujitsu.local ([10.0.194.67]) by g01jpexchkw14 ([10.0.194.53]) with mapi id 14.03.0415.000; Tue, 29 Jan 2019 19:54:52 +0900 From: "Zhang, Lei" To: 'Catalin Marinas' CC: 'Mark Rutland' , "'will.deacon@arm.com'" , "'linux-kernel@vger.kernel.org'" , "'linux-arm-kernel@lists.infradead.org'" Subject: RE: [PATCH v2 1/1] arm64: Add workaround for Fujitsu A64FX erratum 010001 Thread-Topic: [PATCH v2 1/1] arm64: Add workaround for Fujitsu A64FX erratum 010001 Thread-Index: AdSyLRrS1IDcSdJoRF6WCq7/B3VdwACYGWwAAMw1BtA= Date: Tue, 29 Jan 2019 10:54:51 +0000 Message-ID: <8898674D84E3B24BA3A2D289B872026A6A2C03E0@G01JPEXMBKW03> References: <8898674D84E3B24BA3A2D289B872026A6A2A32D6@G01JPEXMBKW03> <8898674D84E3B24BA3A2D289B872026A6A2A32EB@G01JPEXMBKW03> <20190125180813.GM25901@arrakis.emea.arm.com> In-Reply-To: <20190125180813.GM25901@arrakis.emea.arm.com> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-securitypolicycheck: OK by SHieldMailChecker v2.2.3 x-shieldmailcheckerpolicyversion: FJ-ISEC-20140219 x-originating-ip: [10.18.70.198] Content-Type: text/plain; charset="iso-2022-jp" MIME-Version: 1.0 X-SecurityPolicyCheck-GC: OK by FENCE-Mail X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Catalin, > -----Original Message----- > From: linux-arm-kernel > [mailto:linux-arm-kernel-bounces@lists.infradead.org] On Behalf Of > Catalin Marinas > Sent: Saturday, January 26, 2019 3:08 AM > To: Zhang, Lei/張 雷 > Cc: 'Mark Rutland'; 'will.deacon@arm.com'; > 'linux-kernel@vger.kernel.org'; > 'linux-arm-kernel@lists.infradead.org' > Subject: Re: [PATCH v2 1/1] arm64: Add workaround for Fujitsu A64FX > erratum 010001 > > IIUC, this can happen very early when the errata framework isn't yet > ready. Given that this is not on a fast path (you already took a fault), > I don't think it's worth optimising for cpus_have_cap() (and > ARM64_WORKAROUND_FUJITSU_A64FX_0100001). I've seen Mark's comments on > why checking MIDR in a preemptible context is not a good idea but I > suspect your platform is homogeneous (i.e. not big.LITTLE). Thanks for comment. I will post a new patch to resolve fast path problem in today. By the way our platform is homogeneous. Best Regards, Lei Zhang zhang.lei@jp.fujitsu.com