Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2816053rdb; Mon, 12 Feb 2024 19:07:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJ16ewK+JUSboY5qNWDV1bk5aLY0/mhoMwlA2rIgNaaHUxxIVmTyMdRTQGkGUlarSECysM X-Received: by 2002:a17:902:e5c1:b0:1d9:ab92:153c with SMTP id u1-20020a170902e5c100b001d9ab92153cmr2163857plf.5.1707793658611; Mon, 12 Feb 2024 19:07:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707793658; cv=pass; d=google.com; s=arc-20160816; b=lGS1Zua4GQizgBr545iKkSWMEVxMZLt/Jdz5bvknAn13ANtmfxRgEnLx8JKh7PWZ16 799SHZFrGp1dSyuy+imdfmmvYOL0VxfSivF0w9ezDkH6WJvgeMRXG5S/CVeDM8ogd48B N6sFNabxCXH7aYYBAPz6M7NS5lGM9hDFR2FrtvImYxil7zjb5KIudalv10wvAbO3Ik4T hMHgfCK9zN30FN2C5YZg4mf0H2cwCqtcYT6WpBj8vZRlA5qij8maQA0T7D62RhfPqZyV s2rcSYX1Zx9UtoDKcZaty8kdcShUMqG9/+7G41BfDM5lAAfSMqZSSV1AOM352Dr9DLHh Uw4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=EDyGRPlFXhZbZuymw2eh2GCe/IMO4/k7iwoMfqLh98I=; fh=ZuA3MZf2T4C0cZvkM0SQqlLmZxAdI6frvg+g4besa1E=; b=1KjB1Y13brvQ2y/BJdkkreU9PDzAIE4WywMudzuSyXVWpieXzzV0EfksDBwvBVTuYu GgXAQmZFEyRUzDKV+xOkVxvVRbhLf3/clNiZyBQn7uxVMAa3PoY5jh0uw2pnjtlvqMXm NPItH9tcLfZ5zZOGky9EM5jPxWptfmePKCpv3Hd1lwILFeMKzutooaMwB6zkaBRlt8tF ZTRPLqF3hubEV/uK/3pNmLHkcO1//65ofw8LHVWdioRbs9mQlwKZA90RNYRyQFVgaSAH d2QHd3lLlvLKSW/RfaqCA2ogeQmQaLEOvFT1nf6ainkjiHU4rvLa2fr2H2v5sUzR+I0K Zklw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=kIXNrED1; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-62896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=2; AJvYcCUlCweZZJYZWwufqAZ1wI9R77IPiDynC9ZTRh5Iyf7JyITi2V3j87HHhtvnoMzcwZR8j6vNRvwA4HwQkUnThur4urZHrpM9Sa3axPJfpg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j191-20020a6380c8000000b005dc8368c55esi492628pgd.633.2024.02.12.19.07.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 19:07:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=kIXNrED1; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-62896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1CA14284F62 for ; Tue, 13 Feb 2024 03:07:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2A9A9479; Tue, 13 Feb 2024 03:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="kIXNrED1" 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 A15378BF3 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 Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dccc49ef73eso65143276.2 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=E6fknxDcJN62mrbSrBTu8vgaI3hV7uv3rKRoqrtYLUaGlSMVD1ZXWRxhvuNVVTRIoQ N8jAmwhfmf9kJHuLXWSovPXH6uQKanDbb5H0d4B6fGBAKDWP8OZYl2kUTSowInx8WFjW AttJMK7UHayZuqlp7fzkidPSnOvo4RJ4hmmzTwqUNK8kTXULE7i35+6vTJfcEgs26zsl iC40ZOmdkZhssDfZhPSA6QTE8UKEudOCBvKnws1FSAsZFMO4rucQQac9PrRhGjxXjaCQ XFyQqXexwkoxw9/4FtDXNDrjZFZi4bmzbxN066ONWvTGWgOXZQaDHsPSjYOpj9seprJj +UcQ== X-Gm-Message-State: AOJu0Yx3zQPhrkaSLQZB2SAq/IRj8vn0ElHnzweDAn5egmmBEKTB0Znt 8rL9e7pLd+BA/TgWEAjXWhJNo8qUV0xp4L3hoyAtclEzrI9VshYdmKKefKvCUequU43Al6/mqdG mLw== 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: linux-kernel@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?