From patchwork Fri May 15 17:07: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: 282601 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C3B6C433E0 for ; Fri, 15 May 2020 17:09:12 +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 E5D9A206D8 for ; Fri, 15 May 2020 17:09: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="E58pYU58" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E5D9A206D8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:48900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZdpf-0000E9-27 for qemu-devel@archiver.kernel.org; Fri, 15 May 2020 13:09:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZdoo-0007A9-BA for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:18 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:37432 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 1jZdom-0002sc-QG for qemu-devel@nongnu.org; Fri, 15 May 2020 13:08:17 -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; bh=26OkB+i/ad5joz/5qpHRwJv+k150oIYD4QiuOyitRcA=; b=E58pYU58QKzIjktgFcJcgcuRHByJ3jh53jQs6ZoUwUNW97BoOtF7BleLugEX6/vxsSyF7K LB3NIW4VshK2gif0AZGsqCxwTZNPXgK4TM/f1p5hXFdIk7jC8p3TC3xFmvL2xbjDbKfVSg 69oCMZjpv1tjW3oOKsYC9AMX15zNLD4= 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-248-NgG97K7BM9m4XBCazDA2Xg-1; Fri, 15 May 2020 13:08:08 -0400 X-MC-Unique: NgG97K7BM9m4XBCazDA2Xg-1 Received: by mail-wm1-f70.google.com with SMTP id v23so1267916wmj.0 for ; Fri, 15 May 2020 10:08:08 -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:mime-version :content-transfer-encoding; bh=26OkB+i/ad5joz/5qpHRwJv+k150oIYD4QiuOyitRcA=; b=bwmPQd5hitOsoMq/8xtHzMddl2sG+BgFQLuAVkrdskfmj78LgeCX0vTQhvgtaFIhzb I5dlJqiJ2S3nR/L1zYLikgRTZovPFdNRG7U70iUfEP1DkqaqcP39mWHjohPb6Sw3R+KI u5A+T1ORkAQJ/MYSoiFQxiKL9Yag+m9aaTvX3Ij4r4+XJIuztSlUixfangGUd8+IpVVy IPn56qGlq9HkfoXAP7nXycLrgy2fDF7mv3aIbwlgeNSn1fLaVT8hOQy1z8mdQpaCbEbA ZAFDE9olHh1QQ4E/otcQLkxJEgQKflJNXTdv3IrshiBJ9X5VKG9w9glSZ9U4vM3LQznO sHYQ== X-Gm-Message-State: AOAM533Di4mA6W24EAoK91PWdB4Fms2SzvypPWFqgSqJxvzA7BGi8u28 o+hIApSKkXvxQUd+GAVTKv2yIKdukX0QQA1D+zNZ1yfUS6jLA5/Y3y65nR1ELGdoOLoMpYO8x+K GQaOLufLfMlIzmYE= X-Received: by 2002:adf:f3c5:: with SMTP id g5mr5184248wrp.163.1589562487281; Fri, 15 May 2020 10:08:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmryfUMk6ADmORi3lXVAD0PX080iwYHmI+TSMJgDPYWDKRZqTqv4yQhjfdJ0nFKuALcQFsCw== X-Received: by 2002:adf:f3c5:: with SMTP id g5mr5184202wrp.163.1589562486916; Fri, 15 May 2020 10:08:06 -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 g24sm4763681wrb.35.2020.05.15.10.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:08:06 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 00/10] accel: Allow targets to use Kconfig, disable semihosting by default Date: Fri, 15 May 2020 19:07:54 +0200 Message-Id: <20200515170804.5707-1-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 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: Marek Vasut , Peter Maydell , Thomas Huth , qemu-riscv@nongnu.org, Sagar Karandikar , Bastian Koppelmann , Chris Wulff , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This series include generic patches I took of the KVM/ARM specific series which will follow. - List orphan accelerators in MAINTAINERS - Add accel/Kconfig - Allow targets to use their how Kconfig - Enforce semihosting on architecture where required, disable it elsewhere Since v1: https://www.mail-archive.com/qemu-devel@nongnu.org/msg689024.html - Drop HVF MAINTAINERS patch (merged elsewhere) - Kconfig-select SEMIHOSTING (bonzini) - Drop user-mode selection patches - consider m68k/nios2/xtensa/riscv (pm215) - reword Kconfig SEMIHOSTING description (pm215) - reset some of rth R-b tags Previous RFC for semihosting posted earlier: https://www.mail-archive.com/qemu-devel@nongnu.org/msg631218.html $ git backport-diff -u v1 -r v2 Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively 001/10:[----] [--] 'MAINTAINERS: Fix KVM path expansion glob' 002/10:[----] [-C] 'MAINTAINERS: Add an 'overall' entry for accelerators' 003/10:[----] [-C] 'MAINTAINERS: Add an entry for the HAX accelerator' 004/10:[down] 'accel/tcg: Add stub for probe_access()' 005/10:[down] 'Makefile: Remove dangerous EOL trailing backslash' 006/10:[0003] [FC] 'Makefile: Write MINIKCONF variables as one entry per line' 007/10:[----] [--] 'accel/Kconfig: Extract accel selectors into their own config' 008/10:[----] [--] 'accel/Kconfig: Add the TCG selector' 009/10:[down] 'Makefile: Allow target-specific optional Kconfig' 010/10:[0028] [FC] 'hw/semihosting: Make the feature depend of TCG, and allow to disable it' Philippe Mathieu-Daudé (10): MAINTAINERS: Fix KVM path expansion glob MAINTAINERS: Add an 'overall' entry for accelerators MAINTAINERS: Add an entry for the HAX accelerator accel/tcg: Add stub for probe_access() Makefile: Remove dangerous EOL trailing backslash Makefile: Write MINIKCONF variables as one entry per line accel/Kconfig: Extract accel selectors into their own config accel/Kconfig: Add the TCG selector Makefile: Allow target-specific optional Kconfig hw/semihosting: Make the feature depend of TCG, and allow to disable it Makefile | 15 +++++++++++---- 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 -- accel/stubs/tcg-stub.c | 7 +++++++ Kconfig.host | 7 ------- MAINTAINERS | 17 ++++++++++++++++- accel/Kconfig | 9 +++++++++ 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 ++ 19 files changed, 60 insertions(+), 25 deletions(-) create mode 100644 accel/Kconfig 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