From mboxrd@z Thu Jan 1 00:00:00 1970 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 AFC4935CEB7 for ; Tue, 9 Sep 2025 20:28:39 +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=1757449721; cv=none; b=A0EoxoBEyP51z6J0HBwRNHK3YJA6dXiPiub9nqCDucpwqluBrYnrD41Hv29wzdf3OmNsFLxK4lrrZdowrIG7OeMxszlsUL2NC9NYUFmLGtrqwKBOcQk0gfwbeSCxtW5s/YYbDrbd913gObT34DsLaIm0ggrelqndAC0zOm0aCiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757449721; c=relaxed/simple; bh=9o4/IrU94P+QTT9+/4P4GvEBbaeKuvJEepudCTn+3fY=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=sZ8Ld+bYIwj8A4zZOKBdoPyFzw4oG+Py/ibhWQAF+AcblfWg8aGUu0FfB9BHAS4E6Ql9ZvlpsA4TSlhFbdGf8NCL1e7zPEveTY0oyuyFepxZcbIRBR0kXiyxAzb9IuRoh6l/LX/S7u4emuVbuERVaYkXAsKx1JEZDlczK5YOGzs= 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=m9Rf1TgK; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="m9Rf1TgK" Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-32db3d5f20aso533478a91.1 for ; Tue, 09 Sep 2025 13:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1757449719; x=1758054519; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:reply-to:from:to:cc :subject:date:message-id:reply-to; bh=sWkWVm2ZY47IQUaG/R/khk/AncS2YDkfPCnt2FvXUwc=; b=m9Rf1TgK/K3Dr49smgF4DISq0sg0+TUfOveV5eFQa8yzaa8ma324RYSqxvkWoUg9Ut HwugaOIMmUxdhbu3VbLg1PgRHHF387EPS58wIgZ3+kIFJeV3XOTtd5xHbl9yDLtSo3v4 66J/uHQ+7/DnTTNTFPzZ6P2RojdaD9+IJZUPzof8JbHf4DOr2x/DjbAK0uidiBpM3zR/ izsPWXB1z4H3MebLOlBCX75oOKO0GXFTVZThDr5NJ2RIAqBKM02ftehzqt2y3dZA+QY0 yvLcfeZzDRKBP4KXrtARkOU/1l3vwhvcwPfe5mcQNB1qFXb3tqDE+R7TvasmKKdYMjW/ dm2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757449719; x=1758054519; h=cc:to:from:subject:message-id:mime-version:date:reply-to :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sWkWVm2ZY47IQUaG/R/khk/AncS2YDkfPCnt2FvXUwc=; b=pERGSklzzM6zdZKEqvUlZ3U6cMrqhhNVNu3ZiVLpc7cVhnSA1WWNWs6qynySN1Jad6 p8DLg2/kAixhEbh8nO1wAxvQtS7jc8UIg4dJVZzbdL9dvgi5JuP5s/63n2cfpiA3eHx/ aDSGN54TW+CpQBidUuJorOjDC/bONQsss3w7dJ/jHb2dq2imPO5iwWoEuPwk68/qLimk +OjmOuLtiBB7dyMYSRQA8RtyQ6uHARwISYGr7XbrG/1z//xP6XFaSdYGLX5ec0MYyJKK kHPoxcq6m72GrSW+a7hzJw1aCwWLkHS4hRaSRfcWtX9fBkOYQIJG1tTIp+TgQsj2/VA9 YDjg== X-Forwarded-Encrypted: i=1; AJvYcCXA+NKwZjDu/L+HZg+w6ykCK+gMLg8nkq0DPBx0hbSCi7/BENlnkvLht3EWO7LIyKrohRmlhf87ywSAnDA=@vger.kernel.org X-Gm-Message-State: AOJu0YxBc+IWR/GvrCbz9Wc4Fy5rYcl/c+Xyu3XB/dqzwFBuMFpeL/KB 3iU1MI4/3cbnEhvqcRrDYZP7dfQXZv/DG+V6LaShhP6nV3wxPSnwKmCll/FOo9iHCfT3ksVqepr FCrTNMA== X-Google-Smtp-Source: AGHT+IHWyC5H0/wl7/uAJ1WMzwGj8ebCIrDG0apHqWKhulHzTUDlppDzMpYLzi11i4Vux4a8U4a+XLFnGsU= X-Received: from pjbst4.prod.google.com ([2002:a17:90b:1fc4:b0:32b:5e07:ca10]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:3f4d:b0:32b:92ac:cfc1 with SMTP id 98e67ed59e1d1-32d43f0f44amr17654215a91.16.1757449719011; Tue, 09 Sep 2025 13:28:39 -0700 (PDT) Reply-To: Sean Christopherson Date: Tue, 9 Sep 2025 13:28:31 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.51.0.384.g4c02a37b29-goog Message-ID: <20250909202835.333554-1-seanjc@google.com> Subject: [PATCH 0/4] KVM: selftests: Fastops DIV testcases From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Add DIV and IDIV support to the so called fastops test to add coverage for #DE (the only exception that can occur during fastops execution), which was broken due to a typo in PeterZ's overhaul[*]. I meant to post this back in July and forgot... [*] https://lore.kernel.org/all/aIF7ZhWZxlkcpm4y@google.com Sean Christopherson (4): KVM: selftests: Add support for #DE exception fixup KVM: selftests: Add coverage for 'b' (byte) sized fastops emulation KVM: selftests: Dedup the gnarly constraints of the fastops tests (more macros!) KVM: selftests: Add support for DIV and IDIV in the fastops test .../selftests/kvm/include/x86/processor.h | 6 ++ .../testing/selftests/kvm/lib/x86/processor.c | 2 +- .../testing/selftests/kvm/x86/fastops_test.c | 82 ++++++++++++++----- 3 files changed, 70 insertions(+), 20 deletions(-) base-commit: 33f843444e28920d6e624c6c24637b4bb5d3c8de -- 2.51.0.384.g4c02a37b29-goog