Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1598540rdb; Tue, 20 Feb 2024 00:43:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVDRR+qvYpn8+R6mPNQvaz9DvMU//awwDe62orzDH1/RJ0oQC9Qz1GI3hH4LRZCEHvIzdEWxqjf0VqDqYrttrltzTiBsTolc8+WY/yp4Q== X-Google-Smtp-Source: AGHT+IFVHm3+l6qa2KpA/hamYIGMCg1E+pE/DRNO7Ui8amkkDTcTIsG25kfyCUE6SeeC0gLITlNu X-Received: by 2002:a05:6a20:b21:b0:19e:48e7:e664 with SMTP id x33-20020a056a200b2100b0019e48e7e664mr10486663pzf.31.1708418585473; Tue, 20 Feb 2024 00:43:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708418585; cv=pass; d=google.com; s=arc-20160816; b=aBFNFXaDaSvYwz2l7LexhgzvUpnqX3IQ+LLuBXLodYXSInNVI1gMzL96Oun8v/tQxe ynufOoXAwmR+5g1IGyLnhQN+9220BEvO4yD+j7fXs+M6K0ONH/be6CHld8QXUNWlxBc/ V0XsPLrj3o2JrEjOXzu6p88jqcVQZPKZ06h6b5W6PfTbbkLSkmZe5cdxCkw0cxlkcE5D lUyRA4GDnZhaIipNHT0pxgGKqxNLBTKaVAkvA6VZnP4JtpYJgVrlg0fmFKgIFuZ1wy96 J3FIsnhfffNyvW0RXdTuPEKnbN6quUGb6fhGr/QuRbEfjZzDmhJLLcdVyr9ONuab8c26 L2FQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LcKgxdArhSMjf9Yah2uH8+S7/eDtAfYT+pWK7kLtvgY=; fh=Or9owNrDYMzqYvKUK5wP1jeu3QqWpl28yvTKVLMU9Kk=; b=I8WeO51exRM5EtXrrvIdfcJ7xM8xjXkWKqHIOIKkLSpcmuw7104NAU/YsPG1GQ7UJG 8nJSFDisxTPoo9v5tIECU7krz/1G5r+lUOD/XUczF7kNq1l/4BiqhDkZJdH4iU4m71gw SI0rVYdnedA9TljEQFny3w9vnaQDy6BnVpGK9E0TJss+atBQ25V7RfmfQAwdhNT/+itG C4vlcsmiPMBmrv27xxPVRuX6m6KPVZ/YSq8uiSUPYJBDxt9gqlYJwpvg/DAWlHsHoWMc 4r28FolLP7HEsSxDqULxg3Ikssxe5RPFKUgzjJlsaFBPJx8akYwMblOjO41B/2qo+Sv7 LYyA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AvRrnv1v; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72589-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72589-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u4-20020a17090341c400b001d981d92948si4778967ple.53.2024.02.20.00.43.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 00:43:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72589-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AvRrnv1v; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72589-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72589-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5905B284760 for ; Tue, 20 Feb 2024 08:42:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 073465D731; Tue, 20 Feb 2024 08:42:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AvRrnv1v" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22C585A0E9; Tue, 20 Feb 2024 08:42:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708418540; cv=none; b=HwBMrZAN0bgCLqBZCelZBsEZ20u/EGgYyJoe3rPwpvi0W1ykJBYabHZOMUddQKLO65YLP00KUO3/ni4dhiWj+QIyqIoz1f2F4Pv/HmZv32a5+YAExSgIHEfa3ntJvLQo5gJa6lUGPE+p3KF19ISnfZltjJv5xmfOEQRFP0Bp7to= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708418540; c=relaxed/simple; bh=Fs5/rbAElEAfIede4OYqsYTavZtu15762Va+NBHML18=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HVi/cP5PJESzQk3rTZ6SJEIxw4asrqH/VdWfS3B5f5vUdDXBFACTW6at7ORpKnzsScvMTHcaqg3F3yOm6iMhF+sUH/pSpMOEfpzHXPLw/EvHNlvfJ9RP4AyouQx/BJicmPRriSWDE7Z7UUF4B+71d47w9K4yZCvo1laFyBAN9/o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AvRrnv1v; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DF5DC433C7; Tue, 20 Feb 2024 08:42:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708418539; bh=Fs5/rbAElEAfIede4OYqsYTavZtu15762Va+NBHML18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AvRrnv1vaO93pL8t5tolzacV6QkJ59bPs4hD2Oh/AGFUEGpUHPZ2TLteoVYjFuHgx 5jt7uNUw7sPxHv9WGZZU5yzeJafRq1X2P/0TBG4j92vGh0JRDGOZ8upVaR87ftJTkA wS3odx0BJfSZgokJd3vuQcWQQFGh11enM1Y3g0coMcDaBLRQ96Xflv8vv/Qm9MU0Aa JIp/2pQMYb408hVpSvdcKwWhXUvV2g3Nsw0TnZbBJnYoJjsrO7iX6UBiKM7b2RzbWp 3vh8bLHoLl4Tg/M561+cjBR191qh3PeIuOnEcsD4AVuc+fHO72v1+GRy9kguEXYIx1 Yi+wn4GUT5D3Q== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rcLhh-000000002hC-1gp8; Tue, 20 Feb 2024 09:42:18 +0100 Date: Tue, 20 Feb 2024 09:42:17 +0100 From: Johan Hovold To: Manivannan Sadhasivam Cc: Krzysztof Kozlowski , Johan Hovold , Bjorn Andersson , Bjorn Helgaas , Konrad Dybcio , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/10] dt-bindings: PCI: qcom: Do not require 'msi-map-mask' Message-ID: References: <20240212165043.26961-1-johan+linaro@kernel.org> <20240212165043.26961-3-johan+linaro@kernel.org> <59bd6e54-0d5d-4e1a-818a-475a96c223ff@linaro.org> <20240216165406.GD39963@thinkpad> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Feb 20, 2024 at 08:41:25AM +0100, Johan Hovold wrote: > On Fri, Feb 16, 2024 at 10:24:06PM +0530, Manivannan Sadhasivam wrote: > > msi-map-mask is definitely needed as it would allow all the devices under the > > same bus to reuse the MSI identifier. Currently, excluding this property will > > not cause any issue since there is a single device under each bus. But we cannot > > assume that is going to be the case on all boards. > > Are you saying that there is never a use case for an identity mapping? > Just on Qualcomm hardware or in general? > > It looks like we have a fairly large number of mainline devicetrees that > do use an identity mapping here (i.e. do not specify 'msi-map-mask') and > the binding document also has an explicit example of this. > > Documentation/devicetree/bindings/pci/pci-msi.txt The above should have said "linear mapping" as the msi-base is not always identical to the rid-base, but you get the point. Johan