From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) (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 C5A93351C2F for ; Tue, 18 Aug 2026 19:28:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787081317; cv=none; b=o8zFsR5/tuLqQIa4itr2QAiHqciWedu0eGvuNIIgDKoyv3vKBC/J55YCLyKC/i5auN+Z2BXDgGuiyK7GsIvIVwSNADJ+zTCUdvj63SOXpDXquF43oOlX/1U/KRwT7rPQBMZOGVn/s4oJ0uhhyvLJznwh9+OJQHCpYoBi02FwRlo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787081317; c=relaxed/simple; bh=pGvL+r9yd0UjdhtGaZSmH62uoyKHVNe7h32F5utFz+A=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=h8gow3si1fB/u1xAI5jFEhqUUhSR2bMk6xyzX85Fg5Xl9hmnKcoCAIwngTutnyS+4t+dbEShCY5mgZwZAf7O7IgCE1tVoxjA+mntcN3O020Uo+yhXXzM7xO2/aBc6WMO9qYFtIriwe4uy2p3uxHsmKzQ7nh8O7fh3lBG6TFO4LI= 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=u7LV1wIj; arc=none smtp.client-ip=209.85.210.198 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="u7LV1wIj" Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-84e375d9736so246386b3a.2 for ; Tue, 18 Aug 2026 12:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1787081315; x=1787686115; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=toqDoqaZ7664JCi45UayITxDmXVJU8MQDeCDLsKOJnQ=; b=u7LV1wIjiC283uldP9z9/GabJNzIi2gXAD5b0cnKdPjgaXuVP1U8WS5Mh5UEMowrLM GejRsuAgVggLWPPhzeUDLj/JKqF4+VZI0Burqxv1m6vraCw4HnEWB8/pqCr/iTAFdHoq Aer2EHgsPBvkQ9JwfpfJRakYhhmvJlYoY7b0ma2zAX8Tmxw/Th32HcwbSB1dL/uzDye7 Ql4Vj0mehOBx3G30VbidIGXMqeVRyRyrfqjqD098BlAwUyUd8cxbOyomwTAfIzWjyhSM GOA8XddyHLq2O/EpksGZuy4sCTYUC6AV+pbjf+9mfcxXMOXfD/px9ordZHzfTUnS8bin AMdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787081315; x=1787686115; h=content-type: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:content-type; bh=toqDoqaZ7664JCi45UayITxDmXVJU8MQDeCDLsKOJnQ=; b=IdYtNHjB8/2R7izZKaymiU65DnmabAIRfU8qFohW4c1kwecI87P1XAq89qnKZUA75a mzCHsR0ibZ1GziDc5mp++LhjgA7Ve1EIsbBQXpZeBtcdtc7ApsH17Ab6lgRNvXOexZpt CIU1TTn+qQpPAXkfdGTJPlGtbLklIQqwD0J2AuvuGwMjCnZkYY6gTrNNxd+02UXw2PeH F1sMiLdFvEwPQEe/ibf/VBPGE8lJj8HGFHnsg78cVAmD7BgNWdk4odmlIdwC3BMOCQ7J SS0jQvvu5N/W1A7KYkd6ocHoFfNuBnGUkF9h1Q/N0M7K8TYm0hsA0SEAJc4vLSir26HO SGhw== X-Forwarded-Encrypted: i=1; AHgh+RpBi+23SDdtahe8uxThIdn+gqKC6GRtcWNpfBz3SG/JA3z4FVMbmyhM7J62jnebWIYfZ6Vl0dI/oNU0+xVQZgY=@vger.kernel.org X-Gm-Message-State: AOJu0YzMb7MTI+q1XkgpsdbRSy8kNhxhkumY/w/aFR91khou32P5+rjb pKIuF7zzaZhAOLa9VD0kw2Mf9RlX6H++AmNXUmzuoDBkwFUNWdAkx9jt+PnoWRFK1T1YN8OT/L+ 8xr3uww== X-Received: from pfbko19.prod.google.com ([2002:a05:6a00:4613:b0:847:926b:dc17]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:a219:b0:84e:e741:174f with SMTP id d2e1a72fcca58-851cd76efe7mr982877b3a.7.1787081314954; Tue, 18 Aug 2026 12:28:34 -0700 (PDT) Date: Tue, 18 Aug 2026 12:28:34 -0700 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260803170825.925561-4-hisamshar@gmail.com> <20260817220457.554823-3-hisamshar@gmail.com> <8d069fe1-a5b6-4a86-9604-26aebe2dc243@gmail.com> Message-ID: Subject: Re: [PATCH v2] KVM: selftests: Replace ulong with unsigned long From: Sean Christopherson To: Hisam Mehboob Cc: kvm@vger.kernel.org, pbonzini@redhat.com, shuah@kernel.org, linux-kselftest@vger.kernel.org, David Matlack Content-Type: text/plain; charset="us-ascii" +David for the VFIO thing On Tue, Aug 18, 2026, Hisam Mehboob wrote: > On 8/18/26 21:27, Sean Christopherson wrote: > > > Oh, so on top of "https://github.com/kvm-x86/linux.git next", this *is* the last > > blocker? If so, then I'll grab this for 7.3. > > Not quite -- I tested kvm-x86/next + this patch with musl-gcc, and the > build still fails. On top of the steal_time fix already in your tree, > two more musl blockers remain, both from code that is only in > kvm-x86/next so far: > > 1. hardware_disable_test.c, from 496779b54943 ("Pre-set threads affinity > in hardware disable test when possible"): > > hardware_disable_test.c:75: error: implicit declaration of function > 'pthread_attr_setaffinity_np' > > The call sits under #ifdef _GNU_SOURCE, but lib.mk defines _GNU_SOURCE > unconditionally, so the path is always taken and musl (which lacks the > function) breaks. Heh, Sashiko flagged that as problematic, and I was trying to figure out which macro to key off of[*], but was (obviously) unsuccessful. I don't suppose you know the canonical way for checking for support of glibc-only functionality of this nature? [*] https://lore.kernel.org/all/am0KqJOD-FiC9BXs@google.com > > 2. The libvfio wiring from a262fc49e0aa ("Build and link > selftests/vfio/lib into KVM selftests"): > > vfio_pci_device.c:25: fatal error: uuid/uuid.h: No such file or > directory > sysfs.c:31: error: implicit declaration of function 'basename' > > The former adds a hard libuuid dependency (its headers aren't visible > to musl-gcc here); Can you elaborate on what you mean by "its headers aren't visible to musl-gcc"? > the latter because musl declares basename only in > , while glibc exposes it via under _GNU_SOURCE. IIUC, sysfs.c just needs to explicitly include libgen.h? > The rseq __GNUC_PREREQ failure is already covered by my patch in > linux-next. With the above sorted, the musl build passes.