Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4485922ybz; Tue, 21 Apr 2020 01:16:08 -0700 (PDT) X-Google-Smtp-Source: APiQypLUO/n5KlNDFP4Xb4u8NTmNxv7fiiQ39lFKgin80ZvsDFK4YRj9E6a2Qk28jITwpIbM+bDZ X-Received: by 2002:aa7:cc92:: with SMTP id p18mr17543195edt.166.1587456968691; Tue, 21 Apr 2020 01:16:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587456968; cv=none; d=google.com; s=arc-20160816; b=BmERlzaJhX1JT7fHyDpTkKvAm8KFLyE/vPhEItycHo1gavGOMWB4xHL//dEKIUqE6u mvBH0lfIx49x9tmE6CPn6Zow3FOrOOWK6tO/ObxYx/iCY6SmgHwIRnV8D5vgSPkXlr4d 1+wPKgDfZ19ufyV0B6c61toYc+TEnMZDqcL9S3/9VSw0gvRivRTpdkIK574mWl+2J5LC XufZYbctiY7wrX2blOTibuLhOtMpUBaRAV3XrZWggTdODuiq9F6xtczwjVDqTipCuGgN VGjsLXXwjLwPJFg8+/gDLc+U4A/PKI9AcxqJ5rhakm7orlBLXlTRdHi6DoE876s/h0M2 C3OQ== 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=1H9QwtfRzvccm/6UIO24x9MzqKXa4D8yTbOu4Dq5x/0=; b=R5NdsR5mkmuJS61IpJuKyLOVLwj/ER0hY6vGLa3PxnA3stcXnbWe9YTlvCERr0iFo/ zzimYeF3LzAiOjCWpLBIMnqlYGScWjsWOBGhPyFD5jX3uLcEX9uquPMYxv3IgkBfkam8 Lnt74snhuKjOdsTvDrKMHhCJ5hKKWCPlPvcBQppbB+KfbsXjd+Qw8QlAlkmvmzD1ODEn 1LWPb9ngntiiT27j5DWUAkeqHlV1aP+iKEJJZLM+elyiVc15sQqf31SHeYwYGPpMfq4q KyJXvXHE7qqTVG7X/jjtltMoZmXBqCzJYS+5XFBjPxxF8tPPEnniizm9Sr4p5Wqnnq4V oJdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MQQ23Uz8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y71si1187141ede.301.2020.04.21.01.15.44; Tue, 21 Apr 2020 01:16:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MQQ23Uz8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726931AbgDUIMp (ORCPT + 99 others); Tue, 21 Apr 2020 04:12:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:36528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbgDUIMp (ORCPT ); Tue, 21 Apr 2020 04:12:45 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E8F922072D; Tue, 21 Apr 2020 08:12:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587456764; bh=1H9QwtfRzvccm/6UIO24x9MzqKXa4D8yTbOu4Dq5x/0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MQQ23Uz8YyC72uR7qvCyCB7ongHObzSpaBlt47N0bJsb0h43EUlehbbNsrGKcbkwo S4GkkiCVW3f4FEndZ7S2S7FFCj3DxCOrcFEXB4YFOOiUDPtcX+P+IDbA5UIouZRFqe EH3cK58csffPTZbDqsgZdaSB2JFDVACIjwNKMkcA= Date: Tue, 21 Apr 2020 09:12:39 +0100 From: Will Deacon To: Tian Tao Cc: catalin.marinas@arm.com, gregkh@linuxfoundation.org, info@metux.net, allison@lohutok.net, james.morse@arm.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jonathan.cameron@huawei.com, linuxarm@huawei.com Subject: Re: [PATCH] arm32: fix flushcache syscall with device address Message-ID: <20200421081239.GA15439@willie-the-truck> References: <1587456514-61156-1-git-send-email-tiantao6@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1587456514-61156-1-git-send-email-tiantao6@hisilicon.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 04:08:34PM +0800, Tian Tao wrote: > An issue has been observed on our Kungpeng916 systems when using a PCI > express GPU. This occurs when a 32 bit application running on a 64 bit > kernel issues a cache flush operation to a memory address that is in > a PCI BAR of the GPU.The results in an illegal operation and > subsequent crash. A kernel crash? If so, please can you include the log here? Will