Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp574745pxb; Thu, 15 Apr 2021 01:13:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhfXLBMFNju5nq2eCpTpUjmYbNALGxAUZiNxwW128SjyEx9YzEheRsat4YocL7/Aoxhxft X-Received: by 2002:a17:906:64f:: with SMTP id t15mr2096225ejb.411.1618474396745; Thu, 15 Apr 2021 01:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618474396; cv=none; d=google.com; s=arc-20160816; b=IFUilZNxfFpQo7ZCmDn3Yf7tlp1Lh1K3VZmRVIUmz+K466Jyr/MgGdQhrTRrTgRSKo cyaAeioDj5KtQNDod3xMQEQYUzwQVl7DO/oWqTe7lcpBjPZXR/D/YBC/0jYgHtLn6xXg /sof6IQpOxwCbXSSkVPeDdJ4cHcwG9Np/mo328NRertwdG97PZG+dFjbCECnoGl1FQ+f hLpDQjwxUA5TDJvLMNPrfo7fDRO9zqDEvyAQC/2ifSXAUGM76GNZhcGH8E/oy4oQSGAX IeX5x+wVawpps37GptEKzmLCKZwMPGi15hxytq0JYjTmmS6Jkgf/hVN8p+jbM2l+27Bl If5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date; bh=k3fMwm1GupkDzK8bNQNFf9LkSiMWWDJoVxCOcPlC6lI=; b=YaZZ/o+D3Y3KCS4Z+BCK/w9Jokeinq5vC6je6M8etH+fyHvRTOzqpvFg/Pr15hwkWg payvhBa+XPuXbsYED9J7H4I6QMdoEZdMz99h9BVBD6koRcRn9FOOEcNwt34Lpp6VHyXU M1wCMQKvYPlTcjfor1OjLWZ6zO34zV+OYY0izUG8mGjBjgB6uRQnwD6X/P3wtS1k5A0W +1iM+ouYIILYUYJ5vDykDtl/AUUSlHVuMwqRSaGZYsSwsE19fqzja/HCdQiv+7OuBo+P 22p5zsMhL+2DGahW/3a1+XL6KuSN65dVUtBbke/wQ2qAgI17mFXhyHZAv0LUHdhXzxfk Kpaw== ARC-Authentication-Results: i=1; mx.google.com; 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 w4si1796100edc.281.2021.04.15.01.12.53; Thu, 15 Apr 2021 01:13:16 -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; 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 S231545AbhDOILs convert rfc822-to-8bit (ORCPT + 99 others); Thu, 15 Apr 2021 04:11:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:55664 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231535AbhDOILr (ORCPT ); Thu, 15 Apr 2021 04:11:47 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (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 F3B6960FEA; Thu, 15 Apr 2021 08:11:24 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lWx5t-007agq-Ny; Thu, 15 Apr 2021 09:11:21 +0100 Date: Thu, 15 Apr 2021 09:11:21 +0100 Message-ID: <87k0p4m0gm.wl-maz@kernel.org> From: Marc Zyngier To: Kever Yang Cc: Peter Geis , Thomas Gleixner , "open list:ARM/Rockchip SoC..." , Linux Kernel Mailing List , Heiko =?UTF-8?B?U3Q=?= =?UTF-8?B?w7xibmVy?= Subject: Re: [RFC] ITS fails to allocate on rk3568/rk3566 In-Reply-To: <678e9950-dd85-abb2-a104-07a4db1fad49@rock-chips.com> References: <871rbeo7wf.wl-maz@kernel.org> <87y2dmmggt.wl-maz@kernel.org> <87tuoambdb.wl-maz@kernel.org> <871rbdt4tu.wl-maz@kernel.org> <678e9950-dd85-abb2-a104-07a4db1fad49@rock-chips.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: kever.yang@rock-chips.com, pgwipeout@gmail.com, tglx@linutronix.de, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, heiko@sntech.de X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kever, On Thu, 15 Apr 2021 08:24:33 +0100, Kever Yang wrote: > > Hi Marc, Peter, > >     RK356x GIC has two issues: > > 1. GIC only support 32bit address while rk356x supports 8GB DDR SDRAM, > so we use ZONE_DMA32 to fix this issue; What transactions does this affect exactly? Only some ITS tables? Or all of them, including the command queue? What about the configuration and pending tables associated with the redistributors? > 2. GIC version is r1p6-00rel0, RK356x interconnect does not support > GIC and CPU snoop to each other, hence the GIC does not support the > shareability feature.  The read of register value for shareability  > feature does not return as expect in GICR and GITS, so we have to > workaround for it. How about the cacheability attribute? Can you please provide the exact set of attributes that this system actually supports for each of the ITS and redistributor base registers? Also, please provide errata numbers for these two issues so that we can properly document them and track the workarounds. Thanks, M. -- Without deviation from the norm, progress is not possible.