Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4829929imd; Tue, 30 Oct 2018 08:02:59 -0700 (PDT) X-Google-Smtp-Source: AJdET5fm6KxKUh+sYXeiJIVxW+y9Zf7A1uoqWRuQqXds4xWgKTQOcH4I4mUEaIMm86Kgt4TFAHJU X-Received: by 2002:a17:902:8a4:: with SMTP id 33-v6mr19191799pll.304.1540911779391; Tue, 30 Oct 2018 08:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540911779; cv=none; d=google.com; s=arc-20160816; b=v+1MR+xhfRbIwJW7L47mwtQyELA8aHfmTE7mD9jGmpwoUtJO6NpZIMJxowduPkqQFn eWmFPMIpGwKeUtmt1b1SpyJMu+V/5I5oeSGeuEt2VYTV7lvruNG+qBMzfe4JgU0lkjOT 3lw2A928meCglvOCJ2ucTjd5t+/7o587Ng8cCfGA9N68p7XiMQb3BVyDw5itrQNIpdYB Ql7ZhyiYDdHpnz/3472tPOW+pDIWHqW1JwNhqll3NeI0UdhrBHicHIwXF34270ziEDsu Ccl1HemuDB1axX5/iIz+1EjeTYG/xTJZmGJbW8/B7L316cp3xVkPEldw8Yc1hSi+QvB0 fumg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=5zuEKVeEbEPrSqMbfgdyn+Hk22TQHKrfyEmVVVYxsoI=; b=fPeZccPrSeC42qSc8zbgRkzkm1qRNHXfzO1rZ7H8YpuDy0+P2N41HhfPyOP2ugafrn sIKHl4OkqXG0YYYwf5T0ceV68xgdgzPgJYhblr/59nMvtiNpBMO9Hr4IDKd0U2oAI2Z2 89ZjrmEV14amW90cMqgSKANixf7oCoJ6GRYV7f0BpsRa1akj74JVIW7FvdJEqhfqjDJu 628C654KoEvxK3SCysfpHoZ/qhRDv/aEkZeUdFu8VUAnE+7cICyh9Fx5DSrngjm4of7k RoOe30Ive1BoodcitqsZm/ugxamYzTVElrZsi/VzhazGIZd2dojcx60jsUnCKeZQmPGJ 5RJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6-v6si24078989pgl.454.2018.10.30.08.02.39; Tue, 30 Oct 2018 08:02:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727603AbeJ3Xzq (ORCPT + 99 others); Tue, 30 Oct 2018 19:55:46 -0400 Received: from ozlabs.org ([203.11.71.1]:56711 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727430AbeJ3Xzq (ORCPT ); Tue, 30 Oct 2018 19:55:46 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42kvnZ4y8Bz9s9J; Wed, 31 Oct 2018 02:01:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Christoph Hellwig , Benjamin Herrenschmidt Cc: Christoph Hellwig , Alistair Popple , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/npu-dma: Remove NPU DMA ops In-Reply-To: <20181030132401.GC30783@lst.de> References: <20181030110203.27257-1-alistair@popple.id.au> <20181030125841.GB30158@lst.de> <30359cc433e97739d93e13717b2897e462895097.camel@kernel.crashing.org> <20181030132401.GC30783@lst.de> Date: Wed, 31 Oct 2018 02:01:53 +1100 Message-ID: <87wopziila.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Hellwig writes: > On Wed, Oct 31, 2018 at 12:09:29AM +1100, Benjamin Herrenschmidt wrote: >> On Tue, 2018-10-30 at 13:58 +0100, Christoph Hellwig wrote: >> > Please take my patch instead. We have a kernel polcity to not keep >> > dead code around, and everyone including Linus and the attending IBMers >> > confirmed this. >> >> Let's call a cat a cat ... ;-) >> >> It's not *dead* code. It's code that is used by an out of tree driver >> (which also happen not to be open source). (Actually that part of the driver is MIT licensed, but yes other parts are not open source.) > Which clearly makes it a derived work of the kernel if it uses an > interface just create for it, and thus even more important to remove > it to not get anyone into legal trouble. We don't want driver code calling into firmware, that's the job of platform code, so we would need the same API (or something similar) for a GPL driver. cheers