Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp100316rbe; Wed, 28 Feb 2024 13:34:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdmxYmf7rECp/daiteIQ0x+7zk7HKfJVS7cc3Bx542VUtpjGvXUXMNcmObEZUMgzOHcr257Obrwjc8+E45zG0H/5Gc55mksP3jPr/3FA== X-Google-Smtp-Source: AGHT+IF6xz4hm1/bvO/2uXwv+Pt2itLk39LxQRnrQgGOF/utzt4Jgb7t5Stjcoi0uw3lDS7m3sPz X-Received: by 2002:a05:6808:23c6:b0:3c1:7f9e:f282 with SMTP id bq6-20020a05680823c600b003c17f9ef282mr314503oib.15.1709156075829; Wed, 28 Feb 2024 13:34:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709156075; cv=pass; d=google.com; s=arc-20160816; b=tWZqwD5z6of8SeA6vHHE2cEq+O+SsXrC2Pp7y+ueSIjZVUS2gU74CTZoA8MGNchDES 0dy3GKDaY0aKLgSR8LwpZWNueL7jGS79j5kuOTpgVhM6SZtf/sROSk4dK15TeB8Z7U/+ Dk1AwMdISZV9nQAH66fYsV4BttLe4MFJH/Hc9uDzPbeXF/oRI8BWKalGNzxo2IYyGjmm zoLfkUynn19R+AIl495a6QYad2E0iFWQnlPK7vEvvbOT7hMsOZ3qkPJkbqiIzZ8I+ViO l2HLcVY2QZ+MIbh822L1m6j7avC9lTMTrxcCxzdEcEE4uAr/AE0s6AefM6fRkIRpTxG6 /P7w== 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:dkim-signature:date; bh=AKLLQheTiIIqIx7nrNpRjfoLsYpiraWTUJCmTz11PY4=; fh=l8Wv7LKokYykrZ8y12IIm3iD7c3vwlMWps5G1LZjqLY=; b=HAiXQdF4ezGgHUqbMNeda6IcngMVfrNCGoMfErPXEgbbS8bQhs/QXR5cINey0wR/Kx 3CyHVKOgRRCRZYBu3EmFLhGNZ5CyeFy0fkv8LkRfdjKJEx+4ObmcYQ0IMNB2ep33lmEY HfP0Mdh9h3/BXxCmDXTHbcluaN9cwKlcBAqwVTU152FSZo7b98h/Xmq7hqv5UPj/3pqT bgeWd1qEc9mCwW3klZHj0IjdO0f9wUGQg1o593M7ejSmqhVjTUBucPYLLeev5gomvsPO nRR7ZU2g6Gi1bwf3CR4bVHeNVEEOdvz1WjkP/eESsMN0vWQWAkEkvjDS/DyLda3uPbrp Bz9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=M6EvXq+T; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-85727-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85727-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e4-20020a637444000000b005dc962cfb64si332804pgn.89.2024.02.28.13.34.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 13:34:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85727-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=M6EvXq+T; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-85727-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85727-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 84263288F88 for ; Wed, 28 Feb 2024 21:34:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2C5F70040; Wed, 28 Feb 2024 21:34:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="M6EvXq+T" Received: from out-185.mta1.migadu.com (out-185.mta1.migadu.com [95.215.58.185]) (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 2B6AE70031 for ; Wed, 28 Feb 2024 21:34:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709156065; cv=none; b=BQYuYor5Rg4PE2AkUo3qCijr5T3ESRwrAhkLrWyKBhk923tDF4qGLpbIo5Y08WaYUPHH0oZ60a1GmaDKpp+NBPfl8X5dHs8C942LXi3aB+LDf9IDNs0Y/kr6TRWXxrlUEeKlljxx9+5T6LUPgixdurzG/nxdNgmRzdj1Zd0Hg7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709156065; c=relaxed/simple; bh=u0glWb8PLZEnaQBoKnM6UxMr33w9SryGXNiNoDypwRQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U1mBAcwkL6d/RkmyT41WxYDeOZXsoog4Eck/wabYoVlfkCa876Hp/gNwn/nfkPuVK4zvNjg3ApaRkDauXiIxRSp3xjEOzrpgO+/bzhk6fKmf1HncSJrHmMFfFtLLaT6nLnkN+ZgEv5LD7DzTSC5RiBQ2dNMFSwzoPsF+D6MXvfk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=M6EvXq+T; arc=none smtp.client-ip=95.215.58.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Wed, 28 Feb 2024 21:34:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1709156062; 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=AKLLQheTiIIqIx7nrNpRjfoLsYpiraWTUJCmTz11PY4=; b=M6EvXq+T0VEep82dPWCLF5UU1Mk68qeW9WjAWox6J2ZxmeZVw5VJPXHbiO644f5C4oiye6 e4rNb2cxMAA3ZmcBJrSfcecv1RFdTph9FrllNN6g6qRPKX+3Ztggkx1tzTz3dmmFIGm3EA bTeDVZMZsZ1WwjF3dEyk+W+WpSXgYFI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Sean Christopherson Cc: Mark Brown , Thomas Huth , kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Paolo Bonzini , Andrew Jones , Marc Zyngier , Aishwarya TCV , rananta@google.com Subject: Re: [PATCH v3 3/8] KVM: selftests: Move setting a vCPU's entry point to a dedicated API Message-ID: References: <20240208204844.119326-1-thuth@redhat.com> <20240208204844.119326-4-thuth@redhat.com> <501ac94d-11ab-4765-a25d-75013c021be6@sirena.org.uk> 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: X-Migadu-Flow: FLOW_OUT I really should fix the CC list _before_ drafting a reply... On Wed, Feb 28, 2024 at 09:29:56PM +0000, Oliver Upton wrote: > +cc Raghavendra See below :) > Hey, > > On Wed, Feb 28, 2024 at 01:19:48PM -0800, Sean Christopherson wrote: > > but due to a different issue that is fixed in the kvm-arm tree[*], but not in mine, > > I built without -Werror and didn't see the new warn in the sea of GUEST_PRINTF > > warnings. > > > > Ugh, and I still can't enable -Werror, because there are unused functions in > > aarch64/vpmu_counter_access.c > > > > aarch64/vpmu_counter_access.c:96:20: error: unused function 'enable_counter' [-Werror,-Wunused-function] > > static inline void enable_counter(int idx) > > ^ > > aarch64/vpmu_counter_access.c:104:20: error: unused function 'disable_counter' [-Werror,-Wunused-function] > > static inline void disable_counter(int idx) > > ^ > > 2 errors generated. > > make: *** [Makefile:278: /usr/local/google/home/seanjc/go/src/kernel.org/nox/tools/testing/selftests/kvm/aarch64/vpmu_counter_access.o] Error 1 > > make: *** Waiting for unfinished jobs.... > > > > Commit 49f31cff9c533d264659356b90445023b04e10fb failed to build with 'make-clang make-arm make -j128'. > > > > Oliver/Marc, any thoughts on how you want to fix the unused function warnings? > > As evidenced by this goof, being able to compile with -Werror is super helpful. > > Are these the only remaining warnings we have in the arm64 selftests > build? > > Faster than me paging this test back in: Raghu, are we missing any test > cases upstream that these helpers were intended for? If no, mind sending > a patch to get rid of them? > > > And another question: is there any reason to not force -Werror for selftests? > > Nothing comes to mind. We need to bite the bullet and make the switch. > There might be breakage, but we can certainly handle that. > > -- > Thanks, > Oliver -- Thanks, Oliver