From patchwork Mon Jun 8 09:01:37 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: 281192 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C29BC433E0 for ; Mon, 8 Jun 2020 09:03:45 +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 6437E206D5 for ; Mon, 8 Jun 2020 09:03:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mJQHDLXv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6437E206D5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:41804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiDh2-0006dI-Ji for qemu-devel@archiver.kernel.org; Mon, 08 Jun 2020 05:03:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiDfG-0004qF-Dq; Mon, 08 Jun 2020 05:01:54 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:42843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiDfF-0004IO-FG; Mon, 08 Jun 2020 05:01:54 -0400 Received: by mail-wr1-x441.google.com with SMTP id p5so16469992wrw.9; Mon, 08 Jun 2020 02:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PQjX/hJ8Xj+F0qXfJ1YqTt2l5LpKtjI08M8rVL/0QmY=; b=mJQHDLXvaoI8riHnsnlL/1FTHibwiM4bepiDpg4wXxyQjLeNeGoyWjCFimCBwgK/0P IotHKvtbeILYblRaNbtbPmiCyXtcHmTLs69Sri8m+8rKgR93StN302kNyXzkuXOInARO JYrABbr7GMuKXJO84wykYt/naenHc4lCWbh7VR/02+VaQM1PouJNOFPaC7RYXfp2Deay ylg5Z7ntFjz0hUCql397ZXSZlo3GbBr1F/ts6D5Iyuz8VUbkGYp9UY8vhAkzgP/FU13i s4MbRnpGiCjFh2zpEJqz1aMS1ycbtVb9vmjpSbarCR5TgLA2ekE1nkB658+uMLWBz4Aq AEuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=PQjX/hJ8Xj+F0qXfJ1YqTt2l5LpKtjI08M8rVL/0QmY=; b=qGZum2npNd0Izb9lATEBfD3/qaQ5fFQ5KFHOv8fdbsDdSlx5HT1DHCbd0TEGqH9sgW rE0kF7mSkDlx7BIsDgEFKMHpczQcCyTiBFoDRm2GB89637StSmQ9E65r9XVZ8xzBlL9Y SJg7UAvu1hbi/Igrn3rcY7ZP9geL8SPQvW0SwjZs/KkrlsjhDrwwGc8Zhrkh+l9XJkeX tLSod6aq6ZHzr4Ei38TwZ23AoxyQXtZQOFZONcbL4mYC1hG3ESd/kDUFRPwdUY/VxKFc qutnxTEezg7ES7QlCMIWaRlaJdtyjCsyJcTTAuUzCYnwh825lWsLUch+ANYk/vloewBP gGBA== X-Gm-Message-State: AOAM533M0U8PngAOKY0Ph5JBbPKMAIzpmcxdt7S1+thsSDAA/PHxjhz4 IxXpUokBCKJhpNLM2aybv8+FLlPu X-Google-Smtp-Source: ABdhPJy7omzwN2JjFfX54Zn9Q/u2CeHEpxxfTpNii8yzCvFn9uMQ3IpxmbnFzapXI8iqvbWRFKwFIQ== X-Received: by 2002:adf:a283:: with SMTP id s3mr21221673wra.147.1591606910756; Mon, 08 Jun 2020 02:01:50 -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 t8sm22192989wro.56.2020.06.08.02.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 02:01:49 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 3/8] MAINTAINERS: Mark SH4 TCG target orphan Date: Mon, 8 Jun 2020 11:01:37 +0200 Message-Id: <20200608090142.6793-4-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200608090142.6793-1-f4bug@amsat.org> References: <20200608090142.6793-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, 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: Fam Zheng , Thomas Huth , Magnus Damm , Yoshinori Sato , qemu-trivial@nongnu.org, Michael Tokarev , Richard Henderson , Laurent Vivier , Markus Armbruster , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?b?ZMOp?= , Aleksandar Markovic , =?utf-8?q?Philippe?= =?utf-8?q?_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Aurelien Jarno expressed his desire to orphan the SH4 target [*]: I don't mind being [...] removed from there. I do not really have time to work on that. Mark the SH4 TCG target orphan. Many thanks to Aurelien for his substantial contributions to QEMU, and for maintaining the SH4 TCG target for various years! [*] https://www.mail-archive.com/qemu-devel@nongnu.org/msg708400.html Message-Id: <20200601214125.GA1924990@aurel32.net> Acked-by: Aurelien Jarno Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index a012d9b74e..cd65bce72b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -296,8 +296,7 @@ F: tests/tcg/s390x/ L: qemu-s390x@nongnu.org SH4 TCG CPUs -M: Aurelien Jarno -S: Odd Fixes +S: Orphan F: target/sh4/ F: disas/sh4.c From patchwork Mon Jun 8 09:01:38 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: 281191 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A393DC433DF for ; Mon, 8 Jun 2020 09:04:15 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6F2A4206D5 for ; Mon, 8 Jun 2020 09:04:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bdS7zTCJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6F2A4206D5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:43486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiDhW-0007I0-A0 for qemu-devel@archiver.kernel.org; Mon, 08 Jun 2020 05:04:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiDfH-0004s0-I4; Mon, 08 Jun 2020 05:01:55 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:36467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiDfG-0004Im-OV; Mon, 08 Jun 2020 05:01:55 -0400 Received: by mail-wr1-x441.google.com with SMTP id q11so16514197wrp.3; Mon, 08 Jun 2020 02:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=u9uKPWNzNLOY7VTU1g9/yQJr0QmghdK+v0pLVKAdyqA=; b=bdS7zTCJVo2Fpi97pJ/a1kp2/MUtm/qcx88LDDB177sj1YJH66/o6fDRCv3xu07aCp oEVQbBQb4/NjA7BY79e/+8vMhiCMecg8tN5uAOUUq1N56F63P6299NpoeV2q7CbKVQGG yIcfRw16lDsHybX2iJyo8RaiL3461R/CTQ/vJi3dsXjxsKgJ3/PAsav/fwUTPEfLgtM9 WNyXUHUwqJ7FZ1ApjgBFs0m8Y1QuVMA36/ySmTlR+XueRrz+sVGVqnA/IcMROtGLAq8M E8OLjMDsl2KIZcXeSHnO1ddaCooyhR9L907swt4moyW2xMlGnNGaL7DxaUiWJYzjLulz c6mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=u9uKPWNzNLOY7VTU1g9/yQJr0QmghdK+v0pLVKAdyqA=; b=H8mH4piAKSauYxoQgYDYyonZxCLkZJTr5HlagG7DtprUPHl9dPiv2NQKJZlwhw+Q+b oUCI6U7pNDobtfHsXHpp0cLg/MwITpVYMljkGcEDcb8SGbOfom5PMdBRPjhV6fM82AVK O/NbC1bgLzjXdrri26kse+z8d1Fm/G4sBvjKaas+uzkdBO0MLsTwui1y8Js0uWGf5HfK nNToesgAQMqPVFKevnGvN7wprTuH8k9Hleb4dfjAmrHhHHtLamcTF8z4f/hG7oBt1yAV Nu9kAnNM40D7aq5BSPbQTvb9jIrFS7/u1X96j7oVSxbqTEuqct6qGAeVZX4tKmBet3bD 1ngQ== X-Gm-Message-State: AOAM533+U0fUjThhI8oEoOmckdyLWSSx9yzsdTTNPGkBUVH4C4vIwiwH vhvHmlTd/H1Xwz734rbh7p3XUg5z X-Google-Smtp-Source: ABdhPJw8CNZCF7ebhT/i5V+X1bVg2Y3MR0QPPhz3on6NToiZNyMKIyxTaFYearezr8WJANLwL+QymA== X-Received: by 2002:a5d:684d:: with SMTP id o13mr22295827wrw.364.1591606912395; Mon, 08 Jun 2020 02:01: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 t8sm22192989wro.56.2020.06.08.02.01.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 02:01:51 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 4/8] hw/sh4: Use MemoryRegion typedef Date: Mon, 8 Jun 2020 11:01:38 +0200 Message-Id: <20200608090142.6793-5-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200608090142.6793-1-f4bug@amsat.org> References: <20200608090142.6793-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, 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: Fam Zheng , Thomas Huth , Magnus Damm , Yoshinori Sato , qemu-trivial@nongnu.org, Michael Tokarev , Richard Henderson , Laurent Vivier , Markus Armbruster , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?b?ZMOp?= , Aleksandar Markovic , =?utf-8?q?Philippe?= =?utf-8?q?_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Use the MemoryRegion type defined in "qemu/typedefs.h", to keep the repository style consistent. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20200504081653.14841-2-f4bug@amsat.org> --- include/hw/sh4/sh.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h index 767a2df7e2..fe773cb01d 100644 --- a/include/hw/sh4/sh.h +++ b/include/hw/sh4/sh.h @@ -10,9 +10,8 @@ /* sh7750.c */ struct SH7750State; -struct MemoryRegion; -struct SH7750State *sh7750_init(SuperHCPU *cpu, struct MemoryRegion *sysmem); +struct SH7750State *sh7750_init(SuperHCPU *cpu, MemoryRegion *sysmem); typedef struct { /* The callback will be triggered if any of the designated lines change */ @@ -32,7 +31,7 @@ int sh7750_register_io_device(struct SH7750State *s, #define TMU012_FEAT_TOCR (1 << 0) #define TMU012_FEAT_3CHAN (1 << 1) #define TMU012_FEAT_EXTCLK (1 << 2) -void tmu012_init(struct MemoryRegion *sysmem, hwaddr base, +void tmu012_init(MemoryRegion *sysmem, hwaddr base, int feat, uint32_t freq, qemu_irq ch0_irq, qemu_irq ch1_irq, qemu_irq ch2_irq0, qemu_irq ch2_irq1); From patchwork Mon Jun 8 09:01:40 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: 281189 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61625C433E0 for ; Mon, 8 Jun 2020 09:06: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 2E8FD206C3 for ; Mon, 8 Jun 2020 09:06:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LMypnSNi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E8FD206C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiDjy-0002yH-8P for qemu-devel@archiver.kernel.org; Mon, 08 Jun 2020 05:06:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiDfL-000509-KP; Mon, 08 Jun 2020 05:01:59 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:37671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiDfK-0004JU-RM; Mon, 08 Jun 2020 05:01:59 -0400 Received: by mail-wr1-x442.google.com with SMTP id x13so16504434wrv.4; Mon, 08 Jun 2020 02:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qKEUX8J9UiexOSRaGrgM4+4clMJ9RxUveCPFaOqjRAw=; b=LMypnSNiRGMcd1bw9a5ZzTbtpoTyhv+1WQgai5C4Pn+sb444HpB1KEQUHg7+KN7ndv igDJ+2gFJ9eBZdIXNxnfOO7RBFcGBX82QbjKCF22yWG5QE8WNuUNrmRhpdn9fdcx+Pw1 uHG23ItlfqtVEa1TnsvlySPOYhmoRd5LEKXEL09lnegPitMmFbsOpw/TxFDjL057EY/G Dsm7dCPccdF+osxrJ4/59gMBV3mTlxc1Om4uWZqPCCp0a5EAaqitD8qZPImmWQ2qVeY8 Or0bz2+0gQhXuHLEpruMx/IJpwgk3zELryPxjbPI0VpYwswMj+hlBzUiZSzzgMaw3qgl QSEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=qKEUX8J9UiexOSRaGrgM4+4clMJ9RxUveCPFaOqjRAw=; b=sVEAb+Ps8hBrMWFl4fNAuHIqL1BW27dDJrmIUf3V5XI005n/7Z56NpS7NQmKDsNkAo bCHlRkbnNIc+qyKFJJvDQC/0JRXK0MEq8i5eJ/D3qWSN25PacfBMOHaDOHoN/jR/7kFc zFXuYOaLUX2Fs99U3jL2a0c5A4bXi6chSZN6tEhsC0+AEj2htmLeob03vuhnrJ3vQ4qh cj6qqR3icjOxd3y9egbka6PYL7Zi8Ac/FTXNZLSUm8eFJOEj1jJhzf9mfHq+hgIzZZ/5 3pH9DcD0s9/Pr4MbOn8yyjJeErmkw9/DCVv+Cy8StJPs1KholVRoyqseOdeNdLGoBkvo W+jw== X-Gm-Message-State: AOAM532xE/s0vGRQ+HUBxrCBvBszqwfRVkCc477lyh8F7h9Z31LF6Nhq NRDE11nnWNiyK1f/cSC43oQSeP8e X-Google-Smtp-Source: ABdhPJzsaYG/EcdmjVSDN14ud1kdq+OhujedXbe6h0OQDBOdD8KCYjYmJw5Sxb8NeI1av3R9UB/NFg== X-Received: by 2002:adf:b348:: with SMTP id k8mr24601253wrd.157.1591606916906; Mon, 08 Jun 2020 02:01:56 -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 t8sm22192989wro.56.2020.06.08.02.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 02:01:56 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 6/8] hw/timer/sh_timer: Remove unused 'qemu/timer.h' include Date: Mon, 8 Jun 2020 11:01:40 +0200 Message-Id: <20200608090142.6793-7-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200608090142.6793-1-f4bug@amsat.org> References: <20200608090142.6793-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, 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: Fam Zheng , Thomas Huth , Magnus Damm , Yoshinori Sato , qemu-trivial@nongnu.org, Michael Tokarev , Richard Henderson , Laurent Vivier , Markus Armbruster , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?b?ZMOp?= , Aleksandar Markovic , =?utf-8?q?Philippe?= =?utf-8?q?_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Remove unused "qemu/timer.h" include. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20200504081653.14841-4-f4bug@amsat.org> --- hw/timer/sh_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/timer/sh_timer.c b/hw/timer/sh_timer.c index b9cbacf5d0..bb0e1c8ee5 100644 --- a/hw/timer/sh_timer.c +++ b/hw/timer/sh_timer.c @@ -13,7 +13,6 @@ #include "hw/hw.h" #include "hw/irq.h" #include "hw/sh4/sh.h" -#include "qemu/timer.h" #include "hw/timer/tmu012.h" #include "hw/ptimer.h" From patchwork Mon Jun 8 09:01:41 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: 281190 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 327DBC433DF for ; Mon, 8 Jun 2020 09:06:28 +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 F134D20760 for ; Mon, 8 Jun 2020 09:06:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XCsP5t7P" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F134D20760 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:51616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiDjf-0002LF-7l for qemu-devel@archiver.kernel.org; Mon, 08 Jun 2020 05:06:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiDfZ-0005D3-0a; Mon, 08 Jun 2020 05:02:19 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:54577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiDfM-0004Jr-97; Mon, 08 Jun 2020 05:02:11 -0400 Received: by mail-wm1-x32d.google.com with SMTP id g10so14532037wmh.4; Mon, 08 Jun 2020 02:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GIhXAw4hO0rsp7xfE0WleKuNym34yW50KXceAXKBDO8=; b=XCsP5t7PplE4AfM4ph0HUK5+LxEY6Rf+e8VFW6aXOCgB4uiC+BHMzkisHNAhaFa2TT 5NURvdEfPw9FZG0L/GIZyFEmX2N+mfAqgziWBdspsXvN2Uu8RnjPP0JR2tW6cQY7WdhB TE6PlLp1fvmn6Xola+IzbYF1hUV0GbIKRivk3iWg9xBYz2IqiYR3s5agM0Kw1jfMQBqB 5sH8pt4jCGJxs5tVtsW35v9WSZ8mcxWz8wrl0qE9Fd75xQiTu5W980I5qgqlsc6cwtwc R8tObq643cGBTDis9rPKyGHAPKXgC2CfqJJT10RIFRe4YqiJRdS/5+bwnXLLPuACTraQ tedw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=GIhXAw4hO0rsp7xfE0WleKuNym34yW50KXceAXKBDO8=; b=ML0XLsS+frClN8w0WePvuBKkJJenyr611IBNSMHTS97NdLyB1nsZC9dIAmKZVnCP5F /muZZWbQ6WNhVnaVoKes2mTAHXtSLTnsQHJ4NZUaX4bT8WmPjYDNb/mF+yZ8LrKDDB9N eXSDgNQNAmVsH4qWmlB6Wb75/EtPHZePIA5E3nQgoSTFqsoVtfaZtNt0HAElnoV97sUS 6ruAeHYmeSIViSkxZOGDKyQz5vCVBkVoLBA+JcOOtnOAepWVXjEBDK9UhArDroS8ovFO i8exsMxsMW7AP9H31khu0CYgY8klMDdUuaUYQlR91EvDtrWYjf/3iBJtYBKz72lbFF23 yplg== X-Gm-Message-State: AOAM532QfMP+A8kU+rtMBc2DeCyPoy7C2t01rEMZtp345d3Y+FPp0k/N DYgZzsu1EW86gsUmN7d2+ztHHrv0 X-Google-Smtp-Source: ABdhPJxtaFetxfOC/b45Gy5OTKd0LbHmNacR4nsHMVQ7kfizV/AFJeBXBU86otpLUygmf52SC/ZAow== X-Received: by 2002:a05:600c:2284:: with SMTP id 4mr14780685wmf.57.1591606918366; Mon, 08 Jun 2020 02:01:58 -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 t8sm22192989wro.56.2020.06.08.02.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 02:01:57 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 7/8] tests/acceptance: Add boot tests for sh4 QEMU advent calendar image Date: Mon, 8 Jun 2020 11:01:41 +0200 Message-Id: <20200608090142.6793-8-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200608090142.6793-1-f4bug@amsat.org> References: <20200608090142.6793-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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: Fam Zheng , Thomas Huth , Magnus Damm , Yoshinori Sato , qemu-trivial@nongnu.org, Michael Tokarev , Richard Henderson , Laurent Vivier , Markus Armbruster , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?b?ZMOp?= , Aleksandar Markovic , =?utf-8?q?Philippe?= =?utf-8?q?_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth Now that we can select the second serial console in the acceptance tests (see commit 746f244d9720 "Allow to use other serial consoles than default"), we can also test the sh4 image from the QEMU advent calendar 2018. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200515164337.4899-1-thuth@redhat.com> [PMD: Split .travis.yml change in separate patch] Signed-off-by: Philippe Mathieu-Daudé --- tests/acceptance/boot_linux_console.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py index 12725d4529..d4fb2bce82 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -827,12 +827,12 @@ def test_m68k_q800(self): console_pattern = 'No filesystem could mount root' self.wait_for_console_pattern(console_pattern) - def do_test_advcal_2018(self, day, tar_hash, kernel_name): + def do_test_advcal_2018(self, day, tar_hash, kernel_name, console=0): tar_url = ('https://www.qemu-advent-calendar.org' '/2018/download/day' + day + '.tar.xz') file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) archive.extract(file_path, self.workdir) - self.vm.set_console() + self.vm.set_console(console_index=console) self.vm.add_args('-kernel', self.workdir + '/day' + day + '/' + kernel_name) self.vm.launch() @@ -906,6 +906,15 @@ def test_ppc_mac99(self): self.vm.add_args('-M', 'graphics=off') self.do_test_advcal_2018('15', tar_hash, 'invaders.elf') + def test_sh4_r2d(self): + """ + :avocado: tags=arch:sh4 + :avocado: tags=machine:r2d + """ + tar_hash = 'fe06a4fd8ccbf2e27928d64472939d47829d4c7e' + self.vm.add_args('-append', 'console=ttySC1') + self.do_test_advcal_2018('09', tar_hash, 'zImage', console=1) + def test_sparc_ss20(self): """ :avocado: tags=arch:sparc