Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4627352ybi; Tue, 11 Jun 2019 09:40:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+4W2E/qPgYxDdjO1jnzkFDTW6rNI/LdvIiMMM7QIkVnF3zIm0AyxZG+Oopr9oNGJStMun X-Received: by 2002:a17:90a:24e4:: with SMTP id i91mr29066361pje.9.1560271235548; Tue, 11 Jun 2019 09:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560271235; cv=none; d=google.com; s=arc-20160816; b=rmzDTf+fcgSNd8zmOGmIInJ4WuehUDqro+uSfn5Ou9cb03nbiiA6mV0Zzq6FRGomY2 KqRonPjyRKkPMxz4ZIg7SHASpOELtl+Y55FN/b/ylnNmd4ceZ52QcMuizO0LUuB74N9u uhbvCnptJnjAbirjpZgfLWku9rrlv/p3/0ykQGt/O4bALqA2FG7veB7le6ybgzzK7Thg 3C94E3H0BdKu0ONbn96i9xIOjXTe2ofyjmAi2WOzs+PTbJhokoMqYCTPHhshwcWGcMUK LPlr1UJJ6EW9Ya8KqNotgeFXIZYP/+an0Q4n4AtAAdfzdrLESgHrSqLSTxJbWALDbgH6 821w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yWbrX5LAeIKcZqpL4ibRpUVom3ejMjPRgvYVIxTK2cY=; b=tK4xigNe6Xij0Jr9lehI/DtPtvYUzLj5B7aoUZO2zSVF2TQOHEKLjEgdPhlmzMTU6u iUoZUc7+uTsn2Uc1ZoKCwps9hslXLJVqGCrGkhusSU/XjxcAAoSCZ9JWaJwUls2V3MMU cq9kb/qnFtJujw0Q1JU/wvlXnJTJgY3UVjVgb66QoB/wmkBK+H5sX0M5AWMkf7uojxcF h/9Ur43T0XPSn4QII0gjI92RtmsRgY+Gyss00W0jiP+qxC126N/OwGObkVdVINdhTXat OQS/YNF+qHYrMjjZB9CPvHy49VU3PS3gLTZGTKz2oQCo+8WeBPALBAVsB4TOGP5lscsM yfTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L+HewiuH; 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 b8si13971276pff.119.2019.06.11.09.40.20; Tue, 11 Jun 2019 09:40:35 -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; dkim=pass header.i=@kernel.org header.s=default header.b=L+HewiuH; 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 S2405093AbfFKPhB (ORCPT + 99 others); Tue, 11 Jun 2019 11:37:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:60540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388863AbfFKPhB (ORCPT ); Tue, 11 Jun 2019 11:37:01 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 56409208E3; Tue, 11 Jun 2019 15:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560267420; bh=fEoHYLUoUcY9d8GXrqmAIqvlneWazjqtSYZ7U9oX254=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L+HewiuH18Tn8PTXdwxGf11Sd+J2LlpmhDkd6ygLY6Iu1mKKOQHQnlsHmCPMsubcm uPzFSSJqL/U/01GKsriiICUZzR90OKciN7m2VNHDAhxuD4QY3foY7q/9jxkjP7xuBR V+Y1I/XKnIxmNNXSXQPRUkI2awrv2XIb0lnrKZ0A= Date: Tue, 11 Jun 2019 17:36:56 +0200 From: Greg Kroah-Hartman To: Sven Joachim Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Vetter , Dave Airlie Subject: Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n Message-ID: <20190611153656.GA5084@kroah.com> References: <87k1dsjkdo.fsf@turtle.gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k1dsjkdo.fsf@turtle.gmx.de> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: > Commit 1e07d63749 ("drm/nouveau: add kconfig option to turn off nouveau > legacy contexts. (v3)") has caused a build failure for me when I > actually tried that option (CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n): > > ,---- > | Kernel: arch/x86/boot/bzImage is ready (#1) > | Building modules, stage 2. > | MODPOST 290 modules > | ERROR: "drm_legacy_mmap" [drivers/gpu/drm/nouveau/nouveau.ko] undefined! > | scripts/Makefile.modpost:91: recipe for target '__modpost' failed > `---- > > Upstream does not have that problem, as commit bed2dd8421 ("drm/ttm: > Quick-test mmap offset in ttm_bo_mmap()") has removed the use of > drm_legacy_mmap from nouveau_ttm.c. Unfortunately that commit does not > apply in 5.1.9. > > Most likely 4.19.50 and 4.14.125 are also affected, I haven't tested > them yet. They probably are. Should I just revert this patch in the stable tree, or add some other patch (like the one pointed out here, which seems an odd patch for stable...) thanks, greg k-h