Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp364980pxf; Wed, 7 Apr 2021 01:09:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO8UuFoiWNhNOkcAcS0v/l4/U4Dc0/cSyD1rNxWnEgBtbI3Ad4kobWBwBXFSfwLmcBqfAz X-Received: by 2002:aa7:db4f:: with SMTP id n15mr2913288edt.12.1617782976062; Wed, 07 Apr 2021 01:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617782976; cv=none; d=google.com; s=arc-20160816; b=km+nOx0xfPskNvuhhEbQHG26D1Pa+YJqf/JFHuKOfzwJkeh18jDyDKkZa0hNAZdWFh aUYUf0gAlGylyv5SIVFAL/7RVCosrQRxBKh5kU3PB1dlc19CoCFNM4n1ihXjYkagna8M pUtrlNNWasZrfXqrLQenKQKuSwLFbMJkgekurPOxIGQ06DOQzHNrrQMQOVhyN2SxZOYL V6BfbctX9PizWXQ8S2Cdayj0Ru2oZ0/PEWOKVYcef/2i3JL/ehhm9iMdG9FOJGwlV4ry qz8T7g3+QsSnVTG2Wme3Hn62mBUlPldG1fKI952FiDCCugg5nGR+MRgDcJBkkmoJdxRr IasQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature; bh=ExwLAkj1fMHpkfyODtJlsJyo9etWcSmaQ4u6oODW1wU=; b=HlvelSqu47n4w5kpp7YyPd4imEN76KyPCa/1ltoLFA7VXZvg++m/v2Q0/npSG+9ksb QHAW6UkETq3j1VywSSVHbxtaA5Gyaa5sbIGPpiRW46c7k0rqxZCU1kCufwO9c7HN6tOf cvpk8cHv+SJvQ6Zke2VoZhqw+hXlETksiW3UGijfj+qkXwX6rGghG42JNQu7mFt5NVro uR+KkKJr0b+e1yMGcChahs7EETubHuBpbM6ot3YTzVvsFSsFmzdI8noKRE4dpIqxHf3F rAyci1DsnxvscOhGng144EhBd0olek/q36xRFS32rrVVWuw3+15Rvewg0v+2OZuFaLEQ GC8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ClsMnC5A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm10si19577933ejc.418.2021.04.07.01.09.11; Wed, 07 Apr 2021 01:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ClsMnC5A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237096AbhDFS2q (ORCPT + 99 others); Tue, 6 Apr 2021 14:28:46 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:26077 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236947AbhDFS2n (ORCPT ); Tue, 6 Apr 2021 14:28:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617733714; 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=ExwLAkj1fMHpkfyODtJlsJyo9etWcSmaQ4u6oODW1wU=; b=ClsMnC5AFwDx1tsnWl69SpMJ6pSksVAwhEhFX7GEhg9ZZ3+QxJry+dB2YmO+/59UvKAzfS Dm378L2RDPL2wnqkT2AFKKigEK0aAT96twzIV2ZwPBj0tJJ85dEgzaFRBgtqOxx19tkQA6 aw4wjqw9FVOTn7Lxh/b/t1XRw5mwOFo= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-30-D76Wdz2dMTqJtRxTgqEZsA-1; Tue, 06 Apr 2021 14:28:30 -0400 X-MC-Unique: D76Wdz2dMTqJtRxTgqEZsA-1 Received: by mail-ed1-f72.google.com with SMTP id y23so6169692edl.19 for ; Tue, 06 Apr 2021 11:28:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ExwLAkj1fMHpkfyODtJlsJyo9etWcSmaQ4u6oODW1wU=; b=HgZBQatL137aPS6k+aLsowN7HXrcGCu2+n+6kVZsBfiHOosZc5K0Kyp8MMn9ePDn0/ Uz+QxNau1b10rh4MzF1iFGhsAOi1vm3sAMT8fD0Jyi3pgdR/tqummEvFOf3a7Cwk+XJm sVamR79qwsQCKmqU/z5ifmboeRFDERps6TF5dZxHKtGJRW47ay4Vh4NOMCgqgvAKw8sW BeUKtiK7oTjua+Az/DKpwd24rkDCrR/djJyfYnd+SBNA14bYTsKcHqTaaaoDsF/hdShi WZBT++397W2zM7btTv4WyYTM/WIHMQKIJ7L57WdDFDqS+dnYTK1e4WXzKXkJg7I61+FU y02A== X-Gm-Message-State: AOAM530aZLv0+9nqccGuExoMNMzDGx13QlLEFipDc0bEhN7XQ7901wwS FXs6dJnqAboBGKOVyq9Qb9c/VHvK8H4hd8PirPI4C5dhFNeUqx4enUy1c96LWdgj4C1ZpO71tGb zYbpFndSDgURz31LB9dEZi5QN X-Received: by 2002:a17:906:94d6:: with SMTP id d22mr22000283ejy.424.1617733709699; Tue, 06 Apr 2021 11:28:29 -0700 (PDT) X-Received: by 2002:a17:906:94d6:: with SMTP id d22mr22000261ejy.424.1617733709485; Tue, 06 Apr 2021 11:28:29 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id u1sm14076727edv.90.2021.04.06.11.28.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Apr 2021 11:28:28 -0700 (PDT) To: Sasha Levin Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Peter Feiner , Ben Gardon References: <20210405085031.040238881@linuxfoundation.org> <20210405085034.229578703@linuxfoundation.org> <98478382-23f8-57af-dc17-23c7d9899b9a@redhat.com> From: Paolo Bonzini Subject: Re: [PATCH 5.10 096/126] KVM: x86/mmu: Use atomic ops to set SPTEs in TDP MMU map Message-ID: <81059969-e146-6ed3-01b6-341cbcf1b3ae@redhat.com> Date: Tue, 6 Apr 2021 20:28:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/04/21 20:01, Sasha Levin wrote: > On Tue, Apr 06, 2021 at 05:48:50PM +0200, Paolo Bonzini wrote: >> On 06/04/21 15:49, Sasha Levin wrote: >>> Yup. Is there anything wrong with those patches? >> >> The big issue, and the one that you ignoredz every time we discuss >> this topic, is that this particular subset of 17 has AFAIK never been >> tested by anyone. > > Few of the CI systems that run on stable(-rc) releases run > kvm-unit-tests, which passed. So yes, this was tested. The code didn't run unless those CI systems set the module parameter that gates the experimental code (they don't). A compile test is better than nothing I guess, but code that didn't run cannot be considered tested. Again, I don't expect that anyone would notice a botched backport to 5.10 or 5.11 of this code, but that isn't an excuse for a poor process. > Right, I looked at what needed to be backported, took it back to 5.4, > and ran kvm-unit-tests on it. I guess that's a typo since the code was added in 5.10, but anyway... > What other hoops should we jump through so we won't need to "hope" > anymore? ... you should jump through _less_ hoops. You are not expected to know the status of the code in each and every subsystem, not even Linus does. If a patch doesn't (more or less trivially) apply, the maintainer should take action. Distro maintainers can also jump in and post the backport to subsystem mailing lists. If the stable kernel loses a patch because a maintainer doesn't have the time to do a backport, it's not the end of the world. Paolo