Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1754362pxx; Fri, 30 Oct 2020 19:26:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvsj70rEkGeEFIUKGQ3aN14Tj60eRuZxq1Wvm/9xGKxNp11Vn0U9SnjN6UW0H/xD7jr3bS X-Received: by 2002:a17:906:a896:: with SMTP id ha22mr5687580ejb.440.1604111195690; Fri, 30 Oct 2020 19:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604111195; cv=none; d=google.com; s=arc-20160816; b=pS006BdZBWUPekvlCGODNrygSsnQxaNtoHVLzOVZLNCKbOP9RWhG67U3fzZjifpeL8 jKQ+M6Vrz6JWx0VvfVkrHeODPxH1/D5hYfsSBzhOLnRXYGfDVzFRA/kKsO0ZfMVdOySO jHYZ7yXu/l8qBgQN6homrnfMfWTrc4/Mhk3yq+VOWMI/90c43ytW/F1lMCB2sWrh8Kbs 9Vn2+qn6VuxB3/AXHsVn/DwXlxqxwXZnMVFVryyTeBeXj9DBF4tcSWUv7hrd/FbaXEeV a88YzDNUBhn+iLcGJL9F1ypJXP4RBb9cppyyBKjCVJXwW5JKVu0uhjHLoHD2VMwFbud2 ALTg== 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 :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject; bh=8/+EEADvFRF4dYXUQO9TSWIbEsIeYC/YNC7MhsBXCtU=; b=RnuNVjBfgiGNCPt7pSp5HB5Q7DhMYUCjXIvfLL4+33zdnoHKcj8q6vV24EVzVF1HuQ nYJcHRcNZAu3jVX9FtMNG8vugXb4qmTCMQBkft1obp7r3V0hUlnzhr+o2rGotd5oA2Xc MfXFJ4gybCBPxhl7Nf48gKZ+2DG4c5ArmhWS3uMC6j4T0RVHBM5zNYAPIYBDVcTDuY90 5nKc6w+1OJZ2Y5LCMPfgSKvB9dDDS0VXV9VaoAkRgvrinQzCMLApOqwQ/fSet1z71L7l stoNsMZ6+tl9HM2ttGvW0cwPk2sJzTXM9XPllFV++NAuQk8wQavvO1Pq7saTm8wzQ7Vz xyWw== 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 g20si5887089edh.74.2020.10.30.19.25.38; Fri, 30 Oct 2020 19:26:35 -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 S1726099AbgJaCTY (ORCPT + 99 others); Fri, 30 Oct 2020 22:19:24 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2484 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbgJaCTX (ORCPT ); Fri, 30 Oct 2020 22:19:23 -0400 Received: from dggeme755-chm.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4CNNCt2tKDzQjtp; Sat, 31 Oct 2020 10:19:22 +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; Sat, 31 Oct 2020 10:19:20 +0800 Subject: Re: Using fixed LPI number for some Device ID From: Dongjiu Geng To: Marc Zyngier CC: Jason Cooper , Thomas Gleixner , References: <0baed5b0-6cbe-6492-b4af-fe758f461602@huawei.com> Message-ID: <04e31996-6eb8-3bb9-e333-bc46eebe3d7a@huawei.com> Date: Sat, 31 Oct 2020 10:19:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <0baed5b0-6cbe-6492-b4af-fe758f461602@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.140.157.68] X-ClientProxiedBy: dggeme715-chm.china.huawei.com (10.1.199.111) 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. What is your meaning? Thanks