From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pdx-out-011.esa.us-west-2.outbound.mail-perimeter.amazon.com (pdx-out-011.esa.us-west-2.outbound.mail-perimeter.amazon.com [52.35.192.45]) (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 E2ADA379C53 for ; Tue, 12 May 2026 07:50:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.35.192.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778572234; cv=none; b=aExu8pHIS32bu6BiXH0k3+wpn7j6BHvvEM6LWQje3eFMF5+1ayanNqJ03pDPeyumG27pADoq56MUJxsOIWsdVC8XehUwxGkIge0Ycwc5nn92kHuMShehy/O6hnrPYgNFRXDxvh7/ffwzKBJAaS4Q++34G6g9zfXlqutUqDkVzVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778572234; c=relaxed/simple; bh=RjuDofDRvFxpfsbWKj7r3QAjw9MwWtew/9XOkHF2lEs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jbf8c8FMgQ6TX6HaIQJ29Wr8UL4XxRdg9pYNzDtABgr78SKgZ7dRB0TcyOKj0WRmfb68jocqF2IGE8PCe4epqk7KOBNdG+fKNo80ZEeb4Ga1zCgw57/kzmiiR/DKtNr2yTrRTsvK1Ytm+xQklh/bniuX/l7fPTipyiT7mEfDgcM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com; spf=pass smtp.mailfrom=amazon.com; dkim=pass (2048-bit key) header.d=amazon.com header.i=@amazon.com header.b=Mc/r3hpI; arc=none smtp.client-ip=52.35.192.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=amazon.com header.i=@amazon.com header.b="Mc/r3hpI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazoncorp2; t=1778572232; x=1810108232; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RjuDofDRvFxpfsbWKj7r3QAjw9MwWtew/9XOkHF2lEs=; b=Mc/r3hpIR6MtdDKGDkPBOo8WByhl6sEieB/kJjhVrv68RgIyOYgBqL61 Ih8l2DM8yXaaa5Dk5A4BK7XXvsFmewpZ4fi/T89PPE2bfpm4tRtpbbZQc JdA1ZgHGJXbh5P/ZSGdN+kH+SnTXXMaPvH3nKO3lTx+8Y7OkYPRo8Q+WI KCjPWY2iqDQ3ms83TmIH5FZqw6J0roxZ977ciNXC82NV6Vr8WsxesfMrt C6NtwpLYmXcWOhyKcdUnDX8diBI86PIACd12qM0bZ/bG5T+F3IJB1MmhR JSwSUmCN6hyo4EaLmi7rQrM9yIwG7ksyz5rcsbimFlmS8uWU1FG9SuQyr Q==; X-CSE-ConnectionGUID: F3r4mwqQT/CE/oo68GoFvA== X-CSE-MsgGUID: FhlvHFA5QHaFvEy+O3cbDQ== X-IronPort-AV: E=Sophos;i="6.23,230,1770595200"; d="scan'208";a="19203980" Received: from ip-10-5-0-115.us-west-2.compute.internal (HELO smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.0.115]) by internal-pdx-out-011.esa.us-west-2.outbound.mail-perimeter.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2026 07:50:32 +0000 Received: from EX19MTAUWC001.ant.amazon.com [205.251.233.105:27954] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.8.77:2525] with esmtp (Farcaster) id 861e83c7-b15e-4eae-b8ad-572e02e52988; Tue, 12 May 2026 07:50:32 +0000 (UTC) X-Farcaster-Flow-ID: 861e83c7-b15e-4eae-b8ad-572e02e52988 Received: from EX19D001UWA001.ant.amazon.com (10.13.138.214) by EX19MTAUWC001.ant.amazon.com (10.250.64.174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.37; Tue, 12 May 2026 07:50:31 +0000 Received: from dev-dsk-ravib-2a-f2262d1b.us-west-2.amazon.com (10.169.187.85) by EX19D001UWA001.ant.amazon.com (10.13.138.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.37; Tue, 12 May 2026 07:50:30 +0000 From: Ravi Kumar Bandi To: CC: , , , , , , Subject: Re: [PATCH] resource: export iomem_get_mapping() for loadable modules Date: Tue, 12 May 2026 07:50:22 +0000 Message-ID: <20260512075022.48671-1-ravib@amazon.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EX19D037UWB001.ant.amazon.com (10.13.138.123) To EX19D001UWA001.ant.amazon.com (10.13.138.214) On 5/11/26, Bjorn Helgaas wrote: > Which endpoint driver? Thank you for checking. It is Marvell PCIe driver for a device without a hot-plug pin routed to the CPU. The link-down event is detected by the in-tree Xilinx DMA PL PCIe controller driver (drivers/pci/controller/pcie-xilinx-dma-pl.c). > Why would the endpoint driver map iomem to userspace? sysfs exposed BAR resource files are mmap'd directly by a third-party userspace driver. > Well, we need to see the user(s) first, but once they materialize this > begs for a higher level API. Until then it is moot anyway. Understood. Thank you for the feedback. We will work on a higher level API proposal and get back. Regards, Ravi Kumar Bandi