Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1197015pxx; Fri, 30 Oct 2020 04:40:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/ih4f6GNFUPr+dGKppf+bn13Wy6XOcBy4a4iB3TlDMNz+RcSXiFzQ2QaEB5yDtoO+uXc/ X-Received: by 2002:a50:9e82:: with SMTP id a2mr1787337edf.117.1604058058343; Fri, 30 Oct 2020 04:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604058058; cv=none; d=google.com; s=arc-20160816; b=0nEFbFuBN5/9SQeuc07g0HoUgJcZSJBWhseOpNoDD8rnA86ldIObMs5XNfFRBoC5PK D7J+NnUG3iIG0wv+dbUJ9XgqfRiRBVx8W8PcauvybqtCrDSXhlYKX4UWoxJiO5R3zyD7 svq9VsrQPesCwb3Nqpu6xecfUPyfD2RkRX/Tk39a1YQDQt4KpcJWVnsWPnUhbxGfmL5O 4nwfCdPQv4nN97YWvx9znPz/35R1xPKT5qwEi62jQp+Gvaes6W6vRrC0JtQVK/ec6lJJ YGxu4FYd5CD6vULZq6hxgX5YvKViE2yUj7HOe3jiIYOqS5/3GnPdzURu9sqh4LfIGRoM FlCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:from:cc:to; bh=sPZPrwTqGoK1faWV/42JzE8rfiY6PDdLqkE2a3CVMkQ=; b=CDrjF4806PJvKbVLn0G/qrO3e1ETUm54CexBAltHCkD0ODcshe4oAPQs7L4Z2VTw5i NfuFsdtiAqUI0SKD08Hxu3FX2a0TjDRhLnfZHdm9Ud0b8N/EcskE0A+5psHz/MAZkvL8 GL5D84UU+QW3NFNACACpTb0h7dugqiSoJG/grLY7vRjlTe+SC0nGE7bk1AWAaKmZnSQk Nmffn0ymcbiLglzUfKcuIuhp5VHoZZ+lh2eKCEe9UFAw+P2OiFEj6gXnClRGw5/cYAwS C0X2KxWIVdHEtr9nCNLvNxkC0Nth/XhRUJ9XNWFnDMkmENJ6ei10QaVGmTmDfdtWttpM LnQw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s18si4722125eji.706.2020.10.30.04.40.35; Fri, 30 Oct 2020 04:40:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726316AbgJ3Li4 (ORCPT + 99 others); Fri, 30 Oct 2020 07:38:56 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:2358 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbgJ3Liz (ORCPT ); Fri, 30 Oct 2020 07:38:55 -0400 Received: from dggeme755-chm.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4CN0gy4kFZz4yVj; Fri, 30 Oct 2020 19:38:54 +0800 (CST) Received: from [10.140.157.68] (10.140.157.68) by dggeme755-chm.china.huawei.com (10.3.19.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Fri, 30 Oct 2020 19:38:53 +0800 To: Marc Zyngier CC: Jason Cooper , Thomas Gleixner , From: Dongjiu Geng Subject: Using fixed LPI number for some Device ID Message-ID: <0baed5b0-6cbe-6492-b4af-fe758f461602@huawei.com> Date: Fri, 30 Oct 2020 19:38:51 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.140.157.68] X-ClientProxiedBy: dggeme714-chm.china.huawei.com (10.1.199.110) To dggeme755-chm.china.huawei.com (10.3.19.101) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, Sorry to disturb you, Currently the LPI number is not fixed for the device. The LPI number is dynamically allocated start from 8092. For two OS which shares the ITS, One OS needs to configure the device interrupt required by another OS, and the other OS uses a fixed interrupt ID to respond the interrupt. Therefore, the LPI IRQ number of the device needed be fixed. I want to upstream this feature that allocate fixed LPI number for the device that is specified through the DTS. do you agree? Thanks!