Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp845524rdb; Fri, 26 Jan 2024 12:28:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFKpZ+h1sioPcFH2r5CHNuQTIoXvcxa8jeLZ2+4eUDH5e4CyBW9jilKauge4UDoTli+MTID X-Received: by 2002:a05:6808:1247:b0:3bd:e7e6:ed01 with SMTP id o7-20020a056808124700b003bde7e6ed01mr347622oiv.79.1706300926532; Fri, 26 Jan 2024 12:28:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706300926; cv=pass; d=google.com; s=arc-20160816; b=0pDsZBPDU3LjqwxJeHpu1OAIhKZND2fCi1G4X8vgT2EHahoZ+32Z7tguc1TUdfKucI wAD/tloyP+oVs+i830eUTGIcqhQVozuIYrKDLhHh919KQ6soTztqwnuYVozacJR17ti0 utxf5LhaX9Qv0QW4cPJWlsFjJ8xxlgy3g2iWhpuO5YtB9n36e5ZfGCJ6Hm92ZXvC0VT7 +aGUEpiW2HOYwGyjpOMQs1g8IclHqD/pl2poSkS3VRyUxLyu6awPuj/NjV/oWTKZkU56 hOs2Wq9JPgWsTeoFeGJW945dSvPdYNvl+orWgf0F1Mfqp9SqgcmNWRG6BW+vb8i1Pr7x XQfQ== 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=KbQ+Dwhg/HevKgCb1ijIHEGKfQzi7W5glVtqWEkhfqI=; fh=cActycSHYrolgYO47rP0WnGeLFqbn7t1YKQopHApyKM=; b=WZoBW6jzx9hNEOzhNadrGCussNg4bZUVBlxZxEj1n/KNdqgnyCry1sBM91gARnaEbe Q2agkrOHFSbbtKAbptex1Mo1o2Ntpkdo1fnvBIADBv0aGZzB+/5IGIMv7yE9Cnf0qyHA IN13mBSTw6QdDjOBh4yetXTq9WOowijmzCTwMdbx+k2rh6mJh3aO2WwIhOXHSRpWEbHW VcUzZg0kvBI8PivvEhRqHgVc6CD9GFyzSZbSTzLE2BNT32hsvzquzL+aKSCap5afdCKU /kv/emE9ceoREPTaiQd5D632/y6P0Vc+T1zdvSLHMNSqOcFSxdByW77f0uoSOFqEQTlK CTNA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=08ShMefS; 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-40627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40627-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b8-20020ac85bc8000000b0042a6e3bd6b6si2005168qtb.218.2024.01.26.12.28.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 12:28:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=08ShMefS; 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-40627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40627-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4AD371C24305 for ; Fri, 26 Jan 2024 20:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BFC823750; Fri, 26 Jan 2024 20:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="08ShMefS" Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (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 0A20722EFC for ; Fri, 26 Jan 2024 20:28:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706300915; cv=none; b=qc1twbTagZIdD/EA/umNKStALOuGdIH1RJlTRGM+h30uyvEIb7rvZrMZicZf3aDHdN7nO0e53SjPSGV/bF+sf980R3m4RTXxj1RfSndwyJIHaPkFUUPy/Re037bdIivOKqoXTBgTCxswbdmipXd1ATRuVjxdbiHQKnn3FGVMUxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706300915; c=relaxed/simple; bh=MX1cl8lmGmpn8sljYyeenca6Mtxd43PcXSi1NGAVEWI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Rm5ddDh3UhW53fuSJg5cm0sThcXCVE5Y1KHJbAMqMrCTvsG9TXfN/1LClX0quAKA+CrZMXPC5GJu2apTL8WYHcqvBfglUqUr3aKzzRcGpi+TLimogr2XUPdDjd1AowwfEHUfnERK7FiX1ZktuEqLCdA0Hn1n2bPr6BlgyeYIxAY= 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=08ShMefS; arc=none smtp.client-ip=209.85.215.201 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-pg1-f201.google.com with SMTP id 41be03b00d2f7-5cf962e1fcbso756209a12.3 for ; Fri, 26 Jan 2024 12:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706300913; x=1706905713; 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=KbQ+Dwhg/HevKgCb1ijIHEGKfQzi7W5glVtqWEkhfqI=; b=08ShMefSLdxC/ARJQwgiMa+S+0aZex2v0Z2VBtJz2u4xIzNCYJq5KQVEP8ybwehpBp PEtCK0rn57jC9b6zuvKx2wQCdIHRwoVGZv/Gd4eJhNOS0xAGpXVq8fM3bSyJtF8UOQfD JJT8CpRGuS6PhcZBh73ZAjWzbRZTJfn1Z+S9ipqXXkF8Vq5IbwSyWQFlLA0Cj9WuwtTv wz48QUZg86HgL1Har/y5CLwl5KSq3VzoJwjEC/HSWfGGluNhJPOIKi8hiOZ2ovCfTFxr tBZcO2pBnU/cmJxk5g0DgLDLXLcDAIOfTKtMLvv6zeTXopA/j3Q3P5YKFp2+kX0kON92 HzRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706300913; x=1706905713; 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=KbQ+Dwhg/HevKgCb1ijIHEGKfQzi7W5glVtqWEkhfqI=; b=eJKu5HVbCMLX+N3aFGC1e/iC/jnfLbEC4qSwGDR2tC2ixpMVxZ5JZO7qAxLrf8rI+7 M2r3jiBRA6PqQjLz7TpjuJ51Zkemv0rWQvP41ZHdsVQTCU7BA+BEyHBcaLZGVc26nW+D 7KNawD6mvxkQyhnbpay8HqyCtj0ZSyldEJG4HPhN7bPjYhzzikfkvJUvrNFBCM23fWRF +LgTiRhT/fXi4UElUzj2IIW0mZw5BLBuvtZVhampIDYxBDDonHMPic0O7+NCbKgFPPpn L/vDDDUNwSLvl2C/UwC8lR7qyHcL6KfoCW1XXWdelaBiSM4hnILfBsPz/cS1idhdbiIP EXaA== X-Gm-Message-State: AOJu0YzQc6syw24oi3tWHwPHeWOyvnQE6+oW3RQjVpyUHHi7ZxljQ8ih 0dGqKdCKB8XXqAJtwKelSdgLwhqozI+w4k0p9wio7HOkotuST+kI0Ish/t0Fa4UubBmLC7oG6cq 5AQ== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a65:64c4:0:b0:5ce:474:352b with SMTP id t4-20020a6564c4000000b005ce0474352bmr1894pgv.5.1706300913464; Fri, 26 Jan 2024 12:28:33 -0800 (PST) Date: Fri, 26 Jan 2024 12:28:31 -0800 In-Reply-To: <20240125015420.1960090-5-maobibo@loongson.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240125015420.1960090-1-maobibo@loongson.cn> <20240125015420.1960090-5-maobibo@loongson.cn> Message-ID: Subject: Re: [PATCH v6 4/4] KVM: selftests: Add test cases for LoongArch From: Sean Christopherson To: Bibo Mao Cc: Paolo Bonzini , Shuah Khan , Tianrui Zhao , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Thu, Jan 25, 2024, Bibo Mao wrote: > diff --git a/tools/testing/selftests/kvm/set_memory_region_test.c b/tools/testing/selftests/kvm/set_memory_region_test.c > index 075b80dbe237..7b09e59296be 100644 > --- a/tools/testing/selftests/kvm/set_memory_region_test.c > +++ b/tools/testing/selftests/kvm/set_memory_region_test.c > @@ -333,7 +333,7 @@ static void test_invalid_memory_region_flags(void) > struct kvm_vm *vm; > int r, i; > > -#if defined __aarch64__ || defined __x86_64__ > +#if defined __aarch64__ || defined __x86_64__ || __loongarch__ I assume that last one wants to be "defined __loongarch__" > supported_flags |= KVM_MEM_READONLY; > #endif > > -- > 2.39.3 >