From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (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 61A5C3A6405 for ; Tue, 24 Feb 2026 15:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771948620; cv=none; b=shU0T7SjoIMqggIKe9Wl0IcCYUG1l9Eo5BJuRjSQYDJYk0dvrT8oBKY6DxKIjYhTYus4SeYMc3HzmKYte69gDtxWKOTb65PvQ+tyDAWoH6GzdXxa950d6iVw63p5Qgruy4qCM4j8K+4sGAId2RXttzK7uYPEpstH2tBjLPNuHXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771948620; c=relaxed/simple; bh=+Go39KXWHDr2yruK6unSW/Z139dwJgL63l/ih2f/p2I=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=bGoSxh2Wz9rTgeOiAs/ZA2Vb6yfzknAE6Dt4wNYQHQ2d/1ivIe51KLJseAxWDkbJVQGuttn0NEQHIpni3itWpYieFnK9ZlSTWv46HCs4jbi17cH3u3md3/E7CrQCttgvSpRfhO3PXPY4F99a+Qu9tAulcQWgQKBpyBHAVC/9KQM= 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=VUGl+uCz; arc=none smtp.client-ip=209.85.214.202 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="VUGl+uCz" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-2ad147cdf07so61061575ad.2 for ; Tue, 24 Feb 2026 07:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1771948619; x=1772553419; 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=UUn1eg8rhg8NItYQxRzifuO9+3kK3puijcUJa/nIhq4=; b=VUGl+uCzHXh0ouMyplP4l1nUBE5aNtCijNpnOAQP2d0XEefftOy0C0ZiKGJolOOEyU hu9XhuCi7RXGPhtIosCliaQBQBDKQez+SEfRsYXDwdD+izIBqfmigF0An7pVSV2u3m6v 5ybfXxHGEMpBGqE4BdA5UYwszYggMHVmFafNGKB4n8ifR2+t+9kWlYkHmqO444nWCTO5 aeXRR9UVowBN2QWL5WMvPAeYQ3kaq8wTzku0cOWN1qs3lZcxMuzCiGGEzHmPrIi9n+V9 1eqpPhEzl8sMega2gdhZGbAdyVZBZ2bNND0CNHOdCW+1mK65j+hG1ju2BgcwDyaQ2Iib 3xmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771948619; x=1772553419; 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=UUn1eg8rhg8NItYQxRzifuO9+3kK3puijcUJa/nIhq4=; b=KPAEH6OmkuePxI5deEP6oXUBNnM1RQAM2qGz/Yew1f6iZTVVCC1jtnmCOeydDroj/r dFpcjcZDZ2GNYgA/gG/ZZqjm7ESR8aQzxvW+N4RnclBnfj2gTFy5/0Wts2zEgHwdCAQU qi/H3Rt8p2Dw7N6fuDsMcajD3QXBqcYIJ8TTOZpv9R08QLsrsoEqmyiQDggYCk1HqERp HDlzzQqPHl9a0j9iNrgqaUxH5Ev1dMai7SHadXQZxQQhilGDqM3HfU5Kxc3OzOsNN5uc ut76xyupn9FK8HkDgF2KSsskRhZpl3o5/MdtaZb+9pstddDA9zoqLQAfMinpgDWGlLyo REJQ== X-Forwarded-Encrypted: i=1; AJvYcCUi6553JsURsgyKitH5BkFjMfEgXapx8bbMM8gUEzf+gKErhj/r1RY+yxg4C88fGv21X2xvZB8IBpaxT+E=@vger.kernel.org X-Gm-Message-State: AOJu0YxubrfLAIX4vRaq27wLmiq4wKNfz1Yi9ybNlvZjVDjhoQbCvFi/ jUjdwk0rgt55cG552DtHaULInjmxYNZ3ywVL3zAb9lNmE8Qrl42cwbr8TaN6w2o0MbKqOs7DN3F 4BIrtMg== X-Received: from pjbgl23.prod.google.com ([2002:a17:90b:1217:b0:352:c130:fba7]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:2442:b0:2aa:ea8e:f118 with SMTP id d9443c01a7336-2ad74454f60mr122111415ad.3.1771948618621; Tue, 24 Feb 2026 07:56:58 -0800 (PST) Date: Tue, 24 Feb 2026 07:56:57 -0800 In-Reply-To: <4d17f847-0269-4a97-aa28-d3350faaf9c0@163.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260212103841.171459-1-zhiquan_li@163.com> <4d17f847-0269-4a97-aa28-d3350faaf9c0@163.com> Message-ID: Subject: Re: [PATCH v2 0/4] KVM: x86: selftests: Add Hygon CPUs support and fix failures From: Sean Christopherson To: Zhiquan Li Cc: pbonzini@redhat.com, shuah@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Tue, Feb 24, 2026, Zhiquan Li wrote: > > On 2/12/26 18:38, Zhiquan Li wrote: > > This series to add support for Hygon CPUs and fix 11 KVM selftest failures > > on Hygon architecture. > > > > Patch 1 add CPU vendor detection for Hygon and add a global variable > > "host_cpu_is_hygon" to identify if the test is running on a Hygon CPU. > > It is the prerequisite for the following fixes. > > > > Patch 2 add a flag to identify AMD compatible CPU and figure out the > > compatible cases, so that Hygon CPUs can re-use them. > > Following test failures on Hygon platform can be fixed by this patch: > > - access_tracking_perf_test > > - demand_paging_test > > - dirty_log_perf_test > > - dirty_log_test > > - kvm_page_table_test > > - memslot_modification_stress_test > > - pre_fault_memory_test > > - x86/dirty_log_page_splitting_test > > - x86/fix_hypercall_test > > > > Patch 3 fix x86/pmu_event_filter_test failure by allowing the tests for > > Hygon CPUs. > > > > Patch 4 fix x86/msrs_test failure while writing the MSR_TSC_AUX reserved > > bits without RDPID support. > > Sean has made a perfect solution for the issue and provided the patch. > > It has been verified on Intel, AMD and Hygon platforms, no regression. > > > > Kindly ping for any review on these. They're in my queue, but I typically don't apply anything except urgent fixes until after -rc2.