Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759374AbcLAJHW (ORCPT ); Thu, 1 Dec 2016 04:07:22 -0500 Received: from foss.arm.com ([217.140.101.70]:36916 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756809AbcLAJHS (ORCPT ); Thu, 1 Dec 2016 04:07:18 -0500 Subject: Re: [RFC PATCH 0/3] Add a new flag for ITS device to control indirect route To: Majun , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, robert.moore@intel.com, lenb@kernel.org, lv.zheng@intel.com, rafael.j.wysocki@intel.com, devel@acpica.org, mark.rutland@arm.com, robh+dt@kernel.org, jason@lakedaemon.net References: <1480578360-9268-1-git-send-email-majun258@huawei.com> Cc: dingtianhong@huawei.com, guohanjun@huawei.com From: Marc Zyngier Organization: ARM Ltd Message-ID: <3ce161a7-ee63-a018-4a75-9e7520143d97@arm.com> Date: Thu, 1 Dec 2016 09:07:14 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: <1480578360-9268-1-git-send-email-majun258@huawei.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 623 Lines: 18 On 01/12/16 07:45, Majun wrote: > From: MaJun > > For current ITS driver, two level table (indirect route) is enabled when the memory used > for LPI route table over the limit(64KB * 2) size. But this function impact the > performance of LPI interrupt actually because need more time to look up the table. Are you implying that your ITS doesn't have a cache to lookup the most active devices, hence performing a full lookup on each interrupt? Anyway, doing this as a DT quirk doesn't feel right. Please use the ITS quirk infrastructure. Thanks, M. -- Jazz is not dead. It just smells funny...