From patchwork Thu Jun 11 11:43:11 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: 11599785 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 62CF290 for ; Thu, 11 Jun 2020 11:45:01 +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 338502072F for ; Thu, 11 Jun 2020 11:45:01 +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="lfnfqaMC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 338502072F 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:56412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjLdk-0004HJ-DJ for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Jun 2020 07:45:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjLcP-0001uT-3A; Thu, 11 Jun 2020 07:43:37 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:40763) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjLcM-0001pV-S9; Thu, 11 Jun 2020 07:43:36 -0400 Received: by mail-wm1-x342.google.com with SMTP id r15so4724578wmh.5; Thu, 11 Jun 2020 04:43:23 -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=80floXzvgIJhTS63719Lyq+p7spo/IICK3QTBWax2dQ=; b=lfnfqaMCiRIzbgO7NXHPqomug6LPShyPgqR8Ygi/adgYrWU4e8JCx67CJZYDj2pPhM KfQYSPY9DuZU7ZpKQwRblMiTTLPa9qnA50sjYMwMJ6CurjYSgmUoqSjM3h24IgwIKAAy AWILwarJJZv6Yz0z9M/hceDT7tAqqh7YOQX4GaKTiVPpAiCJ1v5iUoQZP9HHH/W1yPn1 RgPmHznOFsDnlpfslc3OlBAYL7PUvouvIJtkyvJuQ6pLCUVYkK4VnvRflEoHqipw32xZ 1ksvkOh5SZSy7tiSKW2kSMyunZnNzkBpyDebPX0xwpvzKuw//+awT/Djw3zXhrKNoQcO UF0A== 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=80floXzvgIJhTS63719Lyq+p7spo/IICK3QTBWax2dQ=; b=MGoC4oGQt3f10d6qcU5KWEwo2AJuZRwUnb4uH1Cl+HuapRMc7ulN/UiqGB24yzaGOq dBzYiTN9v+pByuaBm47wgfADX86dQNQqqF21YyuEBi/GmqDwz4akcl7d6LdmoGnsU7A5 QFehaLpBudAjcZIGsMpTTTMgRAQRjVjObVcT6yMNReEFxpOBdALHWvNZFxRW+RMeetJa 7WEal2gkUwBHOkqMo32adyOogWqDs6c3KeZ8t/adzZ8kOg4yTTNyi2EypZWdmSYdt7NA qN8Kmu+BvCKqGNAUBn6rvU/+hg7wdkO0cL2HRu1jBkIiW4UlDKUNvtojrCB2KZ71VeYa VZsQ== X-Gm-Message-State: AOAM531aTbB8XoZkF9cleH3VXwDs/4XQv565mYOfmZzwrVOaT1cpaGmz bLqUjwHlaCtrXjf8ZCJ6NIMP/Gnu X-Google-Smtp-Source: ABdhPJwjFomuE15rMOEiqO+H/XcwhbxpmXHH3qVCyeuW7ALKPfLyyniudI5iSTmNRPhMCc+sUL6IQA== X-Received: by 2002:a1c:a74f:: with SMTP id q76mr8244114wme.65.1591875802327; Thu, 11 Jun 2020 04:43:22 -0700 (PDT) Received: from x1w.redhat.com (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id h29sm4832863wrc.78.2020.06.11.04.43.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 04:43:21 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 1/7] MAINTAINERS: Cover 'hw/sh4/sh_intc.h' with the R2D machine Date: Thu, 11 Jun 2020 13:43:11 +0200 Message-Id: <20200611114317.13044-2-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200611114317.13044-1-f4bug@amsat.org> References: <20200611114317.13044-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x342.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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: Fam Zheng , Yoshinori Sato , qemu-trivial@nongnu.org, Magnus Damm , Michael Tokarev , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Commit 81527b94ad added hw/intc/sh_intc.c, complete by adding its corresponding header. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 13711aafe8..87ceca7ff1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1257,6 +1257,7 @@ S: Maintained F: hw/sh4/r2d.c F: hw/intc/sh_intc.c F: hw/timer/sh_timer.c +F: include/hw/sh4/sh_intc.h Shix M: Yoshinori Sato From patchwork Thu Jun 11 11:43:12 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: 11599789 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74CFA90 for ; Thu, 11 Jun 2020 11:45:54 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 48DB22072F for ; Thu, 11 Jun 2020 11:45:54 +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="bs5j9Qhw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 48DB22072F 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:59156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjLeb-0005Tx-FJ for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Jun 2020 07:45:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjLcO-0001ti-EZ; Thu, 11 Jun 2020 07:43:36 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:41506) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjLcN-0001q5-N4; Thu, 11 Jun 2020 07:43:36 -0400 Received: by mail-wr1-x441.google.com with SMTP id j10so5806656wrw.8; Thu, 11 Jun 2020 04:43:24 -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=sm1O72gHLNjrXfcoGbVFW0OVY22y9Ts8wW5TaWWep7I=; b=bs5j9QhwY3llV2EA11BnJ4xIJxEHOGHvhfpY/wPdlioOI+DtRelUcarSR3nSeiriZN fVkHEiUDSpSyiupfqccVZLZGFIKqLGg3azxMkdpAsDCcleVepzcM1nx5/FVIL4Fxd3MM VBhRHoIytQHZwenDuCdN6QXLzdZkE4fMwd3y+jyg2jfE+P/iKMDOR5wD75KdyShhDV7S EVDREYfVyvD3WDzaDyFv6OlyfUIIoyWq7BvkC36Lj5OlfcTG5yEFwfTVK8FpDDkQCHc5 ZUXbL2E7vpRZsU5MzMljV0Q0U6WhK336+7hF/AtwR1hgIqJxySID6q548uB4Bv3Wm0C2 O9QQ== 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=sm1O72gHLNjrXfcoGbVFW0OVY22y9Ts8wW5TaWWep7I=; b=sizyhuQ/sLXlcAbo5ipd3ftJMvflK8LNJQfbAt50hsAHEmWXXEqYD66i2teFC3rcW3 00VuZw2qHumlFEDeLaBirBtNM0fTipyCIR/oBPgv0s14Xost9lb4J+6Fo064BTAiJPP5 lpQeOhBc4wtMA9D641H0OwOyfS8qskx9JMhwqeQcJ33/d8F50drZEO1uaGwdU5i4AnRn Z4Et3zXpEuHdgDXQp4/l+iTf+4JDNUwNP+0x7faPIgOY/BlDRpXAGpJReEmB5k48O+Bb fH+YKNsl8q6rpllskm3LZZiS327NJV6zK/gjj5o/zx5yqEy2gzKoxQ/e/6nlg7YMMokJ CACQ== X-Gm-Message-State: AOAM530zUPoxaWjOjDgqJY9WEk8lBPFGoXomSyuEzdLjpIsnPYJ9pbcX bYDiplVfom53LLE4qr0HeC3NdtHr X-Google-Smtp-Source: ABdhPJzRHe4udQwxSw0p6ZmpS7VSFtUjXQNjgbqiISfvXgE7MVR8csanstCD2Z7QgOAUjyfnzqHrUQ== X-Received: by 2002:a5d:44cf:: with SMTP id z15mr9650488wrr.164.1591875803666; Thu, 11 Jun 2020 04:43:23 -0700 (PDT) Received: from x1w.redhat.com (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id h29sm4832863wrc.78.2020.06.11.04.43.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 04:43:22 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 2/7] MAINTAINERS: Add an entry for common Renesas peripherals Date: Thu, 11 Jun 2020 13:43:12 +0200 Message-Id: <20200611114317.13044-3-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200611114317.13044-1-f4bug@amsat.org> References: <20200611114317.13044-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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: Fam Zheng , Yoshinori Sato , qemu-trivial@nongnu.org, Magnus Damm , Michael Tokarev , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Renesas peripherals are common to SH4/RX based MCUs. Their datasheets share common sections. It makes sense to maintain them altogether. Add the uncovered UART SCI peripheral. The current names are misleading (see the 'sh_' prefix). In another series we will remove these peripherals with the 'renesas_' prefix. Out of the scope of this change in MAINTAINERS. Cc: Magnus Damm Cc: Yoshinori Sato Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- MAINTAINERS | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 87ceca7ff1..4792509673 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1256,7 +1256,6 @@ R: Magnus Damm S: Maintained F: hw/sh4/r2d.c F: hw/intc/sh_intc.c -F: hw/timer/sh_timer.c F: include/hw/sh4/sh_intc.h Shix @@ -1958,6 +1957,14 @@ F: hw/*/*xive* F: include/hw/*/*xive* F: docs/*/*xive* +Renesas peripherals +M: Yoshinori Sato +R: Magnus Damm +S: Maintained +F: hw/char/sh_serial.c +F: hw/timer/sh_timer.c +F: include/hw/sh4/sh.h + Subsystems ---------- Audio From patchwork Thu Jun 11 11:43:13 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: 11599787 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B5A8090 for ; Thu, 11 Jun 2020 11:45:04 +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 8A3F22072F for ; Thu, 11 Jun 2020 11:45:04 +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="KRdSs5et" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8A3F22072F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:56662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjLdn-0004NF-JW for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Jun 2020 07:45:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjLcQ-0001wM-NP; Thu, 11 Jun 2020 07:43:38 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:33895) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjLcP-0001qo-KK; Thu, 11 Jun 2020 07:43:38 -0400 Received: by mail-wr1-x442.google.com with SMTP id r7so5841928wro.1; Thu, 11 Jun 2020 04:43:26 -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=B90u68HWanE8Ef/dq5GEfdfCsFqZeY71gyQo1Aa7Eho=; b=KRdSs5etXYB7VhCaFESVJTcUxnkLKZJqRDxW57un9lr2AKgkDFnyxi2scXv0okNWJb FjyLLlELJH7B5bPtuqIxfYF/Nh7uQfKNHDFtVElAU8zMsq7m7fumli9hTsco9IRhwdgL 4Q9Pj7A0zIPXSRw+YExwxpLVskDTnqA7wIq75Yd0Qe3fvAJuqKaNeB5olusBE0wkVTd2 23j+TTBE/zVLtVslAcg7m0tZARsgWCb6ucaY+73Hk72CgLlQ8TNf3e3haww8k5oADOtL Hx+9Hmfj1aqGvn5Yhg0lvifJ+AqeZZEwdxDr6G7p4s93at2tT6gu2t8NDpAeT1xRvIHR EvoQ== 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=B90u68HWanE8Ef/dq5GEfdfCsFqZeY71gyQo1Aa7Eho=; b=e0W9njcT31xOkDuB6y8JQRDKk6pgHQ0Q7QamB9g5l4Qn/ounB4Eo6Ovl2HiSPr/XWH ML5IFg8UxO7I1HS/2JiF+43Lbc/hHAmBKcAPBd5LSGPv2EBjQRfBso7Vda7nRWM9jYD5 80+AQ0OkzUB2YlNP3Mztrf3Pb+mkzQln0iR8hlLiKLImaGLTjIBWACSkFm5bre8S/hbs BUooToWz01wewgbEfDkfgipLy6Ax0wsQusFXLKgkgjte6YDMeLXMxH6EYsQmJ0QvjT4d 2UAuS039ZuGeiTK6vrS9mRpUHjSXA4G5W9j6lpvfUE5Zd4I2/NKNY4xYzGB2T8Eyn3Qc a5yg== X-Gm-Message-State: AOAM530B+wwudQEecrnScUZhFoaWZA43EDB7lgQO2HPE2+qB6coidm++ 8VFhKJWHlPF5cNlBEnEZbcQfHxNJ X-Google-Smtp-Source: ABdhPJwcBUHapxvBgF2I/O2kNdfTS1HheXb7dQHbQpWWRNcZznU+SAfzP6ukUThgzLgoIDyxO7RMMA== X-Received: by 2002:adf:fc81:: with SMTP id g1mr9343151wrr.156.1591875805030; Thu, 11 Jun 2020 04:43:25 -0700 (PDT) Received: from x1w.redhat.com (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id h29sm4832863wrc.78.2020.06.11.04.43.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 04:43:24 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 3/7] hw/sh4: Use MemoryRegion typedef Date: Thu, 11 Jun 2020 13:43:13 +0200 Message-Id: <20200611114317.13044-4-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200611114317.13044-1-f4bug@amsat.org> References: <20200611114317.13044-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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: Fam Zheng , Thomas Huth , Yoshinori Sato , qemu-trivial@nongnu.org, Magnus Damm , Michael Tokarev , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Use the MemoryRegion type defined in "qemu/typedefs.h", to keep the repository style consistent. Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé --- 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 Thu Jun 11 11:43:14 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: 11599817 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 870AC90 for ; Thu, 11 Jun 2020 11:48:41 +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 5D1DF2072F for ; Thu, 11 Jun 2020 11:48:41 +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="IOPrqH/Y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5D1DF2072F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:39894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjLhI-0001CR-JV for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Jun 2020 07:48:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjLcR-0001xm-CE; Thu, 11 Jun 2020 07:43:39 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:39957) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjLcQ-0001rJ-IZ; Thu, 11 Jun 2020 07:43:39 -0400 Received: by mail-wr1-x443.google.com with SMTP id h5so5822921wrc.7; Thu, 11 Jun 2020 04:43:27 -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=8b3HXRDRgYc7wWaPey7dft5cQmLY7o7QcJ77viT780g=; b=IOPrqH/Ye4O+raoOM2jedEclGHK08/B0sAxd+yvVWJOrO6r0wYafpnOIJdZRPqCiNL /mKWQcoHedYDBGQvy76H/r2QosdGWjMl0HklZer+4PQ+J2tZUzWN4pYw/g3v2vKcljMu icIa4U8uxPlEVPcGhSAuUAnJmyqIDn7Lyhx2t4SyTF6T6h0kP5xxcKGRhKgAWaRfhwfr erMV+tVnNes3kEjtoM4gctqxuBSDIzM7chykfLdgsRrTu1juit5DR5JiXix70c+CjrYz pVZUZL05XzLEJojEXoAIj4mAcnHcp4xKbSxKhfjqGfabdLqZdF1mRZT4Xyel21ZkT9NZ OqeQ== 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=8b3HXRDRgYc7wWaPey7dft5cQmLY7o7QcJ77viT780g=; b=sxIKasVEuBr9V6F2h5IdPIluge65F1D2IRy5MOMu1J0q3XZirxLE33y3hwwv8oJmVB yW1+4RPF7dOa+XFcwAg90XfLT/4nos4rh5+i7BhJnpyfJwK+pqNNUqjPqJZxdjTbTqV8 AXGjJq9dFI/EAq/2wcqQBuVJiRkIcr+Zl4QyigpPkaw22QYqDjqq7+HdqijaJx7H60+e KngxeMUphAQp+TsbLmHjyi2x2iiXwJpoPqtQxc4TkV9OPSJMns0N/mnDqL9B871znac7 UDmLBLd4vnJMAEXLS3J3i68Y1NjRxgIclrECWfz+nP2BJn8cpgVedFt1vvoCOeiPOCZ2 eAJw== X-Gm-Message-State: AOAM530PlbGXvfnQG6buCByr1YJoZJQX5CDfZS92G7v0RkATtkH2kEUT NApaiSrovSqZPJjv3LqYTP+AUj4I X-Google-Smtp-Source: ABdhPJwln6u2PrOtmnmJUWxncBkooV2OJxy4+TvhwcjmVb5YEMawrNrmQzlE75zeq5NQloWFP8fPHQ== X-Received: by 2002:a5d:50c9:: with SMTP id f9mr9493024wrt.9.1591875806373; Thu, 11 Jun 2020 04:43:26 -0700 (PDT) Received: from x1w.redhat.com (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id h29sm4832863wrc.78.2020.06.11.04.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 04:43:25 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 4/7] hw/sh4: Extract timer definitions to 'hw/timer/tmu012.h' Date: Thu, 11 Jun 2020 13:43:14 +0200 Message-Id: <20200611114317.13044-5-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200611114317.13044-1-f4bug@amsat.org> References: <20200611114317.13044-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x443.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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: Fam Zheng , Yoshinori Sato , qemu-trivial@nongnu.org, Magnus Damm , Michael Tokarev , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Extract timer definitions to 'hw/timer/tmu012.h'. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- include/hw/sh4/sh.h | 9 --------- include/hw/timer/tmu012.h | 23 +++++++++++++++++++++++ hw/sh4/sh7750.c | 1 + hw/timer/sh_timer.c | 2 ++ 4 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 include/hw/timer/tmu012.h diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h index fe773cb01d..93f464bf4c 100644 --- a/include/hw/sh4/sh.h +++ b/include/hw/sh4/sh.h @@ -27,15 +27,6 @@ typedef struct { int sh7750_register_io_device(struct SH7750State *s, sh7750_io_device * device); -/* sh_timer.c */ -#define TMU012_FEAT_TOCR (1 << 0) -#define TMU012_FEAT_3CHAN (1 << 1) -#define TMU012_FEAT_EXTCLK (1 << 2) -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); - /* sh_serial.c */ #define SH_SERIAL_FEAT_SCIF (1 << 0) diff --git a/include/hw/timer/tmu012.h b/include/hw/timer/tmu012.h new file mode 100644 index 0000000000..808ed8de1d --- /dev/null +++ b/include/hw/timer/tmu012.h @@ -0,0 +1,23 @@ +/* + * SuperH Timer + * + * Copyright (c) 2007 Magnus Damm + * + * This code is licensed under the GPL. + */ + +#ifndef HW_TIMER_TMU012_H +#define HW_TIMER_TMU012_H + +#include "exec/hwaddr.h" + +#define TMU012_FEAT_TOCR (1 << 0) +#define TMU012_FEAT_3CHAN (1 << 1) +#define TMU012_FEAT_EXTCLK (1 << 2) + +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); + +#endif diff --git a/hw/sh4/sh7750.c b/hw/sh4/sh7750.c index d660714443..f8ac3ec6e3 100644 --- a/hw/sh4/sh7750.c +++ b/hw/sh4/sh7750.c @@ -30,6 +30,7 @@ #include "sh7750_regs.h" #include "sh7750_regnames.h" #include "hw/sh4/sh_intc.h" +#include "hw/timer/tmu012.h" #include "cpu.h" #include "exec/exec-all.h" diff --git a/hw/timer/sh_timer.c b/hw/timer/sh_timer.c index 13c4051808..b9cbacf5d0 100644 --- a/hw/timer/sh_timer.c +++ b/hw/timer/sh_timer.c @@ -9,10 +9,12 @@ */ #include "qemu/osdep.h" +#include "exec/memory.h" #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" //#define DEBUG_TIMER From patchwork Thu Jun 11 11:43:15 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: 11599811 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 13FF490 for ; Thu, 11 Jun 2020 11:48:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DED52207ED for ; Thu, 11 Jun 2020 11:48:05 +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="UOiu10D4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DED52207ED 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:37948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjLgj-0008RQ-3o for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Jun 2020 07:48:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjLcS-00020B-Sg; Thu, 11 Jun 2020 07:43:40 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:54491) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjLcR-0001ra-Sq; Thu, 11 Jun 2020 07:43:40 -0400 Received: by mail-wm1-x341.google.com with SMTP id g10so4676195wmh.4; Thu, 11 Jun 2020 04:43:28 -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=fCWXr6zHNQbQPJ8BLLwrAx76MymcZFD1NlfKOZXdkr4=; b=UOiu10D4aSgaDFRlMJNytYn/Q7gzW+vFYxQlQYgo7S/b3+dKgXavuBn+ayrHJ1Raxc ar1whJ832CHvBvtJJXum61KlUPzA2X6KW/ttA+ryRMFdWv5NdhxvTaXyG8yK+SM9Ow+O Lcw8jM7WNuvdKKbELsScO7U212WiJLo2K7biWJ4jxGS2PK2Vs1JfFuMnZpt9KDA/8CEh 9YsJz2RnURDkIqBhQnTNz6OItAekH3OIl0TPL4TkyxrZ3zlsVL0KNNPMZ/etCRdZagKG C9cVsS6fIoP+7uUTGyBHWNwQ9lazUhD23AGoW8RNbXyMeHZCVyctJkArq0aK/kLZJ0/6 7jNA== 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=fCWXr6zHNQbQPJ8BLLwrAx76MymcZFD1NlfKOZXdkr4=; b=C+ODsAENLL+TDcQpmo8HZy6IxQEA35IIyiD5PwLhfXm0sEoT8klBpTfp7sJB3elACe tu7gbL381cFTAc9WXdcD1mc1cZylK1Y4fcGELak4tReRECsSts6z15YIk4m0g/9ju1Xk KeBRVx/vsf7/SQ60rE5q+4SiBUKfn3lXZH9QIUpoLbTnkGZchfEFOkOFQkZfcvXfacIy hl9q2J64eOl6vpdkBjqGVkceGDjr95cv3w42GL3ow7Ox0QX/TPZR1WvDMWS/WA9RHdpm 0Tw2KYfPRv0Ohg7iUmf3ICOtKV0F6DZLR3qFD3vaijbS/mGSBlWLAp+t/wX11UZFXNq2 dGNg== X-Gm-Message-State: AOAM5331LcOnVVGj7qJcmlwyogB0H2U2548M5wT3b+iu1Wd4us8GAE+V siDs59ARWwuHCmdScYL8U5iOVaAG X-Google-Smtp-Source: ABdhPJzDPpyP/JzSSvCY6RWZY6JFqN54fAIRSfB5l6XFm8wGuoCaCDoMb8DsKq/sGimWoei4QDwt2Q== X-Received: by 2002:a7b:c951:: with SMTP id i17mr7493918wml.44.1591875807714; Thu, 11 Jun 2020 04:43:27 -0700 (PDT) Received: from x1w.redhat.com (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id h29sm4832863wrc.78.2020.06.11.04.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 04:43:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 5/7] hw/timer/sh_timer: Remove unused 'qemu/timer.h' include Date: Thu, 11 Jun 2020 13:43:15 +0200 Message-Id: <20200611114317.13044-6-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200611114317.13044-1-f4bug@amsat.org> References: <20200611114317.13044-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x341.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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: Fam Zheng , Yoshinori Sato , qemu-trivial@nongnu.org, Magnus Damm , Michael Tokarev , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Remove unused "qemu/timer.h" include. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- 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 Thu Jun 11 11:43:16 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: 11599815 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3EAC590 for ; Thu, 11 Jun 2020 11:48:33 +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 13FB12072F for ; Thu, 11 Jun 2020 11:48:33 +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="aHj0uPxZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13FB12072F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:39354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjLhA-0000qd-AA for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Jun 2020 07:48:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjLcU-00024b-Rm; Thu, 11 Jun 2020 07:43:42 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:38639) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjLcT-0001sA-FU; Thu, 11 Jun 2020 07:43:42 -0400 Received: by mail-wr1-x443.google.com with SMTP id e1so5818350wrt.5; Thu, 11 Jun 2020 04:43:30 -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=w8hUc/1TWyX+gQCAaNVvAefQWKI4RgRqWbvHS2ef4jA=; b=aHj0uPxZJDs49XH+xcXx/iLbO9Ht/88aOwL5hdo5+rINDauqz6od5xCx5cQmTXU2Gw o/xjCD8IbOY952Oy+DDnQbxYirJ6l/9hzdDhDzIwdLbApM1Sh+2VGPGVzWF5Z2TzPbpU OYmUjHdIFcW354YU092CNIynHGeB7pG55g+c/5MhpUkSmzyhOBQhOrX3eQhZFvpUmjwp 6VfRSZTysiBolw1JUcWU6WENs902FMmJhrMWTSUXHLVvIGRoXSIiB1iV7dW2jCZQdUoI ctNIsh4MfJwqBbGCrMtj2tezWc3QBN0G8UvXiHw83O/8S0UHh30XV11aTXZTvmET2Xpk +PRw== 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=w8hUc/1TWyX+gQCAaNVvAefQWKI4RgRqWbvHS2ef4jA=; b=pLSkizUd8AXIdkqAui1vQltkctGadaHBQvLM2ts6tZRnGU4Ar4ipFTU3CwsbLx/hwz MhfkoQZBP3kHr7JN2KSLaaciap94CIL9BB1UdLw/AJoUNjWaKhV6OkU13vGgZUP87Mt8 LMdSTpcFii2ZTDovqTtTFUCI0wBbAajVCeWYU9MMeWXYc5qwbRHyi6ue3ZgJrE7juSfr 4aZR0TntNOrbh4Elh4whNjozTsrSoODiXWznx+XpUDI1pK6xk2n3bVyu8g6Ph0ZJie7y 6TT6JNNU4wlTwhMiygyqErHdxXs3oU/SqQIqEbWAjmOxkDNR9UuUs5Aqn1jQpgBLHp2e rKJA== X-Gm-Message-State: AOAM532jBCxVgZ//UL4pSj0Mur/o3R8Oet1U197oNKXGH96+bo3j/s3y bhovdmxtRcG5+OiHhQ3zv+nKQ/5+ X-Google-Smtp-Source: ABdhPJzjKwDoNQlBzccHESMWkb2nPVkZvvdPYuIDeH+i23r4vQBKWb7RsrMVg+hkrisXd0t8ThbipQ== X-Received: by 2002:a5d:4ec3:: with SMTP id s3mr9746159wrv.103.1591875809199; Thu, 11 Jun 2020 04:43:29 -0700 (PDT) Received: from x1w.redhat.com (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id h29sm4832863wrc.78.2020.06.11.04.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 04:43:28 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 6/7] tests/acceptance: Add boot tests for sh4 QEMU advent calendar image Date: Thu, 11 Jun 2020 13:43:16 +0200 Message-Id: <20200611114317.13044-7-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200611114317.13044-1-f4bug@amsat.org> References: <20200611114317.13044-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x443.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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: Fam Zheng , Thomas Huth , Yoshinori Sato , qemu-trivial@nongnu.org, Magnus Damm , Michael Tokarev , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 3f3aa0c854..3d02519660 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -858,12 +858,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() @@ -937,6 +937,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 From patchwork Thu Jun 11 11:43:17 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: 11599819 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0BA77912 for ; Thu, 11 Jun 2020 11:50:56 +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 CE77020691 for ; Thu, 11 Jun 2020 11:50:55 +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="TiajQ8p5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE77020691 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:45282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjLjS-0003ej-VP for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Jun 2020 07:50:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjLcV-00026o-Sw; Thu, 11 Jun 2020 07:43:43 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:37797) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjLcV-0001sQ-5d; Thu, 11 Jun 2020 07:43:43 -0400 Received: by mail-wr1-x443.google.com with SMTP id x13so5824448wrv.4; Thu, 11 Jun 2020 04:43:31 -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=RyB5laGZqcuqh7DkQBAguo9SE2App1lOHf/woViMpfs=; b=TiajQ8p5g4ekcdqLrLtXA9kOkwx4HuUpUq/eL0KJW66l44yEBBtgMpGbcTt2cPcH23 N3ORFAEO09JUF/aEMl+HtsHRggeWnqLICgOrfSlyydf/rIqzBC4V9dXJ59LZjqGRrzY3 HIe9G+/cg3v4FWJ1M55U6g/uYIOJb/Av6G96NllBYOit1chMvgdJY8JsSneyOsI5heNr 3otvHjkqC2XYIrhAYNizl40eQnc+GrvQsguLNlmNQ7grw5VB6EYOQ3KSsqxlqLCIisCQ BN2nppqKThdY8Xn8nSeUPbStfIDte+9gVx6wcwLkOQFJTgTBdiZmPVogFq8ns4F/1sbS Om2w== 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=RyB5laGZqcuqh7DkQBAguo9SE2App1lOHf/woViMpfs=; b=N2L7vFRXK8Wi4ihrs0bmwAaag83cQvcq5zdN/A+QI8wIntIii9oqtYsDnQitLKA0U0 h0GFqcWvWVFLLlOp61mJA8yCxieK/SBGhpWc8KNte92es0G+FLVOvGaEiiW4UgMCRxjk lsMQ9sfILX6R1i9gODSxQhvbxsDKCVmpl1TrP9cJmXwV/xTwecv2rb64u7RnZlu4QeEB RgzskUsWy621lKbXrpYuLWrc6zgdmaRuzPwO/EApORg7qGCuY2V2/S+C80ibENIj0dgH dMFfzDtCfF2EU5eXAcVXiLYu/J/CfGIhPctL2PYLMUyifZcX0iIFUemSbquiaG3ud7m9 1btg== X-Gm-Message-State: AOAM530XEf2jh7gv0Tl85qiPoTh+aX1nBN7YTIucntTR0UfL4/t/RaiJ 6DQKyr5UsFCfAF/aYEYCIFmyuB0o X-Google-Smtp-Source: ABdhPJwKbpviewOqD2a0GCbY/AYeAXqG4oT/K2w5dTDTYCEZHiyLF2pACckP8M6eEYlaaLR3TF5bBA== X-Received: by 2002:a05:6000:11cd:: with SMTP id i13mr8700463wrx.141.1591875810723; Thu, 11 Jun 2020 04:43:30 -0700 (PDT) Received: from x1w.redhat.com (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id h29sm4832863wrc.78.2020.06.11.04.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 04:43:29 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 7/7] .travis.yml: Test SH4 QEMU advent calendar image Date: Thu, 11 Jun 2020 13:43:17 +0200 Message-Id: <20200611114317.13044-8-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200611114317.13044-1-f4bug@amsat.org> References: <20200611114317.13044-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x443.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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: Fam Zheng , Thomas Huth , Yoshinori Sato , qemu-trivial@nongnu.org, Magnus Damm , Michael Tokarev , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 tests/acceptance/boot_linux_console.py in previous commit] Signed-off-by: Philippe Mathieu-Daudé --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 564be50a3c..e2003565d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -293,7 +293,7 @@ jobs: - name: "GCC check-acceptance" dist: bionic env: - - CONFIG="--enable-tools --target-list=aarch64-softmmu,alpha-softmmu,arm-softmmu,m68k-softmmu,microblaze-softmmu,mips-softmmu,mips64el-softmmu,nios2-softmmu,or1k-softmmu,ppc-softmmu,ppc64-softmmu,s390x-softmmu,sparc-softmmu,x86_64-softmmu,xtensa-softmmu" + - CONFIG="--enable-tools --target-list=aarch64-softmmu,alpha-softmmu,arm-softmmu,m68k-softmmu,microblaze-softmmu,mips-softmmu,mips64el-softmmu,nios2-softmmu,or1k-softmmu,ppc-softmmu,ppc64-softmmu,s390x-softmmu,sh4-softmmu,sparc-softmmu,x86_64-softmmu,xtensa-softmmu" - TEST_CMD="make check-acceptance" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-acceptance" after_script: