Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3110790imu; Fri, 18 Jan 2019 05:06:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN59qP2MUGw35P7hY6mufgYJ/kRYo0dNFnt7MBfRQJ1cVUuAUo4U/SGfw7fRh6z0ErEx1rZr X-Received: by 2002:a63:902:: with SMTP id 2mr16548263pgj.219.1547816771160; Fri, 18 Jan 2019 05:06:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547816771; cv=none; d=google.com; s=arc-20160816; b=i8Bp9idtXd/kOsXX/ugpnhGzHt1srns48wHz4KIfYx1abprGYVB3/FOChnhesNshMX HYRHqtvg2y9ysB8w4Bho1dXv3CYYMSSeBg3xYIAa6R90c9Pb6j3KnNCBdxzrYot+iNnl 8erW6V4Q/nCKjxSuxvDYuZBodUD4bBos4LX7AQMIm3+lEopKW70gWr/ygQTXCxi9Sx4c mAKTCFlBWiwcAfWiR2DU4moBJ0RPGNWzjbKjpVC2bozM8S3TkASpHr5t+D4IZmmC40iI 3WZNja89CwYi471lHteaI2lYQjvfQrhIPJFp/CUFddpMCFmPupE2o4v44nMocVQzIqta E2xQ== 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-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=4NopQZaFwphNlo5ngbd4LkqoAJajg+e8mDxpXjQJZ2I=; b=KBtKRxfLByyv0OQNTcO8dP+pWuYiugJ9YU4+do4K7XPPvTyXqFkq4FyLNILIOHBVAG ZoyW2KtGD4v2fZ3zlpEEt9Zu1LeNwh1gsERvhlv3VeDAlqdaCS3gmjGoccR+L4j6i9rY /hBsncUr0K6PsfG1forK3gTB1k2ZGffapRX006R4quYLaifARaoLa1a1mMoToLdSIf3U J1oME1buxeLiq9GCryzJFNYLEWLboO9HNV+fWQ8e9f28E3m5DbyYt5N1JcQIKggCrj3F cRL0Pfy7SppCZ95RpI0eYqLjtuOLdSTHDgEBL6AzZzRmGoAzuCeGoxVIja/UyBBd0HeT E9kA== 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 d125si4471961pgc.418.2019.01.18.05.05.52; Fri, 18 Jan 2019 05:06:11 -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 S1727675AbfARNEC (ORCPT + 99 others); Fri, 18 Jan 2019 08:04:02 -0500 Received: from mgwkm01.jp.fujitsu.com ([202.219.69.168]:39337 "EHLO mgwkm01.jp.fujitsu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbfARNEA (ORCPT ); Fri, 18 Jan 2019 08:04:00 -0500 X-Greylist: delayed 675 seconds by postgrey-1.27 at vger.kernel.org; Fri, 18 Jan 2019 08:04:00 EST Received: from kw-mxauth.gw.nic.fujitsu.com (unknown [192.168.231.132]) by mgwkm01.jp.fujitsu.com with smtp id 60e7_fa2d_c6fa3fe0_eb21_4e52_8f22_f2484bfdf17d; Fri, 18 Jan 2019 21:52:42 +0900 Received: from g01jpfmpwkw01.exch.g01.fujitsu.local (g01jpfmpwkw01.exch.g01.fujitsu.local [10.0.193.38]) by kw-mxauth.gw.nic.fujitsu.com (Postfix) with ESMTP id 76AD9AC00B2 for ; Fri, 18 Jan 2019 21:52:41 +0900 (JST) Received: from G01JPEXCHKW16.g01.fujitsu.local (G01JPEXCHKW16.g01.fujitsu.local [10.0.194.55]) by g01jpfmpwkw01.exch.g01.fujitsu.local (Postfix) with ESMTP id ADF696923F9; Fri, 18 Jan 2019 21:52:40 +0900 (JST) Received: from G01JPEXMBKW03.g01.fujitsu.local ([10.0.194.67]) by g01jpexchkw16 ([10.0.194.55]) with mapi id 14.03.0415.000; Fri, 18 Jan 2019 21:52:40 +0900 From: "Zhang, Lei" To: "'catalin.marinas@arm.com'" , "'will.deacon@arm.com'" , "'linux-arm-kernel@lists.infradead.org'" , "'linux-kernel@vger.kernel.org'" CC: "Zhang, Lei" Subject: [PATCH] arm64 memory accesses may cause undefined fault on Fujitsu-A64FX Thread-Topic: [PATCH] arm64 memory accesses may cause undefined fault on Fujitsu-A64FX Thread-Index: AdSvK6W0/Nm6810RQFa/OOuw1JbhXA== Date: Fri, 18 Jan 2019 12:52:38 +0000 Message-ID: <8898674D84E3B24BA3A2D289B872026A6A29FA8F@G01JPEXMBKW03> 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="utf-8" Content-Transfer-Encoding: base64 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 T24gc29tZSB2YXJpYW50cyBvZiB0aGUgRnVqaXRzdS1BNjRGWCBjb3JlcyB2 ZXIoMS4wLCAxLjEpLCANCm1lbW9yeSBhY2Nlc3NlcyBtYXkgY2F1c2UgdW5k ZWZpbmVkIGZhdWx0IChEYXRhIGFib3J0LCBERlNDPTBiMTExMTExKS4NClRo aXMgcHJvYmxlbSB3aWxsIGJlIGZpeGVkIGJ5IG5leHQgdmVyc2lvbiBvZiBG dWppdHN1LUE2NEZYLg0KSSB3b3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