Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758887AbcLBJaY (ORCPT ); Fri, 2 Dec 2016 04:30:24 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:39052 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751731AbcLBJaV (ORCPT ); Fri, 2 Dec 2016 04:30:21 -0500 Subject: Re: [RFC PATCH 0/3] Add a new flag for ITS device to control indirect route To: Marc Zyngier , , , , , , , , , , References: <1480578360-9268-1-git-send-email-majun258@huawei.com> <3ce161a7-ee63-a018-4a75-9e7520143d97@arm.com> CC: , , From: "majun (Euler7)" Message-ID: <58413F0E.3030604@huawei.com> Date: Fri, 2 Dec 2016 17:29:50 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <3ce161a7-ee63-a018-4a75-9e7520143d97@arm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.177.249.226] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 849 Lines: 31 在 2016/12/1 17:07, Marc Zyngier 写道: > 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? Our ITS chip has the cache with depth 64. But this seems not enough for some scenario,espeically on virtulization platform. > > Anyway, doing this as a DT quirk doesn't feel right. Please use the ITS > quirk infrastructure. If there is no other better solutions, I will do this. Thanks! Majun > > Thanks, > > M. >