Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp100596rbe; Wed, 28 Feb 2024 13:35:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUmxEw/QUmWpINR1JiZGfp6hxGT++gs4rMsWv8mU8M6Hb5ZmcsAvw2HYUC/VQCMXWFoD/2tBRxlLfMw9snGON24Gf4G6cow4r0jYGSCHg== X-Google-Smtp-Source: AGHT+IGaNWMfDsSRZCESCmtbUBD01aIYBqL2g1Ob6BSRuUURK7QBMC+kKP+QOAyBQhyCGfH2H6CA X-Received: by 2002:a05:620a:7f3:b0:787:f615:2f69 with SMTP id k19-20020a05620a07f300b00787f6152f69mr255966qkk.33.1709156111658; Wed, 28 Feb 2024 13:35:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709156111; cv=pass; d=google.com; s=arc-20160816; b=zy6Uv5Dv+qqCGOMhbvnLACNrHpXZhMJiWUCmjIajpOAVsLDeaek7q6GdZGuOKCbE33 +Eo0drBLOD95qts4mHxqtIFTrhHPdSWSyPd7BKIxiwZNph0K9p+HU3YpkDfUdB0g41hD 7qxr+DB7Im+dQWpuxqy3BAijVVBAyulP0T0NjOfCLlggfsrN0XUIILafhUIy9NpYwlm3 cuF1t7WWqK52ssM3ykHBaUQep+V5WmxIgu0BsbZD+ztaGug/G2uPW4ii9KPWsgaVwB3r xiOz8J9Q8dpQa9PbDSPbuvqsKgy7WmV/riKB9Y5Igr+9DYLP9GHRptthn1kzFalaly1y Frgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=1XXg0IkU5TUPFv8zc80T7AHB4FtUby0AfD+GckQIvQA=; fh=WxC3Nm1GLmsnUYt1kwRtHwIB+dnEgD/ISWRonYMoRE8=; b=O1khPMPIwSU6bk3nJZi8zo6o9P9y7ph9S0LmpTW2PewR01vZ8zeLPCgvCWCGOs5pRN uSL6UnY9oGcePGF3jy7tL/3yYA9Hq2YJIJBBs3oY0fRhm/ABXlt8mI+6DZxP+QVlz0RO niq0sn9zo5aO8sphSOfFdCkPz8fGXOPyIBNQmpN9c50zpGvgrXfjGnaZKXE8B6VFJ2nn Ki/AVUNUvnSI1Pw5QWS+PammEhyAndKwlHdRqiHpZPxP8voNsQkTa+G1TYLz20rcFIQ6 DoH2dzOYcMomitsDYdKkbZ0+PWkuAbea35VUXMYNxvphQ8lELNg6BFzlbHaFD381Jm+9 pF1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=UcLPSQyO; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-85729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f26-20020a05620a12fa00b00787f3885030si37798qkl.746.2024.02.28.13.35.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 13:35:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85729-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=@google.com header.s=20230601 header.b=UcLPSQyO; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-85729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 63D971C25410 for ; Wed, 28 Feb 2024 21:35:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FD5170051; Wed, 28 Feb 2024 21:34:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="UcLPSQyO" Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 DBE4C70030 for ; Wed, 28 Feb 2024 21:34:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709156096; cv=none; b=rzb8ph7HeeJf9RMTrM5BJhcgzoTpAuQvWeyKmBno3OE0eX8ZBZkY+vAZJVIzriV8Ytx9W5BGJn5+7RSb44dg7Nia0taQg+RbBTUVzRM+WvGB5/EfAg4XsmQMBoUAoDpI6u7j6CUNiajagFK3lTPJTZptMRhdB0pdDuVkGkpK4bo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709156096; c=relaxed/simple; bh=hYKDYcEw5lHqH2aRTYPwr/dy/RfHP5zZ7HjM/dRqXn4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ftmbQnzBuuS2UG0cSuVSuMQWjRWcr+v2EKRfwAnVPW0Ch+TmF8Mprtm8HmF01Q4shf2fmM3OG0Ckx6pHuo7MdwbY/XPEJFMdXttTZYuL2XKDpBSv2F6IvYkpLVCNwsSMdFphcekgZOudiVTshN6/66cPtve6tGEcGw/CYn0m1q8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=UcLPSQyO; arc=none smtp.client-ip=209.85.216.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-299cae4f36bso119820a91.1 for ; Wed, 28 Feb 2024 13:34:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709156094; x=1709760894; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=1XXg0IkU5TUPFv8zc80T7AHB4FtUby0AfD+GckQIvQA=; b=UcLPSQyOeIiK0wylL/NBmVbjHt3P0pyG3v/m8DYkEENMwHttJRnaQWuwJ9ucwI+6aE ShGU1NoCZz9ibuG9IrbJSxhO5im8yLcYO3kJE9mrTJno4xXQPV29Pla+E/JoySkVCkCi itBtdkI7oVCTt2k6Nbms9/y2GEi92U8n8aQJxY3fFa3eFDrbpRjoImZyl1NQX5FlFBwn EYPD/BDpsB+BqmSN9sipdbDiWbT5zYZmHoAxcHZXrpynnubWfa1rbnZkbzL/zm86MwA6 UkZn/rjqPCTEwfB88g5OFED7xEQE4m1e6wnGlhPfUDWWPG7+cvLC0vOXa4aLnIckiH9x +c3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709156094; x=1709760894; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1XXg0IkU5TUPFv8zc80T7AHB4FtUby0AfD+GckQIvQA=; b=H3GA+0eYEXgHHa0VJAj67Pl0EOPn2S1f2o8BoD5x2Q6GF4A/Vs2Wj6llfjIJ2IZJM5 UkjEy0LkSLG1KcMVPCI9jf0A7qGcUkUniQFTGdbpSTQ4vyguXegLaCl03W/7Xkl4a3sO kQkGtx+rI3lbsPCVjW0S8hFn+S13CJREyHEtWbSnWzAH3xuT8nMRua5FEEC/LdXwoERT EtDL9hs/ze5QBH27jIQ7ToE9SW2xtGceld5MPpVHxYUXAI364efV+9Yq4AI9BkDIjUO6 JsOYDGUkHyjOG7i6Qcne2iDG963bzhyKdStrjpk/7XXM66u+7FLhQFkOARvkbKiwB4DI dILw== X-Forwarded-Encrypted: i=1; AJvYcCXwgUjan4h5/DpMpGC/GIcALrt90OKy9tF5ABRHLpbVbFmwpEqYkgOs/f7UAeOiaQj1KrIOWw6K9k7VsW9oqGz8pZ6tr195pGbdGxfl X-Gm-Message-State: AOJu0YxYnJBkh+vOz/bGbmoqcP5XuNC06+MYTPXT3mmEtToVbZ2mGDIt 3MNaoqZYrBbJZth9qUnwbM5fdZAw8+bjcaIw5F8D5g1O7YS0BuUsR101CLV3lTDZFgvWfG9gaAD tfQ== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:902:d4c3:b0:1dc:b333:f2a4 with SMTP id o3-20020a170902d4c300b001dcb333f2a4mr463plg.12.1709156094095; Wed, 28 Feb 2024 13:34:54 -0800 (PST) Date: Wed, 28 Feb 2024 21:34:53 +0000 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240208204844.119326-1-thuth@redhat.com> <20240208204844.119326-4-thuth@redhat.com> <501ac94d-11ab-4765-a25d-75013c021be6@sirena.org.uk> Message-ID: Subject: Re: [PATCH v3 3/8] KVM: selftests: Move setting a vCPU's entry point to a dedicated API From: Sean Christopherson To: Oliver Upton 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 Content-Type: text/plain; charset="us-ascii" On Wed, Feb 28, 2024, Oliver Upton wrote: > +cc Raghavendra > > 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? Yep, unless I've missed something, this is the only outstanding warning across all architectures that support selftests (sans LoongArch and PPC, which are pending).