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 E8AA0C433E0 for ; Tue, 30 Jun 2020 11:05: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 B632B2065F for ; Tue, 30 Jun 2020 11:05: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="CTvtgQTG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B632B2065F 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]:57602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqE5D-0000Oe-1d for qemu-devel@archiver.kernel.org; Tue, 30 Jun 2020 07:05:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqE3q-0006oW-Qb for qemu-devel@nongnu.org; Tue, 30 Jun 2020 07:04:22 -0400 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]:45281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqE3o-0006OQ-W5 for qemu-devel@nongnu.org; Tue, 30 Jun 2020 07:04:22 -0400 Received: by mail-ed1-x541.google.com with SMTP id d16so9110978edz.12 for ; Tue, 30 Jun 2020 04:04:20 -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=iMY/qDN42/1+nPj56Hl9GWcH+he/tHPKIgILpQ6swvw=; b=CTvtgQTGPdwHlNJXNOiOumXDnFnTgYGisgSfhHMwZ5S2djCQ/h3xwhpmvqg8gFsC0S 1N7RJ5bwWjXn88yiqiMlhcg7gmxHt6dBNVMJ85z3sDTj2llGml2Q70NPfvjKgZ2WVAdU RtHEer4ycO8ghBCnDN+P06/NJTo5BnV3Re/cyOmR6iJkxBJcTV7bNJoJVuKFaWjME+Cv kfjdqa+pmwcg6Qdp12N0dMBPFrq+DDusY/JcqE/GBWiTKFf7NyMk1UKAZW9e1ypnEPA3 MW2LsjipfCZBcISIdajRvk07sDhPwW/0dtkWR+vlkHHJyzXjlka9LPx3cW2SzyezbALn 19VQ== 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=iMY/qDN42/1+nPj56Hl9GWcH+he/tHPKIgILpQ6swvw=; b=FihM96hgGohtPmUmoEh1Cscdr19uGfp0fjqpuIAa74Nh1dfwKqQMk2mu+YUk2pV3+J KjqjLCtfsnRT9VMvZ397cDuhCI3IeRaT8dFFU/DOUGisq/5QIrDQhTpapM0hUkOYfGRG g8x1sdb15ORYi3QabqDG5apkiRJx5o5c/2VtswPWqIKGIXupdjN1ZhqtTR/lwaPl0/E6 MxECFatYSt1WA9uzO09w3xvL90Jn3bh6PQOY2UvtsI4kfLN51+RsDnPmQX2l12/s3K/a px82n53O7N1sl7F8X3pJzXoB/hy0OI7qrSN6nJZsDvra4/4teYM9e6S6SzfbAQza/tr/ FWHA== X-Gm-Message-State: AOAM531hrHvv2Va0fTcBgO6x5dlPiQTf6GHYFilQI6sqJGhyy5C0HoWv dvCTSfCrZS9R7kGWXRXb81o= X-Google-Smtp-Source: ABdhPJzLiODSm0oFz6WbkAZTrhexjgkVeBOlLYnCjzrkgohjXKqbZJN2ycErWGjBJd2QOOi9Oxn12A== X-Received: by 2002:a50:cd1e:: with SMTP id z30mr21724547edi.364.1593515059517; Tue, 30 Jun 2020 04:04:19 -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 fi29sm1741415ejb.83.2020.06.30.04.04.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jun 2020 04:04:18 -0700 (PDT) Subject: Re: [PATCH 0/7] hw/mips/malta: Rework to allow more than 2GB of RAM on 64-bit To: Aleksandar Markovic References: <20200630081322.19146-1-f4bug@amsat.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: <3b75d15d-9195-bcd5-87aa-e243547552e5@amsat.org> Date: Tue, 30 Jun 2020 13:04:17 +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::541; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-ed1-x541.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-devel@nongnu.org" , Jiaxun Yang , Igor Mammedov , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 6/30/20 1:01 PM, Aleksandar Markovic wrote: > > > уторак, 30. јун 2020., Philippe Mathieu-Daudé > је написао/ла: > > On Tue, Jun 30, 2020 at 12:52 PM Philippe Mathieu-Daudé > > wrote: > > > > On 6/30/20 12:48 PM, Aleksandar Markovic wrote: > > > > > > > > > уторак, 30. јун 2020., Philippe Mathieu-Daudé > > > >> је написао/ла: > > > > > >     Hi, > > > > > >     Following Jiaxun Yang's patch and discussion: > > >     https://patchwork.kernel.org/patch/11416915/ > > > >      > > > > > > >     - Rename the current machine as 'malta-virt' (keeping > 'malta' aliased) > > >       Suggestions for better names are welcome, maybe > 'malta-unreal' or > > >       'malta-unleashed' instead? > > >     - Add 'malta-phys' which respects hardware restrictions (on > RAM so far) > > >     - Unleash 'malta-virt' to allow more than 2GB on 64-bit > > > > > >     Philippe Mathieu-Daudé (7): > > >       hw/mips/malta: Trivial code movement > > >       hw/mips/malta: Register the machine as a TypeInfo > > >       hw/mips/malta: Rename 'malta' machine as 'malta-virt' > > >       hw/mips/malta: Introduce MaltaMachineClass::max_ramsize > > >       hw/mips/malta: Introduce the 'malta-phys' machine > > >       hw/mips/malta: Verify malta-phys machine uses correct DIMM > sizes > > >       hw/mips/malta: Allow more than 2GB on 64-bit malta-virt > > > > > >      hw/mips/malta.c | 121 > +++++++++++++++++++++++++++++++++++++++--------- > > >      1 file changed, 99 insertions(+), 22 deletions(-) > > > > > >     -- > > > > > > > > > > > > Thank you, Philippe, for providing this series. > > > > > > However, in previous discussion on the patch you mention above, I > > > already expressed serious reservations on the approach taken in that > > > patch. These reservations stay today too. > > > > > > There is nothing qualitatively different between the original > patch and > > > this series. Naming and related stuff are just cosmetic issues. > > > > OK, what about considering all patches except the last one? > > So we can run firmware on a real Malta board, not the QEMU > > imaginary one (in the discussion you said QEMU should respect > > real hardware, which I agree). > > > > > > > > The good thing about this series is that one can apply it > dowstream, if > > > one finds it useful. However, it is not suitable for upstreaming > > IOW, what is missing to have this series (except the last patch) > accepted upstream? > > > It is not what is missing, but was already is in the series that makes > it not suitable for upstreaming. The very concept of the series is > problematic. What is the series is not suitable for upstream? Can you point to patch and code please? How would you conceptually resolve the problem? > > Regards, > Aleksandar > > > > > >   > > > > > > > Regards, > > > Aleksandar > > > > > > > > > > > >     2.21.3 > > > >