Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp142872pxb; Mon, 16 Aug 2021 01:55:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxc6d4ukldPRNK8VIj57k3fTrFhYa7vhe0+eszbkhr5bneP7QhiNXXlzpkw2VDbIQS4mLfh X-Received: by 2002:a92:d3cf:: with SMTP id c15mr522380ilh.131.1629104153475; Mon, 16 Aug 2021 01:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629104153; cv=none; d=google.com; s=arc-20160816; b=hAcoehmzZiz/pZQhHft+l5lAaiNmuLXxonoxPI7PE1BBjVxw9tTCb0Irtf7Qd26AWR 6kIwegV4wSz4/Nkw0FUaM+VtbrvmlLyjj833g6tgAhQetdiqtCtwWuR75fFSJ2pmZIZZ sPVgNuyJJBiSHEzhTrUaNJkEVdgy80Cnl5a+SUQiYnOonceN62aAif7QW8P389NFNvMT mUf3aUFVyUbjbQgWmSpXum1qbsTPcI2gVqJgVU+7I9jLBjSFN+R6lEOlg6bdlYg2t0JD /C0ddaffynoQeX3rKPtfu4XPhpERuNwK0xhiAPukuPX0zVxwLjsTezwyasvppHXHBpv1 GMqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=wediW2rQNAFGcxyFW6VD+CmiCi3BD219aCF7GpyjEEU=; b=caXbnChp3W8Lyv8Lo+3wp/mfgvff3H3gkT1dTKomIJj0VrEw2srHMxqmA/h6KbQb2O BGsTk9bgGDPZtyPt2GVRVgXSCnH+A2sCKXLaOSAeGmJFw8xMMNplkvTnxOgiD5fWlce9 IvzxsYQko6xXPk4cTrkCBjtT+5BlLscgvqusJyIjGo/B8USv0eeAEtJvnC9fRuUv9bB4 99d2/tvjapiLq7QvRtUDRddUryJBasJdUQruNugFz6gdURQjMwL/+HbixTo2uJw/gqd+ LvqUZjlYSwZMUqreekuWInG10sE20OpVWAktAemHspdfXShJrMi9fZxhILvtP7LnRXIH LQ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="TmQlHO6/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si13320105ila.102.2021.08.16.01.55.42; Mon, 16 Aug 2021 01:55:53 -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=@gmail.com header.s=20161025 header.b="TmQlHO6/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235241AbhHPIxt (ORCPT + 99 others); Mon, 16 Aug 2021 04:53:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235199AbhHPIxr (ORCPT ); Mon, 16 Aug 2021 04:53:47 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EA7EC0613C1 for ; Mon, 16 Aug 2021 01:53:16 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id oa17so25393884pjb.1 for ; Mon, 16 Aug 2021 01:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wediW2rQNAFGcxyFW6VD+CmiCi3BD219aCF7GpyjEEU=; b=TmQlHO6/pVnUytiENEwc9/8WzC/lixrLcEqbj1EIxba1GAR++VeY3wXSuU6BTINntx 2XYEnMQ01HvHhvYdpyTQ/jKmWx4aAhFeKavsMqE73VhuD1EWjG3ubdyl0AhnUR+nV2Gw gt2mMvb1hEezGPu5pLYPY/L4qLXOVG1nRcUss9TS+ItzU91gtWGIexxeQJVXayQa9aRK eN6BnEiWlF11bJghxEKyWqslxkayWAF/WVyM2Cp6k6n8evqw2oMWDxfUVQ7QWmcSR+nd oaPawBMpQ4W5RHk6Bzx4GQZoBmYbQWqeex3e8uzUe7p1lkqQuXkl2PNI3N1XY2XhsUvZ q9Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wediW2rQNAFGcxyFW6VD+CmiCi3BD219aCF7GpyjEEU=; b=Y9rYdV21QuXh9aXzWcsSh4s/fcMqULAiu8YGCQtE2kHKVN0ExPCr2wAozg1AKcgJVn UVQbYQwcmC8uohDk6JMA2ui190idNswAM/D/k+D2LSulE2V/kTKjn3LUJwRNmIz16tbz 5rAytbjAaAr1X274DlfqnMwDgxCRhtoP5ChgmDsnhLLC73Z6FsCEaNqrz4bGpGE0sEOh Vdl23xkVAJU46eEFcmUU36gPDji0iDUzag57b/CuMEcri00b4MX9HHbxNlvRTRheWh/o h2uuMYUUa66W8smmZFG8J2dQLF1AmbW2Vpsbw+F/kFS+lUxNIMJuDhhnN1CJ4m2U0LVc vY6A== X-Gm-Message-State: AOAM533VrCamY6nIvDbZbdn7RMMc19Kbs11bxU52NWtXZ2yQYGianvmw 0fjmvIkecUVAzClwb+MLyCo= X-Received: by 2002:a17:90a:d702:: with SMTP id y2mr16584952pju.127.1629103995604; Mon, 16 Aug 2021 01:53:15 -0700 (PDT) Received: from [192.168.1.237] ([118.200.190.93]) by smtp.gmail.com with ESMTPSA id i11sm10448056pfo.29.2021.08.16.01.53.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Aug 2021 01:53:15 -0700 (PDT) Subject: Re: [PATCH v2] drm: avoid races with modesetting rights To: kernel test robot , maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch Cc: kbuild-all@lists.01.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, skhan@linuxfoundation.org References: <20210815153740.195330-1-desmondcheongzx@gmail.com> <202108160208.ONHHWxXy-lkp@intel.com> From: Desmond Cheong Zhi Xi Message-ID: Date: Mon, 16 Aug 2021 16:53:10 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <202108160208.ONHHWxXy-lkp@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/8/21 2:47 am, kernel test robot wrote: > Hi Desmond, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on next-20210813] > [also build test ERROR on v5.14-rc5] > [cannot apply to linus/master v5.14-rc5 v5.14-rc4 v5.14-rc3] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Desmond-Cheong-Zhi-Xi/drm-avoid-races-with-modesetting-rights/20210815-234145 > base: 4b358aabb93a2c654cd1dcab1a25a589f6e2b153 > config: i386-randconfig-a004-20210815 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 > reproduce (this is a W=1 build): > # https://github.com/0day-ci/linux/commit/cf6d8354b7d7953cd866fad004cbb189adfa074f > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Desmond-Cheong-Zhi-Xi/drm-avoid-races-with-modesetting-rights/20210815-234145 > git checkout cf6d8354b7d7953cd866fad004cbb189adfa074f > # save the attached .config to linux build tree > make W=1 ARCH=i386 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>, old ones prefixed by <<): > >>> ERROR: modpost: "task_work_add" [drivers/gpu/drm/drm.ko] undefined! > I'm a bit uncertain about this. Looking into the .config used, this error seems to happen because task_work_add isn't an exported symbol, but DRM is being compiled as a loadable kernel module (CONFIG_DRM=m). One way to deal with this is to export the symbol, but there was a proposed patch to do this a few months back that wasn't picked up [1], so I'm not sure what to make of this. I'll export the symbol as part of a v3 series, and check in with the task-work maintainers. Link: https://lore.kernel.org/lkml/20210127150029.13766-3-joshi.k@samsung.com/ [1] > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org >