Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp810517ybn; Tue, 24 Sep 2019 09:51:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlavKYGWur4lnCTGgHpn950MkhzG3ugEaxRbxWdV+LmYpVb948fAM31ZiYMzd8gnHwu/E+ X-Received: by 2002:a5d:4985:: with SMTP id r5mr3049064wrq.139.1569343900588; Tue, 24 Sep 2019 09:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569343900; cv=none; d=google.com; s=arc-20160816; b=Ur9LfmTd3lLi9ImMtfIdBH3pds8oTDNuKxC41318KAevtjxjEZiW8ZQBwdIERhVK7Q usvP1YIbRTsfQREJsg6GHQRy9zgLVCqVy9NyMPVFgKCDql4R56OGle+giTBMke28Gc18 ZfE0Cze1La/NPawhfTeGjIElrf9D2goxzmcACHBLURtmLeDLsfb/XLtJ8urNctYqn3U+ n0oWMQ8ZNm5UYapvAuPd4S5smrN4Tg+QBWfBLzFziMuXyxlGeDVWkctMCG2URUmAw1Nx wY/+ygaLvfZJnv3USHcbXdwja+JfugISdb2oI1VlsDC4e+73MUsNgsKkm7i5UPEIrgCZ pFFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=evwzKkn5TJ8V/5p8U1GA5lnr2fQciYS7Ye2nzlu/Ar0=; b=griAw8ZyA6KFkuoKCEk5+bN8qk55kXC5CFCx172tjW+6iwujLaOWolRO7VKkDhipSz 2JNkjW2FZtreKHAaOtZ24UulxKlXiePSg8kWFt4itmPLmgIJgmYTF55Clu6r+7RYjbIs mV6gY3PlO69W749SIyly6oCMxdnSmKpGMxcKjJP8pbDpCV+Wft5pwBTaSwcJuUrp4wgg yYk6jvfc/CMD2kc0pdO5NwNsS37taa2vsJnwvY8cMWCSa4dyMER4KC0Xqqpf9QYaDuqq vdCM2msZH3bPlybTpLBONB5Xs9p9hGlvay6zDSfz2CJmCLzk3n5LOShjlQLpk7Y/FOKA rlvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k42kXdpE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c31si1479216edb.309.2019.09.24.09.51.17; Tue, 24 Sep 2019 09:51:40 -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=@gmail.com header.s=20161025 header.b=k42kXdpE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393303AbfIWGvT (ORCPT + 99 others); Mon, 23 Sep 2019 02:51:19 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:47031 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393269AbfIWGvT (ORCPT ); Mon, 23 Sep 2019 02:51:19 -0400 Received: by mail-io1-f66.google.com with SMTP id c6so17612472ioo.13; Sun, 22 Sep 2019 23:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=evwzKkn5TJ8V/5p8U1GA5lnr2fQciYS7Ye2nzlu/Ar0=; b=k42kXdpEzpJIgiprOwLFh1cwZ7Yys+0E1k4wofFz3IuJs4wWXaFe4JeJh15Ha/ekpH WI/bj3taqJE1PD5I+geYoVLCxlLk0XuLG3m0y2kX/2PZhuGWV+4QvOT9zMMdTmCrQMMt 0pALJMqQn0OBD8xISo/RWq6z6LfVxJTncDdVWUN/U8FT/m4oLnmrtEK26QRpNFt/tMiF 7Xv4V2MntqeOtGO3BXBGCqqvG1CqwddbzwbOn4TTVK/IWcQbqqrNsOwKxBo4NzysbZrL n9Lmr8aEt6jtGqL81UaeoUaelEXCXIKC8HkO1QnP6wt7RaC5MRkiyilWwufMzBj95MiH qYdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=evwzKkn5TJ8V/5p8U1GA5lnr2fQciYS7Ye2nzlu/Ar0=; b=jFHsdBDSdCMwh6FB3xexl1hFWaDGfLRULnIdEF5OObd3fT5rbxMZ3j9DooKE320gyH qcj0dOM/IMM53wSy/pHil1PXfEbu73njTtQRiTZzakYfgq/HNICVeuQ5l5oBWXlc+ZXb nMz0z/b/zeyXR4BupYR5gZLLNOYsZ/HPTmUWzEbDB9KBFd99lpJl9SefZnPv9aKwWdD2 JWa9zgPUkArcS3TJDVcFSQ7Dvi3SHDGcxJcRnDF1408ZOM+6yQzgsQkopBb0+PDqICS1 d1zWXRM2Hn9IaHQ6fIEcFQ+NQBfJAcJ+yrryarnLctqzWH3Rw4i9HdSuZyOtOATIjnWb vevg== X-Gm-Message-State: APjAAAUrQln765J01aJtRGOjxUk2/5KbUvsQ/iSSJTR+jkeoL38JTfmk OCnYwNwCHW5YlmV2FLgGihusWgDAM3YdBrgdYiA= X-Received: by 2002:a5d:8b07:: with SMTP id k7mr27637147ion.20.1569221478478; Sun, 22 Sep 2019 23:51:18 -0700 (PDT) MIME-Version: 1.0 References: <20190907090534.GB1712@pc-sasha.localdomain> <20190920194450.GA3970@pc-sasha.localdomain> <20190923063803.c7zpqwcqq5f2acq5@sirius.home.kraxel.org> In-Reply-To: <20190923063803.c7zpqwcqq5f2acq5@sirius.home.kraxel.org> From: Alexander Kapshuk Date: Mon, 23 Sep 2019 09:50:41 +0300 Message-ID: Subject: Re: Kernel panic during drm/nouveau init 5.3.0-rc7-next-20190903 To: Gerd Hoffmann Cc: Daniel Vetter , =?UTF-8?Q?Christian_K=C3=B6nig?= , dri-devel , linux-next , Linux Kernel Mailing List , Maarten Lankhorst , Maxime Ripard , Sean Paul , Dave Airlie Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 23, 2019 at 9:38 AM Gerd Hoffmann wrote: > > > > 'Git bisect' has identified the following commits as being 'bad'. > > > > > > b96f3e7c8069b749a40ca3a33c97835d57dd45d2 is the first bad commit > > > commit b96f3e7c8069b749a40ca3a33c97835d57dd45d2 > > > Author: Gerd Hoffmann > > > Date: Mon Aug 5 16:01:10 2019 +0200 > > > > > > drm/ttm: use gem vma_node > > > > > > Drop vma_node from ttm_buffer_object, use the gem struct > > > (base.vma_node) instead. > > > > > > Signed-off-by: Gerd Hoffmann > > > Reviewed-by: Christian K=C3=B6nig > > > Link: http://patchwork.freedesktop.org/patch/msgid/20190805140119= .7337-9-kraxel@redhat.com > > > > Today, I upgraded the kernel to 5.3.0-next-20190919, which booted fin= e > > > with no Xorg regressions to report. > > > > > > Just wondering if the earlier kernels would not boot for me because o= f > > > the changes introduced by the 'bad' commits being perhaps incomplete? > > Yes, we had a regression in nouveau, fixed by this patch (in drm-misc-nex= t): > > commit 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 > Author: Thierry Reding > Date: Wed Aug 14 11:00:48 2019 +0200 > > drm/nouveau: Initialize GEM object before TTM object > > TTM assumes that drivers initialize the embedded GEM object before > calling the ttm_bo_init() function. This is not currently the case > in the Nouveau driver. Fix this by splitting up nouveau_bo_new() > into nouveau_bo_alloc() and nouveau_bo_init() so that the GEM can > be initialized before TTM BO initialization when necessary. > > Fixes: b96f3e7c8069 ("drm/ttm: use gem vma_node") > Acked-by: Gerd Hoffmann > Acked-by: Ben Skeggs > Signed-off-by: Thierry Reding > Link: https://patchwork.freedesktop.org/patch/msgid/20190814093524.GA= 31345@ulmo > > HTH, > Gerd > Terrific. Thanks for the info.