Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp531123rdf; Tue, 21 Nov 2023 09:01:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHynysMHpoIWcfRbfuW5urqP2/piJA4dzfX0NUHJ+IQJc3zatkq/G30aypIz/bgbT+9qI9S X-Received: by 2002:a05:6870:3b0a:b0:1f9:4e2f:79db with SMTP id gh10-20020a0568703b0a00b001f94e2f79dbmr6606170oab.45.1700586108795; Tue, 21 Nov 2023 09:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700586108; cv=none; d=google.com; s=arc-20160816; b=r8k4N2FOzHR2YGx3XRvkke1IY+4Y8gmUtKGKaK6Az5ZUmhpfk37JkU0/mwav5z4VzC edRjmhzaWApwzQ9tjYGcItW5oGbmezO/yJfDC78YZekcEy0EAttYsOJcSWcQlNKXFzTH d4l/tCbhMnn62NaY3JTX/VQxPJ7rbTJwAQ98A++bnev3BQ51ZQ/M5lH5FtaK4rINdTbF VetVK04z9K6YgWZXykFa7fsDN3AZ0dXdiq1ktOITufUD+WVZu7y4FIsIkvmyWwhM4myl MISP5bkCAVXoCfY5A/Z78Z/8sKmKsRKYz1L321Nfdh5G2TZihn7jBSNKP5h6hnwdy8kt 8aiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=v93FwVXoTzkwCTHloTDbAyzgq12DcyzYpNvU8V0mZJE=; fh=z6JcAilOaQvG31qvpfW7mEVxWhkL7yuL6UFPaU7nBx0=; b=ileRxSr1n2K9RfznQPX6XCXRm/tJJLzRaT0AExi6Ne7Xk5Ctd/H6MKfws6DS66uP4H 2t/G0yieVMu9vZnga8c6QXp5/3XgC6sDM0vSAZ0WS1SGskLsRohQUkRUYL4HBglDnEcX noyOLEjVDKeuocGfZvAkBNqKPmV5DkPYH47sehzvdc3mxVxFzfqKB0DdUSCjeHeWR+hc 6jbTIl5aYOX/khxbTPhNXdp3jYEfvV0mFZrIrMFJap6K2OLwjVXb2dE7pNcPcCNE3/rt 0SIUtCt5/BGA4qCUmoCHvzUpnBR8MXnZGEKGILjzz6AjcZW/fbbEC1t9i/HuQzQ6TmaK aEPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BukZWAwW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id v25-20020a056870709900b001e18a7849a0si3774817oae.248.2023.11.21.09.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 09:01:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BukZWAwW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 969818044347; Tue, 21 Nov 2023 09:01:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231245AbjKURBR (ORCPT + 99 others); Tue, 21 Nov 2023 12:01:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbjKURBP (ORCPT ); Tue, 21 Nov 2023 12:01:15 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AA55122 for ; Tue, 21 Nov 2023 09:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700586071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v93FwVXoTzkwCTHloTDbAyzgq12DcyzYpNvU8V0mZJE=; b=BukZWAwWoMzDnykIthbpTWJ20Htab7d/JFNhjEAivJgpF3MMFRDqTHDhczlSz2nbrasmOl CP5KoyjwzSoZflizWQkJ9+l4zkgBPebSWM3Mk/Uw9WW+xY9j/B+00EQqza+Y3qb+FXjhw5 E+5MM7FENi3MCmp+ollVwLNwi6F5AaQ= Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-27-2YSTarNPNHq5jA6u4bByNA-1; Tue, 21 Nov 2023 12:01:09 -0500 X-MC-Unique: 2YSTarNPNHq5jA6u4bByNA-1 Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-587ac1e8eb1so6093208eaf.0 for ; Tue, 21 Nov 2023 09:01:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700586069; x=1701190869; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v93FwVXoTzkwCTHloTDbAyzgq12DcyzYpNvU8V0mZJE=; b=QUEDVGzz1MjntgD5qeRvxGOnc6QOEsW9KnurSGi3PUZgcfsLqMkyMF3L680hi7i43s cWBRYrfu54B8oGC7y/SqT4Y2aXhYL9y4A3joque1eiO7SvJ0HBggelMmheeLeObSHQSP D02L7lhALbBD4Q9hYLjAV3zj0R0JFJbihmo3HMQf+UZAGSB5ZsHA3IKEC0D3ix0Zfq3p kO0GF2fHc1PD0z7AImhl0BOt8PRgLSPMBuO8cAA7S4/MmmELT+u7oL0uTrwdoO7vwgoL Z2Mdlz/uE36vQR1Fvz6cR+0B4vjIDt9gBq6TeNhn/PeuhzY4whBtrCx0kEtRMLJVtLHV X7gQ== X-Gm-Message-State: AOJu0Yyrkdmg+alhbJ8uZINbvgL0LessZztmNz+EKjAmTzTbOQLNrw27 PQB2wPpkDuzIKmLtsw3cuJxOu3w16rbIon5DFmqBdjUbWErhUEpJSzIUHChuSENdVz7hKfAODYe ij4wgVdB9Pc8iKSTqNjRWWSfOjAfgkJlHhRiA0EJW X-Received: by 2002:a05:6358:7e47:b0:169:a9d4:3faf with SMTP id p7-20020a0563587e4700b00169a9d43fafmr12581500rwm.11.1700586069064; Tue, 21 Nov 2023 09:01:09 -0800 (PST) X-Received: by 2002:a05:6358:7e47:b0:169:a9d4:3faf with SMTP id p7-20020a0563587e4700b00169a9d43fafmr12581454rwm.11.1700586068588; Tue, 21 Nov 2023 09:01:08 -0800 (PST) MIME-Version: 1.0 References: <20231105163040.14904-1-pbonzini@redhat.com> <20231105163040.14904-35-pbonzini@redhat.com> <13677ced-e464-4cdb-82ae-4236536e169c@sirena.org.uk> In-Reply-To: <13677ced-e464-4cdb-82ae-4236536e169c@sirena.org.uk> From: Paolo Bonzini Date: Tue, 21 Nov 2023 18:00:56 +0100 Message-ID: Subject: Re: [PATCH 34/34] KVM: selftests: Add a memory region subtest to validate invalid flags To: Mark Brown Cc: Anish Moorthy , Marc Zyngier , Oliver Upton , Huacai Chen , Michael Ellerman , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Sean Christopherson , Alexander Viro , Christian Brauner , "Matthew Wilcox (Oracle)" , Andrew Morton , kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Xiaoyao Li , Xu Yilun , Chao Peng , Fuad Tabba , Jarkko Sakkinen , David Matlack , Yu Zhang , Isaku Yamahata , =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= , Vlastimil Babka , Vishal Annapurve , Ackerley Tng , Maciej Szmigiero , David Hildenbrand , Quentin Perret , Michael Roth , Wang , Liam Merwick , Isaku Yamahata , "Kirill A. Shutemov" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Tue, 21 Nov 2023 09:01:26 -0800 (PST) On Mon, Nov 20, 2023 at 3:09=E2=80=AFPM Mark Brown wro= te: > > On Wed, Nov 08, 2023 at 05:08:01PM -0800, Anish Moorthy wrote: > > Applying [1] and [2] reveals that this also breaks non-x86 builds- the > > MEM_REGION_GPA/SLOT definitions are guarded behind an #ifdef > > __x86_64__, while the usages introduced here aren't. > > > > Should > > > > On Sun, Nov 5, 2023 at 8:35=E2=80=AFAM Paolo Bonzini wrote: > > > > > > + test_invalid_memory_region_flags(); > > > > be #ifdef'd, perhaps? I'm not quite sure what the intent is. > > This has been broken in -next for a week now, do we have any progress > on a fix or should we just revert the patch? Sorry, I was away last week. I have now posted a patch. Paolo