Received: by 2002:a05:6500:1b8a:b0:1ef:a0f1:aef6 with SMTP id df10csp68198lqb; Sun, 10 Mar 2024 05:34:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUncBiX9elWk5s/eUOKWi8xCAY90QXZq14n78Oun9sUvVcDxnSfcbuF4ifL19r3kU7E46H/g5EUub/PQdHndhgjGdTeeybwjyKt86JE/A== X-Google-Smtp-Source: AGHT+IE0NLvCyzPVI808yui1qYbffkFjVrxeDzBhHG4PV52PzPW+n3Q2e1XbUr4qY813UVKmxadi X-Received: by 2002:a05:6871:3a0f:b0:221:9392:c2e1 with SMTP id pu15-20020a0568713a0f00b002219392c2e1mr4632525oac.43.1710074083097; Sun, 10 Mar 2024 05:34:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710074083; cv=pass; d=google.com; s=arc-20160816; b=N+FwUcKYDjcsTt43Y1hwLIutMYfkcBCHbpw2huymiksr5Z6SH3EJuYTCk90EP2LCw4 u5Kk7RNLV55zfPQckcc2V3AkO58wxs5ewAQmXiuy6/kaxk6roBGKFycSCcodHqNbgbY+ EU5/+ugM9ab22TUWC5u73h1422gTcTWH/f/v6nbujvmYbVWmAseZuAQOtaCRT0XyKFMR 4zeEeaVTeJ+oPFIHSpo8K2jo4uv1j3dE38sKWNqA/M6HAcvwZq+luBLGf7ADeVWIkayR 92syi/2OeC0izNe2c0wc2fERxaxRib5MjXOPCubbFH3gkijK/JWrdKTfl4mwIHf2DkR+ 1MZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=YPj7mJSOmbCaNiEGC/t0Gr13wSnOz33kScWhnHNog2A=; fh=xM+EHz3Dr+TvCDOyTLw28oCZXSkZLiYTbuZhLXAu7cc=; b=JNt9q7ZuOj3smnfBb8OAEl1RGu7mjp9919WRw4budB4ezDreqxscZhhfBtBuaS7lOo uixOTAY1eZL4f1VPB8Ty+0QRNiVHivIknMgmaDAgzeNr7sIFnihMvzMyjFWk3bXTPzhV DEYYTX527d9Qdvq260FXRVKbTmOE68xaQrD9T4Q8AVvtafly9Pr/cOMg9ViAT8WZsY4/ nkpr9EHfSV2dJGL5JKNUpN1vtNch/bZW+WJ1Rx/QT1qE6W0aJPl8fsrdOiLQfOLLgtXS Ukw++3QXuP86E9rSjZeozLhgJ6M1dlfTmEKxxW+JQJ7FmocEyUaYZYGGToTRMw8SfmwL 0g5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=XrZGVqiL; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-98210-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98210-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id mf5-20020a0562145d8500b0068f6c00f147si3278836qvb.489.2024.03.10.05.34.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 05:34:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98210-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=XrZGVqiL; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-98210-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98210-linux.lists.archive=gmail.com@vger.kernel.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 BA3D11C2085C for ; Sun, 10 Mar 2024 12:34:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6E6923776; Sun, 10 Mar 2024 12:34:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="XrZGVqiL"; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="m3RslpyQ" Received: from mailrelay4-1.pub.mailoutpod2-cph3.one.com (mailrelay4-1.pub.mailoutpod2-cph3.one.com [46.30.211.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6DC31CD1C for ; Sun, 10 Mar 2024 12:34:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.30.211.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710074077; cv=none; b=DtdA1bbIx2ChfkkoVWYOdS7OkXJKdoL7zZr8vKiZSwEndpOrrIreG2gmT3As8rA+Pz8CBN3L40XXsem0AfNZDkXPPSrHmaH3+aS4+PCIHKWBoR+G00pZGecZKU+jGvQO7sKUGelKPvMrCSTHQ1aNMRwRLVk0ny0UMthM9XHEbmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710074077; c=relaxed/simple; bh=eVb3cFCjq/wLYohZULzNmR4wY1wWmg+rXCBfYx/lovk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fT0duPM4C0c9JepMfMB+Zr9oK3BQaCbH9XsdpEvJ8cYZMlXkm4m7/qvatDOEQLgdd/tSUchq1uXwdRsWfQso4x7INKXoV4GSiM/qIYEP34gPeJzX/xvHHfA71Wa0+j9Jh4F5y90e1Y7R4jGbfBQjIsg0l13zBOg5kaV9aE5u5Kk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org; spf=none smtp.mailfrom=ravnborg.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=XrZGVqiL; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=m3RslpyQ; arc=none smtp.client-ip=46.30.211.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ravnborg.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=YPj7mJSOmbCaNiEGC/t0Gr13wSnOz33kScWhnHNog2A=; b=XrZGVqiLZ7HmxgauHv34KliKYg3bdIPWco3WbmOUS/lB8zsCC5CO+ZmGjgOxo2GjOG74rWmUTzeTD b/mY6sUBDEHan3+MiNqavhep1+qPHkyBDaWl6exwf4yZnQXZflm2ZNKhjgrSRP7oI7myR7O69SGebo XlYfPZUDqofK/AVeAQ8SbwF/6PyanxchTuw/gVeaNJjgYIqCt52w0/UnbwyIPRtB3Doc3R096J0hgI 65BFZAHEQ6DOTY5XCc3HExn3ycYD4hb6fzaL/ouKN7wTNatsDLSWPfo0LIq8G88c92fKpkXAryb068 idmG4syFCwOqfBYTzt3xyh947vR51BQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=YPj7mJSOmbCaNiEGC/t0Gr13wSnOz33kScWhnHNog2A=; b=m3RslpyQ6rat08/y9fWoWhKLFFXulH2lxA/XDZXt362zndzEJbzwHFpTAVufQTF1BKRUZp5V6l5Ws lWldjHQAQ== X-HalOne-ID: 84422ca7-deda-11ee-9cef-31e85a7fa845 Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay4.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id 84422ca7-deda-11ee-9cef-31e85a7fa845; Sun, 10 Mar 2024 12:34:22 +0000 (UTC) Date: Sun, 10 Mar 2024 13:34:20 +0100 From: Sam Ravnborg To: kernel test robot Cc: Sam Ravnborg via B4 Relay , "David S. Miller" , Arnd Bergmann , Andreas Larsson , oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, Helge Deller , Randy Dunlap , John Paul Adrian Glaubitz , Mark Cave-Ayland , Kjetil Oftedal , Thomas Zimmermann , Alexander Viro , Greg Kroah-Hartman , Alan Stern , Jaroslav Kysela , Takashi Iwai , sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sound@vger.kernel.org Subject: Re: [PATCH v2 14/28] sparc32: Drop unused mmu models Message-ID: <20240310123420.GA989676@ravnborg.org> References: <20240309-sunset-v2-14-f09912574d2c@ravnborg.org> <202403101854.Z94SAU13-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202403101854.Z94SAU13-lkp@intel.com> Hi kernel test robot et al. On Sun, Mar 10, 2024 at 06:37:53PM +0800, kernel test robot wrote: > Hi Sam, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on 84b76d05828a1909e20d0f66553b876b801f98c8] > > url: https://github.com/intel-lab-lkp/linux/commits/Sam-Ravnborg-via-B4-Relay/sparc32-Update-defconfig-to-LEON-SMP/20240310-021717 > base: 84b76d05828a1909e20d0f66553b876b801f98c8 > patch link: https://lore.kernel.org/r/20240309-sunset-v2-14-f09912574d2c%40ravnborg.org > patch subject: [PATCH v2 14/28] sparc32: Drop unused mmu models > config: sparc-randconfig-r113-20240310 (https://download.01.org/0day-ci/archive/20240310/202403101854.Z94SAU13-lkp@intel.com/config) > compiler: sparc-linux-gcc (GCC) 13.2.0 > reproduce: (https://download.01.org/0day-ci/archive/20240310/202403101854.Z94SAU13-lkp@intel.com/reproduce) > > 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/202403101854.Z94SAU13-lkp@intel.com/ > > sparse warnings: (new ones prefixed by >>) > >> arch/sparc/mm/srmmu.c:49:5: sparse: sparse: symbol 'vac_line_size' was not declared. Should it be static? > > vim +/vac_line_size +49 arch/sparc/mm/srmmu.c > > accf032cfa582e Sam Ravnborg 2012-05-19 46 > ^1da177e4c3f41 Linus Torvalds 2005-04-16 47 int vac_cache_size; > 9d262d95114cf2 Guenter Roeck 2017-04-01 48 EXPORT_SYMBOL(vac_cache_size); > ^1da177e4c3f41 Linus Torvalds 2005-04-16 @49 int vac_line_size; > ^1da177e4c3f41 Linus Torvalds 2005-04-16 50 vac_line_size is no longer used and can be deleted. vac_cache_size is never written to and can be deleted too. vac_cache_size is used in shmparam_32.h like this: #define SHMLBA (vac_cache_size ? vac_cache_size : PAGE_SIZE) The same file has: #define __ARCH_FORCE_SHMLBA 1 If I understand it right then when SHMLBA equals PAGE_SIZE then there is no need to define __ARCH_FORCE_SHMLBA and sparc32 can use the asm-generic variant of shmparam.h I will do this change in v3. Sam