Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp959578imw; Thu, 14 Jul 2022 14:19:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sF7qIIXQwGuaSpN5ih7VxCOtHr2eV9Ew13SNa30wGitV5sQQbryqsCe2HywrYJROt0GO8q X-Received: by 2002:a05:6a00:1687:b0:518:6c6b:6a9a with SMTP id k7-20020a056a00168700b005186c6b6a9amr10436414pfc.81.1657833548335; Thu, 14 Jul 2022 14:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657833548; cv=none; d=google.com; s=arc-20160816; b=CuaJqH/cCiv5dOjfdi0TQZWEy9oYsBuz9QKZ+HyBZBQlDndO5SUejQSM0eiwW0jBxs sccRqxwvAKqSoUWKPUPsc7d8VymmERaqWoSnDVdrsAgS8CRL5OcZXtxfkHHrjS6iwEGC 8UlPI5fgCvThgQJ5xCkBb053ZoIftu0IbSxesDFx5+wzJSHQEY1Pgxhm34OpWJrYoMup nQqdmz6ZGys9jYJxb2wmSPf9pCOt7Qze9TCoewiJayJ4IF44IlhLGU/cODEiryPououU 4gTCsvwlfxiN6cXlfWLxRps4i17GSa6Il9l8oIxNwng8bFbaIoOPdlduaG16+Jufc2hk DhBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=VLxamuVHzbCVq4kaO70LC5FKC4nD+QqWmnlRgBc59/o=; b=C7DHSkp1feKTfzr71M68nxPN8F6zYEwlBli9VRwQExI3x7okl/kjJ8LH0gReETjCjO jQiirBYxuBbPi7eiPTlwvslg62yrfSkmLJARJDi0d8XjumnY5yPO/8hQcpj5HP+zRR+/ i0b7FetctkkqtkrvpbpsaBf0vxc2vXvFsa5m1cYfpaIx1rrXHpeC4aCf5Y9sY08vbPPA 7ysu6afvKtNsItuX6xM+RNKknIwUoaDdgZjF6uvvePK5UU2F/7UsIPWJMqKfmb2ZYCpK 9xdbojbfTALdxnN8hxelzm71Lq8fFaeaoNlRBhoSqZrEsbmkUzEoHKoz128n22ZCeo+w Lyug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XS+oJ+zF; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k11-20020a170902ce0b00b0016c6337a4d1si2845365plg.509.2022.07.14.14.18.52; Thu, 14 Jul 2022 14:19:08 -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=@gmail.com header.s=20210112 header.b=XS+oJ+zF; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232128AbiGNVRN (ORCPT + 99 others); Thu, 14 Jul 2022 17:17:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbiGNVRL (ORCPT ); Thu, 14 Jul 2022 17:17:11 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 133E121E39 for ; Thu, 14 Jul 2022 14:17:10 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id z23so5646071eju.8 for ; Thu, 14 Jul 2022 14:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=VLxamuVHzbCVq4kaO70LC5FKC4nD+QqWmnlRgBc59/o=; b=XS+oJ+zFohj9Q1Sgzf8zCga5OG0fBGrBNHDpPjIG7kMOQzPA5trlg0GnXcvk7fPd18 ENTT+lvHyCPtvACQ26CGyeQpHQr2T5AURNNsFKf/ggcEF92Cewkp2UnDi6z0OE5ofiOU 857HiU47EDLiE6rNDEq7nDwc82etXZnWFP3MUvQ5t5GLPcaylidQJqxyf6I/wbET+KzT qRNRvRYu4CPVry+u10g3DcLUWihrESUMSsX6bkauSVQo1VgXIUu4TcVF6ebD0NRQwa2Q GgUyjvxGHHfjJHADHEd8Tr00+GcM2K6UcOPsNV5y+Dht9UyD8/qL185q4tqsIIJEW+f5 b7cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=VLxamuVHzbCVq4kaO70LC5FKC4nD+QqWmnlRgBc59/o=; b=RjA48cLDeOELFEKrULa0y8RK6X1E4Y8Am597T3uKDgGEWVFzoZfLolYzhM4LTvDmkv pzZttyIX6Pr8D0sGIaqEn2DRWma10n41eFsqPgHUxXwR8hAS1KAE7p9cqHGkB5DysU4c rpHRLn1MsUxBw0w7Tf/QHTROdh55OFjsEXNGiR3TJr/X0gaaRcivYFg407QFFBEjGsmX YKrplFK8qmWCzYqjt0bD+UYzM2VKI4hZSzG5OHqsTX3lnkEU9+YmstxEsPjc9wZX+CuQ uLoVHqDLgc/nepSmpmr7lJthUpglPjWO3hFvQ11r1KNC89zCGcUn2AYy4RShnGtJwzjX /4GQ== X-Gm-Message-State: AJIora/qE4BcRMxRsj/4ceK2FzMNlKSIbRtv+dplxT6Q1E+4Jp6+fFQc Rvc8FLbH6qk+Xs2GI4VSM9oQB2TxgbC+PeXr7yE= X-Received: by 2002:a17:907:2702:b0:72b:307b:98e6 with SMTP id w2-20020a170907270200b0072b307b98e6mr10660524ejk.658.1657833428627; Thu, 14 Jul 2022 14:17:08 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <4c7e7b6d-8dcf-41ae-c853-b95e6efd9c32@amd.com> From: Alex Deucher Date: Thu, 14 Jul 2022 17:16:56 -0400 Message-ID: Subject: Re: [PATCH v1] drm/scheduler: Don't kill jobs in interrupt context To: Andrey Grodzovsky Cc: Dmitry Osipenko , Thomas Zimmermann , Maarten Lankhorst , Erico Nunes , Steven Price , Tomeu Vizoso , David Airlie , linux-kernel , dri-devel , Alyssa Rosenzweig , Dmitry Osipenko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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 no= r 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 D= RM > >>>> patches? Thanks! > >>>> > >>>> https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2F= github.com%2Ffreedesktop%2Fdrm-misc%2Fcommits%2Fdrm-misc-fixes&data=3D0= 5%7C01%7Candrey.grodzovsky%40amd.com%7Cd62c2e6d3ec748cd639608da65b52548%7C3= dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637934125954377887%7CUnknown%7CTW= FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3= D%7C3000%7C%7C%7C&sdata=3DWPmMC%2B%2Fy83cUctuF%2FLNo9VhWnB%2FkpUVQotMh7= 4VshB8%3D&reserved=3D0 > >>>> https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2F= cgit.freedesktop.org%2Fdrm%2Fdrm-misc%2Flog%2F%3Fh%3Ddrm-misc-fixes&dat= a=3D05%7C01%7Candrey.grodzovsky%40amd.com%7Cd62c2e6d3ec748cd639608da65b5254= 8%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637934125954377887%7CUnknown= %7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6= Mn0%3D%7C3000%7C%7C%7C&sdata=3DRzCMLUYLmUjSmvDm4E%2FJr%2B5rp7E8UvjFt1tm= wBoBiVc%3D&reserved=3D0 > >>> 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=3Ddrm-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://drm.pages.freedesktop.org/maintainer-tools/drm-misc.html Alex > > Andrey > > > > > > > >> Andrey > >> > >>