Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D5D0C43334 for ; Tue, 14 Jun 2022 17:11:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243075AbiFNRKu (ORCPT ); Tue, 14 Jun 2022 13:10:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244451AbiFNRKp (ORCPT ); Tue, 14 Jun 2022 13:10:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2B63D21265 for ; Tue, 14 Jun 2022 10:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655226644; 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=wdTx0UxZNie9egiNrklzoc2+ItGio2T/VUZ8M/iIzT0=; b=T4ggdqZRc+h6MPK9LpxEa1PBObhZjdQQ5IktKoU/aDp8ZgqzLlFUbxO0zoYqHR4e5GQXxq ROhnA0gH+YFG0tQGrNWStPg4zoIaUnhk4l7YN8dtd5SROBqg9y5TUiXgsAVNkhCATz6M5f QUDI3HKWVTr5xYUTiOBGu0s59+dLyLg= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-661-68PbLGp7NHuxzjhckdYeNA-1; Tue, 14 Jun 2022 13:10:43 -0400 X-MC-Unique: 68PbLGp7NHuxzjhckdYeNA-1 Received: by mail-wm1-f71.google.com with SMTP id k34-20020a05600c1ca200b0039c7db490c8so5084673wms.1 for ; Tue, 14 Jun 2022 10:10:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=wdTx0UxZNie9egiNrklzoc2+ItGio2T/VUZ8M/iIzT0=; b=ITWnRlFs85aRfdbTYKqJcJRlmNSyAmY9C1ww8IkdN13r1G8P7SQn7s3/v7cbpxEMss 6BoDo6jS2J2qez+qhaVa3AcqTJdh8MxOdlQIWN5EypZtZ5Oz5lbUm0Zm2QMESbYFazZD 9TGQPjpnR6EiMw20OZzomQLAJ6RxcB/NydHtvfcSG6eOTV6pVNER3hX+siFrVYKdDaqu 35t3cx1A5dY0ay/moLDFUvCGc5pNfjaIgtk8w6yLHz83HyDyliG+KeEmQ2V1OO+3AF7x +HdauA7x6fX5PKz+/FpiwQiOd7208YagPD75ntkuHPmOde3aoFOrG6AqlcVJeQyKGudb wX6w== X-Gm-Message-State: AJIora/omXD/y2/EFYVFDdIvFOCZyOs2NLhOJHyEOlSAM3jXV0ZJBZFo Z28APwCLjg425tw/ebWltUIPqZA6bPx+J731KFE3zHNlolbqL2m4YfcrX/A1LJTgGjPBS57I9Gr v9o6UEhN0qtBK X-Received: by 2002:a5d:5222:0:b0:213:b7f7:58fe with SMTP id i2-20020a5d5222000000b00213b7f758femr5502062wra.620.1655226641575; Tue, 14 Jun 2022 10:10:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t9/AkMew9VeDM8YYt21zvgf/5/6NovrH8S/spj9cUNFHVR2U9Nsa7Do36pfJPc1RFOGvs39g== X-Received: by 2002:a5d:5222:0:b0:213:b7f7:58fe with SMTP id i2-20020a5d5222000000b00213b7f758femr5502044wra.620.1655226641339; Tue, 14 Jun 2022 10:10:41 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:9af8:e5f5:7516:fa89? ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.googlemail.com with ESMTPSA id r20-20020a05600c35d400b0039c1396b495sm14287976wmq.9.2022.06.14.10.10.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Jun 2022 10:10:40 -0700 (PDT) Message-ID: <25edd702-3364-921c-2bcf-015fd86296c4@redhat.com> Date: Tue, 14 Jun 2022 19:10:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH 1/8] KVM: x86/mmu: Drop unused CMPXCHG macro from paging_tmpl.h Content-Language: en-US To: Lai Jiangshan , Sean Christopherson Cc: Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , "open list:KERNEL VIRTUAL MACHINE FOR MIPS (KVM/mips)" , LKML References: <20220613225723.2734132-1-seanjc@google.com> <20220613225723.2734132-2-seanjc@google.com> From: Paolo Bonzini In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 6/14/22 04:13, Lai Jiangshan wrote: > On Tue, Jun 14, 2022 at 6:59 AM Sean Christopherson wrote: >> >> Drop the CMPXCHG macro from paging_tmpl.h, it's no longer used now that >> KVM uses a common uaccess helper to do 8-byte CMPXCHG. >> >> Fixes: f122dfe44768 ("KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bits") >> Signed-off-by: Sean Christopherson > > > In https://lore.kernel.org/lkml/20220605063417.308311-2-jiangshanlai@gmail.com/ > two other unused macros are also removed. > Queued that one, thanks! Paolo