Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5781999rwl; Tue, 4 Apr 2023 03:40:16 -0700 (PDT) X-Google-Smtp-Source: AKy350aCIPVCPRUet8qYrkJQ1PSqOU1U3xnNwmjYhaSGvz+guKfEsXWyA9Ep1yH7aAk7FfTkgRI1 X-Received: by 2002:aa7:cb4f:0:b0:4fa:e8f3:9685 with SMTP id w15-20020aa7cb4f000000b004fae8f39685mr1982344edt.28.1680604816103; Tue, 04 Apr 2023 03:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680604816; cv=none; d=google.com; s=arc-20160816; b=cwbNHzTMQRHGzJ1byTIkwuLLiyUHkOWYByHtbQx3WcSvqpyZ+8CL5dngRLuWw//dq/ Kl8rIO0t1YSuyLrEjUlPjik9cYEKXroKzkmZdNz4e+n9e72b88bL7d7X7o7d+Y0Rm9zF 6+UQrrkyzzvYwnWLlBQ+/ooEpqpYY1+PRZ6FvqiE4mu1DBqLwa1LLNLbFYXio0VcKYTC EqtKPeH4SPWbsT9WrcLIDoLF2nEzc4wauVp0bi3u8T/BVGtxODIhl7pSGVaCS7EOZvKs euoSv/psgFvVnuTOhEzDhSqAkeKU9xZ8ITHRckdSML8xFYsm4mzOmocOojABjhBG02sn k0uw== 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=JuAO/TXt1co2Yl/jE9f+m6f2f1iw8gMZ65fgjuKcqFk=; b=Pry3b3tlqE68qjUrPqZvU1Kn/5Dyh+QKexq/kgrzNpR/gAocYpo+Y4R4O+oPEYlK8P v49Sw19PPQAUgOY1VtMvDGvgv0QxVrbGG3mP4Ii/QB+t513iZ7K0KgmiAcODqWHvDqOD yFvQ3KtqT86FsvMiNPirHo+3ES89CkLAK74gPRY8RkZYS6qGNzzieW4JpjFbMa8uZP4q iqjecRdZQCp3egRnTaWOkO1N+sIDkCf54Hfww0+COVDxtYtV46BmZHlPDCEnwAb9V2aL KAuobSNnhPiUSfvpGrcP43gG0PFJ+h/Y2eTkznMsHtSFxRKFemO4gBQow1QXmCm6u8GT mWcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=i+InxZv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y26-20020a056402135a00b005021d24b860si374722edw.626.2023.04.04.03.39.51; Tue, 04 Apr 2023 03:40:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=i+InxZv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234352AbjDDKhH (ORCPT + 99 others); Tue, 4 Apr 2023 06:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234049AbjDDKhG (ORCPT ); Tue, 4 Apr 2023 06:37:06 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72641713; Tue, 4 Apr 2023 03:37:05 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id 184so4679162pga.12; Tue, 04 Apr 2023 03:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680604625; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JuAO/TXt1co2Yl/jE9f+m6f2f1iw8gMZ65fgjuKcqFk=; b=i+InxZv9vctTwvYJfOhr3IXiEJtQTdgq3FWlV7VrMh8MAQSk5o0oAYpnljO5NRRl2W Nj6BVO477s8Olgu1uQ6iw0i3zNybyIvrZkGzMPYbVO+ERb5UiiImi461t7g7WJUwXDiG LUE07ykWmtn1ukS7zNFgsGCUWFqrgek/SuWlrcpu/udR3MKyp6cga/YhKcpiXqXZShUR N4kNSc033fYBMU1oU336mWuwwENheza2114WYsg/8HSLYp2LqVBwI+hythwbITjs+D6q oe9ZF6NQQ2Coyp5UfD253HKcPhmFcZsbMVmXapl5bVsEOUqAdNKyOY7lq9i8gl7POMqB vwCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680604625; 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=JuAO/TXt1co2Yl/jE9f+m6f2f1iw8gMZ65fgjuKcqFk=; b=NBoAgK2or4sB90N/NPnOF94itohYVXKsoTwF7oReDVe6oKhYEUq8DuaWYy09WnHHHA 2QJaZ1tKA4Tgf/EbMctz9tZ5TzIBzOGCZ/5wgYC5w13Utx61OR6efOptfpTiKGE7Oiyj cLvotyU3KZ4YEVFSQgNjGecsDweTikNa75aFKOY94+o5Q4D8rhG7XeVStQaZQxMrVwty EwavTjOYNnaI6mwt0pOJhxDFHN/E2EsoL6PfN+WCb9G0nuDNb+3dXZvPgQtGiJb3xtLa yBm0M333WKe3KniwOjJrBAn8g7D10LcOyvqwgq2FX38TUZ2x+Ka22tcoJgjSiftWaD0e xi3A== X-Gm-Message-State: AAQBX9dhitS+8IEXVfix8b/Ff0S8bB5hdYjw/TF2sCV4gdezrHbYpId7 nZhf+sNw/P9fBhkzVIZsuI6F+XllC6O+MSLKmFE= X-Received: by 2002:a63:ea4d:0:b0:513:a748:c7d5 with SMTP id l13-20020a63ea4d000000b00513a748c7d5mr544257pgk.3.1680604624434; Tue, 04 Apr 2023 03:37:04 -0700 (PDT) MIME-Version: 1.0 References: <20230403095200.1391782-1-korantwork@gmail.com> <4235f3f7-bae5-1f5e-582e-077bc5d03306@gmail.com> In-Reply-To: <4235f3f7-bae5-1f5e-582e-077bc5d03306@gmail.com> From: Xinghui Li Date: Tue, 4 Apr 2023 18:38:13 +0800 Message-ID: Subject: Re: [PATCH REBASED] KVM: x86: SVM: Fix one redefine issue about VMCB_AVIC_APIC_BAR_MASK To: Like Xu Cc: "Paolo Bonzini - Distinguished Engineer (kernel-recipes.org) (KVM HoF)" , Xinghui Li , linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, seanjc@google.com, tglx@linutronix.de, mingo@redhat.com, mlevitsk@redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 4, 2023 at 4:40=E2=80=AFPM Like Xu wr= ote: > > On 3/4/2023 5:52 pm, korantwork@gmail.com wrote: > > From: Xinghui Li > > > > VMCB_AVIC_APIC_BAR_MASK is defined twice with the same value in svm.h, > > which is meaningless. Delete the duplicate one. > > > > Fixes: 391503528257 ("KVM: x86: SVM: move avic definitions from AMD's s= pec to svm.h") > > Signed-off-by: Xinghui Li > > Reviewed-by: Like Xu > > Do we have any tool to find out more similar issues across numerous subsy= stems ? > As far as I know, there is no such tool. But It seems possible to develop one, I will research it. Thanks~