From patchwork Fri Jun 5 07:39:43 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: 11589159 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 96017739 for ; Fri, 5 Jun 2020 07:42:36 +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 6C6D2207D3 for ; Fri, 5 Jun 2020 07:42:36 +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="hwbXzoIT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C6D2207D3 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:59244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh6zr-0006D1-LO for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:42:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xU-0001g7-Cl for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:08 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:36016 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 1jh6xT-0004uq-ME for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342806; 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=hwbXzoITTj8avz3pTq8iIJGwGYux/RyMY/hGwS8WlDq/MSwBCn9TBbnyjY0azSZxp+fHx5 Chh9qp6duTPuzBDJNVdOucVBEbWGznVoQPs27iGip4idiwUND4Ny0gPqHL/ncyAyAWsfcG P615iYkW8p6O5jB0MdLSHrn52+iWHuw= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-190-Vkd872U-NzKQS0B_gTVbRQ-1; Fri, 05 Jun 2020 03:40:02 -0400 X-MC-Unique: Vkd872U-NzKQS0B_gTVbRQ-1 Received: by mail-wr1-f69.google.com with SMTP id a4so3415209wrp.5 for ; Fri, 05 Jun 2020 00:40:02 -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=RECun9GwYdRCsrMVI+T50aKTg/e3LoDIdpRsd7jLNmcxNK15IOVEydzQ8ZpCpTP3CK NDOxkYv6qLodr1ypRpPeSmO5hS5fxqDjTat20I8G86fCUm+s9OTuwLwST/U67cyJprSB gRHChY62kBFipSRnNOiaUPPZC6aPkd7AYqoUzJEQWj7EyQPPCrM4Up8bUB+UQH8W+eeI iYdvw7GTg5ykUzk2oYry6KQAJCDvLzMkEZ4ytCZ9ENbQCWuDh6vxMTun9SPWJm7RtE/p +QLF4Pzg9Js+Rw8YC2U1wWdaEwFBOkQcektT2QlXuCNH9zhmwupjrCzHTeV4sXNSVGyq EVJg== X-Gm-Message-State: AOAM5313zKJkvK/n0ptCIqDVOHVVMNP4eCW5pd/N9+ujLadUnqphSCPS GQSz5xdfcNWuNIuK+CDE7jPEBxjEgYkfg0CUUR5evgtUGqj82iYF6VtlMcQ6O8iSCXMYRLxFh7u g1scoKrYlySOv1sE= X-Received: by 2002:adf:fe07:: with SMTP id n7mr7940254wrr.240.1591342800968; Fri, 05 Jun 2020 00:40:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSpkqZxtH9GgfG3xxOVwydp/+mRMQL4vPxGRIEfqWwqh90nEhYZvvVmoIHQqSNYHV3+dqDSQ== X-Received: by 2002:adf:fe07:: with SMTP id n7mr7940242wrr.240.1591342800825; Fri, 05 Jun 2020 00:40:00 -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 j5sm10886895wrq.39.2020.06.05.00.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:00 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 01/11] MAINTAINERS: Fix KVM path expansion glob Date: Fri, 5 Jun 2020 09:39:43 +0200 Message-Id: <20200605073953.19268-2-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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 , Thomas Huth , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 07:39:44 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: 11589149 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6E376912 for ; Fri, 5 Jun 2020 07:40:51 +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 448D7207D3 for ; Fri, 5 Jun 2020 07:40:51 +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="JbODm1hT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 448D7207D3 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:52200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh6yA-0003Kf-EO for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:40:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xX-0001jD-5u for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:11 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:32157 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 1jh6xV-0004v6-GG for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342808; 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=IUsnVeQ0+evM91jOln2H7E8Gqf85iDyOxRzdS5TrXzA=; b=JbODm1hTgIPjYDjVEA4A1uO/mrhRDKAeHHPZ5aqmqE9svaI2gnFxjvA21axhv/dRf7ReeS XMU1Z0FJAgJ6TdTq/ZeGb7Cs2j6sKpxG4kmMQwWnG4mNNBjdb5ouxOl0Meoox57t+xm5+z l3cTZwqNBNEMfU20/RheRXqBVsHeKfE= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-398-ClkaJsAoMrCZ_UfBtwGmwg-1; Fri, 05 Jun 2020 03:40:07 -0400 X-MC-Unique: ClkaJsAoMrCZ_UfBtwGmwg-1 Received: by mail-wr1-f72.google.com with SMTP id i6so1819850wrr.23 for ; Fri, 05 Jun 2020 00:40:07 -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=IUsnVeQ0+evM91jOln2H7E8Gqf85iDyOxRzdS5TrXzA=; b=AWZmP0922k5zdxlSLdSkKEjgK7OCeHNNi5D4p0zgfd+QqFt5vs3I233KR3cX9dGPGd 4yuFjyR8gb2XvNl6qHKsItjH7T/fkyajK4ctxayPLacUw2AnwgwWnEG7cXuDGVdsZ6Hc ZPI89fb/9ZgG24xM+ADIX8XLrSDC9zEcnxJQG4phNis7wdLQMtoG0qH9dhcbolQJW5c4 L2yMaMDscsPrPVTEWNG026poo7rgaVJY7/lZoY0Kxg8etORZwTFhUgTwvzMR9Tme4hKT 4BjVVSBxD9FiRcI7WWivxqEOPNDl10m0TQCEPGNpfazjcq5tEzYU1fXazLbgeMAJX5l4 37gQ== X-Gm-Message-State: AOAM5331kJBSO3dcus2RBeb/sCuixG/Z2/18xtvAbGPxh/vHS2vBeWuW mBubmSGwHdGuEeoYHgA9dluOuiSXYRF4aYlNYf7Ibzu71i1KUA+sezY3CZ3y/eQ2Xxgx6olvc8y nNu0/WQOE0IF7JAQ= X-Received: by 2002:a1c:49:: with SMTP id 70mr1264458wma.184.1591342806008; Fri, 05 Jun 2020 00:40:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywjsjHCArYCXcd7C+BsUh6EYyl4kGluBrgjSgK/LTnFovF2p3rba3FkAYKfrREBm2wHutZkg== X-Received: by 2002:a1c:49:: with SMTP id 70mr1264445wma.184.1591342805850; Fri, 05 Jun 2020 00:40:05 -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 i74sm11214750wri.49.2020.06.05.00.40.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:05 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 02/11] MAINTAINERS: Add an 'overall' entry for accelerators Date: Fri, 5 Jun 2020 09:39:44 +0200 Message-Id: <20200605073953.19268-3-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- Cc: Paolo Bonzini v2: Cover accel/accel.c & accel/Makefile.objs (thuth) --- MAINTAINERS | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 948790b433..f725c12161 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -415,6 +415,17 @@ S: Supported F: target/i386/kvm.c F: scripts/kvm/vmxcap +Guest CPU Cores (other accelerators) +------------------------------------ +Overall +M: Richard Henderson +R: Paolo Bonzini +S: Maintained +F: include/sysemu/accel.h +F: accel/accel.c +F: accel/Makefile.objs +F: accel/stubs/Makefile.objs + X86 HVF CPUs M: Roman Bolshakov S: Maintained From patchwork Fri Jun 5 07:39:45 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: 11589175 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61C7F739 for ; Fri, 5 Jun 2020 07:45:54 +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 39C422075B for ; Fri, 5 Jun 2020 07:45:54 +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="RbxFvAMc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39C422075B 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:47830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh733-0004ug-8g for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:45:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xu-0002iP-HZ for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:34 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:41887 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 1jh6xt-000573-DY for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342832; 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=2ZFf7G8NXamXZhDqWtiyiSwxOIFrSXUEnseP+sLni2o=; b=RbxFvAMcEXtHgMNkXb0ZPnY3WmrXqOaschxyBphVQDZq/n2yHp3bjXfs9ujZX08WH7NZcf d8YmK712/cm8JccdSDw6ZhiEpNoGlR3CGZvVB18p92JoZ85TkxmZfumZ+i5ay9y/UvT3/D Ll7B0/+djNxT7TurysJYCKsr7+gvkLM= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-13-avlTOh2gMquZ0S3IpelQPQ-1; Fri, 05 Jun 2020 03:40:12 -0400 X-MC-Unique: avlTOh2gMquZ0S3IpelQPQ-1 Received: by mail-wr1-f69.google.com with SMTP id j16so3385937wre.22 for ; Fri, 05 Jun 2020 00:40:12 -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=2ZFf7G8NXamXZhDqWtiyiSwxOIFrSXUEnseP+sLni2o=; b=cWTsm6meGxf1bbzhYLqk61v6Ay+p8jjqicsWZReX0x98VKjQ21GoawrVZ8uxV8+fTd JNszYyQ53rSXG3R+eluLhU9vit3yy3K/4VrPf5H/JeejWfg/4d7s/cfilnPErGY/y3gi 91yCOEWC7WbAA/8kup9kZsa7rg9E7IVWxrR4kXUbHXIkwJXKC0QgjK4PV1u1QgrYVq4T 7RyZCSWKEVtKkHn4pFd6lMOvHWrYFdvvWiAJ3r6sxPU+f/NttAKgmQKW71B2nKbZ6Ugo HI8icgfS7fOVmOYC0Si4a7iPphQVQsV4iSgzi6Taq4RWSC3PeXtQdDE4bR9wYp7HZOlW eAlw== X-Gm-Message-State: AOAM531nokJs26kR+Ry5TfBIhDAmPK3E/07eDnbWv6c0xr0rMVQlMeWV JxLstlbP+QUlxPYKf+o1MN7EZh0TO7tn9fWGWYseUxEfdNhzbaIa9mU+TUe984JJCyr1Aq0e3Su ycVqgNrFxdO4w5Eo= X-Received: by 2002:a5d:4841:: with SMTP id n1mr8685733wrs.64.1591342811041; Fri, 05 Jun 2020 00:40:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY79KqdbaGk/M1MDzUlkuiyhcSXcNWg+5Zw0W11jjbsxSwnD89SDtmSjPg2+BJsQjAKS742w== X-Received: by 2002:a5d:4841:: with SMTP id n1mr8685709wrs.64.1591342810877; Fri, 05 Jun 2020 00:40:10 -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 v2sm11030246wrn.21.2020.06.05.00.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:10 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 03/11] MAINTAINERS: Add an entry for the HAX accelerator Date: Fri, 5 Jun 2020 09:39:45 +0200 Message-Id: <20200605073953.19268-4-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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: Vincent Palatin , Sergio Andres Gomez Del Real , Wenchao Wang , haxm-team@intel.com, Colin Xu , Yu Ning , Paolo Bonzini , Tao Wu , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 Signed-off-by: Philippe Mathieu-Daudé --- This patch has been posted 5 times, first time more than 2 months ago: https://www.mail-archive.com/qemu-devel@nongnu.org/msg689009.html Cc: Sergio Andres Gomez Del Real Cc: Vincent Palatin Cc: Yu Ning Cc: Tao Wu Cc: haxm-team@intel.com Cc: Colin Xu Cc: Wenchao Wang Invalid: Hang Yuan Invalid: David Chou --- 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 07:39: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: 11589165 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 689E8739 for ; Fri, 5 Jun 2020 07:43:23 +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 3F7B7207D5 for ; Fri, 5 Jun 2020 07:43:23 +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="VwdtgmSv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F7B7207D5 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:36310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh70c-0008LK-FR for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:43:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xg-00020d-Cr for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:20 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:28344 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 1jh6xf-00051y-JY for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342818; 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=EjTnugmHQF57SpUUQ7kXu5I8kuNEH9ZLUz5L6DRtXdw=; b=VwdtgmSvinurPQ1vO7ynui3DdeJH7qkwUvr9ac8nXlpZJONXph1UlG03zZZ++ROoqXBZ56 ufFvq/NXzXs5lbPMR5oNRMgTHSx6uaGS6zsCr7TUfY9xfHe5It5hDQBJqv//U0RYH8uL2d rQLnnswWaJN1vg5L5DbsYoN8/gycxdg= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-365-PSgsnAyRNqiukZkWh4NTRQ-1; Fri, 05 Jun 2020 03:40:17 -0400 X-MC-Unique: PSgsnAyRNqiukZkWh4NTRQ-1 Received: by mail-wr1-f69.google.com with SMTP id w16so3402793wru.18 for ; Fri, 05 Jun 2020 00:40:17 -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=EjTnugmHQF57SpUUQ7kXu5I8kuNEH9ZLUz5L6DRtXdw=; b=YtLy3dtJv0hcYhwro2CeQBGBw6fJlj22fx8Mj327MGheX5wcrCBa0Qr9yn6w3DVb0L KeFVWJc6n4jfHF0t1ADeRnam4fdOUU3xYRKifs8nUTwA99rIar3KoQALTVPFdzOU/PT/ DHJtvCIOVi6ADDAOHutoFvGqhCeH0By2CVYeOveFEnQbAyr9/kaQ2LaWgJ+oEqDUVQq9 OlIRs9RtcBi2kj/EFxQmKg6ufdGC9kEHQEsKdTT3sVnwNMToYOXoXKdWCOWXzZ89y88o QPqlSmuS0NEzAcv9suEUIjqAE1azZcN9gTRhjbY7dRUdolyG2UcYKGq9i232ul1f+aln pUfw== X-Gm-Message-State: AOAM533H1gKMn12WISuknviwX6DjBtzg8kVdYTr2CMqJly1Dt2F3+oyt 6bS/RK7lluuxqV5EBwYaskv3qGh+UCun1xEJ40ufiDn/d831DHzdWFUwIyajYSYTFHt32bB29Gq WTvlXhUO00PkYesc= X-Received: by 2002:a5d:62c2:: with SMTP id o2mr7933451wrv.51.1591342815900; Fri, 05 Jun 2020 00:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQayMquIzJxv5b4YMZdlMR4T7N8POT838zHVttlRHQBYEzZu3o5yMQsQn8FIrfhsMQW8Klvg== X-Received: by 2002:a5d:62c2:: with SMTP id o2mr7933431wrv.51.1591342815670; Fri, 05 Jun 2020 00:40:15 -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 j18sm11440178wrn.59.2020.06.05.00.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:15 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 04/11] rules.mak: Add strequal() and startwith() and rules Date: Fri, 5 Jun 2020 09:39:46 +0200 Message-Id: <20200605073953.19268-5-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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 , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Add a rule to test if two strings are equal, and another to test if a string starts with a substring, Signed-off-by: Philippe Mathieu-Daudé --- rules.mak | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rules.mak b/rules.mak index 694865b63e..ccc1c49604 100644 --- a/rules.mak +++ b/rules.mak @@ -191,6 +191,20 @@ ne = $(if $(subst $2,,$1)$(subst $1,,$2),y,n) isempty = $(if $1,n,y) notempty = $(if $1,y,n) +# strequal +# Usage: $(call strequal, str1, str2) +# +# This macro returns a string (TRUE) when @str1 and @str2 +# are equal, else returns the empty string (FALSE) +strequal = $(if $(subst $2,,$1)$(subst $1,,$2),,$1) + +# startwith +# Usage: $(call startwith, startstr, fullstr) +# +# This macro returns a string (TRUE) when @fullstr starts with +# @startstr, else returns the empty string (FALSE) +startwith = $(findstring :$1,:$2) + # Generate files with tracetool TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py From patchwork Fri Jun 5 07:39:47 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: 11589167 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C80BE739 for ; Fri, 5 Jun 2020 07:43:53 +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 9E663207D3 for ; Fri, 5 Jun 2020 07:43:53 +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="WLEyhzRM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E663207D3 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:39638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh716-0001Qs-Ty for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:43:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xn-0002Mk-Tc for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:27 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:36215 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 1jh6xn-00056F-0D for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342826; 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=VFGkz0p8Ozik1u5VT2fQxUZYeytpG6hcbiN9ZEF3zxA=; b=WLEyhzRMeLGDfqXXzaqaY5USTyPgUs9N1GxMk1tPwM+5BefD8HFEFLszi8HVyo5342L4ZO vWJCH9g8PEG2JDRmkU10CANIV1gMIwUnk/gagPNB3j844KIAe1NTGGhJ1ibYsOQNTBIa+8 CluF+3QS2f8M9AX3TNqGS4sZW/kAIsE= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-252-5werW9iVPiGc5zPQt0IUEA-1; Fri, 05 Jun 2020 03:40:22 -0400 X-MC-Unique: 5werW9iVPiGc5zPQt0IUEA-1 Received: by mail-wr1-f69.google.com with SMTP id l1so3408857wrc.8 for ; Fri, 05 Jun 2020 00:40:21 -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=VFGkz0p8Ozik1u5VT2fQxUZYeytpG6hcbiN9ZEF3zxA=; b=UrbxV8YP+V9omW56qWAfb6vB1Jdn4qFLjfXnwoeZQ9WaTWTDgP+xrWnWJokykHcHzN JN246MS8U50pi0YZ5vViYMKgSsoQGibmDqSZsTcEFNYyl6ZFKVAAxaSl2JML1qgtUsvA 3fr9wkoZ5oxJ5i6ypqhYKQXdysagd+xANEIdMzQRBbD2JlReybtCz9bvRbmh8XsoLVFQ FNCRdupQnWOCYq4lDW7ztrvLKcQ1GCdSEDZaRUuz2b9mE70PZj+1ZtOdgK6HLFWhFMe8 E4y4zSXpc20DRlfmvvxxrJZYWtt50GEJ1MXIe1hKRQSjtSpwJXcJK18a57DXybreI63r sQUw== X-Gm-Message-State: AOAM533L4xBjtvR4/0Sk7W5+f36Vi0sZDqgvRaKaAD6rJo7qm0gUsbHF VbMASltsH3nhCyBGQQENTcRibNjwR+ofiPZbs+OynO3bINevkKwb9nx6Ie6u4fG+4w6l8cYwCGa r+31AVDgOXh4fiGg= X-Received: by 2002:adf:8b55:: with SMTP id v21mr8608978wra.187.1591342820778; Fri, 05 Jun 2020 00:40:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN19mIF1iE06AjpBLrNf8TYxvvfAjsvWZfF2+UGLaRVmFFmTavxzcT1AozrLBvY7ca1KvWHg== X-Received: by 2002:adf:8b55:: with SMTP id v21mr8608965wra.187.1591342820560; Fri, 05 Jun 2020 00:40:20 -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 y80sm11319660wmc.34.2020.06.05.00.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:20 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 05/11] rules.mak: Add base-arch() rule Date: Fri, 5 Jun 2020 09:39:47 +0200 Message-Id: <20200605073953.19268-6-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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 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 , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Add a rule to return the base architecture for a QEMU target. The current list of TARGET_BASE_ARCH is: $ git grep TARGET_BASE_ARCH configure configure:7785:TARGET_BASE_ARCH="" configure:7795: TARGET_BASE_ARCH=i386 configure:7813: TARGET_BASE_ARCH=arm configure:7846: TARGET_BASE_ARCH=mips configure:7854: TARGET_BASE_ARCH=mips configure:7864: TARGET_BASE_ARCH=openrisc configure:7871: TARGET_BASE_ARCH=ppc configure:7879: TARGET_BASE_ARCH=ppc configure:7887: TARGET_BASE_ARCH=ppc configure:7894: TARGET_BASE_ARCH=riscv configure:7900: TARGET_BASE_ARCH=riscv configure:7920: TARGET_BASE_ARCH=sparc configure:7925: TARGET_BASE_ARCH=sparc The rule can be tested calling 'print-base-arch-$TARGET': $ make \ print-base-arch-openrisc \ print-base-arch-aarch64_be \ print-base-arch-x86_64 \ print-base-arch-mips64el \ print-base-arch-ppc64 \ print-base-arch-riscv64 openrisc=openrisc aarch64_be=arm x86_64=i386 mips64el=mips ppc64=ppc riscv64=riscv Signed-off-by: Philippe Mathieu-Daudé --- v5: - risc -> riscv (rth) - use strequal (rth) - add microblaze/sh4/xtensa v4: - use startwith() - fix openrisc (rth) --- rules.mak | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/rules.mak b/rules.mak index ccc1c49604..907f9aca91 100644 --- a/rules.mak +++ b/rules.mak @@ -452,3 +452,38 @@ atomic = $(eval $1: $(call sentinel,$1) ; @:) \ print-%: @echo '$*=$($*)' + +# base-arch +# Usage: $(call base-arch, target) +# +# @target: the target architecture. +# +# This macro will return the base architecture for a target. +# +# As example, $(call base-arch, aarch64) returns 'arm'. +base-arch = $(strip \ + $(if $(call startwith,aarch64,$1),arm,\ + $(if $(call startwith,arm,$1),arm,\ + $(if $(call startwith,microblaze,$1),microblaze,\ + $(if $(call startwith,mips,$1),mips,\ + $(if $(call startwith,ppc,$1),ppc,\ + $(if $(call startwith,riscv,$1),riscv,\ + $(if $(call startwith,sh4,$1),sh4,\ + $(if $(call startwith,sparc,$1),sparc,\ + $(if $(call startwith,xtensa,$1),xtensa,\ + $(if $(call strequal,x86_64,$1),i386,\ + $1\ + )\ + )\ + )\ + )\ + )\ + )\ + )\ + )\ + )\ + )\ + ) + +print-base-arch-%: + @echo '$*=$(call base-arch,$*)' From patchwork Fri Jun 5 07:39: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: 11589163 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BFF8F739 for ; Fri, 5 Jun 2020 07:42: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 959FD207D3 for ; Fri, 5 Jun 2020 07:42:59 +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="a++0Nec4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 959FD207D3 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:33590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh70E-0007Eb-QT for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:42:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xt-0002ec-9L for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:33 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:34404 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 1jh6xs-00056z-Dv for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342831; 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=ndqFgBanjliYTdRp8N1sk+p/cY4owVogsc0x0ibf8Jw=; b=a++0Nec46LIFbnUy3y+Vgw0/ehOAtAxxazQPtVHIEuDjV7kNbQEgZcra/0qK1dijKwHGpZ LAaRU20YuK36XKFHFwfFpMgKeiEwaGXd8Zyungh0iKJCrj6BL4O6AW4oxa+p2e+ZduIExV OVoxYTtdVRQqXoOjxavZOCIQQ62nUO8= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-160-GGS4JfEMO6aU9zj3KH_aNg-1; Fri, 05 Jun 2020 03:40:28 -0400 X-MC-Unique: GGS4JfEMO6aU9zj3KH_aNg-1 Received: by mail-wr1-f69.google.com with SMTP id m14so3410232wrj.12 for ; Fri, 05 Jun 2020 00:40:28 -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=ndqFgBanjliYTdRp8N1sk+p/cY4owVogsc0x0ibf8Jw=; b=rMy9QUf7oEpQMqrNmiLMkwq3VExsu+HxSZ4rzHFOnN41uq+9LW3Q2lzrh+b0cxnPNH GbqogxOG1f5zXK5ZlZy1+oQGaE9NOKTZcHMUpR/SHS8kuyOV9hg1WVUu9VTRte5hUzew 4VL3DA22eahPingK73SJPP1+/y+w4DCC+e8MonS6VUGfTq6XRDBJDj2ps3rhBLCOfeuS C2OXk8whxidkxG8hLbPJUCvqskVn5udHKfzh7GKmhWieiA5DpqGowTcmAxWMVSihpxvk fuVNMMgP5bPYgznPD2hYlC0z6PlZ5P048lndLs7Ex3yQ9H4S1Z8gbcRbYqZDMSl4OoBO BWbQ== X-Gm-Message-State: AOAM530FwdIvT73HCDXy1jjZHYYBUWZNRsxgkkvWJpLULEhjhJmj6V2x /xhz/gKZbIrd4Ue5/DIpo3RbmInp7oFLfqwgY7LQOWEacecPHopkhXgtfWSl6aqHK8hgCUziIuK o5sbhfcIEuYLRDCw= X-Received: by 2002:adf:fdcc:: with SMTP id i12mr8626785wrs.313.1591342827170; Fri, 05 Jun 2020 00:40:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnQ2AniyMVxZoYobHmqCK9ik0wtyDnTfYZyOcSebWnPvTrCUfuBSe9d8Ts/3F6dJJ10SYA6g== X-Received: by 2002:adf:fdcc:: with SMTP id i12mr8626766wrs.313.1591342826952; Fri, 05 Jun 2020 00:40:26 -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 c6sm11196967wro.92.2020.06.05.00.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:24 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 06/11] Makefile: Remove dangerous EOL trailing backslash Date: Fri, 5 Jun 2020 09:39:48 +0200 Message-Id: <20200605073953.19268-7-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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 , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Alistair Francis , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" One might get caught trying to understand unexpected Makefile behavior. Trailing backslash can help to split very long lines, but are rather dangerous when nothing follow. Preserve other developers debugging time by removing this one. Reviewed-by: Thomas Huth Reviewed-by: Alistair Francis Signed-off-by: Philippe Mathieu-Daudé --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 40e4f7677b..6c9d718b2c 100644 --- a/Makefile +++ b/Makefile @@ -420,7 +420,7 @@ MINIKCONF_ARGS = \ 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 \ +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") From patchwork Fri Jun 5 07:39:49 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: 11589171 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7A7AF739 for ; Fri, 5 Jun 2020 07:45:07 +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 5035F207D3 for ; Fri, 5 Jun 2020 07:45:07 +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="OugnNChD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5035F207D3 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:45090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh72I-0003hr-FB for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:45:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xw-0002oy-Lc for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:36 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:57766 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 1jh6xv-00057F-QE for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342835; 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=OugnNChDcM8wgNvGxnQKmNdJ1sKADzF/9jVkfDMciL2LIzjq/5xVXO8FkreKEsdxvkMEp7 nPO5ZLT15eIJxxsUAXHr//K4AQp39y8aXbcEXVD7rl/ChQBPl0GRKyF/BNmVgA1k+Ckx+f 32i+0WhkxfgnbczwbEb9WqGA2d2JrUE= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-276-DwXWdZY0P2miYzaQ0IlBWw-1; Fri, 05 Jun 2020 03:40:33 -0400 X-MC-Unique: DwXWdZY0P2miYzaQ0IlBWw-1 Received: by mail-wr1-f70.google.com with SMTP id s17so3398564wrt.7 for ; Fri, 05 Jun 2020 00:40:33 -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=NT0ielxDEEsMctfFi/E9VQ0HrZSBHvkvyxIIbPBC3edvoQQcr3BxHXkFtUp4hiQmZe MhrzeK/PN4srzf4T7TxIJM4SwqP64kgftJNGrXS74n2so6LcTnanHVa1XIXfLRRdTJLh zr5JKeo3Ywbvb67JoHoh+hUQdUM13EutHP4kph3CQt7jBSQxrO8ViBKHfhjte7Ek+7Fi t7BQ2eMSSf1hBYqPGJ/kAIlJ+x8GFAsXhEMscIiGs9fOTcRNQyyn7CD54fuSB83YOLpo BsIhu+sTEJS+/SlxVcds3jjZ3ZLldD2rG3pNoKOvEGvS1FOhMThg7XAzRvLQNUP+e4BQ 7Cdg== X-Gm-Message-State: AOAM5308+0F880o/rdgrl/Nn4K19fzThPMXWJ5EHnjIHtY+aGpXgIUe0 Kf1fKa2KINhvoajqmh5I4eTZA7FqAsl4pLGE/ZvG5hqBvTPyC0mx4Bght7Gk+6ziS3zaJJANeFV zx5ri0H8n30BW2es= X-Received: by 2002:a1c:a74f:: with SMTP id q76mr1412051wme.65.1591342832052; Fri, 05 Jun 2020 00:40:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7KKUv93hD9TfhvE/aBK2eR+wUxxJ7VNHpm6ivd4VdMPS6qSwW5MPAV68QZinWjD0eYsddBQ== X-Received: by 2002:a1c:a74f:: with SMTP id q76mr1412038wme.65.1591342831885; Fri, 05 Jun 2020 00:40:31 -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 g187sm10610557wma.17.2020.06.05.00.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:31 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 07/11] Makefile: Write MINIKCONF variables as one entry per line Date: Fri, 5 Jun 2020 09:39:49 +0200 Message-Id: <20200605073953.19268-8-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 07:39:50 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: 11589183 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E153D739 for ; Fri, 5 Jun 2020 07:47:52 +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 B7EE52074B for ; Fri, 5 Jun 2020 07:47:52 +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="CDQc7gTr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7EE52074B 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:54308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh74x-0007oL-UX for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:47:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6y1-00032H-Nj for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:41 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:58717 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 1jh6y0-00058Y-Qv for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342839; 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=CDQc7gTrHuL54QHECOKVCKSmdDbA7e106Z64uV8VjZOMsKRIs40d6MAyP5h+TJflVcZmVT 5W7UAuR+J61tK7ehTMm8w4fydVLd2eduvRdEEZmW/WY+1ibkfOTMSgNeEeY1PCZacNDEy7 BlBaxWik9gQJVI2Y6nsvIsQ6Ocwvea8= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-231-zSfz03o1OyGScSgTPx3XNw-1; Fri, 05 Jun 2020 03:40:38 -0400 X-MC-Unique: zSfz03o1OyGScSgTPx3XNw-1 Received: by mail-wr1-f71.google.com with SMTP id p9so3420883wrx.10 for ; Fri, 05 Jun 2020 00:40:38 -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=qwOAVotDZbhM0AoVxyHxV5KFWjqUmfwX1iK13WE+Sd1wzv7MkqqWvM5CydK0J/HB5F GcDAtwrJdc7agnjarCVa9i3DRa6ZBTiaowkoB0TgU2i07i0/Yq4chJyo5FrtwijnTTzv zJwo1jWRPLWgRlaYO53KCDhDjJ9g6T/Bhuys8UDy9cjzm/LXUGS1su+f82eIDzd7hoPM 33ECwJBGL4V6Na4+dSotLYalxF+yqmMYnuoTQOSbi+/bHcyweFgeLx7OU56v4erQQz/x tcRtndprapQrgBSEZzbcadFn9GYD9cfP+hqMIFR2KD9PY3w3CbhJmkbJnZ6YmEuSi0GL G6Mw== X-Gm-Message-State: AOAM532bKyT3HD/Dnt+GGyWixpe959W4MT2BEmoP/QcxaO8zfN6seX03 9RnvrDCrAquvSQIrRkMcqK2upZ7xX3+TbgSkGPdRkY8Ce/ivLZ27GpZJx3znHWJZlX1gl9LfC42 9IpagpYGjX8gGeCk= X-Received: by 2002:a1c:a74f:: with SMTP id q76mr1412397wme.65.1591342836857; Fri, 05 Jun 2020 00:40:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfUrs2KZXL45kreaYsmDIhq1t2BwXRgN2BeOTFM6FLpvFE6/m597JKkDyTQG3u+UIPuqD2ng== X-Received: by 2002:a1c:a74f:: with SMTP id q76mr1412380wme.65.1591342836702; Fri, 05 Jun 2020 00:40:36 -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 g82sm10314835wmf.1.2020.06.05.00.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:36 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 08/11] accel/Kconfig: Extract accel selectors into their own config Date: Fri, 5 Jun 2020 09:39:50 +0200 Message-Id: <20200605073953.19268-9-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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 , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 07:39:51 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: 11589177 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD1F91391 for ; Fri, 5 Jun 2020 07:46:51 +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 A40892074B for ; Fri, 5 Jun 2020 07:46:51 +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="JKAEfxe4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A40892074B 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:49480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh73y-0005cj-Tz for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:46:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6y7-0003Hz-Oj for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:47 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:40786 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 1jh6y6-0005C2-Qa for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342846; 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=JKAEfxe40SlHceXvK44FlN9MClUw7ALfztW8DK5fHbxTbY1cR02NVuEIiQbJ07MkORRkf0 1RHQhFxgvVPHhGg3KH+9iE/pXpRnQ6qX9upX4IhvkZteCDIcU/gcIj5PQxepNVGUAZSczm YxZAa3M4DIRAbuqYSe7/5BJ3Iof6YoM= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-192-8Wsw9RmcNbCWT5RmnNM0dw-1; Fri, 05 Jun 2020 03:40:43 -0400 X-MC-Unique: 8Wsw9RmcNbCWT5RmnNM0dw-1 Received: by mail-wr1-f69.google.com with SMTP id n6so3424562wrv.6 for ; Fri, 05 Jun 2020 00:40:42 -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=t2jX0YeTy8N3D1tWq6vBCSK0/XWEnI9VIbBiUqCf15SFDLsFFN3RywUxns5yFTApa8 A5qaed3ZUIzHY1RpstwexEQD1tToH1PbuNc4+aqQjsIOVQV091G3V6kg1VQ4x8+ti/Jf PEhE86eMN3A0K7s+audKqaxMTEDT3vjqQXnUf14vq1pItUROuSq9CltzXcPi4Up7LFuS kJTK3K5KOoHiaSmvGUkPncl5Wvh5C4Qd6fOZ7WIEvIX3/a6mUrQVKMBC6rDOolA7rpb4 RTQBQY9f0e9Kuk5L+J+2gvDFpbuMWk8yaC85UBprjgcRhf387ciO7X1H6NRgBxIb8xLY ZEPw== X-Gm-Message-State: AOAM530Yk/kR5pMkJKXOwmTJszxD7xoqOHBSmWYoYt85NpgrxUzUO2iV BLzei3+ytBYqMCV8NYXv6RQQ6qrm/WkB663cFv17ak9p6QlNi9E+c1T0nVzZXwfh85izp1yGtxf qpS2h1RIV9Ppj6SA= X-Received: by 2002:a7b:cf02:: with SMTP id l2mr1335590wmg.136.1591342841731; Fri, 05 Jun 2020 00:40:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjosdXqbB2lWnipFcjRUCbc87BLwgWAHuj6sTXVx4p7rZLvJ7kx3n0AMivynx5Fap9NO1VJg== X-Received: by 2002:a7b:cf02:: with SMTP id l2mr1335576wmg.136.1591342841568; Fri, 05 Jun 2020 00:40:41 -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 j5sm10889370wrq.39.2020.06.05.00.40.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:41 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 09/11] accel/Kconfig: Add the TCG selector Date: Fri, 5 Jun 2020 09:39:51 +0200 Message-Id: <20200605073953.19268-10-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 07:39: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: 11589179 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8885739 for ; Fri, 5 Jun 2020 07:47: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 8F6452074B for ; Fri, 5 Jun 2020 07:47: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="arxrnS/A" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F6452074B 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:51866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh74Q-0006by-QY for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:47:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6yB-0003Qp-5H for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:51 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:51801 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 1jh6yA-0005EN-6B for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342849; 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=KqNAKdeyZY4N/WN8/VheKglAqudMynHtJmA2N/wtx2U=; b=arxrnS/AmWArS249CqkaK6W0gv68addUxfIHlJRI0Bfdp4P1Rtyhk3YKawTJghN7kp8UyO q8dNkVABXPjRhxpwSWa5E1SXKwa34beeeEaIoA1zmuBoEUOKqnOr8SRsy2YOhtUA0ikm5m LzMlSwb6G1hEt33YJNA+e4h8s8LW21g= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-zTfEUMX8O9Olr_g7vv4idg-1; Fri, 05 Jun 2020 03:40:47 -0400 X-MC-Unique: zTfEUMX8O9Olr_g7vv4idg-1 Received: by mail-wr1-f72.google.com with SMTP id s17so3398763wrt.7 for ; Fri, 05 Jun 2020 00:40:47 -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=KqNAKdeyZY4N/WN8/VheKglAqudMynHtJmA2N/wtx2U=; b=BB1BDKJcRt9XPeZJSp2HM6cU3eN0vDfOPRXn3itLng2jL7UXXRWeBrvp8t0yMzdmzg 7/Af5Vt+9kaunLoZnv42V2kfLfvXQRPtM3/X2zU7U6KhVl7MKFYoJW/vpFIQMuVTfSIk Tua5cxFIK84CnJaeaeUbAAAoF4ni4Sw49fXZ1Ksi6LDxf+TBm6khWpp0G1PJmAZ0MEC2 z+xW4Tbjm04W/TXXpvExLr5Z5QYEvC2EffrZsAMxWsDnuheMUaflhORL3RZS7oQKcjw6 R9HS0CsCBbNt60t8SnuRJX0phcZNrVGFihVelgz6x+/aByBRe7MjeU+svQCuapSenw1u 2tIw== X-Gm-Message-State: AOAM533PwiiQ8WtON5sYmkr3HvxKFoZ/0ijD/yd8x44f0fplqyzWUI6p VLzdqs2yHiIqaJh5qexaMgMTR7xRWTqLTQJiaR9KRfbIuqO7ERpnTZVLQiMRMr5EepT4Q12HFVc kMlrjM6hP4ESSwmY= X-Received: by 2002:a7b:c842:: with SMTP id c2mr27529wml.58.1591342846477; Fri, 05 Jun 2020 00:40:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0HRocjeSwSn7JzlVT6ou2ScHm3/32razeRE7rw5nIck+u3lCHOiC5h4pGswBU9NBPjqY38g== X-Received: by 2002:a7b:c842:: with SMTP id c2mr27515wml.58.1591342846310; Fri, 05 Jun 2020 00:40:46 -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 t188sm5444384wmt.27.2020.06.05.00.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:45 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 10/11] Makefile: Allow target-specific optional Kconfig Date: Fri, 5 Jun 2020 09:39:52 +0200 Message-Id: <20200605073953.19268-11-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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 , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Allow use of target-specific Kconfig file. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- v3: Use base-arch() to include TARGET_BASE_ARCH/Kconfig --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f8a45e1379..d5009cd304 100644 --- a/Makefile +++ b/Makefile @@ -423,11 +423,13 @@ MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host \ $(SRC_PATH)/accel/Kconfig \ $(SRC_PATH)/hw/Kconfig MINIKCONF_DEPS = $(MINIKCONF_INPUTS) \ - $(wildcard $(SRC_PATH)/hw/*/Kconfig) + $(wildcard $(SRC_PATH)/hw/*/Kconfig) \ + $(wildcard $(SRC_PATH)/target/*/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) \ + $(wildcard $(SRC_PATH)/target/$(call base-arch, $(firstword $(subst -, ,$@)))/Kconfig) \ > $@.tmp, "GEN", "$@.tmp") $(call quiet-command, if test -f $@; then \ if cmp -s $@.old $@; then \ From patchwork Fri Jun 5 07:39: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: 11589185 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 509D21391 for ; Fri, 5 Jun 2020 07:49:14 +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 248222074B for ; Fri, 5 Jun 2020 07:49:14 +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="D9bCcvd7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 248222074B 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:59166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh76H-0001Nb-EL for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 03:49:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6yG-0003eP-Jk for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:56 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:48994 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 1jh6yE-0005Hg-TK for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342854; 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=gy7eiStux+gIOMgnul3BY8RTTpwPoXMNvRdb9ailA+g=; b=D9bCcvd7F5Ebyrfw+m0/TlHwph/7OWsTef1gKx8o1dz2r9W78tBoZ1nMb1pVtBJbo8x/9K +PquG2lwF3RGrYQap+49TDQXSNnxdgp/t5Pk2GdQWOTngIycNjTxC4fi30Vf3YoEN2+ooh OdsXVaF4uks0TMnBz7thCV8vztulfMU= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-433-o6ze86IoO_-V0AQZKdmGKQ-1; Fri, 05 Jun 2020 03:40:52 -0400 X-MC-Unique: o6ze86IoO_-V0AQZKdmGKQ-1 Received: by mail-wr1-f72.google.com with SMTP id m14so3410582wrj.12 for ; Fri, 05 Jun 2020 00:40:52 -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=gy7eiStux+gIOMgnul3BY8RTTpwPoXMNvRdb9ailA+g=; b=OJ8AiFcuyznjIsvhxqzukF4fL37SD+qaLlad1BWMtdrXmlqAoFMsaOvbFYguxOXlHu YHz55e0hDVjY9gPtNABBbNCAHEVRmcoU5fi0W2/IPVXAfmHcCc1EVjP1c6E/u1T/3k5Q o8bEO/DiTmlllx5aLpJDhXY6udyzwJvbV2jQ5a2Ic4WY+77HQ44empJN6vYjzhMgFpul sJsRebVT/WwrVHsqvFmcd97BMtzITQ+XVty2OgrD+2Ed2qDdelttLoOkb8WuMQ2B6vUP UPr2jeYwlnUsKseULQ3Bifx5zph1V2aUS7kQTveSrri7VnS5GupMnH0Tck5Lzu25LO8D 4q3w== X-Gm-Message-State: AOAM532eWkDPG7/gwfsWkluszKxiQoBZXAgTjmZH6ul+fMFB6rg1XUr0 emHNq4Whvf1SWv2Ytml/lAajIPSeVXEWSIhAQcaUiK8MH7v/46DxSdQP+GJvffzTduHkAs2zCXx OYF2nQ12wIXbcmFc= X-Received: by 2002:adf:e3c4:: with SMTP id k4mr8054282wrm.262.1591342851289; Fri, 05 Jun 2020 00:40:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhNHgKitGBEaORWIjUtZXjF0vLIf/Pqv+AR+EmOw8gATOrlbfL+tKOnxRUOTDs5P2VLBCXqw== X-Received: by 2002:adf:e3c4:: with SMTP id k4mr8054263wrm.262.1591342851084; Fri, 05 Jun 2020 00:40:51 -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 l2sm10814021wru.58.2020.06.05.00.40.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:50 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 11/11] accel/tcg: Add stub for probe_access() Date: Fri, 5 Jun 2020 09:39:53 +0200 Message-Id: <20200605073953.19268-12-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-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.81; 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:40:54 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: David Hildenbrand , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , "Emilio G . Cota" , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: David Hildenbrand --- Cc: Richard Henderson Cc: Emilio G. Cota Cc: Alex Bennée Cc: David Hildenbrand --- 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(); +}