From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 28D6DC433FE for ; Sat, 12 Dec 2020 18:48:52 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 51F5920769 for ; Sat, 12 Dec 2020 18:48:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51F5920769 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=nocrew.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:57010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ko9wo-000197-35 for qemu-devel@archiver.kernel.org; Sat, 12 Dec 2020 13:48:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ko9hU-0002LR-Ho for qemu-devel@nongnu.org; Sat, 12 Dec 2020 13:33:00 -0500 Received: from pio-pvt-msa2.bahnhof.se ([79.136.2.41]:53974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ko9hS-00079V-JU for qemu-devel@nongnu.org; Sat, 12 Dec 2020 13:33:00 -0500 Received: from localhost (localhost [127.0.0.1]) by pio-pvt-msa2.bahnhof.se (Postfix) with ESMTP id 0C5A43F4C0; Sat, 12 Dec 2020 17:04:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Received: from pio-pvt-msa2.bahnhof.se ([127.0.0.1]) by localhost (pio-pvt-msa2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tgr0y8Ln5aoY; Sat, 12 Dec 2020 17:04:04 +0100 (CET) Received: by pio-pvt-msa2.bahnhof.se (Postfix) with ESMTPA id 982AA3F40E; Sat, 12 Dec 2020 17:04:02 +0100 (CET) Date: Sat, 12 Dec 2020 17:04:01 +0100 From: Fredrik Noring To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Subject: Re: [PATCH 26/26] MAINTAINERS: Add entry for MIPS Toshiba TCG Message-ID: References: <20201120210844.2625602-1-f4bug@amsat.org> <20201120210844.2625602-27-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201120210844.2625602-27-f4bug@amsat.org> Received-SPF: softfail client-ip=79.136.2.41; envelope-from=noring@nocrew.org; helo=pio-pvt-msa2.bahnhof.se X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no 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: Aleksandar Rikalo , Craig Janeczek , Richard Henderson , Laurent Vivier , Jiaxun Yang , qemu-devel@nongnu.org, "Maciej W. Rozycki" , Paolo Bonzini , Huacai Chen , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Fri, Nov 20, 2020 at 10:08:44PM +0100, Philippe Mathieu-Daudé wrote: > Add an entry for the TCG core related to Toshiba TXx9. > > Signed-off-by: Philippe Mathieu-Daudé > --- > Adding Fredrik Noring in case he wants to be notified of changes, > patch conditional to his approval. I may be able to help on the TX79 that is an R5900, but unless commit 823f2897bdd7 ("target/mips: Disable R5900 support") is reverted, it remains shut off in QEMU. To obtain n32, in addition to o32, one may want to apply something similar to this: diff --git a/linux-user/mips64/target_elf.h b/linux-user/mips64/target_elf.h index ec55d8542a..5f2f2df29f 100644 --- a/linux-user/mips64/target_elf.h +++ b/linux-user/mips64/target_elf.h @@ -12,6 +12,9 @@ static inline const char *cpu_get_model(uint32_t eflags) if ((eflags & EF_MIPS_ARCH) == EF_MIPS_ARCH_64R6) { return "I6400"; } + if ((eflags & EF_MIPS_MACH) == EF_MIPS_MACH_5900) { + return "R5900"; + } return "5KEf"; } #endif > --- > MAINTAINERS | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index b6d98b95c47..d97f0f1d66e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -253,6 +253,12 @@ R: Craig Janeczek > S: Odd Fixes > F: target/mips/vendor-xburst* > > +MIPS TCG CPUs (Toshiba TX) > +M: Philippe Mathieu-Daudé > +R: Fredrik Noring > +S: Odd Fixes > +F: target/mips/vendor-tx* > + > MIPS TCG CPUs (nanoMIPS ISA) > S: Orphan > F: disas/nanomips.* > -- > 2.26.2 > Fredrik