From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.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 A15008BEB for ; Tue, 13 Feb 2024 03:07:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707793649; cv=none; b=B+3i4I8X6OSflJkHViBgfMqDgDISGiN/G0R7PO4l+AyZhUktP6z965dJw/JLxYcU7XVXG6H7PSMEIdbSshtV+qZyzlAXRiyUOvNc2GaEqMB7/4480W0NH4M3vN1bbdjj2AehpR+qbIV3t/c2HaTGoBEiMfBD0VOSNqwKv7E3ORI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707793649; c=relaxed/simple; bh=m1/doowd5GK+v7WOSqX7sG6jJ9oDJl0r5asumkU4VaM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=DaDCHBTNeNKXeQHAvgxh4e4PAvGMQcd/KZsHIoVCaM3GWm01olPZIj+KkxXeKH/EJ8ADPTYTz/vq0G9/XIBSNg0HjdcNYlqcIaZ4b2N1NMeynWEL6yKKGHx0c8dR664w2GgW7bZCOerAgujoz4oajW23i9+l2tIOIW3k95nzm1E= 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=kIXNrED1; arc=none smtp.client-ip=209.85.219.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="kIXNrED1" Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dcbee93a3e1so1253537276.3 for ; Mon, 12 Feb 2024 19:07:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707793646; x=1708398446; 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=EDyGRPlFXhZbZuymw2eh2GCe/IMO4/k7iwoMfqLh98I=; b=kIXNrED1UDUnOJU6YRZzdTHOzmoS1ZuwPfb4UAxiwzgRt93NpdO5GFtQ4rh8MzDO7O UJBVkFW4jqMzHHlx9CLIkZrguCEuvHQx/0ZbRzSBb1fdmnESnCF/lEtbePkvfkxRMN6T xRj0RLoCuDbm713uuEA64ezEU1yKmbg0eOxCa/nl2CPt55cZNtDCEtxm42WfGZ6CmgOQ Qmgs6mbo74aef1R/X39FYM95rjF9smizRwu+S/DrRjE2Dk87JORaPqtDnUKrsrF6fV+l wLifwMv9cVWoBgtLiCJM5FJJLwSN0hdpxZu/UrvKwpRGzcedPdI8XFJQJ5SVX0Ey7xfR YaSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707793646; x=1708398446; 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=EDyGRPlFXhZbZuymw2eh2GCe/IMO4/k7iwoMfqLh98I=; b=WXx7j23FM8uFNYyGL0msYGr4SJwmn3up9gQt9DUyEJKCO6V9ml3Juwrd0DVEjAKb/S ttRYkdwB/OjeoXsBfGsnvbwh20n1Gsh2V8228UEBU6GXkqgWvQtO9owAuThrDE2Gps61 TXSV4+l542/UO1KvxY/c+DRPLdPb3pRn1kVZQynkUlAJNx6FHPwIpwuHzJbC2fw9r0v9 kUgaA1l0FnnpSGCgqhZaD2vohAMqaT8Obob/Q1EjBn3Mop3Z/rGgMgXblxHl2MJUOsej rYE4YWtW6NMGNPi8wvkW0CbeZjgbPkn8RKKcmJ8r+bGFd4C+p/ivyooT0oKzoUirdpJf 9Atg== X-Gm-Message-State: AOJu0YzIazIwIuYdGl/gGUJ72jOF3HwLEzXjS+4Ztyj/2YiAWuE6cjZN 7OIIdb0NuHXBSCwdDQFcUpdDC3eXNtkdug/3ln+urtfOYQuR6aHAn5Mb6eHXaNOHM5oQghZUXRy hcA== X-Google-Smtp-Source: AGHT+IFx8TR/MIxlLVsYexKB/j+RGg6asZ6+QdHFN/AKxH1qPhN1E0yuDVwBXitEVuZTu0mnkbf32YdKgAI= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6902:709:b0:dbd:73bd:e55a with SMTP id k9-20020a056902070900b00dbd73bde55amr389575ybt.4.1707793646745; Mon, 12 Feb 2024 19:07:26 -0800 (PST) Date: Mon, 12 Feb 2024 19:07:25 -0800 In-Reply-To: <20240103084327.19955-1-yan.y.zhao@intel.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240103084327.19955-1-yan.y.zhao@intel.com> Message-ID: Subject: Re: [RFC PATCH v2 0/3] KVM: allow mapping of compound tail pages for IO or PFNMAP mapping From: Sean Christopherson To: Yan Zhao Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, pbonzini@redhat.com, shuah@kernel.org, stevensd@chromium.org Content-Type: text/plain; charset="us-ascii" On Wed, Jan 03, 2024, Yan Zhao wrote: > This is a v2 for previous series [1] to allow mapping for compound tail > pages for IO or PFNMAP mapping. > > Compared to v1, this version provides selftest to check functionality in > KVM to map memslots for MMIO BARs (VMAs with flag VM_IO | VM_PFNMAP), as > requested by Sean in [1]. Doh. So I didn't intend for you to have to create a mock device just to be able to run a selftest. I assumed it would be easy-ish to utilize an existing generic device. I take it that's not the case?