Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2684541rdb; Mon, 12 Feb 2024 12:55:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX+Bqv+MiFldKDdWF6b/psoh7HKNGhjDAB7icR0Xr75lFz2A/DSWmlUIW+i2YC6zaUN1x/nkaexfXEwwmGfdDJ0oGsxkvOBTJbLfyIgpg== X-Google-Smtp-Source: AGHT+IE+39+EXo2SjoDCQV8wMt+YZmjj9hjRcBo2a0xME6usGCiXHNgEzD1pz30MmayM9UZos323 X-Received: by 2002:a05:620a:4904:b0:785:cde1:4c28 with SMTP id vy4-20020a05620a490400b00785cde14c28mr6419617qkn.63.1707771325008; Mon, 12 Feb 2024 12:55:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707771324; cv=pass; d=google.com; s=arc-20160816; b=D8lGreho7Y5y8vtE5vnswBNxP6zNed8kp3hajt04hFeoPieaA2YM28KdFgAQUdXBqF BX78SL5TK9OifzEHuQceEqjEBGsHPQZeclqvZPygNXXLHP5Vr4zAOEvKwsPW/4BhupcF Dr5Dpy0oaN3/rLPIDzRueqhB6f941tEZmpJqKdrVCcZ/dkUl+Tpz/MlWLu0pldmOfMOg EwHi1/ldLIo45Kf6PzutCzSqE8tztZqVrWysp/HAXOGyGuHevSweTE0tcdx93gqwhAo3 aODWlf8RN9Q8jQGXCA7xTMjVYkP53hI4aoo2Ml+WQ2LE+qP5QhfBgZkNOHBtt5K7Fa31 x0Hg== 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=Jg+S1eA0mQzeAlYCXpsQrlGlqFnthigQE9V3fAICXlU=; fh=SPwd+1AdUXmE9s8IEOGEXmqQqoV8c6X4rBqgaWV8rG4=; b=cjG8wEZgMH4r2QZe2EG/Giw+ijXLXODTLiD3ovrkjojv5PxUiESLS4thxJif+bagzV QzO+mUn32Dt9kPR2nI+/HWeURSHN/dS28nwEB41xHkn2IsHiUlDCNj+J57uDgXpwZ7A1 7LCu0QadKVt7EEkTIsLTHNAr8S6V1IEedpnd02H2I94md07Qklqszbh5znCmZXZgwkhm EHUeAEZwGm3mQDfMw39VLIe2jPmkX36souU/AmDMwJ2+SDhCWo8vqjPJ9FMO4CBZ4yLL sV0oxoBVrdODUGFA1Zdfs9KN3p4IacApqWOZ+rh6P7DgwtaPSStt8D6jwzhnf+IXyTrC ImnQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=fx6X2FZm; 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-62359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62359-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; AJvYcCWtkmTJGZBIAKp4t9jDQNewZSWkhU1Vns3oJTij6SzRo4pXnU9+6HLthJbQjtFMIecOEcSyFdUMFo5VcEyFwDrc5tO+voI1MDLm+88Zqw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b7-20020a05620a0cc700b00785da8cdb12si1846538qkj.262.2024.02.12.12.55.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 12:55:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62359-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=@linux.dev header.s=key1 header.b=fx6X2FZm; 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-62359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62359-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 A5E871C21A1C for ; Mon, 12 Feb 2024 20:55:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9357F487B0; Mon, 12 Feb 2024 20:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="fx6X2FZm" Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 AE5D947F7A for ; Mon, 12 Feb 2024 20:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707771316; cv=none; b=ob9u6tYLAJEIrTuImoKzh+xVXthaQilAPNBIf72eZCCumdNGan9eiwRgss8rXGjj9VHcrJ9h9Eye5utFGkPPJPkcbQZpsgTYJKYYaHZ1WxJD4UHTcdklT1olieHLBbaIyI6OFeyEZncIvjNR6N0bvD6d07ITfcF4cxpC7kF/ELQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707771316; c=relaxed/simple; bh=hYrwD2jyM1YoV8NSAy83Vgp5NfJRs9jP9j3gkH0cboE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Rtxipgbr9ww+tt4QdpOha+msgWKdGqpxtnjQ1jOeN+0lWBOVTJ+yPGzNJO8MMBLaSACVnvUNjFdeQbPs+u/3EAduK/SBWYUIQqGBgwmnZX/915Pkipw54irH5D9b5m7mB+PEFneziw0tDZ3XqaQmG2uZuc9KfSrQZj31XG+HYU4= 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=fx6X2FZm; arc=none smtp.client-ip=95.215.58.171 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:55:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707771311; 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=Jg+S1eA0mQzeAlYCXpsQrlGlqFnthigQE9V3fAICXlU=; b=fx6X2FZmzNXQV2YECP4e4BbYmms09hnPPo30mpZJ6dQkvs0BcZBOrPY1HgwJKFD2nfrPMP tfrP/TfFxIvrJUc1UUnxCWRPH56IsEQfyDm8IB5xrQ3H3vHDyKRL92mPMwhW6mixiJP4qM g6ZzuPUSdy7kXr1jGEC9gi0RBBVzSKA= 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, Anup Patel 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: X-Migadu-Flow: FLOW_OUT Dammit, forgot to actually CC Anup. I'll blame jet lag. On Mon, Feb 12, 2024 at 08:50:38PM +0000, Oliver Upton wrote: > +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 -- Thanks, Oliver