From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17C52C433EF for ; Mon, 22 Nov 2021 20:17:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 785866B0071; Mon, 22 Nov 2021 15:17:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 70C806B0072; Mon, 22 Nov 2021 15:17:26 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5865A6B0073; Mon, 22 Nov 2021 15:17:26 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0208.hostedemail.com [216.40.44.208]) by kanga.kvack.org (Postfix) with ESMTP id 44E746B0071 for ; Mon, 22 Nov 2021 15:17:26 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 107531BAF9FD0 for ; Mon, 22 Nov 2021 20:17:16 +0000 (UTC) X-FDA: 78837675672.23.9C89B22 Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com [209.85.222.49]) by imf03.hostedemail.com (Postfix) with ESMTP id 1855930000A4 for ; Mon, 22 Nov 2021 20:17:12 +0000 (UTC) Received: by mail-ua1-f49.google.com with SMTP id p2so39032617uad.11 for ; Mon, 22 Nov 2021 12:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posk.io; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o7/4mC/JYrlbPMC5mTMOllHOhZpcab+DyW/7Z03WsSM=; b=Ioe0wKMbX4DHin7wlvdFlj4MEKfvWB2K04WzO6Bh1WNDiox9t4LgjI8c+H59UvnOs6 g6OJS605i7CqxgVciSjzu013fB0T99jq7C3tGtm7+eI9k0pfTM3hyyliFvZ4o/oGmtVk /ONIaqa4lZKQgcZvJJ+g4wfgw8uXgPUNkGfTVznvQ/5dtw8rS0Gf/8/91Edb3bMSGhTt U9kWMe1MxmCVQIFNzrhgIuqDZn6NmP56OL75xQ4enV86Ocy9a8rjlBlw/wdZkq6Ve+DZ g9ZetGIVTlka2LWRrP3MZVQwNeGzf+l+BciyCZSQzS08couN26QNvInhRbxU92Vhm8m1 vZ6g== 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; bh=o7/4mC/JYrlbPMC5mTMOllHOhZpcab+DyW/7Z03WsSM=; b=7Xux/gjK5xaI6JGK/ej+xYzIAtoJw3I0quwKp1RIXl/H+52hVLRKY+snCmCgH80/5P DfxRIAubln68CX035HTrJ16ZIF67rkH04yhxk/Mx4jNl4INyaBKrglnEoHowv883KJ7h m8+Hk41U/x/EvrB4oaGpG4591oWyz8oNTgGD+tfcsxqKuuyHSuwtatpS5gg37Plass35 zZOH1B2PrgtriA6FGxasP8ZEO3x87qwOQI8YApjVxhYqoVCCP1a3E4uq3yjiLJgW8M2c YEojgZsM1r5H37tkI7NYanO6usYTFYtJPjNE3eHquKV34JV3e5SNRekGXFcqZQSAMH0M XaSA== X-Gm-Message-State: AOAM532DUwaGYPpedyYuXHjMQYSi0Bzmc94GDcVLglsvtul0b5a9qDyN 3W/E13VakO2Pq2f9Wn2Z12F+GYXXGmk8+2NkEMzplQ== X-Google-Smtp-Source: ABdhPJwuthN9TtqqxsMgdNkzCamK1Lw39KDHjTILUpDel6l8BKQ6fkW7mkhQZL4NTeYgq1rYLOB385Q4dvNrEQ7NK0E= X-Received: by 2002:a05:6102:dc7:: with SMTP id e7mr133295163vst.21.1637612234866; Mon, 22 Nov 2021 12:17:14 -0800 (PST) MIME-Version: 1.0 References: <20211121212040.8649-4-posk@google.com> <202111221834.Q9LmeisY-lkp@intel.com> In-Reply-To: <202111221834.Q9LmeisY-lkp@intel.com> From: Peter Oskolkov Date: Mon, 22 Nov 2021 12:17:04 -0800 Message-ID: Subject: Re: [PATCH v0.9 3/6] sched/umcg: implement UMCG syscalls To: Peter Zijlstra Cc: Ingo Molnar , Thomas Gleixner , Andrew Morton , Dave Hansen , Andy Lutomirski , Linux Kernel Mailing List , linux-api@vger.kernel.org, llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Paul Turner Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 1855930000A4 X-Stat-Signature: sdoaorywga56b4ojnc6zy485xmk6jddq Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=posk.io header.s=google header.b=Ioe0wKMb; spf=pass (imf03.hostedemail.com: domain of posk@posk.io designates 209.85.222.49 as permitted sender) smtp.mailfrom=posk@posk.io; dmarc=none X-HE-Tag: 1637612232-218224 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Nov 22, 2021 at 2:02 AM kernel test robot wrote: > > Hi Peter, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on cb0e52b7748737b2cf6481fdd9b920ce7e1ebbdf] > > url: https://github.com/0day-ci/linux/commits/Peter-Oskolkov/sched-mm-x86-uaccess-implement-User-Managed-Concurrency-Groups/20211122-052209 > base: cb0e52b7748737b2cf6481fdd9b920ce7e1ebbdf > config: x86_64-randconfig-c007-20211121 (attached as .config) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/e455791cacec2b140558a717d2b8b07f5561a251 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Peter-Oskolkov/sched-mm-x86-uaccess-implement-User-Managed-Concurrency-Groups/20211122-052209 > git checkout e455791cacec2b140558a717d2b8b07f5561a251 > # save the attached .config to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > In file included from :1: > >> ./usr/include/linux/umcg.h:80:2: error: unknown type name 'u64' > u64 state_ts; /* r/w */ I figured it out - lkp manages to compile uapi so that it sees __u32/__u64 but not u32/u64. I'll make the change. As __u64 is actually a different type from u64 (long unsigned int vs long long unsigned int), I'll need to make corresponding changes in other files to avoid warnings of "comparing different types" sort. Why does the kernel have both __u64 and u64, and have them defined as different types? (This is not really a question, just a complaint). > ^ > >> ./usr/include/linux/umcg.h:91:2: error: unknown type name 'u32' > u32 next_tid; /* r */ > ^ > ./usr/include/linux/umcg.h:93:2: error: unknown type name 'u32' > u32 flags; /* Reserved; must be zero. */ > ^ > ./usr/include/linux/umcg.h:101:2: error: unknown type name 'u64' > u64 idle_workers_ptr; /* r/w */ > ^ > ./usr/include/linux/umcg.h:107:2: error: unknown type name 'u64' > u64 idle_server_tid_ptr; /* r */ > ^ > 5 errors generated. > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org