From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1F7DC1B966; Mon, 26 Feb 2024 11:06:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708945583; cv=none; b=dQaCCIRWAAxHP2CHA33RFDx7YAvfw1qs42ghBVoa7xb9TevFSrKzvDPCNoCm+lRZ9yXj/0+sqa7f5RUd6zOeg38j7Skjnk1xhMp7E9qjVPddRS+AQTWYt0DS8xIYM/1c8k36UyIWVcQfZZ4+pgPkuw/PmJawaNdezZNjiYkTsmE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708945583; c=relaxed/simple; bh=WHdbQnlfcOYTc10sxSqdjWKBT+rdFQUDsUt4B65OTok=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nyrMZg/jy31D+tfOZnQqBlW9shit5N6MZ986/WZJWx7GHvpGEuiROWQ2nQ9/5633VUHeuKQAu8ZWdI8j3n3YrYIbjr6dfQwUdDsduiMzvljY8ywkgHyDIgs1eiV4GmP/1fpOqrPmzPIiUAiqvraBOsViLMj4fe43WVw521jFu68= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=p1MrETxd; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="p1MrETxd" 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:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description; bh=WHdbQnlfcOYTc10sxSqdjWKBT+rdFQUDsUt4B65OTok=; b=p1MrETxdo6Glkfbn+2vVS2RuEW rinH2/GnYT9ViW/GlytDBwgUUtTmnis3fU16E3YJmEwQC9ppSayw//xMK1gh+p4YTgQjTMFqJHEq9 EGHfRR1+FVVXnJBKnyD5CGzrLHZzFN8poH8dC8IOvgs/LoXfchH+F3fORvbr2AItKgENhoT9g8Dau OTvOqDvrbmYPADRsOV309CtAb8CVNuHcxv5itsGIy4yAQHEKYP1h/QtwFTlQOcl48BVWZwdRfhtWM 5j+LF4wnMJO5aqsNE4p3awTDT0ZraCyFA+kgCejP6UdgG9Dot1X7WSItWQtst1GF1lj+UpLVZen1r 2VWNAtIw==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1reYoF-00000000Gzk-46br; Mon, 26 Feb 2024 11:06:11 +0000 Date: Mon, 26 Feb 2024 03:06:11 -0800 From: Christoph Hellwig To: Christoph Hellwig , Will Deacon , Quentin Perret , Chris Goldsworthy , Android KVM , Patrick Daly , Alex Elder , Srinivas Kandagatla , Murali Nalajal , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Philip Derrin , Prakruthi Deepak Heragu , Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Konrad Dybcio , Bjorn Andersson , Dmitry Baryshkov , Fuad Tabba , Sean Christopherson , Andrew Morton , linux-arm-msm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org Subject: Re: [PATCH v17 19/35] arch/mm: Export direct {un,}map functions Message-ID: References: <20240222-gunyah-v17-0-1e9da6763d38@quicinc.com> <20240222-gunyah-v17-19-1e9da6763d38@quicinc.com> <20240223071006483-0800.eberman@hu-eberman-lv.qualcomm.com> Precedence: bulk X-Mailing-List: linux-arm-msm@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: <20240223071006483-0800.eberman@hu-eberman-lv.qualcomm.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html The point is that we can't we just allow modules to unmap data from the kernel mapping, no matter how noble your intentions are. 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5806C48BF6 for ; Mon, 26 Feb 2024 11:06:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mQdvvB+1tqBSSr4ipgzTvZokgqkViKvZIvdjK+SftOs=; b=ZRt/3DJIHLeF1K 8BhQwOxaFB0mmX4KSU1oC1yGmRr3FwbEpkBwOmWYgL6b5RPs75ctSK/uAAhMezWv6rF7mUHyLvhMy r57LcoQ/aFRQ3JclMGkIzfDHvGiwcJYRyztftYSuENEurWbqX4WlMkJvytzKaQMkbid+P4R5S0D49 ajgMk8A6Bd6MtYvu5kRAXxZ03ZV2FR2m/9so3Mz7MYBAqVZyf2pZKrcTvbqx2RpDyTIjIURIJ/4+c 50fZCa3Ny8yTg1I72bXLHuoXkYDl/YCw3543x8t+yqJr/pXK54EvDp7bc5X/RpAs1+Oadg8DYdySg UGtyIUMmnJluAw71G9sg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1reYoM-00000000H1C-3gsF; Mon, 26 Feb 2024 11:06:18 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1reYoF-00000000Gzk-46br; Mon, 26 Feb 2024 11:06:11 +0000 Date: Mon, 26 Feb 2024 03:06:11 -0800 From: Christoph Hellwig To: Christoph Hellwig , Will Deacon , Quentin Perret , Chris Goldsworthy , Android KVM , Patrick Daly , Alex Elder , Srinivas Kandagatla , Murali Nalajal , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Philip Derrin , Prakruthi Deepak Heragu , Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Konrad Dybcio , Bjorn Andersson , Dmitry Baryshkov , Fuad Tabba , Sean Christopherson , Andrew Morton , linux-arm-msm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org Subject: Re: [PATCH v17 19/35] arch/mm: Export direct {un,}map functions Message-ID: References: <20240222-gunyah-v17-0-1e9da6763d38@quicinc.com> <20240222-gunyah-v17-19-1e9da6763d38@quicinc.com> <20240223071006483-0800.eberman@hu-eberman-lv.qualcomm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240223071006483-0800.eberman@hu-eberman-lv.qualcomm.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The point is that we can't we just allow modules to unmap data from the kernel mapping, no matter how noble your intentions are. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel