From patchwork Fri Jun 5 09:32:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281326 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94F64C433DF for ; Fri, 5 Jun 2020 09:34:19 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 64E14207D3 for ; Fri, 5 Jun 2020 09:34:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Fy25EmEw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 64E14207D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:42946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8jy-0001Uh-MV for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 05:34:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8iq-00006N-Kk for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:08 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:27063 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh8ip-0004WI-Oc for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349586; 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=ttjV0syfgjbLAzbS9wNPqlHp/5sYrehPP++5NBowujA=; b=Fy25EmEweolchcba/ask2uGeFZIfRYDyrx3I8Sc4PdhppBX7TvJ8utKWVnuTUKsWWMvm/r uOHaunws/uBg9Itrksv3cwrkXqOsWd3sTQw46DQwVMOuPe6pXAbKEU9pD6w51aMxaxl927 00YtBjZK7QOVkfB4hd9h2soQZJ0GlDw= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-455-El4wsTh9OlWPN4auyr31JQ-1; Fri, 05 Jun 2020 05:33:05 -0400 X-MC-Unique: El4wsTh9OlWPN4auyr31JQ-1 Received: by mail-wm1-f70.google.com with SMTP id b65so2805688wmb.5 for ; Fri, 05 Jun 2020 02:33:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ttjV0syfgjbLAzbS9wNPqlHp/5sYrehPP++5NBowujA=; b=DTOHDlMp95sQzKn/8VTRbhrkMdfiUVA6NBDwGPDmClu20okd7VAyIBQiEANt14B0np I10aKddw53XrkTQU4XfoxQqp+8MUtie3uMSwIe3oKxVs4QhkxJX3t9VV7cUiAXeAtC4P eL1CbBA0Xaydxh29S8MuQWbYwMa6ICIzJa8etMkd3UjGXasQI98hj0NiVq3ViUIFgvA3 F52GtX6hdawXoLRrH/jwsW6fQ9xlUAk+sdcsa1kVqNyfGOfAMQs48Q/7z3IyDIWAtIK0 HVxPLutjau7uYTBftJXlCQZMZSGGbGaYnyI0aSp9S/KqL19VjJDxA0vG0MWCbX2C7oG1 Nu3g== X-Gm-Message-State: AOAM530RBzJDrMsjtjAZ4y1B1kkaXIsP1/I2bdgMdr8gvzRZbteNW66x dzIUKmZwPZrdn2ZqwqjZqAH9dZcpWG2W2v79TMY2w5tLCBr+G1gktOQD5Mimt46IGqy6f7sqIab zBoK5sdakoPhrDAo= X-Received: by 2002:a05:6000:12c8:: with SMTP id l8mr8924632wrx.148.1591349584179; Fri, 05 Jun 2020 02:33:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzILiSwuL1mR/uvPrBOnTrHWzv3yL5MdygODxTEREkSQ9LFijE3t4+pAiqJkTUoQzFK0T/w+w== X-Received: by 2002:a05:6000:12c8:: with SMTP id l8mr8924606wrx.148.1591349583908; Fri, 05 Jun 2020 02:33:03 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id v7sm10821029wme.46.2020.06.05.02.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:03 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 01/11] MAINTAINERS: Fix KVM path expansion glob Date: Fri, 5 Jun 2020 11:32:46 +0200 Message-Id: <20200605093256.30351-2-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605093256.30351-1-philmd@redhat.com> References: <20200605093256.30351-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=207.211.31.120; envelope-from=philmd@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:07:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Thomas Huth , Richard Henderson , =?utf-8?q?Philippe_?= =?utf-8?q?Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The KVM files has been moved from target-ARCH to the target/ARCH/ folder in commit fcf5ef2a. Fix the pathname expansion. Fixes: fcf5ef2a ("Move target-* CPU file into a target/ folder") Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3e7d9cb0a5..948790b433 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -361,7 +361,7 @@ Overall KVM CPUs M: Paolo Bonzini L: kvm@vger.kernel.org S: Supported -F: */kvm.* +F: */*/kvm* F: accel/kvm/ F: accel/stubs/kvm-stub.c F: include/hw/kvm/ From patchwork Fri Jun 5 09:32:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281324 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 095ABC433DF for ; Fri, 5 Jun 2020 09:35:59 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC5E7207D0 for ; Fri, 5 Jun 2020 09:35:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="KpYAvYZ3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC5E7207D0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:51362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8la-0004zn-1m for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 05:35:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8j2-0000HS-QX for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:20 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:52789 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh8j1-0004ZW-MG for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349598; 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=rhooDoq31Iw0ds0BQEJhXV5JDDKysW0nQian/XkdMKs=; b=KpYAvYZ3xLN0E/2HXpeziT1idAOZCkX7RD7LfctiC3Nv2NHau5SsRHCBsY6gRYb1A3DIPa 97Tqsts3S6ynxyW+Cd7uaxud2nb3DSKIFimN5Yp23IOT3ooOrB6edbH8GLNymQZCvpvlqv Zz2RVlVBVWM0j48Jp5PkAlq15uVRuZ4= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-482-QkhnKTg0MxiuQbuYBI6xJw-1; Fri, 05 Jun 2020 05:33:15 -0400 X-MC-Unique: QkhnKTg0MxiuQbuYBI6xJw-1 Received: by mail-wm1-f71.google.com with SMTP id l26so2809753wmh.3 for ; Fri, 05 Jun 2020 02:33:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rhooDoq31Iw0ds0BQEJhXV5JDDKysW0nQian/XkdMKs=; b=LMB9V58xv55SnukjPBOPPQMd6IeIA3PLd9Ybi5wP3HtrqFlyplmjFdtwv5eJkchNFl bfiEtAaQ0+dWaScPdfQ2Y5BVhNaMqDxQagzltY/Ky+g0QSAjt8737yWWz3UG9fRn6nQ6 BcXiHYPGZBIR7k0VtwTH1l0tQMLlG6RhdJDcWm6TYn0DuOThf8iu6Ig67wYDuAIvgdsr LRIor4oFaYfFM2zZepoZkmVQT+LauoGq/i0A8E2aX9gkBCt/KPPj8zyPNLr28AcMUVOD KW/JX70IcjzGdJRHi8MiSaXTwZt7k8aem8ZAa+xBR0EHhr5pRrCltIbttQoF5e7U1uhm 390w== X-Gm-Message-State: AOAM5328NaIaHriZ7jp1v5cNCTIPfu3QaM6uDi2tAVkGbI2Ff2Us/RXY Ht/kE2p0w+WNXXmye6j8xfzYnaSXXda7VqIgaf4XO9toGu5yV9kXeBOC6pPgTB4j3h98PfWw6tq VzxODgH8NMh2fGkI= X-Received: by 2002:a1c:3dd6:: with SMTP id k205mr1770630wma.87.1591349593752; Fri, 05 Jun 2020 02:33:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhkQHGbrs7h59u9rayg1cXlgrdCtllSBGRA9jrX9r2l6Bcneb8lbo3JB0Rsvs7sPhfTWb93w== X-Received: by 2002:a1c:3dd6:: with SMTP id k205mr1770609wma.87.1591349593552; Fri, 05 Jun 2020 02:33:13 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id c5sm7019115wma.20.2020.06.05.02.33.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:13 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 03/11] MAINTAINERS: Add an entry for the HAX accelerator Date: Fri, 5 Jun 2020 11:32:48 +0200 Message-Id: <20200605093256.30351-4-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605093256.30351-1-philmd@redhat.com> References: <20200605093256.30351-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.61; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:35:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincent Palatin , Sergio Andres Gomez Del Real , Wenchao Wang , haxm-team@intel.com, Colin Xu , Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , Tao Wu Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Nobody replied since the first time [*] that patch was posted, so mark HAX as orphan. [*] https://mid.mail-archive.com/20200316120049.11225-4-philmd@redhat.com Cc: haxm-team@intel.com Cc: Tao Wu Cc: Colin Xu Cc: Wenchao Wang Cc: Vincent Palatin Cc: Sergio Andres Gomez Del Real Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f725c12161..05d7210204 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -426,6 +426,12 @@ F: accel/accel.c F: accel/Makefile.objs F: accel/stubs/Makefile.objs +HAX Accelerator +S: Orphan +F: accel/stubs/hax-stub.c +F: target/i386/hax-all.c +F: include/sysemu/hax.h + X86 HVF CPUs M: Roman Bolshakov S: Maintained From patchwork Fri Jun 5 09:32:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281322 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64AC7C433E0 for ; Fri, 5 Jun 2020 09:38:26 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B0F4206A2 for ; Fri, 5 Jun 2020 09:38:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="eauUALdc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B0F4206A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8nx-0001yc-EU for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 05:38:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8jL-0000eC-CQ for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:39 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:28572 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh8jK-0004bB-JG for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349618; 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=GPfSgBN6V2tVMS8P3LJc7AXq2ATI7aQPyqGZHft5RHs=; b=eauUALdcI6Q2RDVZJ10I27gVuLzdDWJY4wh/AekhzwG0kf9kQG2x6Z9cEHy6TBJGyYpTcn euXz1ICtFYWqgA3kDB1a7Ib46/vsH4QI236+UCqmJJiS3VcW5SRmDLDB30WnI/ID/RSAbP 3e0Pr7/0vLR2+K6nbzxpcpyEY5v1L8Q= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-270-PBp12A0CN2CXEp13tVaPIA-1; Fri, 05 Jun 2020 05:33:34 -0400 X-MC-Unique: PBp12A0CN2CXEp13tVaPIA-1 Received: by mail-wm1-f72.google.com with SMTP id h6so2546399wmb.7 for ; Fri, 05 Jun 2020 02:33:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GPfSgBN6V2tVMS8P3LJc7AXq2ATI7aQPyqGZHft5RHs=; b=spUEJrFnEyFz9gG31vzQENM5HMQXPEzxFlBuVNHCj3xs+m9DlVt/9KPyOB0xhrjHbJ Gr+RGWZYHKkQQLLbzkVbKVowcNXY17TGJJmLP+1yaxiJFbtIa2lC4vZwoShlqkQ0iy7b ykkYjm7Ij2Z7qse7NnZ1WBWubLeNlfQ9R9LWpdK3nfU23t7+2jolhCjTxYyq0B2110Om PUJgPw8lj+eoUrr5oQ8HoTmz9gwafi2u1QilFlRDK/Jjjm1T6yi0B5//vv7lISYwhcD/ 4pTKG4s+HHMthcJAzJ2JDoZUljpj4WBxTWjydpr0SD9qvJAFSo+sn16waOO3g5nDgNPT PYtQ== X-Gm-Message-State: AOAM530UTr+ML8OUag7XNdj3uSEfzXYIfe5ECjTJY/Ohl4tgQ9E7qL9/ F6TMSJqVl1HXuFs5ydUFzmlcsEYPOk8i4n+lQoviJOsWWwDU539P+YAN59BcNAMZegE80I7wWDL gvphTv1Ao+J7NghM= X-Received: by 2002:adf:f68d:: with SMTP id v13mr8058968wrp.291.1591349613054; Fri, 05 Jun 2020 02:33:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4JprA6BdHCHzcKGFelWNaOXFAl3FqcrwOipdTLH3kAjfgpCBuCLlqY361lclAxqwTf2alig== X-Received: by 2002:adf:f68d:: with SMTP id v13mr8058950wrp.291.1591349612905; Fri, 05 Jun 2020 02:33:32 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id v28sm12404343wra.77.2020.06.05.02.33.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:32 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 07/11] Makefile: Write MINIKCONF variables as one entry per line Date: Fri, 5 Jun 2020 11:32:52 +0200 Message-Id: <20200605093256.30351-8-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605093256.30351-1-philmd@redhat.com> References: <20200605093256.30351-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.120; envelope-from=philmd@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:27:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Having one entry per line helps reviews/refactors. As we are going to modify the MINIKCONF variables, split them now to ease further review. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6c9d718b2c..7666f81e8a 100644 --- a/Makefile +++ b/Makefile @@ -418,12 +418,15 @@ MINIKCONF_ARGS = \ CONFIG_LINUX=$(CONFIG_LINUX) \ CONFIG_PVRDMA=$(CONFIG_PVRDMA) -MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host $(SRC_PATH)/hw/Kconfig -MINIKCONF_DEPS = $(MINIKCONF_INPUTS) $(wildcard $(SRC_PATH)/hw/*/Kconfig) +MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host \ + $(SRC_PATH)/hw/Kconfig +MINIKCONF_DEPS = $(MINIKCONF_INPUTS) \ + $(wildcard $(SRC_PATH)/hw/*/Kconfig) MINIKCONF = $(PYTHON) $(SRC_PATH)/scripts/minikconf.py $(SUBDIR_DEVICES_MAK): %/config-devices.mak: default-configs/%.mak $(MINIKCONF_DEPS) $(BUILD_DIR)/config-host.mak - $(call quiet-command, $(MINIKCONF) $(MINIKCONF_ARGS) > $@.tmp, "GEN", "$@.tmp") + $(call quiet-command, $(MINIKCONF) $(MINIKCONF_ARGS) \ + > $@.tmp, "GEN", "$@.tmp") $(call quiet-command, if test -f $@; then \ if cmp -s $@.old $@; then \ mv $@.tmp $@; \ From patchwork Fri Jun 5 09:32:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281321 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83EC9C433DF for ; Fri, 5 Jun 2020 09:40:35 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4EB00206A2 for ; Fri, 5 Jun 2020 09:40:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YaoyXzhi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4EB00206A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:41080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8q2-0004HP-Jp for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 05:40:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8jP-0000jA-Ib for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:43 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:29831 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh8jO-0004bI-O8 for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349620; 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=TyEDe8wylZalxNMNSz6RpL3nleNnTxzk4iV0Jrd1pvo=; b=YaoyXzhidMt6mcYh3Jyg+08TMh1lpsQxxR/9VHF+tzneqnJPlxe0CQ4LTVPED4IJvrNX3z z8rPtLSpla/HeFaYUeizylm7C+U4iGg0Lo+PLQNJxt3HmsAbrTsuvB04zxSRP/4qnKkEtF UXKjN28LdN8dALJjFbhZm5z3FnZdaMg= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-358-MszWj229MC2gRvPK356TRA-1; Fri, 05 Jun 2020 05:33:39 -0400 X-MC-Unique: MszWj229MC2gRvPK356TRA-1 Received: by mail-wm1-f72.google.com with SMTP id k185so2547077wme.8 for ; Fri, 05 Jun 2020 02:33:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TyEDe8wylZalxNMNSz6RpL3nleNnTxzk4iV0Jrd1pvo=; b=RAiPhWkvleLcfRDv1MQb8COquyLG1T/J6vY4GC8nyehi5GvbkicsGWNZMBL3zEkssl gew/8wS53eiNCzbzIcQt+/gcO5wvZXUGX+Np67xyWDXx5rigmhuSpCCz0p5Nuxjqv03z mgrercl3iZTBSdTe6RXoUbG7YCYT3m/b/aIxM51h+nhkhcbJLVnxQN1oriuXzsPH5zsw R/iYC1nWrD8+5VkdAo6Tjpqx2lIyGk+tzK+1MmtOsHXteBasVMz6EQFlwbpxFmVkwrvR hID+FFF9X46ypYjTPIYRiE8GpdOrIZNTFk0kGX1kcwZgINpgmPL/8LPVmh2g7rPMVJDS g+Xw== X-Gm-Message-State: AOAM533aQMENJ6NwmCyUDaAIyat3eOtYWLzumKj6lwuow1+pzjljDTXK WfmSxNr19XR4+DX27LcQYdz54/09X2e/0I/kTeaSFJ2gA7M9seJoeP7hF67jg0RdPnKyCMhzHU6 6evWenhViP+tQzzI= X-Received: by 2002:a05:600c:29a:: with SMTP id 26mr1729385wmk.76.1591349617754; Fri, 05 Jun 2020 02:33:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymbmxZ+EW/MVYQ7+Ov0hMO6Luws1CLehqpinroMrK8T7UGyPttCVb7pB3R/a0BQDjR1sj+KA== X-Received: by 2002:a05:600c:29a:: with SMTP id 26mr1729371wmk.76.1591349617572; Fri, 05 Jun 2020 02:33:37 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id c65sm11026622wme.8.2020.06.05.02.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:37 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 08/11] accel/Kconfig: Extract accel selectors into their own config Date: Fri, 5 Jun 2020 11:32:53 +0200 Message-Id: <20200605093256.30351-9-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605093256.30351-1-philmd@redhat.com> References: <20200605093256.30351-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.61; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:35:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Move the accel selectors from the global Kconfig.host to their own Kconfig file. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- Makefile | 1 + Kconfig.host | 7 ------- accel/Kconfig | 6 ++++++ 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 accel/Kconfig diff --git a/Makefile b/Makefile index 7666f81e8a..648757f79a 100644 --- a/Makefile +++ b/Makefile @@ -419,6 +419,7 @@ MINIKCONF_ARGS = \ CONFIG_PVRDMA=$(CONFIG_PVRDMA) MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host \ + $(SRC_PATH)/accel/Kconfig \ $(SRC_PATH)/hw/Kconfig MINIKCONF_DEPS = $(MINIKCONF_INPUTS) \ $(wildcard $(SRC_PATH)/hw/*/Kconfig) diff --git a/Kconfig.host b/Kconfig.host index 55136e037d..a6d871c399 100644 --- a/Kconfig.host +++ b/Kconfig.host @@ -2,9 +2,6 @@ # down to Kconfig. See also MINIKCONF_ARGS in the Makefile: # these two need to be kept in sync. -config KVM - bool - config LINUX bool @@ -31,10 +28,6 @@ config VHOST_KERNEL bool select VHOST -config XEN - bool - select FSDEV_9P if VIRTFS - config VIRTFS bool diff --git a/accel/Kconfig b/accel/Kconfig new file mode 100644 index 0000000000..c21802bb49 --- /dev/null +++ b/accel/Kconfig @@ -0,0 +1,6 @@ +config KVM + bool + +config XEN + bool + select FSDEV_9P if VIRTFS From patchwork Fri Jun 5 09:32:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281323 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CBF8C433DF for ; Fri, 5 Jun 2020 09:37:15 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 58AA9206A2 for ; Fri, 5 Jun 2020 09:37:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UIgb3rpg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58AA9206A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:58198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8mo-0007m2-Jb for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 05:37:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8jV-0000vT-DQ for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:49 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:28435 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh8jU-0004bg-JY for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349627; 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=az8pj3ArsVB5H8vNRsyPhpcnKHlQHKIjS7ekh/fQInY=; b=UIgb3rpgqAfwG228pk3VbcIIkmFwtLzd8egg0Y2UdCa9D+riUhcExxkuXJRtDLd+rBV0jZ jHfJP3XpF3r9m8dv/KhX2ki6r3cBWgAAy8RWk6X2eg3iZozd5j3rFsC41gAISSeC1RxRCR 96hyqGtLX+Vt2pId0wVmg0nRugeh62k= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-492-4N1tw7gPOTKdQ2P8GM_y6w-1; Fri, 05 Jun 2020 05:33:45 -0400 X-MC-Unique: 4N1tw7gPOTKdQ2P8GM_y6w-1 Received: by mail-wm1-f71.google.com with SMTP id l13so298888wmj.3 for ; Fri, 05 Jun 2020 02:33:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=az8pj3ArsVB5H8vNRsyPhpcnKHlQHKIjS7ekh/fQInY=; b=d4wuSOzL91IAha/PCNHCmYWVJuUuuDaZidwFDdm9br1HaTULZCeDV4nwfQm37NicPY ZgpS2Zc+3dNnT5GU3lk079KdZ5JmDhCrCYUbGTyCORdC5OH8XpsUvDhXLvZ6h3ETrr9d eqWsxxu05//xleLcBnisk5L1odkk+LAIeZ9ed9a79EyEYidi8sWBgZQ3ELsd+vnXoT2E FXGXzTeclaS/8Ph2bHOMG+/+nTdmNSrPPFP1yXm+mDc2W/Rqlg+UznZxY3MwST1IW0FK 1Uzji2fW3tlL8CFgagFggt0qqEAFBbEfh6HnBlEB3S3edGaG8z2Na1Z4dLdzSXSU5H/o uGOg== X-Gm-Message-State: AOAM533KNroe3dyyJ6WWdON1ywlv+CPMk/MHuP2nNthlDrnT7FtKViJG kNg/tPFZo2c3okt2kCnVwUNt+b7m7aDNYOgfT7nnpA2vaOYlVgOXQP6ps+enQL9Osl/my6x31Qz kNx608YukDud4wFU= X-Received: by 2002:a1c:29c4:: with SMTP id p187mr1790159wmp.73.1591349623740; Fri, 05 Jun 2020 02:33:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyI5NBviICNHu6nlj2JwMOOTAXWr/o8IYpqQ99ZCRljcNoukfcrJA+6mEjF79jkJR5nPR1JTw== X-Received: by 2002:a1c:29c4:: with SMTP id p187mr1790059wmp.73.1591349622269; Fri, 05 Jun 2020 02:33:42 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id d2sm11459230wrs.95.2020.06.05.02.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:41 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 09/11] accel/Kconfig: Add the TCG selector Date: Fri, 5 Jun 2020 11:32:54 +0200 Message-Id: <20200605093256.30351-10-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605093256.30351-1-philmd@redhat.com> References: <20200605093256.30351-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.61; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:35:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Expose the CONFIG_TCG selector to let minikconf.py uses it. When building with --disable-tcg build, this helps to deselect devices that are TCG-dependent. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- Makefile | 1 + accel/Kconfig | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 648757f79a..f8a45e1379 100644 --- a/Makefile +++ b/Makefile @@ -405,6 +405,7 @@ endif MINIKCONF_ARGS = \ $(CONFIG_MINIKCONF_MODE) \ $@ $*/config-devices.mak.d $< $(MINIKCONF_INPUTS) \ + CONFIG_TCG=$(CONFIG_TCG) \ CONFIG_KVM=$(CONFIG_KVM) \ CONFIG_SPICE=$(CONFIG_SPICE) \ CONFIG_IVSHMEM=$(CONFIG_IVSHMEM) \ diff --git a/accel/Kconfig b/accel/Kconfig index c21802bb49..2ad94a3839 100644 --- a/accel/Kconfig +++ b/accel/Kconfig @@ -1,3 +1,6 @@ +config TCG + bool + config KVM bool From patchwork Fri Jun 5 09:32:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281325 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D64A1C433E0 for ; Fri, 5 Jun 2020 09:35:03 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A054420772 for ; Fri, 5 Jun 2020 09:35:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="P2MSNl6i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A054420772 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:46456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8kg-0002us-SJ for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 05:35:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8jd-0001Dc-QM for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:57 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:20832 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh8jc-0004c5-Vy for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349636; 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=EtHXc08cU2h+YYoVzqMY8ITi4IAZMxthxIEDG0nzDUM=; b=P2MSNl6iL4Sif9v01wcTp23wGPbzj/C1ZLW8ShouEqaruu2t65NQHReMXkXRwAkuScfX6R jCMH5NwAUrGq92eLVWqY2SqyyjWu0+/8p0k1ZMLduPDv4DSy1mIqH1b76e0+FihFSkW7wO f75iS+1Vz3GBmWGq8Jw+fLHMM21Eugc= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-238-vm1EU1ywOVu783GQoZuQFg-1; Fri, 05 Jun 2020 05:33:54 -0400 X-MC-Unique: vm1EU1ywOVu783GQoZuQFg-1 Received: by mail-wm1-f72.google.com with SMTP id v23so2813796wmj.0 for ; Fri, 05 Jun 2020 02:33:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EtHXc08cU2h+YYoVzqMY8ITi4IAZMxthxIEDG0nzDUM=; b=ZvNdxripsWhFifAh4on/6rI5LBqOEcXJ+N5xXQDvd3yByds8vdOBlbj5HirKmX89rW +BXkDEVKTCTTqqRFEVKjJ9dzy7Z6tHZJFmRddaA3jvN1/odjryyQq5lpvLUFaJW/b71M L/oDTNIf7tV3nH/lFCiCa2OXhEjFwmZEcUHJx7Pmc/4ITv8KRIIAkYQJ40fdiTJq7MWK EE3jdvNZEiLo2uZX78LOrcu3l7D5NNC09LR1nFgp/0cVr5EyXePXHGXq5wq1WOMCQylj wJGEmIYQT15snKxUDXhowe4N9zeuWbN8K0YIIPDvppz0GOyK5CO3sPWfY7pil1MgvNJm Da7g== X-Gm-Message-State: AOAM5332MnE4Gj1MYaDGTusNBpFApVesye74wk+NKhomBvhTk30D8wDg B4ZTrcE0Qr8a1k87AyfRx5x5Ie7fF2ed6fTWsQlUaU+f3Ikg3qUUwshMR8msEgAPoFbQYayXB2q WPzIQlzFM57m3cuM= X-Received: by 2002:a1c:b7d5:: with SMTP id h204mr1880238wmf.39.1591349633227; Fri, 05 Jun 2020 02:33:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxI+cTjnHVA5mX2eH/xmWP4N7Npk31SudfA0EC9OZMoJ39RugNubPmQh30H88XiveGB/Dnylw== X-Received: by 2002:a1c:b7d5:: with SMTP id h204mr1880211wmf.39.1591349632964; Fri, 05 Jun 2020 02:33:52 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id d18sm11283522wrn.34.2020.06.05.02.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:52 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 11/11] accel/tcg: Add stub for probe_access() Date: Fri, 5 Jun 2020 11:32:56 +0200 Message-Id: <20200605093256.30351-12-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605093256.30351-1-philmd@redhat.com> References: <20200605093256.30351-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.120; envelope-from=philmd@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:27:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , David Hildenbrand , Richard Henderson , =?utf-8?q?Philippe_?= =?utf-8?q?Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé The TCG helpers where added in b92e5a22ec3 in softmmu_template.h. probe_write() was added in there in 3b4afc9e75a to be moved out to accel/tcg/cputlb.c in 3b08f0a9254, and was later refactored as probe_access() in c25c283df0f. Since it is a TCG specific helper, add a stub to avoid failures when building without TCG, such: target/arm/helper.o: In function `probe_read': include/exec/exec-all.h:362: undefined reference to `probe_access' Reviewed-by: Richard Henderson Reviewed-by: David Hildenbrand Signed-off-by: Philippe Mathieu-Daudé --- accel/stubs/tcg-stub.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c index 677191a69c..e4bbf997aa 100644 --- a/accel/stubs/tcg-stub.c +++ b/accel/stubs/tcg-stub.c @@ -22,3 +22,10 @@ void tb_flush(CPUState *cpu) void tlb_set_dirty(CPUState *cpu, target_ulong vaddr) { } + +void *probe_access(CPUArchState *env, target_ulong addr, int size, + MMUAccessType access_type, int mmu_idx, uintptr_t retaddr) +{ + /* Handled by hardware accelerator. */ + g_assert_not_reached(); +}