Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp89937rdh; Sat, 23 Sep 2023 02:47:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmDDlHtnz8AajNwANowYx4lTSvLDI/sKCss5cMFjeAadfcWgIhW2muyJlHfc2D43OZII8Q X-Received: by 2002:a17:902:d492:b0:1c5:b808:7fc8 with SMTP id c18-20020a170902d49200b001c5b8087fc8mr1674697plg.33.1695462470378; Sat, 23 Sep 2023 02:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695462470; cv=none; d=google.com; s=arc-20160816; b=UIJfxQN9HZZk5v05UFrNJPxANVTkoXnSPQA2Dh7lryrVe7ZKMgtUxVJN0P5n3TS25Q kx34bc3to47cluWQXpkTw985gVKuufdj7bblnieCVQCxKerSOqKlIQFqp1e+Bz3RIZBg k6iLVJVmbtjhWxIS4inFBJ5S63swgoCybNbsVOkrMwZr5LEeCHE4kv+97i3lmcwxT+LO D38pTfC0mLyjKtiONTSIEgU/XOynFNAfSpL+Kgim6TnoO6vOHAYhvHM02hqlcE+glai5 Cmz15MwYrcAkwhgSoyLfHWICySo4lVIVX/m5IQpwL27CXJf72GbLLeT+KcGl/LSQfG5i 68Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Gj4eeR3yqDw2ELul8kujcU0ioluTAuFSAq6CtrmpPtI=; fh=wenh1gkBz1Vok25l2cuh3grfGfedKFPfWIgTzPsLxxo=; b=wa+w3uy2FubhJK4wiPzhuSLg9ufLts7/YUcr8RPOVN1Rpzn/3Lcq+ml3YDpRiv9WwK T/yGYGWc/tbXI39BvEdYAiQkMRGfGOZR4QN5uYkHEXN1fJXTuHyVl2AWO52iYvnp6SIH 4GavKUHYqozXn/mJPhXqNuqxwM5qEKpOLVAMRxqjLQwjOF7/kMboQO4+l23RCuhGIlDu nuzXYwsUe/lngMVqd7i0fP4q3+rZ6kbVwbeI4Rvaecjs0VZhClpdd7OHXzXCyBwo7mTK CXwg2/72T8tvysEwFEj4H3NPPJdmOidxHW8goSrfs14kCB0Ih4a31TY9GBlWMFAcJx4b /0og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nQcW24qb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id t16-20020a170902e85000b001c33cde7b3asi6257845plg.410.2023.09.23.02.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 02:47:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nQcW24qb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 54DD380977A0; Fri, 22 Sep 2023 12:40:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230132AbjIVTki (ORCPT + 99 others); Fri, 22 Sep 2023 15:40:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjIVTkh (ORCPT ); Fri, 22 Sep 2023 15:40:37 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0885BAF; Fri, 22 Sep 2023 12:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695411631; x=1726947631; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4EqY69+zYdrxR47KayTtNyOORFAQpVGTPA/TjOrQ2N0=; b=nQcW24qb72AvI/AvwrYMRIPmC08aGMocxcwi2tiCEK7FlJE24S+zpmcA kYJAXEre7pC1q0UbJY4XTtmMvYIoVNMKaxG2K1PUV4Kkx9xA27GL/jh3G CMjRuaDeCIn68mLuDtMM03aekobYpnivmUzPx5jaOwKZ93c4nENpG5D1F mqmBq7w6fft49AOAMDTUVLtvMcc7+euLHDXZvklhbuWW4rMYiJnoGtguk qJO089BRPZB1PW5QmToUd9c8Y5aR1zT0NToddLW5UrGqe17J0uzE5hhgK /w+7GBJqd5rzg8e/Kz96E80bssbUBXjn+bOJaQiPeety4dTtmul7uFl45 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10841"; a="445023199" X-IronPort-AV: E=Sophos;i="6.03,169,1694761200"; d="scan'208";a="445023199" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 12:40:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10841"; a="863072777" X-IronPort-AV: E=Sophos;i="6.03,169,1694761200"; d="scan'208";a="863072777" Received: from ls.sc.intel.com (HELO localhost) ([172.25.112.31]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 12:40:30 -0700 Date: Fri, 22 Sep 2023 12:40:29 -0700 From: Isaku Yamahata To: Sean Christopherson Cc: isaku.yamahata@intel.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, isaku.yamahata@gmail.com, Michael Roth , Paolo Bonzini , erdemaktas@google.com, Sagi Shahar , David Matlack , Kai Huang , Zhi Wang , chen.bo@intel.com, linux-coco@lists.linux.dev, Chao Peng , Ackerley Tng , Vishal Annapurve , Yuan Yao , Jarkko Sakkinen , Xu Yilun , Quentin Perret , wei.w.wang@intel.com, Fuad Tabba , isaku.yamahata@linux.intel.com Subject: Re: [RFC PATCH v2 0/6] KVM: gmem: Implement test cases for error_remove_page Message-ID: <20230922194029.GA1206715@ls.amr.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 22 Sep 2023 12:40:43 -0700 (PDT) On Thu, Sep 21, 2023 at 01:29:59PM -0700, Sean Christopherson wrote: > On Thu, Sep 21, 2023, isaku.yamahata@intel.com wrote: > > From: Isaku Yamahata > > > > This patch series is to implement test cases for the KVM gmem error_remove_page > > method. > > - Update punch hole method to truncate pages > > - Add a new ioctl KVM_GUEST_MEMORY_FAILURE to inject memory failure on > > offset of gmem > > Doh. Please try to communicate what you're working on. I was just about to hit > SEND on a series to fix the truncation bug, and to add a similar test. I would > have happily punted that in your direction, but I had no idea that you were aware > of the bug[*], let alone working on a fix. I could have explicitly stated that > I was going to fix the bug, but I thought that it was implied that I needed to > clean up my own mess. Oops sorry. Now I'm considering about machine check injection. i.e. somehow trigger kvm_machine_check() and its own test cases. -- Isaku Yamahata