Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp649728pxb; Wed, 13 Apr 2022 09:25:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtVFXjEftqVSG2adFwWlLe7G9LTLdzvfxqH8l7Hg27e5Z/6cSVSTRMM750qX2vfbrt9SpZ X-Received: by 2002:aa7:d494:0:b0:41d:704f:7718 with SMTP id b20-20020aa7d494000000b0041d704f7718mr21916554edr.147.1649867111330; Wed, 13 Apr 2022 09:25:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649867111; cv=none; d=google.com; s=arc-20160816; b=Er0uofGL1h/8NvuxUbwA9iL5PWbvkzqM071JTXbPfkur3iAQppv01Qc1CK0QiRqmzl Jq8ELlBD5/inlBId4cUG44VxQNSN4CgKDgsq2ILdM28vqQAxAiNhvyjHcNZdsZutH4DU n0HNXmSrPVTV0xNrf6cUg9mVbVXslgQP/0v5vKi3XF6khdwkMzW5xQ0OLVwtEszipqvO BjPAn8xiQip7VFsv1D73a8mf46TKUQ48/P3itsS4BBHGeOwE4YNNtIpWG4vKgjIITtpy 7YtE4axs+X5T5Wlu4I+6ASocr/qTwYpQQwqdvRXFSQsW3vuKQdqGqoXzf+Qq3W2vnqjy 2kbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QNdozBr4+cVTQmbD6/gDPj48m0loZwg2sx1v6uR3dZc=; b=AP4bNJ6CQ/6k/CX7R1F/uAuwviu2kFWYK5Hu8Hq1zpORelDkp2NXP/ZawrOyNM/Rkx kXbp3LeDkBDsoxM3dUv7J/woAnPnZeOwppCvMex1w/Fn/StgdKEpWAk+oT6i0ExlQode In/d014Iw2jzHPQnXGAgjjfsZlkfvK3GPC9jXdpqRilQHT6hNwd9z3RC4+LvVkKv/hHv imezCaMTKNG38EbSsuXdxQG1j8Uiu4rlAOaw9wIBSi1nccCvzwl/oddz6CUrR68ytnZt UjSZszAibwPcaBW3Lqoeb3fVK3RH4ukQi/0y688hb/WDhaUvVAQP7fTd64BM0QyaVgw/ DjnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZmlzhwBb; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v19-20020a17090690d300b006e8b12111f2si290477ejw.116.2022.04.13.09.24.45; Wed, 13 Apr 2022 09:25:11 -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=@linuxfoundation.org header.s=korg header.b=ZmlzhwBb; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231337AbiDMHsb (ORCPT + 99 others); Wed, 13 Apr 2022 03:48:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229835AbiDMHs3 (ORCPT ); Wed, 13 Apr 2022 03:48:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1374642ED8 for ; Wed, 13 Apr 2022 00:46:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9BB7A61328 for ; Wed, 13 Apr 2022 07:46:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3679C385A4; Wed, 13 Apr 2022 07:46:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649835965; bh=cuHoYy+Y/Fb3+nw6/VecCrtTq1QAy9QdjGKgoL/poqk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZmlzhwBbGtoURc3KLo63sFtjYdieuPef+ooftDxxxC60JuW09JhI6E5G172AcCZoO HWD3aEqewYBFDouSEwYUkPmd8ohjM3D2nCyRCr/WwqYd1hj/mKVicbvPUFeEFQSWrd F455iUSsCpQvOGd1CRtAzAtXRNuL5YKvRgQA5tjA= Date: Wed, 13 Apr 2022 09:45:56 +0200 From: Greg KH To: Ramon Fried Cc: LKML Subject: Re: [PATCH] uio: make MAX_UIO_MAPS & MAX_UIO_PORT_REGIONS configurable Message-ID: References: <20220413071137.4023184-1-rfried.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: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? thanks, greg k-h