From patchwork Fri May 15 17:07: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: 1291505 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RFyCVLbq; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49NvyT0l2Pz9sTM for ; Sat, 16 May 2020 03:09:05 +1000 (AEST) Received: from localhost ([::1]:47132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdpW-0007sl-MW for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:09:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdoq-0007DD-PI for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:20 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:55937 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 1jZdom-0002sg-S9 for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562495; 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=1LWNrIr5sPkmnUIPfYOIlIROnAtcVQlofpnnefmhg9k=; b=RFyCVLbqlZkQeDOd3tc5rnSt1k486o35iBuDbBj+LBwdCRF7n4KFesisEiAClrSjclkX8D oKbR8bGFBTLG0jz9+gkKMxBV4L+jecYS8wZlIUEZHWtIj0Dzar91/TFHrNdVOybrgqKktb iVfKGhIIAhQ2J3eRIS7SNMn/SExwIV8= 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-132-8axsCJQUO1i9GW9EmpTDmg-1; Fri, 15 May 2020 13:08:14 -0400 X-MC-Unique: 8axsCJQUO1i9GW9EmpTDmg-1 Received: by mail-wm1-f70.google.com with SMTP id t23so1265249wmi.2 for ; Fri, 15 May 2020 10:08: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=1LWNrIr5sPkmnUIPfYOIlIROnAtcVQlofpnnefmhg9k=; b=m+n0O2ngLn+fETWy/3jBVAQ2Wd0VN0O0QRuvpb+z/2g6+6rbM/9shhIVEyeOtrMg/v 2/4GZ/Kubx2TfIsJ5jGp6ceWytZXObk2XJuW9iu27ns7wLNdzmLOlMnJvxoWuAu8bgaW DC4eBZaXqAqj7ZqCSB887T6/sCegQwycg+hdOuQj2IVUEbs9P6EuVj4oBZm3PQHg+Cso U9pjsz395wubgzaQOnZBXjgljBiB3oRW1aSP08LslEWvVaVHniRjnEZ1NbmfVZ7EXw8b WwW663dnaRia1E0REfIqRJX3PgLTXGzJuSVOeafF+kurBPY2c/ljcJehhyANWnYPt9fx Wo1A== X-Gm-Message-State: AOAM532f033nVLkGI5PYNzuA91cmodcjSXWTyTZg1doZze2CtO6qX0Dg FVWseGoGuFxpBLk3LJp0IYF5DE1B9JHcCrueue23nkhyRoek3IxS0qCtyQi8oA4HMQ5MNuGrLTR 5GNp0kS9ovVHqu4k= X-Received: by 2002:adf:94c2:: with SMTP id 60mr5228998wrr.366.1589562492974; Fri, 15 May 2020 10:08:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQhEuJujjCxs1d9TdgDo4NpobJlCQ7OImNf+tSww2HIeI5aBGI6yByw8T+d0XBO6uWfNsFqA== X-Received: by 2002:adf:94c2:: with SMTP id 60mr5228966wrr.366.1589562492758; Fri, 15 May 2020 10:08:12 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id e22sm4742390wrc.41.2020.05.15.10.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 01/10] MAINTAINERS: Fix KVM path expansion glob Date: Fri, 15 May 2020 19:07:55 +0200 Message-Id: <20200515170804.5707-2-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/15 00:07:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Richard Henderson , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Aleksandar Markovic , qemu-arm@nongnu.org, Palmer Dabbelt , Michael Walle , Paolo Bonzini , Alistair Francis , Aleksandar Rikalo , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 47ef3139e6..fd88a3de49 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 May 15 17:07: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: 1291504 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fovsmLAq; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49NvyC5sFtz9sTM for ; Sat, 16 May 2020 03:08:51 +1000 (AEST) Received: from localhost ([::1]:46010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdpJ-0007On-Ad for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:08:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdov-0007NQ-7R for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:25 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:47181 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 1jZdos-0002te-4c for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562501; 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=LtqBVDpcxzLSIYr46Mh7kdVW472e1QUV+XMsC1Vk51c=; b=fovsmLAqsKcuttUUSF8HXN1cOfhnVKOFnY5uyRRLsFjcdsEU/+rD7WX8N9LjuzmnaqufPe R/k2zUoqvexnQ99TmtcfcCS/oVK6klizCiRYHB0BFjHHUs4KknpFKvW9keYQOIGZUrT41H 9qTQmOBwk9ajLfu6x9AhVxwNquHPS9s= 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-470-v3E2A2ZHP_mwWUx6f8FJtw-1; Fri, 15 May 2020 13:08:20 -0400 X-MC-Unique: v3E2A2ZHP_mwWUx6f8FJtw-1 Received: by mail-wm1-f70.google.com with SMTP id t82so1165197wmf.4 for ; Fri, 15 May 2020 10:08: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=LtqBVDpcxzLSIYr46Mh7kdVW472e1QUV+XMsC1Vk51c=; b=bOA0QnXIwZgPH2vB3ni9xIBP1YuxI2/vpl+6OmhKx4ovyFHUALs5Ixou9Fj3rjOopZ AdulH/Dj1zu6Cyg1oVdm/C/RdTgCOZAnar1vzVuYSHVWQsulwESgiBNCshZQ3+hr6mRY Z1YqjYvUzAtBOipbaSev8z4AEPJ67jRWMu73UemxkIw7W7ysW8tOB5LsrRI8Hgk3+AIB Ufgam2Bd2eVIem9YZhGqpPOEmUqaalmvj8VqagnaQ0pAzHuED8acBcGDeWSkEeWqjQoR mSWMPzLTPHRueRNk72w6r0ChFIfvsZS3BDCrlqGjbgS0VUCBpeP62pgXQyjO0MUijP8r kFMQ== X-Gm-Message-State: AOAM531g3jPL5oUz0dOfrGGMcNUFvboi0sQ8U54mS1YTVjJ5wbox6W6d gSpqHQAJYd0LlsxkxBX43zXPh4RsXHzRNpqkbWyyI4RwMhHw/AOr1ZTcoS3Oz563M47DbvUWLPW wK5bhmE8a8OGmhd4= X-Received: by 2002:a7b:c086:: with SMTP id r6mr4873600wmh.29.1589562498424; Fri, 15 May 2020 10:08:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4umMWdgiN1Dgl83Lg9rVKE5hcBz1uRpI3ivnkOUtLlLFcj5d3xhgJtN7a/k/lJp/Ro/1N+A== X-Received: by 2002:a7b:c086:: with SMTP id r6mr4873567wmh.29.1589562498195; Fri, 15 May 2020 10:08:18 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id j1sm4416059wrm.40.2020.05.15.10.08.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:17 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 02/10] MAINTAINERS: Add an 'overall' entry for accelerators Date: Fri, 15 May 2020 19:07:56 +0200 Message-Id: <20200515170804.5707-3-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/15 00:07:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Richard Henderson , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Aleksandar Markovic , qemu-arm@nongnu.org, Palmer Dabbelt , Michael Walle , Paolo Bonzini , Alistair Francis , Aleksandar Rikalo , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- Cc: Paolo Bonzini --- MAINTAINERS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fd88a3de49..659092eb43 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -415,6 +415,15 @@ 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/stubs/Makefile.objs + X86 HVF CPUs M: Roman Bolshakov S: Maintained From patchwork Fri May 15 17:07:57 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: 1291509 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Xj0OhjB3; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49Nw0D74Fjz9sTM for ; Sat, 16 May 2020 03:10:36 +1000 (AEST) Received: from localhost ([::1]:54596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdr0-0002km-KO for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:10:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdp0-0007ZO-Rj for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:30 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:42949 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 1jZdp0-0002vi-5J for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562509; 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=WuX27WNv6Kn8UhBL2AA1RqIUWcivIj63B6OZkuFogSI=; b=Xj0OhjB3fM8Jwx2X0MGDWIo0IB1mdpfiKJFVa+20vpFpRqE/siTG52DHERg9WLPTX2SjO8 +SBjUL5OoOp4yr/WrDnSRNen8Ec8jj9NhUt6U/fIkttYzMfo9/8XkaH2/C/H1XYMh8aei5 axvIWDuFOk/6lb+oH6+U3Mw+x137Xok= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-292-LUWexmLRNRyzKsMYiLUbwA-1; Fri, 15 May 2020 13:08:25 -0400 X-MC-Unique: LUWexmLRNRyzKsMYiLUbwA-1 Received: by mail-wm1-f69.google.com with SMTP id n124so1265829wma.1 for ; Fri, 15 May 2020 10:08:25 -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=WuX27WNv6Kn8UhBL2AA1RqIUWcivIj63B6OZkuFogSI=; b=j+1DzDnwUbVNgXzu7CuVx6eX4mG5m09Ry6h2IRsteLnRK01JqLH1J7Ab4NHDaDEjMD J5xweLu2W2z62bCn0rZZxeKT7cFiPBqkR1nqq0OT7LEUgpMZs6F20zXDT0pigpsaEsrS lpdm4aEcAxcLoB+UgBAHa6oANe/nHd8bYqPoYakUaWeVys5gSzB9mbxK5lfKCF4HLrTK AUnlJmxwD6siYAGED7aIA+CxyCyxYnxJbyYU5wYiYt7Fuk4va2h6iz4aEirX6EPQ+p70 H8w86AeYJvCjbIPdRVn87TKCJjAKF1Bph/SEqf3ABBagvwU4jIGT67hSRt8/nl6LQoMk UpLQ== X-Gm-Message-State: AOAM5304vUdQRkrotYet3DqMoTPypqznjy9d2+1q+zUz6wD8zxsyk9ZL L8iVGgnx+mu0+Gfb7BBndknMks8Sa/PPe8a2RG8P9ovyocHL9x4oyqLQi8+rNdmQ1PcbMJU3I2B lSGEAF4g1U2eV7Is= X-Received: by 2002:a05:600c:2041:: with SMTP id p1mr5373996wmg.152.1589562504035; Fri, 15 May 2020 10:08:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9VffLWNGOL/oI/tLQbfVUADB9+49+0dkca4XV5cjM4nxFEkeGTcSn85uECbfY2blt2s7vFA== X-Received: by 2002:a05:600c:2041:: with SMTP id p1mr5373962wmg.152.1589562503876; Fri, 15 May 2020 10:08:23 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id 5sm4554811wmd.19.2020.05.15.10.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:23 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 03/10] MAINTAINERS: Add an entry for the HAX accelerator Date: Fri, 15 May 2020 19:07:57 +0200 Message-Id: <20200515170804.5707-4-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/15 00:07:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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: Peter Maydell , Sagar Karandikar , Max Filippov , Alistair Francis , Colin Xu , Yu Ning , Tao Wu , Marek Vasut , Vincent Palatin , David Chou , Aleksandar Markovic , Aleksandar Rikalo , =?utf-8?q?Philippe_Mathieu?= =?utf-8?q?-Daud=C3=A9?= , Thomas Huth , haxm-team@intel.com, Hang Yuan , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , qemu-riscv@nongnu.org, Bastian Koppelmann , Chris Wulff , Laurent Vivier , Sergio Andres Gomez Del Real , Michael Walle , Palmer Dabbelt , Wenchao Wang , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Philippe Mathieu-Daudé --- Cc: Sergio Andres Gomez Del Real Cc: Vincent Palatin Cc: Yu Ning Cc: Tao Wu Cc: haxm-team@intel.com Cc: Colin Xu Cc: Hang Yuan Cc: David Chou Cc: Wenchao Wang --- MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 659092eb43..5172e9a734 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -424,6 +424,12 @@ S: Maintained F: include/sysemu/accel.h 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 May 15 17:07:58 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: 1291510 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=MY3C7FUb; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49Nw0n1jKDz9sTc for ; Sat, 16 May 2020 03:11:05 +1000 (AEST) Received: from localhost ([::1]:57360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdrS-0003ty-R9 for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:11:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdp4-0007i2-Rz for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:34 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:37716 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 1jZdp3-0002yR-5C for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562512; 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=AfdJ0fb3pUn/q8r2VJ/7T43bIwJswLi3uwi/HIViWEU=; b=MY3C7FUbGfqVsl/pd4R3KXkXOzkJyvO+TAn+NJSux5G2OyTq/B3V90LfBNL5AC3iDcpbp9 oKQrXDzpk6z1SL9+Ym2cH9oYzhkpu7lcM+tF/xz79fj72XAFGAzjMp58yPSN2XBHFeh+LR cU8gs5vp3vqngDe54nIjamQoEDqdOzA= 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-466-tw_tN07ONESYKsvvAbfyPw-1; Fri, 15 May 2020 13:08:31 -0400 X-MC-Unique: tw_tN07ONESYKsvvAbfyPw-1 Received: by mail-wr1-f69.google.com with SMTP id 37so1488388wrc.4 for ; Fri, 15 May 2020 10:08:31 -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=AfdJ0fb3pUn/q8r2VJ/7T43bIwJswLi3uwi/HIViWEU=; b=fovcCH+F5wkiZaw0deP0xy9JkSsZylcAZAeQeYCSwv+uGKSz9czmrMFERUpm5Sc0Wk 61eFSLTrXmuh+FZgZRY0J58tk9mdQCREjBBhs6C26Ck3mQ92m7dwjmBmn3kp+RQaQosa VJgwwKMjQeZ9FiBMUFa9gVe3y/OYFqQWjEFV8a5wmHbzZ6i0K0gNXT284ij2iK6OjLjc E7v9sjKlwAFByhQUmllSG+s2UdcY0N5XJwtkwuOmA+AxwejM/9Nxy4kxsXIHdsNIkv35 o8qSjkjf1F+KwtBMua+MxYoiGWXywAGXzbqkUbFiW4x1GMc3CVY3/wZxKGDb2qfgXEUe QFFg== X-Gm-Message-State: AOAM531RBM187YaJ30qzy+TDXTn+g5fISGqagHX8He3gY4xZc7bLQI71 /heIPdxRuuJmCXUHxlf0dRdVf87SsimK5b/CdCETKpfmXquFDAF4ZoxQspds3XG3A0nDhE+0W+X Zxo79LUqVXJ+1V+s= X-Received: by 2002:adf:ca0e:: with SMTP id o14mr5606794wrh.254.1589562509777; Fri, 15 May 2020 10:08:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAbObSmIItKQqzcQRay2wcjdeHRGWr/x8AnwNFoDgTaqxsJ7xG7Wx6UcpQIJzPgmGLRh9y9Q== X-Received: by 2002:adf:ca0e:: with SMTP id o14mr5606762wrh.254.1589562509614; Fri, 15 May 2020 10:08:29 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id s67sm4362738wmf.3.2020.05.15.10.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:28 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 04/10] accel/tcg: Add stub for probe_access() Date: Fri, 15 May 2020 19:07:58 +0200 Message-Id: <20200515170804.5707-5-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/14 23:27:07 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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: Peter Maydell , Sagar Karandikar , David Hildenbrand , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , Marek Vasut , Aleksandar Markovic , "Emilio G . Cota" , Aleksandar Rikalo , Thomas Huth , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= , Richard Henderson , qemu-riscv@nongnu.org, Bastian Koppelmann , Chris Wulff , Laurent Vivier , Michael Walle , Palmer Dabbelt , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.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' Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- 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(); +} From patchwork Fri May 15 17:07:59 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: 1291512 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=L6tZ5OF6; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49Nw283QZpz9sTL for ; Sat, 16 May 2020 03:12:16 +1000 (AEST) Received: from localhost ([::1]:34624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdsc-0006Bb-7N for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:12:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdpB-0007x7-N4 for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:41 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:20277 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 1jZdpB-000303-1e for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562520; 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=JTxQcDt8oQCk497tRXJC3a7DdI5+FkjTGcyXVLcdRbM=; b=L6tZ5OF6iU7vGkhmifzGbzgRcGzbcPtV/oXNAhXsefFmupp8mqb1t2UOubTMb3xyVg1j/Q AlaUywiU1cHPxPUqrEbCCFRaplMtCzi2duO+7t7FvOhp4EiEs05Fe2BMWPqibmszhsKKI0 4ibdq80l2AnxjDkcvrboOpfFCac1DCs= 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-477-yiG3fiobOsWTn4HYlkINlQ-1; Fri, 15 May 2020 13:08:38 -0400 X-MC-Unique: yiG3fiobOsWTn4HYlkINlQ-1 Received: by mail-wm1-f70.google.com with SMTP id a67so1466038wme.6 for ; Fri, 15 May 2020 10:08: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=JTxQcDt8oQCk497tRXJC3a7DdI5+FkjTGcyXVLcdRbM=; b=C7OQNuoj/A0UKO8mHMLOjjwfa5iRRlOJGjQCmpckoYexkOK1xUjY+xLHyVD0JyyJCa 468ptD0GwRlmfK/1NNEpjs8yWnDjdq7LSrEsGkeNSL0LtGkwYWy1i2oq5sjAbV0g29rp 1vKgRr899h3irZdP5IGLdXydb6Sz12/Esu2XLb1UTeIXR/0u3ZLPQ1JLwmZWOWMVMsNL McFVnAUdNYb/dqYKYjm0W+sYZu6+8arPZ7MNEwMtPVhI3lm3d3snJ5+PYpnyIekOIaJt MQHhgB4GRUjFLTAnhIfDJEaBbLHf1s0KEEibpGx7CeBEQ4s8t1/R4oVZcANVueuWoIu3 f5Bg== X-Gm-Message-State: AOAM531YGJVezCviGmaG17R1a++ijm//cbYr0GZ+4Kv5ZTu7JuvMFeeU +eb2zf0fBR4USKwRnLIiwaIG3gS1x/SItuAlMRuL9IjCCjIo+J+mD9x6K5AxsO4hRS70/l/UR/6 VnCrNBQUtaBzfmtU= X-Received: by 2002:a1c:b141:: with SMTP id a62mr4847505wmf.7.1589562515271; Fri, 15 May 2020 10:08:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMXCpKrYtAlcGLMqRL6aDU9sPBaP9jQk+veIRTz0KWodeBom8PIeyr5nxysb1yGtoZbI4vZg== X-Received: by 2002:a1c:b141:: with SMTP id a62mr4847476wmf.7.1589562515032; Fri, 15 May 2020 10:08:35 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id j16sm4368177wru.13.2020.05.15.10.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:34 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 05/10] Makefile: Remove dangerous EOL trailing backslash Date: Fri, 15 May 2020 19:07:59 +0200 Message-Id: <20200515170804.5707-6-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/14 22:56:02 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Aleksandar Markovic , qemu-arm@nongnu.org, Palmer Dabbelt , Michael Walle , Paolo Bonzini , Alistair Francis , Aleksandar Rikalo , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.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. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Alistair Francis --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 34275f57c9..84453789f9 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 May 15 17:08:00 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: 1291514 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=S1k3BOs8; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49Nw2P6267z9sTL for ; Sat, 16 May 2020 03:12:29 +1000 (AEST) Received: from localhost ([::1]:35806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdsp-0006eh-Hh for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:12:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdpF-00088N-Tw for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:45 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:38652 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 1jZdpE-00030a-TN for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562524; 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=5ITVoQ1ZbyJY3869Qz0QJKhcD0XsDNN4PZcYvj6FH84=; b=S1k3BOs8jR0RETtGS4vLGGVJsTiWwt+PEDj1qaBRANdwjNyeOa8EXSu1UV5QoXxmdMwu6Z pT/m0pXl2zmBvq7w49TYM3DctU8tHVlETbIILbgzr6fsbNs+wERhiaC2jQSn1EZlqAsM0V lD0gYaRLG+5BG9ztC+Nhk8UZ70NVdAI= 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-284-xIrDdNRZOnS5UxqkYJquaQ-1; Fri, 15 May 2020 13:08:42 -0400 X-MC-Unique: xIrDdNRZOnS5UxqkYJquaQ-1 Received: by mail-wr1-f70.google.com with SMTP id d16so1461765wrv.18 for ; Fri, 15 May 2020 10:08: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=5ITVoQ1ZbyJY3869Qz0QJKhcD0XsDNN4PZcYvj6FH84=; b=JGizm3nz2YKW63MMbtt/bp8AlCemn1/D2Y0iAiVNTHu5x8WJ2roEtiLWyM7mObeqDE wygW1PDSyWD8zHjIFHaykJ8GKyFJW2C0dqtRx4zIwx66NLGCda31fzkttQ+mbioOeYJe sQEJimA5z0GiM7onrvM4s6ttA6emIVWIjZV4N7ubM/qtoHrb3LGLDACQrLMnWrry8ZlU zy7KUQMnavFPATvzeZaKLyQEx8r/GCwqny91MUqVyBicttDTRbfRlgi6zhXb32GDd00u LYHw5RrQGgWFYyy3pOOl0d757Uq7mOyejOgH7LlcA50/65GJ+dtwptkFI85DQGQA1u4x sHBQ== X-Gm-Message-State: AOAM5312UK0r8hFbKTUxb30zX4/9cVvm2xIiajXM0yRbBvUN271WD93/ 0cjW0gds8ynAJ92zvgenH6Uk/ULXPQsexXwwslpjwu3u3qFsT7OXvyH+lKfvC3gTeyuGtpIbewO CwN+RX6mZ344jKW4= X-Received: by 2002:a1c:b354:: with SMTP id c81mr4963870wmf.136.1589562521312; Fri, 15 May 2020 10:08:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmx+ZO2tfR2y8eEMofGp0DBekFYHDX4bY/GfboFJ/NDQMoQkIi+Tv5ej2TCEVaoDExRhm5BA== X-Received: by 2002:a1c:b354:: with SMTP id c81mr4963827wmf.136.1589562520987; Fri, 15 May 2020 10:08:40 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id h20sm4351735wma.6.2020.05.15.10.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:40 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 06/10] Makefile: Write MINIKCONF variables as one entry per line Date: Fri, 15 May 2020 19:08:00 +0200 Message-Id: <20200515170804.5707-7-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/15 00:07:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Richard Henderson , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Aleksandar Markovic , qemu-arm@nongnu.org, Palmer Dabbelt , Michael Walle , Paolo Bonzini , Alistair Francis , Aleksandar Rikalo , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.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 84453789f9..665900d5c8 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 May 15 17:08:01 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: 1291506 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=F5kg76p/; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49Nvz10QGQz9sTc for ; Sat, 16 May 2020 03:09:33 +1000 (AEST) Received: from localhost ([::1]:49982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdpy-0000ih-OC for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:09:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdpM-0008Rq-EA for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:52 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:24010 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 1jZdpL-00031T-Me for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562531; 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=67oKUwzJF/EYz6sathwG2YKI0GXJwcGpGF25DTlLRL8=; b=F5kg76p/rvFoQ0qQ/ZR/H0dLiOHbccM0HY2BR71V0eiyviBBys0hGos4B1cU3jP+z7mw1Z 88UjE3vZAMwj63+xLVGLu3SomeeJJFvfQFK6YSjPnwyowzeyoBoSC1pFwiXw/ZotI1Uq1o K0dkfksEQeUrrewoPBstT+hoAtTbc3E= 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-187-QE90sSgBPUSN_hmFVF1Cqg-1; Fri, 15 May 2020 13:08:49 -0400 X-MC-Unique: QE90sSgBPUSN_hmFVF1Cqg-1 Received: by mail-wm1-f70.google.com with SMTP id m123so1466067wmm.5 for ; Fri, 15 May 2020 10:08: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=67oKUwzJF/EYz6sathwG2YKI0GXJwcGpGF25DTlLRL8=; b=j9wfkCSTqA8nYrVwPIxPwT0db3WVhY/7WRIsH3l4XnWZ4y0/wo8kU3QrIe32vDGi75 PGmq0Y/teqa6D1UEqv0P0JVPrHFOAq19rS0wmB8AE8k3Vc15r85yUqwLoqXk+BswWKbR YVQDjKfu/HnaXVnRBQosrpkhNiADEkKEVtQlyoxI/2zfUpYHcciR/NdnDQDAWBwQyR7K HGEjj4YhLORfwWlMEZ43IbG5ZnBWkepYsf5OD+aQB6ZY88/qPuLdgRZTShMSHLHlClqi gpaS3qRseFxCQcW9ni1AJUs16U3ld6B4LfCYMRpDYZg9igWcfInWhepIYXqVG9q8SyDP 3noA== X-Gm-Message-State: AOAM533ETHEJtNADFKjRhE7twiWsaH9FWIKDb9tW5Y/EHmmyLsEnz85s wojLcWKRojS3SVozA9/dF+pCnTdBYzYnweVcY2C2XvVRH5DbopSTLh17Kz9WMr52apDckcCGCSL q2fdJ1b8W7eo4ZdA= X-Received: by 2002:a7b:cfc9:: with SMTP id f9mr4995617wmm.107.1589562526808; Fri, 15 May 2020 10:08:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxALqTonffMmY4SMz5hcxTzEJkSJcZbhyA/Xbjh285rKOAFKWxrLXerQw5g8+eKLzHIKqcMAA== X-Received: by 2002:a7b:cfc9:: with SMTP id f9mr4995590wmm.107.1589562526574; Fri, 15 May 2020 10:08:46 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id q2sm3795634wmq.23.2020.05.15.10.08.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:46 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 07/10] accel/Kconfig: Extract accel selectors into their own config Date: Fri, 15 May 2020 19:08:01 +0200 Message-Id: <20200515170804.5707-8-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/14 22:56:02 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Richard Henderson , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Aleksandar Markovic , qemu-arm@nongnu.org, Palmer Dabbelt , Michael Walle , Paolo Bonzini , Alistair Francis , Aleksandar Rikalo , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.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 665900d5c8..06826273c1 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 May 15 17:08:02 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: 1291511 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=LI5SkbbZ; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49Nw115xQ7z9sTL for ; Sat, 16 May 2020 03:11:17 +1000 (AEST) Received: from localhost ([::1]:58584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdrf-0004Sl-HT for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:11:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdpS-0000JV-JT for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:58 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:39265 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 1jZdpR-000326-Oi for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562537; 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=iBgI8c9GR0YajQTulaxYrH/xuvizDOHwgtiNZBEHy48=; b=LI5SkbbZ6kXtFexsC57EaCS9HQvR5ZMu0l+q/K3aFRtOUlb6MjGZM8xlvYvVVVUKS5blGP Zbvl4Rby7skRFwShob8N8NPzqw+X/fFxS0N7eMvwIaeZ+bqqKXT3L17teqmPKYZJkrRaZj PPCkKVin8EgZKRJljTfpczcembLagpI= 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-422-PszBqNj8PC6l732saF0G-A-1; Fri, 15 May 2020 13:08:55 -0400 X-MC-Unique: PszBqNj8PC6l732saF0G-A-1 Received: by mail-wm1-f72.google.com with SMTP id e15so5671014wme.1 for ; Fri, 15 May 2020 10:08:55 -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=iBgI8c9GR0YajQTulaxYrH/xuvizDOHwgtiNZBEHy48=; b=tyiVl1SMNfoQlIPxpiZrNULDyllpmOyErcXrXgfEs/DJJ2EkU0Gsfoz0STq66+rmLA QBq4c+CuB/ljD8NVYuwoXECNwzC7qrO+/yGTiEuqVxHttw2bQlfpp5zp77BXO8IF3uJi qqW/c9gTBpvePC0BZAgeQYkUfIkUXDdqwQNKXqNP7gJjDPdOgQ0pdabsZbElFW/pWjNi YySEce2rMPAG4vOkq0pq/05uHbkKvr+hzcdb6LFT1A4qeDhwbNXS7AEk21Zse41a/0lP m2e7vVU4DCIQvwFRGFY6mMwMwOPgawXRmC6zmYFiqXlTMikcZAL2TG1YBC7tcgw9EgxE 4Tvw== X-Gm-Message-State: AOAM530LPodX+hEfIdvNt/flC7JWqgaesdNXqiMbFhD+qp8ka3rmOeVo K7Y4DDrWN/z9xaNbigmi/zUrbw7QMv6NgFF9hGkwREj9gZz1nDc1XPeSUHejv4cXIUcQjl55pJP +pSuWOPNuRhE1irc= X-Received: by 2002:a5d:4d0f:: with SMTP id z15mr5220437wrt.411.1589562532453; Fri, 15 May 2020 10:08:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznHDXFYsBEWUbofJ0EE9tOVLGMkwDSakwxzf2mGgYDtyNYPruFRzgSVdhDlaSYnmIVD53jyQ== X-Received: by 2002:a5d:4d0f:: with SMTP id z15mr5220415wrt.411.1589562532245; Fri, 15 May 2020 10:08:52 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id h1sm4614912wme.42.2020.05.15.10.08.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:51 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 08/10] accel/Kconfig: Add the TCG selector Date: Fri, 15 May 2020 19:08:02 +0200 Message-Id: <20200515170804.5707-9-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/15 00:07:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Richard Henderson , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Aleksandar Markovic , qemu-arm@nongnu.org, Palmer Dabbelt , Michael Walle , Paolo Bonzini , Alistair Francis , Aleksandar Rikalo , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.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 06826273c1..b4c0830b26 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 May 15 17:08:03 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: 1291515 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=bqJTEobW; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49Nw4h2nCQz9sTM for ; Sat, 16 May 2020 03:14:28 +1000 (AEST) Received: from localhost ([::1]:42910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZduj-0001jE-Vu for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:14:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdpY-0000Zj-7w for qemu-devel@nongnu.org; Fri, 15 May 2020 13:09:04 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:28799 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 1jZdpX-00032j-HK for qemu-devel@nongnu.org; Fri, 15 May 2020 13:09:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562542; 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=CgUPsSauJHPAfqEtx3F/6v2O6U+cLNjTuefN7n8Nwkw=; b=bqJTEobWgVSjzOa6BbHyjNsXpl02Krc0OJSZ3MTRTu7yZx27H3hiJ3kVrMS2JYHp7r2bH/ 4yn9O6qSKl4vtCHGe3W3R5iQD/niFAND8GEsB4Qt7VcpDCtY2Dyjwwf8Q9qyAVHhvfBw/z LfAuyuuYtfKg67IisrK7DY3Npe5tUAk= 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-211-Xnf5Q2tvMxqYqJHzZf-ZcQ-1; Fri, 15 May 2020 13:08:59 -0400 X-MC-Unique: Xnf5Q2tvMxqYqJHzZf-ZcQ-1 Received: by mail-wr1-f69.google.com with SMTP id z10so1485280wrs.2 for ; Fri, 15 May 2020 10:08:59 -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=CgUPsSauJHPAfqEtx3F/6v2O6U+cLNjTuefN7n8Nwkw=; b=FG6Y8j+t8jLSAlpZlUQKMkCwAyUz2QXI2QNFE1CxAr2neCIQ3z9mpvACQnHtPDnhbA RBXuUTGReZl2S7PRcYKlPu65Io8ERz+lr6jyR/xgTz6ZEnNb+WnFttzYX6gRKKVojW4B x8DhditWWkixMK79qFCf4WqENZOzpD9ALudX+zg99QGTjlIigbh244/7SoL/nU13juRC uEkxeNDmEnV4nMyMjUrE2pfgTP3CbaqEv/Vtrr8+ZPfaTyjwnKn/NEfW61XhG4PS2yxM pivcN97CufpdNDyjFCm7AuQaDh37T3oxdLUl86iI83XarIinuDc28kSupPlYWEln1KRY YTdQ== X-Gm-Message-State: AOAM533wwOg2N/e5MVipmzvmL8LidzBlYLTuryBtNIyvNE3XqRK3s+Nc t0dQ41AFxlxyUFJ77K/MOjlbH4ReL4M3fJPneDXbmagUAU1w+8Igu2MtWcXHbnmV8LGsCjfhbG5 nUueCNmXYcvKRlgQ= X-Received: by 2002:a1c:e2c5:: with SMTP id z188mr5022593wmg.35.1589562538399; Fri, 15 May 2020 10:08:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJJOiiUiXarfUTi9eHtH6/U/9GLQ3jYfatS4wmFNE1+6AEO5VZwL6RE9VQse4OAM+Qh57d8A== X-Received: by 2002:a1c:e2c5:: with SMTP id z188mr5022566wmg.35.1589562538245; Fri, 15 May 2020 10:08:58 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id z12sm1931109wmc.6.2020.05.15.10.08.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:57 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 09/10] Makefile: Allow target-specific optional Kconfig Date: Fri, 15 May 2020 19:08:03 +0200 Message-Id: <20200515170804.5707-10-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/15 00:39:12 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Aleksandar Markovic , qemu-arm@nongnu.org, Palmer Dabbelt , Michael Walle , Paolo Bonzini , Alistair Francis , Aleksandar Rikalo , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Allow use of target-specific Kconfig file. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b4c0830b26..5fce168fcb 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/$(firstword $(subst -, ,$@))/Kconfig) \ > $@.tmp, "GEN", "$@.tmp") $(call quiet-command, if test -f $@; then \ if cmp -s $@.old $@; then \ From patchwork Fri May 15 17:08:04 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: 1291516 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=E1Ec7Nwf; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 49Nw4g1kDSz9sTL for ; Sat, 16 May 2020 03:14:27 +1000 (AEST) Received: from localhost ([::1]:42762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdui-0001et-Pp for incoming@patchwork.ozlabs.org; Fri, 15 May 2020 13:14:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdpd-0000ne-CO for qemu-devel@nongnu.org; Fri, 15 May 2020 13:09:09 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:21786 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 1jZdpc-00033S-0Z for qemu-devel@nongnu.org; Fri, 15 May 2020 13:09:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589562547; 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=1ZX0QW9DXonbuBshkLSkBrNCbZ8d0l65fGU32CLsfp4=; b=E1Ec7NwfRQPdN6S3PcrFdumN0aN0NZjEePERDfRxPa6PNO3IgWa2nG1TMsHPAkQOHiMpkU gQW29bBHTW/+E2sob1Sopsx5+XGnwE5ny4ybKi3ILA8+hDslssqyGdbPFjwCzeq8Xx8Ysm L8jbma/xsnSMOiK5xBpiWI6xF9HrrYQ= 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-289-HJUrm0PcNQukGhD6saKB1Q-1; Fri, 15 May 2020 13:09:05 -0400 X-MC-Unique: HJUrm0PcNQukGhD6saKB1Q-1 Received: by mail-wm1-f70.google.com with SMTP id n124so1266463wma.1 for ; Fri, 15 May 2020 10:09: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=1ZX0QW9DXonbuBshkLSkBrNCbZ8d0l65fGU32CLsfp4=; b=q0Ne7rbzFw1babQOcIlaz96/WNA89E+/IBiZcCPAzIRXW9umoEYZbJHeo0fbdaEbAo hKqFOHrOURqfcrMkvJNVrYbldywsJu5j6nTt1LD8za9iKKf0eveZ4H+vrBOIpUr+aG6o GVEGcCYz0rCOfW3uEYyUOgvhz0hS8VknVxS9lSFT4gvIFZz6PhYdZq6H/QA5lnDWU1h0 M+21cxyhFOsx8lNbkq60ct0BnTxpn7loGLIM+6gtjS/5auYQrccfITziwpl+dfAGnqZl c3usGEJv9cwbJAP6dk85In4MjA+L+gyV+awnxB5yr1+RMnrBHycXLVVhycsLDsopqtHP gF8Q== X-Gm-Message-State: AOAM5333bFab4VkrT1Tvp0DgV2HzgifiBiuKLl/rg2VvRJE6u5/IEV4O 8NmZ5q3srRJrY9RqvUWvaESFv7NOrMA08yTIjSdZK4pI2cP0ReAmExhOmPS11gQ3QgHRKNGfddc QnuHtCH3Q0I1YFxI= X-Received: by 2002:a1c:2502:: with SMTP id l2mr3758349wml.111.1589562544156; Fri, 15 May 2020 10:09:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpNVZbQGG3qsOlZD6eLW7rackHHKqwy520Y9CFVeCGODSF13/8lWF5MSzbh8IfuztKS3HzUA== X-Received: by 2002:a1c:2502:: with SMTP id l2mr3758311wml.111.1589562543904; Fri, 15 May 2020 10:09:03 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id 5sm4556980wmd.19.2020.05.15.10.09.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:09:03 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 10/10] hw/semihosting: Make the feature depend of TCG, and allow to disable it Date: Fri, 15 May 2020 19:08:04 +0200 Message-Id: <20200515170804.5707-11-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200515170804.5707-1-philmd@redhat.com> References: <20200515170804.5707-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/05/14 22:56:02 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 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Aleksandar Markovic , qemu-arm@nongnu.org, Palmer Dabbelt , Michael Walle , Paolo Bonzini , Alistair Francis , Aleksandar Rikalo , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The semihosting feature is only meaningful when using TCG. Do not enable it by default, and let the few targets requiring it to manually select it. The targets restricted to TCG that previously selected it (see commit 16932bb761e52c2 'introduce CONFIG_SEMIHOSTING') are left unmodified; however the selection is moved to the target Kconfig. Signed-off-by: Philippe Mathieu-Daudé --- default-configs/arm-softmmu.mak | 1 - default-configs/lm32-softmmu.mak | 2 -- default-configs/m68k-softmmu.mak | 2 -- default-configs/mips-softmmu-common.mak | 3 --- default-configs/nios2-softmmu.mak | 2 -- default-configs/xtensa-softmmu.mak | 2 -- hw/semihosting/Kconfig | 4 +++- target/arm/Kconfig | 2 ++ target/lm32/Kconfig | 2 ++ target/m68k/Kconfig | 2 ++ target/mips/Kconfig | 2 ++ target/nios2/Kconfig | 2 ++ target/riscv/Kconfig | 2 ++ target/xtensa/Kconfig | 2 ++ 14 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 target/arm/Kconfig create mode 100644 target/lm32/Kconfig create mode 100644 target/m68k/Kconfig create mode 100644 target/mips/Kconfig create mode 100644 target/nios2/Kconfig create mode 100644 target/riscv/Kconfig create mode 100644 target/xtensa/Kconfig diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index 8fc09a4a51..f6044f1121 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -40,6 +40,5 @@ CONFIG_MICROBIT=y CONFIG_FSL_IMX25=y CONFIG_FSL_IMX7=y CONFIG_FSL_IMX6UL=y -CONFIG_SEMIHOSTING=y CONFIG_ALLWINNER_H3=y CONFIG_ACPI_APEI=y diff --git a/default-configs/lm32-softmmu.mak b/default-configs/lm32-softmmu.mak index 115b3e34c9..6d259665d6 100644 --- a/default-configs/lm32-softmmu.mak +++ b/default-configs/lm32-softmmu.mak @@ -4,8 +4,6 @@ # #CONFIG_MILKYMIST_TMU2=n # disabling it actually causes compile-time failures -CONFIG_SEMIHOSTING=y - # Boards: # CONFIG_LM32=y diff --git a/default-configs/m68k-softmmu.mak b/default-configs/m68k-softmmu.mak index 6629fd2aa3..4fef4bd731 100644 --- a/default-configs/m68k-softmmu.mak +++ b/default-configs/m68k-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for m68k-softmmu -CONFIG_SEMIHOSTING=y - # Boards: # CONFIG_AN5206=y diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak index da29c6c0b2..6c0904b200 100644 --- a/default-configs/mips-softmmu-common.mak +++ b/default-configs/mips-softmmu-common.mak @@ -1,8 +1,5 @@ # Common mips*-softmmu CONFIG defines -# CONFIG_SEMIHOSTING is always required on this architecture -CONFIG_SEMIHOSTING=y - CONFIG_ISA_BUS=y CONFIG_PCI=y CONFIG_PCI_DEVICES=y diff --git a/default-configs/nios2-softmmu.mak b/default-configs/nios2-softmmu.mak index 1bc4082ea9..e130d024e6 100644 --- a/default-configs/nios2-softmmu.mak +++ b/default-configs/nios2-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for nios2-softmmu -CONFIG_SEMIHOSTING=y - # Boards: # CONFIG_NIOS2_10M50=y diff --git a/default-configs/xtensa-softmmu.mak b/default-configs/xtensa-softmmu.mak index 4fe1bf00c9..49e4c9da88 100644 --- a/default-configs/xtensa-softmmu.mak +++ b/default-configs/xtensa-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for Xtensa -CONFIG_SEMIHOSTING=y - # Boards: # CONFIG_XTENSA_SIM=y diff --git a/hw/semihosting/Kconfig b/hw/semihosting/Kconfig index efe0a30734..30befcdd21 100644 --- a/hw/semihosting/Kconfig +++ b/hw/semihosting/Kconfig @@ -1,3 +1,5 @@ +# default is 'n' config SEMIHOSTING - bool + bool + depends on TCG diff --git a/target/arm/Kconfig b/target/arm/Kconfig new file mode 100644 index 0000000000..3224cac4ad --- /dev/null +++ b/target/arm/Kconfig @@ -0,0 +1,2 @@ +config SEMIHOSTING +   default y if TCG diff --git a/target/lm32/Kconfig b/target/lm32/Kconfig new file mode 100644 index 0000000000..c0a9a9e799 --- /dev/null +++ b/target/lm32/Kconfig @@ -0,0 +1,2 @@ +config SEMIHOSTING +   default y diff --git a/target/m68k/Kconfig b/target/m68k/Kconfig new file mode 100644 index 0000000000..c0a9a9e799 --- /dev/null +++ b/target/m68k/Kconfig @@ -0,0 +1,2 @@ +config SEMIHOSTING +   default y diff --git a/target/mips/Kconfig b/target/mips/Kconfig new file mode 100644 index 0000000000..3224cac4ad --- /dev/null +++ b/target/mips/Kconfig @@ -0,0 +1,2 @@ +config SEMIHOSTING +   default y if TCG diff --git a/target/nios2/Kconfig b/target/nios2/Kconfig new file mode 100644 index 0000000000..c0a9a9e799 --- /dev/null +++ b/target/nios2/Kconfig @@ -0,0 +1,2 @@ +config SEMIHOSTING +   default y diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig new file mode 100644 index 0000000000..3224cac4ad --- /dev/null +++ b/target/riscv/Kconfig @@ -0,0 +1,2 @@ +config SEMIHOSTING +   default y if TCG diff --git a/target/xtensa/Kconfig b/target/xtensa/Kconfig new file mode 100644 index 0000000000..c0a9a9e799 --- /dev/null +++ b/target/xtensa/Kconfig @@ -0,0 +1,2 @@ +config SEMIHOSTING +   default y