Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1271278pxf; Fri, 2 Apr 2021 06:10:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDUPLJ9ICyxtXopyfzuImoW6B8WwnJ2vASMvY3H/kFlkALv4QHn7rxYbXS/c2c11KUVgiL X-Received: by 2002:a92:da05:: with SMTP id z5mr10537700ilm.83.1617369019140; Fri, 02 Apr 2021 06:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617369019; cv=none; d=google.com; s=arc-20160816; b=i4K6dju/XjhxS3fuDcetpyJL0vLWGwqZDdKaEmRsDYA0FVKRhbj9Vk5rnV/5sNhQlm PZSJLourTObMug8sfWC74pHR3Z5P21b8jJPnOJoKdlYxMl5T9tNaM4PBQ94qifxUOiIb T+Rbwd8R28xhPANWAiXg9LJGvv9zamJEQyUfoRaA6Isnt5nmpM/e0gl4bmjRaJ5G/ESw B129U5gwOVDO3a0mL6uVMBqtrlg5JDCoOKSeaTk9Uj+OpvzhWkN17RXJzfPRzNgtXr3M LkB4LdHySd+SUgpb2GY5jDBee6k3bdf89NAoZfqX0wUychyyEKS5PvQJkT+er/RiII2E Qy2g== 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:from:references :cc:to:subject; bh=2LfYpZbq3HT3MQARWL2tmBUxC4D9d8ktoYTppYBgDzI=; b=hlGEGRXVvIVUkTmdU8UbWGKPm2DcUAqtgyzwDP1FfIqosopKMCjNcgCuJETBl1HA9P 7p2gN3ZkXiIZDg9mLmCE9iAakZVRCGR1Im324cNRUGviSKcmNqcwSWBI31JlYkg6UM4m 0ZvWHblicRevR3BNEVFn2cCAa3O+Moq689x2pxVjVXQWCevrhBZ21zgZy3RjvscwTkEQ Oafc3ndlKDmt6gdLPsu5b9MqnaHeXjmju3K9/aBPZZgaBefvvTVVdxrbPQWg1HSdHpt/ OHHRpgeuAo0oO4CP0wOhQniDIrEszr2JgoG9zAPUm6W4+wWnN5lXpU7a3pbBB/14o+aJ 22Yg== 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 w18si7307439iod.102.2021.04.02.06.10.03; Fri, 02 Apr 2021 06:10:19 -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 S235330AbhDBNJs (ORCPT + 99 others); Fri, 2 Apr 2021 09:09:48 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:48029 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbhDBNJr (ORCPT ); Fri, 2 Apr 2021 09:09:47 -0400 Received: from [192.168.1.155] ([95.118.52.208]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N8nnU-1le53k17OI-015muv; Fri, 02 Apr 2021 15:09:14 +0200 Subject: Re: [PATCH v1 3/7] PCI: New Primary to Sideband (P2SB) bridge support library To: Henning Schild , Bjorn Helgaas Cc: Andy Shevchenko , Wolfram Sang , Jean Delvare , Lee Jones , Tan Jui Nee , Jim Quinlan , Jonathan Yong , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, Jean Delvare , Peter Tyser , hdegoede@redhat.com References: <20210309014221.GA1831206@bjorn-Precision-5520> <20210309094252.396b7f2d@md1za8fc.ad001.siemens.net> From: "Enrico Weigelt, metux IT consult" Message-ID: <3f33a178-3002-e93e-89f1-8cf05097da25@metux.net> Date: Fri, 2 Apr 2021 15:09:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <20210309094252.396b7f2d@md1za8fc.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: tl Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:qZV6mIhgXObuBpZgSvHSXjywNlqq9WbY2cBpn38k0pJsi3MaE5F yWBotVtrQZZEYNtw61C35krJaRk0sP16OqempjfG+mHz+0ecg/yCGr9qVSmrnhbqd1zly25 fqNTaIoRGVaMrz/HLMe1VQaSJC+wd+5fuGvqAO0qy4GmdQJrSz/Hsqp+FQLkEjPnigmuz/g kPmErT6S/m130vB4tit7w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:NW3GNz6Sf+U=:nXaOc7MCz6gkRbVCQEeuJZ e1fDhARtYkTYv5YNmn9V3SKfXGXZ1thv/97ZnkteZf+MkTSN7flnmsqDuHMiq8IswWnAXbi/R QdXBOzxFJ7c/KyykzRHsn4Pk/1hZNOT66Ltdcyi3+besb1ZMSn2CPs2MD3krRvdVH/10s8JgQ ijCO9l1omcVzbmYIQ/MHivT5JDRPCMblaZ5q4JyCTJi7b5vGw+PivMrqMQU+Bl0ganIVHFzTy dvTRc5uD+s4NZJ4D0mpA9e99p98Np3ZFr1PONzoPjTGvIUBNqeio3gtquQ5sMdrWf2J7cCZXo 2XE34uPP0LsOqkl8Pk8PwJgHgxVwVI9+0uLpAkFJVA+IcSZLVwqnIHwE943z3RocqD7J5LYrC xwdxsGZKfQTwVD1Sm/7UC3ikVtkbC6PJgxCMZbpIBIAsFzpE7HzI8Q8kDj1bk27DzY3nxj3W7 uHQu23Hv/5N5MeK6c088L/dPT3s278QXRbMoZmxEYL7HNYOMPKnM Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09.03.21 09:42, Henning Schild wrote: > The device will respond to MMIO while being hidden. I am afraid nothing > stops a collision, except for the assumption that the BIOS is always > right and PCI devices never get remapped. But just guessing here. What could go wrong if it is remapped, except that this driver would write to the wrong mmio space ? If it's unhidden, pci-core should see it and start the usual probing, right ? --mtx -- --- Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren GPG/PGP-Schlüssel zu. --- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287