Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1447005pxb; Fri, 22 Oct 2021 00:45:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPPmTnpa8w3XTiPvSJlHsuZr9eHLpb9gqwlCOFYhM6Dib5gtx4VuyIRO2WiSp6zf4KQoQs X-Received: by 2002:a17:906:7113:: with SMTP id x19mr13699931ejj.557.1634888751557; Fri, 22 Oct 2021 00:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634888751; cv=none; d=google.com; s=arc-20160816; b=J45+yHMWAox6ogUhWDwJc4L3PthrKB0z0CMM2fJiPXyUF2+hFGLHmPuhiBfrcsiTY6 ldmZlVwOEcb91NqlBIiEN7+Cbz0Z55bxVSUH23NEtM1b9Tj8yyF3x/HWFR6Kk+3p3KBw mY+DZL5oTGm8Bm+mZFh1IYA45DvqVB/tp5IeOSNyDSpFzoIRfD40YJ/iTGQ3VD6laDCj /wwudMEW6kmfQJ3kB7qg5oSvGlfFEhsU4xBDk/QxV0O8KRrNAhTrW7jw99xCBkp8+IoR JVatKFCo3fdFofe+pyVsgVyQj/0NraD71LHiKh3+Dd5yskmgKlgb5XY7x63cw2ZojFwq l//g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=fYXqzL/6HhifHEzyeb6y/B1mDBHnANb3wM0JqTVeJN4=; b=U/YW3tfyEgwGRUKH46PyAiabu19Y9yf5Ua48/YoBc8JpMf4uIjE50cS2fhD4FlJGPS lc9P9Ce8CeuKBsjp/QTdbDkad7AazyiIpPBMZ5CTG+rbVLyIqKuv6p7i3oA+z1psl8I9 vW4m7DuhdXSMI86p7Z1Xeq0I6NDKRMLMxru84aqNwd5RZB2uxpzh8fe9dQC/BovswlRa 7+D7EWx482JeXMPfEoHKAVO/y+jhI9KUFTjbOYScia93Hm8sM4S5/Nvmlw7ZkF+/JvvW UsOznApJZz+xeBR5WPt5e2f/USagF0jtR37qqAVFvYpd3ioPUgF9bgYtx7Gv/D8hhZSO 6Y1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=E1TDhKkV; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sc23si14369702ejc.407.2021.10.22.00.45.28; Fri, 22 Oct 2021 00:45:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=E1TDhKkV; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232054AbhJVHpn (ORCPT + 99 others); Fri, 22 Oct 2021 03:45:43 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:33846 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231773AbhJVHpm (ORCPT ); Fri, 22 Oct 2021 03:45:42 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id DBD3E2197F; Fri, 22 Oct 2021 07:43:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1634888602; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fYXqzL/6HhifHEzyeb6y/B1mDBHnANb3wM0JqTVeJN4=; b=E1TDhKkVmIVQtRKSIats7Bjc0Q75KzXyErPC+SvzP4SkOnDmhpYEnEJIUXMR+uR3pd+KTL 7N/6y5Ncfn6BH5ECDsGkc/TxCCW1kfcNlP1/TLynAjdEh1drXdjyQR1fswi2xbkIqPiNqT sjGwJjJnnMhvLUeugmD+z6LZo8Rs/cI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1634888602; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fYXqzL/6HhifHEzyeb6y/B1mDBHnANb3wM0JqTVeJN4=; b=1/OkM3q/XS7FD68wNB6gOmxpXW/2Rn4Xxr3uAgYhCm8tzgQFYSnECUrYNRRnL/FQmzBeHU uwgbaQtnwZgkjBAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 82E3713C7A; Fri, 22 Oct 2021 07:43:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +PE1H5prcmF7LgAAMHmgww (envelope-from ); Fri, 22 Oct 2021 07:43:22 +0000 Message-ID: <1810283b-164a-800b-63ab-c3fab303a84a@suse.cz> Date: Fri, 22 Oct 2021 09:43:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [next] [dragonboard 410c] Unable to handle kernel paging request at virtual address 00000000007c4240 Content-Language: en-US To: Andrew Morton Cc: Jani Nikula , Naresh Kamboju , open list , Linux-Next Mailing List , linux-mm , dri-devel@lists.freedesktop.org, Marco Elver , Vijayanand Jitta , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Geert Uytterhoeven , Oliver Glitta , Imran Khan , lkft-triage@lists.linaro.org, Stephen Rothwell References: <80ab567d-74f3-e14b-3c30-e64bbd64b354@suse.cz> <87fssuojoc.fsf@intel.com> <2a692365-cfa1-64f2-34e0-8aa5674dce5e@suse.cz> <20211021203856.1151daebedef7b180fdfec22@linux-foundation.org> From: Vlastimil Babka In-Reply-To: <20211021203856.1151daebedef7b180fdfec22@linux-foundation.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/22/21 05:38, Andrew Morton wrote: > On Thu, 21 Oct 2021 19:51:20 +0200 Vlastimil Babka wrote: > >> >> Then we have to figure out how to order a fix between DRM and mmotm... >> > >> > That is the question! The problem exists only in the merge of the >> > two. On current DRM side stack_depot_init() exists but it's __init and >> > does not look safe to call multiple times. And obviously my changes >> > don't exist at all in mmotm. >> > >> > I guess one (admittedly hackish) option is to first add a patch in >> > drm-next (or drm-misc-next) that makes it safe to call >> > stack_depot_init() multiple times in non-init context. It would be >> > dropped in favour of your changes once the trees get merged together. >> > >> > Or is there some way for __drm_stack_depot_init() to detect whether it >> > should call stack_depot_init() or not, i.e. whether your changes are >> > there or not? >> >> Let's try the easiest approach first. AFAIK mmotm series is now split to >> pre-next and post-next part > > It has been this way for many years! Aha, great. Looks like I misinterpreted few months ago the thread about adding folio tree to next. >> and moving my patch >> lib-stackdepot-allow-optional-init-and-stack_table-allocation-by-kvmalloc.patch >> with the following fixup to the post-next part should solve this. Would that >> work, Andrew? Thanks. > > For this reason. No probs, thanks. Thanks! > I merge up the post-linux-next parts late in the merge window. I do > need to manually check that the prerequisites are in mainline, because > sometimes the patches apply OK but don't make sense. >