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=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 A42A6C433E0 for ; Tue, 30 Jun 2020 19:52:32 +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 635FC206A1 for ; Tue, 30 Jun 2020 19:52:32 +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="sYj9iTVc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 635FC206A1 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+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:34666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqMIx-0006du-B3 for qemu-devel@archiver.kernel.org; Tue, 30 Jun 2020 15:52:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqMIL-0006Co-0m for qemu-devel@nongnu.org; Tue, 30 Jun 2020 15:51:53 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:41767) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqMIJ-00038M-Cp for qemu-devel@nongnu.org; Tue, 30 Jun 2020 15:51:52 -0400 Received: by mail-wr1-x441.google.com with SMTP id z15so10054835wrl.8 for ; Tue, 30 Jun 2020 12:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UdOxgyAY0nUJCj48s27QQw3DxmfMQ5YX9Y1Yq1F2FMU=; b=sYj9iTVcKqTFKWTA54C1x0QJMv0KMOyNKczlgJ0Jt0Cs1tBpQqRlPX60KavOj/o/dO fYcEqkesiWiT1Fs0Dq6NazGTdUjp97cmvtaqR8BXgJn3aKBnoEnuMx8tGMOpnHW3sEyx sBol27sA5GNFvlj1M9OQhCNAfxm/RatFCYZEGv6EymjJNpWH1I8yc51IVNgIdztn58Xm F9mZW41DILu1rMwe+oayWiWqgmBtEgtiivT4vPeCFr10JntGpWeFpvOXV0oEf5lPmai/ aK/3jjwf0rP62JvMmQDVpwwNwf67VQ42e5Zk7FLixcY+jOcayPHCZ2h2kp3KHB2pJCS2 bk9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UdOxgyAY0nUJCj48s27QQw3DxmfMQ5YX9Y1Yq1F2FMU=; b=YYTdWaUhf1i1Y6UnNzFgTe8m9oeE0b4NQI6/1LS368x6Diz9S/zQm+MbG0QSarXEWZ hchczI6xaxI003YHTD2jvmQZGl1DJy8zYkTMOyv3U6jrsWrFggtxYjHXw+jdBelf8KuI u4+rPJC482Cx0txvK782hqYut2XW6rtBW4IWZS8gyamQMaKzL5oWGjfr9BSecW/zAigL 8LV0YaqRw/dBiAU71aLKbk0llIp/nwPZUI4kD4rBsq4Ed83S5WmbD39G7gA9a7H6ub6l Vbr3vwjwEIsPxeYi2zW5HAEGMlNMJnbgSPh45afjLBdeVNtO9v5r/DoMPJOFY4WtERST C0nQ== X-Gm-Message-State: AOAM530fQW7mfppI+Wpu1iJIvQAywEUH2GtBlXzpk3RssU3LYYrLCxll DX3XdCAEiXWR7LtxqHMfmrA= X-Google-Smtp-Source: ABdhPJynNUWF8QhQwA5BYIyQYsLm3TcMGDuOduaYZnKe1/H316K31apIV5uoZrlUB3pDRMiKBliUow== X-Received: by 2002:adf:e3c5:: with SMTP id k5mr23288711wrm.121.1593546706954; Tue, 30 Jun 2020 12:51:46 -0700 (PDT) Received: from [192.168.1.40] (1.red-83-51-162.dynamicip.rima-tde.net. [83.51.162.1]) by smtp.gmail.com with ESMTPSA id b184sm4704706wmc.20.2020.06.30.12.51.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jun 2020 12:51:45 -0700 (PDT) Subject: Re: [PATCH v2 0/6] hw/mips/malta: Add the 'malta-strict' machine, matching Malta hardware To: Aleksandar Markovic References: <20200630145236.27529-1-f4bug@amsat.org> <5725b99b-b524-ab40-c74d-a615bb28d363@amsat.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: <39fb6699-6775-abb7-fb41-37e8ecda569f@amsat.org> Date: Tue, 30 Jun 2020 21:51:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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: Aleksandar Rikalo , Yunqiang Su , QEMU Developers , Jiaxun Yang , Igor Mammedov , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 6/30/20 7:28 PM, Aleksandar Markovic wrote: > уто, 30. јун 2020. у 19:16 Philippe Mathieu-Daudé је > написао/ла: >> >> On 6/30/20 6:55 PM, Aleksandar Markovic wrote: >>> уто, 30. јун 2020. у 18:46 Philippe Mathieu-Daudé је >>> написао/ла: >>>> >>>> On 6/30/20 5:38 PM, Aleksandar Markovic wrote: >>>>> уто, 30. јун 2020. у 16:52 Philippe Mathieu-Daudé је >>>>> написао/ла: >>>>>> >>>>>> Hi, >>>>>> >>>>>> This series add a new 'malta-strict' machine, that aims to properly >>>>>> model the real hardware (which is not what the current 'malta' >>>>>> machine models). >>>>>> >>>>>> As a bonus for Debian builders, a 'malta-unleashed' machine RFC >>>>>> patch is included. This might start another endless discussion >>>>>> upstream, but this is not the point of, so I still include it >>>>>> for people to test. The rest of the series is candidate for merging >>>>>> in mainstream QEMU. >>>>>> >>>>>> Philippe Mathieu-Daudé (6): >>>>>> hw/mips/malta: Trivial code movement >>>>>> hw/mips/malta: Register the machine as a TypeInfo >>>>>> hw/mips/malta: Introduce MaltaMachineClass::max_ramsize >>>>>> hw/mips/malta: Introduce the 'malta-strict' machine >>>>>> hw/mips/malta: Verify malta-strict machine uses correct DIMM sizes >>>>>> hw/mips/malta: Introduce the 'malta-unleashed' 64-bit machine >>>>>> >>>>>> hw/mips/malta.c | 125 ++++++++++++++++++++++++++++++++++++++++++------ >>>>>> 1 file changed, 111 insertions(+), 14 deletions(-) >>>>>> >>>>>> -- >>>>> >>>>> This whole series is based on idea of emulating physically >>>>> non-existing feature, and as such violates the fundamental principles >>>>> of QEMU. >>>>> >>>>> As such, not acceptable for upstreaming. >>>>> >>>>> I don't see the point of sending again the same series, in just >>>>> cosmetically different form, if it was said to you that the concept is >>>>> wrong. >>>> >>>> Have you looked at the patches? What "violates the fundamental >>>> principles of QEMU" is the code currently in mainstream. Should >>>> we remove it? I can send a patch for it if it pleases you, but >>>> you will make QEMU unuseful for many distribution users. >>>> >>> >>> Past mistakes are past mistakes. We have to live with them. And not >>> make them in the future. >>> >>> I see the whole series as a precursor for your change that repeats >>> past mistakes, a "wolf in sheep clothing". >>> >>> That's why I reject the series as a whole. >> >> As a co-maintainer I don't accept that. >> > > I offered you the full maintainership for Malta. > > You said you can proveide only "Odd fiexes". > > I had to jump in to provide "Maintained" status. > > Therefore, I provide the higher level of maintainership, and you have > to respect that. But you don't. FYI we are listed as co-maintainer: Malta M: Aleksandar Markovic M: Philippe Mathieu-Daudé R: Aurelien Jarno S: Maintained There is no difference of level. If you don't want my help and plan to destroy the hobbyist MIPS aspect of QEMU please kick me out, as I don't want to be responsible for dictating in an open source project. You can also relinquish your responsibility in Malta and focus on what is important for your company. > > Regards, > Aleksandar > >> The 'malta' machine is not changed, the series adds the 'malta-strict' >> machine which check the RAM restriction: >> >> $ qemu-system-mips -M malta-strict -bios /dev/null -m 512 >> qemu-system-mips: Too much memory for this machine: 512 MiB, maximum 256 MiB >> >> $ qemu-system-mips -M malta-strict -bios /dev/null -m 252 >> qemu-system-mips: RAM size must be the combination of 4 powers of 2 >> >> $ qemu-system-mips -M malta-strict -monitor stdio -S -bios /dev/null -m 100 >> QEMU 5.0.50 monitor - type 'help' for more information >> (qemu) info mtree >> address-space: memory >> 0000000000000000-ffffffffffffffff (prio 0, i/o): system >> 0000000000000000-00000000063fffff (prio 0, ram): alias >> mips_malta_low_preio.ram @mips_malta.ram 0000000000000000-00000000063fffff >> >> 100 = 64 + 32 + 2 + 2 >> >>> >>> Yours, >>> Aleksandar >>> >>>> What this series does is emulate the physically existing feature >>>> that are not yet emulated in QEMU. >>>> >>>> Please refer to the datasheet 'MIPS Document Number: MD00051 >>>> Revision 01.07' before rejecting this series, and find the >>>> correct arguments. >>>> >>>> Thanks. >>>> >>>>> >>>>> Regards, >>>>> Aleksandar >>>>> >>>>> >>>>>> 2.21.3 >>>>>> >>>>> >>> >