Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2548897lqz; Wed, 3 Apr 2024 00:53:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbofpk/CvvP1CxBYx0b+q5XUrM2upoCVY0yLwO4EvZsqLuAr+Fx+Z+yAN2LHljcmi7AT8gKsqRma0MCLaCXBHposPzX3ksby61gStSEA== X-Google-Smtp-Source: AGHT+IHwL1OJOMqd/i8grPoUlgQoCdAqkP2+Q3R4Lk307FzjsqAS0ysLPHuMsgNc/NxhnYBNjifw X-Received: by 2002:a05:622a:1304:b0:431:3df7:6fd3 with SMTP id v4-20020a05622a130400b004313df76fd3mr15972424qtk.29.1712130826063; Wed, 03 Apr 2024 00:53:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712130826; cv=pass; d=google.com; s=arc-20160816; b=H9sA8Gl9xID46Twxmg0CiebDaFoJH91auq+rlcnerFRlfKeLTWQcjUGY3WMJVt+wxT ieDKGKbrrwWsHUdGPGHRHEKIsaotPuquH8Q1M9prYrkTYRKlsYcTDsX9+pc1Wc3e37Ib hHhpOGMCW57nckbIOgbpgdtKyNR0wh05iLnevNNGVjIjDThdnqQkvdy9iS4UVMWwDFYh LLv6ocadZtmnS0jbnnbS1MnErDc+ChJhCxhUN+ulm3FCqC4M7H2qyT9xM2ZGnW846uIe fza/cZsHJQy29FZvO91ss7abZ9Opm4i9uJlkRkXwUts5MZe92Bep3UfwsIgOdquPlo5y 4t5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=z7p53XmkkGTALNH4Ix0xvzQLOZKvgVhwnYYuHGcSQF4=; fh=JvP88yr2XEF9DoDJh4XLDI8wUki/Eiyq28JV3mwoRww=; b=T4lihoVH9aiLXx1iAS6CSse/4i8D9RlZnh5sEat9oR4mTKsq7DGNUJX1NQOoIZyzpG upZ3RmUFYgrI1+B0xwMtQ7TfV0msMcJrma1L6wN8FJRSuqR/DfoTdrCAQQQ/d0FZGKa5 XhauaTYccta10Sgir6ffpBAKkgCh86p2aic65QPLU2uML5TDa8eV5xZoRPEsq6eqCJqK i17H0AhggY+ZaTJHsELv1JbX2gseegGFgzd9TZKu1FZmo/R2PWkx1JtvCx7pgsvKlhYJ 8huh/BVbkjNq/yfj2sU6pe32mFLfzhSBM3cgG80xrYZHsnKVpcYaEcEHElbWcVkRQ19x Wi0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MrtYJFNn; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129223-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v30-20020a05622a189e00b00432d3aa9976si8642500qtc.610.2024.04.03.00.53.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 00:53:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MrtYJFNn; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129223-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C74291C2451B for ; Wed, 3 Apr 2024 07:53:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61FB85D47F; Wed, 3 Apr 2024 07:53:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MrtYJFNn" Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0AA125D467 for ; Wed, 3 Apr 2024 07:53:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712130817; cv=none; b=oLZHsUG14yCDqqpq7ufHC1SrpGlheU5G3056LevOinj5lPev070LlUdA+OyR4hJcQllE9hR9w+yNldas7kYnyd4hpqwxCpPDY0yQg9QD5NKTQ0rIyzUIDnvgX+kS6sOruvGUN3kfzMimgIrRzUeMvZ2x6+ITZ3V48kMp8pemB4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712130817; c=relaxed/simple; bh=lu4lr9wamx7dI/HCTq6kawIsHy+GqxMxRmNu/rjakdA=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=BoAQNbHb94wtF3VjW77vXc1sstNfOptU7g/LRSxhbvmF1NBKKNFj2MZa6bRppnw28hX6r7vJs1Rx+fi0sPEDH4AibDiM3K0BiTotB3rXkIMBJ4lCcu3vuKjVTl2suLksOvKuv3OizQf9cq6LXhEs73TPy4ETjsdEC9l9JOwJpqg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=MrtYJFNn; arc=none smtp.client-ip=209.85.222.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ua1-f52.google.com with SMTP id a1e0cc1a2514c-7e328cd8e04so1670776241.0 for ; Wed, 03 Apr 2024 00:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712130814; x=1712735614; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=z7p53XmkkGTALNH4Ix0xvzQLOZKvgVhwnYYuHGcSQF4=; b=MrtYJFNnPC9VhWUTMqaUxXOT+wiTRoVAdLq9f65kxYqzmMsr6NQGUYzD05TmJEnEcf ar69I7VjL3kPopRwa/Y7IgDEzVYlqrxlX9S2dpsOHNC/e0atozXduTBZl6fZNHUAfsdi 2JVFtNvgnue09yJkbZI5RWzzJaem5TdDik5BhUbu8IxVAoxYr9f0sTi/uy+kulwBX2P+ 750tu0rewg1l6uYRl1GX8HQuX1W/lkzmx9QCiE0pmKs9/BUePI79DvY0pk67Fp61bSUe JnoD7Rp2k9iVeVjCihSXRAVrGCkzfdjjTOS5wasdJ44XBCojFqI/vWJfyRH0ZtkzboBd 704Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712130814; x=1712735614; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=z7p53XmkkGTALNH4Ix0xvzQLOZKvgVhwnYYuHGcSQF4=; b=impa+qG9zkZYNubsPI59bgM8dgfmOIvu+BvsUiZWm+r1MURNPO0R8pJP2UoBgKk7gA dvr5d/QmrdzSEGQXe90eNOlSpPLH/LVYQR63XdKGHQ1my5RDjjfpfaxC4557r7L7cGdT y69POw00gPbiAlgCioZkNLN4OlgvLWAqNaXjRdncNOd8gqeUyY+rWfOx4C5YAq8H4r+O VLY3XccLzdtX1G2jKjV581MZHjWlEbDhZOJCOteWGpnlsR55pOhV6TtwfbyPYyDJAbxL M7+mP6m7VoGXAnhK1BaV4sDmYEYZTARQwkcZhJSW8sxhXtVfeOcAaOdOc9aAnob6Tn5R tCtg== X-Gm-Message-State: AOJu0YwYL71X1bRom0wA/AoychrMRYiWckHECAm/N1sWdk6Tu9FTtibx Lx7c1p8npdY+u3KQAblL4VjqDGNkz9VaDT1mPrgb/kORcRosWSVlSjpcUPQh5jGky4b4+Ccdd+2 6P1UlURWQxBTSh6qtQSh1lDYNwXZcpYK0THLrwH+Dil/0T2kXCYA= X-Received: by 2002:a05:6102:4bc6:b0:478:8714:e1e with SMTP id id6-20020a0561024bc600b0047887140e1emr8289869vsb.4.1712130814422; Wed, 03 Apr 2024 00:53:34 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Naresh Kamboju Date: Wed, 3 Apr 2024 13:23:23 +0530 Message-ID: Subject: sh4: parisc: asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration] To: open list , Linux Regressions , lkft-triage@lists.linaro.org, linux-parisc , Linux-sh list Cc: "Paul E. McKenney" , Mel Gorman , Andrew Morton , Rik van Riel , "Matthew Wilcox (Oracle)" , Arnd Bergmann , Dan Carpenter , Anders Roxell Content-Type: text/plain; charset="UTF-8" The parisc and sh defconfig builds failed due to following build warnings and errors on Linux next-20240402. Reported-by: Linux Kernel Functional Testing parisc: build: * gcc-11-tinyconfig - Failed * gcc-11-allnoconfig - Failed * gcc-11-defconfig - Failed sh: build: * gcc-11-defconfig - Failed * gcc-11-dreamcast_defconfig - Failed * gcc-11-tinyconfig - Failed * gcc-11-shx3_defconfig - Failed * gcc-11-allnoconfig - Failed In file included from arch/sh/include/asm/atomic.h:19, from include/linux/atomic.h:7, from include/asm-generic/bitops/lock.h:5, from arch/sh/include/asm/bitops.h:63, from include/linux/bitops.h:70, from include/linux/log2.h:12, from kernel/bounds.c:13: arch/sh/include/asm/cmpxchg.h: In function '__cmpxchg': arch/sh/include/asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration] 60 | return cmpxchg_emu_u8((volatile u8 *)ptr, old, new); | ^~~~~~~~~~~~~~ arch/sh/include/asm/cmpxchg.h:62:24: error: implicit declaration of function 'cmpxchg_emu_u16' [-Werror=implicit-function-declaration] 62 | return cmpxchg_emu_u16((volatile u16 *)ptr, old, new); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors Steps to reproduce: ------ # tuxmake --runtime podman --target-arch sh --toolchain gcc-11 --kconfig defconfig Links: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23264271/suite/build/test/gcc-11-defconfig/details/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23264273/suite/build/test/gcc-11-defconfig/details/ -- Linaro LKFT https://lkft.linaro.org