Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp372746imw; Fri, 15 Jul 2022 05:06:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v82fpvSMmF4NSpHdE/vBDqZHJ9xVAa5Z5h32mEpWxYLAOPW3h5TBRk4ESpekBeHLtT9ahw X-Received: by 2002:a05:6402:27c7:b0:43a:dc34:c429 with SMTP id c7-20020a05640227c700b0043adc34c429mr18240988ede.391.1657886807940; Fri, 15 Jul 2022 05:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657886807; cv=none; d=google.com; s=arc-20160816; b=TeQskwqrf3kObSewFcQ8tdrp+JJuEE+kNYPa2SEfR5FqpW16XRwzbxInF2DayhviT/ GC90Ht8ieLGeEXaRFCo2q+/A3n99cgYacT2SjELA+HmrxN3ehNtrhmn8pkLiWmrRpdLk p/b0fVXGULoe2LEuh/7GUDLuJ8dpjbKIKXGbcipzNUN2QvR/JyGN6FA/4KqtKPz2ny5y 2Jb4go5P3JPXKYD2EhIt5IAuHNYz3LojpDOTwwlBPWqacQC+0cFtjTCBw0fdAor7GiHa FpK2slrtfHHMNrtAq4t64RPR/IcC+rgkLPdvSX3xqlEsPBPBac3xkI2vL0VzyBJCfusF nfDQ== 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=b21MBDywATAF9iKnHn8K4g29S6bhnRveTjLWuqAdwwo=; b=YTejFy+sm7NKvYCdcUy7KKOOaV6yNGYohrnKrXsa9G6TKySdDxo8cHO6QK7ruO7lVV wBjy0UY9R0+xZucFrqvGw/aa9/uuMk624hfo4fd2mGzBhwir7FSShdQMUOaJvRu1JmHH Ik4V3r0lrKO17XbdpId7FHLFalT7kInxVFDBP89SFRimJpwznU4sYnCiqcIBDbb8cv9D 8rH+crUq1tok8KZO9RrPNH+fFSwPlnaVEIuiDCsO55+p9TsemwZh448w0E5jCs1hTjvV uYW2uwJk+zRYsP/0etgWxWQDhqZ3BkxQciJFva2cGsp/KYpm8qGBXPd1sf9OliGDSRkp J3og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UZSld7G0; 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 js19-20020a17090797d300b006fe9db42071si4723019ejc.720.2022.07.15.05.06.13; Fri, 15 Jul 2022 05:06:47 -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=UZSld7G0; 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 S232133AbiGOLga (ORCPT + 99 others); Fri, 15 Jul 2022 07:36:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbiGOLg3 (ORCPT ); Fri, 15 Jul 2022 07:36:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9763528AB for ; Fri, 15 Jul 2022 04:36:28 -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 5360762283 for ; Fri, 15 Jul 2022 11:36:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D6FCC34115; Fri, 15 Jul 2022 11:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1657884987; bh=e3HNQC64nBw2WyevXyr595j5tzUxSJ88G/WsLfWoL70=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UZSld7G0SWHW0Oi63abM24xuPXpgBXdvW41h//p3dSvuc2AwZ9/eCnIj/4obIfuKa j2WmowKaA5WSBtmqpilBPAi33MYryZSIWu1is9yI6tmIeSmKcEyw/R5b3+cfxpnj0J koPokUicHEnwbeeRcC4HHkB561lPtzmPDcdyIzYM= Date: Fri, 15 Jul 2022 13:36:24 +0200 From: Greg KH To: Matt Hsiao Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, jerry.hoemann@hpe.com, scott.norton@hpe.com, camille.lu@hpe.com, geoffrey.ndu@hpe.com, gustavo.knuppe@hpe.com Subject: Re: [PATCH v2 1/1] misc: hpilo: switch .{read,write} ops to .{read,write}_iter Message-ID: References: <20220713175452.4221-1-matt.hsiao@hpe.com> <20220713175452.4221-2-matt.hsiao@hpe.com> <20220715085557.GC15061@blofly.os1.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220715085557.GC15061@blofly.os1.tw> X-Spam-Status: No, score=-7.7 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 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 Fri, Jul 15, 2022 at 04:55:57PM +0800, Matt Hsiao wrote: > On Wed, Jul 13, 2022 at 08:28:24PM +0200, Greg KH wrote: > > But my main question is I have no idea what the changelog means here. > > What is a "dependent driver"? What does "exclusive" mean here? What is > > a iter variant? > > There is an out-of-box driver which is not in the upstream kernel yet > that uses kernel_{read,write} to access the hpilo driver for talking > to the iLO ASIC. Before commit 4d03e3cc59828c82ee89 ("fs: don't allow kernel > reads and writes without iter ops"), kernel_{read,write} would call the > .{read,write} file ops that hpilo already implemented, so there was no problem; > But after that commit, kernel_{read,write} would only allow the .{read,write}_iter > file ops, and disallowed the coexistence of .{read,write} file ops. Accessing > hpilo now fails since it does not have the .{read,write}_iter file ops. To make it > work, this patch implements the .{read,write}_iter file ops and removed the > .{read,write} ones. For obvious reasons, we can not take any changes for any out-of-tree code. Nor would you ever want me to do so. So we can't take this, sorry. Please work with your management to get the drivers upstream and then we will be glad to take these types of changes, as they well know the price they have to pay to have out-of-tree code. Also, your management knows we can't take changes for out-of-tree code. They know better than to put you into this uncomfortable position. This is on them, not you, to resolve. I suggest you have a stern talking to with them as they are at fault here. good luck! greg k-h