Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp580926imw; Fri, 15 Jul 2022 08:56:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vP8FXJcL1WglvQByj5TZ6gS4E0fSjFmL8OfaODW5xXFxnDa6hlicqKNJoVdtLL5wzhb/jq X-Received: by 2002:a17:90a:bf03:b0:1ef:8fca:282c with SMTP id c3-20020a17090abf0300b001ef8fca282cmr23081520pjs.219.1657900616360; Fri, 15 Jul 2022 08:56:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657900616; cv=none; d=google.com; s=arc-20160816; b=aFg9/qN6o2UKTrVapgHbu4HJMUrh5XLh2y6BQ1LrwZsKfX1oldUb8tJbMPt+YUvgMu RcIkeePEv+E7aAbjbMMIKqw2Rpkh1k9Cj0qKNkuR3IvayQgccp+FYhgagcaS19pTRqHn mP6Jv85BDLb0ebXHt9vz9I9O2ziLP7vd2n9beHlntk8trvUlGUBC2vW4EAmWebnvytKl xLLlDOXwWPGszsnPUh/+BUYJkmQw15VdU6qZC8AjbMQbDHhV4AimW80lb6SPCiaavF+s AyPKv4Tgy8z4b0bkeEw+6QlhWE1M+GjNGySNqNAWF6lYgY4HlyvtBK0hrhZop+KmGZE6 /lgg== 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; bh=OJNL4TzWQIQ+z5na5zLCBZt10j0yHYKcJzkh/hOuZXo=; b=gYytAwBYqgwjtbhY07DR0bCVno/Xwf/gEDeqpVvTHEVqZReHSg/MLKLANlVyfdAZim nPJREkTxJ9nyxfYLmvD3zC42rbvZjmFD9V16e25ExlAYIwVVC3I9yQGYz722utd0eZL/ LmdnYXHFD9bQYpPSYV1ZEAXYURYkJsEzmH/vE28vi+yjbZnPHLP//Vf7DxWiMCIS1EBS QZD2y9+XR6twFnitagGNAB83XQxkze/Znt4SCibg69ixMxiSj5NitzU1rQtAfsmt7npa nhUClSUmV5Y+j2hkbfXsyy6TwbKqxqchEo8Qag+jZWq3JBF8lxZEd86XZLscT8MLNdpk Za4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DAZnmF19; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt12-20020a056a00438c00b0052acf3f4090si5947325pfb.55.2022.07.15.08.56.41; Fri, 15 Jul 2022 08:56:56 -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=@collabora.com header.s=mail header.b=DAZnmF19; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235027AbiGOPYj (ORCPT + 99 others); Fri, 15 Jul 2022 11:24:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233509AbiGOPYj (ORCPT ); Fri, 15 Jul 2022 11:24:39 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA5E417AB0 for ; Fri, 15 Jul 2022 08:24:37 -0700 (PDT) Received: from [192.168.2.145] (109-252-119-232.nat.spd-mgts.ru [109.252.119.232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id 6DDA86601A59; Fri, 15 Jul 2022 16:24:35 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657898676; bh=Q1SrTlaWTXiSCm0wttGzLDDRoXfdJ8btsuQhW65c8i4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DAZnmF19OD5pNx5pjFhUsFyPLjC5BBZfaNbZqjDx2mIVkgBN9IO7t7u4J1gnFN8j+ dg9cVADAEFxTMwG5HNZ+HmRXxZJqc8+IV1C+E27Q6ty2hJ+b3esHtAOwDKd+jWMu69 gUjLaGybTAQVcQoDzJMXnEa77jvwi2jG3e2fCer4bzffJ0r2UcbHt9/l7QsuLAJKjC u/Fy3X0FxHKIt9BMtwC0V99eIGTmqYubHEUT+qPLalxN2RXqubdIn3E4Tl33afw0Ll pbz2qW4Ce/8Qvuag5lIICmZ9fRObeH47NPedjUCT41BwSAOdQUMMp1ZS5d0lxfL7rv 4Rtrbumr+u0Lg== Message-ID: <25d90169-24df-69b5-8a5e-5c9b49a621ae@collabora.com> Date: Fri, 15 Jul 2022 18:24:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v1] drm/scheduler: Don't kill jobs in interrupt context Content-Language: en-US To: Andrey Grodzovsky , Alex Deucher Cc: Thomas Zimmermann , Maarten Lankhorst , Erico Nunes , Steven Price , Tomeu Vizoso , David Airlie , linux-kernel , dri-devel , Alyssa Rosenzweig , Dmitry Osipenko References: <20220411221536.283312-1-dmitry.osipenko@collabora.com> <573fae0d-c9ab-98b0-c6f1-5b0d4e52dd01@amd.com> <107fe968-8311-0511-cc31-22feb994a6d7@collabora.com> <3e07a8d0-2cbc-8f3e-8f9f-5b73fb82028b@amd.com> <6e0c7590-6ffb-162b-a98d-0a39333453f6@collabora.com> <4ca27cee-eda0-0a65-f972-c69cc3b3e53e@amd.com> <4c7e7b6d-8dcf-41ae-c853-b95e6efd9c32@amd.com> From: Dmitry Osipenko In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 7/15/22 18:18, Andrey Grodzovsky wrote: > > On 2022-07-14 17:16, Alex Deucher wrote: >> On Thu, Jul 14, 2022 at 1:58 PM Andrey Grodzovsky >> wrote: >>> On 2022-07-14 12:22, Alex Deucher wrote: >>> >>>> On Thu, Jul 14, 2022 at 10:14 AM Andrey Grodzovsky >>>> wrote: >>>>> On 2022-07-14 05:57, Dmitry Osipenko wrote: >>>>>> On 7/12/22 11:56, Dmitry Osipenko wrote: >>>>>>> On 7/6/22 18:46, Alex Deucher wrote: >>>>>>>> On Wed, Jul 6, 2022 at 9:49 AM Andrey Grodzovsky >>>>>>>> wrote: >>>>>>>>> On 2022-07-06 03:07, Dmitry Osipenko wrote: >>>>>>>>> >>>>>>>>>> Hello Andrey, >>>>>>>>>> >>>>>>>>>> On 5/17/22 17:48, Dmitry Osipenko wrote: >>>>>>>>>>> On 5/17/22 17:13, Andrey Grodzovsky wrote: >>>>>>>>>>>> Done. >>>>>>>>>>>> >>>>>>>>>>>> Andrey >>>>>>>>>>> Awesome, thank you! >>>>>>>>>>> >>>>>>>>>> Given that this drm-scheduler issue needs to be fixed in the >>>>>>>>>> 5.19-RC and >>>>>>>>>> earlier, shouldn't it be in the drm-fixes and not in drm-next? >>>>>>>>> I pushed it into drm-misc from where it got into drm-next. I >>>>>>>>> don't have >>>>>>>>> permission for drm-fixes. >>>>>>>> The -fixes branch of drm-misc. >>>>>>> Now I don't see the scheduler bugfix neither in the -fixes branch >>>>>>> nor in >>>>>>> the -next and today Dave sent out 5.19-rc7 pull request without the >>>>>>> scheduler fix. Could anyone please check what is going on with >>>>>>> the DRM >>>>>>> patches? Thanks! >>>>>>> >>>>>>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffreedesktop%2Fdrm-misc%2Fcommits%2Fdrm-misc-fixes&data=05%7C01%7Candrey.grodzovsky%40amd.com%7C9585d3814d9b4e51bfcb08da65de368d%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637934302314091129%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QjSspRJyOZpFOoaA988nH2V7Gq54gSUl6mm87B1sYhE%3D&reserved=0 >>>>>>> >>>>>>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcgit.freedesktop.org%2Fdrm%2Fdrm-misc%2Flog%2F%3Fh%3Ddrm-misc-fixes&data=05%7C01%7Candrey.grodzovsky%40amd.com%7C9585d3814d9b4e51bfcb08da65de368d%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637934302314091129%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8ysjuD7Ufsyu5c%2BfRdpT9nkWHjotsd1cjCfy4yRw2uw%3D&reserved=0 >>>>>>> >>>>>> The patch is in the drm-misc-next-fixes, so it wasn't moved to the >>>>>> drm-misc-fixes. >>>>>> >>>>>> Andrey, don't you have access to drm-misc-fixes? Or you meant >>>>>> drm-fixes=drm-misc-fixes? >>>>> I have only accesses to drm-misc-next to which I pushed this patch. >>>> anyone with drm-misc rights can commit to any of the branches in the >>>> drm-misc tree.  You just need to check out and push the appropriate >>>> branch.  then push the changes.  E.g., >>>> dim push-branch drm-misc-next >>>> vs >>>> dim push-branch drm-misc-next-fixes >>>> etc. >>>> >>>> Alex >>> >>> I see, but what  is the reason then that Dave sent out 5.19-rc7 pull >>> request without the >>> scheduler fix if the patch was merged into drm-misc-next long ago ? All >>> the changes from >>> there are usually picked up for pull requests, no ? >> drm-misc-next is for new stuff for the next kernel (e.g., 5.20). >> drm-misc-fixes is for fixes for the current kernel cycle (e.g., 5.19). >> See: >> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrm.pages.freedesktop.org%2Fmaintainer-tools%2Fdrm-misc.html&data=05%7C01%7Candrey.grodzovsky%40amd.com%7C9585d3814d9b4e51bfcb08da65de368d%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637934302314091129%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8IW3uNvSEogYjj%2BNKh1b9jkT5CaJ5osZ9GgEcI8zyqo%3D&reserved=0 >> >> >> Alex > > > Got it, Dmitry, I pushed this time to drm-misc-fixes so i hope this time > it will be picked up for next rc release. Great, thank you! -- Best regards, Dmitry