From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B17D3C43334 for ; Wed, 15 Jun 2022 06:45:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237489AbiFOGo1 (ORCPT ); Wed, 15 Jun 2022 02:44:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244354AbiFOGoC (ORCPT ); Wed, 15 Jun 2022 02:44:02 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9532429372; Tue, 14 Jun 2022 23:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=X1rEC5ALaIx0d2HCn0F/BRl3rZtH5sm1gZYoEirDhT0=; b=upfrVsj4EyeIaKq5NLpH7XMypo j2NNMqh6rsu23p/22yhoKdcZgeY+leAu8Zgq5JVbY/t+9dA5Yeb+V3udY6zfXdDsA7Rq4iRAvr9ZT DsK05XBhDP2pNCIjf/ha16rNdqcEASlC73NiN4LJ4GCTXTkLd4KztPoYUHMHiM7U+bc06qfOPxSbb iOPB2V+QEhQunT9QYsLblws9sHf+AUDud35DkLIXL0DKscaLxrU8fg7sxd6zJHikYMjX3ik/g7JV6 yFqVpbk52teNqSXZ8as9qQUE6KHr42FoCv9CiEpoalrhCNDd7vCG/yrn9/HrD9UrGi+gjK6LhVJkt mNGOmPIA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Mkh-00Ctus-OR; Wed, 15 Jun 2022 06:43:43 +0000 Date: Tue, 14 Jun 2022 23:43:43 -0700 From: Christoph Hellwig To: Wang Wenhu Cc: gregkh@linuxfoundation.org, arnd@arndb.de, hao.wu@intel.com, trix@redhat.com, mdf@kernel.org, yilun.xu@intel.com, bhelgaas@google.com, akpm@linux-foundation.org, linux-fpga@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, christophe.leroy@csgroup.eu, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au Subject: Re: [PATCHv2 2/2] uio:powerpc:mpc85xx: l2-cache-sram uio driver implementation Message-ID: References: <20220615055735.53585-1-wenhu.wang@hotmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As pointed out last time: uio is the wrong interface to expose sram, and any kind of ioremap is the wrong way to map it.