Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp624710pxb; Tue, 9 Feb 2021 08:35:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyW2+l9q6d7fjdv4DUtyCGfQYSKMmepEn6PSdnJyfFa3ZDzeNHRRf1T6jWrpFbO/+aCN57x X-Received: by 2002:a05:6402:202a:: with SMTP id ay10mr23921182edb.93.1612888511816; Tue, 09 Feb 2021 08:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612888511; cv=none; d=google.com; s=arc-20160816; b=tptQzEewwDjMIeHmxv3IDKbFwRWN13q4a6YyxzY/1/E1ya7vFWrv/E4vhGTOtPXuy3 nl3NK83G/cpqSR4+gRfUWdwYy+Q/v3Iq1yasmAYvk/Jsk0I4O5qNrsrruHlZ3/V3z1b+ ydwZfEFvWiWHUBtECW3T1wbcZBVpOLcijnZJZJZNBsKV6FT3alJvQKeIkDADW/b6r9KR huAMFpgi8/Bxvs5O4YFHkWngmpeli67ProR1hJq7RLSjgX5eA4xlhRH6zUE7SzZ8HnVq mpnXymj0qUE/T0z1cpniPoyW7U9NW+52bzmLtPNwa1FTSe3pkkbrPBL6i2jvWLrsTxid 1BXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=1UGvMAcF32S50/J2smuEhB4wmp+rrDZS7NtbPmXsTX0=; b=h3SQZarjfZ/a6L9o8hw1c6q7mKkYA9wOpHDymxEkG5gURdzIKxgK4ZmXPH/hzGq0VZ 81w+tHxU09PDk24FquSKSJpZRQSdJM1upz6174gkcxV2n8Gwbqf1nRbWxpQUesuXY1XQ ORmD0SvnpBwI/vSQ8Urf0UNpEiDI/c98EYteb45yZCP39MwoXq0LquCzzlZXR2/sJLHs NXz22l40nCZnSiO4rac9NexMoD9Om/dyWnMF9Jci9uErfQEff1qiaDH3BiHfuMIun+VH /jLcaD4L1PG6S74MaTcVCPtndO48qbew0UG+ikq2vQJw3ZOvRadbWMM2Ki8Yzv2fLAwI CPeQ== 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 i7si18497847ejo.54.2021.02.09.08.34.46; Tue, 09 Feb 2021 08:35:11 -0800 (PST) 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 S232764AbhBIQaV convert rfc822-to-8bit (ORCPT + 99 others); Tue, 9 Feb 2021 11:30:21 -0500 Received: from lithops.sigma-star.at ([195.201.40.130]:43806 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232633AbhBIQaQ (ORCPT ); Tue, 9 Feb 2021 11:30:16 -0500 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 771796083270; Tue, 9 Feb 2021 17:29:34 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id o3p66GI-atgJ; Tue, 9 Feb 2021 17:29:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 2FAC16083272; Tue, 9 Feb 2021 17:29:34 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id P7xhnPf6_h9a; Tue, 9 Feb 2021 17:29:34 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 0BE716083270; Tue, 9 Feb 2021 17:29:34 +0100 (CET) Date: Tue, 9 Feb 2021 17:29:33 +0100 (CET) From: Richard Weinberger To: Luca Risolia Cc: Miklos Szeredi , Vignesh Raghavendra , fuse-devel , Miquel Raynal , linux-kernel , Boris Brezillon , linux-mtd , Ron Minnich , sven Message-ID: <231074135.378774.1612888173941.JavaMail.zimbra@nod.at> In-Reply-To: References: <20210124232007.21639-1-richard@nod.at> <563952295.378372.1612881357746.JavaMail.zimbra@nod.at> <3a9c19cf-2c25-a3bf-a200-6d223952797a@studio.unibo.it> <443281182.378615.1612885278254.JavaMail.zimbra@nod.at> <1517729157.378701.1612886684264.JavaMail.zimbra@nod.at> Subject: Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF78 (Linux)/8.8.12_GA_3809) Thread-Topic: MUSE: Userspace backed MTD v3 Thread-Index: YaE/ufkj2BTsqe2+5i1CTYJXpKF+YQ== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- >> A simple (but ugly!) approach would be redirecting mmap() requests on CUSE >> devices to /dev/mem. >> hmm? > > what requests are you talking about given that at the moment the CUSE > client interface (cuse_lowlevel_ops) does not expose mmap? The mmap() call itself. Of course you need to touch code. Maybe just cuse_lowlevel.c, maybe kernel too. Thanks, //richard