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 D6DD5C7EE2E for ; Sun, 11 Jun 2023 11:11:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D0AFB6B0072; Sun, 11 Jun 2023 07:11:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CBB4A6B0074; Sun, 11 Jun 2023 07:11:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BA9A36B0075; Sun, 11 Jun 2023 07:11:06 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id AAFFF6B0072 for ; Sun, 11 Jun 2023 07:11:06 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 6EA6B80187 for ; Sun, 11 Jun 2023 11:11:06 +0000 (UTC) X-FDA: 80890200132.18.252FDAF Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf08.hostedemail.com (Postfix) with ESMTP id 9DDBB160011 for ; Sun, 11 Jun 2023 11:11:03 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=hADXgxGL; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf08.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1686481863; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=CgXm+AiFJcRmjwuY2Z+gDuIRL5r60V1wcsJLPwSbtVk=; b=BAO68wD+Gl3q/3nxvIS/VlbHcEB70P/bPFv1nliRnDyPlOWIg9VZdfWg041s8n0r6lctzN QmOvpOfDC3PwxOu5P3JswpLUOXV0SuMyxuWYmn2P4tqlKkaDrt/GkVseswSvrLEERk5tJ1 grc+3+eEi804EpnhtonpN6sskjD7bf0= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=hADXgxGL; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf08.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1686481863; a=rsa-sha256; cv=none; b=3MBXfIj+vV9qeDIXiJh8oiBQhDor+grg/xmErFZf0SKU0cXHjNduomhmYCG9rziZFN4qLJ DXwGG/HKabJeKZ68MllFxVjSO88i3aSYizt/mdR2rY1q3ib9eNOSmVqAVBJKVS7U9eOOcg /Ymzi/UclCOqH8OLDwQyFQfg6zdop4k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686481863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CgXm+AiFJcRmjwuY2Z+gDuIRL5r60V1wcsJLPwSbtVk=; b=hADXgxGL7VnNR2GHVe+gnap7JHdOA7zuYmoypKN7xvg32jv5N/O/wtx40BBhp6Ow/81tSu cC357xpPULLITSKuj5o9SHD3pVBDp7BcWowFDJq3ujC7n+D1/PUp7ml9jn+AB4bNGk4abX HcH1G+zPRPyB+sp8A5m5OypPf2yPGaw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-591-YfFmB5m3O6qTxAx_kQjAkw-1; Sun, 11 Jun 2023 07:10:59 -0400 X-MC-Unique: YfFmB5m3O6qTxAx_kQjAkw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3E0F9811E85; Sun, 11 Jun 2023 11:10:58 +0000 (UTC) Received: from localhost (ovpn-12-34.pek2.redhat.com [10.72.12.34]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7C3BB10DF8; Sun, 11 Jun 2023 11:10:55 +0000 (UTC) Date: Sun, 11 Jun 2023 19:10:44 +0800 From: Baoquan He To: kernel test robot Cc: linux-kernel@vger.kernel.org, oe-kbuild-all@lists.linux.dev, linux-arch@vger.kernel.org, linux-mm@kvack.org, arnd@arndb.de, christophe.leroy@csgroup.eu, hch@lst.de, rppt@kernel.org, willy@infradead.org, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, schnelle@linux.ibm.com, David.Laight@aculab.com, shorne@gmail.com, deller@gmx.de, Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , linux-s390@vger.kernel.org Subject: Re: [PATCH v6 10/19] s390: mm: Convert to GENERIC_IOREMAP Message-ID: References: <20230609075528.9390-11-bhe@redhat.com> <202306100105.8GHnoMCP-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202306100105.8GHnoMCP-lkp@intel.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 9DDBB160011 X-Stat-Signature: buiudqjwy81woqbg1qd3fibhsqioniru X-Rspam-User: X-HE-Tag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pZk90IBw2gjaoJg8H5Tj67eN3ZjVISwSNrPL7ZNreZ47Y68G7pi2LgkMlOsUCTlTXhGTAafWawNcYVsNvTgCZG+erXaZc1/+goaStq1ZKJLR1m6eodyW7pGZ6euPLkm1dqpiSGS+w57r/h1O/pfMEodmdl8uD7mIZ81V7WLN3sNLupPddmnRsggJ4b0nNvkEwh61vmFoh18bLqCXLEXzSNyuEpLy+Cy2KWxM3uKwxP8bJbA7fnvTr5vDm0lPlQkJJ1YJDdCmXJhA2vK2ZOVl5OCLSXPPKcFuj9j32OocT4X4OriI+MsvzxmBDuaDk1iKO9GrEkjmKzaIiCvB9Y9OrDoBGzMmhR6PsnReoQgUnf50ZGSeWVib3zBx6SOHKMatCWbsz+ICmck3Z43SALqcuO7aPPBy+i5h9SyAD92jeEzD67Sl+9i6jdXUf0/EJa+65cH9NVO6959zOpoKjbanVUGAdE8Kqlg/OYmgmPk5L4u+wgQ1UAiWT60dzM0UE78Z/g== 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 06/10/23 at 01:42am, kernel test robot wrote: > Hi Baoquan, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on akpm-mm/mm-everything] > > url: https://github.com/intel-lab-lkp/linux/commits/Baoquan-He/asm-generic-iomap-h-remove-ARCH_HAS_IOREMAP_xx-macros/20230609-160014 > base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything > patch link: https://lore.kernel.org/r/20230609075528.9390-11-bhe%40redhat.com > patch subject: [PATCH v6 10/19] s390: mm: Convert to GENERIC_IOREMAP > config: s390-defconfig (https://download.01.org/0day-ci/archive/20230610/202306100105.8GHnoMCP-lkp@intel.com/config) > compiler: s390-linux-gcc (GCC) 12.3.0 > reproduce (this is a W=1 build): > mkdir -p ~/bin > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git > git fetch akpm-mm mm-everything > git checkout akpm-mm/mm-everything > b4 shazam https://lore.kernel.org/r/20230609075528.9390-11-bhe@redhat.com > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=s390 olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash arch/s390/ > Thanks for reporting. I tried to reproduce with above steps, while failed with below message. Later I got a s390x machine to reproduce the failure, and made a fix in below patch. [root@dell-pem620-01 linux]# COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=s390 olddefconfig Compiler will be installed in /root/0day lftpget -c https://download.01.org/0day-ci/cross-package/./gcc-12.3.0-nolibc/x86_64-gcc-12.3.0-nolibc_s390-linux.tar.xz /root/linux tar Jxf /root/0day/gcc-12.3.0-nolibc/x86_64-gcc-12.3.0-nolibc_s390-linux.tar.xz -C /root/0day Please update: libc6 or glibc ldd /root/0day/gcc-12.3.0-nolibc/s390-linux/bin/s390-linux-gcc /root/0day/gcc-12.3.0-nolibc/s390-linux/bin/s390-linux-gcc: /lib64/libc.so.6: version `GLIBC_2.36' not found (required by /root/0day/gcc-12.3.0-nolibc/s390-linux/bin/s390-linux-gcc) setup_crosstool failed >From 26aedf424dac7e58dd1389e554cfe0693e2b371f Mon Sep 17 00:00:00 2001 From: Baoquan He Date: Sun, 11 Jun 2023 18:37:43 +0800 Subject: [PATCH] s390: mm: fix building error when converting to GENERIC_IOREMAP Content-type: text/plain We should always include in ARCH, but not directly. Otherwise, macro defined by ARCH won't be seen and could cause building error. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202306100105.8GHnoMCP-lkp@intel.com/ Signed-off-by: Baoquan He --- arch/s390/kernel/perf_cpum_sf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kernel/perf_cpum_sf.c b/arch/s390/kernel/perf_cpum_sf.c index 7ef72f5ff52e..b0269f3881aa 100644 --- a/arch/s390/kernel/perf_cpum_sf.c +++ b/arch/s390/kernel/perf_cpum_sf.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include /* Minimum number of sample-data-block-tables: * At least one table is required for the sampling buffer structure. -- 2.34.1