Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2683038rdb; Mon, 12 Feb 2024 12:50:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX7z/GiOiwUUMzC7n2fYXO+QeUjpMM4kSL+isvtNZ9JXd3ljgWJ1niv04K4x2vy6qXjajbZ3hn9dqiw1WUHaOvTaCeAlzZJxXIrIbhaPw== X-Google-Smtp-Source: AGHT+IHAWiMO/CkHjy5em4sGm5NHM4uJjS6LmIbopPJnLwIu7AumDZpGKLp3nO3HjAO4BqgKyeH5 X-Received: by 2002:a05:6808:1283:b0:3bf:db98:8684 with SMTP id a3-20020a056808128300b003bfdb988684mr7987098oiw.37.1707771049541; Mon, 12 Feb 2024 12:50:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707771049; cv=pass; d=google.com; s=arc-20160816; b=APSo0KCLKTq6woIYjLTq69SccIyBA9FxsyOvyAEOqy0bKQGtcAsp39fz153u+78rxL pFcEXZu0BuI7kponPG7l9pcA+bCQTCDDLh+A4mbpkzcy7WFquQNLNKuf/RduQs7UxtMe doBpXNYZvfO67MQ9lLq/ZswtDn0P/GWboQQbcYeuGGZJko5VUaU0AFPkWqtacsAtspk4 6hD/fyuJ2Sbg3O+659x5WKdPhzOAsWDLvbO8dICtTO21VvKuFhy+5HajLkwJfd1eneWt JbOIUmKCpfCiZwxzab2iWJpVsfTw2yKUp29rLHItxKstHknASlWeajtL0AwDTA3t+Eqb cwXg== 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=zYpPKL/Y1qQVtjq1JAXZQxRcIoamgeLdOfY6ECA0RJI=; fh=eiVFXl+slz5k45nV/tWKPN2e4oT9QJRAfGBfCaPKCgg=; b=nMisw9M86hBNQVpwkQPOo2gd+/RHEGZqZxBvdjkxn1xh2oZfheoFxkMNamdR61fHW3 K0TzhN/tQKcdn3ud4i9bkUOT8gWwefbPyrNxG9hkFyXnQEDQGSVcw0cIVwFdgfodX6LY ie0v919VTsR62VFabpwVIgclXRwbzqw6iXd67DFEN4hKSK6l5rmnDcTIWJH6u2mWWe1y t4kcVYWMMGelbaVs+xa+Nx01Z3MJGfKo1RuEQygmOlyEuVaxnJ2bEFmGzRnNwxWMQ+vT VdKJqNlLnbzMzg+et4AWeQKCbWuPYO9RWKIxPKo93a/AlzVFcwbFP7w9Kbk8l2nRHZhW Y/+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=WbZ6Hs7h; 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-62356-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62356-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev X-Forwarded-Encrypted: i=2; AJvYcCUA/dSHLrF/mDJzxmGkqc5xVhghvs2pR4nilw3QHqklnj2bUwMggP+ohV70FpA+BCwaZCg7bxx7bkciJQDpIV7RyRymBOi96aNGxOubNg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x5-20020ac87305000000b0042c5fcee31dsi1210757qto.542.2024.02.12.12.50.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 12:50:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62356-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=@linux.dev header.s=key1 header.b=WbZ6Hs7h; 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-62356-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62356-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4B8B41C21D95 for ; Mon, 12 Feb 2024 20:50:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73D1E48795; Mon, 12 Feb 2024 20:50:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="WbZ6Hs7h" Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (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 5E07F1DDC5 for ; Mon, 12 Feb 2024 20:50:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707771042; cv=none; b=cxo2ytPBuK5LaC/EYvrXhy/2n1oVNNoC+6o8yNOXV/kzkdbeIEVh6eULPkm7wQ9Fy5tgfLCVNBj9DozJztA5P1VTpBpThragbqG3f/k05EOsccZ/cKdmWCc8JRhAyXEuWAgOsd4IwRgjMPAHrRYy+SB7pX/oO417XMZDa7zOi/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707771042; c=relaxed/simple; bh=83/Rq5+9VR33j4Elywo0ZdM8hdp6fKuCdQOKK21jY+g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=F82ujzEwPchBdfG/7FbgOBShtJyR+mKMA+5cgkSGmnY1NHJ55RTM7ON+uRMY2T9v9BdHBlCTb1G155EbC13KsKIF1p4X3RWYRk8Z6Nu/Ju3fNiW6jnfNZCW/OjP2FM0S3An4rjrLF45qE4DLFky8wDHYlHc+1xVPyUnjPRbHdJ8= 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=WbZ6Hs7h; arc=none smtp.client-ip=91.218.175.177 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: Mon, 12 Feb 2024 20:50:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707771038; 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=zYpPKL/Y1qQVtjq1JAXZQxRcIoamgeLdOfY6ECA0RJI=; b=WbZ6Hs7hakWIivaDx59Q0n3ptB0lNcjUMcBj/8oZgwngQ02s2WPXO5Z9PxO4MUTpUyiiS8 ID6C8WG10tdl9bUU02Awcs6vMs05uKronOQ4lBYIsvhUMjwnH16bZvOQ0acOh/cOZ5TK/k o8N2xr1AMl+l7kvOqRMCBiE+CfFWVB8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Sean Christopherson Cc: Marc Zyngier , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] KVM: selftests: Fix GUEST_PRINTF() format warnings in ARM code Message-ID: References: <20240202234603.366925-1-seanjc@google.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: <20240202234603.366925-1-seanjc@google.com> X-Migadu-Flow: FLOW_OUT +cc Anup FYI -- this patch is touching the arch_timer code. I did a test merge with kvm_riscv_queue and there weren't any conflicts, but in case that changes this patch will appear on kvm-arm64/misc in my tree. -- Thanks, Oliver On Fri, Feb 02, 2024 at 03:46:03PM -0800, Sean Christopherson wrote: > Fix a pile of -Wformat warnings in the KVM ARM selftests code, almost all > of which are benign "long" versus "long long" issues (selftests are 64-bit > only, and the guest printf code treats "ll" the same as "l"). The code > itself isn't problematic, but the warnings make it impossible to build ARM > selftests with -Werror, which does detect real issues from time to time. > > Opportunistically have GUEST_ASSERT_BITMAP_REG() interpret set_expected, > which is a bool, as an unsigned decimal value, i.e. have it print '0' or > '1' instead of '0x0' or '0x1'. > > Signed-off-by: Sean Christopherson