Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp958132ybb; Fri, 10 Apr 2020 13:46:00 -0700 (PDT) X-Google-Smtp-Source: APiQypJYeTl+VTzYcIECbXv7uv6ebkgI+aIgZ4cGK89y0QuoNsiHVtpBLvxeGUYEqHA+drIbyxGf X-Received: by 2002:ac8:60d2:: with SMTP id i18mr1030364qtm.244.1586551560818; Fri, 10 Apr 2020 13:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586551560; cv=none; d=google.com; s=arc-20160816; b=vtd0fz1o2STpxqCTyjT54X+NWuvQVX0pFZ5HZBPizETqY6EfxHbsOWBYXM8l03Hsfj SZ1KPwY5tR2tcch0m2m+M+vbWEM7MacHpGkzVrxUfGF0UUCdiiDywwPy3pnQg9p98J+L XUEgh30hFo3FxpB4IFj/5sHb3Rq02cL2zUGm+OK0MCWXftnirQOqMAe62wKVlWF6u70c cREuaUcklJB+Cbl1/s+z5jyqiupQWIx5wTk4UjiVbKyKs4aS0u1OZwAPqIemSeNyDRzL o790AfqcJO83v+4gCSWaGhj82qv8wghTRCpSjk1ETFieI20RcPfsRwUCqfHVt99npXWo 2J4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=5x2jsVooOtAkegaoOLUqNtjhy1kEZAlHD9xrfm2DxDw=; b=kkP/9Lh7XQSG5e6F9++gA5haZ83tAVdyJvQAkqR1vFrp/RV/cd0iM2/+TucqQcwAJC NGiP34oKpZ/eisqTUvXdLafYa+uYVg7WWBjglgMtq6Y1KxuLDF3Ha52fSuyaqk0DPH28 IFEK6Ce/e2LIsv+Hd2mL3dGWzFXTmBGPwopheS9cjt5T3bAvBlgtDAO+Z0M8QReAd60s TrtQOJ4eMGx3YRpLgWK7TmyqWbm2ytcTQiIfqF+hyO1ES3TQnNWO0jrMA9iMqj0DbrbE XsJThNIrVJnT9H1Zegl02COhsd6hPEY/ucG0KyH9A1lWVHGEXJBZpvEIdAOx6y1pH4yz XDXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si1670518qvv.138.2020.04.10.13.45.45; Fri, 10 Apr 2020 13:46:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726679AbgDJUpJ (ORCPT + 99 others); Fri, 10 Apr 2020 16:45:09 -0400 Received: from mga12.intel.com ([192.55.52.136]:37826 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726263AbgDJUpJ (ORCPT ); Fri, 10 Apr 2020 16:45:09 -0400 IronPort-SDR: 3whyYo5dZuhI1StrbKFEn1HUarpQ0K5SxClT5/nlCXxlcwEsW9G8fBBE+BQMscIWPYAjmY0sfP gItFvQNQpJaw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2020 13:45:09 -0700 IronPort-SDR: Ida5El/CDEgkpHlIE1XkMu5+hmSvqVIP63Z+oh/fQEnmStIi9kcXxf8FgolAcp0RC8MhUdrVCZ aECBWHySm81Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,368,1580803200"; d="scan'208";a="276291867" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.202]) by fmsmga004.fm.intel.com with ESMTP; 10 Apr 2020 13:45:09 -0700 Date: Fri, 10 Apr 2020 13:45:09 -0700 From: Sean Christopherson To: Wainer dos Santos Moschetta Cc: pbonzini@redhat.com, kvm@vger.kernel.org, drjones@redhat.com, david@redhat.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, krish.sadhukhan@oracle.com Subject: Re: [PATCH v5 0/2] selftests: kvm: Introduce the mem_slot_test test Message-ID: <20200410204509.GK22482@linux.intel.com> References: <20200409220905.26573-1-wainersm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200409220905.26573-1-wainersm@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 09, 2020 at 07:09:03PM -0300, Wainer dos Santos Moschetta wrote: > This series introduces a new KVM selftest (mem_slot_test) that goal > is to verify memory slots can be added up to the maximum allowed. An > extra slot is attempted which should occur on error. > > The patch 01 is needed so that the VM fd can be accessed from the > test code (for the ioctl call attempting to add an extra slot). > > I ran the test successfully on x86_64, aarch64, and s390x. This > is why it is enabled to build on those arches. Any objection to folding these patches into a series I have to clean up set_memory_region_test (which was mentioned in a prior version) and add this as a testcase to set_memory_region_test instead of creating a whole new test? A large chunk of set_memory_region_test will still be x86_64 only, but having the test reside in common code will hopefully make it easier to extend to other architectures.