Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp376623pxb; Wed, 13 Apr 2022 03:16:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbjGidZKpOe9xMyU234YOfcs/p9yV4WSD3qB/tOi80JH86cn8sIe4uoDC39LVXcmFTR6Pf X-Received: by 2002:a65:6753:0:b0:385:fa8a:188f with SMTP id c19-20020a656753000000b00385fa8a188fmr34914101pgu.499.1649845008472; Wed, 13 Apr 2022 03:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649845008; cv=none; d=google.com; s=arc-20160816; b=e6yk6y4DzgGeRF7UCnxdWGNoM1c6pcXu3EqvGj14PbhOnIlPhQxPwEXhxyeiLKH+l3 1rlJO/PEWxC+QSiryMDOkTkL+9ezY5S9bc3DThW/I1pyQ1AUk3Z8zQ6GJUrt5bSQ9jHF AIY/XDFOoDxARSQQ/MVGkiKtFR3g3AvCF6A6waYuSJpUabanGbwKJPMkeBn8knmRZx6h a2u0O3xNwxJYZyPskOLWPR6Z6Vkf8ONPCjyBXFViMzc/Ky6p4LDUSSVv0HOCRKtwokog zyURaozBSXe96mdL8bhGf1ZtL5LQdSl3rfilM+Fpqub3HfmbUJqPW3I9/LRB2zGI1Lqu UN6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=saiO3xozlJfnjeF9niNY9jgioqx8n3ye+SErnO1w2gs=; b=P7XkFKfKsau/0YoQH2aPLadWNXk09okNzl5JDHZmP5UCTWl8KIcooIed9TjDBMuBh0 3UYOM67Jine9Uaey+C0WeKifTuPiyEcqxi6EVCjNQrYlx1zFLi0YzpHfhgQgdNJ5txQS O/HADgQf1At6SgBLajLGf7+uTU1DifPTpzkf9qH5XfPPJcLjNY4k525Vc1l8gFDNg1A2 YM571cEi+JNdOgeHKgY5Yu/nk1MrtkM4bFSgmgTSMj0K1iTpEhqaLhkDN7fqDw6ocJ5s yOLtxSLRvJzB0vO+LSQ8Vm2Qa2YZYy+aFfM4nNpN52CFP3YzpMb2EbnnMsP53tFxcUdf cixw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=D0vsNOnL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a17090322c800b001501189ca21si3626426plg.1.2022.04.13.03.16.34; Wed, 13 Apr 2022 03:16:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=D0vsNOnL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232864AbiDMH6e (ORCPT + 99 others); Wed, 13 Apr 2022 03:58:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233630AbiDMH63 (ORCPT ); Wed, 13 Apr 2022 03:58:29 -0400 Received: from mail-oa1-x30.google.com (mail-oa1-x30.google.com [IPv6:2001:4860:4864:20::30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39E3A4DF75 for ; Wed, 13 Apr 2022 00:55:59 -0700 (PDT) Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-d39f741ba0so1170531fac.13 for ; Wed, 13 Apr 2022 00:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=saiO3xozlJfnjeF9niNY9jgioqx8n3ye+SErnO1w2gs=; b=D0vsNOnLvDkZjbwXhpdTabtDhPyZOg8Y1ofMWzyXe0Mb7aGjTX/+uylpL/S67Htvx1 /dWN0ijx0A9gGD8SDAEi3uu4jZFSaB+JR45xYRUHI0IyYVEgNKLwFIzOLkbKOcW4r7DG D2fkJs0SlXOi2ulq9gSAulNu7N8CdNeJ4bJVHYCWjkmE3pFEEia5V2e71CYHYduqDvXL XfNOCxU8haNVm5TKgtvV2RYv/3bS5Te6RIH0QN+lyx6WOrXAkYshakigN33Vuvn4I4F2 DwXDNh6Y8QSoLVZjGQuymj6LOlpr/vXOd+hzx+fbY/xXIebIZ/sH8YZ6TZG0NGMK1W5Y +XDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=saiO3xozlJfnjeF9niNY9jgioqx8n3ye+SErnO1w2gs=; b=tq2eP+n8SM1eQN0xFv2o0ODmzYhzFUCqj5zlifSJLArnKFEycR/TOKI/uqNOYPDBjl rNHOllLHxNPFZ0CAa3jTLPsDWrFLNPjRnTtxgLk6fX0j7lAQIKcbk+ehSFMPtq8aNxnK Ohcs8QX2F4wT1hvP0FGQBi9kpej2WtfnfVjTjYJ9oxyf3QBVmusSqGGM6Uyl/LAS0utx E9YZtxuWX3LWb8P4bO1VJAP2szjFqAchFyDhuzVJeOXfaDDMYruk9hAabPiMJyrgTih2 l8ZKtGZc+x7J8QshCfKakMi94Jvs9lOslaow6eXZ47mcE8u+r+Nj5ypx30zREIURwtA3 iYIA== X-Gm-Message-State: AOAM530Llx02eUXk5v7xWZ4leWTS93s/nqOryeH9SPfDSM+pp6kx0CzH IC4ePDif1dOOTjzQfXqmsfbp8kxKg5qaahx36AMsMlcJKG8= X-Received: by 2002:a05:6870:b4a9:b0:e2:caee:a38a with SMTP id y41-20020a056870b4a900b000e2caeea38amr3793027oap.138.1649836558607; Wed, 13 Apr 2022 00:55:58 -0700 (PDT) MIME-Version: 1.0 References: <20220413071137.4023184-1-rfried.dev@gmail.com> In-Reply-To: From: Ramon Fried Date: Wed, 13 Apr 2022 10:55:47 +0300 Message-ID: Subject: Re: [PATCH] uio: make MAX_UIO_MAPS & MAX_UIO_PORT_REGIONS configurable To: Greg KH Cc: LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 13, 2022 at 10:46 AM Greg KH wrote: > > On Wed, Apr 13, 2022 at 10:40:09AM +0300, Ramon Fried wrote: > > On Wed, Apr 13, 2022 at 10:28 AM Greg KH wrote: > > > > > > On Wed, Apr 13, 2022 at 10:11:37AM +0300, Ramon Fried wrote: > > > > MAX_UIO_MAPS and MAX_UIO_PORT_REGIONS are hard-coded to 5. > > > > This is not always sufficiant for some drivers. > > > > > > Why not? What in-kernel drivers need more than this? > > Obviously kernel drivers don't need more, but I'm developing a driver > > that needs more. > > Great, let's consider this change at the same time you submit your > driver, otherwise it doesn't make much sense now, right? NP. > > thanks, > > greg k-h