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: 11589261 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 89BE8138C for ; Fri, 5 Jun 2020 09:34:06 +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 5FC3720772 for ; Fri, 5 Jun 2020 09:34:06 +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 5FC3720772 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]:42946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8jl-0001Uh-Jb for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:34:05 -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_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é Reviewed-by: Alex Bennée --- 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: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: 11589267 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 0A899175A for ; Fri, 5 Jun 2020 09:35:39 +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 D44B820659 for ; Fri, 5 Jun 2020 09:35:38 +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="iZUn6WAL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D44B820659 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]:51094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8lG-0004sl-5a for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:35:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8iy-0000Cc-FC for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:16 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:39261 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 1jh8iv-0004Xc-Dw for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349591; 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=CtJmtocw2IGT4rTQV0Vyr4ITlgqv00JqAGkfWOLTkcE=; b=iZUn6WALDfDQqF/E4A8qtk1vFPb0OznS71MIMnjhS5Zlfr2x0MSn9k8kwv+V6OngUT5xHM tknjvS7brZBnc+vFl3hY+a4LGMfKPUeex/v5mRsEpjQiA+mBCoZgv4QDx4j2TEd3g49oHm vrCtXLDZLdlSIRctzQ08t+wuzsYgNNw= 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-204-S9niCFrVN-CJDZauokyJng-1; Fri, 05 Jun 2020 05:33:10 -0400 X-MC-Unique: S9niCFrVN-CJDZauokyJng-1 Received: by mail-wr1-f69.google.com with SMTP id p9so3548896wrx.10 for ; Fri, 05 Jun 2020 02:33:10 -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=CtJmtocw2IGT4rTQV0Vyr4ITlgqv00JqAGkfWOLTkcE=; b=A6sInjcPagOcbxaz65GDIoXjWzsPSVHfH7M68zw7HWza2RsSppKE7aMMvKaDIJPDCU awSIz/vUtoqx/MbS7OUwQH5/rPIoypysYdK8n6/BwRvKRcI2vu2S5PqZFiWfOH4m6IEM bxX3fT+4L+aVdS/Iei6xWJckWY19ctcQ5y0vYJi2UkVf9ue8Jqqkc7GQ+2VYpJ+easaq OAjGWQrPSRXDDNVCsQm9laadpKSvCUEt4SZRlfoPEVHwggU/B1ZLlsuu1ZEwkDgSrdWF uOXx1zFF6roR0sT58GBKw6vES4G2km4mBiIuCxW8ONQd4RET+MnoDQhnbQPWIyAR51oM CXqw== X-Gm-Message-State: AOAM533dBNV4VITtS3rAMIp+Avnhj3PY4KRbvhcVlRj81QEAZxX4Zds3 ypRPvbtXr6Xbtyc+LJFCZUDysx2GwLCQ2N/Pho464XV4jcmqbO83mryxrUmIWl+BMqu5LRJQK82 Ki2/MKr74b1ZjagU= X-Received: by 2002:a7b:cf2c:: with SMTP id m12mr1794721wmg.70.1591349588862; Fri, 05 Jun 2020 02:33:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7iLxkBzPVNd33bFFnWd0f4bypfCQExIyvSVVyGFSR/naaktqxe0dXQib+TWA0Ix+rZPU+5g== X-Received: by 2002:a7b:cf2c:: with SMTP id m12mr1794705wmg.70.1591349588631; Fri, 05 Jun 2020 02:33:08 -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 a1sm11004865wmd.28.2020.06.05.02.33.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:08 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 02/11] MAINTAINERS: Add an 'overall' entry for accelerators Date: Fri, 5 Jun 2020 11:32:47 +0200 Message-Id: <20200605093256.30351-3-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_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é Reviewed-by: Alex Bennée --- 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 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: 11589275 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 987E2618 for ; Fri, 5 Jun 2020 09:35:48 +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 6F42F206A2 for ; Fri, 5 Jun 2020 09:35:48 +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 6F42F206A2 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]:51362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8lP-0004zn-Oj for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:35:47 -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=C3=A9?= , Tao Wu 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 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é 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: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: 11589263 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 898F990 for ; Fri, 5 Jun 2020 09:34:11 +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 601AE20772 for ; Fri, 5 Jun 2020 09:34:11 +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="PRFdofBQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 601AE20772 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]:43434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8jq-0001gX-KN for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:34:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8j5-0000Iq-QT for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:23 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:30972 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 1jh8j3-0004Zo-SN for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349601; 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=OHk2hvp/I3N6csdyclibeQLQrPIWchtpAoc6xxVu9kE=; b=PRFdofBQSKqTNSM/IlUlpMgdHpsWOVWdTNzD/hGdEA12fVpdpSzgrPFmv0XDS2VDiLA2M9 D9tI6nj2NWvJZba7aw5gVJc/WuHkRnayGEN9TuSsgb6fvfBG7h5IpfBhKZZEdZ8fdKwpXA htdYdJX8tFmBideKFFPLKg5vzp9BIwQ= 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-188-yTl2zcJXO7OhPLfwIF01vA-1; Fri, 05 Jun 2020 05:33:19 -0400 X-MC-Unique: yTl2zcJXO7OhPLfwIF01vA-1 Received: by mail-wr1-f72.google.com with SMTP id p10so3549545wrn.19 for ; Fri, 05 Jun 2020 02:33:19 -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=OHk2hvp/I3N6csdyclibeQLQrPIWchtpAoc6xxVu9kE=; b=GQnnt0OZCJO1D8VyoG0XF+xX5i7UvduIEvDY0Xeg+waBthaR2YYQyRGnfIXt6CeP3J N3Vs4YeQ58o2UQRhJhf3dC2hHOhwD0K0JLLmeROeGZ7wjLYui9BMNa/9/yXqN4vP/KsN Fc3KDB6Ixg3fVv6pVurJ9XPUKYO+1XzQ8vqKWtubKvZwP25Z8UL1rZGpbNR47EL89Fm7 6ZZPCnwGFyhHTCY6mEVuIBErn4QOc4hmaSbG4GQIvEyM0e+pvT5g7YAQBJUqTuw05XiH jyLE7ofVJcbhjtI7EKm75RASQ9EFFK+gRZw5DGrJ473EoipoBX0f278BXM/hz0b7Bd32 gOMA== X-Gm-Message-State: AOAM530EpUwX+w79OpHhijYQNcO4cabazIwKEEP0zEVFFd0ZfHN5Vhl3 gZF2mZhp3K6viNvX9eFgeX9kNKR7HYahFw4+64QwGUwswEJZOkvjoLvjrirXRVlLrNdN/DUkg+1 nk82N6D0xr3iOjHs= X-Received: by 2002:adf:fd48:: with SMTP id h8mr9361318wrs.226.1591349598410; Fri, 05 Jun 2020 02:33:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhA+hB3tn5MvRWc0RXkdkrTUtZ0V2j0/aeJ9SZgZdV7BssyWou47DhB2XozOHOtLS9DZuEJw== X-Received: by 2002:adf:fd48:: with SMTP id h8mr9361309wrs.226.1591349598212; Fri, 05 Jun 2020 02:33:18 -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 i3sm11548685wrm.83.2020.06.05.02.33.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:17 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 04/11] rules.mak: Add strequal() and startwith() rules Date: Fri, 5 Jun 2020 11:32:49 +0200 Message-Id: <20200605093256.30351-5-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 , =?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 09:32: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: 11589277 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 47021159A for ; Fri, 5 Jun 2020 09:35: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 1D97F206A2 for ; Fri, 5 Jun 2020 09:35: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="TAhNO+iW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1D97F206A2 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]:51764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8lU-0005AN-DW for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:35:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8j9-0000Qm-T2 for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:27 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:60739 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 1jh8j8-0004aW-QH for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349606; 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=RNsloOXx+ZPFLkxXkn6jKW9LNpB7+wkZVTwvjxmYgbY=; b=TAhNO+iWTWJofIK+FTRhd/8SEIpwmfv+ns7bd/PVaMjJPQRUsxzdUrMUqdmWwbBJR9QR3r VS+7XsFGIBPgn2uCeSNG451iLMLbIBCW4agngI2PfDbqpIY6mJouQ37mp33hdi3U8AIv1O 7adHwhrwqbxjkeo6yHJ5V7qCTwr2hx4= 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-195-T1iz8TeoPhmh0TNetZS-nA-1; Fri, 05 Jun 2020 05:33:24 -0400 X-MC-Unique: T1iz8TeoPhmh0TNetZS-nA-1 Received: by mail-wr1-f72.google.com with SMTP id p10so3549642wrn.19 for ; Fri, 05 Jun 2020 02:33:24 -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=RNsloOXx+ZPFLkxXkn6jKW9LNpB7+wkZVTwvjxmYgbY=; b=Idjr+zmxop7RflDo4Z/GWB6/TqiigRV/g83tuQ6KAnPlKv37vjW7CUFRgTFoMEaUkB T4+9xsgu6cQ908FI/L9ysjWozp2kuxH6GElXLjLfmhlyLqeyabu6xdffxIDwuFUtUqVT DEFFNe0hMyC/rexhP/ZL703iwrWJrkZgI1/GXACaVG1chlS1pxrPrqAgoGBT5Mz0yRKn nDFz0ShsR0nJqiqLzoDxBIVkN1rnus+EHxOPG4Jl8rd9+RdBuBmYXNipzkY9PTAdaB+D ehLhJk2t4DxZZ/Ap4bu97aob7YjWNRpWjtaEHcood7xJMFFZwW18rDxfR1UtEeKKl1oE FvUg== X-Gm-Message-State: AOAM531/oPbyFNCi5YnVPmTaVBlMA1V46B4C5B/NouXDzdQIRMMDjKY9 Julad34zEqb3zhacaRsgxwJBU3H4kgj6WoZZF8Q5K+Ao4bpLAdulwN2J0dgNiQ689aXe+M0u6MM cm+8o1ty2537O/eI= X-Received: by 2002:a5d:6944:: with SMTP id r4mr8486413wrw.169.1591349603233; Fri, 05 Jun 2020 02:33:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjsPk+rlqQW/VnXkeauOZFbxWxwVuEYACRvUPsj6B/watwjDI+Zc3M4ChYQbDuCgy6AMLbvA== X-Received: by 2002:a5d:6944:: with SMTP id r4mr8486396wrw.169.1591349602985; Fri, 05 Jun 2020 02:33:22 -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 l17sm10724745wmi.16.2020.06.05.02.33.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:22 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 05/11] rules.mak: Add base-arch() rule Date: Fri, 5 Jun 2020 11:32:50 +0200 Message-Id: <20200605093256.30351-6-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.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 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é --- 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 09:32: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: 11589279 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 39412913 for ; Fri, 5 Jun 2020 09:37:00 +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 0FC2C206A2 for ; Fri, 5 Jun 2020 09:37:00 +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="bCNeKht0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0FC2C206A2 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]:57728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8mZ-0007aL-AJ for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:36:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8jG-0000ae-Fq for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:34 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:41649 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 1jh8jF-0004av-ON for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349613; 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=bCNeKht01M4jkMdUwRVCxPok2YyYghIeOismE9l/38pA2bTYsrzROYAQzIZnY2tzdb562s /4t3dkhi7p6ZXLLUdlkBJv/+Qkc5cHEr+XRLl5wzH/QRtExYA5TO4xVzbrPfdSnDIvniHN WdVEyKK4AZM/K9JQ8gor+sfhC+lgQYs= 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-244-ZsZS2OoWOK6xKyHaxzYAJA-1; Fri, 05 Jun 2020 05:33:30 -0400 X-MC-Unique: ZsZS2OoWOK6xKyHaxzYAJA-1 Received: by mail-wr1-f70.google.com with SMTP id a4so3542692wrp.5 for ; Fri, 05 Jun 2020 02:33:29 -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=iNm9ZxRZoz888uqauaLhb9+0PJjSxFf1xEhH7ctb5ZUqVjMo3mbnPiComzYPmZCzDo +buzvV08dJ4QDQOaOnTDJ/5Y2ozl1N/pkq7C04tanf/a3tyX3A7CullF52XrIJ17fb/1 rKdGCC4FIGtvJ90GDW+UJ74AWVzVjSIUyd0FykPxRhZN8e4XSsXI0HFzzBBJ57iG/ZtW 02o2mfGwp+JVA94E24qrvze3+nW1MpPHq9Q6jf/ynVTZOgLSla3zMjRGIcbWmPc3UoPn 3BpLSJh4XdBVqkf9A3qCWIuJ0Vu2Z06IxCAA0PJXFJF0d2kwMSLlRY1WyUcIb/FG35m3 gUOA== X-Gm-Message-State: AOAM531ZWvC7COHNTSwZf6yES23GnqU9Zq/A7+4CONYv7iRDCD4ba4wE gCp+6+UTRWZIKS/i0kOZlShooosdPr4c+gF5xZV3DH6iPwanGRRghdZWJs0PeG8YZzkvrW5kYM5 oABfoCrzzEVgrmeY= X-Received: by 2002:a7b:c11a:: with SMTP id w26mr1770999wmi.0.1591349608365; Fri, 05 Jun 2020 02:33:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4TzGH0T5JReVg5d+u3CHLUfwMKnudHkNNvvoTkxKjqB4Fw7sddmTy6J2l+0Hg9RSoR6YfHA== X-Received: by 2002:a7b:c11a:: with SMTP id w26mr1770981wmi.0.1591349608191; Fri, 05 Jun 2020 02:33:28 -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 a16sm11671984wrx.8.2020.06.05.02.33.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 06/11] Makefile: Remove dangerous EOL trailing backslash Date: Fri, 5 Jun 2020 11:32:51 +0200 Message-Id: <20200605093256.30351-7-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 , 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é Reviewed-by: Alex Bennée --- 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 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: 11589283 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 855FB618 for ; Fri, 5 Jun 2020 09:38:10 +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 57463206A2 for ; Fri, 5 Jun 2020 09:38:10 +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 57463206A2 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]:35990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8nh-0001yc-GB for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:38:09 -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_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é Reviewed-by: Alex Bennée --- 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: 11589285 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 84966618 for ; Fri, 5 Jun 2020 09:40:11 +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 19F19207D5 for ; Fri, 5 Jun 2020 09:40:11 +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 19F19207D5 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]:41080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8pe-0004HP-4n for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:40:10 -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_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é Reviewed-by: Alex Bennée --- 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: 11589281 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 5FFA8618 for ; Fri, 5 Jun 2020 09:37:05 +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 354F4206A2 for ; Fri, 5 Jun 2020 09:37:05 +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 354F4206A2 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]:58198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8me-0007m2-Gl for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:37:04 -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_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é Reviewed-by: Alex Bennée --- 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:55 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: 11589287 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 A630E913 for ; Fri, 5 Jun 2020 09:41:47 +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 7ACA1206A2 for ; Fri, 5 Jun 2020 09:41:47 +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="JaBEnq2k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7ACA1206A2 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]:44898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8rC-0005wO-QE for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:41:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh8jY-00012r-T9 for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:52 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:28610 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 1jh8jY-0004bv-2k for qemu-devel@nongnu.org; Fri, 05 Jun 2020 05:33:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591349631; 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=WgLubjKz8VmCZqpELU1JLw/uHIcEFx15X1H+hmJK3kA=; b=JaBEnq2k4j6isJxgluZfkvyv3fDGFss281Aw/8pxHzAl8vqdxPCTvFzXm2VySKGEYQNxTJ UlF2aFR+nJJKH3KVRhFuW9NBq+JfxA3b7n9fRFH4drlhQ+XfHPGBHrXUgC2R5pMShBVTcX bwnECPTuIp7j2OrmUFJS/DKXZATILdY= 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-385-jvwNTn4jM5mF9gsg4yFLbg-1; Fri, 05 Jun 2020 05:33:49 -0400 X-MC-Unique: jvwNTn4jM5mF9gsg4yFLbg-1 Received: by mail-wm1-f70.google.com with SMTP id v23so2813717wmj.0 for ; Fri, 05 Jun 2020 02:33:49 -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=WgLubjKz8VmCZqpELU1JLw/uHIcEFx15X1H+hmJK3kA=; b=os+saMzxbmc866TfC+VrFoPyDYzWiVA6FZzm8XRsf8dZKNnBPur6SktrMZq0mitlc3 G31F33CvgRs7lXl8vUYr4I9xn60XPUEE9pszWdVDMHu+vWc4ezNuxLuljSEwBSX5I2xz c66UuOwTrJw4ypu77K1WhoWH3Yma6c1daPqEC5Bo4vjFg0VWl8dmLx3I8ctAMz9rnl5l KYoyOJ7MvtSIR1rksCGknU6PnSN+aNiAcC7eiL6GWGmdB7CsCl74HzfKTTX5nQfai+Et nQ12zGqUYOHHTRFNITva88X+6PKSwpUqsjugddRDqV2Wed5wQHqPSw+hSFHZ7IpfALXs OM8Q== X-Gm-Message-State: AOAM532tFtvUgmVWKSvrR1jGI2nSi2vSDp4DX/FYljxFCYO0kT2s9qsO BTLzSifuc4r98FdmkXGHqAUJuU5/U/TYD4fTPf9LEcanesCN2ZNMGzBbQAXXQgCyT0/94etkUdB JlfVqdXzthw11zI0= X-Received: by 2002:a1c:a906:: with SMTP id s6mr1856536wme.171.1591349628448; Fri, 05 Jun 2020 02:33:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8NToajb5p/dbh8mTE8uAeECQaMD6Q1yBArulcleGUFj0q3JxbGCpyyru6exvdesFrASiD3A== X-Received: by 2002:a1c:a906:: with SMTP id s6mr1856523wme.171.1591349628253; Fri, 05 Jun 2020 02:33:48 -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 r5sm11890215wrq.0.2020.06.05.02.33.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 02:33:47 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v6 10/11] Makefile: Allow target-specific optional Kconfig Date: Fri, 5 Jun 2020 11:32:55 +0200 Message-Id: <20200605093256.30351-11-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 , 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é Reviewed-by: Alex Bennée --- 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 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: 11589265 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 68E21138C for ; Fri, 5 Jun 2020 09:34: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 3FB6220772 for ; Fri, 5 Jun 2020 09:34: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="P2MSNl6i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3FB6220772 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]:46456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh8kV-0002us-Gs for patchwork-qemu-devel@patchwork.kernel.org; Fri, 05 Jun 2020 05:34:51 -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_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" 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é Reviewed-by: Alex Bennée --- 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(); +}