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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 104AEC7EE43 for ; Tue, 13 Jun 2023 02:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=n48BTdtNAC9rsJrPdui5QWTafPDiBJS1V7pnjBUjdAo=; b=TE3nlRE5uyFJ8O arUiRTx7kDCKWXRcqqYuDRFmDdMA3/X7F2ZtuqHYOOw6RnjjWuP/dt6T3YhNXCCJ/YP1bjFXFvVIe 8SYVehlwM1rbAQ6bad+9YQFEH+23k6+hZl086kdGAg4qaQUO1uSdpOxEyVUm42QDy+NS8eT03se+Y 0TWgXQvI/UUWrO9EkKz8QPgqOuIMJ7kmt39eBtJxRJjo0azoe4D6COdKbq/ugLJYlu1DBJ6rp2aln 9gKoxEROk1+LazBqxkhynw2kn9EbjctUPG04MnEvt2O6/bFGIAA6zweGgD2v/eSDlGh8x6fkIlxXE 7M/GePVHIsm4PNAbmoYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q8toj-006gPf-1P; Tue, 13 Jun 2023 02:31:33 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q8tof-006gOz-2I for linux-arm-kernel@lists.infradead.org; Tue, 13 Jun 2023 02:31:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686623489; x=1718159489; h=date:from:to:cc:subject:message-id:mime-version; bh=OLacDd/WZDK+wobVB8Ma1+BlnIQGBur79aUel3FibgU=; b=UPf5hJqSWR47X59Xmfa+AladJ6PrZSRCJzU2lX3SBkymuxWuuHUlnnCA 078ZDDiXLn8WGHffllBW+N9B18fjH2pfbp5LzrSkbmHlAiSWIO8R5RyKY 7R69RkPzKiVgEiQi2DtEj57Fb+ULdIDTQWWLGDy3MsQGd9uNwWTsCZ+3f Bc3wNk1tmPY4M4gpExhIeZhT391GL8rio7wB/TaZ+4GxWlnqzZ3w7GQ0I 4uVTKQKo/tTMgMBkvPMXs8MqoE+Mzbl9qusD0F4KrO+7Kudk+7mMaJ5mx W/tZtJ7dqMbs2/idVOrSBGNCbUkzP3e3ao9oojXttRzuqYdmaGPvAjDeF g==; X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="424093784" X-IronPort-AV: E=Sophos;i="6.00,238,1681196400"; d="scan'208";a="424093784" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 19:31:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="714613245" X-IronPort-AV: E=Sophos;i="6.00,238,1681196400"; d="scan'208";a="714613245" Received: from lkp-server01.sh.intel.com (HELO 211f47bdb1cb) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 12 Jun 2023 19:31:26 -0700 Received: from kbuild by 211f47bdb1cb with local (Exim 4.96) (envelope-from ) id 1q8toc-0000w4-0V; Tue, 13 Jun 2023 02:31:26 +0000 Date: Tue, 13 Jun 2023 10:30:47 +0800 From: kernel test robot To: Catalin Marinas Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [arm64:devel/kmalloc-minalign 1/17] arch/powerpc/include/asm/page_32.h:16: warning: "ARCH_DMA_MINALIGN" redefined Message-ID: <202306131011.OGbdy4PK-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230612_193129_797580_F38E6506 X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git devel/kmalloc-minalign head: b862c01a97ef575e8d5f018e542dbd30ddc524b9 commit: 9c5a142fe1e2aeb1a1821eb79b39edd09bbb0078 [1/17] mm/slab: Decouple ARCH_KMALLOC_MINALIGN from ARCH_DMA_MINALIGN config: powerpc-rainier_defconfig (https://download.01.org/0day-ci/archive/20230613/202306131011.OGbdy4PK-lkp@intel.com/config) compiler: powerpc-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 # https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=9c5a142fe1e2aeb1a1821eb79b39edd09bbb0078 git remote add arm64 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git git fetch --no-tags arm64 devel/kmalloc-minalign git checkout 9c5a142fe1e2aeb1a1821eb79b39edd09bbb0078 # 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=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=powerpc prepare If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306131011.OGbdy4PK-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from arch/powerpc/include/asm/page.h:247, from arch/powerpc/include/asm/thread_info.h:13, from include/linux/thread_info.h:60, from include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from include/linux/preempt.h:78, from include/linux/spinlock.h:56, from include/linux/ipc.h:5, from include/uapi/linux/sem.h:5, from include/linux/sem.h:5, from include/linux/compat.h:14, from arch/powerpc/kernel/asm-offsets.c:12: >> arch/powerpc/include/asm/page_32.h:16: warning: "ARCH_DMA_MINALIGN" redefined 16 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES | In file included from include/linux/time.h:5, from include/linux/compat.h:10: include/linux/cache.h:104: note: this is the location of the previous definition 104 | #define ARCH_DMA_MINALIGN __alignof__(unsigned long long) | -- In file included from arch/powerpc/include/asm/page.h:247, from arch/powerpc/include/asm/thread_info.h:13, from include/linux/thread_info.h:60, from include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from include/linux/preempt.h:78, from include/linux/spinlock.h:56, from include/linux/ipc.h:5, from include/uapi/linux/sem.h:5, from include/linux/sem.h:5, from include/linux/compat.h:14, from arch/powerpc/kernel/asm-offsets.c:12: >> arch/powerpc/include/asm/page_32.h:16: warning: "ARCH_DMA_MINALIGN" redefined 16 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES | In file included from include/linux/time.h:5, from include/linux/compat.h:10: include/linux/cache.h:104: note: this is the location of the previous definition 104 | #define ARCH_DMA_MINALIGN __alignof__(unsigned long long) | vim +/ARCH_DMA_MINALIGN +16 arch/powerpc/include/asm/page_32.h 5cd16ee934eafc include/asm-powerpc/page_32.h Michael Ellerman 2005-11-11 14 52142e756e9bf6 include/asm-powerpc/page_32.h Benjamin Herrenschmidt 2007-11-19 15 #ifdef CONFIG_NOT_COHERENT_CACHE a6eb9fe105d5de arch/powerpc/include/asm/page_32.h FUJITA Tomonori 2010-08-10 @16 #define ARCH_DMA_MINALIGN L1_CACHE_BYTES 52142e756e9bf6 include/asm-powerpc/page_32.h Benjamin Herrenschmidt 2007-11-19 17 #endif 52142e756e9bf6 include/asm-powerpc/page_32.h Benjamin Herrenschmidt 2007-11-19 18 :::::: The code at line 16 was first introduced by commit :::::: a6eb9fe105d5de0053b261148cee56c94b4720ca dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN :::::: TO: FUJITA Tomonori :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel