Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2188302pxb; Wed, 9 Feb 2022 12:46:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoxJ+mAmgku+XR8Dsm3Vl40d/GYafgi2mcViad+iJujnSjPnTAfR5H83d9B93bhEowA4ED X-Received: by 2002:a17:90a:5503:: with SMTP id b3mr5482238pji.169.1644439619365; Wed, 09 Feb 2022 12:46:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644439619; cv=none; d=google.com; s=arc-20160816; b=hyzWMHjTyz0ZyJ8qBCp6cbkRGieShJmj6A00kD296c9VSi9AQVjSL9blIWaMlBqHgy H7NlPooAunejAFwKXjkkYr3KwozzB99PDdoTTWtunpjRD/CZy5bcRCV5kNrAhfwXXlEm 5kGNDHhoHkFwi45WfAXUwKak1O2TYE3fCPvSEsq6J80KeVqi3jRw03yQ+Q+4pDRPiHo0 45sw1XM0yxjKnRMiMUKoxMVJqHZILHxAxVVNPQBCYJBn+jNAXdiFkqZvvCLA8JeSI1HB 4JcnjDq8VDe3lDxbVj9xXEsLmSnWJZONdP9Xf7QJPSWH2uxmMjtjwBCR8rfPGOg5slio 1yTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nFEbKA8UOj2F0aYmafhYdx9MoDnLhZL6FzGdA3foG6Y=; b=eZYN34QIfojfeVVgPfdOXxLuE3mb3gYPa/wK7Ggdi3V6KkFKo4iOtm0fCCf9LEDZZ1 eJjxF8jqI2BulXr3Svky5sdCDWCr/P5+op9+bZI3KpJBnCWtoLIS9rTQY2YDrsgqikz7 Zeb9nuQvzD6XhXSYnCjboQUyiJMkZ/1+oeMN6ApTS+PdUik8NSddQx3tP+9031Ib7NAU eQ/dzq6Y7WGatCr7XTTD7G/adci8Si9U5rE+rrnBQqkjQD/66L9YjMSrCBrwmb1LC3+6 wSQo55beE2eUdnq1RCIOQWXmsp/BZRyTn4Spe+JpK8vKxsq2A2M8jXtITu9vBfFGbnoj ExoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="kMS+/VC4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j5si16303216pll.141.2022.02.09.12.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 12:46:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="kMS+/VC4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E3271E092F4B; Wed, 9 Feb 2022 12:12:01 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbiBITwt (ORCPT + 99 others); Wed, 9 Feb 2022 14:52:49 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:53650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbiBITwr (ORCPT ); Wed, 9 Feb 2022 14:52:47 -0500 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0BCDE0536F1 for ; Wed, 9 Feb 2022 11:52:48 -0800 (PST) Received: by mail-pf1-x436.google.com with SMTP id a39so5277592pfx.7 for ; Wed, 09 Feb 2022 11:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=nFEbKA8UOj2F0aYmafhYdx9MoDnLhZL6FzGdA3foG6Y=; b=kMS+/VC4xCdhdLklBPMZrl1DDgsPdemkNlQ+9xJdsF7MXhYOau3XWTVe4FOrwEqNCE AtJl33LpEFo6tfuoyyjy0zXo24YUgl2rkRpZDMF8C8XU1aeb1hng1SUX4zjzRKukMAQ9 27hgmz8ku+LmTHBmD6JLUcxGm2ViDLqKuaJNEonZsgpd0HlXbksTP9GkQqwkK3nofxzk 9N3WOhuOj7Zmr/5Cp7EeaMz/pprsSKTROefT+5wZO27PB8CVnklUVAkPBIVMBiLCrHCw jl9lkCtgzT6We8ITi8RRxUdBU2p3bPtKzg04MIXkdCVNZOh+d/Fln2r4rSPfvBbdqxfm cNnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nFEbKA8UOj2F0aYmafhYdx9MoDnLhZL6FzGdA3foG6Y=; b=zBU1684gwgKOBSXYsLQ0OghQOmqho3k+aY84eNbsxLKedoAn3CGvXnl8fHPWfc31hR 6nX7aR9sZJzI2pVNAX2UCsmfddfVj3cV6GYxpYcwlNre1AQlGq5C879KT4G23g8Vab1c O1NA6/pD9m+V4s308hgS2qBuGw+gOc5VloLE+KBcf4x2sTG4v3caccWU934YlbgxYK3r AOKyKD+cz7eVNLO8OQIVDcsqNGD4xVqRI1JWZXyvIwFFy5fLpui1kDIujB23KuOZ2SK0 dlaJnvB7/rQHN3psFrV9dyCyjZ09CmGKukep+XS37NHhxeyOby5rgMQHESeAU+fhFyqg TbUQ== X-Gm-Message-State: AOAM531EXZSC/n1gnk/YHDt6Dj3dbPqBN4tqjtIhEb6rBaDt1LzrJWgY g+QWR00GeAYg7Aa0IrNoZdV/5g== X-Received: by 2002:a05:6a00:23d0:: with SMTP id g16mr3889078pfc.19.1644436367723; Wed, 09 Feb 2022 11:52:47 -0800 (PST) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id pi9sm7744343pjb.46.2022.02.09.11.52.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 11:52:47 -0800 (PST) Date: Wed, 9 Feb 2022 19:52:43 +0000 From: Sean Christopherson To: Chao Gao Cc: kvm@vger.kernel.org, pbonzini@redhat.com, kevin.tian@intel.com, tglx@linutronix.de, Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , Will Deacon , Huacai Chen , Aleksandar Markovic , Thomas Bogendoerfer , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Anup Patel , Atish Patra , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , David Hildenbrand , Claudio Imbrenda , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , "Maciej S. Szmigiero" , Ravi Bangoria , Juergen Gross , Fabiano Rosas , Bharata B Rao , Nick Desaulniers , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org Subject: Re: [PATCH v3 2/5] Partially revert "KVM: Pass kvm_init()'s opaque param to additional arch funcs" Message-ID: References: <20220209074109.453116-1-chao.gao@intel.com> <20220209074109.453116-3-chao.gao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220209074109.453116-3-chao.gao@intel.com> X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no 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 Wed, Feb 09, 2022, Chao Gao wrote: > This partially reverts commit b99040853738 ("KVM: Pass kvm_init()'s opaque > param to additional arch funcs") remove opaque from > kvm_arch_check_processor_compat because no one uses this opaque now. > Address conflicts for ARM (due to file movement) and manually handle RISC-V > which comes after the commit. > > And changes about kvm_arch_hardware_setup() in original commit are still > needed so they are not reverted. > > Signed-off-by: Chao Gao > --- Reviewed-by: Sean Christopherson